Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ParseBuildInfo (0.46 sec)

  1. src/runtime/debug/mod_test.go

    		`))
    
    	f.Fuzz(func(t *testing.T, s string) {
    		bi, err := debug.ParseBuildInfo(s)
    		if err != nil {
    			// Not a round-trippable BuildInfo string.
    			t.Log(err)
    			return
    		}
    
    		// s2 could have different escaping from s.
    		// However, it should parse to exactly the same contents.
    		s2 := bi.String()
    		bi2, err := debug.ParseBuildInfo(s2)
    		if err != nil {
    			t.Fatalf("%v:\n%s", err, s2)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 09 19:44:03 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/runtime/debug/mod.go

    	if len(data) < 32 {
    		return nil, false
    	}
    	data = data[16 : len(data)-16]
    	bi, err := ParseBuildInfo(data)
    	if err != nil {
    		return nil, false
    	}
    
    	// The go version is stored separately from other build info, mostly for
    	// historical reasons. It is not part of the modinfo() string, and
    	// ParseBuildInfo does not recognize it. We inject it here to hide this
    	// awkwardness from the user.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 15:06:51 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. api/go1.18.txt

    pkg reflect, method (Value) SetIterKey(*MapIter)
    pkg reflect, method (Value) SetIterValue(*MapIter)
    pkg reflect, method (Value) UnsafePointer() unsafe.Pointer
    pkg runtime/debug, func ParseBuildInfo(string) (*BuildInfo, error)
    pkg runtime/debug, method (*BuildInfo) String() string
    pkg runtime/debug, type BuildInfo struct, GoVersion string
    pkg runtime/debug, type BuildInfo struct, Settings []BuildSetting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. src/debug/buildinfo/buildinfo.go

    // binaries built with module support.
    func Read(r io.ReaderAt) (*BuildInfo, error) {
    	vers, mod, err := readRawBuildInfo(r)
    	if err != nil {
    		return nil, err
    	}
    	bi, err := debug.ParseBuildInfo(mod)
    	if err != nil {
    		return nil, err
    	}
    	bi.GoVersion = vers
    	return bi, nil
    }
    
    type exe interface {
    	// ReadData reads and returns up to size bytes starting at virtual address addr.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"GCStats.PauseTotal", Field, 1},
    		{"Module", Type, 12},
    		{"Module.Path", Field, 12},
    		{"Module.Replace", Field, 12},
    		{"Module.Sum", Field, 12},
    		{"Module.Version", Field, 12},
    		{"ParseBuildInfo", Func, 18},
    		{"PrintStack", Func, 0},
    		{"ReadBuildInfo", Func, 12},
    		{"ReadGCStats", Func, 1},
    		{"SetGCPercent", Func, 1},
    		{"SetMaxStack", Func, 2},
    		{"SetMaxThreads", Func, 2},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top