Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 237 for RANGE (0.14 sec)

  1. cmd/erasure-sets.go

    	g := errgroup.WithNErrs(len(s.sets))
    	for index := range s.sets {
    		index := index
    		g.Go(func() error {
    			storageInfos[index] = s.sets[index].StorageInfo(ctx)
    			return nil
    		}, index)
    	}
    
    	// Wait for the go routines.
    	g.Wait()
    
    	for _, lstorageInfo := range storageInfos {
    		storageInfo.Disks = append(storageInfo.Disks, lstorageInfo.Disks...)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  2. internal/logger/logger.go

    	// as "{path#}/src/" into trimStrings
    	for _, goPathString := range goPathList {
    		trimStrings = append(trimStrings, filepath.Join(goPathString, "src")+string(filepath.Separator))
    	}
    
    	for _, goRootString := range goRootList {
    		trimStrings = append(trimStrings, filepath.Join(goRootString, "src")+string(filepath.Separator))
    	}
    
    	for _, defaultgoPathString := range defaultgoPathList {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. cmd/erasure-metadata-utils.go

    	for _, versions := range diskVersions {
    		if len(versions) > 0 {
    			diskVersionsCount[binary.BigEndian.Uint64(versions)]++
    		}
    	}
    
    	var commonVersions uint64
    	max := 0
    	for versions, count := range diskVersionsCount {
    		if max < count {
    			max = count
    			commonVersions = versions
    		}
    	}
    
    	if max >= writeQuorum {
    		for _, versions := range diskVersions {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    	s = 1 + 11 + msgp.MapHeaderSize
    	if z.LastMinute != nil {
    		for za0001, za0002 := range z.LastMinute {
    			_ = za0002
    			s += msgp.StringPrefixSize + len(za0001) + za0002.Msgsize()
    		}
    	}
    	s += 9 + msgp.MapHeaderSize
    	if z.APICalls != nil {
    		for za0003, za0004 := range z.APICalls {
    			_ = za0004
    			s += msgp.StringPrefixSize + len(za0003) + msgp.Uint64Size
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  5. cmd/iam.go

    // Prints IAM role ARNs.
    func (sys *IAMSys) printIAMRoles() {
    	if len(sys.rolesMap) == 0 {
    		return
    	}
    	var arns []string
    	for arn := range sys.rolesMap {
    		arns = append(arns, arn.String())
    	}
    	sort.Strings(arns)
    	msgs := make([]string, 0, len(arns))
    	for _, arn := range arns {
    		msgs = append(msgs, color.Bold(arn))
    	}
    
    	logger.Info(fmt.Sprintf("%s %s", color.Blue("IAM Roles:"), strings.Join(msgs, " ")))
    }
    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)
  6. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	w := c.tabwriter()
    	d := c.ztunnelDump
    	serviceNames := map[string]string{}
    	workloadNames := map[string]string{}
    	for netIP, s := range d.Services {
    		_, ip, _ := strings.Cut(netIP, "/")
    		serviceNames[ip] = s.Hostname
    	}
    	for netIP, s := range d.Workloads {
    		_, ip, _ := strings.Cut(netIP, "/")
    		workloadNames[ip] = s.Name + "." + s.Namespace
    	}
    	lookupIP := func(addr string) string {
    		if filter.Raw {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. internal/grid/grid_test.go

    	h1 := NewSingleHandler[*MSS, *MSS](handlerTest, NewMSS, NewMSS)
    	// Handles incoming requests, returns a response
    	handler1 := func(req *MSS) (resp *MSS, err *RemoteErr) {
    		resp = h1.NewResponse()
    		for k, v := range *req {
    			(*resp)[k] = v
    		}
    		return resp, nil
    	}
    	// Return error
    	h2 := NewSingleHandler[*MSS, *MSS](handlerTest2, NewMSS, NewMSS)
    	handler2 := func(req *MSS) (resp *MSS, err *RemoteErr) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk != nil {
    			wg.Add(1)
    			go func(disk StorageAPI) {
    				defer wg.Done()
    				er.cleanupStaleUploadsOnDisk(ctx, disk, expiry)
    			}(disk)
    		}
    	}
    	wg.Wait()
    }
    
    func (er erasureObjects) deleteAll(ctx context.Context, bucket, prefix string) {
    	var wg sync.WaitGroup
    	for _, disk := range er.getDisks() {
    		if disk == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/files/injection-template.yaml

          value: |
                 {{ protoToJSON .ProxyConfig }}
        - name: ISTIO_META_POD_PORTS
          value: |-
            [
            {{- $first := true }}
            {{- range $index1, $c := .Spec.Containers }}
              {{- range $index2, $p := $c.Ports }}
                {{- if (structToJSON $p) }}
                {{if not $first}},{{end}}{{ structToJSON $p }}
                {{- $first = false }}
                {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  10. manifests/charts/istio-control/istio-discovery/files/injection-template.yaml

          value: |
                 {{ protoToJSON .ProxyConfig }}
        - name: ISTIO_META_POD_PORTS
          value: |-
            [
            {{- $first := true }}
            {{- range $index1, $c := .Spec.Containers }}
              {{- range $index2, $p := $c.Ports }}
                {{- if (structToJSON $p) }}
                {{if not $first}},{{end}}{{ structToJSON $p }}
                {{- $first = false }}
                {{- end }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 23.7K bytes
    - Viewed (1)
Back to top