Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for Turing (0.86 sec)

  1. internal/bucket/lifecycle/action_string.go

    var _Action_index = [...]uint8{0, 10, 22, 41, 57, 80, 100, 127, 150, 182, 193}
    
    func (i Action) String() string {
    	if i < 0 || i >= Action(len(_Action_index)-1) {
    		return "Action(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _Action_name[_Action_index[i]:_Action_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. cmd/warm-backend-minio.go

    	if objectSize > maxMultipartPutObjectSize {
    		err = errors.New("entity too large")
    		return
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    	// overflows during float64 to int64 conversions.
    	partSizeFlt := float64(objectSize / maxPartsCount)
    	partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize)
    
    	// Part size.
    	partSize = int64(partSizeFlt)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    func getListBucketURL(endPoint string) string {
    	return makeTestTargetURL(endPoint, "", "", url.Values{})
    }
    
    // return URL for HEAD on the bucket.
    func getHEADBucketURL(endPoint, bucketName string) string {
    	return makeTestTargetURL(endPoint, bucketName, "", url.Values{})
    }
    
    // return URL for deleting the bucket.
    func getDeleteBucketURL(endPoint, bucketName string) string {
    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. cni/pkg/nodeagent/net.go

    	// in that case, try finding the netns using procfs.
    	filter := map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	}
    	return s.scanProcForPodsAndCache(filter)
    }
    
    func (s *NetServer) getOrOpenNetns(pod *corev1.Pod, netNs string) (Netns, error) {
    	if netNs == "" {
    		return s.getNetns(pod)
    	}
    	return s.openNetns(pod, netNs)
    }
    
    func (s *NetServer) openNetns(pod *corev1.Pod, netNs string) (Netns, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  5. cmd/site-replication.go

    	}
    	info.BucketStats = make(map[string]map[string]madmin.SRBucketStatsSummary, len(sinfo.Sites))
    	info.PolicyStats = make(map[string]map[string]madmin.SRPolicyStatsSummary)
    	info.UserStats = make(map[string]map[string]madmin.SRUserStatsSummary)
    	info.GroupStats = make(map[string]map[string]madmin.SRGroupStatsSummary)
    	info.ILMExpiryStats = make(map[string]map[string]madmin.SRILMExpiryStatsSummary)
    	numSites := len(info.Sites)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. utils/utils.go

    // NestedRelationName nested relationships like `Manager__Company`
    func NestedRelationName(prefix, name string) string {
    	return prefix + nestedRelationSplit + name
    }
    
    // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
    func SplitNestedRelationName(name string) []string {
    	return strings.Split(name, nestedRelationSplit)
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/pod_cache.go

    func (p *podNetnsCache) Take(uid string) Netns {
    	// lock current pod map
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	if ns, ok := p.currentPodCache[uid]; ok {
    		delete(p.currentPodCache, uid)
    		// already in cache
    		return ns.Netns
    	}
    
    	return nil
    }
    
    func openNetnsInRoot(hostMountsPath string) func(nspath string) (NetnsCloser, error) {
    	return func(nspath string) (NetnsCloser, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    						Extensions: make(map[string]string),
    					}, nil
    				}
    				if subtle.ConstantTimeCompare([]byte(sa.Credentials.SecretKey), pass) == 1 {
    					return &ssh.Permissions{
    						CriticalOptions: map[string]string{
    							"accessKey": c.User(),
    						},
    						Extensions: make(map[string]string),
    					}, nil
    				}
    				return nil, errAuthentication
    			}
    
    			ui, ok := globalIAMSys.GetUser(context.Background(), c.User())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    	}
    	return nil
    }
    
    type webhookAnalysis struct {
    	Name     string
    	Revision string
    	Injected bool
    	Reason   string
    }
    
    func analyzeRunningWebhooks(whs []admitv1.MutatingWebhookConfiguration, podLabels, nsLabels map[string]string) []webhookAnalysis {
    	results := make([]webhookAnalysis, 0)
    	for _, mwc := range whs {
    		if !isIstioWebhook(&mwc) {
    			continue
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    }
    
    func getResourceKey(name MetricName, labels map[string]string) string {
    	// labels are used to uniquely identify a metric
    	// e.g. reads_per_sec_{drive} inside the map
    	sfx := ""
    	for _, v := range labels {
    		if len(sfx) > 0 {
    			sfx += "_"
    		}
    		sfx += v
    	}
    
    	return string(name) + "_" + sfx
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
Back to top