- Sort Score
- Num 10 results
- Language All
Results 2151 - 2160 of 2,445 for checks (0.05 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) { SortedSet<E> set = newTreeSet(); for (E element : elements) { // Explicit null check because TreeSet wrongly accepts add(null) when empty. set.add(checkNotNull(element)); } return set; } public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 15.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
}; try { hmacMd5(badKey); fail(); } catch (IllegalArgumentException expected) { } catch (NullPointerException toleratedOnAndroid) { // TODO(cpovirk): In an ideal world, we'd check here that we're running on Android. } } public void testEmptyInputs() throws Exception { String knownOutput = "8cbf764cbe2e4623d99a41354adfd390"; Mac mac = Mac.getInstance("HmacMD5");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
getMockRequest().setLocale(Locale.JAPANESE); helpUrl = systemHelper.getHelpUrl("https://example.com/{lang}/{version}/test.html"); // Check if Japanese is actually supported or just use the fallback assertTrue(helpUrl.contains("98.76")); getMockRequest().setLocale(Locale.ITALIAN);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(tree, times(1)).close(); // try-with-resources must close verify(handle, never()).markClosed(); verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2 } // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException @Test @DisplayName("watch() SMB1 without capability throws unsupported")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
allTasks.add(listener); allTasks.add(() -> currentFuture.get().addListener(listener, executor)); } assertEquals(allTasks.size() + 1, barrier.getParties()); // sanity check for (int i = 0; i < 1000; i++) { Collections.shuffle(allTasks); AbstractFuture<String> future = new AbstractFuture<String>() {}; AbstractFuture<String> setFuture = new AbstractFuture<String>() {};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 45.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
} }, "keyMatchHelper"); // Execute without setting session ID String result = crawlJob.execute(); assertNotNull(crawlJob.sessionId); // Check format: yyyyMMddHHmmss assertEquals(14, crawlJob.sessionId.length()); assertTrue(crawlJob.sessionId.matches("\\d{14}")); assertTrue(result.contains("Session Id: " + crawlJob.sessionId)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
this.receivedResponseAtMillis = receivedResponseAtMillis } internal fun initExchange(exchange: Exchange) { this.exchange = exchange } open fun build(): Response { check(code >= 0) { "code < 0: $code" } return Response( checkNotNull(request) { "request == null" }, checkNotNull(protocol) { "protocol == null" }, checkNotNull(message) { "message == null" },Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
tests/preload_test.go
Find(&result).Error if err != nil { t.Fatalf("failed to preload and find users: %v", err) } AssertEqual(t, result, users) AssertEqual(t, len(query), 2) // Check preload queries are merged if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) { t.Fatalf("Expected first query to preload manager tools, got: %s", query[0]) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:00:47 GMT 2024 - 15.9K bytes - Click Count (0) -
cmd/erasure.go
infos[i].Error = err.Error() } }() } wg.Wait() var scanningDisks, healingDisks []StorageAPI var scanningInfos, healingInfos []DiskInfo for i, info := range infos { // Check if one of the drives in the set is being healed. // this information is used by scanner to skip healing // this erasure set while it calculates the usage. if info.Error != "" || disks[i] == nil { continue }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
* filters out currently built artifacts, as events are fired for them as well, but their resolved artifact * file would point to checked out source-tree, not the local repository. * <p> * Visible for testing. */ static boolean isLocalRepositoryArtifactOrMissing(RepositorySystemSession session, Artifact artifact) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 29 08:17:07 GMT 2025 - 10.1K bytes - Click Count (0)