Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 384 for gopack (0.24 sec)

  1. src/runtime/lock_js.go

    		}
    
    		id := scheduleTimeoutEvent(delay)
    		mp := acquirem()
    		notes[n] = gp
    		notesWithTimeout[n] = noteWithTimeout{gp: gp, deadline: deadline}
    		releasem(mp)
    
    		gopark(nil, nil, waitReasonSleep, traceBlockSleep, 1)
    
    		clearTimeoutEvent(id) // note might have woken early, clear timeout
    
    		mp = acquirem()
    		delete(notes, n)
    		delete(notesWithTimeout, n)
    		releasem(mp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. src/cmd/pack/pack.go

    	log.SetPrefix("pack: ")
    	telemetry.Start()
    	// need "pack op archive" at least.
    	if len(os.Args) < 3 {
    		log.Print("not enough arguments")
    		fmt.Fprintln(os.Stderr)
    		usage()
    	}
    	setOp(os.Args[1])
    	telemetry.Inc("pack/invocations")
    	telemetry.Inc("pack/op:" + string(op))
    	var ar *Archive
    	switch op {
    	case 'p':
    		ar = openArchive(os.Args[2], os.O_RDONLY, os.Args[3:])
    		ar.scan(ar.printContents)
    	case 'r':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. pkg/kubelet/server/stats/summary_windows_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"context"
    	"testing"
    	"time"
    
    	fuzz "github.com/google/gofuzz"
    	"github.com/stretchr/testify/assert"
    	gomock "go.uber.org/mock/gomock"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    limitations under the License.
    */
    
    package stats
    
    import (
    	"errors"
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    
    	csipbv1 "github.com/container-storage-interface/spec/lib/go/csi"
    	k8sv1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/list_symlink_vendor_issue14054.txt

    [!symlink] skip
    env GO111MODULE=off
    
    mkdir $WORK/tmp/gopath/src/dir1/vendor/v
    cp p.go $WORK/tmp/gopath/src/dir1/p.go
    cp v.go $WORK/tmp/gopath/src/dir1/vendor/v/v.go
    symlink $WORK/tmp/symdir1 -> $WORK/tmp/gopath/src/dir1
    env GOPATH=$WORK/tmp/gopath
    cd $WORK/tmp/symdir1
    
    go list -f '{{.Root}}' .
    stdout '^'$WORK/tmp/gopath'$'
    
    # All of these should succeed, not die in vendor-handling code.
    go run p.go &
    go build &
    go install &
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 511 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/gopath_std_vendor.txt

    # a package in GOPATH importing 'golang.org/x/net/http2/hpack' should
    # resolve its dependencies in GOPATH/src.
    cd ../issue16333
    go build .
    
    go list -deps -f '{{.ImportPath}} {{.Dir}}' .
    stdout $GOPATH[/\\]src[/\\]vendor[/\\]golang.org[/\\]x[/\\]net[/\\]http2[/\\]hpack
    ! stdout $GOROOT[/\\]src[/\\]vendor
    
    go list -test -deps -f '{{.ImportPath}} {{.Dir}}' .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cover_pkgall_multiple_mains.txt

    [short] skip
    cd $GOPATH/src/example.com/cov
    
    env GO111MODULE=on
    go test -coverpkg=all ./...
    
    env GO111MODULE=off
    go test -coverpkg=all ./...
    
    -- $GOPATH/src/example.com/cov/go.mod --
    module example.com/cov
    
    -- $GOPATH/src/example.com/cov/mainonly/mainonly.go --
    package main
    
    func main() {}
    
    -- $GOPATH/src/example.com/cov/mainwithtest/mainwithtest.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 13 16:25:00 UTC 2019
    - 883 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_clean_cache.txt

    go mod download rsc.io/quote@v1.5.0
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.info
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.mod
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.zip
    
    # '-n' should print commands but not actually execute them.
    go clean -modcache -n
    stdout '^rm -rf .*pkg.mod$'
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.0.info
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_download_hash.txt

    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.info
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.mod
    exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.3-0.20180709162918-a91498bed0a7.zip
    
    go mod download rsc.io/quote@master
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 879 bytes
    - Viewed (0)
  10. pkg/kubelet/container/testing/mock_runtime_cache.go

    //
    
    // Package testing is a generated GoMock package.
    package testing
    
    import (
    	context "context"
    	reflect "reflect"
    	time "time"
    
    	gomock "go.uber.org/mock/gomock"
    	container "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // MockRuntimeCache is a mock of RuntimeCache interface.
    type MockRuntimeCache struct {
    	ctrl     *gomock.Controller
    	recorder *MockRuntimeCacheMockRecorder
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top