Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 359 for revalidate (0.06 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            transformHeader.setOriginalMessageSize(messageSize);
    
            // Then
            assertEquals(messageSize, transformHeader.getOriginalMessageSize());
        }
    
        @Test
        @DisplayName("Should validate protocol ID")
        void testProtocolIdValidation() {
            // Given
            byte[] validProtocolId = { (byte) 0xFD, 'S', 'M', 'B' };
            byte[] invalidProtocolId = { 'I', 'N', 'V', 'D' };
    
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. docs/smb3-features/06-witness-protocol-design.md

            }
        }
        
        public void validateNotification(WitnessNotification notification) throws SecurityException {
            // Validate notification authenticity
            if (!isValidNotificationSource(notification)) {
                throw new SecurityException("Invalid witness notification source");
            }
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    // license that can be found in the LICENSE file.
    
    // This file is for validation errors only, i.e., errors reported by the validate function.
    // Negative test cases for errors generated earlier in the assembler's preprocess stage
    // should be added to riscv64error.s.  If they are added to this file, they will prevent
    // the validate function from being run and TestRISCVValidation will report missing
    // errors.
    
    TEXT validation(SB),$0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed May 21 14:19:19 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

     * stale).
     */
    class CacheStrategy internal constructor(
      /** The request to send on the network, or null if this call doesn't use the network. */
      val networkRequest: Request?,
      /** The cached response to return or validate; or null if this call doesn't use a cache. */
      val cacheResponse: Response?,
    ) {
      class Factory(
        private val nowMillis: Long,
        internal val request: Request,
        private val cacheResponse: Response?,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            int read = resp.decode(packet, 0, false);
            assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body");
    
            // Validate simple getters
            assertEquals((byte) 0x7, resp.getOplockLevel());
            assertEquals((byte) 0x2, resp.getOpenFlags());
            assertEquals(0x11223344, resp.getCreateAction());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. cmd/signature-v4-utils.go

    	} else {
    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// Skip if no header was set.
    	if !ok {
    		return true
    	}
    
    	// If x-amz-content-sha256 is set and the value is not
    	// 'UNSIGNED-PAYLOAD' we should validate the content sha256.
    	switch v[0] {
    	case unsignedPayload, unsignedPayloadTrailer:
    		return true
    	case emptySHA256:
    		// some broken clients set empty-sha256
    		// with > 0 content-length in the body,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        for (LoadingCache<Object, Object> cache : caches()) {
          cache.getUnchecked(1);
          Entry<Object, Object> entry = Iterables.getOnlyElement(cache.asMap().entrySet());
    
          cache.invalidate(1);
          assertEquals(0, cache.size());
    
          entry.setValue(3);
          assertEquals(1, cache.size());
          assertEquals(3, cache.getIfPresent(1));
          checkValidState(cache);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. cmd/object-handlers_test.go

    							reqType, bucketName, test.objectName, err)
    					}
    					// Validate whether the error has occurred for the expected reason.
    					if want.Code != errXML.Code {
    						t.Errorf("%s, Expected to fail with error \"%s\", but received \"%s\": %q.",
    							reqType, want.Code, errXML.Code, errXML.Message)
    					}
    					// Validate the HTTP response status code  with the expected one.
    					if want.HTTPStatusCode != rec.Code {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  10. docs/en/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Coming back to the previous code example, **FastAPI** will:
    
    * Validate that there is an `item_id` in the path for `GET` and `PUT` requests.
    * Validate that the `item_id` is of type `int` for `GET` and `PUT` requests.
        * If it is not, the client will see a useful, clear error.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top