Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for allocations (0.71 sec)

  1. pkg/kubelet/kubelet_pods.go

    	kl.removeOrphanedPodStatuses(allPods, mirrorPods)
    
    	// Remove orphaned pod user namespace allocations (if any).
    	klog.V(3).InfoS("Clean up orphaned pod user namespace allocations")
    	if err = kl.usernsManager.CleanupOrphanedPodUsernsAllocations(allPods, runningRuntimePods); err != nil {
    		klog.ErrorS(err, "Failed cleaning up orphaned pod user namespaces allocations")
    	}
    
    	// Remove orphaned volumes from pods that are known not to have any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/data.go

    						o = 0
    					}
    				} else if target.IsDarwin() {
    					if ldr.SymType(s).IsDWARF() {
    						// We generally use symbol-targeted relocations.
    						// DWARF tools seem to only handle section-targeted relocations,
    						// so generate section-targeted relocations in DWARF sections.
    						// See also machoreloc1.
    						o += ldr.SymValue(rs)
    					}
    				} else if target.IsWindows() {
    					// nothing to do
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	"unsafe"
    )
    
    var _ unsafe.Pointer
    
    // Do the interface allocations only once for common
    // Errno values.
    const (
    	errnoERROR_IO_PENDING = 997
    )
    
    var (
    	errERROR_IO_PENDING error = syscall.Errno(errnoERROR_IO_PENDING)
    	errERROR_EINVAL     error = syscall.EINVAL
    )
    
    // errnoErr returns common boxed Errno values, to prevent
    // allocations at runtime.
    func errnoErr(e syscall.Errno) error {
    	switch e {
    	case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  4. src/cmd/go/alldocs.go

    //
    //	-memprofile mem.out
    //	    Write an allocation profile to the file after all tests have passed.
    //	    Writes test binary as -c would.
    //
    //	-memprofilerate n
    //	    Enable more precise (and expensive) memory allocation profiles by
    //	    setting runtime.MemProfileRate. See 'go doc runtime.MemProfileRate'.
    //	    To profile all memory allocations, use -test.memprofilerate=1.
    //
    //	-mutexprofile mutex.out
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  5. samples/addons/grafana.yaml

    by (pod) (\n  go_memstats_heap_alloc_bytes{app=\"istiod\"}\n)","legendFormat":"Heap (Allocated) ({{pod}})"}],"title":"Memory Usage","type":"timeseries"},{"datasource":{"type":"datasource","uid":"-- Mixed --"},"description":"Details about memory allocations","fieldConfig":{"defaults":{"custom":{"fillOpacity":10,"gradientMode":"hue","showPoints":"never"},"unit":"Bps"},"overrides":[{"matcher":{"id":"byFrameRefID","options":"B"},"properties":[{"id":"custom.axisPlacement","value":"right"},{"id":"unit"...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  6. src/reflect/value.go

    	return a[:i]
    }
    
    // hiter's structure matches runtime.hiter's structure.
    // Having a clone here allows us to embed a map iterator
    // inside type MapIter so that MapIters can be re-used
    // without doing any allocations.
    type hiter struct {
    	key         unsafe.Pointer
    	elem        unsafe.Pointer
    	t           unsafe.Pointer
    	h           unsafe.Pointer
    	buckets     unsafe.Pointer
    	bptr        unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    		wg.Wait()
    	}
    
    	var initialCC contextCounter
    	doPosts(&initialCC)
    
    	// flushCC exists only to put pressure on the GC to finalize the initialCC
    	// contexts: the flushCC allocations should eventually displace the initialCC
    	// allocations.
    	var flushCC contextCounter
    	for i := 0; ; i++ {
    		live := initialCC.Read()
    		if live == 0 {
    			break
    		}
    		if i >= 100 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. src/database/sql/sql.go

    	// Once done, all operations fail with ErrConnDone.
    	done atomic.Bool
    
    	releaseConnOnce sync.Once
    	// releaseConnCache is a cache of c.closemuRUnlockCondReleaseConn
    	// to save allocations in a call to grabConn.
    	releaseConnCache releaseConn
    }
    
    // grabConn takes a context to implement stmtConnGrabber
    // but the context is not used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  9. src/net/http/server.go

    			w.handlerHeader.Del("Content-Length")
    		}
    	}
    }
    
    // extraHeader is the set of headers sometimes added by chunkWriter.writeHeader.
    // This type is used to avoid extra allocations from cloning and/or populating
    // the response Header map and all its 1-element slices.
    type extraHeader struct {
    	contentType      string
    	connection       string
    	transferEncoding string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. src/reflect/all_test.go

    		// Only adding half of the capacity to not trigger re-allocations due too many overloaded buckets.
    		for i := 0; i < size/2; i++ {
    			val.SetInt(int64(i))
    			mv.SetMapIndex(val, val)
    		}
    	})
    	if allocs > 10 {
    		t.Errorf("allocs per map assignment: want at most 10 got %f", allocs)
    	}
    	// Empirical testing shows that with capacity hint single run will trigger 3 allocations and without 91. I set
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top