- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 5,349 for fmtB (0.04 sec)
-
test/convinline.go
for _, x := range inputs { code := fmt.Sprintf("%s_to_%s(%s)", t1, t2, x) fmt.Fprintf(&prog, "\tv%d = %s\n", len(outputs), code) exprs = append(exprs, code) outputs = append(outputs, convert(x, t1, t2)) } } } fmt.Fprintf(&prog, ")\n\n") fmt.Fprintf(&prog, "func main() {\n\tok := true\n") for i, out := range outputs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 13:46:05 UTC 2022 - 4.7K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/list7.go
return fmt.Sprintf("%s.UXTX<<%d", regname(r), ext) } else { return fmt.Sprintf("%s.UXTX", regname(r)) } case REG_SXTB <= r && r < REG_SXTH: if ext != 0 { return fmt.Sprintf("%s.SXTB<<%d", regname(r), ext) } else { return fmt.Sprintf("%s.SXTB", regname(r)) } case REG_SXTH <= r && r < REG_SXTW: if ext != 0 { return fmt.Sprintf("%s.SXTH<<%d", regname(r), ext) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 17:56:30 UTC 2023 - 6K bytes - Viewed (0) -
test/abi/named_return_stuff.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.5K bytes - Viewed (0) -
test/strength.go
} fmt.Printf("}\n") return fmt.Sprintf("%s(%d)", n, fact) } func main() { fmt.Printf("package main\n") fmt.Printf("import \"fmt\"\n") fmt.Printf("var failed = false\n") f1 := testMul(17, 32) f2 := testMul(131, 64) fmt.Printf("func main() {\n") fmt.Println(f1) fmt.Println(f2) fmt.Printf("if failed {\n panic(\"multiplication failed\")\n}\n") fmt.Printf("}\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 08 17:28:20 UTC 2019 - 1K bytes - Viewed (0) -
src/cmd/dist/buildruntime.go
writeHeader(&buf) fmt.Fprintf(&buf, "package buildcfg\n") fmt.Fprintln(&buf) fmt.Fprintf(&buf, "import \"runtime\"\n") fmt.Fprintln(&buf) fmt.Fprintf(&buf, "const defaultGO386 = `%s`\n", go386) fmt.Fprintf(&buf, "const defaultGOAMD64 = `%s`\n", goamd64) fmt.Fprintf(&buf, "const defaultGOARM = `%s`\n", goarm) fmt.Fprintf(&buf, "const defaultGOARM64 = `%s`\n", goarm64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 01:33:19 UTC 2024 - 2.5K bytes - Viewed (0) -
src/net/url/example_test.go
if err != nil { log.Fatal(err) } fmt.Println(query) // Output: // my/cool+blog&about,stuff } func ExampleValues() { v := url.Values{} v.Set("name", "Ava") v.Add("friend", "Jess") v.Add("friend", "Sarah") v.Add("friend", "Zoe") // v.Encode() == "name=Ava&friend=Jess&friend=Sarah&friend=Zoe" fmt.Println(v.Get("name")) fmt.Println(v.Get("friend")) fmt.Println(v["friend"]) // Output: // Ava
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go
op = fmt.Sprintf("%sS", op) } else if rno >= uint16(D0) && rno <= uint16(D31) { op = fmt.Sprintf("%sD", op) } } } case FABS, FNEG, FSQRT, FRINTN, FRINTP, FRINTM, FRINTZ, FRINTA, FRINTX, FRINTI: if r, ok := inst.Args[1].(Reg); ok { rno := uint16(r) if rno >= uint16(S0) && rno <= uint16(S31) { op = fmt.Sprintf("%sS", op) } else if rno >= uint16(D0) && rno <= uint16(D31) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:24:28 UTC 2022 - 17K bytes - Viewed (0) -
tools/istio-iptables/pkg/config/config.go
var b strings.Builder b.WriteString(fmt.Sprintf("PROXY_PORT=%s\n", c.ProxyPort)) b.WriteString(fmt.Sprintf("PROXY_INBOUND_CAPTURE_PORT=%s\n", c.InboundCapturePort)) b.WriteString(fmt.Sprintf("PROXY_TUNNEL_PORT=%s\n", c.InboundTunnelPort)) b.WriteString(fmt.Sprintf("PROXY_UID=%s\n", c.ProxyUID)) b.WriteString(fmt.Sprintf("PROXY_GID=%s\n", c.ProxyGID))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 9.2K bytes - Viewed (0) -
src/encoding/binary/example_test.go
PI float64 Uate uint8 Mine [3]byte Too uint16 } if err := binary.Read(r, binary.LittleEndian, &data); err != nil { fmt.Println("binary.Read failed:", err) } fmt.Println(data.PI) fmt.Println(data.Uate) fmt.Printf("% x\n", data.Mine) fmt.Println(data.Too) // Output: // 3.141592653589793 // 255 // 01 02 03 // 61374 } func ExampleByteOrder_put() { b := make([]byte, 4)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 3.2K bytes - Viewed (0) -
src/runtime/mksizeclasses.go
fmt.Fprintf(w, "_MaxSmallSize = %d\n", maxSmallSize) fmt.Fprintf(w, "smallSizeDiv = %d\n", smallSizeDiv) fmt.Fprintf(w, "smallSizeMax = %d\n", smallSizeMax) fmt.Fprintf(w, "largeSizeDiv = %d\n", largeSizeDiv) fmt.Fprintf(w, "_NumSizeClasses = %d\n", len(classes)) fmt.Fprintf(w, "_PageShift = %d\n", pageShift) fmt.Fprintf(w, "maxObjsPerSpan = %d\n", maxObjsPerSpan(classes)) fmt.Fprintln(w, ")")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:27 UTC 2024 - 9.6K bytes - Viewed (0)