Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of about 10,000 for spring (0.25 sec)

  1. internal/color/color.go

    		if IsTerminal() {
    			return color.New(color.FgBlack).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	FgRed = func() func(a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed).SprintFunc()
    		}
    		return fmt.Sprint
    	}()
    
    	BgRed = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.BgRed).SprintfFunc()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/universe.go

    	Float32:       {Float32, IsFloat, "float32"},
    	Float64:       {Float64, IsFloat, "float64"},
    	Complex64:     {Complex64, IsComplex, "complex64"},
    	Complex128:    {Complex128, IsComplex, "complex128"},
    	String:        {String, IsString, "string"},
    	UnsafePointer: {UnsafePointer, 0, "Pointer"},
    
    	UntypedBool:    {UntypedBool, IsBoolean | IsUntyped, "untyped bool"},
    	UntypedInt:     {UntypedInt, IsInteger | IsUntyped, "untyped int"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/go/types/universe.go

    	Float32:       {Float32, IsFloat, "float32"},
    	Float64:       {Float64, IsFloat, "float64"},
    	Complex64:     {Complex64, IsComplex, "complex64"},
    	Complex128:    {Complex128, IsComplex, "complex128"},
    	String:        {String, IsString, "string"},
    	UnsafePointer: {UnsafePointer, 0, "Pointer"},
    
    	UntypedBool:    {UntypedBool, IsBoolean | IsUntyped, "untyped bool"},
    	UntypedInt:     {UntypedInt, IsInteger | IsUntyped, "untyped int"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. src/internal/fmtsort/sort_test.go

    type sortTest struct {
    	data  any    // Always a map.
    	print string // Printed result using our custom printer.
    }
    
    var sortTests = []sortTest{
    	{
    		map[int]string{7: "bar", -3: "foo"},
    		"-3:foo 7:bar",
    	},
    	{
    		map[uint8]string{7: "bar", 3: "foo"},
    		"3:foo 7:bar",
    	},
    	{
    		map[string]string{"7": "bar", "3": "foo"},
    		"3:foo 7:bar",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. pkg/log/scope.go

    //
    // Scope names cannot include colons, commas, or periods.
    func RegisterScope(name string, description string) *Scope {
    	// We only allow internal callers to set callerSkip
    	return registerScope(name, description, 0)
    }
    
    func registerScope(name string, description string, callerSkip int) *Scope {
    	if strings.ContainsAny(name, ":,.") {
    		panic(fmt.Sprintf("scope name %s is invalid, it cannot contain colons, commas, or periods", name))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 16:47:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. internal/logger/console.go

    	if msg != "" {
    		message = fmt.Sprintf(msg, args...)
    	} else {
    		message = fmt.Sprint(args...)
    	}
    	logJSON, err := json.Marshal(&log.Entry{
    		Level:   ErrorKind,
    		Message: message,
    		Time:    time.Now().UTC(),
    		Trace:   &log.Trace{Message: message, Source: []string{getSource(6)}},
    	})
    	if err != nil {
    		panic(err)
    	}
    	fmt.Fprintln(Output, string(logJSON))
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. pkg/util/sets/set_test.go

    			expected: []string{"a1", "a2", "a3", "a4"},
    		},
    	}
    
    	for _, tc := range cases {
    		got := tc.s1.Merge(tc.s2)
    		assert.Equal(t, tc.expected, SortedList(got))
    	}
    }
    
    func TestInsertAll(t *testing.T) {
    	tests := []struct {
    		name  string
    		s     Set[string]
    		items []string
    		want  Set[string]
    	}{
    		{
    			name:  "insert new item",
    			s:     New("a1", "a2"),
    			items: []string{"a3"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. pkg/util/smallset/smallset_test.go

    	items1000 := []string{}
    	for i := 0; i < 1000; i++ {
    		items1000 = append(items1000, fmt.Sprint(i))
    	}
    	items100 := []string{}
    	for i := 0; i < 100; i++ {
    		items100 = append(items100, fmt.Sprint(i))
    	}
    	items2 := []string{}
    	for i := 0; i < 2; i++ {
    		items2 = append(items2, fmt.Sprint(i))
    	}
    	b.Run("Set", func(b *testing.B) {
    		set1000 := sets.New(items1000...)
    		set100 := sets.New(items100...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. operator/cmd/mesh/install.go

    	var b strings.Builder
    	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)
  10. operator/cmd/mesh/manifest-generate.go

    	// Filter is the list of components to render
    	Filter []string
    }
    
    var kubeClientFunc func() (kube.CLIClient, error)
    
    func (a *ManifestGenerateArgs) String() string {
    	var b strings.Builder
    	b.WriteString("InFilenames:   " + fmt.Sprint(a.InFilenames) + "\n")
    	b.WriteString("OutFilename:   " + a.OutFilename + "\n")
    	b.WriteString("Set:           " + fmt.Sprint(a.Set) + "\n")
    	b.WriteString("Force:         " + fmt.Sprint(a.Force) + "\n")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top