- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 251 for too (0.02 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
// Assert assertNotNull(trace, "Instance should be created"); } @Test @DisplayName("Constructor with delegate: acquire() forwards to delegate and release() too") void constructor_withDelegate_acquireAndReleaseForwarded() { // Arrange: delegate we can spy on for interaction verification CIFSContext ctx = mock(CIFSContext.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
// Arrange TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH); byte[] dst = new byte[5]; // Buffer too small int dstIndex = 0; // Act int bytesWritten = trans.writeDataWireFormat(dst, dstIndex); // Assert assertEquals(0, bytesWritten); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
void testWriteDataWireFormatInsufficientBuffer() { // Given transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length); byte[] dst = new byte[5]; // Buffer too small for TEST_DATA // When int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0); // Then assertEquals(0, bytesWritten); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
if (in.read() == -1) { // oh, there's the end of the stream return combineBuffers(bufs, MAX_ARRAY_LEN); } else { throw new OutOfMemoryError("input is too large to fit in a byte array"); } } private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { if (bufs.isEmpty()) { return new byte[0]; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
* to execute other listeners. * * What about RuntimeException? If there is a bug in set()/setValue() that produces one, it will * propagate, too, but only as far as AbstractFuture.executeListener, which will catch and log * it. */ setResult(transformResult); } /** Template method for subtypes to actually run the transform. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
bytesIn.writeShort(0xff00) // == Indexed - Add idx = 127 assertFailsWith<IOException> { hpackReader!!.readHeaders() }.also { expected -> assertThat(expected.message).isEqualTo("Header index too large 127") } } // Example taken from twitter/hpack DecoderTest.testInsidiousIndex @Test fun readIndexedHeaderFieldInsidiousIndex() { bytesIn.writeByte(0xff) // == Indexed - Add ==
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
if (networkResponse == null && cacheCandidate != null) { cacheCandidate.body.closeQuietly() } } // If we have a cache response too, then we're doing a conditional get. if (cacheResponse != null) { if (networkResponse?.code == HTTP_NOT_MODIFIED) { val response = cacheResponse .newBuilder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
// checkNoConflictInKeyBucket is static imported from RegularImmutableMap /** * @throws IllegalArgumentException if another entry in the bucket has the same key * @throws BucketOverflowException if this bucket has too many entries, which may indicate a hash * flooding attack */ private static void checkNoConflictInValueBucket( Object value, Entry<?, ?> entry, @Nullable ImmutableMapEntry<?, ?> valueBucketHead)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
} finally { synchronized (run_thread) { if (run_thread != thread) { /* Thread no longer the one setup for this transport -- * doConnect returned too late, just ignore. */ if ((ex0 != null) && (LogStream.level >= 2)) { ex0.printStackTrace(log); } return;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); byte[][] arrays = new byte[arraysDim1][]; // it's shared to avoid using too much memory in tests byte[] sharedArray = new byte[arraysDim2]; Arrays.fill(arrays, sharedArray); try { Bytes.concat(arrays); fail(); } catch (IllegalArgumentException expected) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0)