Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2631 - 2640 of 3,180 for when (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CipherSuite.kt

            // Add the new cipher suite, or a confirmed alias.
            INSTANCES[javaName] = result
          }
          return result
        }
    
        private fun secondaryName(javaName: String): String =
          when {
            javaName.startsWith("TLS_") -> "SSL_" + javaName.substring(4)
            javaName.startsWith("SSL_") -> "TLS_" + javaName.substring(4)
            else -> javaName
          }
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 39.9K bytes
    - Click Count (0)
  2. src/archive/zip/zip_test.go

    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    		t.Fatalf("Writer.Close: %v", err)
    	}
    	s := buf.String()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        assertThat(verifier.verify("k.com", session)).isFalse()
        assertThat(verifier.verify("K.com", session)).isFalse()
      }
    
      private fun certificateSANs(peerCertificate: X509Certificate): List<String> =
        when (val subjectAlternativeNames = peerCertificate.subjectAlternativeNames) {
          null -> listOf()
          else -> subjectAlternativeNames.map { c: List<*> -> c[1] as String }
        }
    
      @Test fun replacementCharacter() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                if (!taskList.isEmpty()) {
                    storeQueue(taskList);
                }
            }, "ThumbnailGenerator");
            thumbnailQueueThread.start();
        }
    
        /**
         * Cleans up resources when the thumbnail manager is destroyed.
         * Stops background processing and waits for threads to complete.
         */
        @PreDestroy
        public void destroy() {
            generating = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 27.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                    }
                  });
        }
    
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
    
        // Since we're not doing any more cache operations, and the cache only expires/evicts when doing
        // other operations, the cache and the removal queue won't change from this point on.
    
        // Verify that each received removal notification was valid
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

                    }
                  });
        }
    
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
    
        // Since we're not doing any more cache operations, and the cache only expires/evicts when doing
        // other operations, the cache and the removal queue won't change from this point on.
    
        // Verify that each received removal notification was valid
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            // We want to eliminate any relative path nonsense and lock down the path so we
            // need to fully resolve it before any submodules use the path. This can happen
            // when you are using a custom settings.xml that contains a relative path entry
            // for the local repository setting.
    
            File localRepository = new File(url.substring("file://".length()));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

            assertTrue(queryFieldConfig.apiResponseFieldSet.contains("api3"));
        }
    
        @Test
        public void test_highlightedFields_withNull() {
            queryFieldConfig.highlightedFields = null;
    
            // When highlightedFields is null, the method should handle it gracefully
            // or throw an exception. Test the actual behavior.
            queryFieldConfig.highlightedFields(stream -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * href="http://en.wikipedia.org/wiki/Lexicographical_order">lexicographically</a>. That is, it
       * compares, using {@link #compare(short, short)}), the first pair of values that follow any
       * common prefix, or when one array is a prefix of the other, treats the shorter array as the
       * lesser. For example, {@code [] < [(short) 1] < [(short) 1, (short) 2] < [(short) 2]}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
    
            // Mock CredentialsInternal for session tests
            jcifs.smb.CredentialsInternal mockCredentialsInternal = Mockito.mock(jcifs.smb.CredentialsInternal.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top