Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for border (0.17 sec)

  1. cmd/erasure-common.go

    				return errDiskNotFound
    			}
    			return disks[index].ReadMultiple(ctx, req, resps[index])
    		}, index)
    	}
    
    	dataArray := make([]ReadMultipleResp, 0, len(req.Files))
    	// Merge results. They should come in order from each.
    	for _, wantFile := range req.Files {
    		quorum := 0
    		toAdd := ReadMultipleResp{
    			Bucket: req.Bucket,
    			Prefix: req.Prefix,
    			File:   wantFile,
    		}
    		for i := range resps {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/erasure-sets_test.go

    		{"SHØRT", 49},
    		{"There are far too many object names, and far too few bucket names!", 8},
    		{"a/b/c/", 159},
    		{"/a/b/c", 96},
    		{string([]byte{0xff, 0xfe, 0xfd}), 147},
    	}
    
    	// Tests hashing order to be consistent.
    	for i, testCase := range testCases {
    		if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/debugging/hash-set/main.go

    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    func hashOrder(key string, cardinality int) []int {
    	if cardinality <= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  4. docs/ftp/README.md

    it supports the server-sig-algs extension. Order is irrelevant.
    
    Valid values
    ```
    ssh-ed25519
    ******@****.***
    ******@****.***
    ecdsa-sha2-nistp256
    ecdsa-sha2-nistp384
    ecdsa-sha2-nistp521
    rsa-sha2-256
    rsa-sha2-512
    ssh-rsa
    ssh-dss
    ```
    
    `--sftp=kex-algos=...` specifies the supported key-exchange algorithms in preference order.
    
    Valid values: 
    
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. internal/handlers/proxy.go

    	protoRegex = regexp.MustCompile(`(?i)^(;|,| )+(?:proto=)(https|http)`)
    )
    
    // GetSourceScheme retrieves the scheme from the X-Forwarded-Proto and RFC7239
    // Forwarded headers (in that order).
    func GetSourceScheme(r *http.Request) string {
    	var scheme string
    
    	// Retrieve the scheme from X-Forwarded-Proto.
    	if proto := r.Header.Get(xForwardedProto); proto != "" {
    		scheme = strings.ToLower(proto)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. internal/disk/fdatasync_linux.go

    package disk
    
    import (
    	"os"
    	"syscall"
    
    	"golang.org/x/sys/unix"
    )
    
    // Fdatasync - fdatasync() is similar to fsync(), but does not flush modified metadata
    // unless that metadata is needed in order to allow a subsequent data retrieval
    // to  be  correctly  handled.   For example, changes to st_atime or st_mtime
    // (respectively, time of last access and time of last modification; see inode(7))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 29 23:40:28 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  7. internal/lock/lock_windows.go

    		lockType = 0 // Set this to enable shared lock.
    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // fixLongPath returns the extended-length (\\?\-prefixed) form of
    // path when needed, in order to avoid the default 260 character file
    // path limit imposed by Windows. If path is not easily converted to
    // the extended-length form (for example, if path is a relative path
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  8. internal/config/help.go

    	// exposed by the server
    	Secret bool `json:"-"`
    
    	// Indicates if sub-sys supports multiple targets.
    	MultipleTargets bool `json:"multipleTargets"`
    }
    
    // HelpKVS - implement order of keys help messages.
    type HelpKVS []HelpKV
    
    // Lookup - lookup a key from help kvs.
    func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) {
    	for _, hkv := range hkvs {
    		if hkv.Key == key {
    			return hkv, true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. cmd/consolelogger.go

    		if p != nil {
    			lg, ok := p.(log.Info)
    			if ok && lg.SendLog(node, logKind) {
    				lastN[cnt%last] = lg
    				cnt++
    			}
    		}
    	})
    	sys.RUnlock()
    	// send last n console log messages in order filtered by node
    	if cnt > 0 {
    		for i := 0; i < last; i++ {
    			entry := lastN[(cnt+i)%last]
    			if (entry == log.Info{}) {
    				continue
    			}
    			select {
    			case subCh <- entry:
    			case <-doneCh:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  10. docs/debugging/inspect/export.go

    	}
    	return versions, buf, nil
    }
    
    // decodeVersions will decode a number of versions from a buffer
    // and perform a callback for each version in order, newest first.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := 0; i < versions; i++ {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
Back to top