- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 142 for pipe1 (0.04 sec)
-
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) -
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) -
pkg/kubelet/util/util_windows.go
} // windows pipes are expected to use forward slashes: https://learn.microsoft.com/windows/win32/ipc/pipe-names // so using `url` like we do on unix gives us unclear benefits - see https://github.com/kubernetes/kubernetes/issues/78628 // So we just construct the path from scratch. // Format: \\ServerName\pipe\PipeName
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3K bytes - Viewed (0) -
src/os/exec/exec.go
} // StdinPipe returns a pipe that will be connected to the command's // standard input when the command starts. // The pipe will be closed automatically after [Cmd.Wait] sees the command exit. // A caller need only call Close to force the pipe to close sooner. // For example, if the command being run will not exit until standard input // is closed, the caller must close the pipe.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress-start-stop.go
outerDone <- true }() var wg sync.WaitGroup done := make(chan bool) wg.Add(1) go func() { <-done wg.Done() }() rp, wp, err := os.Pipe() if err != nil { log.Fatalf("failed to create pipe: %v", err) return } defer func() { rp.Close() wp.Close() }() wg.Add(1) go func() { var tmp [1]byte rp.Read(tmp[:]) <-done wg.Done()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.7K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress.go
// Create a goroutine blocked before tracing. wg.Add(1) go func() { <-done wg.Done() }() // Create a goroutine blocked in syscall before tracing. rp, wp, err := os.Pipe() if err != nil { log.Fatalf("failed to create pipe: %v", err) } defer func() { rp.Close() wp.Close() }() wg.Add(1) go func() { var tmp [1]byte rp.Read(tmp[:]) <-done wg.Done() }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy
stat.length == 0 assertSameAccessType(stat, VIA_SYMLINK) } @Requires(UnitTestPreconditions.UnixDerivative) def "stats named pipes"() { def pipe = tmpDir.file("testPipe").createNamedPipe() when: accessor.stat(pipe) then: thrown(UncheckedIOException) } @Requires(UnitTestPreconditions.FilePermissions)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 6.9K bytes - Viewed (0) -
src/net/sendfile_test.go
} } // Test that sendfile doesn't put a pipe into blocking mode. func TestSendfilePipe(t *testing.T) { switch runtime.GOOS { case "plan9", "windows", "js", "wasip1": // These systems don't support deadlines on pipes. t.Skipf("skipping on %s", runtime.GOOS) } t.Parallel() ln := newLocalListener(t, "tcp") defer ln.Close() r, w, err := os.Pipe() if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 12.1K bytes - Viewed (0) -
src/os/exec/exec_test.go
// stderr pipe is closed. if ee := new(*exec.ExitError); !errors.As(err, ee) { t.Errorf("Wait error = %v; want %T", err, *ee) } }) // If the process exits with status 0 but leaves a child behind writing // to its output pipes, Wait should only wait for WaitDelay before // closing the pipes and returning. Wait should return ErrWaitDelay
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
src/io/pipe_test.go
} if err = r.Close(); err != nil { t.Errorf("r.Close: %v", err) } } } // Test close on Read side during Read. func TestPipeReadClose2(t *testing.T) { c := make(chan int, 1) r, _ := Pipe() go delayClose(t, r, c, pipeTest{}) n, err := r.Read(make([]byte, 64)) <-c if n != 0 || err != ErrClosedPipe {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9K bytes - Viewed (0)