- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 1,760 for lengths (0.48 sec)
-
guava-tests/benchmark/com/google/common/cache/SegmentBenchmark.java
checkState(cache.segments.length == 1); segment = cache.segments[0]; checkState(segment.table.length() == capacity); for (int i = 0; i < segment.threshold; i++) { cache.put(new Object(), new Object()); } checkState(segment.table.length() == capacity); } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
assertNotNull(context); assertArrayEquals(ciphers, context.getCiphers()); assertEquals(0, context.getCiphers().length); } @Test @DisplayName("Should create instance with default constructor") void testDefaultConstructor() { EncryptionNegotiateContext context = new EncryptionNegotiateContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
public void testLength() { assertThat(ImmutableDoubleArray.of().length()).isEqualTo(0); assertThat(ImmutableDoubleArray.of(0).length()).isEqualTo(1); assertThat(ImmutableDoubleArray.of(0, 1, 3).length()).isEqualTo(3); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0); assertThat(ImmutableDoubleArray.of(0, 1, 3).subArray(1, 2).length()).isEqualTo(1); } public void testIsEmpty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
}; // Act int decodedSize = context.decode(buffer, 0, buffer.length); // Assert assertEquals(4, decodedSize); assertEquals(0, context.getHashAlgos().length); assertEquals(0, context.getSalt().length); } @ParameterizedTest @ValueSource(ints = { 0, 1, 3, 5, 10 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
if (offset + length <= bufferSize && length >= 24) { assertDoesNotThrow(() -> { info.decode(buffer, offset, length); }); } } } @Nested @DisplayName("Interface Compatibility Tests") class InterfaceCompatibilityTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// At offset 128 + 64 (header start), set context with excessive data length int contextPos = 192; SMBUtil.writeInt2(1, buffer, contextPos); // Context type SMBUtil.writeInt2(2000, buffer, contextPos + 2); // Excessive data length (> 1024) // Add padding for 8-byte alignment SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
// least as long as the pattern because asterisk must match the whole left-most label and // hostname starts with a non-empty label. Thus, asterisk has to match one or more characters. if (hostname.length < pattern.length) { return false // Hostname too short to match the pattern. } if ("*." == pattern) { return false // Wildcard pattern for single-label domain name -- not permitted. }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/SMBSigningDigest.java
* @param offset * The starting offset at which the SMB header begins. * @param length * The length of the SMB data starting at offset. * @param request * request message * @param response * response message */ void sign(byte[] data, int offset, int length, CommonServerMessageBlock request, CommonServerMessageBlock response); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
public String escape(String string) { checkNotNull(string); // GWT specific check (do not optimize) // Inlineable fast-path loop which hands off to escapeSlow() only if needed int length = string.length(); for (int index = 0; index < length; index++) { if (escape(string.charAt(index)) != null) { return escapeSlow(string, index); } } return string; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Feb 09 16:22:33 UTC 2025 - 13.8K bytes - Viewed (0)