Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 329 for Map (0.04 sec)

  1. src/internal/types/testdata/check/decls0.go

    		I10
    	}
    	I10 interface {
    		I11
    	}
    	I11 interface {
    		I9
    	}
    
    	C1 chan int
    	C2 <-chan int
    	C3 chan<- C3
    	C4 chan C5
    	C5 chan C6
    	C6 chan C4
    
    	M1 map[Last]string
    	M2 map[string]M2
    
    	Last int
    )
    
    // cycles in function/method declarations
    // (test cases for issues #5217, #25790 and variants)
    func f1(x f1 /* ERROR "not a type" */ ) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/go/types/gccgosizes.go

    // license that can be found in the LICENSE file.
    
    // This is a copy of the file generated during the gccgo build process.
    // Last update 2019-01-22.
    
    package types
    
    var gccgoArchSizes = map[string]*StdSizes{
    	"386":         {4, 4},
    	"alpha":       {8, 8},
    	"amd64":       {8, 8},
    	"amd64p32":    {4, 8},
    	"arm":         {4, 8},
    	"armbe":       {4, 8},
    	"arm64":       {8, 8},
    	"arm64be":     {8, 8},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. src/runtime/pprof/proto_other.go

    // when emitting locations.
    func (b *profileBuilder) readMapping() {
    	data, _ := os.ReadFile("/proc/self/maps")
    	parseProcSelfMaps(data, b.addMapping)
    	if len(b.mem) == 0 { // pprof expects a map entry, so fake one.
    		b.addMappingEntry(0, 0, 0, "", "", true)
    		// TODO(hyangah): make addMapping return *memMap or
    		// take a memMap struct, and get rid of addMappingEntry
    		// that takes a bunch of positional arguments.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 928 bytes
    - Viewed (0)
  4. src/runtime/cgo/handle.go

    func (h Handle) Delete() {
    	_, ok := handles.LoadAndDelete(uintptr(h))
    	if !ok {
    		panic("runtime/cgo: misuse of an invalid Handle")
    	}
    }
    
    var (
    	handles   = sync.Map{} // map[Handle]interface{}
    	handleIdx atomic.Uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/runtime/mpagealloc_64bit.go

    	need := makeAddrRange(chunksBase+needMin*scSize, chunksBase+needMax*scSize)
    
    	// Subtract any overlap from rounding. We can't re-map memory because
    	// it'll be zeroed.
    	need = need.subtract(have)
    
    	// If we've got something to map, map it, and update the slice bounds.
    	if need.size() != 0 {
    		sysMap(unsafe.Pointer(need.base.addr()), need.size(), sysStat)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/go/types/mono.go

    //
    // For example, given:
    //
    //	func f[A, B any]() {
    //		type T int
    //		f[T, map[A]B]()
    //	}
    //
    // we construct vertices representing types A, B, and T. Because of
    // declaration "type T int", we construct edges T<-A and T<-B with
    // weight 1; and because of instantiation "f[T, map[A]B]" we construct
    // edges A<-T with weight 0, and B<-A and B<-B with weight 1.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. src/cmd/internal/pgo/pprof.go

    }
    
    // createNamedEdgeMap builds a map of callsite-callee edge weights from the
    // profile-graph.
    //
    // Caller should ignore the profile if totalWeight == 0.
    func createNamedEdgeMap(g *profile.Graph) (edgeMap NamedEdgeMap, totalWeight int64, err error) {
    	seenStartLine := false
    
    	// Process graph and build various node and edge maps which will
    	// be consumed by AST walk.
    	weight := make(map[NamedCallEdge]int64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/runtime/lock_js.go

    		throw("lock count")
    	}
    	l.key = mutex_unlocked
    }
    
    // One-time notifications.
    
    type noteWithTimeout struct {
    	gp       *g
    	deadline int64
    }
    
    var (
    	notes            = make(map[*note]*g)
    	notesWithTimeout = make(map[*note]noteWithTimeout)
    )
    
    func noteclear(n *note) {
    	n.key = note_cleared
    }
    
    func notewakeup(n *note) {
    	// gp := getg()
    	if n.key == note_woken {
    		throw("notewakeup - double wakeup")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/legacy_java_profile.go

    // populates the Samples in a profile. Returns the remainder of the
    // buffer after the samples.
    func parseJavaSamples(pType string, b []byte, p *Profile) ([]byte, map[uint64]*Location, error) {
    	nextNewLine := bytes.IndexByte(b, byte('\n'))
    	locs := make(map[uint64]*Location)
    	for nextNewLine != -1 {
    		line := string(bytes.TrimSpace(b[0:nextNewLine]))
    		if line != "" {
    			sample := javaSampleRx.FindStringSubmatch(line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/internal/fmtsort/sort_test.go

    type sortTest struct {
    	data  any    // Always a map.
    	print string // Printed result using our custom printer.
    }
    
    var sortTests = []sortTest{
    	{
    		map[int]string{7: "bar", -3: "foo"},
    		"-3:foo 7:bar",
    	},
    	{
    		map[uint8]string{7: "bar", 3: "foo"},
    		"3:foo 7:bar",
    	},
    	{
    		map[string]string{"7": "bar", "3": "foo"},
    		"3:foo 7:bar",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top