Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for function (0.2 sec)

  1. cmd/object-api-interface.go

    	r.Targets = replicationStatusesMap(rstatus)
    	return
    }
    
    // SetEvalMetadataFn sets the metadata evaluation function
    func (o *ObjectOptions) SetEvalMetadataFn(f EvalMetadataFn) {
    	o.EvalMetadataFn = f
    }
    
    // SetEvalRetentionBypassFn sets the retention bypass function
    func (o *ObjectOptions) SetEvalRetentionBypassFn(f EvalRetentionBypassFn) {
    	o.EvalRetentionBypassFn = f
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    // or a function call.
    type PrimaryTerm struct {
    	Value         *LitValue   `parser:"  @@"`
    	JPathExpr     *JSONPath   `parser:"| @@"`
    	ListExpr      *ListExpr   `parser:"| @@"`
    	SubExpression *Expression `parser:"| \"(\" @@ \")\""`
    	// Include function expressions here.
    	FuncCall *FuncExpr `parser:"| @@"`
    }
    
    // FuncExpr represents a function call
    type FuncExpr struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. cmd/benchmark-utils_test.go

    	}
    	// cleaning up the backend by removing all the directories and files created on function return.
    	defer removeRoots(disks)
    
    	// uses *testing.B and the object Layer to run the benchmark.
    	runPutObjectPartBenchmark(b, objLayer, objSize)
    }
    
    // creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectBenchmark function.
    func benchmarkPutObject(b *testing.B, instanceType string, objSize int) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  4. internal/s3select/select_benchmark_test.go

    }
    
    // BenchmarkSelectAll_100K - benchmark * function with 100k records.
    func BenchmarkSelectAll_100K(b *testing.B) {
    	benchmarkSelectAll(b, 100*humanize.KiByte)
    }
    
    // BenchmarkSelectAll_1M - benchmark * function with 1m records.
    func BenchmarkSelectAll_1M(b *testing.B) {
    	benchmarkSelectAll(b, 1*humanize.MiByte)
    }
    
    // BenchmarkSelectAll_2M - benchmark * function with 2m records.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 5K bytes
    - Viewed (0)
  5. cmd/admin-handlers_test.go

    // admin-handler unit tests.
    type adminErasureTestBed struct {
    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    // prepareAdminErasureTestBed - helper function that setups a single-node
    // Erasure backend for admin-handler tests.
    func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) {
    	ctx, cancel := context.WithCancel(ctx)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  6. misc/cgo/gmp/gmp.go

    	var _C_zero *C.mpz_t
    
    and then replacing all instances of C.zero with (*_C_zero).
    
    Cgo's most interesting translation is for functions.  If xxx is a C
    function, then cgo rewrites C.xxx into a new function _C_xxx that
    calls the C xxx in a standard pthread.  The new function translates
    its arguments, calls xxx, and translates the return value.
    
    Translation of parameters and the return value follows the type
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    type BitrotAlgorithm uint
    
    const (
    	// SHA256 represents the SHA-256 hash function
    	SHA256 BitrotAlgorithm = 1 + iota
    	// HighwayHash256 represents the HighwayHash-256 hash function
    	HighwayHash256
    	// HighwayHash256S represents the Streaming HighwayHash-256 hash function
    	HighwayHash256S
    	// BLAKE2b512 represents the BLAKE2b-512 hash function
    	BLAKE2b512
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    is different from the same C type used in another.
    
    Any C function (even void functions) may be called in a multiple
    assignment context to retrieve both the return value (if any) and the
    C errno variable as an error (use _ to skip the result value if the
    function returns void). For example:
    
    	n, err = C.sqrt(-1)
    	_, err := C.voidFunc()
    	var n, err = C.sqrt(1)
    
    Calling C function pointers is currently not supported, however you can
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  9. istioctl/pkg/util/formatting/msg_threshold.go

    type MessageThreshold struct {
    	diag.Level
    }
    
    // String is a function declared in the pflag.Value interface
    func (m *MessageThreshold) String() string {
    	return m.Level.String()
    }
    
    // Type is a function declared in the pflag.Value interface
    func (m *MessageThreshold) Type() string {
    	return "Level"
    }
    
    // Set is a function declared in the pflag.Value interface
    func (m *MessageThreshold) Set(s string) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 17 12:28:05 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  10. internal/logger/target/testlogger/testlogger.go

    	action  atomic.Int32
    }
    
    // SetLogTB will set the logger to output to tb.
    // Call the returned function to disable logging.
    func (t *testLogger) SetLogTB(tb testing.TB) func() {
    	return t.setTB(tb, logMessage)
    }
    
    // SetErrorTB will set the logger to output to tb.Error.
    // Call the returned function to disable logging.
    func (t *testLogger) SetErrorTB(tb testing.TB) func() {
    	return t.setTB(tb, errorMessage)
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4K bytes
    - Viewed (0)
Back to top