Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 256 for gopack (0.09 sec)

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

            testDir.usingNativeTools()."$packMethod"(file(archName))
            and:
            buildFile << """
                task unpack(type: Copy) {
                    from $treeMethod("$archName")
                    into 'unpacked'
                }
                """
    
            when:
            run "unpack"
            and:
            then:
            file("unpacked/testdir").mode == 0753
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 11 06:18:03 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/memory_threshold_notifier_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package eviction
    
    import (
    	"fmt"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	gomock "go.uber.org/mock/gomock"
    	"k8s.io/apimachinery/pkg/api/resource"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	evictionapi "k8s.io/kubernetes/pkg/kubelet/eviction/api"
    )
    
    const testCgroupPath = "/sys/fs/cgroups/memory"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerPackOperationExecutorTest.groovy

            ]
    
            when:
            def result = packOperationExecutor.unpack(key, entity, input)
    
            then:
            1 * buildOperationRunner.call(_) >> { CallableBuildOperation action -> action.call(buildOperationContext)}
            1 * originFactory.createReader() >> originReader
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_list.txt

    stdout '.*mod[\\/]rsc.io[\\/]quote@v1.5.2$'
    
    # downloaded dependencies are read-only
    exists -readonly $GOPATH/pkg/mod/rsc.io/quote@v1.5.2
    exists -readonly $GOPATH/pkg/mod/rsc.io/quote@v1.5.2/buggy
    
    # go clean -modcache can delete read-only dependencies
    go clean -modcache
    ! exists $GOPATH/pkg/mod/rsc.io/quote@v1.5.2
    
    # list {{.Dir}} shows replaced directories
    cp go.mod2 go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 18:16:28 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. hack/jenkins/benchmark-dockerized.sh

    # in ${WORKSPACE}/artifacts. This script can also be run within a
    # kubekins-test container with a kubernetes repo mounted (at the path
    # /go/src/k8s.io/kubernetes).
    
    export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
    
    # Until all GOPATH references are removed from all build scripts as well,
    # explicitly disable module mode to avoid picking up user-set GO111MODULE preferences.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/help/helpdoc.go

    the go tool will verify that https://example.org/?go-get=1 contains the
    same meta tag and then git clone https://code.org/r/p/exproj into
    GOPATH/src/example.org.
    
    When using GOPATH, downloaded packages are written to the first directory
    listed in the GOPATH environment variable.
    (See 'go help gopath-get' and 'go help gopath'.)
    
    When using modules, downloaded packages are stored in the module cache.
    See https://golang.org/ref/mod#module-cache.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. pkg/kubelet/metrics/collectors/volume_stats_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package collectors
    
    import (
    	"context"
    	"strings"
    	"testing"
    
    	"go.uber.org/mock/gomock"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/component-base/metrics/testutil"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	statstest "k8s.io/kubernetes/pkg/kubelet/server/stats/testing"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.5K bytes
    - Viewed (1)
  8. src/cmd/go/testdata/script/work_vendor_prune.txt

    cmp vendor/example.com/q/q.go q1_1_0/q.go
    go list -m -f '{{.Version}}' example.com/q
    stdout '^v1.1.0$'
    
    go list -f '{{.Dir}}' example.com/q
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]q
    go list -f '{{.Dir}}' example.com/b
    stdout $GOPATH[\\/]src[\\/]vendor[\\/]example.com[\\/]b
    
    [short] skip
    
    rm b
    rm q1_0_0
    rm q1_1_0
    go run example.com/p
    stdout 'version 1.1.0'
    
    -- modules.txt.want --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. src/encoding/ascii85/ascii85.go

    func Encode(dst, src []byte) int {
    	if len(src) == 0 {
    		return 0
    	}
    
    	n := 0
    	for len(src) > 0 {
    		dst[0] = 0
    		dst[1] = 0
    		dst[2] = 0
    		dst[3] = 0
    		dst[4] = 0
    
    		// Unpack 4 bytes into uint32 to repack into base 85 5-byte.
    		var v uint32
    		switch len(src) {
    		default:
    			v |= uint32(src[3])
    			fallthrough
    		case 3:
    			v |= uint32(src[2]) << 8
    			fallthrough
    		case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/SnappyPacker.java

                }
            });
        }
    
        @Override
        public void unpack(DataSource input, DataTargetFactory targetFactory) throws IOException {
            delegate.unpack(new DelegatingDataSource(input) {
                @Override
                public InputStream openInput() throws IOException {
                    return new SnappyFramedInputStream(super.openInput());
                }
            }, targetFactory);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top