- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,254 for invalid (0.05 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
} } @Test @DisplayName("Test decode with minimum valid length") void testDecodeMinimumValidLength() throws SMBProtocolDecodingException { // Prepare minimum valid buffer - exactly 24 bytes byte[] buffer = new byte[28]; Arrays.fill(buffer, 0, 24, (byte) 0xAA); // Decode with len = 24 (minimum valid) int bytesConsumed = response.decode(buffer, 0, 24);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
return false; } if (!context.isValid()) { throw new CIFSException("Preauth integrity context is invalid for session: " + sessionId); } byte[] actualHash = context.getCurrentHash(); boolean isValid = MessageDigest.isEqual(actualHash, expectedHash); if (isValid) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
// Test valueOf for valid enum names assertEquals(SsoResponseType.METADATA, SsoResponseType.valueOf("METADATA")); assertEquals(SsoResponseType.LOGOUT, SsoResponseType.valueOf("LOGOUT")); } public void test_valueOf_invalidName() { // Test valueOf with invalid name throws exception try { SsoResponseType.valueOf("INVALID");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacCredentialType.java
* @param data the raw credential type data * @throws PACDecodingException if the credential type data is invalid */ public PacCredentialType(final byte[] data) throws PACDecodingException { this.credentialType = data; if (!isCredentialTypeCorrect()) { throw new PACDecodingException("Invalid PAC credential type"); } } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrException.java
* Error message for null reference pointers. */ public static final String NO_NULL_REF = "ref pointer cannot be null"; /** * Error message for invalid array conformance. */ public static final String INVALID_CONFORMANCE = "invalid array conformance"; /** * Constructs an NdrException with the specified error message. * * @param msg the error message */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
cmd/object-handlers_test.go
if err != nil { t.Fatalf("Invalid UploadID: <ERROR> %s", err) } // Testing the response for Invalid AccessID. // Forcing the signature check to fail. rec = httptest.NewRecorder() // construct HTTP request for NewMultipart upload. // Setting an invalid accessID.Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 163.1K bytes - Viewed (0) -
cmd/typed-errors.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" ) // errInvalidArgument means that input argument is invalid. var errInvalidArgument = errors.New("Invalid arguments specified") // errMethodNotAllowed means that method is not allowed. var errMethodNotAllowed = errors.New("Method not allowed") // errSignatureMismatch means signature did not match.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
public void test_constructor_withTypeAndMessage() { // Test constructor with type and message String type = "Bearer"; String message = "Invalid access token provided"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message); assertEquals(type, exception.getType()); assertEquals(message, exception.getMessage());Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
boolean result = transport.hasCapability(cap); assertEquals(cap >= 0, result); verify(transport, times(1)).hasCapability(cap); } // Invalid input: simulate underlying SmbException when capability check fails @Test @DisplayName("hasCapability throws SmbException when underlying error occurs") void hasCapability_throws() throws SmbException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
assertTrue(true); } } public void test_install_withInvalidZip() throws IOException { // Create an invalid zip file Path jarPath = tempDir.resolve("invalid.jar"); Files.write(jarPath, "not a zip file".getBytes()); ThemeHelper mockThemeHelper = new ThemeHelper() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0)