Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for pipetest (0.14 sec)

  1. src/io/pipe_test.go

    type closer interface {
    	CloseWithError(error) error
    	Close() error
    }
    
    type pipeTest struct {
    	async          bool
    	err            error
    	closeWithError bool
    }
    
    func (p pipeTest) String() string {
    	return fmt.Sprintf("async=%v err=%v closeWithError=%v", p.async, p.err, p.closeWithError)
    }
    
    var pipeTests = []pipeTest{
    	{true, nil, false},
    	{true, nil, true},
    	{true, ErrShortWrite, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    		}
    	})
    }
    
    var helperCommandUsed sync.Map
    
    var helperCommands = map[string]func(...string){
    	"echo":          cmdEcho,
    	"echoenv":       cmdEchoEnv,
    	"cat":           cmdCat,
    	"pipetest":      cmdPipeTest,
    	"stdinClose":    cmdStdinClose,
    	"exit":          cmdExit,
    	"describefiles": cmdDescribeFiles,
    	"stderrfail":    cmdStderrFail,
    	"yes":           cmdYes,
    	"hang":          cmdHang,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. src/os/exec/exec_posix_test.go

    	}
    }
    
    // For issue #19314: make sure that SIGSTOP does not cause the process
    // to appear done.
    func TestWaitid(t *testing.T) {
    	t.Parallel()
    
    	cmd := helperCommand(t, "pipetest")
    	stdin, err := cmd.StdinPipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    	stdout, err := cmd.StdoutPipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := cmd.Start(); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 13 20:21:32 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  4. maven-model/src/test/java/org/apache/maven/model/SiteTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Site}.
     *
     */
    class SiteTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Site().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Site().equals(null));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/support/ZipTest.kt

    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.fail
    import org.junit.Test
    
    import java.io.File
    import java.util.zip.ZipEntry
    import java.util.zip.ZipOutputStream
    
    
    class ZipTest : TestWithTempFiles() {
    
        @Test
        fun `unzip fails on path traversal attempts`() {
    
            val maliciousZip = file("malicious.zip").apply {
                ZipOutputStream(outputStream()).use { zip ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/os/pipe_test.go

    Dmitri Shuralyov <******@****.***> 1693765382 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/ip_test.go

    Joel Speed <******@****.***> 1702059390 +0000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:07 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. pilot/pkg/util/network/ip_test.go

    John Howard <******@****.***> 1670516655 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 08 16:24:15 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  9. pkg/util/net/ip_test.go

    Hemendra Teli <******@****.***> 1714574500 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. src/net/ip_test.go

    Marin Petrunic <******@****.***> 1675267123 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 01:17:29 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top