Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 497 for Apply (0.25 sec)

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

      cache: Cache,
      request: Request,
    ): Response? = cache.get(request)
    
    internal fun applyConnectionSpec(
      connectionSpec: ConnectionSpec,
      sslSocket: SSLSocket,
      isFallback: Boolean,
    ) = connectionSpec.apply(sslSocket, isFallback)
    
    internal fun ConnectionSpec.effectiveCipherSuites(socketEnabledCipherSuites: Array<String>): Array<String> =
      if (cipherSuitesAsString != null) {
        // 3 options here for ordering
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. settings.gradle.kts

    include(":samples:unixdomainsockets")
    include(":container-tests")
    
    project(":okhttp-logging-interceptor").name = "logging-interceptor"
    
    val androidHome = System.getenv("ANDROID_HOME")
    val localProperties = Properties().apply {
      val file = File("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    if (androidHome != null || sdkDir != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingTableTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                Table.class,
                new Function<Table, Table<?, ?, ?>>() {
                  @Override
                  public Table<?, ?, ?> apply(Table delegate) {
                    return wrap((Table<?, ?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
        Table<Integer, Integer, String> table1 = ImmutableTable.of(1, 1, "one");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/AndroidSocketAdapterTest.kt

      val adapter: SocketAdapter,
    ) {
      val context: SSLContext by lazy {
        val provider: Provider = Conscrypt.newProviderBuilder().provideTrustManager(true).build()
    
        SSLContext.getInstance("TLS", provider).apply {
          init(null, null, null)
        }
      }
    
      @Test
      fun testMatchesSupportedSocket() {
        val socketFactory = context.socketFactory
    
        val sslSocket = socketFactory.createSocket() as SSLSocket
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      const val TYPE_AAAA = 0x001c
      private const val TYPE_PTR = 0x000c
      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer()
          .apply {
            writeShort(0) // query id
            writeShort(256) // flags with recursion
            writeShort(1) // question count
            writeShort(0) // answerCount
            writeShort(0) // authorityResourceCount
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/UpgradeOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        @Nonnull
        Optional<Boolean> plugins();
    
        /**
         * Should apply all upgrade options (equivalent to --model-version 4.1.0 --infer --model --plugins).
         * This is a convenience option that combines model upgrade, inference, compatibility fixes, and plugin upgrades.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

      private static final Predicate<Entry<String, Integer>> PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !Objects.equals(entry.getKey(), "badkey") && entry.getValue() != 55556;
            }
          };
    
      public MultimapsFilterEntriesAsMapTest() {
        super(true, true, false);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AsyncFunction.java

       * asynchronous derivations.
       *
       * <p>Throwing an exception from this method is equivalent to returning a failing {@code Future}.
       */
      ListenableFuture<O> apply(@ParametricNullness I input) throws Exception;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

                .createTestSuite());
    
        Function<String, String> removeFirstCharacter =
            new Function<String, String>() {
              @Override
              public String apply(String input) {
                return input.substring(1);
              }
            };
    
        suite.addTest(
            CollectionTestSuiteBuilder.using(
                    new TestStringCollectionGenerator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top