Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 558 for Apply (0.01 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
        CharAtFunction(int index) {
          this.index = index;
        }
    
        @Override
        public Character apply(String string) {
          return string.charAt(index);
        }
      }
    
      private static Ordering<String> byCharAt(int index) {
        return Ordering.<Character>natural().onResultOf(CharAtFunction.values()[index]);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        AT2(2),
        AT3(3),
        AT4(4),
        AT5(5),
        ;
    
        final int index;
    
        CharAtFunction(int index) {
          this.index = index;
        }
    
        @Override
        public Character apply(String string) {
          return string.charAt(index);
        }
      }
    
      private static Ordering<String> byCharAt(int index) {
        return Ordering.<Character>natural().onResultOf(CharAtFunction.values()[index]);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

        /**
         * Template method that handles common logging and error handling.
         * Subclasses implement the actual upgrade logic in doApply().
         */
        @Override
        public final UpgradeResult apply(UpgradeContext context, Map<Path, Document> pomMap) {
            context.info(getDescription());
            context.indent();
    
            try {
                UpgradeResult result = doApply(context, pomMap);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      public void testPutAllNullValueSingle_unsupported() {
        multimap().putAll(k1(), newArrayList((V) null));
        expectUnchanged();
      }
    
      // In principle, it would be nice to apply these two tests to keys with existing values, too.
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullLast_unsupported() {
        int size = getNumElements();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/body-updates.md

    Like `stored_item_model.model_copy(update=update_data)`:
    
    {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}
    
    ### Partial updates recap { #partial-updates-recap }
    
    In summary, to apply partial updates you would:
    
    * (Optionally) use `PATCH` instead of `PUT`.
    * Retrieve the stored data.
    * Put that data in a Pydantic model.
    * Generate a `dict` without default values from the input model (using `exclude_unset`).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                NavigableSet.class,
                new Function<NavigableSet, NavigableSet>() {
                  @Override
                  public NavigableSet apply(NavigableSet delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        NavigableSet<String> set1 = ImmutableSortedSet.of("one");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
                  public String apply(String value) {
                    return value.replaceAll("[\\r\\n]", "");
                  }
                });
    
        for (int chunk : CHUNK_SIZES) {
          chunk = max(1, min(chunk, input.length()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
            T caught = (T) t;
            return caught;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/LineBufferTest.java

        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
                  public String apply(String value) {
                    return value.replaceAll("[\\r\\n]", "");
                  }
                });
    
        for (int chunk : CHUNK_SIZES) {
          chunk = max(1, min(chunk, input.length()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

        // implementation.
        int from = 0;
        int to = 0;
    
        for (; from < list.size(); from++) {
          T element = list.get(from);
          if (!predicate.apply(element)) {
            if (from > to) {
              try {
                list.set(to, element);
              } catch (UnsupportedOperationException e) {
                slowRemoveIfForRemainingElements(list, predicate, to, from);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 18:35:28 UTC 2025
    - 43.8K bytes
    - Viewed (0)
Back to top