Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 117 for gopack (0.12 sec)

  1. src/cmd/go/internal/modcmd/vendor.go

    		// identity function for packages outside of the standard library.
    		//
    		// Part of the purpose of the vendor directory is to allow the packages in
    		// the module to continue to build in GOPATH mode, and GOPATH-mode users
    		// won't know about replacement aliasing. How important is it to maintain
    		// compatibility?
    		fmt.Fprintf(os.Stderr, "warning: %s imported as both %s and %s; making two copies.\n", realPath, realPath, pkg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

    // CHECK: [[ELEMENT_SHAPE:%.*]] = arith.constant dense<2> : tensor<2xi32>
    // CHECK: [[UNPACK:%.*]]:3 = "tf.Unpack"(%arg0) <{axis = 0 : i64}> : (tensor<3x2x2xf32>) -> (tensor<2x2xf32>, tensor<2x2xf32>, tensor<2x2xf32>)
    // CHECK: [[SCALAR_ZERO:%.*]] = arith.constant dense<0> : tensor<i32>
    // CHECK: [[CONCAT:%.*]] = "tf.Concat"([[SCALAR_ZERO]], [[UNPACK]]#0, [[UNPACK]]#1, [[UNPACK]]#2) : (tensor<i32>, tensor<2x2xf32>, tensor<2x2xf32>, tensor<2x2xf32>) -> tensor<?x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    limitations under the License.
    */
    
    package kuberuntime
    
    import (
    	"context"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"github.com/stretchr/testify/assert"
    	"go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. src/cmd/doc/main.go

    			return d.dir, true
    		}
    	}
    }
    
    var buildCtx = build.Default
    
    // splitGopath splits $GOPATH into a list of roots.
    func splitGopath() []string {
    	return filepath.SplitList(buildCtx.GOPATH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/runtime/syscall_windows_test.go

    #include <stdint.h>
    #include <windows.h>
    
    uintptr_t cfunc(void) {
       SetLastError(123);
       return 0;
    }
    `
    	srcname := "nojack.c"
    	err = os.WriteFile(filepath.Join(tmpdir, srcname), []byte(src), 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    	name := "nojack.dll"
    	cmd := exec.Command("gcc", "-shared", "-s", "-Werror", "-o", name, srcname)
    	cmd.Dir = tmpdir
    	out, err := cmd.CombinedOutput()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  6. src/cmd/doc/doc_test.go

    	"internal/testenv"
    	"log"
    	"os"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	// Clear GOPATH so we don't access the user's own packages in the test.
    	buildCtx.GOPATH = ""
    	testGOPATH = true // force GOPATH mode; module test is in cmd/go/testdata/script/mod_doc.txt
    
    	// Set GOROOT in case runtime.GOROOT is wrong (for example, if the test was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  7. src/runtime/extern.go

    that can be blocked in system calls on behalf of Go code; those do not count against
    the GOMAXPROCS limit. This package's [GOMAXPROCS] function queries and changes
    the limit.
    
    The GORACE variable configures the race detector, for programs built using -race.
    See the [Race Detector article] for details.
    
    The GOTRACEBACK variable controls the amount of output generated when a Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_invalid_version.txt

    cp go.mod.orig go.mod
    go mod edit -require golang.org/x/text@14c0d48ead0c
    cd outside
    ! go list -m golang.org/x/text
    stderr 'go: example.com@v0.0.0 \(replaced by \./\.\.\): parsing ..[/\\]go.mod: '$WORK'[/\\]gopath[/\\]src[/\\]go.mod:5: require golang.org/x/text: version "14c0d48ead0c" invalid: must be of the form v1.2.3'
    cd ..
    go list -m golang.org/x/text
    stdout 'golang.org/x/text v0.1.1-0.20170915032832-14c0d48ead0c'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 02 02:54:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/cache.go

    func checkCacheDir(ctx context.Context) error {
    	if cfg.GOMODCACHE == "" {
    		// modload.Init exits if GOPATH[0] is empty, and cfg.GOMODCACHE
    		// is set to GOPATH[0]/pkg/mod if GOMODCACHE is empty, so this should never happen.
    		return fmt.Errorf("module cache not found: neither GOMODCACHE nor GOPATH is set")
    	}
    	if !filepath.IsAbs(cfg.GOMODCACHE) {
    		counterErrorsGOMODCACHEEntryRelative.Inc()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/TreeFormatter.java

         */
        public TreeFormatter appendType(Type type) {
            // Implementation is currently dumb, can be made smarter
            if (type instanceof Class) {
                Class<?> classType = GeneratedSubclasses.unpack((Class<?>) type);
                appendOuter(classType);
                append(classType.getSimpleName());
            } else if (type instanceof ParameterizedType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top