- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for writeAt (0.26 sec)
-
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/archive/tar/writer.go
"path" "slices" "strings" "time" ) // Writer provides sequential writing of a tar archive. // [Writer.WriteHeader] begins a new file with the provided [Header], // and then Writer can be treated as an io.Writer to supply that file's data. type Writer struct { w io.Writer pad int64 // Amount of padding to write after current file entry curr fileWriter // Writer for current file entry
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/internal/trace/raw/writer.go
// NewWriter creates a new byte format writer. func NewWriter(w io.Writer, v version.Version) (*Writer, error) { _, err := version.WriteHeader(w, v) return &Writer{w: w, v: v, specs: v.Specs()}, err } // WriteEvent writes a single event to the trace wire format stream. func (w *Writer) WriteEvent(e Event) error { // Check version. if e.Version != w.v {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
src/compress/lzw/writer.go
// is a *[Writer]. func NewWriter(w io.Writer, order Order, litWidth int) io.WriteCloser { return newWriter(w, order, litWidth) } func newWriter(dst io.Writer, order Order, litWidth int) *Writer { w := new(Writer) w.init(dst, order, litWidth) return w } func (w *Writer) init(dst io.Writer, order Order, litWidth int) { switch order { case LSB:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 7.9K bytes - Viewed (0) -
src/image/gif/writer.go
return i } } return -1 } // writer is a buffered writer. type writer interface { Flush() error io.Writer io.ByteWriter } // encoder encodes an image to the GIF format. type encoder struct { // w is the writer to write to. err is the first error encountered during // writing. All attempted writes after the first error become no-ops. w writer err error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0) -
src/mime/multipart/writer.go
"errors" "fmt" "io" "net/textproto" "slices" "strings" ) // A Writer generates multipart messages. type Writer struct { w io.Writer boundary string lastpart *part } // NewWriter returns a new multipart [Writer] with a random boundary, // writing to w. func NewWriter(w io.Writer) *Writer { return &Writer{ w: w, boundary: randomBoundary(), } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/EncoderExtensions.java
encoder.writeInt(array.length); writeInts(encoder, array); } public static void writeInts(Encoder encoder, int[] array) throws IOException { for (int e : array) { encoder.writeInt(e); } } public static void writeLengthPrefixedLongs(Encoder encoder, long[] array) throws IOException { encoder.writeInt(array.length);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedEncoder.java
@Override public void writeSmallLong(long value) { output.writeLong(value, true); } @Override public void writeInt(int value) { output.writeInt(value); } @Override public void writeSmallInt(int value) { output.writeInt(value, true); } @Override public void writeShort(short value) throws IOException { output.writeShort(value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 3.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)