- Sort Score
- Result 10 results
- Languages All
Results 1641 - 1650 of 2,317 for method (0.14 sec)
-
android/guava/src/com/google/common/collect/TreeRangeMap.java
} @Override public void remove(Range<K> rangeToRemove) { if (rangeToRemove.isEmpty()) { return; } /* * The comments for this method will use [ ] to indicate the bounds of rangeToRemove and ( ) to * indicate the bounds of ranges in the range map. */ Entry<Cut<K>, RangeMapEntry<K, V>> mapEntryBelowToTruncate =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 22.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
for (Object e : elements) { array[i++] = (Long) e; } return create(array); } /** * Creates a new collection containing the given elements; implement this method instead of * {@link #create(Object...)}. */ protected abstract List<Long> create(Long[] elements); @Override public Long[] createArray(int length) { return new Long[length];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
private static final SecurityAuditLogger auditLogger = SecurityAuditLogger.getInstance(); /** * Performs constant-time comparison of two char arrays to prevent timing attacks. * This method always compares the full length of both arrays, regardless of when * differences are found, making the execution time independent of the position * of differing characters. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
uuid.clock_seq_low = (byte) 0x22; uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; // Mock the derive method to return a buffer for node encoding when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer); // When: Encoding the UUID uuid.encode(mockNdrBuffer);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
* either it has exceeded the keep alive limit or the idle connections limit. * * Returns the duration in nanoseconds to sleep until the next scheduled call to this method. * Returns -1 if no further cleanups are required. */ fun closeConnections(now: Long): Long { // Compute the concurrent call capacity for each address. We won't close a connection if doing
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF byte[] buffer = new byte[10]; // The readn method will return 0 when stream returns -1 // So this should still throw IOException, not return -1 IOException exception = assertThrows(IOException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(expectedMappedValue, actualInfoLevel); } @Test @DisplayName("Test with null buffer in read methods") void testReadMethodsWithNullBuffer() { trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); // All read methods should handle null buffer gracefully assertEquals(0, trans2SetFileInfo.readSetupWireFormat(null, 0, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
assertTrue(enumer.hasMoreElements()); assertEquals(3, (int) enumer.nextElement()); assertFalse(enumer.hasMoreElements()); } // We're testing our asEnumeration method against a known-good implementation. @SuppressWarnings("JdkObsolete") private static Enumeration<Integer> enumerate(int... ints) { Vector<Integer> vector = new Vector<>(Ints.asList(ints));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
This regression was introduced in OkHttp 4.3.0. * Fix: Don't crash with an `IllegalArgumentException` when using custom trust managers on Android 10. Android uses reflection to look up a magic `checkServerTrusted()` method and we didn't have it. * Fix: Explicitly specify the remote server name when making HTTPS connections on Android 5. In 4.3.0 we introduced a regression where server name indication (SNI) was broken on Android 5.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
assertTrue(result.contains("Inherited")); assertTrue(result.contains("This folder, subfolders and files")); } @Test @DisplayName("Test appendCol helper method") void testAppendCol() { StringBuffer sb = new StringBuffer(); // Test with short string ace.appendCol(sb, "test", 10); assertEquals("test ", sb.toString());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0)