- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for rebeat (0.16 sec)
-
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
assertEquals(8473225671271759044L, fingerprint("test".getBytes(UTF_8))); // 32 characters long assertEquals(7345148637025587076L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8))); // 256 characters long assertEquals(4904844928629814570L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8))); } public void testStringsConsistency() { for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Dec 29 14:55:25 GMT 2021 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/InternetDomainNameTest.java
/** A domain part which is valid under lenient validation, but invalid under strict validation. */ static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62); private static final String ALMOST_TOO_MANY_LEVELS = Strings.repeat("a.", 127); private static final String ALMOST_TOO_LONG = Strings.repeat("aaaaa.", 40) + "1234567890.c"; private static final ImmutableSet<String> VALID_NAME = ImmutableSet.of( "foo.com",
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 13:16:00 GMT 2024 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java
@JsOptional @Nullable IThenOnFulfilledCallbackFn<? super V, ? extends R> onFulfilled, @JsOptional @Nullable IThenOnRejectedCallbackFn<? extends R> onRejected) { return new Promise<V>( (resolve, reject) -> { Futures.addCallback( this, new FutureCallback<V>() { @Override public void onSuccess(V value) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Oct 24 18:27:19 GMT 2023 - 3.9K bytes - Viewed (1) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
@Test public void testMng7714() { ComparableVersion f = new ComparableVersion("1.0.final-redhat"); ComparableVersion sp1 = new ComparableVersion("1.0-sp1-redhat"); ComparableVersion sp2 = new ComparableVersion("1.0-sp-1-redhat"); ComparableVersion sp3 = new ComparableVersion("1.0-sp.1-redhat"); assertTrue(f.compareTo(sp1) < 0, "expected " + f + " < " + sp1);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Jan 09 06:39:47 GMT 2024 - 14K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
elementsPlus.add(AFTER_LAST); elementsPlus.add(AFTER_LAST_2); return Ordering.explicit(Lists.newArrayList(elementsPlus)); } /* * All the ContiguousSet generators below manually reject nulls here. In principle, we'd like to * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However, * that gets messy here, and we already have null tests for Range. */ /*
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 15.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
Files.getLastModifiedTime(outputFile).toMillis(); if (outputFileLastModified > artifactLastModified) { LOGGER.warn( "File '{}' is more recent than the packaged artifact for '{}', " + "please run a full `mvn package` build", relativizeOutputFile(outputFile),
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
* @since 21.0 */ public static float constrainToRange(float value, float min, float max) { // avoid auto-boxing by not using Preconditions.checkArgument(); see Guava issue 3984 // Reject NaN by testing for the good case (min <= max) instead of the bad (min > max). if (min <= max) { return Math.min(Math.max(value, min), max); } throw new IllegalArgumentException(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* cause a concurrent read operation to see inconsistent data. This is made easier by the * nature of the read operations in Map. For example, no operation can reveal that the table * has grown but the threshold has not yet been updated, so there are no atomicity requirements * for this with respect to reads. *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 91.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* its comparator (which might be the element that was just added). This is different from * conventional bounded queues, which either block or reject new elements when full. * * <p>This implementation is based on the <a * href="http://portal.acm.org/citation.cfm?id=6621">min-max heap</a> developed by Atkinson, et al.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0)