- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for writeAt (0.31 sec)
-
src/os/os_test.go
} b[len(b)-1] = '\n' n, err := Stdout.Write(b) if err != nil { t.Fatalf("Write to os.Stdout failed: %v", err) } if n != len(b) { t.Errorf("Write to os.Stdout should return %d; got %d", len(b), n) } n, err = Stderr.Write(b) if err != nil { t.Fatalf("Write to os.Stderr failed: %v", err) } if n != len(b) { t.Errorf("Write to os.Stderr should return %d; got %d", len(b), n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
if cap(buf) < len(buf)+20 { b := make([]byte, len(buf), 20+cap(buf)*2) copy(b, buf) buf = b } writeAt := len(buf) buf = buf[0 : len(buf)+ctxt.Arch.PtrSize] writePtr(ctxt, buf[writeAt:], word) return buf } // Write a pointer-sized uint to the beginning of buf. func writePtr(ctxt *obj.Link, buf []byte, word uint64) { switch ctxt.Arch.PtrSize { case 4:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
out.Write32(uint32(e.Paddr)) out.Write32(uint32(e.Filesz)) out.Write32(uint32(e.Memsz)) out.Write32(uint32(e.Flags)) out.Write32(uint32(e.Align)) } func elf64shdr(out *OutBuf, e *ElfShdr) { out.Write32(e.Name) out.Write32(uint32(e.Type)) out.Write64(uint64(e.Flags)) out.Write64(e.Addr) out.Write64(e.Off) out.Write64(e.Size) out.Write32(e.Link) out.Write32(e.Info) out.Write64(e.Addralign)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
case objabi.R_ADDRPOWER: out.Write64(uint64(elf.R_PPC64_ADDR16_HA) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) out.Write64(uint64(sectoff + 4)) out.Write64(uint64(elf.R_PPC64_ADDR16_LO) | uint64(elfsym)<<32) case objabi.R_ADDRPOWER_DS: out.Write64(uint64(elf.R_PPC64_ADDR16_HA) | uint64(elfsym)<<32) out.Write64(uint64(r.Xadd)) out.Write64(uint64(sectoff + 4))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_test.go
} p.PodSandboxStatus.Id = strings.ReplaceAll(string(uuid.NewUUID()), "-", "") return p } func makeFakeContainer(sandbox *critest.FakePodSandbox, name string, attempt uint32, terminated bool) *critest.FakeContainer { sandboxID := sandbox.PodSandboxStatus.Id c := &critest.FakeContainer{ SandboxID: sandboxID, ContainerStatus: runtimeapi.ContainerStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
Scope root = Scope::NewRootScope().ExitOnError(); Node* write_0 = MakeWrite(root, "W0"); Node* neutral_0 = MakeNeutral(root, "N0"); Node* read_0 = MakeRead(root, "R0"); Node* write_1 = MakeWrite(root, "W1"); Node* neutral_1 = MakeNeutral(root, "N1"); Node* read_1 = MakeRead(root, "R1"); root.graph()->AddControlEdge(write_0, neutral_0); root.graph()->AddControlEdge(neutral_0, read_0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
cmd/bucket-replication-utils_gen.go
return } // write "rc" err = en.Append(0xa2, 0x72, 0x63) if err != nil { return } err = en.WriteInt(za0002.RetryCount) if err != nil { err = msgp.WrapError(err, "Entries", za0001, "RetryCount") return } } // write "v" err = en.Append(0xa1, 0x76) if err != nil { return } err = en.WriteInt(z.Version) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 61.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/xcoff.go
return off } // write writes string table t into the output file. func (t *xcoffStringTable) write(out *OutBuf) { out.Write32(uint32(t.size())) for _, s := range t.strings { out.WriteString(s) out.Write8(0) } } // write writes XCOFF section sect into the output file. func (sect *XcoffScnHdr64) write(ctxt *Link) { binary.Write(ctxt.Out, binary.BigEndian, sect)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/net/http/transport.go
defer cancel() didReadResponse := make(chan struct{}) // closed after CONNECT write+read is done or fails var ( resp *Response err error // write or read error ) // Write the CONNECT request & read the response. go func() { defer close(didReadResponse) err = connectReq.Write(conn) if err != nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
* concurrently readable hash table. The map supports non-blocking reads and concurrent writes * across different segments. * * The page replacement algorithm's data structures are kept casually consistent with the map. The * ordering of writes to a segment is sequentially consistent. An update to the map and recording
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0)