- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 1,030 for Buffers (0.06 sec)
-
src/test/java/jcifs/smb/SpnegoContextTest.java
} @Test @DisplayName("initSecContext with null buffer and non-zero len throws NPE") void testInitSecContextNullBufferNonZeroLen() throws Exception { SpnegoContext ctx = newContext(); // A null buffer with non-zero len leads to NPE while slicing input assertThrows(NullPointerException.class, () -> ctx.initSecContext(null, 0, 1));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
* @return current time in milliseconds */ protected long getCurrentTimeMillis() { return ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); } /** * Creates a string buffer for logging statistics information. * * @param keyObj the crawler object * @param time the timestamp to include * @return a StringBuilder with basic log information */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
final ByteArrayOutputStream bos = new ByteArrayOutputStream()) { final byte[] buffer = new byte[1024]; int len; while ((len = gzipIn.read(buffer)) > 0) { bos.write(buffer, 0, len); } return bos.toByteArray(); } catch (final IOException e) { throw new IORuntimeException(e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
import okio.FileNotFoundException import okio.FileSystem import okio.ForwardingFileSystem import okio.ForwardingSource import okio.Path import okio.Sink import okio.Source import okio.blackholeSink import okio.buffer /** * A cache that uses a bounded amount of space on a filesystem. Each cache entry has a string key * and a fixed number of values. Each key must match the regex `[a-z0-9_-]{1,64}`. Values are byteRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
try (InputStream in = file.getInputStream()) { byte[] buffer = new byte[10]; int bytesRead = in.read(buffer); assertEquals(10, bytesRead, "Should read requested bytes"); assertEquals("0123456789", new String(buffer, 0, bytesRead, "UTF-8")); // Read next chunk bytesRead = in.read(buffer); assertEquals(10, bytesRead, "Should read next chunk");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
* * @author higa */ public abstract class InputStreamUtil { /** * Do not instantiate. */ protected InputStreamUtil() { } /** Default buffer size. */ private static final int BUF_SIZE = 4096; /** * Creates a {@link FileInputStream}. * * @param file the file (must not be {@literal null})Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertTrue(negotiationResponse.isSigningRequired()); assertTrue(negotiationResponse.isSigningNegotiated()); } @Test @DisplayName("Test buffer size edge cases") void testBufferSizeEdgeCases() { // Test minimum buffer sizes when(negotiationResponse.getSendBufferSize()).thenReturn(1); when(negotiationResponse.getReceiveBufferSize()).thenReturn(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
} catch (final NoSuchPaddingException e) { throw new NoSuchPaddingRuntimeException(e); } } return cipher; } /** * Offers an encryption cipher back to the queue. * * @param cipher * the cipher to offer */ protected void offerEncryptoCipher(final Cipher cipher) { encryptoQueue.offer(cipher);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 11.5K bytes - Viewed (0)