Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for passing (0.03 seconds)

  1. cmd/xl-storage_test.go

    			}
    		})
    	}
    }
    
    // Tests validate volume name.
    func TestIsValidVolname(t *testing.T) {
    	testCases := []struct {
    		volName    string
    		shouldPass bool
    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  2. cmd/test-utils_test.go

    // passing InsecureSkipVerify flag.  This code is a simplified version of
    // https://golang.org/src/crypto/tls/generate_cert.go
    func generateTLSCertKey(host string) ([]byte, []byte, error) {
    	validFor := 365 * 24 * time.Hour
    	rsaBits := 2048
    
    	if len(host) == 0 {
    		return nil, nil, fmt.Errorf("Missing host parameter")
    	}
    
    	publicKey := func(priv any) any {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  3. cmd/api-errors.go

    		Description:    "Missing fields in request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingCredTag: {
    		Code:           "InvalidRequest",
    		Description:    "Missing Credential field for this request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrCredMalformed: {
    		Code:           "AuthorizationQueryParametersError",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  4. internal/bucket/lifecycle/lifecycle_test.go

    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != tc.expectedParsingErr {
    				t.Fatalf("%d: Expected %v during parsing but got %v", i+1, tc.expectedParsingErr, err)
    			}
    			if tc.expectedParsingErr != nil {
    				// We already expect a parsing error,
    				// no need to continue this test.
    				return
    			}
    			err = lc.Validate(tc.lr)
    			if err != tc.expectedValidationErr {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  5. internal/s3select/select_test.go

    		},
    		{
    			name:       "is-not-missing",
    			query:      `select * from s3object[*] as s where s.request.header['User-Agent'] is not missing`,
    			wantResult: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}`,
    			withJSON: `{"request":{"uri":"/1","header":{"User-Agent":"test"}}}
    {"request":{"uri":"/2","header":{}}}`,
    		},
    		{
    			name:  "is-not-missing-2",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 76.1K bytes
    - Click Count (0)
  6. cmd/peer-rest-server.go

    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	policyName := mss.Get(peerRESTPolicy)
    	if policyName == "" {
    		return np, grid.NewRemoteErr(errors.New("policyName is missing"))
    	}
    
    	if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	return np, nerr
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 53.6K bytes
    - Click Count (0)
  7. tensorflow/BUILD

    # This target is only used for parsing the symbols to be exported in tensorflow.dll.
    # Do NOT depend on it.
    tf_native_cc_binary(
        name = "tf_custom_op_library_additional_deps.dll",
        linkshared = 1,
        linkstatic = 1,
        deps = tf_custom_op_library_additional_deps_impl(),
    )
    
    # Get a DEF file generated by parsing all object files
    # of tf_custom_op_library_additional_deps.so
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 12 19:21:56 GMT 2025
    - 53.1K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                stk.push(new ActivationFrame("file", Optional.of(fa)));
                stk.push(new ActivationFrame("exists", Optional.empty()));
                validator.accept(fa.getExists());
                stk.peek().location = "missing";
                validator.accept(fa.getMissing());
                stk.pop();
                stk.pop();
            });
            root.map(Activation::getOs).ifPresent(oa -> {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                            new Interpolation(fa, s -> profileActivationFilePathInterpolator.interpolate(s, context));
                    nt.performFor(fa.getExists(), "exists", fa::setExists);
                    nt.performFor(fa.getMissing(), "missing", fa::setMissing);
                });
                a.map(Activation::getOs).ifPresent(oa -> {
                    Interpolation nt = new Interpolation(oa, interpolator::interpolate);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  10. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	if keyName, ok := formValues["Key"]; !ok {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, errors.New("The name of the uploaded key is missing"))
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
Back to Top