Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for equivalent (0.09 sec)

  1. guava/src/com/google/common/cache/LocalCache.java

              if (e.getHash() == hash
                  && entryKey != null
                  && map.keyEquivalence.equivalent(key, entryKey)) {
                ValueReference<K, V> valueReference = e.getValueReference();
                V entryValue = valueReference.get();
    
                RemovalCause cause;
                if (map.valueEquivalence.equivalent(value, entryValue)) {
                  cause = RemovalCause.EXPLICIT;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} succeeds, the derived one will be equivalent to the one
       * returned by the function.
       *
       * <p>If this {@code ClosingFuture} fails, the function will not be called, and the derived {@code
       * ClosingFuture} will be equivalent to this one.
       *
       * <p>If the function throws an exception, that exception is used as the result of the derived
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    Within a parenthesized <code>const</code> declaration list the
    expression list may be omitted from any but the first ConstSpec.
    Such an empty list is equivalent to the textual substitution of the
    first preceding non-empty expression list and its type if any.
    Omitting the list of expressions is therefore equivalent to
    repeating the previous list.  The number of identifiers must be equal
    to the number of expressions in the previous list.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Maps.java

       * @param valueEquivalence the equivalence relationship to use to compare values
       * @return the difference between the two maps
       * @since 10.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
              Map<? extends K, ? extends V> left,
              Map<? extends K, ? extends V> right,
              Equivalence<? super @NonNull V> valueEquivalence) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

       * @param valueEquivalence the equivalence relationship to use to compare values
       * @return the difference between the two maps
       * @since 10.0
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          MapDifference<K, V> difference(
              Map<? extends K, ? extends V> left,
              Map<? extends K, ? extends V> right,
              Equivalence<? super @NonNull V> valueEquivalence) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

      if (!status->status.ok()) return nullptr;
    
      // Create a TF_Graph from the MetaGraphDef. This is safe as long as Session
      // extends using GraphDefs. The Graph instance is different, but equivalent
      // to the one used to create the session.
      //
      // TODO(jhseu): When Session is modified to take Graphs instead of
      // GraphDefs, return the Graph generated in LoadSavedModel().
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertFalse(map.expiresAfterAccess());
        assertFalse(map.refreshes());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
            new Equivalence<Object>() {
              @Override
              protected boolean doEquivalent(Object a, Object b) {
                return false;
              }
    
              @Override
              protected int doHash(Object t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertFalse(map.expiresAfterAccess());
        assertFalse(map.refreshes());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
            new Equivalence<Object>() {
              @Override
              protected boolean doEquivalent(Object a, Object b) {
                return false;
              }
    
              @Override
              protected int doHash(Object t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top