Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for field1s (0.31 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. 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)
  4. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import com.google.common.truth.IterableSubject;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Field;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.Method;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

      // final fields.
      //
      // For simplicity the rest of this description will discuss Futures.catching since it is the
      // simplest instance, though very similar descriptions apply to many other classes in this file.
      //
      // 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
    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)
  6. guava/src/com/google/common/cache/CacheBuilder.java

       * usually have much noticeable impact. A value of one permits only one thread to modify the cache
       * at a time, but since read operations and cache loading computations can proceed concurrently,
       * this still yields higher concurrency than full synchronization.
       *
       * <p>Defaults to 4. <b>Note:</b>The default may change in the future. If you care about this
       * value, you should always choose it explicitly.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

      /**
       * Divides an iterator into unmodifiable sublists of the given size (the final list may be
       * smaller). For example, partitioning an iterator containing {@code [a, b, c, d, e]} with a
       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterator containing two
       * inner lists of three and two elements, all in the original order.
       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

      /**
       * Divides an iterator into unmodifiable sublists of the given size (the final list may be
       * smaller). For example, partitioning an iterator containing {@code [a, b, c, d, e]} with a
       * partition size of 3 yields {@code [[a, b, c], [d, e]]} -- an outer iterator containing two
       * inner lists of three and two elements, all in the original order.
       *
       * <p>The returned lists implement {@link java.util.RandomAccess}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

    import com.google.common.truth.IterableSubject;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    import java.lang.reflect.Constructor;
    import java.lang.reflect.Field;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.Method;
    import java.lang.reflect.ParameterizedType;
    import java.lang.reflect.Type;
    import java.lang.reflect.TypeVariable;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top