Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 506 for Apply (0.02 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

            printStream.accept("Goals:");
            printStream.accept("  help  - display this help message");
            printStream.accept("  check - check for available upgrades");
            printStream.accept("  apply - apply available upgrades");
            printStream.accept("");
            printStream.accept("Options:");
            printStream.accept("  -m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:48:39 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

                  object : DelegatingSSLSocketFactory(sslSocketFactory) {
                    override fun configureSocket(sslSocket: SSLSocket): SSLSocket {
                      return sslSocket.apply {
                        sslParameters =
                          sslParameters.apply {
                            sniMatchers =
                              listOf(
                                object : SNIMatcher(StandardConstants.SNI_HOST_NAME) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              C filtered = filter(createUnfiltered(contents), EVEN);
              try {
                assertEquals(expectedResult, filtered.add(toAdd));
                assertTrue(EVEN.apply(toAdd));
              } catch (IllegalArgumentException e) {
                assertFalse(EVEN.apply(toAdd));
              }
            }
          }
        }
    
        public void testRemove() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

           * [DIGEST], [PARALLEL] and [FORM].
           */
          fun setType(type: MediaType) =
            apply {
              require(type.type == "multipart") { "multipart != $type" }
              this.type = type
            }
    
          /** Add a part to the body. */
          fun addPart(body: RequestBody) =
            apply {
              addPart(Part.create(body))
            }
    
          /** Add a part to the body. */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

         */
        fun scheme(scheme: String) =
          apply {
            when {
              scheme.equals("http", ignoreCase = true) -> this.scheme = "http"
              scheme.equals("https", ignoreCase = true) -> this.scheme = "https"
              else -> throw IllegalArgumentException("unexpected scheme: $scheme")
            }
          }
    
        fun username(username: String) =
          apply {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

      )
      fun trustManager(): X509TrustManager = trustManager
    
      fun sslSocketFactory(): SSLSocketFactory = sslContext().socketFactory
    
      fun sslContext(): SSLContext =
        Platform.get().newSSLContext().apply {
          init(arrayOf<KeyManager>(keyManager), arrayOf<TrustManager>(trustManager), SecureRandom())
        }
    
      class Builder {
        private var heldCertificate: HeldCertificate? = null
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

     *         return model;
     *     }
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    public interface ModelTransformer extends SpiService {
    
        /**
         * Apply a transformation on the file model.
         *
         * This method will be called on each file model being loaded,
         * just before validation.
         *
         * @param model the input model
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * not before this method completes), even if this method throws or the pipeline is cancelled.
         */
        @ParametricNullness
        U apply(DeferredCloser closer, @ParametricNullness T input) throws Exception;
      }
    
      /**
       * A function from an input to a {@link ClosingFuture} of a result.
       *
       * @param <T> the type of the input to the function
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 13:51:27 UTC 2025
    - 96.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/ForwardingLoadingCache.java

      @Override
      public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
        return delegate().getAll(keys);
      }
    
      @Override
      public V apply(K key) {
        return delegate().apply(key);
      }
    
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/SuppliersTest.java

                return 5;
              }
            };
    
        Function<Number, Integer> intValueFunction =
            new Function<Number, Integer>() {
              @Override
              public Integer apply(Number x) {
                return x.intValue();
              }
            };
    
        Supplier<Integer> squareSupplier = Suppliers.compose(intValueFunction, fiveSupplier);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top