Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for unpipe (0.12 sec)

  1. src/runtime/pinner.go

    				if len(i.refs) != 0 {
    					i.unpin() // only required to make the test idempotent
    					pinnerLeakPanic()
    				}
    			})
    		}
    	}
    	ptr := pinnerGetPtr(&pointer)
    	if setPinned(ptr, true) {
    		p.refs = append(p.refs, ptr)
    	}
    }
    
    // Unpin unpins all pinned objects of the [Pinner].
    func (p *Pinner) Unpin() {
    	p.pinner.unpin()
    
    	mp := acquirem()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/artifact_transforms.adoc

    ====
    include::sample[dir="snippets/dependencyManagement/artifactTransforms-unzip/kotlin",files="build.gradle.kts[tags=artifact-transform-unzip]"]
    include::sample[dir="snippets/dependencyManagement/artifactTransforms-unzip/groovy",files="build.gradle[tags=artifact-transform-unzip]"]
    ====
    <1> Use `TransformParameters.None` if the transform does not use parameters
    <2> Inject the input artifact
    <3> Request an output location for the unzipped files
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. src/runtime/pinner_test.go

    	p2 := &p
    	assertCgoCheckPanics(t, p2)
    	pinner.Pin(p)
    	runtime.CgoCheckPointer(p2, true)
    	pinner.Unpin()
    	assertCgoCheckPanics(t, p2)
    	pinner.Pin(p)
    	runtime.CgoCheckPointer(p2, true)
    	pinner.Unpin()
    }
    
    func TestPinnerEmptyUnpin(t *testing.T) {
    	var pinner runtime.Pinner
    	pinner.Unpin()
    	pinner.Unpin()
    }
    
    func TestPinnerLeakPanics(t *testing.T) {
    	old := runtime.GetPinnerLeakPanic()
    	func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:36:12 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy

                    }
                }
    
                """
            then:
            succeeds('customDistZip')
            and:
            file('build/distributions/TestProject-custom.zip').usingNativeTools().unzipTo(file("unzip"))
            file("unzip/TestProject-custom/someFile").assertIsFile()
        }
    
        def "can publish distribution"() {
            when:
            buildFile << """
                apply plugin:'distribution'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 21:03:51 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

                def process = ['unzip', '-q', '-o', file.absolutePath, '-d', target.absolutePath].execute()
                process.consumeProcessOutput(System.out, System.err)
                assertThat(process.waitFor(), equalTo(0))
                return
            }
    
            def unzip = new Expand()
            unzip.src = file
            unzip.dest = target
    
            unzip.project = new Project()
            unzip.execute()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    	fs.StringVar(&c.ImageServiceEndpoint, "image-service-endpoint", c.ImageServiceEndpoint, "The endpoint of container image service. If not specified, it will be the same with --container-runtime-endpoint by default. Unix Domain Socket are supported on Linux, while npipe and tcp endpoints are supported on Windows. Examples...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/installation.adoc

    **Step 2 - Unpack the distribution**
    
    Unzip the distribution zip file in the directory of your choosing, e.g.:
    
    [subs="attributes"]
    ----
    ❯ mkdir /opt/gradle
    ❯ unzip -d /opt/gradle gradle-{gradleVersion}-bin.zip
    ❯ ls /opt/gradle/gradle-{gradleVersion}
    LICENSE  NOTICE  bin  README  init.d  lib  media
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/Install.java

                return null;
            }
        }
    
        private void unzipLocal(File localZipFile, File distDir) throws IOException {
            try {
                unzip(localZipFile, distDir);
            } catch (IOException e) {
                logger.log("Could not unzip " + localZipFile.getAbsolutePath() + " to " + distDir.getAbsolutePath() + ".");
                logger.log("Reason: " + e.getMessage());
                throw e;
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. src/os/pipe_test.go

    	r, w, err := os.Pipe()
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := r.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	expect := syscall.EPIPE
    	if runtime.GOOS == "windows" {
    		// 232 is Windows error code ERROR_NO_DATA, "The pipe is being closed".
    		expect = syscall.Errno(232)
    	}
    	// Every time we write to the pipe we should get an EPIPE.
    	for i := 0; i < 20; i++ {
    		_, err = w.Write([]byte("hi"))
    		if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/types.go

    // two's-complement way.
    //
    //go:nosplit
    func (i *Int32) Add(delta int32) int32 {
    	return Xaddint32(&i.value, delta)
    }
    
    // Int64 is an atomically accessed int64 value.
    //
    // 8-byte aligned on all platforms, unlike a regular int64.
    //
    // An Int64 must not be copied.
    type Int64 struct {
    	noCopy noCopy
    	_      align64
    	value  int64
    }
    
    // Load accesses and returns the value atomically.
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top