- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,508 for Invalid (1.01 sec)
-
src/main/java/jcifs/util/PathValidator.java
* @throws SmbException if URL is invalid */ public String validateSmbUrl(String smbUrl) throws SmbException { if (smbUrl == null || smbUrl.isEmpty()) { throw new SmbException("SMB URL cannot be null or empty"); } // Check URL format if (!smbUrl.toLowerCase().startsWith("smb://")) { throw new SmbException("Invalid SMB URL format"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
response = client.get("/items?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} def test_items_bar_with_invalid_token(client: TestClient): response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 21.3K bytes - Viewed (0) -
cmd/sftp-server.go
break } } if !found { logger.Fatal(fmt.Errorf("unknown algorithm %q passed to --sftp=%s\nValid algorithms: %v", algo, arg, strings.Join(allowed, ", ")), "unable to start SFTP server") } } if len(filteredAlgos) == 0 { logger.Fatal(fmt.Errorf("no valid algorithms passed to --sftp=%s\nValid algorithms: %v", arg, strings.Join(allowed, ", ")), "unable to start SFTP server") } return filteredAlgos }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
assertEquals(2, result); } @Test @DisplayName("Test readBytesWireFormat with invalid structure size throws exception") void testReadBytesWireFormatInvalidStructureSize() { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to 4 (invalid, should be 2) SMBUtil.writeInt2(4, buffer, bufferIndex); SMBProtocolDecodingException exception =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
errors.go
// ErrInvalidField invalid field ErrInvalidField = errors.New("invalid field") // ErrEmptySlice empty slice found ErrEmptySlice = errors.New("empty slice found") // ErrDryRunModeUnsupported dry run mode unsupported ErrDryRunModeUnsupported = errors.New("dry run mode unsupported") // ErrInvalidDB invalid db ErrInvalidDB = errors.New("invalid db") // ErrInvalidValue invalid value
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Apr 26 02:53:17 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
} @ParameterizedTest(name = "Invalid name=''{0}'' with filter={1} is skipped") @MethodSource("invalidNamesAndFilterFlag") void invalidNames_areSkipped_andNextValidReturned(String invalidName, boolean useFilter) throws Exception { SmbFile parent = newParent(); FileEntry invalid = entry(invalidName, SmbConstants.TYPE_SHARE); FileEntry valid = entry("ok", SmbConstants.TYPE_SHARE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
internal/bpool/bpool_test.go
if bp.Width() != width { t.Fatalf("bytepool width invalid: got %v want %v", bp.Width(), width) } // Check with width cap if bp.WidthCap() != capWidth { t.Fatalf("bytepool capWidth invalid: got %v want %v", bp.WidthCap(), capWidth) } // Check that retrieved buffer are of the expected width b := bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 2.7K bytes - Viewed (0) -
internal/config/storageclass/storage-class_test.go
} } } // Test IsValid method with valid and invalid inputs func TestIsValidStorageClassKind(t *testing.T) { tests := []struct { sc string want bool }{ {"STANDARD", true}, {"REDUCED_REDUNDANCY", true}, {"", false}, {"INVALID", false}, {"123", false}, {"MINIO_STORAGE_CLASS_RRS", false},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
testProperties.setProperty("test.invalid.int", "abc"); } @Test @DisplayName("Should get integer property with default value") void testGetIntWithDefault() { assertEquals(123, Config.getInt(testProperties, "test.int", 0)); assertEquals(456, Config.getInt(testProperties, "nonexistent.int", 456)); assertEquals(789, Config.getInt(testProperties, "test.invalid.int", 789)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial006.py
response = client.get("/items/", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_get_invalid_second_header(client: TestClient): response = client.get( "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 4.8K bytes - Viewed (0)