Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,106 for writes (0.11 sec)

  1. src/runtime/tracebackx_test.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    func XTestSPWrite(t TestingT) {
    	// Test that we can traceback from the stack check prologue of a function
    	// that writes to SP. See #62326.
    
    	// Start a goroutine to minimize the initial stack and ensure we grow the stack.
    	done := make(chan bool)
    	go func() {
    		testSPWrite() // Defined in assembly
    		done <- true
    	}()
    	<-done
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 06 14:45:46 UTC 2023
    - 509 bytes
    - Viewed (0)
  2. src/io/io.go

    	Read(p []byte) (n int, err error)
    }
    
    // Writer is the interface that wraps the basic Write method.
    //
    // Write writes len(p) bytes from p to the underlying data stream.
    // It returns the number of bytes written from p (0 <= n <= len(p))
    // and any error encountered that caused the write to stop early.
    // Write must return a non-nil error if it returns n < len(p).
    // Write must not modify the slice data, even temporarily.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. src/net/http/filetransport.go

    			Close:      true,
    			Body:       pr,
    		},
    	}
    	return rw, rw.ch
    }
    
    // populateResponse is a ResponseWriter that populates the *Response
    // in res, and writes its body to a pipe connected to the response
    // body. Once writes begin or finish() is called, the response is sent
    // on ch.
    type populateResponse struct {
    	res          *Response
    	ch           chan *Response
    	wroteHeader  bool
    	hasContent   bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java

    import java.io.IOException;
    import java.io.Writer;
    import java.util.Map;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Handles serialization of toolchains into some kind of textual format like XML.
     *
     */
    public interface ToolchainsWriter {
    
        /**
         * Writes the supplied toolchains to the specified character writer. The writer will be automatically closed before
         * the method returns.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/providers/fileAndDirectoryProperty/kotlin/build.gradle.kts

    // A task that generates a source file and writes the result to an output directory
    abstract class GenerateSource : DefaultTask() {
        // The configuration file to use to generate the source file
        @get:InputFile
        abstract val configFile: RegularFileProperty
    
        // The directory to write source files to
        @get:OutputDirectory
        abstract val outputDir: DirectoryProperty
    
        @TaskAction
        fun compile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/runtime/map_fast32.go

    				dst.b.tophash[dst.i&(abi.MapBucketCount-1)] = top // mask dst.i as an optimization, to avoid a bounds check
    
    				// Copy key.
    				if goarch.PtrSize == 4 && t.Key.Pointers() && writeBarrier.enabled {
    					// Write with a write barrier.
    					*(*unsafe.Pointer)(dst.k) = *(*unsafe.Pointer)(k)
    				} else {
    					*(*uint32)(dst.k) = *(*uint32)(k)
    				}
    
    				typedmemmove(t.Elem, dst.e, e)
    				dst.i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gc_arm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build arm && gc && linux
    
    package unix
    
    import "syscall"
    
    // Underlying system call writes to newoffset via pointer.
    // Implemented in assembly to avoid allocation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 411 bytes
    - Viewed (0)
  8. src/log/slog/text_handler.go

    	"unicode/utf8"
    )
    
    // TextHandler is a [Handler] that writes Records to an [io.Writer] as a
    // sequence of key=value pairs separated by spaces and followed by a newline.
    type TextHandler struct {
    	*commonHandler
    }
    
    // NewTextHandler creates a [TextHandler] that writes to w,
    // using the given options.
    // If opts is nil, the default options are used.
    func NewTextHandler(w io.Writer, opts *HandlerOptions) *TextHandler {
    	if opts == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/cmd/distpack/pack.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Distpack creates the tgz and zip files for a Go distribution.
    // It writes into GOROOT/pkg/distpack:
    //
    //   - a binary distribution (tgz or zip) for the current GOOS and GOARCH
    //   - a source distribution that is independent of GOOS/GOARCH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/format/formatting.go

    	var buf bytes.Buffer
    	BufferPriorityLevelConfigurationSpec(&buf, plSpec)
    	return buf.String()
    }
    
    // BufferPriorityLevelConfigurationSpec writes a golang source
    // expression for the given value to the given buffer
    func BufferPriorityLevelConfigurationSpec(buf *bytes.Buffer, plSpec *flowcontrol.PriorityLevelConfigurationSpec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top