Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for varint (0.19 sec)

  1. internal/s3select/sql/value_test.go

    			tests = append(tests, test{
    				name: fmt.Sprint(a.GetTypeString(), "==", b.GetTypeString()),
    				fields: fields{
    					a: *a, b: *b,
    				},
    				wantOk: i == j,
    			})
    		}
    	}
    	for i := range valueBuilders {
    		a := valueBuilders[i]()
    		for j := range altValueBuilders {
    			b := altValueBuilders[j]()
    			tests = append(tests, test{
    				name: fmt.Sprint(a.GetTypeString(), "!=", b.GetTypeString()),
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  2. internal/grid/muxclient.go

    	Msg []byte
    	Err error
    }
    
    func newMuxClient(ctx context.Context, muxID uint64, parent *Connection) *muxClient {
    	ctx, cancelFn := context.WithCancelCause(ctx)
    	return &muxClient{
    		MuxID:     muxID,
    		ctx:       ctx,
    		cancelFn:  cancelFn,
    		parent:    parent,
    		LastPong:  time.Now().Unix(),
    		BaseFlags: parent.baseFlags,
    	}
    }
    
    // roundtrip performs a roundtrip, returning the first response.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    		// For STS accounts a policy is mapped to the parent user (if a mapping exists).
    		err = store.loadMappedPolicy(ctx, cred.ParentUser, userType, false, cache.iamSTSPolicyMap)
    	case svcUser:
    		// For service accounts, the parent may be a regular (internal) IDP
    		// user or a "virtual" user (parent of an STS account).
    		//
    		// If parent is a regular user => policy mapping is done on that parent itself.
    		//
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. cmd/os_unix.go

    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    	for j > 0 && !os.IsPathSeparator(dirPath[j-1]) { // Scan backward over element.
    		j--
    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/common-main.go

    // Cancellation/timeouts are removed, so parent cancellations/timeout will
    // not propagate from parent.
    // Context values are preserved.
    // This can be used for goroutines that live beyond the parent context.
    func bgContext(parent context.Context) context.Context {
    	return bgCtx{parent: parent}
    }
    
    type bgCtx struct {
    	parent context.Context
    }
    
    func (a bgCtx) Done() <-chan struct{} {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 35.5K bytes
    - Viewed (2)
  6. docs/iam/identity-management-plugin.md

    | claims             | key-value pairs                         | Claims to be associated with the requested credentials |
    
    The keys "exp", "parent" and "sub" in the `claims` object are reserved and if present are ignored by MinIO.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 4.2K bytes
    - Viewed (0)
  7. cmd/admin-server-info.go

    		props.PoolNumbers = append(props.PoolNumbers, poolNumber)
    	}
    	sort.Ints(props.PoolNumbers)
    	props.PoolNumber = func() int {
    		if len(props.PoolNumbers) == 1 {
    			return props.PoolNumbers[0]
    		}
    		return math.MaxInt // this indicates that its unset.
    	}()
    
    	sensitive := map[string]struct{}{
    		config.EnvAccessKey:         {},
    		config.EnvSecretKey:         {},
    		config.EnvRootUser:          {},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    		return err
    	}
    
    	parentFilePath := pathutil.Dir(filePath)
    	defer func() {
    		if err != nil {
    			if volume == minioMetaTmpBucket {
    				// only cleanup parent path if the
    				// parent volume name is minioMetaTmpBucket
    				removeAll(parentFilePath)
    			}
    		}
    	}()
    
    	return s.writeAllDirect(ctx, filePath, fileSize, r, os.O_CREATE|os.O_WRONLY|os.O_EXCL, volumeDir)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. internal/rest/client.go

    	}
    
    	// Only display request header.
    	reqTrace, err := httputil.DumpRequestOut(req, false)
    	if err != nil {
    		return
    	}
    
    	// Write request to trace output.
    	_, err = fmt.Fprint(c.TraceOutput, string(reqTrace))
    	if err != nil {
    		return
    	}
    
    	// Only display response header.
    	var respTrace []byte
    
    	// For errors we make sure to dump response body as well.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

    			},
    		},
    	}
    
    	csvData := []byte(`one,two,three
    -1,foo,true
    ,bar,false
    2.5,baz,true
    `)
    
    	for i, testCase := range testTable {
    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			s3Select, err := NewS3Select(bytes.NewReader(testCase.requestXML))
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if err = s3Select.Open(newBytesRSC(csvData)); err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
Back to top