Home
last modified time | relevance | path

Searched refs:sizehint (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/
H A DWindowState.cc109 if (sizehint.flags & PMinSize) { in reset()
110 min_width = sizehint.min_width; in reset()
111 min_height = sizehint.min_height; in reset()
115 if (sizehint.flags & PBaseSize) { in reset()
116 base_width = sizehint.base_width; in reset()
125 if (sizehint.flags & PMaxSize) { in reset()
126 max_width = sizehint.max_width; in reset()
131 if (sizehint.flags & PResizeInc) { in reset()
132 width_inc = sizehint.width_inc; in reset()
137 if (sizehint.flags & PAspect) { in reset()
[all …]
/dports/sysutils/py-filelike/filelike-0.4.1/filelike/wrappers/
H A Dpadtoblocksize.py76 def _read(self,sizehint=-1): argument
87 if sizehint > 0:
88 sizehint = self._round_up(sizehint)
89 data = self._fileobj.read(sizehint)
90 if sizehint < 0 or len(data) < sizehint:
238 def _read(self,sizehint=-1): argument
240 if sizehint >= 0:
241 sizehint = self._round_up(sizehint)
245 if sizehint >= 0:
248 sizehint += self.blocksize
[all …]
H A Dfixedblocksize.py65 def _read(self,sizehint=-1): argument
67 if sizehint >= 0:
68 sizehint = self._round_up(sizehint)
69 data = self._fileobj.read(sizehint)
H A Dunix.py65 def _read(self,sizehint=-1): argument
68 if sizehint <= 0 or sizehint > self._bufsize:
69 sizehint = self._bufsize
70 data = self._fileobj.read(sizehint)
H A Dbuffer.py110 def _read(self,sizehint=-1):
117 if sizehint >= 0:
118 buffered_size = min(sizehint,buffered_size)
120 buffered_size = sizehint
127 data = self._fileobj.read(sizehint)
130 if sizehint < 0 or len(data) < sizehint:
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/interfaces/legacy/wsgi/
H A DWsgiInputStream.cpp77 std::vector<String> WsgiInputStreamIterator::readlines(unsigned long sizehint /* = 0 */) const in readlines()
82 if (sizehint <= 0 || sizehint > m_remaining) in readlines()
83 sizehint = m_remaining; in readlines()
91 sizehint -= line.length(); in readlines()
95 } while (sizehint > 0); in readlines()
/dports/net/syncthing/syncthing-1.18.1/syncthing/lib/scanner/
H A Dblocks.go27 func Blocks(ctx context.Context, r io.Reader, blocksize int, sizehint int64, counter Counter, useWe…
47 if sizehint >= 0 {
50 r = io.LimitReader(r, sizehint)
51 numBlocks := sizehint / int64(blocksize)
52 remainder := sizehint % int64(blocksize)
/dports/devel/eric6/eric6-21.11/eric/eric6/DebugClients/Python/
H A DAsyncFile.py235 def readlines(self, sizehint=-1): argument
247 room = sizehint
255 if sizehint >= 0:
266 def readline(self, sizehint=-1): argument
278 if sizehint >= 0:
279 line = line[:sizehint]
/dports/games/lincity/lincity-1.13.1/
H A Dlcx11.c336 XSizeHints sizehint; in Create_Window() local
361 sizehint.x = winX - 100; in Create_Window()
362 sizehint.y = winY; in Create_Window()
363 sizehint.width = display.winW; in Create_Window()
364 sizehint.height = display.winH; in Create_Window()
365 sizehint.min_width = display.winW; in Create_Window()
431 XSizeHints sizehint; in unlock_window_size() local
433 sizehint.x = winX - 100; in unlock_window_size()
434 sizehint.y = winY; in unlock_window_size()
435 sizehint.width = display.winW; in unlock_window_size()
[all …]
/dports/devel/bsdelf/elftoolchain-0.7.1/libelftc/
H A Delftc_string_table.c129 elftc_string_table_create(int sizehint) in elftc_string_table_create() argument
134 if (sizehint < ELFTC_STRING_TABLE_DEFAULT_SIZE) in elftc_string_table_create()
135 sizehint = ELFTC_STRING_TABLE_DEFAULT_SIZE; in elftc_string_table_create()
137 nbuckets = sizehint / (ELFTC_STRING_TABLE_EXPECTED_CHAIN_LENGTH * in elftc_string_table_create()
145 if ((st->st_string_pool = malloc(sizehint)) == NULL) { in elftc_string_table_create()
155 st->st_string_pool_size = sizehint; in elftc_string_table_create()
178 elftc_string_table_from_section(Elf_Scn *scn, int sizehint) in elftc_string_table_from_section() argument
199 if ((st = elftc_string_table_create(sizehint)) == NULL) in elftc_string_table_from_section()
/dports/devel/elftoolchain/elftoolchain-0.7.1/libelftc/
H A Delftc_string_table.c129 elftc_string_table_create(int sizehint) in elftc_string_table_create() argument
134 if (sizehint < ELFTC_STRING_TABLE_DEFAULT_SIZE) in elftc_string_table_create()
135 sizehint = ELFTC_STRING_TABLE_DEFAULT_SIZE; in elftc_string_table_create()
137 nbuckets = sizehint / (ELFTC_STRING_TABLE_EXPECTED_CHAIN_LENGTH * in elftc_string_table_create()
145 if ((st->st_string_pool = malloc(sizehint)) == NULL) { in elftc_string_table_create()
155 st->st_string_pool_size = sizehint; in elftc_string_table_create()
178 elftc_string_table_from_section(Elf_Scn *scn, int sizehint) in elftc_string_table_from_section() argument
199 if ((st = elftc_string_table_create(sizehint)) == NULL) in elftc_string_table_from_section()
/dports/math/vtk9/VTK-9.1.0/ThirdParty/netcdf/vtknetcdf/libsrc/
H A Dhttpio.c162 size_t sizehint; in httpio_open() local
172 sizehint = pagesize; in httpio_open()
175 sizehint = (sizehint / 8) * 8; in httpio_open()
176 if(sizehint < 8) sizehint = 8; in httpio_open()
178 *sizehintp = sizehint; in httpio_open()
/dports/science/netcdf/netcdf-c-4.7.4/libsrc/
H A Dhttpio.c160 size_t sizehint; in httpio_open() local
171 sizehint = pagesize; in httpio_open()
174 sizehint = (sizehint / 8) * 8; in httpio_open()
175 if(sizehint < 8) sizehint = 8; in httpio_open()
177 *sizehintp = sizehint; in httpio_open()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_multibytecodec_support.py152 for sizehint in [None] + range(1, 33) + \
158 if sizehint is not None:
159 data = istream.read(sizehint)
172 for sizehint in [None, -1] + range(1, 33) + \
178 data = istream.read(sizehint)
210 for sizehint in [None, -1] + range(1, 33) + \
216 data = func(sizehint)
230 for sizehint in [None] + range(1, 33) + \
236 if sizehint is not None:
237 data = func(sizehint)
/dports/math/libmesh/libmesh-1.6.2/contrib/netcdf/netcdf-c-4.6.2/nc_test/
H A Dtst_nofill2.c79 size_t sizehint = (1750000); /* default if not set on command line, in main() local
96 printf(", trying sizehint of %lu ...", (unsigned long)sizehint); in main()
97 if (create_file(FILE_NAME, NC_NOFILL, &sizehint)) ERR; in main()
102 sizehint += 10000; in main()
/dports/science/netcdf/netcdf-c-4.7.4/nc_test/
H A Dtst_nofill2.c79 size_t sizehint = (1750000); /* default if not set on command line, in main() local
96 printf(", trying sizehint of %lu ...", (unsigned long)sizehint); in main()
97 if (create_file(FILE_NAME, NC_NOFILL, &sizehint)) ERR; in main()
102 sizehint += 10000; in main()
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dmultibytecodec_support.py175 for sizehint in [None] + list(range(1, 33)) + \
181 if sizehint is not None:
182 data = istream.read(sizehint)
195 for sizehint in [None, -1] + list(range(1, 33)) + \
201 data = istream.read(sizehint)
233 for sizehint in [None, -1] + list(range(1, 33)) + \
239 data = func(sizehint)
253 for sizehint in [None] + list(range(1, 33)) + \
259 if sizehint is not None:
260 data = func(sizehint)

12345678910>>...25