Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for npipe (0.1 sec)

  1. src/os/os_test.go

    			}
    		})
    	}
    }
    
    func testStartProcess(dir, cmd string, args []string, expect string) func(t *testing.T) {
    	return func(t *testing.T) {
    		t.Parallel()
    
    		r, w, err := Pipe()
    		if err != nil {
    			t.Fatalf("Pipe: %v", err)
    		}
    		defer r.Close()
    		attr := &ProcAttr{Dir: dir, Files: []*File{nil, w, Stderr}}
    		p, err := StartProcess(cmd, args, attr)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  2. src/syscall/zerrors_solaris_amd64.go

    	ENXIO           = Errno(0x6)
    	EOPNOTSUPP      = Errno(0x7a)
    	EOVERFLOW       = Errno(0x4f)
    	EOWNERDEAD      = Errno(0x3a)
    	EPERM           = Errno(0x1)
    	EPFNOSUPPORT    = Errno(0x7b)
    	EPIPE           = Errno(0x20)
    	EPROTO          = Errno(0x47)
    	EPROTONOSUPPORT = Errno(0x78)
    	EPROTOTYPE      = Errno(0x62)
    	ERANGE          = Errno(0x22)
    	EREMCHG         = Errno(0x52)
    	EREMOTE         = Errno(0x42)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    	{"or short-circuit2", "{{or 0 0 (die)}}", "", nil, false},
    	{"and short-circuit2", "{{and 1 1 (die)}}", "", nil, false},
    	{"and pipe-true", "{{1 | and 1}}", "1", nil, true},
    	{"and pipe-false", "{{0 | and 1}}", "0", nil, true},
    	{"or pipe-true", "{{1 | or 0}}", "1", nil, true},
    	{"or pipe-false", "{{0 | or 0}}", "0", nil, true},
    	{"and undef", "{{and 1 .Unknown}}", "<no value>", nil, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. src/testing/testing.go

    		// With -v=json, stdout and stderr are pointing to the same pipe,
    		// which is leading into test2json. In general, operating systems
    		// do a good job of ensuring that writes to the same pipe through
    		// different file descriptors are delivered whole, so that writing
    		// AAA to stdout and BBB to stderr simultaneously produces
    		// AAABBB or BBBAAA on the pipe, not something like AABBBA.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
    
        @Override
        public boolean canWrite () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for writing?
                return true;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    }
    
    func setTimeval(sec, usec int64) Timeval { //fix
    	return Timeval{Sec: sec, Usec: usec}
    }
    
    //sysnb pipe(p *[2]_C_int) (err error)
    
    func Pipe(p []int) (err error) {
    	if len(p) != 2 {
    		return EINVAL
    	}
    	var pp [2]_C_int
    	err = pipe(&pp)
    	p[0] = int(pp[0])
    	p[1] = int(pp[1])
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/init.go

    	// that child keeps stdout/stderr open. After the Git subprocess exits,
    	// os/exec expects to be able to read from the stdout/stderr pipe
    	// until EOF to get all the data that the Git subprocess wrote before exiting.
    	// The EOF doesn't come until the child exits too, because the child
    	// is holding the write end of the pipe.
    	// This is unfortunate, but it has come up at least twice
    	// (see golang.org/issue/13453 and golang.org/issue/16104)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  8. configure.py

        raise FileNotFoundError(
            "Can't find 'find_cuda_config.py' script inside working directory")
      proc = subprocess.Popen(
          [environ_cp['PYTHON_BIN_PATH'], paths[0]] + cuda_libraries,
          stdout=subprocess.PIPE,
          env=maybe_encode_env(environ_cp))
    
      if proc.wait():
        # Errors from find_cuda_config.py were sent to stderr.
        print('Asking for detailed CUDA configuration...\n')
        return False
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. pkg/kubelet/status/status_manager_test.go

    	m.apiStatusVersions[mirrorPodUID] = m.apiStatusVersions[mirrorPodUID] - 1
    
    	m.SetPodStatus(pod, status)
    	m.syncBatch(true)
    	verifyActions(t, m, []core.Action{getAction()})
    
    	t.Logf("Nothing stuck in the pipe.")
    	verifyUpdates(t, m, 0)
    }
    
    // shuffle returns a new shuffled list of container statuses.
    func shuffle(statuses []v1.ContainerStatus) []v1.ContainerStatus {
    	numStatuses := len(statuses)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  10. src/net/http/client_test.go

    		close(reqc)
    		if _, err := io.Copy(w, r.Body); err != nil {
    			t.Errorf("error copying request body: %v", err)
    		}
    	}))
    
    	bodyr, bodyw := io.Pipe()
    	var gotBody string
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		req, _ := NewRequest("GET", cst.ts.URL, bodyr)
    		res, err := cst.c.Do(req)
    		b, err := io.ReadAll(res.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top