Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for growing (0.12 sec)

  1. src/runtime/map_fast32.go

    	// If we hit the max load factor or we have too many overflow buckets,
    	// and we're not already in the middle of growing, start growing.
    	if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
    		hashGrow(t, h)
    		goto again // Growing the table invalidates everything, so try again
    	}
    
    	if insertb == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/runtime/map_fast64.go

    	// If we hit the max load factor or we have too many overflow buckets,
    	// and we're not already in the middle of growing, start growing.
    	if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
    		hashGrow(t, h)
    		goto again // Growing the table invalidates everything, so try again
    	}
    
    	if insertb == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. src/runtime/map_faststr.go

    	// If we hit the max load factor or we have too many overflow buckets,
    	// and we're not already in the middle of growing, start growing.
    	if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
    		hashGrow(t, h)
    		goto again // Growing the table invalidates everything, so try again
    	}
    
    	if insertb == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. src/runtime/map.go

    	// If we hit the max load factor or we have too many overflow buckets,
    	// and we're not already in the middle of growing, start growing.
    	if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
    		hashGrow(t, h)
    		goto again // Growing the table invalidates everything, so try again
    	}
    
    	if inserti == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/runtime/sys_openbsd2.go

    		clock_id int32
    		tp       unsafe.Pointer
    	}{_CLOCK_MONOTONIC, unsafe.Pointer(&ts)}
    	if errno := libcCall(unsafe.Pointer(abi.FuncPCABI0(clock_gettime_trampoline)), unsafe.Pointer(&args)); errno < 0 {
    		// Avoid growing the nosplit stack.
    		systemstack(func() {
    			println("runtime: errno", -errno)
    			throw("clock_gettime failed")
    		})
    	}
    	return ts.tv_sec*1e9 + int64(ts.tv_nsec)
    }
    func clock_gettime_trampoline()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. src/runtime/slice.go

    	doublecap := newcap + newcap
    	if newLen > doublecap {
    		return newLen
    	}
    
    	const threshold = 256
    	if oldCap < threshold {
    		return doublecap
    	}
    	for {
    		// Transition from growing 2x for small slices
    		// to growing 1.25x for large slices. This formula
    		// gives a smooth-ish transition between the two.
    		newcap += (newcap + 3*threshold) >> 2
    
    		// We need to check `newcap >= newLen` and whether `newcap` overflowed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/runtime/mspanset.go

    type spanSet struct {
    	// A spanSet is a two-level data structure consisting of a
    	// growable spine that points to fixed-sized blocks. The spine
    	// can be accessed without locks, but adding a block or
    	// growing it requires taking the spine lock.
    	//
    	// Because each mspan covers at least 8K of heap and takes at
    	// most 8 bytes in the spanSet, the growth of the spine is
    	// quite limited.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

             * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache.
             * This avoids out-of-control memory consumption, and it keeps the cache from growing so
             * large that doing the lookup is noticeably slower than redoing the work would be.
             *
             * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/runtime/debugcall.go

    	//
    	// Debuggers rely on us running on the same thread until we get to
    	// dispatch the function they asked as to.
    	//
    	// We're going to transfer this to the new G we just created.
    	lockOSThread()
    
    	// Create a new goroutine to execute the call on. Run this on
    	// the system stack to avoid growing our stack.
    	systemstack(func() {
    		// TODO(mknyszek): It would be nice to wrap these arguments in an allocated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr3_multi_project_builds.adoc

    <2> The `app` subproject
    <3> The `app` source code
    <4> The `app` build script
    <5> The optional settings file
    =====
    
    == Step 2. Add another Subproject to the Build
    Imagine that our project is growing and requires a custom library to function.
    
    Let's create this imaginary `lib`.
    First, create a `lib` folder:
    
    [source,text]
    ----
    mkdir lib
    ----
    
    [source,text]
    ----
    cd lib
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top