Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 46 of 46 for toSet (0.02 seconds)

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

          vararg pins: String,
        ) = apply {
          for (pin in pins) {
            this.pins.add(Pin(pattern, pin))
          }
        }
    
        fun build(): CertificatePinner = CertificatePinner(pins.toSet())
      }
    
      companion object {
        @JvmField
        val DEFAULT = Builder().build()
    
        @JvmStatic
        fun X509Certificate.sha1Hash(): ByteString = publicKey.encoded.toByteString().sha1()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

                throw new GradleException("\"" + licensesDir.getPath() + "\" isn't a valid directory");
            }
    
            return Arrays.stream(array).filter(file -> file.getName().endsWith(SHA_EXTENSION)).collect(Collectors.toSet());
        }
    
        String getSha1(File file) throws IOException, NoSuchAlgorithmException {
            byte[] bytes = Files.readAllBytes(file.toPath());
    
            MessageDigest digest = MessageDigest.getInstance("SHA-1");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Set<String> declaredSubprojects = subprojectElements.stream()
                    .map(Element::textContentTrimmed)
                    .filter(name -> !name.isEmpty())
                    .collect(Collectors.toSet());
    
            // Get list of actual direct child directories with pom.xml
            Set<String> actualSubprojects = new HashSet<>();
            try {
                if (Files.exists(parentDir) && Files.isDirectory(parentDir)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLkotlin/collections/CollectionsKt___CollectionsKt;->toMutableList(Ljava/util/Collection;)Ljava/util/List;
    HSPLkotlin/collections/CollectionsKt___CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set;
    HSPLkotlin/collections/EmptyIterator;-><clinit>()V
    HSPLkotlin/collections/EmptyIterator;-><init>()V
    HSPLkotlin/collections/EmptyIterator;->hasNext()Z
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  5. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                servletContext.setSessionTrackingModes(
                        fessConfig.getSessionTrackingModesAsSet().stream().map(SessionTrackingMode::valueOf).collect(Collectors.toSet()));
            } catch (final Throwable t) {
                logger.warn("Failed to set SessionTrackingMode.", t);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainImpl.java

        public String toString() {
            return "JDK[" + getJavaHome() + "]";
        }
    
        @Override
        public String findTool(String toolName) {
            Path toRet = findTool(toolName, Paths.get(getJavaHome()).normalize());
            if (toRet != null) {
                return toRet.toAbsolutePath().toString();
            }
            return null;
        }
    
        private static Path findTool(String toolName, Path installDir) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top