Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 592 for pipe1 (0.05 sec)

  1. src/os/pipe_unix.go

    //go:build aix || darwin
    
    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
    
    	// See ../syscall/exec.go for description of lock.
    	syscall.ForkLock.RLock()
    	e := syscall.Pipe(p[0:])
    	if e != nil {
    		syscall.ForkLock.RUnlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:47:23 UTC 2024
    - 774 bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipeResponse.java

        private SmbNamedPipe pipe;
        private int head;
    
        static final int STATUS_DISCONNECTED = 1;
        static final int STATUS_LISTENING = 2;
        static final int STATUS_CONNECTION_OK = 3;
        static final int STATUS_SERVER_END_CLOSED = 4;
    
        int status, available;
    
        TransPeekNamedPipeResponse( SmbNamedPipe pipe ) {
            this.pipe = pipe;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  3. src/testing/run_example.go

    // example.go when js/wasm gets an os.Pipe implementation
    // and no longer needs this separation.
    
    package testing
    
    import (
    	"fmt"
    	"io"
    	"os"
    	"strings"
    	"time"
    )
    
    func runExample(eg InternalExample) (ok bool) {
    	if chatty.on {
    		fmt.Printf("%s=== RUN   %s\n", chatty.prefix(), eg.Name)
    	}
    
    	// Capture stdout.
    	stdout := os.Stdout
    	r, w, err := os.Pipe()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtStatus.java

            "The security ID structure is invalid.", "The file system is full.", "All pipe instances are busy.", "All pipe instances are busy.",
            "The pipe state is invalid.", "All pipe instances are busy.", "No process is on the other end of the pipe.", "The pipe is being closed.",
            "Waiting for a process to open the other end of the pipe.", "File is a directory.", "A duplicate name exists on the network.",
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 01 10:09:29 UTC 2019
    - 11.9K bytes
    - Viewed (0)
  5. pkg/kubelet/container/os.go

    func (RealOS) Chtimes(path string, atime time.Time, mtime time.Time) error {
    	return os.Chtimes(path, atime, mtime)
    }
    
    // Pipe will call os.Pipe to return a connected pair of pipe.
    func (RealOS) Pipe() (r *os.File, w *os.File, err error) {
    	return os.Pipe()
    }
    
    // ReadDir will call os.ReadDir to return the files under the directory.
    func (RealOS) ReadDir(dirname string) ([]os.DirEntry, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. src/os/exec/exec_windows_test.go

    func cmdPipeHandle(args ...string) {
    	handle, _ := strconv.ParseUint(args[0], 16, 64)
    	pipe := os.NewFile(uintptr(handle), "")
    	_, err := fmt.Fprint(pipe, args[1])
    	if err != nil {
    		fmt.Fprintf(os.Stderr, "writing to pipe failed: %v\n", err)
    		os.Exit(1)
    	}
    	pipe.Close()
    }
    
    func TestPipePassing(t *testing.T) {
    	t.Parallel()
    
    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Error(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 21 23:07:55 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/WinError.java

            "The pipe state is invalid.",
            "All pipe instances are busy.",
            "The pipe is being closed.",
            "No process is on the other end of the pipe.",
            "More data is available.",
            "The list of servers for this workgroup is not currently available.",
        };
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go

    	return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
    }
    
    func Pipe(p []int) (err error) {
    	return Pipe2(p, 0)
    }
    
    //sysnb	pipe2(p *[2]_C_int, flags int) (err error)
    
    func Pipe2(p []int, flags int) error {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var pp [2]_C_int
    	err := pipe2(&pp, flags)
    	if err == nil {
    		p[0] = int(pp[0])
    		p[1] = int(pp[1])
    	}
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. src/syscall/syscall_solaris.go

    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(Dirent{}.Name)), true
    }
    
    func Pipe(p []int) (err error) {
    	return Pipe2(p, 0)
    }
    
    //sysnb	pipe2(p *[2]_C_int, flags int) (err error)
    
    func Pipe2(p []int, flags int) error {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var pp [2]_C_int
    	err := pipe2(&pp, flags)
    	if err == nil {
    		p[0] = int(pp[0])
    		p[1] = int(pp[1])
    	}
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/WinError.java

            "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
            "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.", "No process is on the other end of the pipe.",
            "More data is available.", "The service is not available", "The list of servers for this workgroup is not currently available.",
        };
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
Back to top