Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for initialisation (0.17 sec)

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

        extends ForwardingMap<K, V> implements BiMap<K, V>, Serializable {
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      private transient Map<K, V> delegate;
    
      @SuppressWarnings("nullness:initialization.field.uninitialized") // For J2KT (lateinit)
      @RetainedWith
      transient AbstractBiMap<V, K> inverse;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        }
      }
    
      AggregateFutureState(int remainingFutures) {
        this.remaining = remainingFutures;
      }
    
      final Set<Throwable> getOrInitSeenExceptions() {
        /*
         * The initialization of seenExceptions has to be more complicated than we'd like. The simple
         * approach would be for each caller CAS it from null to a Set populated with its exception. But
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
      }
    
      public void testTransform_ErrorAfterCancellation() throws Exception {
        class Transformer implements Function<Object, Object> {
          @SuppressWarnings("nullness:initialization.field.uninitialized")
          ListenableFuture<Object> output;
    
          @Override
          public Object apply(Object input) {
            output.cancel(false);
            throw new MyError();
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          return "futures=" + localFutures;
        }
        return super.pendingToString();
      }
    
      /**
       * Must be called at the end of each subclass's constructor. This method performs the "real"
       * initialization; we can't put this in the constructor because, in the case where futures are
       * already complete, we would not initialize the subclass before calling {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * sake they are stored interleaved on alternate heap levels in the same array (MMPQ.queue).
       */
      @WeakOuter
      class Heap {
        final Ordering<E> ordering;
    
        @SuppressWarnings("nullness:initialization.field.uninitialized")
        @Weak
        Heap otherHeap; // always initialized immediately after construction
    
        Heap(Ordering<E> ordering) {
          this.ordering = ordering;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      static final Ticker NULL_TICKER =
          new Ticker() {
            @Override
            public long read() {
              return 0;
            }
          };
    
      // We use a holder class to delay initialization: https://github.com/google/guava/issues/6566
      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
    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. android/guava/src/com/google/common/hash/LongAddables.java

     */
    @ElementTypesAreNonnullByDefault
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 04 17:27:14 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LongAddables.java

    @ElementTypesAreNonnullByDefault
    final class LongAddables {
      private static final Supplier<LongAddable> SUPPLIER;
    
      static {
        Supplier<LongAddable> supplier;
        try {
          // trigger static initialization of the LongAdder class, which may fail
          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 04 17:27:14 GMT 2022
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Striped64.java

      /** Table of cells. When non-null, size is a power of 2. */
      @CheckForNull transient volatile Cell[] cells;
    
      /**
       * Base value, used mainly when there is no contention, but also as a fallback during table
       * initialization races. Updated via CAS.
       */
      transient volatile long base;
    
      /** Spinlock (locked via CAS) used when resizing and/or creating Cells. */
      transient volatile int busy;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      static final Ticker NULL_TICKER =
          new Ticker() {
            @Override
            public long read() {
              return 0;
            }
          };
    
      // We use a holder class to delay initialization: https://github.com/google/guava/issues/6566
      private static final class LoggerHolder {
        static final Logger logger = Logger.getLogger(CacheBuilder.class.getName());
      }
    
      static final int UNSET_INT = -1;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top