Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 322 for sprint (0.41 sec)

  1. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    			_, _ = fmt.Fprintln(&b, "COMMIT")
    		}
    	}
    	return b.String()
    }
    
    func (rb *IptablesRuleBuilder) buildRestore(rules []*Rule) string {
    	tableRulesMap := map[string][]string{
    		constants.FILTER: {},
    		constants.NAT:    {},
    		constants.MANGLE: {},
    	}
    
    	chainTableLookupMap := sets.New[string]()
    	for _, r := range rules {
    		chainTable := fmt.Sprintf("%s:%s", r.chain, r.table)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. pkg/envoy/proxy.go

    	"istio.io/istio/pkg/log"
    )
    
    type envoy struct {
    	ProxyConfig
    	extraArgs []string
    }
    
    // Envoy binary flags
    type ProxyConfig struct {
    	LogLevel          string
    	ComponentLogLevel string
    	NodeIPs           []string
    	Sidecar           bool
    	LogAsJSON         bool
    	OutlierLogPath    string
    
    	BinaryPath    string
    	ConfigPath    string
    	ConfigCleanup bool
    	AdminPort     int32
    	DrainDuration *durationpb.Duration
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    		}
    
    		diag := analysis.Diagnostic{
    			Pos:     n.Pos(),
    			Message: fmt.Sprintf("conversion from %s to %s yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)", source, target),
    		}
    
    		if convertibleToRune {
    			diag.SuggestedFixes = []analysis.SuggestedFix{
    				{
    					Message: "Did you mean to convert a rune to a string?",
    					TextEdits: []analysis.TextEdit{
    						{
    							Pos:     arg.Pos(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/iter/pull_test.go

    	// that other goroutines run, so that they reach a stable point.
    	// It's not guaranteed, because it is still possible for a goroutine
    	// to Gosched back into itself, so we require NumGoroutine to be
    	// the same 100 times in a row. This should be more than enough to
    	// ensure all goroutines get a chance to run to completion (or to
    	// some block point) for a small group of test goroutines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    	if opts != nil {
    		tr.Custom = map[string]string{
    			"dry":    fmt.Sprint(opts.DryRun),
    			"remove": fmt.Sprint(opts.Remove),
    			"mode":   fmt.Sprint(opts.ScanMode),
    		}
    		if result != nil {
    			tr.Custom["version-id"] = result.VersionID
    			tr.Custom["disks"] = strconv.Itoa(result.DiskCount)
    			tr.Bytes = result.ObjectSize
    		}
    	}
    	if err != nil {
    		tr.Error = err.Error()
    	}
    	tr.HealResult = result
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.8K bytes
    - Viewed (0)
  6. src/hash/crc32/crc32_test.go

    	return func(b *testing.B) {
    		for _, size := range []int{15, 40, 512, 1 << 10, 4 << 10, 32 << 10} {
    			name := fmt.Sprint(size)
    			if size >= 1024 {
    				name = fmt.Sprintf("%dkB", size/1024)
    			}
    			b.Run("size="+name, func(b *testing.B) {
    				for align := 0; align <= 1; align++ {
    					b.Run(fmt.Sprintf("align=%d", align), func(b *testing.B) {
    						benchmark(b, h, int64(size), int64(align))
    					})
    				}
    			})
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    // transformMetaDir will transform a directory to prefix/file.ext
    func (i *scannerItem) transformMetaDir() {
    	split := strings.Split(i.prefix, SlashSeparator)
    	if len(split) > 1 {
    		i.prefix = pathJoin(split[:len(split)-1]...)
    	} else {
    		i.prefix = ""
    	}
    	// Object name is last element
    	i.objectName = split[len(split)-1]
    }
    
    var (
    	applyActionsLogPrefix        = color.Green("applyActions:")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/go/printer/printer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// print the original package
    	var buf bytes.Buffer
    	err = Fprint(&buf, fset, f)
    	if err != nil {
    		t.Fatal(err)
    	}
    	original := buf.String()
    
    	// now remove parentheses from the declaration
    	for i := 0; i != len(f.Decls); i++ {
    		f.Decls[i].(*ast.GenDecl).Lparen = token.NoPos
    	}
    	buf.Reset()
    	err = Fprint(&buf, fset, f)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    mapping:
    	for _, m := range p.Mapping {
    		var noVolumeFile string
    		var baseName string
    		var dirName string
    		if m.File != "" {
    			noVolumeFile = strings.TrimPrefix(m.File, filepath.VolumeName(m.File))
    			baseName = filepath.Base(m.File)
    			dirName = filepath.Dir(noVolumeFile)
    		}
    
    		for _, path := range filepath.SplitList(searchPath) {
    			var fileNames []string
    			if m.BuildID != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    		cum += n.Cum
    	}
    	return
    }
    
    func (n *Node) addSample(dw, w int64, labels string, numLabel map[string][]int64, numUnit map[string][]string, format func(int64, string) string, flat bool) {
    	// Update sample value
    	if flat {
    		n.FlatDiv += dw
    		n.Flat += w
    	} else {
    		n.CumDiv += dw
    		n.Cum += w
    	}
    
    	// Add string tags
    	if labels != "" {
    		t := n.LabelTags.findOrAddTag(labels, "", 0)
    		if flat {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
Back to top