Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for addKey (0.09 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        private final Adder adder;
    
        FailsToForwardReturnValue(Adder adder) {
          this.adder = adder;
        }
    
        @Override
        public int add(int a, int b) {
          return adder.add(a, b) + 1;
        }
    
        @Override
        public String toString() {
          return adder.toString();
        }
      }
    
      private static class FailsToPropagateException implements Adder {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/schema-extra-example.md

    ///
    
    Before OpenAPI 3.1.0, OpenAPI used an older and modified version of **JSON Schema**.
    
    JSON Schema didn't have `examples`, so OpenAPI added its own `example` field to its own modified version.
    
    OpenAPI also added `example` and `examples` fields to other parts of the specification:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Queues.java

        int added = 0;
        boolean interrupted = false;
        try {
          while (added < numElements) {
            // we could rely solely on #poll, but #drainTo might be more efficient when there are
            // multiple elements already available (e.g. LinkedBlockingQueue#drainTo locks only once)
            added += q.drainTo(buffer, numElements - added);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

        int added = 0;
        boolean interrupted = false;
        try {
          while (added < numElements) {
            // we could rely solely on #poll, but #drainTo might be more efficient when there are
            // multiple elements already available (e.g. LinkedBlockingQueue#drainTo locks only once)
            added += q.drainTo(buffer, numElements - added);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	Metrics bool   `msg:"m"`
    	NoOp    bool   `msg:"np"`
    }
    
    // DiskInfo is an extended type which returns current
    // disk usage per path.
    // The above means that any added/deleted fields are incompatible.
    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableBiMap.java

       */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        return RegularImmutableBiMap.fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of entries to be added.
       *
       * <p>If {@code expectedSize} is exactly the number of entries added to the builder before {@link
       * Builder#build} is called, the builder is likely to perform better than an unsized {@link
       * #builder()} would have.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/LinkedHashMultimap.java

     * multimap.
     *
     * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through
     * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code
     * removeAll}, and {@code replaceValues} return collections that iterate through the values in the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TopKSelector.java

     * equivalent elements are added to it, it is undefined which will come first in the output.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class TopKSelector<
        T extends @Nullable Object> {
    
      /**
       * Returns a {@code TopKSelector} that collects the lowest {@code k} elements added to it,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Network.java

       *   <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()}
       *       expression involving {@code view} will throw)
       *   <li>{@code hashCode()} does not throw
       *   <li>if {@code node} is re-added to the network after having been removed, {@code view}'s
       *       behavior is undefined
       * </ul>
       *
       * @throws IllegalArgumentException if {@code node} is not an element of this network
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top