Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,541 for sprint (0.12 sec)

  1. tools/docker-builder/types.go

    	Save              bool
    	Builder           string
    	SupportsEmulation bool
    	NoClobber         bool
    	NoCache           bool
    	Targets           []string
    	Variants          []string
    	Architectures     []string
    	BaseVersion       string
    	BaseImageRegistry string
    	ProxyVersion      string
    	ZtunnelVersion    string
    	IstioVersion      string
    	Tags              []string
    	Hubs              []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 13:23:41 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. pkg/log/scope.go

    func copyStringInterfaceMap(m map[string]any) map[string]any {
    	out := make(map[string]any, len(m))
    	for k, v := range m {
    		out[k] = v
    	}
    	return out
    }
    
    func maybeSprintf(format string, args []any) string {
    	msg := format
    	if len(args) > 0 {
    		msg = fmt.Sprintf(format, args...)
    	}
    	return msg
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 16:47:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/abt/avlint32_test.go

    		}
    		if d != kle {
    			te.Errorf("d(%v) != kle(%v)", d, kle)
    		}
    		// data
    		if s != fmt.Sprint(g) {
    			te.Errorf("s(%v) != g(%v)", s, g)
    		}
    		if s != fmt.Sprint(l) {
    			te.Errorf("s(%v) != l(%v)", s, l)
    		}
    		if s != fmt.Sprint(ge) {
    			te.Errorf("s(%v) != ge(%v)", s, ge)
    		}
    		if s != fmt.Sprint(le) {
    			te.Errorf("s(%v) != le(%v)", s, le)
    		}
    	}
    
    	for _, d := range x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 16:34:41 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    	b.WriteString("InFilenames:      " + fmt.Sprint(a.InFilenames) + "\n")
    	b.WriteString("ReadinessTimeout: " + fmt.Sprint(a.ReadinessTimeout) + "\n")
    	b.WriteString("SkipConfirmation: " + fmt.Sprint(a.SkipConfirmation) + "\n")
    	b.WriteString("Force:            " + fmt.Sprint(a.Force) + "\n")
    	b.WriteString("Verify:           " + fmt.Sprint(a.Verify) + "\n")
    	b.WriteString("Set:              " + fmt.Sprint(a.Set) + "\n")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/runtime/memmove_test.go

    			total += clrLen
    		}
    		buffer := make([]byte, maxLen)
    
    		text := ""
    		if minLen >= (1 << 20) {
    			text = fmt.Sprint(minLen>>20, "M ", (maxLen+(1<<20-1))>>20, "M")
    		} else if minLen >= (1 << 10) {
    			text = fmt.Sprint(minLen>>10, "K ", (maxLen+(1<<10-1))>>10, "K")
    		} else {
    			text = fmt.Sprint(minLen, " ", maxLen)
    		}
    		b.Run(text, func(b *testing.B) {
    			b.SetBytes(int64(total))
    			for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. src/math/big/arith_test.go

    		z := make([]Word, n)
    		b.Run(fmt.Sprint(n), func(b *testing.B) {
    			b.SetBytes(int64(n * _W))
    			for i := 0; i < b.N; i++ {
    				addVV(z, x, y)
    			}
    		})
    	}
    }
    
    func BenchmarkSubVV(b *testing.B) {
    	for _, n := range benchSizes {
    		if isRaceBuilder && n > 1e3 {
    			continue
    		}
    		x := rndV(n)
    		y := rndV(n)
    		z := make([]Word, n)
    		b.Run(fmt.Sprint(n), func(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 02 14:43:52 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  7. src/context/x_test.go

    	}
    }
    
    type key1 int
    type key2 int
    
    func (k key2) String() string { return fmt.Sprintf("%[1]T(%[1]d)", k) }
    
    var k1 = key1(1)
    var k2 = key2(1) // same int as k1, different type
    var k3 = key2(3) // same type as k2, different int
    
    func TestValues(t *testing.T) {
    	check := func(c Context, nm, v1, v2, v3 string) {
    		if v, ok := c.Value(k1).(string); ok == (len(v1) == 0) || v != v1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    	defaultGateway.Annotations = map[string]string{ControllerVersionAnnotation: fmt.Sprint(1)}
    	gws.Update(defaultGateway)
    	expectReconciled()
    	assert.Equal(t, assert.ChannelHasItem(t, writes), buildPatch(ControllerVersion))
    	assert.ChannelIsEmpty(t, writes)
    	// Test fake doesn't actual do Apply, so manually do this
    	defaultGateway.Annotations = map[string]string{ControllerVersionAnnotation: fmt.Sprint(ControllerVersion)}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. src/runtime/slice_test.go

    		}
    	}
    }
    
    func BenchmarkAppendGrowString(b *testing.B) {
    	var s string
    	for i := 0; i < b.N; i++ {
    		var x []string
    		for j := 0; j < 1<<20; j++ {
    			x = append(x, s)
    		}
    	}
    }
    
    func BenchmarkAppendSlice(b *testing.B) {
    	for _, length := range []int{1, 4, 7, 8, 15, 16, 32} {
    		b.Run(fmt.Sprint(length, "Bytes"), func(b *testing.B) {
    			x := make([]byte, 0, N)
    			y := make([]byte, length)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 09:45:44 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  10. src/expvar/expvar_test.go

    	}
    
    	// colors.String() should be '{"red":3, "blue":4}',
    	// though the order of red and blue could vary.
    	s := colors.String()
    	var j any
    	err := json.Unmarshal([]byte(s), &j)
    	if err != nil {
    		t.Errorf("colors.String() isn't valid JSON: %v", err)
    	}
    	m, ok := j.(map[string]any)
    	if !ok {
    		t.Error("colors.String() didn't produce a map.")
    	}
    	red := m["red"]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top