Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 487 for Before (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        long newValue = random.nextInt(MAX_ADDEND);
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.putIfAbsent(key, newValue);
          long after = map.get(key);
          assertEquals(before, result);
          assertEquals(before == 0 ? newValue : before, after);
    
          map.remove(key);
          before = map.get(key);
          result = map.putIfAbsent(key, newValue);
          after = map.get(key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        SATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        SATISFIED_AND_OCCUPIED_BEFORE_ENTERING,
        SATISFIED_UNOCCUPIED_AND_INTERRUPTED_BEFORE_ENTERING,
    
        SATISFIED_BEFORE_WAITING,
        SATISFIED_WHILE_WAITING,
        SATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
        UNSATISFIED_BEFORE_AND_WHILE_WAITING,
        UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING;
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 26.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        before.assertRun();
        inBetween.assertRun();
        after.assertRun();
      }
    
      public void testListenLaterSetAsynchronouslyLaterDelegateFailed() {
        CountingRunnable before = new CountingRunnable();
        CountingRunnable inBetween = new CountingRunnable();
        CountingRunnable after = new CountingRunnable();
    
        future.addListener(before, directExecutor());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          ImmutableSortedSet.Builder<String> builder = ImmutableSortedSet.orderedBy(comparator);
          builder.add(BEFORE_FIRST);
          builder.add(BEFORE_FIRST_2);
          builder.add(elements);
          builder.add(AFTER_LAST);
          builder.add(AFTER_LAST_2);
          return builder
              .build()
              .subSet(BEFORE_FIRST_2, AFTER_LAST_2)
              .asList()
              .subList(1, elements.length + 1);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        long newValue = random.nextInt(MAX_ADDEND);
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.putIfAbsent(key, newValue);
          long after = map.get(key);
          assertEquals(before, result);
          assertEquals(before == 0 ? newValue : before, after);
    
          map.remove(key);
          before = map.get(key);
          result = map.putIfAbsent(key, newValue);
          after = map.get(key);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        SATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
        SATISFIED_AND_OCCUPIED_BEFORE_ENTERING,
        SATISFIED_UNOCCUPIED_AND_INTERRUPTED_BEFORE_ENTERING,
    
        SATISFIED_BEFORE_WAITING,
        SATISFIED_WHILE_WAITING,
        SATISFIED_AND_INTERRUPTED_BEFORE_WAITING,
        UNSATISFIED_BEFORE_AND_WHILE_WAITING,
        UNSATISFIED_AND_INTERRUPTED_BEFORE_WAITING;
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 27.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        before.assertRun();
        inBetween.assertRun();
        after.assertRun();
      }
    
      public void testListenLaterSetAsynchronouslyLaterDelegateFailed() {
        CountingRunnable before = new CountingRunnable();
        CountingRunnable inBetween = new CountingRunnable();
        CountingRunnable after = new CountingRunnable();
    
        future.addListener(before, directExecutor());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. doc/go_mem.html

    which are unordered by happens before
    (that is, neither <i>r</i> happens before <i>w</i>
    nor <i>w</i> happens before <i>r</i>).
    </p>
    
    <p>
    A <i>write-write data race</i> on memory location <i>x</i>
    consists of two write-like memory operations <i>w</i> and <i>w'</i> on <i>x</i>,
    at least one of which is non-synchronizing,
    which are unordered by happens before.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * cancelled).
     *
     * <p>This class serializes execution of <i>submitted</i> tasks but not any <i>listeners</i> of
     * those tasks.
     *
     * <p>Submitted tasks have a happens-before order as defined in the Java Language Specification.
     * Tasks execute with the same happens-before order that the function calls to {@link #submit} and
     * {@link #submitAsync} that submitted those tasks had.
     *
    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)
  10. tests/hooks_test.go

    	}
    
    	p2.Code = "dont_save"
    	if DB.Save(&p2).Error == nil {
    		t.Fatalf("An error from before save callbacks happened when update with invalid value")
    	}
    
    	p3 := Product{Code: "dont_delete", Price: 100}
    	DB.Save(&p3)
    	if DB.Delete(&p3).Error == nil {
    		t.Fatalf("An error from before delete callbacks happened when delete")
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
Back to top