- Sort Score
- Num 10 results
- Language All
Results 521 - 530 of 931 for isInvalid (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
final int numAces = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; if (numAces > 4096) { throw new SMBProtocolDecodingException("Invalid SecurityDescriptor"); } this.aces = new ACE[numAces]; for (int i = 0; i < numAces; i++) { this.aces[i] = new ACE();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
internal/config/browser/browser.go
cfg.ReferrerPolicy = referrerPolicy default: return cfg, fmt.Errorf("invalid value %v for %s", referrerPolicy, browserReferrerPolicy) } return cfg, nil } // GetCSPolicy - Get the Content security Policy func (browseCfg *Config) GetCSPolicy() string { configLock.RLock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 21 00:58:58 GMT 2024 - 5.9K bytes - Click Count (0) -
internal/lock/lock_test.go
t.Fatal(err) } // Now file should be closed. isClosed = rlk.IsClosed() if !isClosed { t.Fatal("File ref count should be zero") } // Closing a file again should result in invalid argument. if err = rlk.Close(); err != os.ErrInvalid { t.Fatal(err) } _, err = newRLockedFile(nil) if err != os.ErrInvalid { t.Fatal("Unexpected error", err) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.7K 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) -
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) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
SmbException exception = assertThrows(SmbException.class, () -> new NetServerEnumIterator(parent, treeHandle, "*", 0, null)); assertTrue(exception.getMessage().contains("invalid")); verify(treeHandle, never()).acquire(); } @Test @DisplayName("Constructor should handle null parent") void testConstructor_NullParent_ThrowsNPE() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K 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/org/codelibs/fess/helper/AccessTokenHelperTest.java
assertNull(accessTokenHelper.getAccessTokenFromRequest(req)); } @Test public void test_getAccessTokenFromRequest_bad1() { final String token = "INVALID _TOKEN0"; MockletHttpServletRequest req = getMockRequest(); req.addHeader("Authorization", token); try { accessTokenHelper.getAccessTokenFromRequest(req); fail();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
// StructureSize (2 bytes) - must be 44 this.structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (this.structureSize != 44) { throw new SMBProtocolDecodingException("Invalid lease break structure size: " + this.structureSize); } bufferIndex += 2; // Reserved (2 bytes) bufferIndex += 2; // Flags (4 bytes)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
throw new IllegalArgumentException( "Invalid threads value: '" + threadConfiguration + "'. Value must be positive."); } return threads; } } catch (NumberFormatException e) { throw new IllegalArgumentException("Invalid threads value: '" + threadConfiguration
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0)