Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 1,513 for kValues (0.14 sec)

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

            multimap.putAll("bar", asList(4, 5));
            multimap.putAll("foo", asList(6));
            return multimap.values().iterator();
          }
    
          @Override
          protected void verify(List<Integer> elements) {
            assertEquals(elements, Lists.newArrayList(multimap.values()));
          }
        }.test();
      }
    
      @GwtIncompatible // unreasonably slow
      public void testKeySetIteration() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        // when the values are the same, the first argument should be returned
        Integer a = new Integer(4);
        Integer b = new Integer(4);
        ints = Lists.newArrayList(a, b, b);
        assertSame(a, numberOrdering.max(ints));
        assertSame(a, numberOrdering.min(ints));
      }
    
      public void testVarargsMinAndMax() {
        // try the min and max values in all positions, since some values are proper
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

        // when the values are the same, the first argument should be returned
        Integer a = new Integer(4);
        Integer b = new Integer(4);
        ints = Lists.newArrayList(a, b, b);
        assertSame(a, numberOrdering.max(ints));
        assertSame(a, numberOrdering.min(ints));
      }
    
      public void testVarargsMinAndMax() {
        // try the min and max values in all positions, since some values are proper
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public NavigableMap<K, V> tailMap(K fromKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.tailMap(checkValid(fromKey), inclusive));
      }
    
      @Override
      public Collection<V> values() {
        return delegate.values();
      }
    
      @CanIgnoreReturnValue
      private <T> T checkValid(T t) {
        // a ClassCastException is what's supposed to happen!
        @SuppressWarnings("unchecked")
        K k = (K) t;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. cmd/streaming-v4-unsigned.go

    func newUnsignedV4ChunkedReader(req *http.Request, trailer bool) (io.ReadCloser, APIErrorCode) {
    	if trailer {
    		// Discard anything unsigned.
    		req.Trailer = make(http.Header)
    		trailers := req.Header.Values(awsTrailerHeader)
    		for _, key := range trailers {
    			req.Trailer.Add(key, "")
    		}
    	} else {
    		req.Trailer = nil
    	}
    	return &s3UnsignedChunkedReader{
    		trailers: req.Trailer,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. ci/official/utilities/setup.sh

    else
      FROM_ENV=$(mktemp)
      # "export -p" prints a list of environment values in a safe-to-source format,
      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
      source ./ci/official/envs/ci_default
    
      # TODO(angerson) write this documentation
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java

      K[] createKeyArray(int length);
    
      V[] createValueArray(int length);
    
      SampleElements<K> sampleKeys();
    
      SampleElements<V> sampleValues();
    
      Collection<V> createCollection(Iterable<? extends V> values);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java

      K[] createKeyArray(int length);
    
      V[] createValueArray(int length);
    
      SampleElements<K> sampleKeys();
    
      SampleElements<V> sampleValues();
    
      Collection<V> createCollection(Iterable<? extends V> values);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/AbstractCache.java

         * Cache#invalidate invalidations}.
         */
        void recordEviction();
    
        /**
         * Returns a snapshot of this counter's values. Note that this may be an inconsistent view, as
         * it may be interleaved with update operations.
         */
        CacheStats snapshot();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-models.md

        'full_name': None,
    }
    ```
    
    #### Unwrapping a `dict`
    
    If we take a `dict` like `user_dict` and pass it to a function (or class) with `**user_dict`, Python will "unwrap" it. It will pass the keys and values of the `user_dict` directly as key-value arguments.
    
    So, continuing with the `user_dict` from above, writing:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    would result in something equivalent to:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top