Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testBulkGetReturnsSorted (0.13 sec)

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

        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top