Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for toSet (0.02 sec)

  1. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

          )
        }
      }
    
      private fun expectedConnectionCipherSuites(client: OkHttpClient): Set<String> {
        return client.connectionSpecs.first().cipherSuites!!.map { it.javaName }.intersect(defaultEnabledCipherSuites.toSet())
      }
    
      private fun makeClient(
        connectionSpec: ConnectionSpec? = null,
        tlsVersion: TlsVersion? = null,
        cipherSuites: List<CipherSuite>? = null,
      ): OkHttpClient {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                    Set<String> s1 =
                            given.stream().filter(s -> !computed.contains(s)).collect(Collectors.toSet());
                    Set<String> s2 =
                            computed.stream().filter(s -> !given.contains(s)).collect(Collectors.toSet());
                    throw new IllegalStateException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                        performanceTestType to (entry.value as JSONArray).map {
                            Os.valueOf((it as String).uppercase(Locale.US))
                        }.toSet()
                    }.toMap()
                    PerformanceTestGroup(testProject, coverage)
                }
                PerformanceTestConfiguration(testId, groups)
            }
        }
    }
    
    private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

            Pin("example.com", CertificatePinnerTest.certA1Sha256Pin),
            Pin("www.example.com", CertificatePinnerTest.certA1Sha256Pin),
          )
    
        assertEquals(expectedPins, builder.pins)
        assertEquals(expectedPins.toSet(), certificatePinner.pins)
      }
    
      companion object {
        internal var certA1: HeldCertificate =
          HeldCertificate.Builder()
            .serialNumber(100L)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

            Collection<org.eclipse.aether.scope.DependencyScope> nonTransitiveDependencyScopes =
                    allDependencyScopes.stream().filter(s -> !s.isTransitive()).collect(Collectors.toSet());
            org.eclipse.aether.scope.DependencyScope system = internalScopeManager
                    .getDependencyScope(DependencyScope.SYSTEM.id())
                    .orElse(null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    }
                }
            } else {
                for (final LabelTypeItem item : labelList) {
                    final Set<String> permissions = stream(item.getPermissions()).get(stream -> stream.collect(Collectors.toSet()));
                    for (final String roleValue : roleSet) {
                        if (permissions.contains(roleValue)) {
                            final Map<String, String> map = new HashMap<>(2);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            this.providedArtifactsV4 = providedArtifacts.stream()
                    .filter(ga -> ga.startsWith("org.apache.maven:maven-api-"))
                    .collect(Collectors.toSet());
        }
    
        private ClassRealm newRealm(String id) {
            synchronized (world) {
                String realmId = id;
    
                Random random = new Random();
    
                while (true) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        }
      }
    }
    
    // TODO check read only options for creating lists
    public fun <T> List<T>.readOnly() = this.toList()
    
    // TODO check read only options for creating lists
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. okhttp/src/main/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()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

       * @since 14.0 (since 12.0 as {@code toImmutableSet()}).
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final ImmutableSet<@NonNull E> toSet() {
        return ImmutableSet.copyOf((Iterable<@NonNull E>) getDelegate());
      }
    
      /**
       * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top