Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ms (0.23 sec)

  1. internal/grid/benchmark_test.go

    					latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond)
    					b.ReportMetric(float64(n)*float64(ops)/spent.Seconds(), "vops/s")
    					b.ReportMetric(latency/float64(ops), "ms/op")
    				}
    			})
    		}
    	})
    	b.Run("rpc", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  2. operator/cmd/mesh/shared.go

    	if err != nil {
    		l.LogAndError(err)
    		return err
    	}
    	ms := name.Manifest{
    		Name:    componentName,
    		Content: manifestStr,
    	}
    	_, err = reconciler.ApplyManifest(ms)
    	return err
    }
    
    // --manifests is an alias for --set installPackagePath=
    // --revision is an alias for --set revision=
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. istioctl/pkg/util/formatting/formatter.go

    }
    
    func printLog(ms diag.Messages, colorize bool) string {
    	logOutput := make([]string, 0, len(ms))
    	for _, m := range ms {
    		logOutput = append(logOutput, render(m, colorize))
    	}
    	return strings.Join(logOutput, "\n")
    }
    
    func printJSON(ms diag.Messages) (string, error) {
    	jsonOutput, err := json.MarshalIndent(ms, "", "\t")
    	return string(jsonOutput), err
    }
    
    func printYAML(ms diag.Messages) (string, error) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    	// date field, and the offset between the times is used as the timezone.
    	// If only the MS-DOS date is present, the timezone is assumed to be UTC.
    	//
    	// When writing, an extended timestamp (which is timezone-agnostic) is
    	// always emitted. The legacy MS-DOS date field is encoded according to the
    	// location of the Modified time.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    			return []string{"UNMATCHED"}
    		}
    	case *matcher.Matcher_OnMatch_Matcher:
    		ms, f := recurse(fc.GetName(), v.Matcher)
    		if !f {
    			return []string{"NONE"}
    		}
    		return ms
    	}
    	ms, f := recurse(fc.GetName(), l.GetFilterChainMatcher())
    	if !f {
    		return []string{"NONE"}
    	}
    	return ms
    }
    
    func recurse(name string, match *matcher.Matcher) ([]string, bool) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    		fh.Flags |= 0x800
    	}
    
    	fh.CreatorVersion = fh.CreatorVersion&0xff00 | zipVersion20 // preserve compatibility byte
    	fh.ReaderVersion = zipVersion20
    
    	// If Modified is set, this takes precedence over MS-DOS timestamp fields.
    	if !fh.Modified.IsZero() {
    		// Contrary to the FileHeader.SetModTime method, we intentionally
    		// do not convert to UTC, because we assume the user intends to encode
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    	maxTransferRate    MetricName = "max_transfer_rate"
    	credentialErrors   MetricName = "credential_errors"
    
    	currLinkLatency MetricName = "current_link_latency_ms"
    	avgLinkLatency  MetricName = "average_link_latency_ms"
    	maxLinkLatency  MetricName = "max_link_latency_ms"
    
    	linkOnline                MetricName = "link_online"
    	linkOfflineDuration       MetricName = "link_offline_duration_seconds"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  8. cmd/endpoint.go

    		}
    
    		if host == "" {
    			return ep, fmt.Errorf("invalid URL endpoint format: empty host name")
    		}
    
    		// As this is path in the URL, we should use path package, not filepath package.
    		// On MS Windows, filepath.Clean() converts into Windows path style ie `/foo` becomes `\foo`
    		u.Path = path.Clean(u.Path)
    		if isEmptyPath(u.Path) {
    			return ep, fmt.Errorf("empty or root path is not supported in URL endpoint")
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    			modified = time.Unix(ts, 0)
    		}
    	}
    
    	msdosModified := msDosTimeToTime(f.ModifiedDate, f.ModifiedTime)
    	f.Modified = msdosModified
    	if !modified.IsZero() {
    		f.Modified = modified.UTC()
    
    		// If legacy MS-DOS timestamps are set, we can use the delta between
    		// the legacy and extended versions to estimate timezone offset.
    		//
    		// A non-UTC timezone is always used (even if offset is zero).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top