Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for pipe1 (0.07 sec)

  1. cluster/gce/gci/configure.sh

        # Convert the yaml format file into a shell-style file.
        eval "$(python3 -c '''
    import pipes,sys,yaml
    items = yaml.load(sys.stdin, Loader=yaml.BaseLoader).items()
    for k, v in items:
        print("readonly {var}={value}".format(var=k, value=pipes.quote(str(v))))
    ''' < "${tmp_kube_env}" > "${KUBE_HOME}/kube-env")"
        rm -f "${tmp_kube_env}"
      )
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/nettest/conntest.go

    	t.Helper()
    	c1, c2, stop, err := mp()
    	if err != nil {
    		t.Fatalf("unable to make pipe: %v", err)
    	}
    	var once sync.Once
    	defer once.Do(func() { stop() })
    	timer := time.AfterFunc(time.Minute, func() {
    		once.Do(func() {
    			t.Error("test timed out; terminating pipe")
    			stop()
    		})
    	})
    	defer timer.Stop()
    	f(t, c1, c2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/testing/internal/testdeps/deps.go

    	// If the worker is interrupted, return quickly and without error.
    	// If only the coordinator process is interrupted, it tells each worker
    	// process to stop by closing its "fuzz_in" pipe.
    	ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt)
    	defer cancel()
    	err := fuzz.RunFuzzWorker(ctx, fn)
    	if err == ctx.Err() {
    		return nil
    	}
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

        private DaemonClientFixture client
    
        def setup() {
            blockingHttpServer.start()
            if (OperatingSystem.current().windows) {
                // The killed worker on Windows will cause a broken pipe error to be printed to the console,
                // so we disable stack trace checks to avoid the test failing.
                executer.withStackTraceChecksDisabled()
            }
    
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. src/encoding/base32/base32_test.go

    			{"MZXW", "6YTB"},
    			{"MZXW", "6Y", "TB"},
    		}, nil},
    	}
    
    	for _, testcase := range testcases {
    		for _, chunks := range testcase.chunkCombinations {
    			pr, pw := io.Pipe()
    
    			// Write the encoded chunks into the pipe
    			go func() {
    				for _, chunk := range chunks {
    					pw.Write([]byte(chunk))
    				}
    				pw.Close()
    			}()
    
    			decoder := NewDecoder(StdEncoding, pr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. 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)
  7. cmd/metacache-set.go

    		return nil
    	}
    	readers := make([]*metacacheReader, len(disks))
    	defer func() {
    		for _, r := range readers {
    			r.Close()
    		}
    	}()
    	for i := range disks {
    		r, w := io.Pipe()
    		// Make sure we close the pipe so blocked writes doesn't stay around.
    		defer r.CloseWithError(context.Canceled)
    
    		readers[i] = newMetacacheReader(r)
    		d := disks[i]
    
    		// Send request to each disk.
    		go func() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. src/runtime/sys_darwin.go

    //go:cgo_unsafe_args
    func read(fd int32, p unsafe.Pointer, n int32) int32 {
    	ret := libcCall(unsafe.Pointer(abi.FuncPCABI0(read_trampoline)), unsafe.Pointer(&fd))
    	KeepAlive(p)
    	return ret
    }
    func read_trampoline()
    
    func pipe() (r, w int32, errno int32) {
    	var p [2]int32
    	errno = libcCall(unsafe.Pointer(abi.FuncPCABI0(pipe_trampoline)), noescape(unsafe.Pointer(&p)))
    	return p[0], p[1], errno
    }
    func pipe_trampoline()
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    func ClosePseudoConsole(console Handle) {
    	syscall.Syscall(procClosePseudoConsole.Addr(), 1, uintptr(console), 0, 0)
    	return
    }
    
    func ConnectNamedPipe(pipe Handle, overlapped *Overlapped) (err error) {
    	r1, _, e1 := syscall.Syscall(procConnectNamedPipe.Addr(), 2, uintptr(pipe), uintptr(unsafe.Pointer(overlapped)), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top