Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 285 for pkpath (0.12 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/internal/pkgpath/pkgpath.go

    // license that can be found in the LICENSE file.
    
    // Package pkgpath determines the package path used by gccgo/GoLLVM symbols.
    // This package is not used for the gc compiler.
    package pkgpath
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    // ToSymbolFunc returns a function that may be used to convert a
    // package path into a string suitable for use as a symbol.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. test/fixedbugs/issue16616.dir/issue16616.go

    func main() {
    	if got := reflect.ValueOf(b.V).Type().Field(0).PkgPath; got != "b" {
    		panic(`PkgPath=` + got + ` for first field of b.V, want "b"`)
    	}
    	if got := reflect.ValueOf(V).Type().Field(0).PkgPath; got != "main" {
    		panic(`PkgPath=` + got + ` for first field of V, want "main"`)
    	}
    	if got := reflect.ValueOf(b.U).Type().Field(0).PkgPath; got != "b" {
    		panic(`PkgPath=` + got + ` for first field of b.U, want "b"`)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 11:46:15 UTC 2016
    - 666 bytes
    - Viewed (0)
  7. test/fixedbugs/issue44830.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"reflect"
    	"unsafe"
    )
    
    func main() {
    	t := reflect.TypeOf(unsafe.Pointer(nil))
    	if pkgPath := t.PkgPath(); pkgPath != "unsafe" {
    		panic("unexpected t.PkgPath(): " + pkgPath)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 27 01:16:39 UTC 2021
    - 372 bytes
    - Viewed (0)
  8. test/fixedbugs/issue10332.go

    // license that can be found in the LICENSE file.
    
    // The PkgPath of unexported fields of types defined in package main was incorrectly ""
    
    package main
    
    import (
    	"fmt"
    	"reflect"
    )
    
    type foo struct {
    	bar int
    }
    
    func main() {
    	pkgpath := reflect.ValueOf(foo{}).Type().Field(0).PkgPath
    	if pkgpath != "main" {
    		fmt.Printf("BUG: incorrect PkgPath: %v", pkgpath)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 485 bytes
    - Viewed (0)
  9. src/go/internal/gccgoimporter/importer_test.go

    	{pkgpath: "conversions", name: "Bits", want: "const Bits Units", wantval: `"bits"`},
    	{pkgpath: "time", name: "Duration", want: "type Duration int64"},
    	{pkgpath: "time", name: "Nanosecond", want: "const Nanosecond Duration", wantval: "1"},
    	{pkgpath: "unicode", name: "IsUpper", want: "func IsUpper(r rune) bool"},
    	{pkgpath: "unicode", name: "MaxRune", want: "const MaxRune untyped rune", wantval: "1114111"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:17:57 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  10. 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)
Back to top