- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,174 for writePtr (0.12 sec)
-
src/cmd/compile/internal/walk/switch.go
c := rttype.NewCursor(lsym, 0, rttype.InterfaceSwitch) c.Field("Cache").WritePtr(typecheck.LookupRuntimeVar("emptyInterfaceSwitchCache")) c.Field("NCases").WriteInt(int64(len(interfaceCases))) array, sizeDelta := c.Field("Cases").ModifyArray(len(interfaceCases)) for i, c := range interfaceCases { array.Elem(i).WritePtr(reflectdata.TypeLinksym(c.typ.Type())) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
lsym := types.LocalPkg.Lookup(fmt.Sprintf(".typeAssert.%d", typeAssertGen)).LinksymABI(obj.ABI0) typeAssertGen++ c := rttype.NewCursor(lsym, 0, rttype.TypeAssert) c.Field("Cache").WritePtr(typecheck.LookupRuntimeVar("emptyTypeAssertCache")) c.Field("Inter").WritePtr(reflectdata.TypeLinksym(target)) c.Field("CanFail").WriteBool(canFail) objw.Global(lsym, int32(rttype.TypeAssert.Size()), obj.LOCAL)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K 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/mdo/writer.vm
} //-- void setFileComment(String) /** * Method write. * * @param writer a writer object * @param ${rootLcapName} a ${root.name} object * @throws java.io.IOException java.io.IOException if any */ public void write(Writer writer, ${root.name} ${rootLcapName}) throws java.io.IOException { XmlSerializer serializer = new MXSerializer();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 11.5K bytes - Viewed (0) -
src/mdo/writer-stax.vm
} //-- void setStringFormatter(InputLocation.StringFormatter) #end /** * Method write. * * @param writer a writer object * @param ${rootLcapName} a ${root.name} object * @throws IOException IOException if any */ public void write(Writer writer, ${root.name} ${rootLcapName}) throws IOException, XMLStreamException { XMLOutputFactory factory = new com.ctc.wstx.stax.WstxOutputFactory();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 05 08:11:33 UTC 2023 - 20.2K bytes - Viewed (0) -
src/io/io.go
} // WriterTo is the interface that wraps the WriteTo method. // // WriteTo writes data to w until there's no more data to write or // when an error occurs. The return value n is the number of bytes // written. Any error encountered during the write is also returned. // // The Copy function uses WriterTo if available. type WriterTo interface { WriteTo(w Writer) (n int64, err error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:34:10 UTC 2024 - 21.6K bytes - Viewed (0) -
src/mime/quotedprintable/writer.go
import "io" const lineMaxLen = 76 // A Writer is a quoted-printable writer that implements [io.WriteCloser]. type Writer struct { // Binary mode treats the writer's input as pure binary and processes end of // line bytes as binary data. Binary bool w io.Writer i int line [78]byte cr bool } // NewWriter returns a new [Writer] that writes to w. func NewWriter(w io.Writer) *Writer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 3.2K 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/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/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)