Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 126 for Cleaned (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // different value
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        oldValueRef.clear();
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // different value
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        oldValueRef.clear();
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
         * <p>When {@link #executor} is a directExecutor(), the value written to
         * {@code workerRunningState} will be available synchronously, and behaviour will be
         * deterministic.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

            new TearDown() {
    
              @Override
              public void tearDown() throws Exception {
                synchronized (result.lock) {
                  assertEquals(
                      "The test should have cleared the stack (say, by virtue of running runTearDown)",
                      0,
                      result.stack.size());
                }
              }
            });
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *   <li>If this field's value == null because it originally belonged to another thread and that
         *       thread cleared it, we still know that it's not associated with our thread
         *   <li>If this field's value == null because it was associated with our thread and was
         *       cleared, we know that we're not executing inline any more
         * </ul>
         *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/EndpointPairIterator.java

        }
    
        @Override
        @CheckForNull
        protected EndpointPair<N> computeNext() {
          while (true) {
            /*
             * requireNonNull is safe because visitedNodes isn't cleared until this method calls
             * endOfData() (after which this method is never called again).
             */
            requireNonNull(visitedNodes);
            while (successorIterator.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80,
      // masking the remaining seven bytes.
      // To test this, we give an input where bit 7 is not cleared. For example:
      // (1) 00 01 02 03 04 05 06 07 80
      // (2) 00 01 02 03 04 05 06 07 81
      // (3) 00 01 02 03 04 05 06 07 ff (or anything in between)
      // A fault implementation will generate collisions for these inputs.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      // If data[i] == (byte) 0x80, the first cast will sign-extend it to 0xffffffffffffff80,
      // masking the remaining seven bytes.
      // To test this, we give an input where bit 7 is not cleared. For example:
      // (1) 00 01 02 03 04 05 06 07 80
      // (2) 00 01 02 03 04 05 06 07 81
      // (3) 00 01 02 03 04 05 06 07 ff (or anything in between)
      // A fault implementation will generate collisions for these inputs.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

            new TearDown() {
    
              @Override
              public void tearDown() throws Exception {
                synchronized (result.lock) {
                  assertEquals(
                      "The test should have cleared the stack (say, by virtue of running runTearDown)",
                      0,
                      result.stack.size());
                }
              }
            });
        return result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 21 10:19:29 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top