Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for pkpath (0.49 sec)

  1. src/internal/coverage/rtcov/rtcov.go

    // or 0 for impossible errors.
    func AddMeta(p unsafe.Pointer, dlen uint32, hash [16]byte, pkgpath string, pkgid int, cmode uint8, cgran uint8) uint32 {
    	slot := len(Meta.List)
    	Meta.List = append(Meta.List, CovMetaBlob{
    		P:                  (*byte)(p),
    		Len:                dlen,
    		Hash:               hash,
    		PkgPath:            pkgpath,
    		PkgID:              pkgid,
    		CounterMode:        cmode,
    		CounterGranularity: cgran,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func libfuzzerTraceConstCmp8(uint64, uint64, uint)
    func libfuzzerHookStrCmp(string, string, uint)
    func libfuzzerHookEqualFold(string, string, uint)
    
    func addCovMeta(p unsafe.Pointer, len uint32, hash [16]byte, pkpath string, pkgId int, cmode uint8, cgran uint8) uint32
    
    // architecture variants
    var x86HasPOPCNT bool
    var x86HasSSE41 bool
    var x86HasFMA bool
    var armHasVFPv4 bool
    var arm64HasATOMICS bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/gc.go

    }
    
    func (gcToolchain) linker() string {
    	return base.Tool("link")
    }
    
    func pkgPath(a *Action) string {
    	p := a.Package
    	ppath := p.ImportPath
    	if cfg.BuildBuildmode == "plugin" {
    		ppath = pluginPath(a)
    	} else if p.Name == "main" && !p.Internal.ForceLibrary {
    		ppath = "main"
    	}
    	return ppath
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/cmd/cover/cfg_test.go

    	"encoding/json"
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    func writeFile(t *testing.T, path string, contents []byte) {
    	if err := os.WriteFile(path, contents, 0666); err != nil {
    		t.Fatalf("os.WriteFile(%s) failed: %v", path, err)
    	}
    }
    
    func writePkgConfig(t *testing.T, outdir, tag, ppath, pname string, gran string, mpath string) string {
    	incfg := filepath.Join(outdir, tag+"incfg.txt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. src/reflect/type.go

    		}
    		f, fpkgpath := runtimeStructField(field)
    		ft := f.Typ
    		if ft.Kind_&abi.KindGCProg != 0 {
    			hasGCProg = true
    		}
    		if fpkgpath != "" {
    			if pkgpath == "" {
    				pkgpath = fpkgpath
    			} else if pkgpath != fpkgpath {
    				panic("reflect.Struct: fields with different PkgPath " + pkgpath + " and " + fpkgpath)
    			}
    		}
    
    		// Update string and hash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. cmd/import-boss/main.go

    	for _, imp := range pkg.Imports {
    		direct = append(direct, imp.PkgPath)
    		dfsImports(&indirect, seen, imp)
    	}
    	return direct, indirect
    }
    
    func dfsImports(dest *[]string, seen map[string]bool, p *packages.Package) {
    	for _, p2 := range p.Imports {
    		if seen[p2.PkgPath] {
    			continue
    		}
    		seen[p2.PkgPath] = true
    		*dest = append(*dest, p2.PkgPath)
    		dfsImports(dest, seen, p2)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/cmd/cover/cover.go

    	// Currently filename is formed as packagepath + "/" + basename.
    	fnpos := f.fset.Position(fn.Pos())
    	ppath := pkgconfig.PkgPath
    	filename := ppath + "/" + filepath.Base(fnpos.Filename)
    
    	// The convention for cmd/cover is that if the go command that
    	// kicks off coverage specifies a local import path (e.g. "go test
    	// -cover ./thispackage"), the tool will capture full pathnames
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/testing/testserver.go

    		pkgPath = filepath.Join(testSrcdir, testWorkspace, pkgPath)
    	}
    
    	// If the path is still not absolute, something other than bazel compiled
    	// with -trimpath.
    	if !filepath.IsAbs(pkgPath) {
    		return "", fmt.Errorf("can't construct an absolute path from %q", pkgPath)
    	}
    
    	t.Logf("Resolved testserver package path to: %q", pkgPath)
    
    	return pkgPath, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/testing/testserver.go

    		pkgPath = filepath.Join(testSrcdir, testWorkspace, pkgPath)
    	}
    
    	// If the path is still not absolute, something other than bazel compiled
    	// with -trimpath.
    	if !filepath.IsAbs(pkgPath) {
    		return "", fmt.Errorf("can't construct an absolute path from %q", pkgPath)
    	}
    
    	t.Logf("Resolved testserver package path to: %q", pkgPath)
    
    	return pkgPath, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 9K bytes
    - Viewed (1)
  10. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	return pathForCert(pkiPath, name), pathForKey(pkiPath, name)
    }
    
    func pathForCert(pkiPath, name string) string {
    	return filepath.Join(pkiPath, fmt.Sprintf("%s.crt", name))
    }
    
    func pathForKey(pkiPath, name string) string {
    	return filepath.Join(pkiPath, fmt.Sprintf("%s.key", name))
    }
    
    func pathForPublicKey(pkiPath, name string) string {
    	return filepath.Join(pkiPath, fmt.Sprintf("%s.pub", name))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top