Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for eval (0.13 sec)

  1. internal/config/browser/browser.go

    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   browserCSPPolicy,
    			Value: "default-src 'self' 'unsafe-eval' 'unsafe-inline';",
    		},
    		config.KV{
    			Key:   browserHSTSSeconds,
    			Value: "0",
    		},
    		config.KV{
    			Key:   browserHSTSIncludeSubdomains,
    			Value: config.EnableOff,
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. Makefile

    hotfix-vars:
    	$(eval LDFLAGS := $(shell MINIO_RELEASE="RELEASE" MINIO_HOTFIX="hotfix.$(shell git rev-parse --short HEAD)" go run buildscripts/gen-ldflags.go $(shell git describe --tags --abbrev=0 | \
        sed 's#RELEASE\.\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)T\([0-9]\+\)-\([0-9]\+\)-\([0-9]\+\)Z#\1-\2-\3T\4:\5:\6Z#')))
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  3. internal/s3select/sql/stringfuncs_contrib_test.go

    		{"测试abc", 5, 5, "c", nil},
    	}
    
    	for i, tc := range evalCases {
    		res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length)
    		if res != tc.resExpected || err != tc.errExpected {
    			t.Errorf("Eval Case %d failed: %v %v", i, res, err)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    					outputRecord.Reset()
    				} else {
    					// Create new one
    					outputRecord = s3Select.outputRecord()
    					outputQueue[len(outputQueue)-1] = outputRecord
    				}
    				outputRecord, err = s3Select.statement.Eval(*inputRecord, outputRecord)
    				if outputRecord == nil || err != nil {
    					// This should not be written.
    					// Remove it from the queue.
    					outputQueue = outputQueue[:len(outputQueue)-1]
    					if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle.go

    	StorageClass            string
    }
    
    // Eval returns the lifecycle event applicable now.
    func (lc Lifecycle) Eval(obj ObjectOpts) Event {
    	return lc.eval(obj, time.Now().UTC())
    }
    
    // eval returns the lifecycle event applicable at the given now. If now is the
    // zero value of time.Time, it returns the upcoming lifecycle event.
    func (lc Lifecycle) eval(obj ObjectOpts, now time.Time) Event {
    	var events []Event
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. cmd/testdata/undeleteable-object.tgz

    "value":""}]},"batch":{"_":[{"key":"replication_workers_wait","value":"0ms"},{"key":"keyrotation_workers_wait","value":"0ms"},{"key":"expiration_workers_wait","value":"0ms"}]},"browser":{"_":[{"key":"csp_policy","value":"default-src 'self' 'unsafe-eval' 'unsafe-inline';"},{"key":"hsts_seconds","value":"0"},{"key":"hsts_include_subdomains","value":"off"},{"key":"hsts_preload","value":"off"},{"key":"referrer_policy","value":"strict-origin-when-cross-origin"}]},"cache":{"_":[{"key":"enable","value"...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  7. internal/s3select/sql/jsonpath.go

    		var result []interface{}
    		for _, a := range arr {
    			rval, flatten, err := jsonpathEval(p[1:], a)
    			if err != nil {
    				return nil, false, err
    			}
    
    			if flatten {
    				// Flatten if array.
    				if arr, ok := rval.([]interface{}); ok {
    					result = append(result, arr...)
    					continue
    				}
    			}
    			result = append(result, rval)
    		}
    		return result, true, nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    // This is to be called after a successful upload of an object (version).
    func enqueueTransitionImmediate(obj ObjectInfo, src lcEventSrc) {
    	if lc, err := globalLifecycleSys.Get(obj.Bucket); err == nil {
    		switch event := lc.Eval(obj.ToLifecycleOpts()); event.Action {
    		case lifecycle.TransitionAction, lifecycle.TransitionVersionAction:
    			globalTransitionState.queueTransitionTask(obj, event, src)
    		}
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/postpolicyform_test.go

    			success: false,
    		},
    		// duplicate 'expiration' reject
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    		UserTags: "priority=low",
    	}
    
    	// Go back seven days in the past
    	now = now.Add(7 * 24 * time.Hour)
    
    	// Eval object 1
    	evt := lc.eval(obj1, now)
    	if evt.Action != NoneAction {
    		t.Fatalf("Expected action: %s but got %s", NoneAction, evt.Action)
    	}
    
    	// Eval object 2
    	evt = lc.eval(obj2, now)
    	if evt.Action != TransitionAction {
    		t.Fatalf("Expected action: %s but got %s", TransitionAction, evt.Action)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top