Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 384 for gopack (0.13 sec)

  1. src/cmd/go/testdata/script/mod_import_mod.txt

    # Test that GOPATH/pkg/mod is excluded
    env GO111MODULE=off
    ! go list mod/foo
    stderr 'disallowed import path'
    
    -- mod/foo/foo.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 01 00:35:26 UTC 2018
    - 143 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/run_issue51125.txt

    go list -e -f '{{with .Error}}{{.}}{{end}}' -deps driver.go
    stdout '^driver.go:3:8: "./mypkg" is relative, but relative import paths are not supported in module mode$'
    ! stderr .
    
    
    # In GOPATH mode, they're still allowed (but only outside of GOPATH/src).
    env GO111MODULE=off
    
    [!short] go run driver.go
    
    go list -deps driver.go
    
    
    -- $WORK/go.mod --
    module example
    
    go 1.17
    -- $WORK/driver.go --
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 16 19:10:58 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/get_insecure_no_longer_supported.txt

    # GOPATH: Set up
    env GO111MODULE=off
    
    # GOPATH: Fetch with insecure, should error
    ! go get -insecure test
    stderr 'go: -insecure flag is no longer supported; use GOINSECURE instead'
    
    # Modules: Set up
    env GO111MODULE=on
    
    # Modules: Fetch with insecure, should error
    ! go get -insecure test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 15 00:06:54 UTC 2021
    - 364 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/import_cycle.txt

    env GO111MODULE=off
    
    ! go build selfimport
    stderr -count=1 'import cycle not allowed'
    
    # 'go list' shouldn't hang forever.
    go list -e -json selfimport
    
    -- $GOPATH/src/selfimport/selfimport.go --
    package selfimport
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 19:09:53 UTC 2020
    - 235 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/fileline.txt

    env GO111MODULE=off
    
    # look for short, relative file:line in error message
    ! go run ../../gopath/x/y/z/err.go
    stderr ^..[\\/]x[\\/]y[\\/]z[\\/]err.go:
    
    -- ../x/y/z/err.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 19 19:57:03 UTC 2019
    - 201 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_retract.txt

    [!short] ! stderr .
    [!short] cmp go.mod go.mod.orig
    
    # Neither 'go list' nor 'go build' should download go.mod from the version
    # that would list retractions.
    exists $GOPATH/pkg/mod/cache/download/example.com/retract/@v/v1.0.0-bad.mod
    ! exists $GOPATH/pkg/mod/cache/download/example.com/retract/@v/v1.1.0.mod
    
    # Importing a package from a module with a retracted latest version will
    # select the latest non-retracted version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/list_testdata.txt

    # Issue 65406. The testdata directory in GOROOT/src
    # shouldn't be treated as a standard package.
    
    go list -f '{{.ImportPath}} {{.Dir}}' testdata
    ! stderr 'found package testdata in multiple modules'
    stdout 'testdata '$WORK${/}'gopath'${/}'src'
    
    -- go.mod --
    module testdata
    -- p.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 18:16:28 UTC 2024
    - 295 bytes
    - Viewed (0)
  8. hack/jenkins/update-dockerized.sh

    export ARTIFACTS=${ARTIFACTS:-"${WORKSPACE}/artifacts"}
    # Produce a JUnit-style XML test report
    export KUBE_JUNIT_REPORT_DIR="${ARTIFACTS}"
    
    export LOG_LEVEL=4
    
    cd "${GOPATH}/src/k8s.io/kubernetes"
    source "${PWD}/hack/lib/init.sh"
    kube::etcd::install
    export PATH=${GOPATH}/bin:${PWD}/third_party/etcd:/usr/local/go/bin:${PATH}
    
    make update
    
    if [[ -d "${ARTIFACTS:-}" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 00:02:03 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package podresources
    
    import (
    	"context"
    	"testing"
    
    	"go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	podresourcesv1 "k8s.io/kubelet/pkg/apis/podresources/v1"
    	"k8s.io/kubelet/pkg/apis/podresources/v1alpha1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/tests/control_flow.mlir

        }
        scf.yield %reduce : !tfr.tensor
      }
      tfr.return %res : !tfr.tensor
    }
    
    // CHECK-LABEL: pack_one
    func.func @pack_one(%arg0: tensor<2x3xf32>) -> tensor<1x2x3xf32> {
      %0 = "tf.MyPack"(%arg0) {N=1:i32, axis=0:i32} : (tensor<2x3xf32>) -> tensor<1x2x3xf32>
      func.return %0 : tensor<1x2x3xf32>
    
    // CHECK-NEXT: %[[AXIS:.*]] = arith.constant 0 : i32
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:58:25 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top