Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 250 for input (0.16 sec)

  1. cmd/object-api-input-checks.go

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. internal/config/config_test.go

    )
    
    func TestKVFields(t *testing.T) {
    	tests := []struct {
    		input          string
    		keys           []string
    		expectedFields map[string]struct{}
    	}{
    		// No keys present
    		{
    			input:          "",
    			keys:           []string{"comment"},
    			expectedFields: map[string]struct{}{},
    		},
    		// No keys requested for tokenizing
    		{
    			input:          `comment="Hi this is my comment ="`,
    			keys:           []string{},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 18 22:55:17 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  3. internal/s3select/simdj/reader.go

    func (r *Reader) Close() error {
    	// Close the input.
    	// Potentially racy if the stream decoder is still reading.
    	if r.readCloser != nil {
    		r.readCloser.Close()
    	}
    	if r.exitReader != nil {
    		close(r.exitReader)
    		r.readerWg.Wait()
    		r.exitReader = nil
    		r.input = nil
    	}
    	return nil
    }
    
    // startReader will start a reader that accepts input from r.input.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  4. internal/config/config.go

    // GetSubSys - extracts subssystem info from given config string
    func GetSubSys(s string) (subSys string, inputs []string, tgt string, e error) {
    	tgt = Default
    	if len(s) == 0 {
    		return subSys, inputs, tgt, Errorf("input arguments cannot be empty")
    	}
    	inputs = strings.SplitN(s, KvSpaceSeparator, 2)
    
    	subSystemValue := strings.SplitN(inputs[0], SubSystemSeparator, 2)
    	subSys = subSystemValue[0]
    	if !SubSystems.Contains(subSys) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2_test.go

    			// Run multiple times, shuffling the input order.
    			for i := int64(0); i < 50; i++ {
    				t.Run(fmt.Sprint(i), func(t *testing.T) {
    					rng := rand.New(rand.NewSource(i))
    					rng.Shuffle(len(test.input), func(i, j int) {
    						test.input[i], test.input[j] = test.input[j], test.input[i]
    					})
    					got := mergeXLV2Versions(test.quorum, true, 0, test.input...)
    					if !reflect.DeepEqual(test.want, got) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  6. internal/config/compress/compress_test.go

    	testCases := []struct {
    		str              string
    		expectedPatterns []string
    		success          bool
    	}{
    		// invalid input
    		{",,,", []string{}, false},
    		{"", []string{}, false},
    		{",", []string{}, false},
    		{"/", []string{}, false},
    		{"text/*,/", []string{}, false},
    
    		// valid input
    		{".txt,.log", []string{".txt", ".log"}, true},
    		{"text/*,application/json", []string{"text/*", "application/json"}, true},
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  7. docs/bigdata/README.md

    Add the following optimal entries for `hive-site.xml` to configure Hive with **MinIO**.
    
    ```
    hive.blobstore.use.blobstore.as.scratchdir=true
    hive.exec.input.listing.max.threads=50
    hive.load.dynamic.partitions.thread=25
    hive.metastore.fshandler.threads=50
    hive.mv.files.threads=40
    mapreduce.input.fileinputformat.list-status.num-threads=50
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  8. internal/config/errors.go

    	)
    	ErrInvalidBatchKeyRotationWorkersWait = newErrFn(
    		"Invalid value for batch key rotation workers wait",
    		"Please input a non-negative duration",
    		"keyrotation_workers_wait should be > 0ms",
    	)
    	ErrInvalidBatchReplicationWorkersWait = newErrFn(
    		"Invalid value for batch replication workers wait",
    		"Please input a non-negative duration",
    		"replication_workers_wait should be > 0ms",
    	)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. internal/s3select/sql/stringfuncs_test.go

    import (
    	"testing"
    )
    
    func TestEvalSQLLike(t *testing.T) {
    	dropCases := []struct {
    		input, resultExpected string
    		matchExpected         bool
    	}{
    		{"", "", false},
    		{"a", "", true},
    		{"ab", "b", true},
    		{"தமிழ்", "மிழ்", true},
    	}
    
    	for i, tc := range dropCases {
    		res, ok := dropRune(tc.input)
    		if res != tc.resultExpected || ok != tc.matchExpected {
    			t.Errorf("DropRune Case %d failed", i)
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  10. cmd/s3-zip-handlers.go

    func splitZipExtensionPath(input string) (zipPath, object string, err error) {
    	idx := strings.Index(input, archivePattern)
    	if idx < 0 {
    		// Should never happen
    		return "", "", errors.New("unable to parse zip path")
    	}
    	return input[:idx+len(archivePattern)-1], input[idx+len(archivePattern):], nil
    }
    
    // getObjectInArchiveFileHandler - GET Object in the archive file
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top