Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 531 for Apply (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/ForwardingCollectionTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                Collection.class,
                new Function<Collection, Collection>() {
                  @Override
                  public Collection apply(Collection delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      private static <T> Collection<T> wrap(Collection<T> delegate) {
        return new ForwardingCollection<T>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Queue.class,
                new Function<Queue, Queue>() {
                  @Override
                  public Queue apply(Queue delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      private static <T> Queue<T> wrap(Queue<T> delegate) {
        return new ForwardingQueue<T>() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResultDataTest.java

            // ## Arrange ##
            final ResultData resultData = new ResultData();
            final Function<Object, byte[]> serializer = new Function<Object, byte[]>() {
                @Override
                public byte[] apply(Object t) {
                    return t.toString().getBytes();
                }
            };
    
            // ## Act ##
            resultData.setSerializer(serializer);
    
            // ## Assert ##
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers-config-kv.go

    			// Logger webhook proxy deleted, apply the dynamic changes
    			applyDynamic(ctx, objectAPI, cfg, config.LoggerWebhookSubSys, r, w)
    		}
    	}
    }
    
    func applyDynamic(ctx context.Context, objectAPI ObjectLayer, cfg config.Config, subSys string,
    	r *http.Request, w http.ResponseWriter,
    ) {
    	// Apply dynamic values.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (1)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

        // request headers.
        // 431 "Request Header Fields Too Large"
        val largeHeaders =
          Headers
            .Builder()
            .apply {
              repeat(32) {
                add("name-$it", "value-$it-" + "0".repeat(1024))
              }
            }.build()
        val call2 =
          client.newCall(
            Request
              .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

        DelayingIdentityLoader(CountDownLatch delayLatch) {
          this.delayLatch = delayLatch;
        }
    
        @CanIgnoreReturnValue // Sure, why not?
        @Override
        public T apply(T key) {
          awaitUninterruptibly(delayLatch);
          return key;
        }
      }
    
      /*
       * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and
       * anywhere else
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top