Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for write32 (0.12 sec)

  1. src/cmd/internal/obj/x86/seh.go

    	buf := newsehbuf(ctxt, nodes)
    	buf.write8(flags | 1)            // Flags + version
    	buf.write8(uint8(movbp.Link.Pc)) // Size of prolog
    	buf.write8(nodes)                // Count of nodes
    	buf.write8(SEH_REG_BP)           // FP register
    
    	// Notes are written in reverse order of appearance.
    	buf.write8(uint8(movbp.Link.Pc))
    	buf.writecode(UWOP_SET_FPREG, 0)
    
    	buf.write8(uint8(pushbp.Link.Pc))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/erasure-encode.go

    import (
    	"context"
    	"fmt"
    	"io"
    )
    
    // Writes to multiple writers
    type multiWriter struct {
    	writers     []io.Writer
    	writeQuorum int
    	errs        []error
    }
    
    // Write writes data to writers.
    func (p *multiWriter) Write(ctx context.Context, blocks [][]byte) error {
    	for i := range p.writers {
    		if p.errs[i] != nil {
    			continue
    		}
    		if p.writers[i] == nil {
    			p.errs[i] = errDiskNotFound
    			continue
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/hash/fnv/fnv.go

    func (s *sum64a) Sum64() uint64 { return uint64(*s) }
    
    func (s *sum32) Write(data []byte) (int, error) {
    	hash := *s
    	for _, c := range data {
    		hash *= prime32
    		hash ^= sum32(c)
    	}
    	*s = hash
    	return len(data), nil
    }
    
    func (s *sum32a) Write(data []byte) (int, error) {
    	hash := *s
    	for _, c := range data {
    		hash ^= sum32a(c)
    		hash *= prime32
    	}
    	*s = hash
    	return len(data), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/AbstractUserTypeCodecTest.kt

            val outputStream = ByteArrayOutputStream()
            writeTo(
                outputStream, graph, codec,
                object : AbstractProblemsListener() {
                    override fun onProblem(problem: PropertyProblem) {
                        println(problem)
                    }
                }
            )
            return outputStream.toByteArray()
        }
    
        private
        fun writeTo(
            outputStream: OutputStream,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

      // CHECK-SAME: _replication_info = "write", _xla_compile_device_type = "TPU"
      %0:2 = "tf_device.cluster_func"(%arg0, %arg1) {_replication_info = "write", _xla_compile_device_type = "TPU", func = @write_func} : (tensor<i32>, tensor<f32>) -> (tensor<f32>, tensor<i32>)
      // CHECK-NEXT: "tf.AssignVariableOp"([[ARG2]], [[CLUSTER]]#1)
      "tf.AssignVariableOp"(%arg2, %0#1) : (tensor<*x!tf_type.resource<tensor<i32>>>, tensor<i32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/preprofile/main.go

    	} else {
    		out, err = os.Create(outputFile)
    		if err != nil {
    			return fmt.Errorf("error creating output file: %w", err)
    		}
    		defer out.Close()
    	}
    
    	w := bufio.NewWriter(out)
    	if _, err := d.WriteTo(w); err != nil {
    		return fmt.Errorf("error writing output file: %w", err)
    	}
    
    	return nil
    }
    
    func main() {
    	objabi.AddVersionFlag()
    
    	log.SetFlags(0)
    	log.SetPrefix("preprofile: ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ReportGeneratingProfileListener.java

            File file = new File(getBuildDir(), "reports/profile/profile-" + fileDateFormat.format(new Date(buildProfile.getBuildStarted())) + ".html");
            renderer.writeTo(buildProfile, file);
            renderReportUrl(file);
        }
    
        private File getBuildDir() {
            return buildStateRegistry
                .getRootBuild()
                .getProjects()
                .getRootProject()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top