Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for alice (0.23 sec)

  1. internal/grid/types.go

    // When sent as a parameter, the caller gives up ownership of the byte slice.
    // When returned as response, the handler also gives up ownership of the byte slice.
    func NewBytesWith(b []byte) *Bytes {
    	bb := Bytes(b)
    	return &bb
    }
    
    // NewBytesWithCopyOf returns a new byte slice with a copy of the provided content.
    func NewBytesWithCopyOf(b []byte) *Bytes {
    	if b == nil {
    		bb := Bytes(nil)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/value.go

    func (v Value) ToTimestamp() (t time.Time, ok bool) {
    	t, ok = v.value.(time.Time)
    	return
    }
    
    // ToBytes returns the value if byte-slice.
    func (v Value) ToBytes() (val []byte, ok bool) {
    	val, ok = v.value.([]byte)
    	return
    }
    
    // ToArray returns the value if it is a slice of values.
    func (v Value) ToArray() (val []Value, ok bool) {
    	val, ok = v.value.([]Value)
    	return
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    			return BucketRemoteTargetNotVersioned{Bucket: tgt.TargetBucket}
    		}
    	}
    
    	// Check if target is a MinIO server and alive
    	hcCtx, cancel := context.WithTimeout(ctx, 3*time.Second)
    	scheme := "http"
    	if tgt.Secure {
    		scheme = "https"
    	}
    	result := <-sys.hcClient.Alive(hcCtx, madmin.AliveOpts{}, madmin.ServerProperties{
    		Endpoint: tgt.Endpoint,
    		Scheme:   scheme,
    	})
    
    	cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. internal/config/identity/openid/openid.go

    		// Append roleARN
    		res = append(res, madmin.IDPCfgInfo{
    			Key:   "roleARN",
    			Value: provCfg.roleArn.String(),
    			IsCfg: false,
    		})
    	}
    
    	// sort the structs by the key
    	sort.Slice(res, func(i, j int) bool {
    		return res[i].Key < res[j].Key
    	})
    
    	return res, nil
    }
    
    // GetConfigList - list openID configurations
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  5. cmd/update.go

    // https://github.com/minio/minio/issues.
    func getUserAgent(mode string) string {
    	userAgentParts := []string{}
    	// Helper function to concisely append a pair of strings to a
    	// the user-agent slice.
    	uaAppend := func(p, q string) {
    		userAgentParts = append(userAgentParts, p, q)
    	}
    	uaAppend(MinioUAName, " (")
    	uaAppend("", runtime.GOOS)
    	uaAppend("; ", runtime.GOARCH)
    	if mode != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    	}
    	defer done(&err)
    
    	w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    	return w.Run(func() error { return p.storage.Delete(ctx, volume, path, deleteOpts) })
    }
    
    // DeleteVersions deletes slice of versions, it can be same object
    // or multiple objects.
    func (p *xlStorageDiskIDCheck) DeleteVersions(ctx context.Context, volume string, versions []FileInfoVersions, opts DeleteOptions) (errs []error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/signature-v2.go

    	// Decode signature string to binary byte-sequence representation is required
    	// as Base64 encoding of a value is not unique:
    	// For example "aGVsbG8=" and "aGVsbG8=\r" will result in the same byte slice.
    	signature1, err := base64.StdEncoding.DecodeString(sig1)
    	if err != nil {
    		return false
    	}
    	signature2, err := base64.StdEncoding.DecodeString(sig2)
    	if err != nil {
    		return false
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. cmd/peer-s3-client.go

    					queued: time.Now(),
    				})
    			}
    		}
    	}
    
    	result := make([]BucketInfo, 0, len(resultMap))
    	for _, bi := range resultMap {
    		result = append(result, bi)
    	}
    
    	sort.Slice(result, func(i, j int) bool {
    		return result[i].Name < result[j].Name
    	})
    
    	return result, nil
    }
    
    // GetBucketInfo returns bucket stat info about bucket on disk across all peers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterObjectsOnly() {
    	dst := m.o[:0]
    	for _, o := range m.o {
    		if !o.isDir() {
    			dst = append(dst, o)
    		}
    	}
    	m.o = dst
    }
    
    // filterPrefixesOnly will remove objects.
    // Order is preserved, but the underlying slice is modified.
    func (m *metaCacheEntriesSorted) filterPrefixesOnly() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	// return 503 server closed error, consider it as an offline node
    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    		return true
    	// Corner case, the server closed the connection with a keep-alive timeout
    	// some requests are not retried internally, such as POST request with written body
    	case strings.Contains(err.Error(), "server closed idle connection"):
    		return true
    	}
    
    	return false
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
Back to top