Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for commands (0.17 sec)

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

        links = null;
        return result;
      }
    
      /*
       * For discussion of the safety of the following methods for operating on predecessors and
       * successors, see the comments near the end of CompactHashMap, noting that the methods here call
       * link(), which is defined at the end of this file.
       */
    
      private int getPredecessor(int entry) {
        return ((int) (link(entry) >>> 32)) - 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

        checkSerialization(Predicates.equalTo(null));
      }
    
      /**
       * Tests for Predicates.instanceOf(x). TODO: Fix the comment style after fixing annotation
       * stripper to remove comments properly. Currently, all tests before the comments are removed as
       * well.
       */
      @GwtIncompatible // Predicates.instanceOf
      public void testIsInstanceOf_apply() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         *     might be the keys' natural order)
         * @since 31.0
         */
        @Override
        @SuppressWarnings("unchecked") // see inline comments
        public ImmutableSortedMap<K, V> buildOrThrow() {
          switch (size) {
            case 0:
              return emptyMap(comparator);
            case 1:
              // We're careful to put only K and V instances in.
    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)
  4. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

        @GuardedBy("lock")
        private int runningTasks = 0;
    
        @GuardedBy("lock")
        private boolean shutdown = false;
    
        @Override
        public void execute(Runnable command) {
          startTask();
          try {
            command.run();
          } finally {
            endTask();
          }
        }
    
        @Override
        public boolean isShutdown() {
          synchronized (lock) {
            return shutdown;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        Executor delegate;
        boolean wasExecuted;
    
        public ExecutorSpy(Executor delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public void execute(Runnable command) {
          delegate.execute(command);
          wasExecuted = true;
        }
      }
    
      public void testTransform_Executor() throws Exception {
        Object value = new Object();
        ExecutorSpy spy = new ExecutorSpy(directExecutor());
    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)
  6. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * for this with respect to reads.
         *
         * As a guide, all critical volatile reads and writes to the count field are marked in code
         * comments.
         */
    
        @Weak final MapMakerInternalMap<K, V, E, S> map;
    
        /**
         * The number of live elements in this segment's region. This does not include unset elements
    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)
  7. android/guava/src/com/google/common/io/BaseEncoding.java

     * x}, but the reverse does not necessarily hold.
     *
     * <table>
     * <caption>Encodings</caption>
     * <tr>
     * <th>Encoding
     * <th>Alphabet
     * <th>{@code char:byte} ratio
     * <th>Default padding
     * <th>Comments
     * <tr>
     * <td>{@link #base16()}
     * <td>0-9 A-F
     * <td>2.00
     * <td>N/A
     * <td>Traditional hexadecimal. Defaults to upper case.
     * <tr>
     * <td>{@link #base32()}
     * <td>A-Z 2-7
     * <td>1.60
     * <td>=
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        Executor delegate;
        boolean wasExecuted;
    
        public ExecutorSpy(Executor delegate) {
          this.delegate = delegate;
        }
    
        @Override
        public void execute(Runnable command) {
          delegate.execute(command);
          wasExecuted = true;
        }
      }
    
      public void testTransform_Executor() throws Exception {
        Object value = new Object();
        ExecutorSpy spy = new ExecutorSpy(directExecutor());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

         * respect to reads.
         *
         * As a guide, all critical volatile reads and writes to the count field are marked in code
         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int 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. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

            return new Thread(r);
          }
        }
    
        public static final class DummyExecutor implements Executor, Serializable {
          @Override
          public void execute(Runnable command) {}
        }
      }
    
      private static final class NullByteSink extends ByteSink implements Serializable {
        private static final NullByteSink INSTANCE = new NullByteSink();
    
        @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top