Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 492 for allocations (0.76 sec)

  1. pkg/registry/core/service/ipallocator/controller/repair.go

    )
    
    // Repair is a controller loop that periodically examines all service ClusterIP allocations
    // and logs any errors, and then sets the compacted and accurate list of all allocated IPs.
    //
    // Handles:
    // * Duplicate ClusterIP assignments caused by operator action or undetected race conditions
    // * ClusterIPs that do not match the currently configured range
    // * Allocations to services that were not actually created due to a crash or powerloss
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/gc.go

    		allocTotal = 32 << 20
    
    		// The page cache could hide 64 8-KiB pages from the scavenger today.
    		maxPageCache = (8 << 10) * 64
    	)
    
    	// How big the allocations are needs to depend on the page size.
    	// If the page size is too big and the allocations are too small,
    	// they might not be aligned to the physical page size, so the scavenger
    	// will gloss over them.
    	pageSize := os.Getpagesize()
    	var allocChunk int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  3. pkg/registry/core/service/portallocator/controller/repair.go

    }
    
    // runOnce verifies the state of the port allocations and returns an error if an unrecoverable problem occurs.
    func (c *Repair) runOnce() error {
    	return retry.RetryOnConflict(retry.DefaultBackoff, func() error {
    		err := c.doRunOnce()
    		if err != nil {
    			nodePortRepairReconcileErrors.Inc()
    		}
    		return err
    	})
    }
    
    // doRunOnce verifies the state of the port allocations and returns an error if an unrecoverable problem occurs.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. src/runtime/metrics/description.go

    		Kind:        KindUint64,
    	},
    	{
    		Name: "/gc/heap/tiny/allocs:objects",
    		Description: "Count of small allocations that are packed together into blocks. " +
    			"These allocations are counted separately from other allocations " +
    			"because each individual allocation is not tracked by the runtime, " +
    			"only their block. Each block is already accounted for in " +
    			"allocs-by-size and frees-by-size.",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  5. src/runtime/metrics/doc.go

    	/gc/heap/objects:objects
    		Number of objects, live or unswept, occupying heap memory.
    
    	/gc/heap/tiny/allocs:objects
    		Count of small allocations that are packed together into blocks.
    		These allocations are counted separately from other allocations
    		because each individual allocation is not tracked by the
    		runtime, only their block. Each block is already accounted for
    		in allocs-by-size and frees-by-size.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. src/runtime/mstats.go

    		nFree += f
    		bySize[i].Frees = f
    	}
    
    	// Account for tiny allocations.
    	// For historical reasons, MemStats includes tiny allocations
    	// in both the total free and total alloc count. This double-counts
    	// memory in some sense because their tiny allocation block is also
    	// counted. Tracking the lifetime of individual tiny allocations is
    	// currently not done because it would be too expensive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    		}
    	})
    
    	t.Run("toBytes allocations", func(t *testing.T) {
    		t.Parallel()
    
    		s := utilrand.String(size)
    		f := func() {
    			b := toBytes(s)
    			if len(b) != size {
    				t.Errorf("invalid length: %d", len(b))
    			}
    		}
    		allocs := testing.AllocsPerRun(100, f)
    		if allocs > 0 {
    			t.Errorf("expected zero allocations, got %v", allocs)
    		}
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/policy_static.go

    //
    //   - ASSIGNABLE: Equal to SHARED - RESERVED. Exclusive CPUs are allocated
    //     from this pool.
    //
    //   - EXCLUSIVE ALLOCATIONS: CPU sets assigned exclusively to one container.
    //     These are stored as explicit assignments in the state.
    //
    // When an exclusive allocation is made, the static policy also updates the
    // default cpuset in the state abstraction. The CPU manager's periodic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p256.go

    // SEC 1, Version 2.0, Section 2.3.3. Note that the encoding of the point at
    // infinity is shorter than all other encodings.
    func (p *P256Point) Bytes() []byte {
    	// This function is outlined to make the allocations inline in the caller
    	// rather than happen on the heap.
    	var out [1 + 2*p256ElementLength]byte
    	return p.bytes(&out)
    }
    
    func (p *P256Point) bytes(out *[1 + 2*p256ElementLength]byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/p384.go

    // SEC 1, Version 2.0, Section 2.3.3. Note that the encoding of the point at
    // infinity is shorter than all other encodings.
    func (p *P384Point) Bytes() []byte {
    	// This function is outlined to make the allocations inline in the caller
    	// rather than happen on the heap.
    	var out [1 + 2*p384ElementLength]byte
    	return p.bytes(&out)
    }
    
    func (p *P384Point) bytes(out *[1 + 2*p384ElementLength]byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 18K bytes
    - Viewed (0)
Back to top