- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for bufSize (0.21 sec)
-
src/test/java/jcifs/tests/FileOperationsTest.java
} } finally { d1.delete(); } } finally { f.delete(); } } } // #173 @Test public void testCopyTargetExists () throws IOException { int bufSize = 65536;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
try { int bufSize = 64 * 1024 + 512; int l = bufSize; try ( SmbRandomAccess raf = f.openRandomAccess("rw") ) { writeRandom(bufSize, l, raf); } try ( SmbRandomAccess raf = f.openRandomAccess("rw") ) { verifyRandom(bufSize, l, raf); } }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
} static void verifyRandom ( int bufSize, long length, InputStream is ) throws IOException { verifyRandom(bufSize, length, true, is); } static void verifyRandom ( int bufSize, long length, boolean expectEof, InputStream is ) throws IOException { long start = System.currentTimeMillis(); byte buffer[] = new byte[bufSize]; long p = 0; Random r = getRandom();
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0) -
src/bufio/bufio_test.go
for k := 0; k < len(bufsizes); k++ { readmaker := readMakers[i] bufreader := bufreaders[j] bufsize := bufsizes[k] read := readmaker.fn(strings.NewReader(text)) buf := NewReaderSize(read, bufsize) s := bufreader.fn(buf) if s != text { t.Errorf("reader=%s fn=%s bufsize=%d want=%q got=%q", readmaker.name, bufreader.name, bufsize, text, s) } } }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
int tryBufferSize = 1023; final int bufSize[] = new int[] { origBufferSize }; ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) { @Override public int getMaximumBufferSize () { return bufSize[ 0 ]; } }); ctx = withTestNTLMCredentials(ctx);
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteStreams.java
// reading and so all of the bytes in each new allocated buffer are available for reading from // the stream. for (int bufSize = initialBufferSize; totalLen < MAX_ARRAY_LEN; bufSize = IntMath.saturatedMultiply(bufSize, bufSize < 4096 ? 4 : 2)) { byte[] buf = new byte[min(bufSize, MAX_ARRAY_LEN - totalLen)]; bufs.add(buf); int off = 0; while (off < buf.length) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
cmd/xl-storage_test.go
t.Errorf("Case: %d %#v, expected: \"%s\", got: \"%s\"", i+1, testCase, string(testCase.expectedBuf), string(buf[:testCase.bufSize])) } if n != int64(testCase.bufSize) { t.Errorf("Case: %d %#v, expected: %d, got: %d", i+1, testCase, testCase.bufSize, n) } } } } // TestXLStorage for permission denied. if runtime.GOOS != globalWindowsOSName {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 11 17:45:28 GMT 2024 - 66.7K bytes - Viewed (0) -
doc/asm.html
layout rules used by the Go compiler. </p> <p> Constants are of the form <code>const_<i>name</i></code>. For example, given the Go declaration <code>const bufSize = 1024</code>, assembly code can refer to the value of this constant as <code>const_bufSize</code>. </p> <p> Field offsets are of the form <code><i>type</i>_<i>field</i></code>. Struct sizes are of the form <code><i>type</i>__size</code>.
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
*/ public static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException { int i = 0, n = -5; if ( off + len > b.length ) { throw new IOException("Buffer too short, bufsize " + b.length + " read " + len); } while ( i < len ) { n = in.read(b, off + i, len - i); if ( n <= 0 ) { break; } i += n;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Nov 01 18:12:21 GMT 2020 - 24.1K bytes - Viewed (0)