- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,086 for isValid (1.3 sec)
-
internal/hash/checksum_test.go
} for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { // Skip invalid cases where SHA1 or SHA256 is used with full object if (tt.checksum.Is(ChecksumSHA1) || tt.checksum.Is(ChecksumSHA256)) && tt.fullobj { // Validate that NewChecksumType correctly marks these as invalid alg := tt.checksum.String() typ := NewChecksumType(alg, xhttp.AmzChecksumTypeFullObject)Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 7.1K bytes - Viewed (0) -
internal/grid/msg_string.go
// Code generated by "stringer -type=Op -output=msg_string.go -trimprefix=Op msg.go"; DO NOT EDIT. package grid import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[OpConnect-1] _ = x[OpConnectResponse-2] _ = x[OpPing-3] _ = x[OpPong-4] _ = x[OpConnectMux-5] _ = x[OpMuxConnectError-6]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
} @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 15, 17, 32, 64, 65535 }) void testReadBytesWireFormatInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256]; int offset = 0; // Write invalid structure size SMBUtil.writeInt2(structureSize, buffer, offset);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
internal/event/target/postgresql.go
// Some fields need to be specified when ConnectionString is unspecified if p.Port == "" { return fmt.Errorf("unspecified port") } if _, err := strconv.Atoi(p.Port); err != nil { return fmt.Errorf("invalid port") } if p.Database == "" { return fmt.Errorf("database unspecified") } } if p.QueueDir != "" { if !filepath.IsAbs(p.QueueDir) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 13.3K bytes - Viewed (0) -
clause/set_test.go
}) if len(assignments) != 2 || assignments[0].Column.Name != "name" || assignments[0].Value.(string) != "jinzhu" || assignments[1].Column.Name != "age" || assignments[1].Value.(int) != 18 { t.Errorf("invalid assignments, got %v", assignments) }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 11:18:54 UTC 2025 - 1.5K bytes - Viewed (0) -
cmd/metrics-v3-api.go
apiRejectedHeaderTotalMD = NewCounterMD(apiRejectedHeaderTotal, "Total number of requests rejected for invalid header", "type") apiRejectedTimestampTotalMD = NewCounterMD(apiRejectedTimestampTotal, "Total number of requests rejected for invalid timestamp", "type") apiRejectedInvalidTotalMD = NewCounterMD(apiRejectedInvalidTotal, "Total number of invalid requests", "type") apiRequestsWaitingTotalMD = NewGaugeMD(apiRequestsWaitingTotal,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Sep 24 17:13:00 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
t.Fatal(err) } for _, v := range xl.versions { // Signature should match if binary.BigEndian.Uint32(v.header.Signature[:]) != 0x8e5a6406 { t.Log(v.header.String()) t.Fatalf("invalid signature 0x%x", binary.BigEndian.Uint32(v.header.Signature[:])) } } }) } func Test_xlMetaV2Shallow_LoadTimeStamp(t *testing.T) { // v0 Saved with
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37.8K bytes - Viewed (0) -
cmd/jwt_test.go
}, // No authorization header. { req: &http.Request{ Header: http.Header{}, }, expectedErr: errNoAuthToken, }, // Invalid authorization token. { req: &http.Request{ Header: http.Header{ "Authorization": []string{"invalid-token"}, }, }, expectedErr: errAuthentication, }, } for i, testCase := range testCases {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
} @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { if (len < 8) { throw new SMBProtocolDecodingException("Invalid compression context length: " + len); } int start = bufferIndex; // Read compression count int compressionCount = SMBUtil.readInt2(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py
}, ) async def create_item(request: Request): raw_body = await request.body() try: data = yaml.safe_load(raw_body) except yaml.YAMLError: raise HTTPException(status_code=422, detail="Invalid YAML") try: item = Item.parse_obj(data) except ValidationError as e: raise HTTPException(status_code=422, detail=e.errors())
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 767 bytes - Viewed (0)