Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for hearts (0.22 sec)

  1. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            }
          };
    
      /**
       * A Throwable used to record a stack trace that illustrates an example of a specific lock
       * acquisition ordering. The top of the stack trace is truncated such that it starts with the
       * acquisition of the lock in question, e.g.
       *
       * <pre>
       * com...ExampleStackTrace: LockB -&gt; LockC
       *   at com...CycleDetectingReentrantLock.lock(CycleDetectingLockFactory.java:443)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

            totalCount = laterCount = currentEntry.getCount();
          }
          laterCount--;
          canRemove = true;
          /*
           * requireNonNull is safe because laterCount starts at 0, forcing us to initialize
           * currentEntry above. After that, we never clear it.
           */
          return requireNonNull(currentEntry).getElement();
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Stopwatch.java

        return new Stopwatch(ticker);
      }
    
      /**
       * Creates (and starts) a new stopwatch using {@link System#nanoTime} as its time source.
       *
       * @since 15.0
       */
      public static Stopwatch createStarted() {
        return new Stopwatch().start();
      }
    
      /**
       * Creates (and starts) a new stopwatch, using the specified time source.
       *
       * @since 15.0
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Service.java

       * service changes state. The listener will not have previous state changes replayed, so it is
       * suggested that listeners are added before the service starts.
       *
       * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not
       * across calls to multiple listeners. Specifically, a given listener will have its callbacks
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Strings.java

            || validSurrogatePairAt(b, b.length() - s - 1)) {
          s--;
        }
        return a.subSequence(a.length() - s, a.length()).toString();
      }
    
      /**
       * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}.
       * Out-of-range indexes return false.
       */
      @VisibleForTesting
      static boolean validSurrogatePairAt(CharSequence string, int index) {
        return index >= 0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashFunction.java

     *       code, or even to discover <i>any</i> two distinct inputs that yield the same result. These
     *       are called <i>cryptographic hash functions</i>. But, whenever it is learned that either of
     *       these feats has become computationally feasible, the function is deemed "broken" and should
     *       no longer be used for secure purposes. (This is the likely eventual fate of <i>all</i>
     *       cryptographic hashes.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 25 18:22:59 GMT 2021
    - 10.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(refreshKey + suffix, map.get(refreshKey));
      }
    
      public void testInvalidateDuringLoading() throws InterruptedException, ExecutionException {
        // computation starts; invalidate() is called on the key being computed, computation finishes
        final CountDownLatch computationStarted = new CountDownLatch(2);
        final CountDownLatch letGetFinishSignal = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/JoinerTest.java

            }
          };
    
      private static void checkResult(Joiner joiner, Iterable<Integer> parts, String expected) {
        assertEquals(expected, joiner.join(parts));
        assertEquals(expected, joiner.join(parts.iterator()));
    
        StringBuilder sb1FromIterable = new StringBuilder().append('x');
        joiner.appendTo(sb1FromIterable, parts);
        assertEquals("x" + expected, sb1FromIterable.toString());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/InetAddressesTest.java

                "+1.+2.+3.4",
                "1.2.3.4e0",
                "6:5:4:3:2:1:0", // too few parts
                "::7:6:5:4:3:2:1:0", // too many parts
                "7:6:5:4:3:2:1:0::", // too many parts
                "9:8:7:6:5:4:3::2:1", // too many parts
                "0:1:2:3::4:5:6:7", // :: must remove at least one 0.
                "3ffe:0:0:0:0:0:0:0:1", // too many parts (9 instead of 8)
                "3ffe::10000", // hextet exceeds 16 bits
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

              sb.append(DELIMITER_STRING);
            }
            sb.append(comp);
            append = true;
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
       * Starts with an empty delimiter and changes to the desired value at the end of the iteration.
       */
      @Benchmark
      int assignDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
Back to top