Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for read (0.12 sec)

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

       *
       * <p>The multimap is not threadsafe when any concurrent operations update the multimap, even if
       * {@code map} and the instances generated by {@code factory} are. Concurrent read operations will
       * work correctly. To allow concurrent update operations, wrap the multimap with a call to {@link
       * #synchronizedMultimap}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Tables.java

        }
      }
    
      /**
       * Returns an unmodifiable view of the specified table. This method allows modules to provide
       * users with "read-only" access to internal tables. Query operations on the returned table "read
       * through" to the specified table, and attempts to modify the returned table, whether direct or
       * via its collection views, result in an {@code UnsupportedOperationException}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *
         * <ul>
         *   <li>If this field's value == currentThread, we know that it's up to date, because write
         *       operations in a thread always happen-before subsequent read operations in the same
         *       thread
         *   <li>If this field's value == null because of unsafe publication, we know that it isn't the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheTesting.java

              assertTrue(entries.add(current));
              if (prev != null) {
                assertSame(prev, current.getPreviousInAccessQueue());
                assertSame(prev.getNextInAccessQueue(), current);
                // read accesses may be slightly misordered
                assertTrue(
                    prev.getAccessTime() <= current.getAccessTime()
                        || prev.getAccessTime() - current.getAccessTime() < 1000);
              }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testElementSetClear() {
        getMultiset().elementSet().clear();
        assertEmpty(getMultiset());
      }
    
      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

      }
    
      private static final class InCompletionOrderState<T extends @Nullable Object> {
        // A happens-before edge between the writes of these fields and their reads exists, because
        // in order to read these fields, the corresponding write to incompleteOutputCount must have
        // been read.
        private boolean wasCancelled = false;
        private boolean shouldInterrupt = true;
        private final AtomicInteger incompleteOutputCount;
    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)
  7. android/guava/src/com/google/common/hash/LittleEndianByteArray.java

       * it slower than the native version.
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start reading
       * @param length the number of bytes from the input to read
       * @return a long of a concatenated 8 bytes
       */
      static long load64Safely(byte[] input, int offset, int length) {
        long result = 0;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Bytes.java

       * set a value to {@code null} will result in a {@link NullPointerException}.
       *
       * <p>The returned list maintains the values, but not the identities, of {@code Byte} objects
       * written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for
       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
       * @param backingArray the array to back the list
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * real problem: The Entry objects are ImmutableMap entries, whose fields are all final and thus
         * safe to read even when the Entry object is unsafely published. But with a mutable graph, the
         * Entry object is likely to have a non-final value field, which is not safe to read when
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * real problem: The Entry objects are ImmutableMap entries, whose fields are all final and thus
         * safe to read even when the Entry object is unsafely published. But with a mutable graph, the
         * Entry object is likely to have a non-final value field, which is not safe to read when
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 32.7K bytes
    - Viewed (0)
Back to top