Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Fifield (0.15 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      public ImmutableSortedMap<K, V> descendingMap() {
        // TODO(kevinb): The descendingMap is never actually cached at all. Either:
        //
        // - Cache it, and annotate the field with @LazyInit.
        // - Simplify the code below, and consider eliminating the field (b/287198172), which is also
        //   set by one of the constructors.
        ImmutableSortedMap<K, V> result = descendingMap;
        if (result == null) {
          if (isEmpty()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        Waiter(boolean unused) {}
    
        Waiter() {
          // avoid volatile write, write is made visible by subsequent CAS on waiters field
          ATOMIC_HELPER.putThread(this, Thread.currentThread());
        }
    
        // non-volatile write to the next field. Should be made visible by subsequent CAS on waiters
        // field.
        void setNext(@CheckForNull Waiter next) {
          ATOMIC_HELPER.putNext(this, next);
        }
    
        void unpark() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.io.IOException;
    import java.io.StringReader;
    import java.lang.reflect.Field;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.Enumeration;
    import java.util.HashMap;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import java.io.IOException;
    import java.io.StringReader;
    import java.lang.reflect.Field;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.EnumMap;
    import java.util.Enumeration;
    import java.util.HashMap;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * purposes, the "count" field, tracking the number of elements, serves as that volatile
         * variable ensuring visibility. This is convenient because this field needs to be read in many
         * read operations anyway:
         *
         * - All (unsynchronized) read operations must first read the "count" field, and should not
         * look at table entries if it is 0.
         *
    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)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      //
      // In the constructor of AbstractCatchingFuture, the delegate future is assigned to a field
      // 'inputFuture'. That field is non-final and non-volatile. There are 2 places where the
      // 'inputFuture' field is read and where we will have to consider visibility of the write
      // operation in the constructor.
      //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top