Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 347 for revalidate (0.07 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            setTreeIdMethod.invoke(response, 12345);
    
            // When
            int tid = response.getTid();
    
            // Then
            assertEquals(12345, tid);
        }
    
        @Test
        @DisplayName("Should validate TID correctly")
        void testIsValidTid() throws Exception {
            // Test invalid TID (-1)
            Method setTreeIdMethod = ServerMessageBlock2.class.getDeclaredMethod("setTreeId", int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    	encrypt.SseEncryptionContext: true,
    	encrypt.SseCustomerAlgorithm: true,
    	encrypt.SseCustomerKey:       true,
    	encrypt.SseCustomerKeyMD5:    true,
    }
    
    // checkPostPolicy - apply policy conditions and validate input values.
    // Note that content-length-range is checked in the API handler function PostPolicyBucketHandler.
    // formValues is the already-canonicalized form values from the POST request.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    		return s.Delete(ctx, volume, path, DeleteOptions{
    			Recursive: false,
    			Immediate: false,
    		})
    	}
    
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return err
    	}
    
    	// Validate file path length, before reading.
    	filePath := pathJoin(volumeDir, path)
    	if err = checkPathLength(filePath); err != nil {
    		return err
    	}
    
    	var legacyJSON bool
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName {
    				t.Errorf("path traversal allowed to allow writing to minioMetaBucket: %s", instanceType)
    			}
    		}
    	}
    }
    
    // Tests validate bucket name.
    func TestIsValidBucketName(t *testing.T) {
    	testCases := []struct {
    		bucketName string
    		shouldPass bool
    	}{
    		// cases which should pass the test.
    		// passing in valid bucket names.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. 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.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. 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)
  7. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <name>type</name>
              <version>1.0.0+</version>
              <type>String</type>
              <required>true</required>
              <description>
                The Java type for this parameter. This is used to validate the result of any expressions used to calculate
                the value which should be injected into the Mojo for this parameter.
              </description>
            </field>
            <field>
              <name>required</name>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 25 08:28:41 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  8. docs/en/docs/python-types.md

    You declare the "shape" of the data as classes with attributes.
    
    And each attribute has a type.
    
    Then you create an instance of that class with some values and it will validate the values, convert them to the appropriate type (if that's the case) and give you an object with all the data.
    
    And you get all the editor support with that resulting object.
    
    An example from the official Pydantic docs:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. 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)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Cache.java

       *
       * @since 12.0
       */
      void putAll(Map<? extends K, ? extends V> m);
    
      /** Discards any cached value for key {@code key}. */
      void invalidate(@CompatibleWith("K") Object key);
    
      /**
       * Discards any cached values for keys {@code keys}.
       *
       * @since 11.0
       */
      // For discussion of <? extends Object>, see getAllPresent.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top