- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for printf (0.03 sec)
-
src/bytes/example_test.go
b.Grow(64) b.Write([]byte("abcde")) fmt.Printf("%d", b.Len()) // Output: 5 } func ExampleBuffer_Next() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) fmt.Printf("%s\n", b.Next(2)) fmt.Printf("%s\n", b.Next(2)) fmt.Printf("%s", b.Next(2)) // Output: // ab // cd // e } func ExampleBuffer_Read() { var b bytes.Buffer b.Grow(64) b.Write([]byte("abcde")) rdbuf := make([]byte, 1)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
src/cmd/api/main_test.go
if !ok { log.Printf("%s:%d: missing proposal approval\n", filename, i+1) exitCode = 1 } else { _, err := strconv.Atoi(approval) if err != nil { log.Printf("%s:%d: malformed proposal approval #%s\n", filename, i+1, approval) exitCode = 1 } } line = strings.TrimSpace(feature) } else { if strings.Contains(line, " #") {Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/cmd/asm/main.go
break } } if ok && !*flags.SymABIs { ctxt.NumberSyms() obj.WriteObjFile(ctxt, buf) } if !ok || diag { if failedFile != "" { log.Printf("assembly of %s failed", failedFile) } else { log.Print("assembly failed") } buf.Close() os.Remove(*flags.OutputFile) os.Exit(1) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Sun Apr 13 15:09:12 UTC 2025 - 2.9K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
default: a.Type = obj.TYPE_MEM } // fmt.Printf("CONST %d %s\n", a.Offset, obj.Dconv(&emptyProg, 0, a)) p.expectOperandEnd() return } // fmt.Printf("offset %d \n", a.Offset) } // Register indirection: (reg) or (index*scale). We are on the opening paren. p.registerIndirect(a, prefix) // fmt.Printf("DONE %s\n", p.arch.Dconv(&emptyProg, 0, a)) p.expectOperandEnd() returnRegistered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
.teamcity/scripts/update_wrapper_and_create_pr.sh
-w "\n%{http_code}" \ 2>/dev/null) local http_code=$(echo "$response" | tail -n1) local body=$(echo "$response" | head -n -1) if [[ "$http_code" -ge 400 ]]; then printf "Error: HTTP %s - %s\n" "$http_code" "$body" >&2 exit 1 fi echo "$body" } main() { WRAPPER_VERSION="${1:-}" : "${DEFAULT_BRANCH:?DEFAULT_BRANCH environment variable is required}"Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jul 29 03:20:20 UTC 2025 - 2.9K bytes - Viewed (0) -
ci/official/wheel.sh
# Copy the wheel that was just created tfrun bash -c "$TFCI_FIND_BIN ./bazel-bin/tensorflow/tools/pip_package -iname "${wheel_name}*.whl" -printf '%T+ %p\n' | sort | tail -n 1 | awk '{print \$2}' | xargs -I {} cp {} $TFCI_OUTPUT_DIR" done fi if [[ "$TFCI_ARTIFACT_STAGING_GCS_ENABLE" == 1 ]]; then # Note: -n disables overwriting previously created files.Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Mar 03 17:29:53 UTC 2025 - 3.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
next++ } // Final operand is an immediate constant. addr := p.address(operands[next]) if !p.validImmediate("GLOBL", &addr) { return } // log.Printf("GLOBL %s %d, $%d", name, flag, size) p.ctxt.GloblPos(nameAddr.Sym, addr.Offset, int(flag), p.pos()) } // asmPCData assembles a PCDATA pseudo-op. // PCDATA $2, $705
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 17:31:25 UTC 2025 - 26.2K bytes - Viewed (0) -
src/archive/zip/writer_test.go
} want, err := os.ReadFile("testdata/time-go.zip") if err != nil { t.Fatalf("unexpected ReadFile error: %v", err) } if got := buf.Bytes(); !bytes.Equal(got, want) { fmt.Printf("%x\n%x\n", got, want) t.Error("contents of time-go.zip differ") } } func TestWriterOffset(t *testing.T) { largeData := make([]byte, 1<<17) if _, err := rand.Read(largeData); err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
src/cmd/cgo/doc.go
invoking the C compiler to compile the C parts of the package. The following options are available when running cgo directly: -V Print cgo version and exit. -debug-define Debugging option. Print #defines. -debug-gcc Debugging option. Trace C compiler execution and output. -dynimport file Write list of symbols imported by file. Write to
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
if strings.HasPrefix(line, "GLOBL ") { continue } // The general form of a test input line is: // // comment // INST args [// printed form] [// hex encoding] parts := strings.Split(line, "//") printed := strings.TrimSpace(parts[0]) if printed == "" || strings.HasSuffix(printed, ":") { // empty or label continue } seq++ var hexes string switch len(parts) { default:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Mar 26 01:02:50 UTC 2025 - 11.9K bytes - Viewed (0)