Home
last modified time | relevance | path

Searched refs:nfilled (Results 1 – 25 of 33) sorted by relevance

12

/dports/graphics/darktable38/darktable-3.8.0/src/external/rawspeed/src/librawspeed/common/
H A DTableLookUp.cpp47 const int nfilled = table.size(); in setTable() local
48 if (nfilled > TABLE_MAX_ELTS) in setTable()
49 ThrowRDE("Table lookup with %i entries is unsupported", nfilled); in setTable()
57 t[i] = (i < nfilled) ? table[i] : table[nfilled - 1]; in setTable()
61 for (int i = 0; i < nfilled; i++) { in setTable()
64 int upper = i < (nfilled - 1) ? table[i + 1] : center; in setTable()
71 for (int i = nfilled; i < TABLE_MAX_ELTS; i++) { in setTable()
72 t[i * 2] = table[nfilled - 1]; in setTable()
/dports/graphics/darktable/darktable-3.6.1/src/external/rawspeed/src/librawspeed/common/
H A DTableLookUp.cpp47 const int nfilled = table.size(); in setTable() local
48 if (nfilled > TABLE_MAX_ELTS) in setTable()
49 ThrowRDE("Table lookup with %i entries is unsupported", nfilled); in setTable()
57 t[i] = (i < nfilled) ? table[i] : table[nfilled - 1]; in setTable()
61 for (int i = 0; i < nfilled; i++) { in setTable()
64 int upper = i < (nfilled - 1) ? table[i + 1] : center; in setTable()
71 for (int i = nfilled; i < TABLE_MAX_ELTS; i++) { in setTable()
72 t[i * 2] = table[nfilled - 1]; in setTable()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/rawspeed/src/librawspeed/common/
H A DTableLookUp.cpp47 const int nfilled = table.size(); in setTable() local
48 if (nfilled > TABLE_MAX_ELTS) in setTable()
49 ThrowRDE("Table lookup with %i entries is unsupported", nfilled); in setTable()
57 t[i] = (i < nfilled) ? table[i] : table[nfilled - 1]; in setTable()
61 for (int i = 0; i < nfilled; i++) { in setTable()
64 int upper = i < (nfilled - 1) ? table[i + 1] : center; in setTable()
71 for (int i = nfilled; i < TABLE_MAX_ELTS; i++) { in setTable()
72 t[i * 2] = table[nfilled - 1]; in setTable()
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/libgloss/rl78/
H A Dmcount.c338 int nfilled; in write_call_graph() local
340 for (nfilled = 0; nfilled < NARCS_PER_WRITE; ++ nfilled) in write_call_graph()
341 raw_arc[nfilled].tag = GMON_TAG_CG_ARC; in write_call_graph()
343 nfilled = 0; in write_call_graph()
359 struct gmon_cg_arc_record * arc = raw_arc + nfilled; in write_call_graph()
365 if (++ nfilled == NARCS_PER_WRITE) in write_call_graph()
368 nfilled = 0; in write_call_graph()
373 if (nfilled > 0) in write_call_graph()
374 write (fd, raw_arc, nfilled * sizeof (raw_arc[0])); in write_call_graph()
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/libgloss/rx/
H A Dmcount.c338 int nfilled; in write_call_graph() local
340 for (nfilled = 0; nfilled < NARCS_PER_WRITE; ++ nfilled) in write_call_graph()
341 raw_arc[nfilled].tag = GMON_TAG_CG_ARC; in write_call_graph()
343 nfilled = 0; in write_call_graph()
359 struct gmon_cg_arc_record * arc = raw_arc + nfilled; in write_call_graph()
365 if (++ nfilled == NARCS_PER_WRITE) in write_call_graph()
368 nfilled = 0; in write_call_graph()
373 if (nfilled > 0) in write_call_graph()
374 write (fd, raw_arc, nfilled * sizeof (raw_arc[0])); in write_call_graph()
/dports/science/jdftx/jdftx-1.6.0/jdftx/aux/
H A DSlaterDetOverlap.cpp109 int nfilled = round(n1); // Get the number of filled states on each in main() local
112 dipoleXMatrices.at(q).init(nfilled, nfilled); in main()
113 dipoleYMatrices.at(q).init(nfilled, nfilled); in main()
114 dipoleZMatrices.at(q).init(nfilled, nfilled); in main()
115 overlapMatrices.at(q).init(nfilled, nfilled); in main()
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/nwdft/scf_dft/
H A Ddft_densm.F505 integer nfilled
541 nfilled = ncore_fon(ispin) ! number of filled orbitals for each spin
566 do i = 1,nfilled
578 do i = 1,nfilled
589 if (i+nfilled > nbf) call errquit(
592 focc(i+nfilled,ispin) = avg_fon ! assign average occupation
596 ncheck = ncheck + focc(i+nfilled,ispin)
598 & write(luout,*) i,ispin,focc(i+nfilled,ispin)
603 if (i+nfilled > nbf) call errquit(
610 ncheck = ncheck + focc(i+nfilled+nmo_fon(ispin),ispin)
[all …]
/dports/science/nwchem-data/nwchem-7.0.2-release/src/nwdft/scf_dft/
H A Ddft_densm.F505 integer nfilled
541 nfilled = ncore_fon(ispin) ! number of filled orbitals for each spin
566 do i = 1,nfilled
578 do i = 1,nfilled
589 if (i+nfilled > nbf) call errquit(
592 focc(i+nfilled,ispin) = avg_fon ! assign average occupation
596 ncheck = ncheck + focc(i+nfilled,ispin)
598 & write(luout,*) i,ispin,focc(i+nfilled,ispin)
603 if (i+nfilled > nbf) call errquit(
610 ncheck = ncheck + focc(i+nfilled+nmo_fon(ispin),ispin)
[all …]
/dports/lang/gcc6-aux/gcc-6-20180516/libgcc/config/arc/gmon/
H A Dgmon.c343 size_t nfilled; in write_bb_counts() local
353 for (nfilled = i = 0; i < ncounts; ++i) in write_bb_counts()
355 if (nfilled == sizeof (bbbody) / sizeof (bbbody[0])) in write_bb_counts()
358 nfilled = 0; in write_bb_counts()
361 bbbody[nfilled].address = grp->addresses[i]; in write_bb_counts()
362 bbbody[nfilled++].count = grp->counts[i]; in write_bb_counts()
364 if (nfilled > 0) in write_bb_counts()
365 write (fd, bbbody, nfilled * sizeof bbbody[0]); in write_bb_counts()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgcc/config/arc/gmon/
H A Dgmon.c343 size_t nfilled; in write_bb_counts() local
353 for (nfilled = i = 0; i < ncounts; ++i) in write_bb_counts()
355 if (nfilled == sizeof (bbbody) / sizeof (bbbody[0])) in write_bb_counts()
358 nfilled = 0; in write_bb_counts()
361 bbbody[nfilled].address = grp->addresses[i]; in write_bb_counts()
362 bbbody[nfilled++].count = grp->counts[i]; in write_bb_counts()
364 if (nfilled > 0) in write_bb_counts()
365 write (fd, bbbody, nfilled * sizeof bbbody[0]); in write_bb_counts()
/dports/lang/gnat_util/gcc-6-20180516/libgcc/config/arc/gmon/
H A Dgmon.c343 size_t nfilled; in write_bb_counts() local
353 for (nfilled = i = 0; i < ncounts; ++i) in write_bb_counts()
355 if (nfilled == sizeof (bbbody) / sizeof (bbbody[0])) in write_bb_counts()
358 nfilled = 0; in write_bb_counts()
361 bbbody[nfilled].address = grp->addresses[i]; in write_bb_counts()
362 bbbody[nfilled++].count = grp->counts[i]; in write_bb_counts()
364 if (nfilled > 0) in write_bb_counts()
365 write (fd, bbbody, nfilled * sizeof bbbody[0]); in write_bb_counts()
/dports/math/octave-forge-communications/communications-1.2.3/src/
H A Dsyndtable.cc121 unsigned int nfilled = nrows; variable
125 nfilled--;
128 while (nfilled != 0)
150 nfilled--;
/dports/mail/tpop3d/tpop3d-1.5.5/
H A Dauthcache.c82 size_t nfilled; member
191 --authcache.nfilled; in remove_cache_entry()
241 if (authcache.nfilled + 1 == CACHESLOTS) { in authcache_save()
251 ++authcache.nfilled; in authcache_save()
/dports/science/erkale-pseudopotentials/erkale-870e772f09631b3dbdd99a18e4f3d4786d684a01/src/
H A Dgenlinconf.cpp95 int nfilled=0; in integer_occupations() local
103 nfilled+=2*(2*l+1); in integer_occupations()
104 if(nfilled==Znoble) { in integer_occupations()
120 nfilled+=2*(2*l+1); in integer_occupations()
121 if(nfilled>=Zfill) in integer_occupations()
385 int nfilled=0; in fractional_occupations() local
395 nfilled+=2*(2*l+1); in fractional_occupations()
396 if(nfilled==Znoble) { in fractional_occupations()
415 nfilled+=2*(2*l+1); in fractional_occupations()
416 if(nfilled>=Zfill) in fractional_occupations()
/dports/science/erkale/erkale-8297aefe5aac9dbbb291e04c07661f3cff94a99a/src/
H A Dgenlinconf.cpp95 int nfilled=0; in integer_occupations() local
103 nfilled+=2*(2*l+1); in integer_occupations()
104 if(nfilled==Znoble) { in integer_occupations()
120 nfilled+=2*(2*l+1); in integer_occupations()
121 if(nfilled>=Zfill) in integer_occupations()
385 int nfilled=0; in fractional_occupations() local
395 nfilled+=2*(2*l+1); in fractional_occupations()
396 if(nfilled==Znoble) { in fractional_occupations()
415 nfilled+=2*(2*l+1); in fractional_occupations()
416 if(nfilled>=Zfill) in fractional_occupations()
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/nwdft/so_dft/
H A Ddft_scf_so.F60 integer nfilled, ilow, ihigh
1015 do i = 1, nfilled
1024 do i = nfilled + 1, nfilled + nmo_fon
1038 do i = nfilled + nmo_fon + 1, nfilled + nmo_fon + nmo_fon2
1065 ilow = nfilled +1
1066 ihigh = nfilled + nmo_fon + nmo_fon2
1096 ilow = nfilled + 1
1097 ihigh = nfilled + nmo_fon + nmo_fon2
1760 ilow = nfilled + 1
1761 ihigh = nfilled + nmo_fon + nmo_fon2
[all …]
/dports/science/nwchem-data/nwchem-7.0.2-release/src/nwdft/so_dft/
H A Ddft_scf_so.F60 integer nfilled, ilow, ihigh
1015 do i = 1, nfilled
1024 do i = nfilled + 1, nfilled + nmo_fon
1038 do i = nfilled + nmo_fon + 1, nfilled + nmo_fon + nmo_fon2
1065 ilow = nfilled +1
1066 ihigh = nfilled + nmo_fon + nmo_fon2
1096 ilow = nfilled + 1
1097 ihigh = nfilled + nmo_fon + nmo_fon2
1760 ilow = nfilled + 1
1761 ihigh = nfilled + nmo_fon + nmo_fon2
[all …]
/dports/lang/python-legacy/Python-2.7.18/Modules/
H A Dbz2module.c656 size_t nfilled = 0; in BZ2File_readlines() local
694 buffer+nfilled, in BZ2File_readlines()
695 buffersize-nfilled, self); in BZ2File_readlines()
714 p = memchr(buffer+nfilled, '\n', nread); in BZ2File_readlines()
717 nfilled += nread; in BZ2File_readlines()
731 memcpy(buffer, small_buffer, nfilled); in BZ2File_readlines()
741 end = buffer+nfilled+nread; in BZ2File_readlines()
757 nfilled = end-q; in BZ2File_readlines()
758 memmove(buffer, q, nfilled); in BZ2File_readlines()
767 if (nfilled != 0) { in BZ2File_readlines()
[all …]
/dports/lang/python27/Python-2.7.18/Modules/
H A Dbz2module.c656 size_t nfilled = 0; in BZ2File_readlines() local
694 buffer+nfilled, in BZ2File_readlines()
695 buffersize-nfilled, self); in BZ2File_readlines()
714 p = memchr(buffer+nfilled, '\n', nread); in BZ2File_readlines()
717 nfilled += nread; in BZ2File_readlines()
731 memcpy(buffer, small_buffer, nfilled); in BZ2File_readlines()
741 end = buffer+nfilled+nread; in BZ2File_readlines()
757 nfilled = end-q; in BZ2File_readlines()
758 memmove(buffer, q, nfilled); in BZ2File_readlines()
767 if (nfilled != 0) { in BZ2File_readlines()
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dbz2module.c668 size_t nfilled = 0; in BZ2File_readlines() local
706 buffer+nfilled, in BZ2File_readlines()
707 buffersize-nfilled, self); in BZ2File_readlines()
726 p = memchr(buffer+nfilled, '\n', nread); in BZ2File_readlines()
729 nfilled += nread; in BZ2File_readlines()
743 memcpy(buffer, small_buffer, nfilled); in BZ2File_readlines()
752 end = buffer+nfilled+nread; in BZ2File_readlines()
768 nfilled = end-q; in BZ2File_readlines()
769 memmove(buffer, q, nfilled); in BZ2File_readlines()
778 if (nfilled != 0) { in BZ2File_readlines()
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dfileobject.c1619 size_t nfilled = 0; in file_readlines() local
1645 nread = Py_UniversalNewlineFread(buffer+nfilled, in file_readlines()
1648 shortread = (nread < buffersize-nfilled); in file_readlines()
1659 p = (char *)memchr(buffer+nfilled, '\n', nread); in file_readlines()
1662 nfilled += nread; in file_readlines()
1676 memcpy(buffer, small_buffer, nfilled); in file_readlines()
1686 end = buffer+nfilled+nread; in file_readlines()
1702 nfilled = end-q; in file_readlines()
1703 memmove(buffer, q, nfilled); in file_readlines()
1708 if (nfilled != 0) { in file_readlines()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Objects/
H A Dfileobject.c1690 size_t nfilled = 0; in file_readlines() local
1716 nread = Py_UniversalNewlineFread(buffer+nfilled, in file_readlines()
1719 shortread = (nread < buffersize-nfilled); in file_readlines()
1738 p = (char *)memchr(buffer+nfilled, '\n', nread); in file_readlines()
1741 nfilled += nread; in file_readlines()
1755 memcpy(buffer, small_buffer, nfilled); in file_readlines()
1765 end = buffer+nfilled+nread; in file_readlines()
1781 nfilled = end-q; in file_readlines()
1782 memmove(buffer, q, nfilled); in file_readlines()
1787 if (nfilled != 0) { in file_readlines()
[all …]
/dports/lang/python27/Python-2.7.18/Objects/
H A Dfileobject.c1690 size_t nfilled = 0; in file_readlines() local
1716 nread = Py_UniversalNewlineFread(buffer+nfilled, in file_readlines()
1719 shortread = (nread < buffersize-nfilled); in file_readlines()
1738 p = (char *)memchr(buffer+nfilled, '\n', nread); in file_readlines()
1741 nfilled += nread; in file_readlines()
1755 memcpy(buffer, small_buffer, nfilled); in file_readlines()
1765 end = buffer+nfilled+nread; in file_readlines()
1781 nfilled = end-q; in file_readlines()
1782 memmove(buffer, q, nfilled); in file_readlines()
1787 if (nfilled != 0) { in file_readlines()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/src/
H A D3dmask_tool.c1209 int nfilled; in fill_holes() local
1221 nfilled = THD_mask_fill_holes(nx,ny,nz, bmask, &dirs, verb); in fill_holes()
1222 if( nfilled < 0 ) { ERROR_message("failed to fill holes"); RETURN(1); } in fill_holes()
1229 if(verb>2) INFO_message("final check: fill=%d, nfilled=%d", fill, nfilled); in fill_holes()
/dports/graphics/opendx/dx-4.4.4/src/exec/libdx/
H A Dedfparse.c3783 int nalloc = 0, nfilled = 0; in make_string() local
3803 clist[nfilled] = _dxfdictname(f->d, id); in make_string()
3804 nfilled++; in make_string()
3807 if (nfilled >= nalloc-1) { in make_string()
3813 clist[nfilled] = _dxfdictname(f->d, nid); in make_string()
3814 nfilled++; in make_string()
3819 o = (Object)DXMakeStringListV(nfilled, clist); in make_string()

12