Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Towers (0.27 sec)

  1. cmd/admin-handlers_test.go

    	}
    	return toUniqLock(b.LockEntries[i]) < toUniqLock(b.LockEntries[j])
    }
    
    func TestTopLockEntries(t *testing.T) {
    	locksHeld := make(map[string][]lockRequesterInfo)
    	var owners []string
    	for i := 0; i < 4; i++ {
    		owners = append(owners, fmt.Sprintf("node-%d", i))
    	}
    
    	// Simulate DeleteObjects of 10 objects in a single request. i.e same lock
    	// request UID, but 10 different resource names associated with it.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    // arguments.
    type SimpleArgFunc struct {
    	FunctionName string `parser:" @(\"AVG\" | \"MAX\" | \"MIN\" | \"SUM\" |  \"COALESCE\" | \"NULLIF\" | \"TO_STRING\" | \"TO_TIMESTAMP\" | \"UTCNOW\" | \"CHAR_LENGTH\" | \"CHARACTER_LENGTH\" | \"LOWER\" | \"UPPER\") "`
    
    	ArgsList []*Expression `parser:"\"(\" (@@ (\",\" @@)*)?\")\""`
    }
    
    // CountFunc represents the COUNT sql function
    type CountFunc struct {
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    	crc := hashDeterministicString(c.Meta)
    	c.Meta = nil
    
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    	// Combine upper and lower part
    	var tmp [4]byte
    	binary.LittleEndian.PutUint32(tmp[:], uint32(crc^(crc>>32)))
    	return tmp
    }
    
    // XL metadata constants.
    const (
    	// XL meta version.
    	xlMetaVersion101 = "1.0.1"
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. internal/s3select/sql/funceval.go

    	sqlFnUTCNow      FuncName = "UTCNOW"
    
    	// String
    	sqlFnCharLength      FuncName = "CHAR_LENGTH"
    	sqlFnCharacterLength FuncName = "CHARACTER_LENGTH"
    	sqlFnLower           FuncName = "LOWER"
    	sqlFnSubstring       FuncName = "SUBSTRING"
    	sqlFnTrim            FuncName = "TRIM"
    	sqlFnUpper           FuncName = "UPPER"
    )
    
    var (
    	errUnimplementedCast = errors.New("This cast not yet implemented")
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	PreserveETag                        string    // preserves this etag during a PUT call.
    	NoLock                              bool      // indicates to lower layers if the caller is expecting to hold locks.
    	ProxyRequest                        bool      // only set for GET/HEAD in active-active replication scenario
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  6. cmd/postpolicyform.go

    			if !condPassed {
    				return fmt.Errorf("Invalid according to Policy: Policy Condition failed")
    			}
    		} else if strings.HasPrefix(policy.Key, "$x-amz-meta-") || strings.HasPrefix(policy.Key, "$x-amz-") {
    			// This covers all conditions X-Amz-Meta-* and X-Amz-*
    			// Check if policy condition is satisfied
    			condPassed = checkPolicyCond(op, formValues.Get(formCanonicalName), policy.Value)
    			if !condPassed {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. cni/pkg/repair/repaircontroller.go

    	patchBytes := fmt.Sprintf(`{"metadata":{"labels":{%q:%q}}}`, c.cfg.LabelKey, c.cfg.LabelValue)
    	// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    	_, err := c.client.Kube().CoreV1().Pods(pod.Namespace).Patch(context.Background(), pod.Name, types.MergePatchType,
    		[]byte(patchBytes), metav1.PatchOptions{}, "status")
    	if err != nil {
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	}
    	// Prefer newest modtime.
    	if x.ModTime != o.ModTime {
    		return x.ModTime > o.ModTime
    	}
    
    	// The following doesn't make too much sense, but we want sort to be consistent nonetheless.
    	// Prefer lower types
    	if x.Type != o.Type {
    		return x.Type < o.Type
    	}
    	// Consistent sort on signature
    	if v := bytes.Compare(x.Signature[:], o.Signature[:]); v != 0 {
    		return v > 0
    	}
    	// On ID mismatch
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 63.2K bytes
    - Viewed (1)
  9. cni/pkg/ebpf/server/redirectionServer_linux.go

    				Handle:  1,
    				Parent:  core.BuildHandle(tc.HandleRoot, tc.HandleMinIngress),
    				// Info definition and usage could be referred from net/sched/cls_api.c 'tc_new_tfilter'
    				// higher 16bits are used as priority, lower 16bits are used as protocol
    				// refer include/net/sch_generic.h
    				// prio is define as 'u32' while protocol is '__be16'. :(
    				Info: core.BuildHandle(uint32(TcPrioFilter), uint32(htons(unix.ETH_P_ALL))),
    			},
    Go
    - Registered: Wed Jan 24 22:53:09 GMT 2024
    - Last Modified: Thu Dec 14 02:11:31 GMT 2023
    - 20K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    declarations and definitions. These may then be referred to from Go
    code as though they were defined in the package "C". All names
    declared in the preamble may be used, even if they start with a
    lower-case letter. Exception: static variables in the preamble may
    not be referenced from Go code; static functions are permitted.
    
    See $GOROOT/cmd/cgo/internal/teststdio and $GOROOT/misc/cgo/gmp for examples. See
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
Back to top