Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for Input (0.15 sec)

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

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun Apr 21 19:28:08 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 21 19:28:08 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. 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 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 08 17:50:48 GMT 2024
    - 36.4K bytes
    - Viewed (0)
  5. internal/config/config.go

    		tgt = subSystemValue[1]
    	}
    
    	return subSys, inputs, tgt, e
    }
    
    // kvFields - converts an input string of form "k1=v1 k2=v2" into
    // fields of ["k1=v1", "k2=v2"], the tokenization of each `k=v`
    // happens with the right number of input keys, if keys
    // input is empty returned value is empty slice as well.
    func kvFields(input string, keys []string) []string {
    	valueIndexes := make([]int, 0, len(keys))
    	for _, key := range keys {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K 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 21 19:28:08 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 21 19:28:08 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 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. internal/s3select/json/preader.go

    type PReader struct {
    	args        *ReaderArgs
    	readCloser  io.ReadCloser   // raw input
    	buf         *bufio.Reader   // input to the splitter
    	current     []jstream.KVS   // current block of results to be returned
    	recordsRead int             // number of records read in current slice
    	input       chan *queueItem // input for workers
    	queue       chan *queueItem // output from workers in order
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/transition_test.go

    import (
    	"encoding/xml"
    	"testing"
    )
    
    func TestTransitionUnmarshalXML(t *testing.T) {
    	trTests := []struct {
    		input string
    		err   error
    	}{
    		{
    			input: `<Transition>
    			<Days>0</Days>
    			<StorageClass>S3TIER-1</StorageClass>
    		  </Transition>`,
    			err: nil,
    		},
    		{
    			input: `<Transition>
    			<Days>1</Days>
    			<Date>2021-01-01T00:00:00Z</Date>
    			<StorageClass>S3TIER-1</StorageClass>
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Oct 01 18:58:17 GMT 2021
    - 2.3K bytes
    - Viewed (0)
Back to top