Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 4,217 for fmtE (0.1 sec)

  1. pkg/config/analysis/analyzers/util/find_errorline_utils_test.go

    	constantsPath := []string{
    		fmt.Sprintf(DestinationHost, "test", 0, 0),
    		fmt.Sprintf(MirrorHost, 0),
    		fmt.Sprintf(VSGateway, 0),
    		fmt.Sprintf(URISchemeMethodAuthorityRegexMatch, 0, 0, "test"),
    		fmt.Sprintf(HeaderAndQueryParamsRegexMatch, 0, 0, "test", "test"),
    		fmt.Sprintf(AllowOriginsRegexMatch, 0, 0),
    		fmt.Sprintf(WorkloadSelector, "test"),
    		fmt.Sprintf(PortInPorts, 0),
    		fmt.Sprintf(FromRegistry, "test", 0),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. test/abi/named_results.go

    	a, b, c := 1, 4, 16
    	x := F(&a, &b, &c)
    	fmt.Printf("x = %d\n", x)
    
    	y := H("Hello", "World!")
    	fmt.Println("len(y) =", len(y))
    	fmt.Println("y =", y)
    	z := H("Hello", "Pal!")
    	fmt.Println("len(z) =", len(z))
    	fmt.Println("z =", z)
    
    	fmt.Println()
    
    	y = K("Hello", "World!")
    	fmt.Println("len(y) =", len(y))
    	fmt.Println("y =", y)
    	z = K("Hello", "Pal!")
    	fmt.Println("len(z) =", len(z))
    	fmt.Println("z =", z)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/mkbuiltin.go

    	fmt.Fprintln(&b)
    	fmt.Fprintln(&b, "package typecheck")
    	fmt.Fprintln(&b)
    	fmt.Fprintln(&b, `import (`)
    	fmt.Fprintln(&b, `      "cmd/compile/internal/types"`)
    	fmt.Fprintln(&b, `      "cmd/internal/src"`)
    	fmt.Fprintln(&b, `)`)
    
    	fmt.Fprintln(&b, `
    // Not inlining this function removes a significant chunk of init code.
    //go:noinline
    func newSig(params, results []*types.Field) *types.Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/duration/duration.go

    		if m == 0 {
    			return fmt.Sprintf("%dh", hours)
    		}
    		return fmt.Sprintf("%dh%dm", hours, m)
    	} else if hours < 48 {
    		return fmt.Sprintf("%dh", hours)
    	} else if hours < 24*8 {
    		h := hours % 24
    		if h == 0 {
    			return fmt.Sprintf("%dd", hours/24)
    		}
    		return fmt.Sprintf("%dd%dh", hours/24, h)
    	} else if hours < 24*365*2 {
    		return fmt.Sprintf("%dd", hours/24)
    	} else if hours < 24*365*8 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 29 09:44:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/internal/pgo/deserialize.go

    			if err := scanner.Err(); err != nil {
    				return nil, fmt.Errorf("error reading preprocessed profile: %w", err)
    			}
    			return nil, fmt.Errorf("preprocessed profile entry missing callee")
    		}
    		calleeName := scanner.Text()
    
    		if !scanner.Scan() {
    			if err := scanner.Err(); err != nil {
    				return nil, fmt.Errorf("error reading preprocessed profile: %w", err)
    			}
    			return nil, fmt.Errorf("preprocessed profile entry missing weight")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/math/big/floatexample_test.go

    	// +Inf  +Inf    0
    }
    
    func ExampleRoundingMode() {
    	operands := []float64{2.6, 2.5, 2.1, -2.1, -2.5, -2.6}
    
    	fmt.Print("   x")
    	for mode := big.ToNearestEven; mode <= big.ToPositiveInf; mode++ {
    		fmt.Printf("  %s", mode)
    	}
    	fmt.Println()
    
    	for _, f64 := range operands {
    		fmt.Printf("%4g", f64)
    		for mode := big.ToNearestEven; mode <= big.ToPositiveInf; mode++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/internal/fuzz/encoding.go

    			if utf8.ValidRune(t) {
    				fmt.Fprintf(b, "rune(%q)\n", t)
    			} else {
    				fmt.Fprintf(b, "int32(%v)\n", t)
    			}
    		case byte: // uint8
    			// For bytes, we arbitrarily prefer the character interpretation.
    			// (Every byte has a valid character encoding.)
    			fmt.Fprintf(b, "byte(%q)\n", t)
    		case []byte: // []uint8
    			fmt.Fprintf(b, "[]byte(%q)\n", t)
    		default:
    			panic(fmt.Sprintf("unsupported type: %T", t))
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/validation/validation.go

    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: systemCgroups (--system-cgroups) was specified and cgroupRoot (--cgroup-root) was not specified"))
    	}
    	if kc.EventBurst < 0 {
    		allErrors = append(allErrors, fmt.Errorf("invalid configuration: eventBurst (--event-burst) %v must not be a negative number", kc.EventBurst))
    	}
    	if kc.EventRecordQPS < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/syscall/mkasm.go

    		if !trampolines[fn] {
    			trampolines[fn] = true
    			fmt.Fprintf(&out, "TEXT ยท%s_trampoline(SB),NOSPLIT,$0-0\n", fn)
    			if goos == "openbsd" && arch == "ppc64" {
    				fmt.Fprintf(&out, "\tCALL\t%s(SB)\n", fn)
    				fmt.Fprintf(&out, "\tRET\n")
    			} else {
    				fmt.Fprintf(&out, "\tJMP\t%s(SB)\n", fn)
    			}
    		}
    	}
    	err = os.WriteFile(fmt.Sprintf("zsyscall_%s_%s.s", goos, arch), out.Bytes(), 0644)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/numcpu_freebsd.go

    		// SMP mode deactivated in kernel.
    		fmt.Println("OK")
    		return
    	}
    
    	list, err := getList()
    	if err != nil {
    		fmt.Printf("%s\n", err)
    		return
    	}
    	err = checkNCPU(list)
    	if err != nil {
    		fmt.Printf("%s\n", err)
    		return
    	}
    	if len(list) >= 2 {
    		err = checkNCPU(list[:len(list)-1])
    		if err != nil {
    			fmt.Printf("%s\n", err)
    			return
    		}
    	}
    	fmt.Println("OK")
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:09:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top