- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 1,086 for isValid (0.05 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23), "Should throw exception when length < 24"); assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match"); } @Test @DisplayName("Test decode throws exception with zero length") void testDecodeThrowsExceptionWithZeroLength() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
// Validate buffer size to prevent overflow int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE; if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) { throw new IllegalStateException("Invalid buffer size: " + bufferSize); } return new byte[bufferSize]; } static void getBuffers(final SmbComTransaction req, final SmbComTransactionResponse rsp) { req.txn_buf = getBuffer();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
cmd/dummy-data-generator_test.go
switch whence { case io.SeekStart: if offset < 0 { return 0, errors.New("Invalid offset") } d.idx = offset case io.SeekCurrent: if d.idx+offset < 0 { return 0, errors.New("Invalid offset") } d.idx += offset case io.SeekEnd: if d.length+offset < 0 { return 0, errors.New("Invalid offset") } d.idx = d.length + offset } return d.idx, nil }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If not set or invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/object-lambda-handlers.go
writeErrorResponse(ctx, w, tokenErr, r.URL) return } if subtle.ConstantTimeCompare([]byte(resp.Header.Get(xhttp.AmzRequestToken)), []byte(eventData.GetObjectContext.OutputToken)) != 1 { tokenErr := errorCodes.ToAPIErr(ErrInvalidToken) tokenErr.Description = "The request token included in the request is invalid" writeErrorResponse(ctx, w, tokenErr, r.URL) return
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 18 21:56:31 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
assertEquals(DialectVersion.SMB311, DialectVersion.valueOf("SMB311")); // Test valueOf with invalid name assertThrows(IllegalArgumentException.class, () -> { DialectVersion.valueOf("INVALID"); }); // Test valueOf with null assertThrows(NullPointerException.class, () -> { DialectVersion.valueOf(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/sts-errors.go
HTTPStatusCode: http.StatusBadRequest, }, ErrSTSInvalidParameterValue: { Code: "InvalidParameterValue", Description: "An invalid or out-of-range value was supplied for the input parameter.", HTTPStatusCode: http.StatusBadRequest, }, ErrSTSWebIdentityExpiredToken: { Code: "ExpiredToken",Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 05 00:29:41 UTC 2025 - 6K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/UUIDTest.java
} @Test @DisplayName("Constructor with UUID string containing invalid character should throw IllegalArgumentException") void testConstructorWithStringInvalidCharacter() { // Arrange String invalidUuid = "00112233-4455-6677-8899-AABBCCDDEXX"; // 'X' is invalid // Act & Assert assertThrows(IllegalArgumentException.class, () -> new UUID(invalidUuid),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
internal/config/identity/openid/jwt.go
azpValues, ok := policy.GetValuesFromClaims(mclaims, azpClaim) if !ok { return errors.New("STS JWT Token has `azp` claim invalid, `azp` must match configured OpenID Client ID") } if !azpValues.Contains(pCfg.ClientID) { return errors.New("STS JWT Token has `azp` claim invalid, `azp` must match configured OpenID Client ID") } } return nil }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * An exception thrown when LDAP configuration is invalid. */ public class LdapConfigurationException extends FessSystemException { private static final long serialVersionUID = 1L; /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0)