- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 208 for shorter (0.15 seconds)
-
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} /** * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures * that callers don't pass an {@link Entry} by mistake. */ protected V get(K key) { return getMap().get(key); } protected final K k0() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
*/ public class ResourceManagerTest { private ResourceManager resourceManager; @BeforeEach void setUp() { resourceManager = ResourceManager.getInstance(); // Configure with shorter intervals for testing resourceManager.configure(1000, 100, true, true); } /** * Test resource for tracking */ static class TestResource implements AutoCloseable {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} /** * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures * that callers don't pass an {@link Entry} by mistake. */ protected V get(K key) { return getMap().get(key); } protected final K k0() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
afe.initCause(t); throw afe; } } /** * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than * specified, may re-sleep or yield until time elapses. */ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait? static void delay(long millis) throws InterruptedException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
* Returns a new comparator which sorts iterables by comparing corresponding elements pairwise * until a nonzero result is found; imposes "dictionary order." If the end of one iterable is * reached, but not the other, the shorter iterable is considered to be less than the longer one. * For example, a lexicographical natural ordering over integers considers {@code [] < [1] < [1, * 1] < [1, 2] < [2]}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/util/HMACT64Test.java
} } @Test void testConstructorWithShortKey() throws NoSuchAlgorithmException { // Test constructor with a key shorter than BLOCK_LENGTH (64 bytes) try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 hmac = new HMACT64(SHORT_TEST_KEY);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.6K bytes - Click Count (0) -
guava/src/com/google/common/base/Functions.java
public String toString() { return "Functions.toStringFunction()"; } } /** * Returns the identity function. * * <p><b>Discouraged:</b> Prefer using a lambda like {@code v -> v}, which is shorter and often * more readable. */ // implementation is "fully variant"; E has become a "pass-through" type @SuppressWarnings("unchecked") public static <E extends @Nullable Object> Function<E, E> identity() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertEquals(1024, SMBUtil.readInt4(buffer, 4)); assertEquals(2048, SMBUtil.readInt4(buffer, 32)); } @Test @DisplayName("Should handle file ID shorter than 16 bytes") void testShortFileId() { byte[] shortFileId = new byte[8]; Arrays.fill(shortFileId, (byte) 0xAB); request.setFileId(shortFileId);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
* * But this chain is wrong because the attackerSwitch certificate is being used in a CA role even * though it is not a CA certificate. There are pinned certificates in the chain! The correct * chain is much shorter because it skips the non-CA certificate. * * ``` * attackerCa * -> attackerIntermediate * -> phonyVictim * ``` *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 24.4K bytes - Click Count (2) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
// Context handle (20 bytes) if (contextHandle != null) { buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else { // Write 20 zero bytes for null context handleCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0)