Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Mask (0.25 sec)

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

        private final int mask;
    
        SubSet(ImmutableMap<E, Integer> inputSet, int mask) {
          this.inputSet = inputSet;
          this.mask = mask;
        }
    
        @Override
        public Iterator<E> iterator() {
          return new UnmodifiableIterator<E>() {
            final ImmutableList<E> elements = inputSet.keySet().asList();
            int remainingSetBits = mask;
    
            @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       * <p>This must be a (2^n)-1 as it is used as a mask.
       */
      static final int DRAIN_THRESHOLD = 0x3F;
    
      /**
       * Maximum number of entries to be drained in a single cleanup run. This applies independently to
       * the cleanup queue and both reference queues.
       */
      // TODO(fry): empirically optimize this
      static final int DRAIN_MAX = 16;
    
      // Fields
    
      /**
    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)
  3. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        @CheckForNull // null only for TOMBSTONE
        final Runnable task;
        @CheckForNull // null only for TOMBSTONE
        final Executor executor;
    
        // writes to next are made visible by subsequent CAS's on the listeners field
        @CheckForNull Listener next;
    
        Listener(Runnable task, Executor executor) {
          this.task = task;
          this.executor = executor;
        }
    
        Listener() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submit(
          Callable<O> callable, Executor executor) {
        TrustedListenableFutureTask<O> task = TrustedListenableFutureTask.create(callable);
        executor.execute(task);
        return task;
      }
    
      /**
    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