Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for mmap (0.29 sec)

  1. src/cmd/compile/internal/walk/builtin.go

    	t := n.Type()
    	hmapType := reflectdata.MapType()
    	hint := n.Len
    
    	// var h *hmap
    	var h ir.Node
    	if n.Esc() == ir.EscNone {
    		// Allocate hmap on stack.
    
    		// var hv hmap
    		// h = &hv
    		h = stackTempAddr(init, hmapType)
    
    		// Allocate one bucket pointed to by hmap.buckets on stack if hint
    		// is not larger than BUCKETSIZE. In case hint is larger than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/dwarfgen/dwinl.go

    	// produced by the inliner will wind up in the vmap[0] entry.
    	vmap := make(map[int32][]*dwarf.Var)
    
    	// Now walk the dwarf vars and partition them based on whether they
    	// were produced by the inliner (dwv.InlIndex > 0) or were original
    	// vars/params from the function (dwv.InlIndex == 0).
    	for _, dwv := range dwVars {
    
    		vmap[dwv.InlIndex] = append(vmap[dwv.InlIndex], dwv)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    	scannerCollectorPath       collectorPath = "/scanner"
    )
    
    const (
    	clusterBasePath = "/cluster"
    )
    
    type metricsV3Collection struct {
    	mgMap       map[collectorPath]*MetricsGroup
    	bucketMGMap map[collectorPath]*MetricsGroup
    
    	// Gatherers for non-bucket MetricsGroup's
    	mgGatherers map[collectorPath]prometheus.Gatherer
    
    	collectorPaths []collectorPath
    }
    
    func newMetricGroups(r *prometheus.Registry) *metricsV3Collection {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    fi
    
    uname=$(uname)
    
    includes_AIX='
    #include <net/if.h>
    #include <net/netopt.h>
    #include <netinet/ip_mroute.h>
    #include <sys/protosw.h>
    #include <sys/stropts.h>
    #include <sys/mman.h>
    #include <sys/poll.h>
    #include <sys/select.h>
    #include <sys/termio.h>
    #include <termios.h>
    #include <fcntl.h>
    
    #define AF_LOCAL AF_UNIX
    '
    
    includes_Darwin='
    #define _DARWIN_C_SOURCE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. src/internal/trace/summary.go

    	// (starting from goid).
    	gmap := make(map[GoID]struct{})
    	gmap[goid] = struct{}{}
    	for i := 0; i < 2; i++ {
    		// Copy the map.
    		gmap1 := make(map[GoID]struct{})
    		for g := range gmap {
    			gmap1[g] = struct{}{}
    		}
    		for _, edge := range unblockEdges {
    			if _, ok := gmap[edge.operand]; ok {
    				gmap1[edge.operator] = struct{}{}
    			}
    		}
    		gmap = gmap1
    	}
    	return gmap
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/inl_test.go

    			"rand32",
    			"readUnaligned32",
    			"readUnaligned64",
    			"releasem",
    			"roundupsize",
    			"stackmapdata",
    			"stringStructOf",
    			"subtract1",
    			"subtractb",
    			"tophash",
    			"(*bmap).keys",
    			"(*bmap).overflow",
    			"(*waitq).enqueue",
    			"funcInfo.entry",
    
    			// GC-related ones
    			"cgoInRange",
    			"gclinkptr.ptr",
    			"guintptr.ptr",
    			"heapBitsSlice",
    			"markBits.isMarked",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/text/internal/language/lookup.go

    	if !tag.FixCase(form, key) {
    		return 0, ErrSyntax
    	}
    	i := idx.Index(key)
    	if i == -1 {
    		return 0, NewValueError(key)
    	}
    	return i, nil
    }
    
    func searchUint(imap []uint16, key uint16) int {
    	return sort.Search(len(imap), func(i int) bool {
    		return imap[i] >= key
    	})
    }
    
    type Language uint16
    
    // getLangID returns the langID of s if s is a canonical subtag
    // or langUnknown if s is not a canonical subtag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. src/math/rand/rand_test.go

    		testNormalDistribution(t, numTestSamples, 0, 1, seed)
    	}
    }
    
    func TestNonStandardNormalValues(t *testing.T) {
    	sdmax := 1000.0
    	mmax := 1000.0
    	if testing.Short() {
    		sdmax = 5
    		mmax = 5
    	}
    	for sd := 0.5; sd < sdmax; sd *= 2 {
    		for m := 0.5; m < mmax; m *= 2 {
    			for _, seed := range testSeeds {
    				testNormalDistribution(t, numTestSamples, m, sd, seed)
    				if testing.Short() {
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/math/rand/v2/rand_test.go

    		testNormalDistribution(t, numTestSamples, 0, 1, seed)
    	}
    }
    
    func TestNonStandardNormalValues(t *testing.T) {
    	sdmax := 1000.0
    	mmax := 1000.0
    	if testing.Short() {
    		sdmax = 5
    		mmax = 5
    	}
    	for sd := 0.5; sd < sdmax; sd *= 2 {
    		for m := 0.5; m < mmax; m *= 2 {
    			for _, seed := range testSeeds {
    				testNormalDistribution(t, numTestSamples, m, sd, seed)
    				if testing.Short() {
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. src/runtime/export_test.go

    	rw.rw.lock()
    }
    
    func (rw *RWMutex) Unlock() {
    	rw.rw.unlock()
    }
    
    const RuntimeHmapSize = unsafe.Sizeof(hmap{})
    
    func MapBucketsCount(m map[int]int) int {
    	h := *(**hmap)(unsafe.Pointer(&m))
    	return 1 << h.B
    }
    
    func MapBucketsPointerIsNil(m map[int]int) bool {
    	h := *(**hmap)(unsafe.Pointer(&m))
    	return h.buckets == nil
    }
    
    func OverLoadFactor(count int, B uint8) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top