- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 292 for too (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
pos: Int, limit: Int, ): ByteArray? { val address = ByteArray(16) var b = 0 var compress = -1 var groupOffset = -1 var i = pos while (i < limit) { if (b == address.size) return null // Too many groups. // Read a delimiter. if (i + 2 <= limit && input.startsWith("::", startIndex = i)) { // Compression "::" delimiter, which is anywhere in the input, including its prefix.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
} } @Test @DisplayName("Test decode throws exception when length is too short") void testDecodeThrowsExceptionWhenLengthTooShort() { byte[] buffer = new byte[28]; // Test with len = 23 (one byte too short) SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertEquals(0xFFFFFFFF, response.getMaximalAccess()); } @Test @DisplayName("Should handle buffer too small for reading") void testBufferTooSmall() { // Given byte[] buffer = new byte[15]; // Too small for 16-byte structure SMBUtil.writeInt2(16, buffer, 0); // When & Then assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size()); } } catch (ArithmeticException e) { throw new IllegalArgumentException( "Cartesian product too large; must have size at most Integer.MAX_VALUE"); } this.axesSizeProduct = axesSizeProduct; } private int getAxisIndexForProductIndex(int index, int axis) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/Platform.java
// Use fewer steps in the ListIteratorTester in ListListIteratorTester because it's slow in prod // mode. static int listListIteratorTesterNumIterations() { // TODO(hhchan): It's 4 in java. Figure out why even 3 is too slow in prod mode. return 2; } // Use fewer steps in the IteratorTester in CollectionIteratorTester because it's slow in prod // mode. static int collectionIteratorTesterNumIterations() { return 3;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
resetWithHole(); assertEquals(c, navigableSet.higher(a)); assertEquals(c, navigableSet.higher(b)); assertEquals(null, navigableSet.higher(c)); } /* * TODO(cpovirk): make "too small" and "too large" elements available for better navigation * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that * ContiguousSet's tests would no longer need to suppress them. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
} @Test void testEngineDigestWithInsufficientBuffer() { // Test engineDigest with buffer too small HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] buffer = new byte[10]; // Should throw exception when buffer is too small assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
byte[] buffer = new byte[4]; // Set error code to 0 setErrorCode(response, 0); // ArrayIndexOutOfBoundsException is thrown when buffer is too small assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readDataWireFormat(buffer, 0, buffer.length); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
Then you can create another dependency function (a "dependable") that at the same time declares a dependency of its own (so it is a "dependant" too): {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[13] *} Let's focus on the parameters declared:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/features/events.md
Events ====== Events allow you to capture metrics on your application’s HTTP calls. Use events to monitor: * The size and frequency of the HTTP calls your application makes. If you’re making too many calls, or your calls are too large, you should know about it! * The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it. ### EventListener
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 7.7K bytes - Viewed (0)