- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 539 for Multiple (0.18 sec)
-
guava/src/com/google/common/graph/MapIteratorCache.java
* * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread * while writing to it in another. All it does is help with _reading_ from multiple threads * concurrently. For more information, see AbstractNetworkTest.concurrentIteration. */ private transient volatile @Nullable Entry<K, V> cacheEntry; MapIteratorCache(Map<K, V> backingMap) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* loading the value for this key, simply waits for that thread to finish and returns its loaded * value. Note that multiple threads can concurrently load values for distinct keys. * * <p>This method does not alter the state of this {@code CacheBuilder} instance, so it can be * invoked again to create multiple independent caches. * * @param loader the cache loader used to obtain new valuesRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 51.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
assertEquals((byte) 0xFF, serverData.encryptionKey[0]); assertSame(originalKey, serverData.encryptionKey); } /** * Test multiple ServerData instances are independent */ @Test @DisplayName("Test multiple instances are independent") public void testMultipleInstancesIndependence() { // Given ServerData serverData1 = new ServerData();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
// Test when flag is set message.flags = DcerpcConstants.RPC_C_PF_BROADCAST; assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST)); // Test with multiple flags, one is set message.flags = DcerpcConstants.RPC_C_PF_BROADCAST | DcerpcConstants.RPC_C_PF_NO_FRAGMENT; assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
README.md
// File operations with proper resource handling try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) { String content = InputStreamUtil.getUTF8String(input); } // Resource traversal for processing multiple files ResourceTraversalUtil.forEach("META-INF", (resource, is) -> { // Process each resource in the META-INF directory System.out.println("Processing: " + resource); }); ```
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
// Read a delimiter. if (i + 2 <= limit && input.startsWith("::", startIndex = i)) { // Compression "::" delimiter, which is anywhere in the input, including its prefix. if (compress != -1) return null // Multiple "::" delimiters. i += 2 b += 2 compress = b if (i == limit) break } else if (b != 0) { // Group separator ":" delimiter. if (input.startsWith(":", startIndex = i)) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
} } @Nested @DisplayName("Integration Tests") class IntegrationTests { @Test @DisplayName("Should handle multiple consecutive reads") void testMultipleConsecutiveReads() throws Exception { // First read byte[] buffer1 = createValidOplockBreakBuffer((byte) 0x01, createTestData(16));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Then assertEquals(expectedFree, actualFree); verify(mockAllocInfo, times(1)).getFree(); } @Test @DisplayName("Should handle multiple invocations") void shouldHandleMultipleInvocations() { // Given when(mockAllocInfo.getCapacity()).thenReturn(1000L, 2000L, 3000L);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
// Test reset method doNothing().when(response).reset(); response.reset(); verify(response).reset(); } @Test @DisplayName("Test concrete implementation with multiple scenarios") void testConcreteImplementation() throws SMBProtocolDecodingException { // Create a concrete implementation for comprehensive testingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.3K bytes - Viewed (0)