- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,308 for gwrite (0.14 sec)
-
src/runtime/print.go
mp.printlock-- if mp.printlock == 0 { unlock(&debuglock) } } // write to goroutine-local buffer if diverting output, // or else standard error. func gwrite(b []byte) { if len(b) == 0 { return } recordForPanic(b) gp := getg() // Don't use the writebuf if gp.m is dying. We want anything // written through gwrite to appear in the terminal rather
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 20 03:27:26 UTC 2023 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir
// CHECK: %[[UPDATE:.*]] = "tf.XlaDynamicUpdateSlice"(%[[READ_GVAR]], // CHECK: "tf.AssignVariableOp"(%[[GVAR]], %[[UPDATE]]) %gwrite = "tf.TensorArrayWriteV3"(%grad#0, %sub, %elem, %grad#1) : (tensor<!tf_type.resource>, tensor<i32>, tensor<3xf32>, tensor<f32>) -> tensor<f32> "tf.Yield"(%gwrite, %sub) : (tensor<f32>, tensor<i32>) -> () }) {is_stateless = false} : (tensor<f32>, tensor<i32>) -> (tensor<f32>, tensor<i32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 49K bytes - Viewed (0) -
src/runtime/debuglog.go
l.bytes(b[:]) } //go:nosplit func (l *debugLogWriter) byte(x byte) { l.ensure(1) pos := l.write l.write++ l.data.b[pos%uint64(len(l.data.b))] = x } //go:nosplit func (l *debugLogWriter) bytes(x []byte) { l.ensure(uint64(len(x))) pos := l.write l.write += uint64(len(x)) for len(x) > 0 { n := copy(l.data.b[pos%uint64(len(l.data.b)):], x) pos += uint64(n) x = x[n:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 18.3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/write.go
func (e *encoder) Int(n int) { if n < 0 || int(int32(n)) != n { base.Fatalf("go: attempting to write an int to the index that overflows int32") } e.Uint32(uint32(n)) } func (e *encoder) IntAt(n int, at int) { if n < 0 || int(int32(n)) != n { base.Fatalf("go: attempting to write an int to the index that overflows int32") } binary.LittleEndian.PutUint32(e.b[at:], uint32(n))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 3.7K bytes - Viewed (0) -
src/compress/lzw/writer.go
return err } } else { // Write the starting clear code, as w.Write did not. clear := uint32(1) << w.litWidth if err := w.write(w, clear); err != nil { return err } } // Write the eof code. eof := uint32(1)<<w.litWidth + 1 if err := w.write(w, eof); err != nil { return err } // Write the final bits. if w.nBits > 0 { if w.order == MSB {
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/mime/quotedprintable/writer.go
} // Write encodes p using quoted-printable encoding and writes it to the // underlying [io.Writer]. It limits line length to 76 characters. The encoded // bytes are not necessarily flushed until the [Writer] is closed. func (w *Writer) Write(p []byte) (n int, err error) { for i, b := range p { switch { // Simple writes are done in batch. case b >= '!' && b <= '~' && b != '=': continue
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/mdo/writer.vm
this.fileComment = fileComment; } //-- 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/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/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)