Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 592 for pipe1 (0.26 sec)

  1. pkg/kubelet/kubelet_pods_windows_test.go

    			ContainerPath:  `c:/mnt/path7`,
    			HostPath:       `c:\mnt\disk7`,
    			ReadOnly:       false,
    			SELinuxRelabel: false,
    		},
    		{
    			Name:           "pipe1",
    			ContainerPath:  `\\.\pipe\pipe1`,
    			HostPath:       `\\.\pipe\pipe1`,
    			ReadOnly:       false,
    			SELinuxRelabel: false,
    		},
    		{
    			Name:           "k8s-managed-etc-hosts",
    			ContainerPath:  `C:\Windows\System32\drivers\etc\hosts`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/io/pipe.go

    	a.Lock()
    	defer a.Unlock()
    	return a.err
    }
    
    // ErrClosedPipe is the error used for read or write operations on a closed pipe.
    var ErrClosedPipe = errors.New("io: read/write on closed pipe")
    
    // A pipe is the shared pipe structure underlying PipeReader and PipeWriter.
    type pipe struct {
    	wrMu sync.Mutex // Serializes Write operations
    	wrCh chan []byte
    	rdCh chan int
    
    	once sync.Once // Protects closing done
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. src/net/pipe.go

    	}
    	return p1, p2
    }
    
    func (*pipe) LocalAddr() Addr  { return pipeAddr{} }
    func (*pipe) RemoteAddr() Addr { return pipeAddr{} }
    
    func (p *pipe) Read(b []byte) (int, error) {
    	n, err := p.read(b)
    	if err != nil && err != io.EOF && err != io.ErrClosedPipe {
    		err = &OpError{Op: "read", Net: "pipe", Err: err}
    	}
    	return n, err
    }
    
    func (p *pipe) read(b []byte) (n int, err error) {
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/compress/zlib/writer_test.go

    	// Make dictionary, if given.
    	var dict []byte
    	if d != "" {
    		dict = []byte(d)
    	}
    
    	// Push data through a pipe that compresses at the write end, and decompresses at the read end.
    	piper, pipew := io.Pipe()
    	defer piper.Close()
    	go func() {
    		defer pipew.Close()
    		zlibw, err := NewWriterLevelDict(pipew, level, dict)
    		if err != nil {
    			t.Errorf("%s (level=%d, dict=%q): %v", fn, level, d, err)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/wait-on-pipe.go

    import (
    	"log"
    	"os"
    	"runtime/trace"
    	"syscall"
    	"time"
    )
    
    func main() {
    	// Create a pipe to block on.
    	var p [2]int
    	if err := syscall.Pipe(p[:]); err != nil {
    		log.Fatalf("failed to create pipe: %v", err)
    	}
    	rfd, wfd := p[0], p[1]
    
    	// Create a goroutine that blocks on the pipe.
    	done := make(chan struct{})
    	go func() {
    		var data [1]byte
    		_, err := syscall.Read(rfd, data[:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/compress/lzw/writer_test.go

    	// Read the file again, and push it through a pipe that compresses at the write end, and decompresses at the read end.
    	raw, err := os.Open(fn)
    	if err != nil {
    		t.Errorf("%s (order=%d litWidth=%d): %v", fn, order, litWidth, err)
    		return
    	}
    
    	piper, pipew := io.Pipe()
    	defer piper.Close()
    	go func() {
    		defer raw.Close()
    		defer pipew.Close()
    		lzww := NewWriter(pipew, order, litWidth)
    		defer lzww.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 12 11:00:47 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  7. src/internal/poll/splice_linux.go

    	_ [24 - unsafe.Sizeof(splicePipeFields{})%24]byte
    }
    
    // splicePipePool caches pipes to avoid high-frequency construction and destruction of pipe buffers.
    // The garbage collector will free all pipes in the sync.Pool periodically, thus we need to set up
    // a finalizer for each pipe to close its file descriptors before the actual GC.
    var splicePipePool = sync.Pool{New: newPoolPipe}
    
    func newPoolPipe() any {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/os/pipe2_unix.go

    package os
    
    import "syscall"
    
    // Pipe returns a connected pair of Files; reads from r return bytes written to w.
    // It returns the files and an error, if any.
    func Pipe() (r *File, w *File, err error) {
    	var p [2]int
    
    	e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC)
    	if e != nil {
    		return nil, nil, NewSyscallError("pipe2", e)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 654 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbNamedPipe.java

     * </table>
     *
     * <p>
     * See <a href="../../../pipes.html">Using jCIFS to Connect to Win32
     * Named Pipes</a> for a detailed description of how to use jCIFS with
     * Win32 Named Pipe server processes.
     *
     */
    
    public class SmbNamedPipe extends SmbFile implements SmbPipeResource {
    
        private final int pipeType;
    
    
        /**
         * Open the Named Pipe resource specified by the url
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * </pre></td><td>
     * Open the Named Pipe foo for reading and writing. The pipe will
     * behave as though the <code>CreateFile</code>, <code>ReadFile</code>,
     * <code>WriteFile</code>, and <code>CloseFile</code> interface was
     * being used.
     * </td></tr>
     * </table>
     *
     * <p>See <a href="../../../pipes.html">Using jCIFS to Connect to Win32
     * Named Pipes</a> for a detailed description of how to use jCIFS with
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
Back to top