- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 548 for validateId (0.1 seconds)
-
src/test/java/jcifs/smb/SecurityBlobTest.java
assertEquals("deadbeef", blob.toString(), "toString() should reflect underlying content"); assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode"); } // Validates equals() returns true for same-sized, equal-content blobs @Test @DisplayName("equals: identical content and size -> true") void equals_identicalContent_true() { // Arrange
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
this.systemCpuCheckInterval = systemCpuCheckInterval; } /** * Validates a password against configured password policy requirements. * * @param password The password to validate. * @return An empty string if the password is valid, or an error key for the validation failure. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 43.2K bytes - Click Count (0) -
cmd/config-current.go
defer env.LockSetEnv()() // Disable merging env values with config for validation. env.SetEnvOff() // Enable env values to validate KMS. defer env.SetEnvOn() if subSys != "" { return validateSubSysConfig(ctx, s, subSys, objAPI) } // No sub-system passed. Validate all of them. for _, ss := range config.SubSystems.ToSlice() { if err := validateSubSysConfig(ctx, s, ss, objAPI); err != nil { return err
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 28.5K bytes - Click Count (0) -
cmd/api-headers.go
// mime package in MinIO, which correctly encodes strings with fixed B/Q encodings, // avoiding S3’s heuristic-driven issues. // // For MinIO developers, decode S3 metadata with mime.WordDecoder, validate outputs, // report encoding bugs to AWS, and use ASCII-only metadata to ensure reliable S3 API // compatibility. if needsMimeEncoding(v) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.6K bytes - Click Count (0) -
cmd/os-readdir_test.go
// Setup and capture test results for directory with files and symlink. testResults = append(testResults, setupTestReadDirSymlink(t)...) // Remove all dirs once tests are over. defer teardown(testResults) // Validate all the results. for _, r := range testResults { if entries, err := readDir(r.dir); err != nil { t.Fatal("failed to run test.", err) } else { // Keep entries sorted for easier comparison.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 7.5K bytes - Click Count (0) -
cmd/admin-handlers-users.go
if err = json.Unmarshal(reqBytes, &updateReq); err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL) return } if err := updateReq.Validate(); err != nil { // Since this validation would happen client side as well, we only send // a generic error message here. writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 90.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
// Then - all reads should return same result assertEquals(4, read1); assertEquals(4, read2); assertEquals(4, read3); } @Test @DisplayName("Should validate structure size before processing") void testStructureSizeValidation() { // Given various invalid structure sizes int[] invalidSizes = { -1, 0, 1, 2, 3, 5, 6, 8, 16, 32, 64, 128, 256, 512, 1024 };Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
}); } } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("encode should validate size calculation") void testEncodeValidSize() { byte[] buffer = new byte[1024]; testRequest.setTestSize(64); testRequest.setTestLength(64);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
import org.junit.jupiter.api.Test; /** * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package. * * The tests use small stub subclasses to drive encode/decode paths and * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling. */ class AndXServerMessageBlockTest { /** * Test stub for AndXServerMessageBlock to control read/write logic. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java
this.repositoryMerging = repositoryMerging; this.repositories = repositories != null ? List.copyOf(validate(repositories)) : null; this.lifecycleBindingsInjector = lifecycleBindingsInjector; } @Override public RequestType getRequestType() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 16.3K bytes - Click Count (0)