Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 392 for Apply (0.03 sec)

  1. docs/features/r8_proguard.md

    don't have to do anything. The specific rules are [already bundled][okhttp3_pro] into the JAR which can be
    interpreted by R8 automatically.
    
    If you, however, don't use R8 you have to apply the rules from [this file][okhttp3_pro]. You might
    also need rules from [Okio][okio] which is a dependency of this library.
    
     [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/okhttp3.pro
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 07:07:23 UTC 2025
    - 570 bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

        /**
         * Add a header line without any validation. Only appropriate for headers from the remote peer
         * or cache.
         */
        internal fun addLenient(line: String) =
          apply {
            val index = line.indexOf(':', 1)
            when {
              index != -1 -> {
                addLenient(line.substring(0, index), line.substring(index + 1))
              }
              line[0] == ':' -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ConverterTest.java

        Converter<String, Long> converter = STR_TO_LONG;
        assertEquals(converter, converter.reverse().reverse());
      }
    
      // We need to test that apply() does in fact behave like convert().
      @SuppressWarnings("InlineMeInliner")
      public void testApply() {
        assertEquals(LONG_VAL, STR_TO_LONG.apply(STR_VAL));
      }
    
      private static class StringWrapper {
        private final String value;
    
        StringWrapper(String value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

            }
    
            public void deleteElevateWord(String word, boolean apply) {
                // Mock implementation
            }
    
            public void addElevateWord(org.codelibs.fess.suggest.entity.ElevateWord elevateWord, boolean apply) {
                // Mock implementation
            }
    
            public void addBadWord(String word, boolean apply) {
                // Mock implementation
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return predicate.apply(immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    
        ValuePredicate(@ParametricNullness K key) {
          this.key = key;
        }
    
        @Override
        public boolean apply(@ParametricNullness V value) {
          return satisfies(key, value);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/RangeTest.java

      public void testPredicateMethods() {
        Range<Integer> predicate = Range.closed(2, 3);
    
        assertFalse(predicate.apply(1));
        assertTrue(predicate.apply(2));
        assertTrue(predicate.apply(3));
        assertFalse(predicate.apply(4));
      }
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(Range.open(1, 5), Range.range(1, OPEN, 5, OPEN))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

            @Override
            public Optional<?> apply(@Nullable Object obj) {
              return Optional.fromNullable(obj);
            }
          };
    
      private static final Function<Optional<?>, @Nullable Object> OPTIONAL_TO_NULLABLE =
          new Function<Optional<?>, @Nullable Object>() {
            @Override
            public @Nullable Object apply(Optional<?> optional) {
              return optional.orNull();
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            assertNull(testLdapManager.appliedUser);
            assertTrue(testLdapManager.applyCalled);
        }
    
        public void test_load_modifiesUser() {
            // Test that load method modifies the user object through apply
            User user = createTestUser("testuser", "password123");
            testLdapManager.applyModifiesUser = true;
    
            User result = ldapChain.load(user);
    
            assertSame(user, result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Function.java

     * used as a {@code java.util.function.Function} directly. To use a {@code
     * java.util.function.Function} in a context where a {@code com.google.common.base.Function} is
     * needed, use {@code function::apply}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Function} (or the
     * appropriate primitive specialization such as {@code ToIntFunction}) instead whenever possible.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top