Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Regent (0.16 sec)

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

        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    
        // cleared
        segment.setTableEntryForTesting(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        oldValueRef.clear();
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. guava/pom.xml

              <offlineLinks>
                <!-- We need local copies of some of these for 2 reasons: a User-Agent problem (https://stackoverflow.com/a/47891403/28465) and an SSL problem (https://issues.apache.org/jira/browse/MJAVADOC-507). If we choose to work around the User-Agent problem, we can go back to <links>, sidestepping the SSL problem. -->
    XML
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 11 16:37:45 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
       * method cannot be found (it is only to be found in fairly recent JDKs).
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Method getGetMethod() {
        return getJlaMethod("getStackTraceElement", Throwable.class, int.class);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

           */
          return null;
        }
      }
    
      /**
       * Returns the Method that can be used to resolve an individual StackTraceElement, or null if that
       * method cannot be found (it is only to be found in fairly recent JDKs).
       */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static Method getGetMethod() {
        return getJlaMethod("getStackTraceElement", Throwable.class, int.class);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Preconditions.java

        if (reference == null) {
          throw new NullPointerException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    
        // same key
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.remove(key, hash));
        assertEquals(0, segment.count);
    
        // same key
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertSame(oldValue, segment.remove(key, hash));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

          for (Segment<K, V> segment : segments) {
            if (segment.count != 0) {
              return false;
            }
            sum -= segment.modCount;
          }
          return sum == 0L;
        }
        return true;
      }
    
      long longSize() {
        Segment<K, V>[] segments = this.segments;
        long sum = 0;
        for (Segment<K, V> segment : segments) {
          sum += segment.count;
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        E newEntry(S segment, K key, int hash, @CheckForNull E next);
    
        /**
         * Returns a freshly created entry, typed at the {@code E} type, for the given {@code segment},
         * that is a copy of the given {@code entry}.
         */
        E copy(S segment, E entry, @CheckForNull E newNext);
    
        /**
         * Sets the value of the given {@code entry} in the given {@code segment} to be the given {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top