Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 179 for Input (0.15 sec)

  1. src/cmd/asm/doc.go

    		Enable spectre mitigations in list (all, ret).
    	-trimpath prefix
    		Remove prefix from recorded source file paths.
    	-v
    		Print debug output.
    
    Input language:
    
    The assembler uses mostly the same syntax for all architectures,
    the main variation having to do with addressing modes. Input is
    run through a simplified C preprocessor that implements #include,
    #define, #ifdef/endif, but not #if or ##.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    // PutObject - writes an object to least used erasure pool.
    func (z *erasureServerPools) PutObject(ctx context.Context, bucket string, object string, data *PutObjReader, opts ObjectOptions) (ObjectInfo, error) {
    	// Validate put object input args.
    	if err := checkPutObjectArgs(ctx, bucket, object); err != nil {
    		return ObjectInfo{}, err
    	}
    
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. internal/s3select/json/reader.go

    	return dstRec, nil
    }
    
    // Close - closes underlying reader.
    func (r *Reader) Close() error {
    	// Close the input.
    	err := r.readCloser.Close()
    	for range r.valueCh {
    		// Drain values so we don't leak a goroutine.
    		// Since we have closed the input, it should fail rather quickly.
    	}
    	return err
    }
    
    // NewReader - creates new JSON reader using readCloser.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 24 03:58:53 GMT 2022
    - 3K bytes
    - Viewed (0)
  4. cmd/bucket-metadata.go

    	return b.Save(ctx, objectAPI)
    }
    
    // encrypt bucket metadata if kms is configured.
    func encryptBucketMetadata(ctx context.Context, bucket string, input []byte, kmsContext kms.Context) (output, metabytes []byte, err error) {
    	if GlobalKMS == nil {
    		output = input
    		return
    	}
    
    	metadata := make(map[string]string)
    	key, err := GlobalKMS.GenerateKey(ctx, "", kmsContext)
    	if err != nil {
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/archive/tar/strconv.go

    func hasNUL(s string) bool {
    	return strings.Contains(s, "\x00")
    }
    
    // isASCII reports whether the input is an ASCII C-style string.
    func isASCII(s string) bool {
    	for _, c := range s {
    		if c >= 0x80 || c == 0x00 {
    			return false
    		}
    	}
    	return true
    }
    
    // toASCII converts the input to an ASCII C-style string.
    // This is a best effort conversion, so invalid characters are dropped.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  7. tests/scanner_valuer_test.go

    }
    
    type StringsSlice []string
    
    func (l StringsSlice) Value() (driver.Value, error) {
    	bytes, err := json.Marshal(l)
    	return string(bytes), err
    }
    
    func (l *StringsSlice) Scan(input interface{}) error {
    	switch value := input.(type) {
    	case string:
    		return json.Unmarshal([]byte(value), l)
    	case []byte:
    		return json.Unmarshal(value, l)
    	default:
    		return errors.New("not supported")
    	}
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSetIndex(input string) int {
    	return hashKey(s.distributionAlgo, input, len(s.sets), s.deploymentID)
    }
    
    // Returns always a same erasure coded set for a given input.
    func (s *erasureSets) getHashedSet(input string) (set *erasureObjects) {
    	return s.sets[s.getHashedSetIndex(input)]
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  9. src/bufio/bufio.go

    	ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune")
    	ErrBufferFull        = errors.New("bufio: buffer full")
    	ErrNegativeCount     = errors.New("bufio: negative count")
    )
    
    // Buffered input.
    
    // Reader implements buffering for an io.Reader object.
    type Reader struct {
    	buf          []byte
    	rd           io.Reader // reader provided by the client
    	r, w         int       // buf read and write positions
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.1K bytes
    - Viewed (0)
Back to top