Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 438 for gwrite (0.54 sec)

  1. 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)
  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/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)
  4. 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)
  5. buildscripts/rewrite-old-new.sh

    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${WORK_DIR}/mc" mb minio/healing-rewrite-bucket --quiet --with-lock
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    		minio/healing-rewrite-bucket/ \
    		--disable-multipart --quiet
    
    	"${WORK_DIR}/mc" cp \
    		buildscripts/verify-build.sh \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/net/resolverdialfunc_test.go

    	// last.
    	// And it's also annoying if it's possible for users to set
    	// different TTLs per Answer.
    	if w.a.wrote {
    		return
    	}
    	w.a.ttl = seconds
    
    }
    
    type AWriter struct{ ResponseWriter }
    
    func (w AWriter) AddIP(v4 [4]byte) {
    	w.a.wrote = true
    	err := w.a.builder.AResource(w.header(), dnsmessage.AResource{A: v4})
    	if err != nil {
    		panic(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

                write(buffer.toStringAndRecycle())
            }
        }
    
        private
        fun comma() {
            write(',')
        }
    
        private
        fun documentationLinkFor(section: DocumentationSection) =
            documentationRegistry.documentationLinkFor(section)
    
        private
        fun write(csq: CharSequence) = writer.append(csq)
    
        private
        fun write(c: Char) = writer.append(c)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/RandomAccessFileOutputStream.java

            this.file = file;
        }
    
        @Override
        public void write(int i) throws IOException {
            file.write(i);
        }
    
        @Override
        public void write(byte[] bytes) throws IOException {
            file.write(bytes);
        }
    
        @Override
        public void write(byte[] bytes, int offset, int length) throws IOException {
            file.write(bytes, offset, length);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_cache.go

    	h := hash.New()
    	h.WriteString(t.clusterName)
    	h.Write(Separator)
    	h.WriteString(t.proxyVersion)
    	h.Write(Separator)
    	h.WriteString(util.LocalityToString(t.locality))
    	h.Write(Separator)
    	h.WriteString(t.proxyClusterID)
    	h.Write(Separator)
    	h.WriteString(strconv.FormatBool(t.proxySidecar))
    	h.Write(Separator)
    	h.WriteString(strconv.FormatBool(t.http2))
    	h.Write(Separator)
    	h.WriteString(strconv.FormatBool(t.downstreamAuto))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/encoding/pem/pem.go

    	n, err = l.out.Write(b[0:excess])
    	if err != nil {
    		return
    	}
    
    	n, err = l.out.Write(nl)
    	if err != nil {
    		return
    	}
    
    	return l.Write(b[excess:])
    }
    
    func (l *lineBreaker) Close() (err error) {
    	if l.used > 0 {
    		_, err = l.out.Write(l.line[0:l.used])
    		if err != nil {
    			return
    		}
    		_, err = l.out.Write(nl)
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top