Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 558 for Apply (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

        cipherSuites: List<CipherSuite>? = null,
      ): OkHttpClient =
        this.client
          .newBuilder()
          .apply {
            if (connectionSpec != null) {
              connectionSpecs(
                listOf(
                  ConnectionSpec
                    .Builder(connectionSpec)
                    .apply {
                      if (tlsVersion != null) {
                        tlsVersions(tlsVersion)
                      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Sep 16 07:21:43 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

         *
         * @param context the upgrade context
         * @param pomMap map of all POM files in the project (domtrip Documents)
         * @return the result of the upgrade operation
         */
        UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap);
    
        /**
         * Checks if this strategy is applicable given the current options.
         *
         * @param context the upgrade context
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. gorm.go

    		if opt != nil {
    			if applyErr := opt.Apply(config); applyErr != nil {
    				return nil, applyErr
    			}
    			defer func(opt Option) {
    				if skipAfterInitialize {
    					return
    				}
    				if errr := opt.AfterInitialize(db); errr != nil {
    					err = errr
    				}
    			}(opt)
    		}
    	}
    
    	if d, ok := dialector.(interface{ Apply(*Config) error }); ok {
    		if err = d.Apply(config); err != nil {
    			return
    		}
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

      private fun allAscii(encoding: Encoding) =
        apply {
          for (i in 0..127) {
            encodings[i] = encoding
          }
        }
    
      fun override(
        encoding: Encoding,
        vararg codePoints: Int,
      ) = apply {
        for (codePoint in codePoints) {
          encodings[codePoint] = encoding
        }
      }
    
      fun nonPrintableAscii(encoding: Encoding) =
        apply {
          encodings[ 0x0] = encoding // Null character
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/InternersTest.java

        Function<String, String> internerFunction =
            Interners.asFunction(Interners.<String>newStrongInterner());
    
        assertSame(canonical, internerFunction.apply(canonical));
        assertSame(canonical, internerFunction.apply(not));
      }
    
      public void testNullPointerExceptions() {
        new NullPointerTester().testAllPublicStaticMethods(Interners.class);
      }
    
      public void testConcurrencyLevel_zero() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 17:02:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. docs_src/response_directly/tutorial002_py39.py

    from fastapi import FastAPI, Response
    
    app = FastAPI()
    
    
    @app.get("/legacy/")
    def get_legacy_data():
        data = """<?xml version="1.0"?>
        <shampoo>
        <Header>
            Apply shampoo here.
        </Header>
        <Body>
            You'll have to use soap here.
        </Body>
        </shampoo>
        """
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 354 bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/CollectorTester.java

            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

            K k = (K) key;
            return function.apply(k);
          } else {
            return null;
          }
        }
    
        @Override
        public @Nullable V remove(@Nullable Object key) {
          if (backingSet().remove(key)) {
            @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it
            K k = (K) key;
            return function.apply(k);
          } else {
            return null;
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

       */
      fun escapeForUri(vararg codePoints: Int) =
        apply {
          uriEscapedCodePoints.append(String(*codePoints))
        }
    
      /**
       * Configure code points to be stripped in conversion to `java.net.URI`. That class is more
       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
          uriStrippedCodePoints.append(String(*codePoints))
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                String name = (String) e.nextElement();
                String value = props.getProperty(name);
                if (value == null) {
                    value = callback.apply(name);
                }
                if (name.startsWith(OVERRIDE_PREFIX)) {
                    String overrideName = name.substring(OVERRIDE_PREFIX.length());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top