Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 210 for growing (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/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 Dec 14 20:35:03 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

     *
     * This set also INTENTIONALLY ignores {@link Actions#doNothing()} actions and empty sets as to avoid growing for something that would never do anything.
     *
     * Actions are executed in order of insertion. Duplicates are ignored. Execution stops on the first failure.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  6. 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)
  7. src/runtime/debug/garbage.go

    func FreeOSMemory() {
    	freeOSMemory()
    }
    
    // SetMaxStack sets the maximum amount of memory that
    // can be used by a single goroutine stack.
    // If any goroutine exceeds this limit while growing its stack,
    // the program crashes.
    // SetMaxStack returns the previous setting.
    // The initial setting is 1 GB on 64-bit systems, 250 MB on 32-bit systems.
    // There may be a system-imposed maximum stack limit regardless
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/registry/value.go

    		err = regLoadMUIString(syscall.Handle(k), pname, &buf[0], uint32(len(buf)), &buflen, 0, pdir)
    	}
    
    	for err == syscall.ERROR_MORE_DATA { // Grow buffer if needed
    		if buflen <= uint32(len(buf)) {
    			break // Buffer not growing, assume race; break
    		}
    		buf = make([]uint16, buflen)
    		err = regLoadMUIString(syscall.Handle(k), pname, &buf[0], uint32(len(buf)), &buflen, 0, pdir)
    	}
    
    	if err != nil {
    		return "", err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 20:01:34 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. src/runtime/defer_test.go

    	// to be stack-allocated.
    	for i := 0; i < 1; i++ {
    		defer ap.method1()
    	}
    	defer ap.method2()
    	defer ap.method1()
    	ff1(ap, 1, 2, 3, 4, 5, 6, 7, 8, 9)
    	// Try to get the stack to be moved by growing it too large, so
    	// existing stack-allocated defer becomes invalid.
    	rec1(2000)
    }
    
    func g3() {
    	// Mix up the stack layout by adding in an extra function frame
    	g2()
    }
    
    var globstruct struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:57:24 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. src/index/suffixarray/suffixarray_test.go

    			cleanup := setBits(bits)
    			defer cleanup()
    
    			b.StopTimer()
    			x := New(data)
    			size := testSaveRestore(nil, nil, x)       // verify correctness
    			buf := bytes.NewBuffer(make([]byte, size)) // avoid growing
    			b.SetBytes(int64(size))
    			b.StartTimer()
    			b.ReportAllocs()
    			for i := 0; i < b.N; i++ {
    				buf.Reset()
    				if err := x.Write(buf); err != nil {
    					b.Fatal(err)
    				}
    				var y Index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top