Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for function (0.18 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. buildscripts/resolve-right-versions.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" stat minio/bucket/testobj
    
    	pkill minio
    	sleep 3
    }
    
    function main() {
    	start_port=$(shuf -i 10000-65000 -n 1)
    
    	start_minio_5drive ${start_port}
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    (main "$@")
    rv=$?
    purge "$WORK_DIR"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 16 14:51:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. docs/lambda/README.md

    		abort(400)
    
    if __name__ == '__main__':
    	app.run()
    ```
    
    When you're writing a Lambda function for use with MinIO, the function is based on event context that MinIO provides to the Lambda function. The event context provides information about the request being made. It contains the parameters with relevant context. The fields used to create the Lambda function are as follows:
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. cmd/os_other.go

    	// baseDir is not honored in plan9 and solaris platforms.
    	return os.MkdirAll(dirPath, perm)
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    // the directory itself, if the dirPath doesn't exist this function doesn't return
    // an error.
    func readDirFn(dirPath string, filter func(name string, typ os.FileMode) error) error {
    	d, err := Open(dirPath)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Sep 13 15:14:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. 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)
  9. internal/s3select/sql/funceval.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package sql
    
    import (
    	"errors"
    	"fmt"
    	"strconv"
    	"strings"
    	"time"
    )
    
    // FuncName - SQL function name.
    type FuncName string
    
    // SQL Function name constants
    const (
    	// Conditionals
    	sqlFnCoalesce FuncName = "COALESCE"
    	sqlFnNullIf   FuncName = "NULLIF"
    
    	// Conversion
    	sqlFnCast FuncName = "CAST"
    
    	// Date and time
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  10. cmd/metrics-v3-types.go

    	Descriptors []MetricDescriptor
    	// (Optional) Extra (constant) label KV pairs to be added to each metric in
    	// the group.
    	ExtraLabels map[string]string
    
    	// Loader functions to load metrics. Only one of these will be set. Metrics
    	// returned by these functions must be present in the `Descriptors` list.
    	loader       MetricsLoaderFn
    	bucketLoader BucketMetricsLoaderFn
    
    	// Cache for all metrics groups. Set via `.SetCache` method.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top