Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 650 for apply (0.34 sec)

  1. build.gradle.kts

      if (project.name == "regression-test") return@subprojects
      if (project.name == "android-test-app") return@subprojects
      if (project.name == "container-tests") return@subprojects
    
      apply(plugin = "checkstyle")
      apply(plugin = "ru.vyarus.animalsniffer")
      apply(plugin = "biz.aQute.bnd.builder")
    
      tasks.withType<JavaCompile> {
        options.encoding = Charsets.UTF_8.toString()
      }
    
      configure<JavaPluginExtension> {
        toolchain {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

         */
        fun maxAge(maxAge: Duration) =
          apply {
            val maxAgeSeconds = maxAge.inWholeSeconds
            require(maxAgeSeconds >= 0) { "maxAge < 0: $maxAgeSeconds" }
            this.maxAgeSeconds = maxAgeSeconds.commonClampToInt()
          }
    
        fun maxStale(maxStale: Duration) =
          apply {
            val maxStaleSeconds = maxStale.inWholeSeconds
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        T instance = generator.newFreshProxy(interfaceType);
        new EqualsTester()
            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
            // TODO: add an overload to EqualsTester to print custom error message?
            .testEquals();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        T instance = generator.newFreshProxy(interfaceType);
        new EqualsTester()
            .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance))
            .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
            // TODO: add an overload to EqualsTester to print custom error message?
            .testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         *
         * [rfc_2818]: https://tools.ietf.org/html/rfc2818
         */
        fun commonName(cn: String) =
          apply {
            this.commonName = cn
          }
    
        /** Sets the certificate's organizational unit (OU). If unset this field will be omitted. */
        fun organizationalUnit(ou: String) =
          apply {
            this.organizationalUnit = ou
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/base/EquivalenceTest.java

        assertTrue(equalTo1.apply("1"));
        assertFalse(equalTo1.apply("2"));
        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Predicate.java

       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
       * @throws NullPointerException if {@code input} is null and this predicate does not accept null
       *     arguments
       */
      boolean apply(@ParametricNullness T input);
    
      /**
       * Indicates whether another object is equal to this predicate.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

        }
    
        fun client(client: OkHttpClient) =
          apply {
            this.client = client
          }
    
        fun url(url: HttpUrl) =
          apply {
            this.url = url
          }
    
        fun includeIPv6(includeIPv6: Boolean) =
          apply {
            this.includeIPv6 = includeIPv6
          }
    
        fun post(post: Boolean) =
          apply {
            this.post = post
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        assertTrue(equalTo1.apply("1"));
        assertFalse(equalTo1.apply("2"));
        assertFalse(equalTo1.apply(null));
        Predicate<@Nullable Object> isNull = Equivalence.equals().equivalentTo(null);
        assertFalse(isNull.apply("1"));
        assertFalse(isNull.apply("2"));
        assertTrue(isNull.apply(null));
    
        new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        @Override
        public O apply(I input) {
          applyCount++;
          return delegate.apply(input);
        }
    
        void verifyCallCount(int expected) {
          assertThat(applyCount).isEqualTo(expected);
        }
      }
    
      private static <X extends Throwable, V> Function<X, V> unexpectedFunction() {
        return new Function<X, V>() {
          @Override
          public V apply(X t) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top