- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 595 for validate (0.07 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
when(otherContext.getConfig()).thenReturn(otherConfig); assertFalse(response.canReuse(otherContext, false)); } @Test @DisplayName("Should validate response correctly") void testIsValid() throws Exception { // Setup valid response setResponseAsReceived(response); setPrivateField(response, "dialectRevision", 0x0311);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(response.StatusCode, http.StatusOK) response.Body.Close() } // TestCopyObject - Validates copy object. // The following is the test flow. // 1. Create bucket. // 2. Insert Object. // 3. Use "X-Amz-Copy-Source" header to copy the previously created object. // 4. Validate the content of copied object. func (s *TestSuiteCommon) TestCopyObject(c *check) { // generate a random bucket name.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* * <p>Note however that if your escaper does not escape characters in the supplementary range, you * should either continue to validate the correctness of any surrogate characters encountered or * provide a clear warning to users that your escaper does not validate its input. * * <p>See {@link com.google.common.net.PercentEscaper} for an example. * * @param csq a sequence of charactersRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
guava/src/com/google/common/escape/UnicodeEscaper.java
* * <p>Note however that if your escaper does not escape characters in the supplementary range, you * should either continue to validate the correctness of any surrogate characters encountered or * provide a clear warning to users that your escaper does not validate its input. * * <p>See {@link com.google.common.net.PercentEscaper} for an example. * * @param csq a sequence of charactersRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
@BeforeEach void setUp() { // 10 bytes is more than enough for the 2-byte short raw = new byte[10]; buf = new NdrBuffer(raw, 0); } /** * Validate that the constructor masks the supplied value to its * lowest 8 bits (NdrShort incorrectly masks to 8 bits even though it's a short). */ @ParameterizedTest @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 })Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
validator.addToBlacklist("\\share\\blocked"); validator.clearBlacklist(); // Should allow previously blacklisted path String allowed = validator.validatePath("\\share\\blocked\\file.txt"); assertEquals("\\share\\blocked\\file.txt", allowed); } @Test public void testClearWhitelist() throws Exception { validator.addToWhitelist("\\share\\allowed");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
byte[] buffer = new byte[20]; int len = cmd.writeParameterWordsWireFormat(buffer, 0); assertEquals(-12, len, "writeParameterWordsWireFormat should write 12 Bytes"); // Validate parameter bytes using reflection since fields are private assertEquals(getField(cmd, "fid"), SMBUtil.readInt2(buffer, 0)); assertEquals(getField(cmd, "typeOfLock"), buffer[2]);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
// This test validates integration patterns without requiring real cluster // Simulate witness service discovery InetAddress mockWitnessAddress = InetAddress.getByName("127.0.0.1"); // Test witness client initialization patterns assertDoesNotThrow(() -> { // Validate that witness client configuration is properly set upRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
* @return action response with the search results or error page */ @Execute @Secured({ ROLE }) public ActionResponse upload(final UploadForm form) { validate(form, messages -> {}, () -> asListHtml(null)); verifyTokenKeep(() -> asListHtml(this::saveToken)); String header = null; final StringBuilder buf = new StringBuilder(1000);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
cmd/listen-notification-handlers.go
) func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "ListenNotification") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r)) // Validate if bucket exists. objAPI := api.ObjectAPI() if objAPI == nil { writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL) return } vars := mux.Vars(r) bucketName := vars["bucket"]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (0)