- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 130 for pkpath (0.16 sec)
-
src/runtime/covermeta.go
"unsafe" ) // The compiler emits calls to runtime.addCovMeta // but this code has moved to rtcov.AddMeta. func addCovMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 { id := rtcov.AddMeta(p, dlen, hash, pkgpath, pkgid, cmode, cgran) if id == 0 { throw("runtime.addCovMeta: coverage package map collision") } return id
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 603 bytes - Viewed (0) -
pkg/controlplane/instance_test.go
var gt reflect.Type if g < len(generic) { gt = reflect.TypeOf(generic[g]) } // special case: we identify full core and generic core if kt.Kind() == reflect.Ptr && kt.Elem().PkgPath() == reflect.TypeOf(corerest.Config{}).PkgPath() { kt = reflect.TypeOf(&corerest.GenericConfig{}) } if kt == gt { g++ continue } switch kube[k].(type) { case autoscalingrest.RESTStorageProvider,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.5K bytes - Viewed (0) -
src/internal/coverage/encodemeta/encode.go
funcs []funcDesc tmp []byte // temp work slice h hash.Hash pkgpath uint32 pkgname uint32 modpath uint32 debug bool werr error } func NewCoverageMetaDataBuilder(pkgpath string, pkgname string, modulepath string) (*CoverageMetaDataBuilder, error) { if pkgpath == "" { return nil, fmt.Errorf("invalid empty package path") } x := &CoverageMetaDataBuilder{ tmp: make([]byte, 0, 256),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0) -
src/internal/reflectlite/type.go
if vmName.Name() == tmName.Name() && rV.typeOff(vm.Typ) == rT.typeOff(tm.Typ) { if !tmName.IsExported() { tmPkgPath := pkgPath(tmName) if tmPkgPath == "" { tmPkgPath = t.PkgPath.Name() } vmPkgPath := pkgPath(vmName) if vmPkgPath == "" { vmPkgPath = v.PkgPath.Name() } if tmPkgPath != vmPkgPath { continue } } if i++; i >= len(t.Methods) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go
return fnDecls[f] } } // isMethodNamed returns true if f is a method defined // in package with the path pkgPath with a name in names. func isMethodNamed(f *types.Func, pkgPath string, names ...string) bool { if f == nil { return false } if f.Pkg() == nil || f.Pkg().Path() != pkgPath { return false } if f.Type().(*types.Signature).Recv() == nil { return false } for _, n := range names {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go
} s.mu.Unlock() // Sort facts by (package, object, type) for determinism. sort.Slice(gobFacts, func(i, j int) bool { x, y := gobFacts[i], gobFacts[j] if x.PkgPath != y.PkgPath { return x.PkgPath < y.PkgPath } if x.Object != y.Object { return x.Object < y.Object } tx := reflect.TypeOf(x.Fact) ty := reflect.TypeOf(y.Fact) if tx != ty { return tx.String() < ty.String() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/type.go
} i-- } return s[i+1:] } // pkgpath returns the path of the package where t was defined, if // available. This is not the same as the reflect package's PkgPath // method, in that it returns the package path for struct and interface // types, not just named types. func (t rtype) pkgpath() string { if u := t.uncommon(); u != nil { return t.nameOff(u.PkgPath).Name() } switch t.Kind_ & abi.KindMask {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/go/internal/work/gccgo.go
gcargs = append(gcargs, "-fdebug-prefix-map="+b.WorkDir+"=/tmp/go-build") gcargs = append(gcargs, "-gno-record-gcc-switches") if pkgpath := gccgoPkgpath(p); pkgpath != "" { gcargs = append(gcargs, "-fgo-pkgpath="+pkgpath) } if p.Internal.LocalPrefix != "" { gcargs = append(gcargs, "-fgo-relative-import-path="+p.Internal.LocalPrefix) } args := str.StringList(tools.compiler(), "-c", gcargs, "-o", ofile, forcedGccgoflags)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
cmd/import-boss/main_test.go
if err != nil { t.Fatalf("unexpected failure: %v", err) } if len(pkgs) != 1 { t.Fatalf("expected 1 pkg result, got %d", len(pkgs)) } if pkgs[0].PkgPath != "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/aaa" { t.Fatalf("wrong PkgPath: %q", pkgs[0].PkgPath) } boss := newBoss(pkgs) errs := boss.Verify(pkgs[0]) expect := []string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 8.8K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
data[k]++ } // 4) write the file pkgpath += "_corrupted" filename := filepath.Join(corruptdir, pkgpath) + ".a" os.WriteFile(filename, data, 0666) // test that importing the corrupted file results in an error _, err = Import(fset, make(map[string]*types.Package), pkgpath, corruptdir, nil) if err == nil { t.Errorf("import corrupted %q succeeded", pkgpath)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0)