Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,106 for writes (0.16 sec)

  1. src/hash/maphash/maphash.go

    	if h.n == len(h.buf) {
    		h.flush()
    	}
    	h.buf[h.n] = b
    	h.n++
    	return nil
    }
    
    // Write adds b to the sequence of bytes hashed by h.
    // It always writes all of b and never fails; the count and error result are for implementing [io.Writer].
    func (h *Hash) Write(b []byte) (int, error) {
    	size := len(b)
    	// Deal with bytes left over in h.buf.
    	// h.n <= bufSize is always true.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/get_test_list.sh

    # limitations under the License.
    # ==============================================================================
    #
    # Usage: get_test_list.sh OUTPUT BAZEL_TEST_COMMAND...
    # Writes the list of tests that would be run from BAZEL_TEST_COMMAND to OUTPUT.
    # Hides all extra output and always exits with success for now.
    
    OUTPUT=$1
    shift
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. src/net/http/httputil/httputil.go

    }
    
    // NewChunkedWriter returns a new chunkedWriter that translates writes into HTTP
    // "chunked" format before writing them to w. Closing the returned chunkedWriter
    // sends the final 0-length chunk that marks the end of the stream but does
    // not send the final CRLF that appears after trailers; trailers and the last
    // CRLF must be written separately.
    //
    // NewChunkedWriter is not needed by normal applications. The http
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/runtime/traceevent.go

    	}
    	return traceEventWriter{w}
    }
    
    // commit writes out a trace event and calls end. It's a helper to make the
    // common case of writing out a single event less error-prone.
    func (e traceEventWriter) commit(ev traceEv, args ...traceArg) {
    	e = e.write(ev, args...)
    	e.end()
    }
    
    // write writes an event into the trace.
    func (e traceEventWriter) write(ev traceEv, args ...traceArg) traceEventWriter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/printers/terminal.go

    var terminalEscaper = strings.NewReplacer("\x1b", "^[", "\r", "\\r")
    
    // WriteEscaped replaces unsafe terminal characters with replacement strings
    // and writes them to the given writer.
    func WriteEscaped(writer io.Writer, output string) error {
    	_, err := terminalEscaper.WriteString(writer, output)
    	return err
    }
    
    // EscapeTerminal escapes terminal special characters in a human readable (but
    // non-reversible) format.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/log/log.go

    }
    
    // SetPrefix sets the output prefix for the standard logger.
    func SetPrefix(prefix string) {
    	std.SetPrefix(prefix)
    }
    
    // Writer returns the output destination for the standard logger.
    func Writer() io.Writer {
    	return std.Writer()
    }
    
    // These functions write to the standard logger.
    
    // Print calls Output to print to the standard logger.
    // Arguments are handled in the manner of [fmt.Print].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdirentries.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build darwin || zos
    
    package unix
    
    import "unsafe"
    
    // ReadDirent reads directory entries from fd and writes them into buf.
    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	// Final argument is (basep *uintptr) and the syscall doesn't take nil.
    	// 64 bits should be enough. (32 bits isn't even on 386). Since the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 705 bytes
    - Viewed (0)
  8. platforms/jvm/ear/src/main/java/org/gradle/plugins/ear/descriptor/DeploymentDescriptor.java

         */
        boolean readFrom(Object path);
    
        /**
         * Writes the deployment descriptor into a writer.
         *
         * @param writer
         *            The writer to write the deployment descriptor to
         * @return this
         */
        DeploymentDescriptor writeTo(Writer writer);
    
        /**
         * Writes the deployment descriptor into a file. The paths are resolved as defined by
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 19 22:06:51 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

                private
                val writer = HtmlReportWriter(hashingStream.writer())
    
                init {
                    executor.submit {
                        Thread.currentThread().contextClassLoader = groovyJsonClassLoader
                        writer.beginHtmlReport()
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/ManifestInternal.java

         */
        void setContentCharset(String contentCharset);
    
        /**
         * Writes the manifest into a stream.
         *
         * The manifest will be encoded using the character set defined by the {@link #getContentCharset()} property.
         *
         * @param outputStream The stream to write the manifest to
         * @return this
         */
        Manifest writeTo(OutputStream outputStream);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top