/dports/emulators/simh/simh-3.9.0_5/Ibm1130/ |
H A D | ibm1130_disk.c | 611 } mseg[MAXMSEG]; variable 632 if (addr >= mseg[i].addr && addr < (mseg[i].addr+mseg[i].len)) { in saywhere() 633 …sprintf(buf, "/%04x = /%04x + /%x in ", addr, mseg[i].addr - mseg[i].offset, addr-mseg[i].addr + m… in saywhere() 708 memcpy(mseg+i+1, mseg+i, (nseg-i)*sizeof(mseg[0])); in addseg() 719 memcpy(mseg+i, mseg+i+1, (nseg-i)*sizeof(mseg[0])); in delseg() 734 if (addr >= (mseg[i].addr+mseg[i].len)) /* entirely after this entry */ in savesector() 739 mseg[i].len = addr-mseg[i].addr; in savesector() 742 mseg[i].len -= mseg[i-1].len; in savesector() 756 mseg[i].len = len; in savesector() 761 while (i < nseg && (mseg[i].addr+mseg[i].len) <= (addr+len)) in savesector() [all …]
|
/dports/games/torcs/torcs-1.3.7/src/tools/trackgen/ |
H A D | track.cpp | 492 tTrackSeg *mseg; in InitScene() local 752 for (i = 0, mseg = Track->seg->next; i < Track->nseg; i++, mseg = mseg->next) { in InitScene() 1145 for (i = 0, mseg = Track->seg->next; i < Track->nseg; i++, mseg = mseg->next) { in InitScene() 1295 for (i = 0, mseg = Track->seg->next; i < Track->nseg; i++, mseg = mseg->next) { in InitScene() 1683 for (i = 0, mseg = Track->seg->next; i < Track->nseg; i++, mseg = mseg->next) { in InitScene() 1832 for (i = 0, mseg = Track->seg->next; i < Track->nseg; i++, mseg = mseg->next) { in InitScene() 2103 for (i = 0, mseg = Track->seg->next; i < Track->nseg; i++, mseg = mseg->next) { in InitScene() 2395 for (k = 0, mseg = Track->seg->next; k < Track->nseg; k++, mseg = mseg->next) { in InitScene() 2396 if ((lgfs >= mseg->lgfromstart) && (lgfs < (mseg->lgfromstart + mseg->length))) { in InitScene() 2458 seg = mseg; in InitScene() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objmgr/ |
H A D | seq_align_mapper.cpp | 232 SAlignment_Segment& mseg = x_InsertSeg(ins_point, in x_ConvertSegmentCvt() local 236 mseg.m_PartType = old_it->m_PartType; in x_ConvertSegmentCvt() 239 mseg.m_Scores = old_it->m_Scores; in x_ConvertSegmentCvt() 240 mseg.m_ScoresGroupIdx = old_it->m_ScoresGroupIdx; in x_ConvertSegmentCvt() 249 mseg.CopyRow(r, old_it->m_Rows[r]); in x_ConvertSegmentCvt() 257 mseg.m_HaveStrands |= mrow.m_IsSetStrand; in x_ConvertSegmentCvt() 380 SAlignment_Segment& mseg = x_InsertSeg(ins_point, in x_ConvertSegmentCvt() local 382 mseg.m_PartType = old_it->m_PartType; in x_ConvertSegmentCvt() 385 mseg.m_Scores = seg.m_Scores; in x_ConvertSegmentCvt() 395 mseg.CopyRow(r, seg.m_Rows[r]); in x_ConvertSegmentCvt() [all …]
|
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objmgr/ |
H A D | seq_align_mapper.cpp | 232 SAlignment_Segment& mseg = x_InsertSeg(ins_point, in x_ConvertSegmentCvt() local 236 mseg.m_PartType = old_it->m_PartType; in x_ConvertSegmentCvt() 239 mseg.m_Scores = old_it->m_Scores; in x_ConvertSegmentCvt() 240 mseg.m_ScoresGroupIdx = old_it->m_ScoresGroupIdx; in x_ConvertSegmentCvt() 249 mseg.CopyRow(r, old_it->m_Rows[r]); in x_ConvertSegmentCvt() 257 mseg.m_HaveStrands |= mrow.m_IsSetStrand; in x_ConvertSegmentCvt() 380 SAlignment_Segment& mseg = x_InsertSeg(ins_point, in x_ConvertSegmentCvt() local 382 mseg.m_PartType = old_it->m_PartType; in x_ConvertSegmentCvt() 385 mseg.m_Scores = seg.m_Scores; in x_ConvertSegmentCvt() 395 mseg.CopyRow(r, seg.m_Rows[r]); in x_ConvertSegmentCvt() [all …]
|
/dports/net/wireshark/wireshark-3.6.1/wiretap/ |
H A D | stanag4607.c | 111 guint8 mseg[39]; in stanag4607_read_file() local 114 if (!wtap_read_bytes(fh, &mseg, sizeof mseg, err, err_info)) in stanag4607_read_file() 116 offset += sizeof mseg; in stanag4607_read_file() 118 tm.tm_year = pntoh16(&mseg[35]) - 1900; in stanag4607_read_file() 119 tm.tm_mon = mseg[37] - 1; in stanag4607_read_file() 120 tm.tm_mday = mseg[38]; in stanag4607_read_file()
|
/dports/net/wireshark-lite/wireshark-3.6.1/wiretap/ |
H A D | stanag4607.c | 111 guint8 mseg[39]; in stanag4607_read_file() local 114 if (!wtap_read_bytes(fh, &mseg, sizeof mseg, err, err_info)) in stanag4607_read_file() 116 offset += sizeof mseg; in stanag4607_read_file() 118 tm.tm_year = pntoh16(&mseg[35]) - 1900; in stanag4607_read_file() 119 tm.tm_mon = mseg[37] - 1; in stanag4607_read_file() 120 tm.tm_mday = mseg[38]; in stanag4607_read_file()
|
/dports/net/tshark-lite/wireshark-3.6.1/wiretap/ |
H A D | stanag4607.c | 111 guint8 mseg[39]; in stanag4607_read_file() local 114 if (!wtap_read_bytes(fh, &mseg, sizeof mseg, err, err_info)) in stanag4607_read_file() 116 offset += sizeof mseg; in stanag4607_read_file() 118 tm.tm_year = pntoh16(&mseg[35]) - 1900; in stanag4607_read_file() 119 tm.tm_mon = mseg[37] - 1; in stanag4607_read_file() 120 tm.tm_mday = mseg[38]; in stanag4607_read_file()
|
/dports/net/tshark/wireshark-3.6.1/wiretap/ |
H A D | stanag4607.c | 111 guint8 mseg[39]; in stanag4607_read_file() local 114 if (!wtap_read_bytes(fh, &mseg, sizeof mseg, err, err_info)) in stanag4607_read_file() 116 offset += sizeof mseg; in stanag4607_read_file() 118 tm.tm_year = pntoh16(&mseg[35]) - 1900; in stanag4607_read_file() 119 tm.tm_mon = mseg[37] - 1; in stanag4607_read_file() 120 tm.tm_mday = mseg[38]; in stanag4607_read_file()
|
/dports/net/openmpi/openmpi-4.1.1/opal/mca/common/sm/ |
H A D | common_sm_mpool.c | 167 opal_hwloc_base_memory_segment_t mseg; in mca_common_sm_mpool_alloc() local 169 mseg.mbs_start_addr = in mca_common_sm_mpool_alloc() 173 mseg.mbs_len = size; in mca_common_sm_mpool_alloc() 174 opal_hwloc_base_membind(&mseg, 1, mpool_sm->mem_node); in mca_common_sm_mpool_alloc() 177 return mseg.mbs_start_addr; in mca_common_sm_mpool_alloc()
|
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/common/sm/ |
H A D | common_sm_mpool.c | 167 opal_hwloc_base_memory_segment_t mseg; in mca_common_sm_mpool_alloc() local 169 mseg.mbs_start_addr = in mca_common_sm_mpool_alloc() 173 mseg.mbs_len = size; in mca_common_sm_mpool_alloc() 174 opal_hwloc_base_membind(&mseg, 1, mpool_sm->mem_node); in mca_common_sm_mpool_alloc() 177 return mseg.mbs_start_addr; in mca_common_sm_mpool_alloc()
|
/dports/emulators/simh/simh-3.9.0_5/HP2100/ |
H A D | hp2100_cpu5.c | 982 uint32 xidex, idext1, mseg, addr, i, MA; in cpu_ema_vset() local 1040 uint32 mseg; /* logical start of MSEG */ member 1124 uint32 mseg,phys,spmseg,emasz,msegsz,msegno; in cpu_ema_mmap02() local 1146 e->mseg = mseg; in cpu_ema_mmap02() 1221 uint32 mseg, bufpgs, npgs; in cpu_ema_emio() local 1229 mseg = (idext1 >> 1) & MSEGMASK; /* get logical start MSEG */ in cpu_ema_emio() 1237 e->mseg = mseg; /* logical stat of MSEG */ in cpu_ema_emio() 1284 uint32 offs, pgoff, emasz, phys, msgn, mseg, sum, MA, pg0, pg1; in cpu_ema_emap() local 1290 if (abase >= mseg) { /* EMA reference? */ in cpu_ema_emap() 1301 msgn = mseg >> 10; /* get # of 1st MSEG reg */ in cpu_ema_emap() [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/mcscf/detci/ |
H A D | detci_intf.F | 47 integer mseg 134 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 135 mseg = min(mseg, 20) 224 memuse03 = 2*max(nstra,nstrb)*mseg + 3*nekla + 4*nstrb*nekla 225 if (.not.ma_push_get(MT_DBL, (max(max(nstra,nstrb)*mseg,nexb)), 582 integer mseg 605 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 606 mseg = min(mseg, 20) 633 $ cdetci_atabb, cdetci_ataba, ntij, mseg, 655 $ cdetci_ataba, cdetci_atabb, ntij, mseg,
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/mcscf/detci/ |
H A D | detci_intf.F | 47 integer mseg 134 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 135 mseg = min(mseg, 20) 224 memuse03 = 2*max(nstra,nstrb)*mseg + 3*nekla + 4*nstrb*nekla 225 if (.not.ma_push_get(MT_DBL, (max(max(nstra,nstrb)*mseg,nexb)), 582 integer mseg 605 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 606 mseg = min(mseg, 20) 633 $ cdetci_atabb, cdetci_ataba, ntij, mseg, 655 $ cdetci_ataba, cdetci_atabb, ntij, mseg,
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/mcscf/detci_sym/ |
H A D | detci_intf.F | 46 integer mseg 112 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 113 mseg = min(mseg, 20) 202 memuse03 = 2*max(nstra,nstrb)*mseg + 3*nekla + 4*nstrb*nekla 203 if (.not.ma_push_get(MT_DBL, (max(max(nstra,nstrb)*mseg,nexb)), 582 integer mseg 605 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 606 mseg = min(mseg, 20) 633 $ cdetci_atabb, cdetci_ataba, ntij, mseg, 655 $ cdetci_ataba, cdetci_atabb, ntij, mseg,
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/mcscf/detci_sym/ |
H A D | detci_intf.F | 46 integer mseg 112 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 113 mseg = min(mseg, 20) 202 memuse03 = 2*max(nstra,nstrb)*mseg + 3*nekla + 4*nstrb*nekla 203 if (.not.ma_push_get(MT_DBL, (max(max(nstra,nstrb)*mseg,nexb)), 582 integer mseg 605 mseg = (10*ga_nnodes())/max(min(nexa,nexb),1) 606 mseg = min(mseg, 20) 633 $ cdetci_atabb, cdetci_ataba, ntij, mseg, 655 $ cdetci_ataba, cdetci_atabb, ntij, mseg,
|
/dports/emulators/simh-hpdoc/simh-hpdoc-3.11.0/SCP/HP2100/ |
H A D | hp2100_cpu5.c | 885 uint32 mseg; /* logical start of MSEG */ member 1638 uint32 offs, pgoff, emasz, phys, msgn, mseg, sum, pg0, pg1, act, low, usz; in ema_emap() local 1643 mseg = (idext1 >> 1) & MSEG_MASK; /* get logical start MSEG */ in ema_emap() 1644 if (abase >= mseg) { /* EMA reference? */ in ema_emap() 1655 msgn = mseg >> 10; /* get # of 1st MSEG reg */ in ema_emap() 1673 BR = (HP_WORD) (mseg + offs); /* calculate log address */ in ema_emap() 1739 uint32 mseg, bufpgs, npgs; in ema_emio() local 1755 e->mseg = mseg; /* logical stat of MSEG */ in ema_emio() 1926 uint32 mseg,phys,spmseg,emasz,msegsz,msegno; in ema_mmap02() local 1948 e->mseg = mseg; in ema_mmap02() [all …]
|
/dports/emulators/simh-hp2100/simh-hp2100-3.11.0.31/SCP/HP2100/ |
H A D | hp2100_cpu5.c | 885 uint32 mseg; /* logical start of MSEG */ member 1638 uint32 offs, pgoff, emasz, phys, msgn, mseg, sum, pg0, pg1, act, low, usz; in ema_emap() local 1643 mseg = (idext1 >> 1) & MSEG_MASK; /* get logical start MSEG */ in ema_emap() 1644 if (abase >= mseg) { /* EMA reference? */ in ema_emap() 1655 msgn = mseg >> 10; /* get # of 1st MSEG reg */ in ema_emap() 1673 BR = (HP_WORD) (mseg + offs); /* calculate log address */ in ema_emap() 1739 uint32 mseg, bufpgs, npgs; in ema_emio() local 1755 e->mseg = mseg; /* logical stat of MSEG */ in ema_emio() 1926 uint32 mseg,phys,spmseg,emasz,msegsz,msegno; in ema_mmap02() local 1948 e->mseg = mseg; in ema_mmap02() [all …]
|
/dports/mail/rspamd-devel/rspamd-93430bb/test/ |
H A D | rspamd_cryptobox_test.c | 64 create_random_split (struct rspamd_cryptobox_segment *seg, int mseg, in create_random_split() argument 70 while (remain > 0 && used < mseg - 1) { in create_random_split() 90 create_realistic_split (struct rspamd_cryptobox_segment *seg, int mseg, in create_realistic_split() argument 97 while (remain > 0 && used < mseg - 1) { in create_realistic_split() 127 create_constrainted_split (struct rspamd_cryptobox_segment *seg, int mseg, in create_constrainted_split() argument 134 while (remain > 0 && used < mseg - 1) { in create_constrainted_split()
|
/dports/mail/rspamd/rspamd-3.1/test/ |
H A D | rspamd_cryptobox_test.c | 64 create_random_split (struct rspamd_cryptobox_segment *seg, int mseg, in create_random_split() argument 70 while (remain > 0 && used < mseg - 1) { in create_random_split() 90 create_realistic_split (struct rspamd_cryptobox_segment *seg, int mseg, in create_realistic_split() argument 97 while (remain > 0 && used < mseg - 1) { in create_realistic_split() 127 create_constrainted_split (struct rspamd_cryptobox_segment *seg, int mseg, in create_constrainted_split() argument 134 while (remain > 0 && used < mseg - 1) { in create_constrainted_split()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/ |
H A D | binfmt_elf_fdpic.c | 744 struct elf32_fdpic_loadseg *mseg; in elf_fdpic_map_file() local 876 mseg = loadmap->segs; in elf_fdpic_map_file() 877 seg = mseg + 1; in elf_fdpic_map_file() 880 if (seg->p_vaddr - mseg->p_vaddr == seg->addr - mseg->addr) { in elf_fdpic_map_file() 881 load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz); in elf_fdpic_map_file() 883 mseg->p_memsz += in elf_fdpic_map_file() 885 (mseg->addr + mseg->p_memsz); in elf_fdpic_map_file() 887 mseg->p_memsz += seg->p_memsz; in elf_fdpic_map_file() 893 mseg++; in elf_fdpic_map_file() 894 if (mseg != seg) in elf_fdpic_map_file() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/ |
H A D | binfmt_elf_fdpic.c | 744 struct elf32_fdpic_loadseg *mseg; in elf_fdpic_map_file() local 876 mseg = loadmap->segs; in elf_fdpic_map_file() 877 seg = mseg + 1; in elf_fdpic_map_file() 880 if (seg->p_vaddr - mseg->p_vaddr == seg->addr - mseg->addr) { in elf_fdpic_map_file() 881 load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz); in elf_fdpic_map_file() 883 mseg->p_memsz += in elf_fdpic_map_file() 885 (mseg->addr + mseg->p_memsz); in elf_fdpic_map_file() 887 mseg->p_memsz += seg->p_memsz; in elf_fdpic_map_file() 893 mseg++; in elf_fdpic_map_file() 894 if (mseg != seg) in elf_fdpic_map_file() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/ |
H A D | binfmt_elf_fdpic.c | 744 struct elf32_fdpic_loadseg *mseg; in elf_fdpic_map_file() local 876 mseg = loadmap->segs; in elf_fdpic_map_file() 877 seg = mseg + 1; in elf_fdpic_map_file() 880 if (seg->p_vaddr - mseg->p_vaddr == seg->addr - mseg->addr) { in elf_fdpic_map_file() 881 load_addr = PAGE_ALIGN(mseg->addr + mseg->p_memsz); in elf_fdpic_map_file() 883 mseg->p_memsz += in elf_fdpic_map_file() 885 (mseg->addr + mseg->p_memsz); in elf_fdpic_map_file() 887 mseg->p_memsz += seg->p_memsz; in elf_fdpic_map_file() 893 mseg++; in elf_fdpic_map_file() 894 if (mseg != seg) in elf_fdpic_map_file() [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/ptmalloc/ |
H A D | ptmalloc3.c | 1109 struct malloc_segment* mseg = &msp->seg; in public_mSTATs() local 1110 while (mseg) { in public_mSTATs() 1111 fprintf(stderr, " seg %08lx-%08lx\n", (unsigned long)mseg->base, in public_mSTATs() 1112 (unsigned long)(mseg->base + mseg->size)); in public_mSTATs() 1113 mseg = mseg->next; in public_mSTATs()
|
/dports/devel/ptmalloc/ptmalloc3/ |
H A D | ptmalloc3.c | 1109 struct malloc_segment* mseg = &msp->seg; in public_mSTATs() local 1110 while (mseg) { in public_mSTATs() 1111 fprintf(stderr, " seg %08lx-%08lx\n", (unsigned long)mseg->base, in public_mSTATs() 1112 (unsigned long)(mseg->base + mseg->size)); in public_mSTATs() 1113 mseg = mseg->next; in public_mSTATs()
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/tests/unit/ |
H A D | unit_Transmission_Condition.cpp | 112 Mesh mseg(Segment(_v1=Point(0.5,0.),_v2=Point(0.5,1.),_nnodes=30,_domain_name="x=1/2")); in unit_Transmission_Condition() local 114 Domain seg=mseg.domain("x=1/2"); in unit_Transmission_Condition()
|