Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 673 for Valid (0.26 sec)

  1. cmd/bucket-policy.go

    	if err != nil {
    		// This should not happen because bucketPolicy is valid to convert to JSON data.
    		return nil, err
    	}
    
    	var policyInfo miniogopolicy.BucketAccessPolicy
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err = json.Unmarshal(data, &policyInfo); err != nil {
    		// This should not happen because data is valid to JSON data.
    		return nil, err
    	}
    
    	return &policyInfo, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            }
    
            @Test
            @DisplayName("RPC packet types should have valid range")
            void testRpcPacketTypeRange() {
                // Verify that packet types are within valid range (0x00-0x16)
                int[] packetTypes = { DcerpcConstants.RPC_PT_REQUEST, DcerpcConstants.RPC_PT_PING, DcerpcConstants.RPC_PT_RESPONSE,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict;
    
    /**
     * Exception thrown when a dictionary has expired and is no longer valid.
     * This runtime exception indicates that a dictionary file or dictionary data
     * has exceeded its lifetime and should be refreshed or reloaded.
     */
    public class DictionaryExpiredException extends RuntimeException {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                // Test minimum valid TID
                smb2Response.setTreeId(0);
                assertTrue(smb2Response.isValidTid(), "TID 0 should be valid");
    
                // Test maximum valid TID
                smb2Response.setTreeId(Integer.MAX_VALUE);
                assertTrue(smb2Response.isValidTid(), "Maximum TID should be valid");
    
                // Test invalid TID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

        }
    
        @Test
        @DisplayName("Constructor should handle null tree handle")
        void testConstructor_NullTreeHandle_ThrowsNPE() throws Exception {
            // Given: Valid parent but null tree handle
            when(locator.getType()).thenReturn(SmbConstants.TYPE_WORKGROUP);
            when(locator.getURL()).thenReturn(createSmbURL("smb://"));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

        }
    
        /**
         * Checks if the given input stream contains valid sitemap data.
         * @param in the input stream to validate
         * @return true if the stream contains valid sitemap data, false otherwise
         */
        public boolean isValid(final InputStream in) {
            return isValid(in, true);
        }
    
        /**
         * Checks if the given input stream contains valid sitemap data.
         * @param in the input stream to validate
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    		{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")},
    		{
    			bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1,
    			expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"),
    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  8. cmd/object-api-options.go

    }
    
    func getAndValidateAttributesOpts(ctx context.Context, w http.ResponseWriter, r *http.Request, bucket, object string) (opts ObjectOptions, valid bool) {
    	var argumentName string
    	var argumentValue string
    	var apiErr APIError
    	var err error
    	valid = true
    
    	defer func() {
    		if valid {
    			return
    		}
    
    		errResp := objectAttributesErrorResponse{
    			ArgumentName:  &argumentName,
    			ArgumentValue: &argumentValue,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. cmd/batch-replicate.go

    // Empty indicates if credentials are not set
    func (c BatchJobReplicateCredentials) Empty() bool {
    	return c.AccessKey == "" && c.SecretKey == "" && c.SessionToken == ""
    }
    
    // Validate validates if credentials are valid
    func (c BatchJobReplicateCredentials) Validate() error {
    	if !auth.IsAccessKeyValid(c.AccessKey) || !auth.IsSecretKeyValid(c.SecretKey) {
    		return errInvalidArgument
    	}
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("abc", Strings.commonPrefix(new StringBuilder("abcdef"), "abcxyz"));
    
        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top