Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 799 for free1 (0.13 sec)

  1. src/runtime/mfinal.go

    // program.
    //
    // Finalizers are run in dependency order: if A points at B, both have
    // finalizers, and they are otherwise unreachable, only the finalizer
    // for A runs; once A is freed, the finalizer for B can run.
    // If a cyclic structure includes a block with a finalizer, that
    // cycle is not guaranteed to be garbage collected and the finalizer
    // is not guaranteed to run, because there is no ordering that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/runtime/HACKING.md

      multiples of the system page size, but it can be freed with sysFree.
    
    * persistentalloc combines multiple smaller allocations into a single
      sysAlloc to avoid fragmentation. However, there is no way to free
      persistentalloced objects (hence the name).
    
    * fixalloc is a SLAB-style allocator that allocates objects of a fixed
      size. fixalloced objects can be freed, but this memory can only be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. pkg/kubelet/preemption/preemption.go

    // If the ONLY admission failures are due to insufficient resources, then CriticalPodAdmissionHandler evicts pods
    // so that the critical pod can be admitted.  For evictions, the CriticalPodAdmissionHandler evicts a set of pods that
    // frees up the required resource requests.  The set of pods is designed to minimize impact, and is prioritized according to the ordering:
    // minimal impact for guaranteed pods > minimal impact for burstable pods > minimal impact for besteffort pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 16:53:19 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    		expect        []int
    	}{
    		{
    			"single socket HT, 1 socket free",
    			topoSingleSocketHT,
    			cpuset.New(0, 1, 2, 3, 4, 5, 6, 7),
    			[]int{0},
    		},
    		{
    			"single socket HT, 0 sockets free",
    			topoSingleSocketHT,
    			cpuset.New(1, 2, 3, 4, 5, 6, 7),
    			[]int{},
    		},
    		{
    			"dual socket HT, 2 sockets free",
    			topoDualSocketHT,
    			cpuset.New(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  5. pkg/registry/core/service/portallocator/allocator_test.go

    	if _, ok := err.(*ErrNotInRange); !ok {
    		t.Fatal(err)
    	}
    	if f := r.Free(); f != 1 {
    		t.Errorf("unexpected free %d", f)
    	}
    	if f := r.Used(); f != 200 {
    		t.Errorf("unexpected used %d", f)
    	}
    	if err := r.Allocate(released); err != nil {
    		t.Fatal(err)
    	}
    	if f := r.Free(); f != 0 {
    		t.Errorf("unexpected free %d", f)
    	}
    	if f := r.Used(); f != 201 {
    		t.Errorf("unexpected used %d", f)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 07:15:02 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    			free = append(free, numa)
    		}
    	}
    	return free
    }
    
    // Returns free socket IDs as a slice sorted by sortAvailableSockets().
    func (a *cpuAccumulator) freeSockets() []int {
    	free := []int{}
    	for _, socket := range a.sortAvailableSockets() {
    		if a.isSocketFree(socket) {
    			free = append(free, socket)
    		}
    	}
    	return free
    }
    
    // Returns free core IDs as a slice sorted by sortAvailableCores().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            'partial match and multiple attributes'                     | [platform: JavaVersion.JAVA8, flavor: 'free'] | [platform: JavaVersion.JAVA8]                 | [platform: JavaVersion.JAVA7]                 | 'foo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/bitmap_test.go

    				t.Fatal(err)
    			}
    			if f := r.Free(); f != 1 {
    				t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, 1, f)
    			}
    			if f := r.Used(); f != (tc.free - 1) {
    				t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, tc.free-1, f)
    			}
    			if err := r.Allocate(released); err != nil {
    				t.Fatal(err)
    			}
    			if f := r.Free(); f != 0 {
    				t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, 0, f)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer_test.go

    	}
    	if rb.Free() != 0 {
    		t.Fatalf("expect free 0 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r)
    	}
    	buf = make([]byte, 16)
    	rb.Read(buf)
    	n, err = rb.Write([]byte(strings.Repeat("1234", 4)))
    	if err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	if n != 16 {
    		t.Fatalf("expect write 16 bytes but got %d", n)
    	}
    	if rb.Free() != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/cidrallocator_test.go

    		return allocator.ready.Load(), nil
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	found := sets.NewString()
    	count := 0
    	for r.Free() > 0 {
    		ip, err := r.AllocateNext()
    		if err != nil {
    			t.Fatalf("error @ free: %d count: %d: %v", r.Free(), count, err)
    		}
    		count++
    		if found.Has(ip.String()) {
    			t.Fatalf("allocated %s twice: %d", ip, count)
    		}
    		found.Insert(ip.String())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top