Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for remark (0.16 sec)

  1. cmd/iam.go

    	usersSysType UsersSysType
    
    	rolesMap map[arn.ARN]string
    
    	// Persistence layer for IAM subsystem
    	store *IAMStoreSys
    
    	// configLoaded will be closed and remain so after first load.
    	configLoaded chan struct{}
    }
    
    // IAMUserType represents a user type inside MinIO server
    type IAMUserType int
    
    const (
    	unknownIAMUserType IAMUserType = iota - 1
    	regUser
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. internal/grid/connection.go

    			for i := 0; i < messages; i++ {
    				if atomic.LoadUint32((*uint32)(&c.state)) != StateConnected {
    					cancel(ErrDisconnected)
    					return
    				}
    				var next []byte
    				next, remain, err = msgp.ReadBytesZC(remain)
    				if err != nil {
    					gridLogIf(ctx, fmt.Errorf("ws read merged: %w", err))
    					cancel(ErrDisconnected)
    					return
    				}
    
    				m.Payload = nil
    				subID, _, err = m.parse(next)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	for i, cache, remain := n-1, src.Int63(), letterIdxMax; i >= 0; {
    		if remain == 0 {
    			cache, remain = src.Int63(), letterIdxMax
    		}
    		if idx := int(cache & letterIdxMask); idx < len(letterBytes) {
    			b[i] = letterBytes[idx]
    			i--
    		}
    		cache >>= letterIdxBits
    		remain--
    	}
    
    	return *(*string)(unsafe.Pointer(&b))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  4. internal/rest/client.go

    func NewClient(uu *url.URL, tr http.RoundTripper, newAuthToken func(aud string) string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    	}
    	// The host's colon:port should be normalized. See Issue 14836.
    	u.Host = removeEmptyPort(u.Host)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	// All the parts per object.
    	Parts []ObjectPartInfo `msg:"parts"`
    
    	// Erasure info for all objects.
    	Erasure ErasureInfo `msg:"ei"`
    
    	MarkDeleted      bool             `msg:"md"` // mark this version as deleted
    	ReplicationState ReplicationState `msg:"rs"` // Internal replication state to be passed back in ObjectInfo
    
    	Data []byte `msg:"d,allownil"` // optionally carries object data
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    	<ScanRange><Start>76</Start><End>109</End></ScanRange>
    </SelectObjectContentRequest>`),
    		},
    		{
    			name:  "select-remain",
    			input: testInput,
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"_1":"2","_2":"2017-01-02T03:04Z","_3":"-5","_4":" 0.765111","_5":""}`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. cmd/storage-interface.go

    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    	Hostname() string
    
    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    	// Close the disk, mark it purposefully closed, only implemented for remote disks.
    	Close() error
    
    	// Returns the unique 'uuid' of this disk.
    	GetDiskID() (string, error)
    
    	// Set a unique 'uuid' for this disk, only used when
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex.go

    	// c) timed out
    	//
    	i, locksFailed := 0, 0
    	done := false
    
    	for ; i < len(restClnts); i++ { // Loop until we acquired all locks
    		select {
    		case grant := <-ch:
    			if grant.isLocked() {
    				// Mark that this node has acquired the lock
    				(*locks)[grant.index] = grant.lockUID
    			} else {
    				locksFailed++
    				if locksFailed > tolerance {
    					// We know that we are not going to get the lock anymore,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. cmd/service.go

    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    	// Use atomics for globalServiceFreeze, so we can read without locking.
    	// We need a lock since we are need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    	// If multiple calls, first one creates channel.
    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    		globalServiceFreeze.Store(make(chan struct{}))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. internal/http/dial_linux.go

    			/// Enable keep-alive
    			{
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_KEEPALIVE, 1)
    
    				// The time (in seconds) the connection needs to remain idle before
    				// TCP starts sending keepalive probes
    				_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, 15)
    
    				// Number of probes.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 4.3K bytes
    - Viewed (3)
Back to top