- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for writeAt (0.18 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) -
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) -
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)