- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 1,647 for Invalid (0.12 seconds)
-
cmd/copy-part-range_test.go
t.Fatalf("expected: %d, got: %d", successCase.offsetBegin, start) } if start+length-1 != successCase.offsetEnd { t.Fatalf("expected: %d, got: %d", successCase.offsetEnd, start+length-1) } } // Test invalid range strings. invalidRangeStrings := []string{ "bytes=8", "bytes=5-2", "bytes=+2-5", "bytes=2-+5", "bytes=2--5", "bytes=-", "2-5", "bytes = 2-5", "bytes=2 - 5", "bytes=0-0,-1",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcError.java
* Cannot perform operation fault code */ int DCERPC_FAULT_CANT_PERFORM = 0x000006D8; /** * NDR encoding error fault code */ int DCERPC_FAULT_NDR = 0x000006F7; /** * Invalid tag fault code */ int DCERPC_FAULT_INVALID_TAG = 0x1C000006; /** * Context mismatch fault code */ int DCERPC_FAULT_CONTEXT_MISMATCH = 0x1C00001A; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; if (len < 24) { throw new SMBProtocolDecodingException("Invalid resume key"); } this.resumeKey = new byte[24]; System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24); bufferIndex += 24;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (3) -
schema/serializer.go
err = fmt.Errorf("integer overflow conversion uint64(%d) -> int64", uv) } else { result = time.Unix(int64(uv), 0).UTC() //nolint:gosec } default: err = fmt.Errorf("invalid field type %#v for UnixSecondSerializer, only int, uint supported", fieldValue) } return } // GobSerializer gob serializer type GobSerializer struct{} // Scan implements serializer interface
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:29:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals(3, notifications.get(2).getAction()); assertEquals("file3", notifications.get(2).getFileName()); } @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 10, 16, 32, 255 }) void testInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
// Assert assertTrue(result, "Verify should return true for valid signature"); verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message); } @Test @DisplayName("Test verify method returns false for invalid signature") void testVerifyReturnsFalse() { // Arrange int offset = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
cmd/object-api-putobject_test.go
}, 3: {bucketName: "a", objName: "obj", inputData: []byte(""), expectedError: BucketNameInvalid{Bucket: "a"}}, // Case with invalid object names. 4: {bucketName: bucket, inputData: []byte(""), expectedError: ObjectNameInvalid{Bucket: bucket, Object: ""}}, // Valid object and bucket names but non-existent bucket. 5: {bucketName: "abc", objName: "def", inputData: []byte(""), expectedError: BucketNotFound{Bucket: "abc"}},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); request.encoding("INVALID-ENCODING"); try { request.param("key", "value"); fail("Expected CurlException for invalid encoding"); } catch (CurlException e) { assertTrue(e.getMessage().contains("Invalid encoding")); } } @Test public void testFluentChaining() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
cmd/object-api-utils_test.go
func TestIsValidBucketName(t *testing.T) { testCases := []struct { bucketName string shouldPass bool }{ // cases which should pass the test. // passing in valid bucket names. {"lol", true}, {"1-this-is-valid", true}, {"1-this-too-is-valid-1", true}, {"this.works.too.1", true}, {"1234567", true}, {"123", true}, {"s3-eu-west-1.amazonaws.com", true}, {"ideas-are-more-powerful-than-guns", true},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
clause/joins_test.go
}, { name: "Expression", join: clause.Join{ // Invalid Type: clause.LeftJoin, Table: clause.Table{Name: "user"}, ON: clause.Where{ Exprs: []clause.Expression{clause.Eq{clause.Column{Table: "user_info", Name: "user_id"}, clause.PrimaryColumn}}, }, // Valid Expression: clause.Join{ Type: clause.InnerJoin, Table: clause.Table{Name: "user"},Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Nov 03 13:03:13 GMT 2022 - 2.6K bytes - Click Count (0)