- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Correct (0.03 sec)
-
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
// We must switch the old buffer to read mode to extract data Java8Compatibility.flip(buffer); newBuffer.put(buffer); // Swap references, newBuffer is already in write mode at the correct position this.buffer = newBuffer; } @Override public Hasher putByte(byte b) { ensureCapacity(Byte.BYTES); buffer.put(b); return this; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 04 15:39:10 UTC 2025 - 4.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java
} public void test_temp_file_creation() { // Test that temp file uses correct prefix "S3Client" not "StorageClient" S3Client client = new S3Client() { @Override protected java.io.File createTempFile(String prefix, String suffix, java.io.File directory) { // Verify the prefix is correct assertEquals("crawler-S3Client-", prefix);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/gcs/GcsClientTest.java
} public void test_temp_file_creation() { // Test that temp file uses correct prefix "GcsClient" not "StorageClient" GcsClient client = new GcsClient() { @Override protected java.io.File createTempFile(String prefix, String suffix, java.io.File directory) { // Verify the prefix is correctRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 19.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
Comparator<byte[]> comparator2 = UnsignedBytes.lexicographicalComparatorJavaImpl(); /* * These arrays are set up to test that the comparator compares bytes within a word in the * correct order—in order words, that it doesn't mix up big-endian and little-endian. The first * array has a smaller element at one index, and then the second array has a smaller element at * the next. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 13.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
sum += value.get(); } return Ints.saturatedCast(sum); } /* * We override the toArray methods for two reasons: * * 1. Both superclass toArray methods assume that size() gives a correct answer, while our size() * might not (and the answer might change while we're building the array). * * TODO: cpovirk - Is this an issue anywhere anymore? It looks to have been fixed for Java 8
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 22.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Future<?> possiblyIgnoredError = executor.submit(task); } awaitUnchecked(barrier); assertThat(future.isDone()).isTrue(); // inspect state and ensure it is correct! // asserts that all get calling threads received the same value Object result = Iterables.getOnlyElement(finalResults); if (result == CancellationException.class) { assertTrue(future.isCancelled());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
Future<?> possiblyIgnoredError = executor.submit(task); } awaitUnchecked(barrier); assertThat(future.isDone()).isTrue(); // inspect state and ensure it is correct! // asserts that all get calling threads received the same value Object result = Iterables.getOnlyElement(finalResults); if (result == CancellationException.class) { assertTrue(future.isCancelled());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
.of(expectedLargeDatasetPercentile(index)); } } @AndroidIncompatible // slow public void testPercentiles_index_computeInPlace() { // Assert that the computation gives the correct result for all possible percentiles. for (int index = 0; index <= 100; index++) { double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); assertWithMessage("quantile at index %s", index)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
.of(expectedLargeDatasetPercentile(index)); } } @AndroidIncompatible // slow public void testPercentiles_index_computeInPlace() { // Assert that the computation gives the correct result for all possible percentiles. for (int index = 0; index <= 100; index++) { double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); assertWithMessage("quantile at index %s", index)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 29.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
logger.warn("Failed to get object: bucket={}, path={}", bucketName, path, e); } return null; } /** * Preprocesses a URI to ensure it has the correct GCS protocol prefix. * @param uri the URI to preprocess * @return the preprocessed URI with gcs:// prefix * @throws CrawlerSystemException if the URI is empty */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 17.5K bytes - Viewed (0)