- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 382 for too (0.01 sec)
-
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
// Now we hit the cap assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29)); assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1)); // Now we've gone too far assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30)); } @GwtIncompatible // RegularImmutableSet.table not in emulation public void testResizeTable() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
assertEquals(32, sid.sub_authority[0]); assertEquals(544, sid.sub_authority[1]); assertEquals(adminSidString, sid.toString()); } /** * Test byte array constructor with too many sub-authorities. */ @Test void testByteArrayConstructorTooManySubAuthorities() { byte[] badSid = new byte[10]; badSid[1] = 101; // sub_authority_count > 100
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
* connection is fine the ping will receive a pong; otherwise it won't. * * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too * long, streams created while we await the pong will reuse broken connections and inevitably * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS * handshakes will be required. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt4(100, buffer, offset + 4); // Write notification with next offset beyond buffer int notifyOffset = 80; SMBUtil.writeInt4(500, buffer, notifyOffset); // Invalid - too large SMBUtil.writeInt4(1, buffer, notifyOffset + 4); SMBUtil.writeInt4(8, buffer, notifyOffset + 8); System.arraycopy("test".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.factorial(-1)); } public void testBinomialSmall() { runBinomialTest(0, 30); } @GwtIncompatible // too slow public void testBinomialLarge() { runBinomialTest(31, 100); } // Depends on the correctness of BigIntegerMath.factorial private static void runBinomialTest(int firstN, int lastN) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/JoinerTest.java
return delegate; } @Override public int size() { return delegate.size() + delta; } } @SuppressWarnings("JoinIterableIterator") // explicitly testing iterator overload, too public void testNoSpecialNullBehavior() { checkNoOutput(J, iterable); checkResult(J, iterable1, "1"); checkResult(J, iterable12, "1-2"); checkResult(J, iterable123, "1-2-3");Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener(); IdentityLoader<Integer> loader = identityLoader(); // Even numbers are free, odd are too expensive Weigher<Integer, Integer> evensOnly = new Weigher<Integer, Integer>() { @Override public int weigh(Integer k, Integer v) { return k % 2; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.readOctetArray(destData, 0, sourceData.length); assertEquals(sourceData.length, ndrBuffer.getIndex()); assertEquals(sourceData.length, ndrBuffer.getLength()); // Length is updated on read too assertArrayEquals(sourceData, destData); // Read with offset and length ndrBuffer.setIndex(0); Arrays.fill(destData, (byte) 0x00); // Clear destData
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
case scanner.Int, '(': p.back() x := int64(p.expr()) if p.arch.Family == sys.ARM64 { if x >= 64 { p.errorf("register shift count too large: %s", str) } count = int16((x & 63) << 10) } else { if x >= 32 { p.errorf("register shift count too large: %s", str) } count = int16((x & 31) << 7) } default: p.errorf("unexpected %s in register shift", tok.String()) }Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
if (buffer == null || buffer.length < bufferIndex + 4) { throw new SMBProtocolDecodingException("Buffer too small"); } return 4; } @Override public int encode(byte[] dst, int dstIndex) { return 4; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0)