Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 895 for apply (0.15 sec)

  1. src/main/java/org/codelibs/fess/query/QueryCommand.java

                final DefaultQueryBuilderFunction builder) {
            final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            boolQuery.should(builder.apply(fessConfig.getIndexFieldTitle(), fessConfig.getQueryBoostTitleAsDecimal().floatValue()));
            boolQuery.should(builder.apply(fessConfig.getIndexFieldContent(), fessConfig.getQueryBoostContentAsDecimal().floatValue()));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    fun Response.Builder.commonRequest(request: Request) =
      apply {
        this.request = request
      }
    
    fun Response.Builder.commonProtocol(protocol: Protocol) =
      apply {
        this.protocol = protocol
      }
    
    fun Response.Builder.commonCode(code: Int) =
      apply {
        this.code = code
      }
    
    fun Response.Builder.commonMessage(message: String) =
      apply {
        this.message = message
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          this.settings =
            Settings().apply {
              merge(mockResponse.settings)
            }
        }
    
        fun code(code: Int) =
          apply {
            this.code = code
          }
    
        /** Sets the status and returns this. */
        fun status(status: String) =
          apply {
            this.status = status
          }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<String> post = SerializableTester.reserializeAndAssert(pre);
        assertEquals(pre.apply("foo"), post.apply("foo"));
        assertEquals(pre.apply(null), post.apply(null));
      }
    
      public void testNotNull_apply() {
        Predicate<@Nullable Integer> notNull = Predicates.notNull();
        assertFalse(notNull.apply(null));
        assertTrue(notNull.apply(1));
      }
    
      public void testNotNull_equality() {
        new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  5. 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)
  6. android/guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
            ImmutableMap.Builder<K, V>::new,
            (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)),
            ImmutableMap.Builder::combine,
            ImmutableMap.Builder::buildOrThrow);
      }
    
      static <T extends @Nullable Object, K, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableMap(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:21:40 GMT 2024
    - 17.2K bytes
    - Viewed (0)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

            else -> "Mock Response"
          }
        return apply { status = "HTTP/1.1 $code $reason" }
      }
    
      fun clearHeaders() =
        apply {
          headersBuilder = Headers.Builder()
        }
    
      fun addHeader(header: String) =
        apply {
          headersBuilder.add(header)
        }
    
      fun addHeader(
        name: String,
        value: Any,
      ) = apply {
        headersBuilder.add(name, value.toString())
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            println(buildResult.output)
    
            val richReportFile = inputBuildDir.resolve("binary-compatibility/build/japi/japi.html").apply {
                assertTrue("Rich report file doesn't exist", isFile)
            }
    
            return CheckResult(failure, scrapeRichReport(richReportFile), buildResult).apply {
                println(richReport.toText())
                block()
            }
        }
    
        /**
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Sep 25 13:49:37 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Predicates.java

        private CompositionPredicate(Predicate<B> p, Function<A, ? extends B> f) {
          this.p = checkNotNull(p);
          this.f = checkNotNull(f);
        }
    
        @Override
        public boolean apply(@ParametricNullness A a) {
          return p.apply(f.apply(a));
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj instanceof CompositionPredicate) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top