Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mapclone (0.1 sec)

  1. src/runtime/map.go

    // complications with instrumentation (coverage, etc).
    func mapinitnoop()
    
    // mapclone for implementing maps.Clone
    //
    //go:linkname mapclone maps.clone
    func mapclone(m any) any {
    	e := efaceOf(&m)
    	e.data = unsafe.Pointer(mapclone2((*maptype)(unsafe.Pointer(e._type)), (*hmap)(e.data)))
    	return m
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. src/time/genzabbrs.go

    const wzURL = "https://raw.githubusercontent.com/unicode-org/cldr/main/common/supplemental/windowsZones.xml"
    
    type MapZone struct {
    	Other     string `xml:"other,attr"`
    	Territory string `xml:"territory,attr"`
    	Type      string `xml:"type,attr"`
    }
    
    type SupplementalData struct {
    	Zones []MapZone `xml:"windowsZones>mapTimezones>mapZone"`
    }
    
    func readWindowsZones() ([]*zone, error) {
    	r, err := http.Get(wzURL)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    		Mapping:  mi.m,
    		Address:  uint64(int64(src.Address) + mi.offset),
    		Line:     make([]Line, len(src.Line)),
    		IsFolded: src.IsFolded,
    	}
    	for i, ln := range src.Line {
    		l.Line[i] = pm.mapLine(ln)
    	}
    	// Check memoization table. Must be done on the remapped location to
    	// account for the remapped mapping ID.
    	k := l.key()
    	if ll, ok := pm.locations[k]; ok {
    		pm.locationsByID.set(src.ID, ll)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top