Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for synchronization (3.21 sec)

  1. guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * unsafely published. (The Entry object might even be newly created by each iterator.next()
         * call, so we can't assume that writes to the Entry have been safely published by some other
         * synchronization actions.)
         *
         * All that said: I haven't actually managed to make this particular test produce a TSAN error
         * for the field accesses in MapIteratorCache. This test *has* found other TSAN errors,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

         * unsafely published. (The Entry object might even be newly created by each iterator.next()
         * call, so we can't assume that writes to the Entry have been safely published by some other
         * synchronization actions.)
         *
         * All that said: I haven't actually managed to make this particular test produce a TSAN error
         * for the field accesses in MapIteratorCache. This test *has* found other TSAN errors,
    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)
  3. android/guava/src/com/google/common/escape/Escapers.java

            // Note: This code path is horribly slow and typically allocates 4 new
            // char[] each time it is invoked. However this avoids any
            // synchronization issues and makes the escaper thread safe.
            char[] surrogateChars = new char[2];
            Character.toChars(cp, surrogateChars, 0);
            char[] hiChars = escaper.escape(surrogateChars[0]);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

       * 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)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * one input completes with result X and another later with result Y, for Y to come before X in
       * the output future list. (Such races are impossible to solve without global synchronization of
       * all future completions. And they should have little practical impact.)
       *
       * <p>Cancelling a delegate future propagates to input futures once all the delegates complete,
    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. android/guava/src/com/google/common/cache/CacheBuilder.java

       * 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 May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          }
        }
    
        private static class RunnableExecutorPair {
          final Runnable runnable;
          final Executor executor;
          // Volatile because this is written on one thread and read on another with no synchronization.
          @Nullable volatile RunnableExecutorPair next;
    
          RunnableExecutorPair(@Nullable Runnable runnable, @Nullable Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
Back to top