Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CreateNamedPipe (0.62 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopySpecIntegrationSpec.groovy

            def input = file("input.txt").createFile()
    
            def outputDirectory = file("output").createDir()
            def pipe = outputDirectory.file("testPipe").createNamedPipe()
    
            buildFile << """
                task copy(type: Copy) {
                    from '${input.name}'
                    into '${outputDirectory.name}'
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:45:30 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UntrackedTaskIntegrationTest.groovy

        def "tracked task producing named pipe fails"() {
            def rootDir = file("build/root")
            def namedPipe = rootDir.file("unreadable")
            rootDir.mkdirs()
            namedPipe.createNamedPipe()
    
            buildFile generateProducerTask(false)
    
            buildFile("""
                tasks.register("producer", Producer) {
                    outputDir = project.layout.buildDirectory.dir("root")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 23 08:05:53 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

        @Issue("https://github.com/gradle/gradle/issues/2552")
        def "snapshotting named pipe fails"() {
            def rootDir = tmpDir.createDir("root")
            def pipe = rootDir.file("testPipe").createNamedPipe()
    
            when:
            directorySnapshotter.snapshot(rootDir.absolutePath, null, [:], unfilteredSubSnapshotsCollector)
    
            then:
            def ex = thrown(UncheckedIOException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
            clearCanonCaches();
            return this;
        }
    
        public TestFile createNamedPipe() {
            try {
                Process mkfifo = new ProcessBuilder("mkfifo", getAbsolutePath())
                    .redirectErrorStream(true)
                    .start();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	LHND                = LMEM_MOVEABLE | LMEM_ZEROINIT
    	LPTR                = LMEM_FIXED | LMEM_ZEROINIT
    	NONZEROLHND         = LMEM_MOVEABLE
    	NONZEROLPTR         = LMEM_FIXED
    )
    
    // Constants for the CreateNamedPipe-family of functions.
    const (
    	PIPE_ACCESS_INBOUND  = 0x1
    	PIPE_ACCESS_OUTBOUND = 0x2
    	PIPE_ACCESS_DUPLEX   = 0x3
    
    	PIPE_CLIENT_END = 0x0
    	PIPE_SERVER_END = 0x1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    //sys	CreateFile(name *uint16, access uint32, mode uint32, sa *SecurityAttributes, createmode uint32, attrs uint32, templatefile Handle) (handle Handle, err error) [failretval==InvalidHandle] = CreateFileW
    //sys	CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *SecurityAttributes) (handle Handle, err error)  [failretval==InvalidHandle] = CreateNamedPipeW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	handle = Handle(r0)
    	if handle == 0 || e1 == ERROR_ALREADY_EXISTS {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *SecurityAttributes) (handle Handle, err error) {
    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