Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 285 for pkpath (0.12 sec)

  1. 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)
  2. src/go/internal/gccgoimporter/testdata/v1reflect.gox

     func (t <type 23>) PkgPath () <type -16>;
     func (t <type 23>) Name () <type -16>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. test/fixedbugs/issue21120.dir/b.go

    import "reflect"
    
    type X int
    
    func F1() string {
    	type x X
    
    	s := struct {
    		*x
    	}{nil}
    	v := reflect.TypeOf(s)
    	return v.Field(0).PkgPath
    }
    
    func F2() string {
    	type y X
    
    	s := struct {
    		*y
    	}{nil}
    	v := reflect.TypeOf(s)
    	return v.Field(0).PkgPath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:05:00 UTC 2017
    - 424 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/asm/doc.go

    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    		Write output to file. The default is foo.o for /a/b/c/foo.s.
    	-p pkgpath
    		Set expected package import to pkgpath.
    	-shared
    		Generate code that can be linked into a shared library.
    	-spectre list
    		Enable spectre mitigations in list (all, ret).
    	-trimpath prefix
    		Remove prefix from recorded source file paths.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:46:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top