Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 844 for Because (0.03 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * example, extensions type IDs specify what types to use for the corresponding values.
       *
       * If the hint is unknown [chooser] should return null which will cause the value to be decoded as
       * an opaque byte string.
       *
       * This may optionally wrap the contents in a tag.
       */
      fun usingTypeHint(chooser: (Any?) -> DerAdapter<*>?): DerAdapter<Any?> {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(result);
        }
    
        @Test
        void testIOExceptionDuringRead() throws IOException {
            // Create a file that exists but will cause an IOException when read
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            lmhostsFile.createNewFile();
    
            // Make file unreadable on Unix-like systems
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        // System.identityHashCode, which means the assignment of keys to segments is nondeterministic,
        // so more than (maximumSize / #segments) keys could get assigned to the same segment, which
        // would cause one to be evicted.
        return new CacheBuilderFactory()
            .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK))
            .withValueStrengths(ImmutableSet.copyOf(Strength.values()))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum path length")
            void testMaximumPathLength() {
                // Create a very long path (but not too long to cause memory issues)
                StringBuilder sb = new StringBuilder("\\\\server");
                for (int i = 0; i < 1000; i++) {
                    sb.append("\\segment");
                }
                String path = sb.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        void testConstructorWithNullDelegate() {
            // When & Then
            assertDoesNotThrow(() -> {
                new DelegatingConfiguration(null);
            }, "Constructor should accept null delegate (though it would cause NPE on use)");
        }
    
        @Test
        @DisplayName("Constructor should store delegate reference")
        void testConstructorStoresDelegate() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        call.enqueue(callback)
        val recordedResponse = callback.await(server.url("/"))
        assertThat(recordedResponse.failure, "canceled due to java.lang.RuntimeException: boom!")
        assertThat(recordedResponse.failure?.cause).isEqualTo(boom)
        assertThat(call.isCanceled()).isTrue()
        assertThat(executor.takeException()).isEqualTo(boom)
      }
    
      @Test
      fun networkInterceptorReturnsConnectionOnEmptyBody() {
        server.enqueue(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                    return SearchResult.create().build();
                } catch (final ExecutionException e) {
                    logger.warn("Search operation failed with exception", e.getCause());
                    return SearchResult.create().build();
                }
            }).toArray(SearchResult[]::new);
    
            final String scoreField = fessConfig.getRankFusionScoreField();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  8. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        }
        assertThat(other.toString()).isEqualTo("MockWebServer{closed}")
      }
    
      @Test
      fun closeWhileBlockedDispatching() {
        // Enqueue a request that'll cause MockWebServer to hang on QueueDispatcher.dispatch().
        val connection = server.url("/").toUrl().openConnection() as HttpURLConnection
        connection.readTimeout = 500
        assertFailsWith<SocketTimeoutException> {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            this.handleManager = manager;
            this.maxRetries = 3;
            this.retryDelay = 1000;  // 1 second
        }
        
        public CompletableFuture<SmbFile> reconnectHandle(SmbFile file, Exception cause) {
            String path = file.getPath();
            HandleInfo info = handleManager.getHandleForReconnect(path);
            
            if (info == null) {
                return CompletableFuture.failedFuture(
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Striped.java

       * are guaranteed to not deadlock each other.
       *
       * <p>It should be noted that using a {@code Striped<L>} with relatively few stripes, and {@code
       * bulkGet(keys)} with a relative large number of keys can cause an excessive number of shared
       * stripes (much like the birthday paradox, where much fewer than anticipated birthdays are needed
       * for a pair of them to match). Please consider carefully the implications of the number of
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top