- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,647 for Invalid (0.2 seconds)
-
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// After ensureOpen with valid fh when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(pipe.openUnshared(eq("\\\\pipe\\\\w"), eq(0), anyInt(), anyInt(), eq(SmbConstants.ATTR_NORMAL), eq(0))).thenReturn(fh); when(fh.acquire()).thenReturn(fh); when(fh.isValid()).thenReturn(true, false); // first true, then falseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
return contributorLines .map { it.trim() } .filter { it.isNotEmpty() } .onEach { check(contributorLineRegex.containsMatchIn(it)) { "Invalid contributor line: $it" } } .map { GitHubUser(contributorLineRegex.find(it)!!.groupValues[2], contributorLineRegex.find(it)!!.groupValues[1]) } .toSet() } /**Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
for (Element element : document.select("a[href]")) { String href = element.attr("href"); HttpUrl link = response.request().url().resolve(href); if (link == null) continue; // URL is either invalid or its scheme isn't http/https. HttpUrl linkWithoutFragment = link.newBuilder().fragment(null).build(); if (!queue.offer(linkWithoutFragment)) break; // Queue is full. } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jul 23 00:58:06 GMT 2025 - 5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 2); when(mockDeferredNdrBuffer.dec_ndr_long()).thenReturn(-1, 0, 5); // Invalid _name_buffers assertThrows(NdrException.class, () -> domainInfo.decode(mockNdrBuffer)); } // Test for LsarDnsDomainInfo @Test void testLsarDnsDomainInfoEncode() throws NdrException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 60.8K bytes - Click Count (0) -
src/bufio/scan_test.go
if token != text { t.Errorf("scan got incorrect token of length %d", len(token)) } } if s.Err() != nil { t.Fatal("after scan:", s.Err()) } } // negativeEOFReader returns an invalid -1 at the end, as though it // were wrapping the read system call. type negativeEOFReader int func (r *negativeEOFReader) Read(p []byte) (int, error) { if *r > 0 { c := int(*r) if c > len(p) {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/HostAndPortTest.java
} public void testFromStringBadPort() { // Out-of-range ports. checkFromStringCase("google.com:65536", 1, null, 99, false); checkFromStringCase("google.com:9999999999", 1, null, 99, false); // Invalid port parts. checkFromStringCase("google.com:port", 1, null, 99, false); checkFromStringCase("google.com:-25", 1, null, 99, false); checkFromStringCase("google.com:+25", 1, null, 99, false);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10K bytes - Click Count (0) -
cmd/signature-v2_test.go
testCases := []struct { queryParams map[string]string expected APIErrorCode }{ // (0) Should error without a set URL query. { expected: ErrInvalidQueryParams, }, // (1) Should error on an invalid access key. { queryParams: map[string]string{ "Expires": "60", "Signature": "badsignature", "AWSAccessKeyId": "Z7IXGOO6BZ0REAN1Q26I", }, expected: ErrInvalidAccessKeyID, },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
// Zeroed upon release for (byte value : fromCache) { assertEquals(0, value); } } // Invalid inputs: negative sizes for constructor arguments @Nested class InvalidConstruction { @Test @DisplayName("Negative maxBuffers throws immediately in constructor")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
assertFalse(exception.aborted()); } @Test public void test_constructorWithThrowableCause_AssertionError() { // Test with AssertionError String url = "http://example.com/invalid-state"; String message = "Assertion failed during data store access"; AssertionError error = new AssertionError("Data integrity check failed");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
internal/grid/debug.go
return server } func dummyRequestValidate(r *http.Request) error { return nil } func dummyTokenValidate(token string) error { if token == "debug" { return nil } return fmt.Errorf("invalid token. want empty, got %s", token) } func dummyNewToken() string { return "debug"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.4K bytes - Click Count (0)