Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,371 for Allocate (0.16 sec)

  1. src/runtime/cgo/asm_s390x.s

    TEXT crosscall2(SB),NOSPLIT|NOFRAME,$0
    	// Start with standard C stack frame layout and linkage.
    
    	// Save R6-R15 in the register save area of the calling function.
    	STMG	R6, R15, 48(R15)
    
    	// Allocate 96 bytes on the stack.
    	MOVD	$-96(R15), R15
    
    	// Save F8-F15 in our stack frame.
    	FMOVD	F8, 32(R15)
    	FMOVD	F9, 40(R15)
    	FMOVD	F10, 48(R15)
    	FMOVD	F11, 56(R15)
    	FMOVD	F12, 64(R15)
    	FMOVD	F13, 72(R15)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/policy_none.go

    func NewPolicyNone() Policy {
    	return &none{}
    }
    
    func (p *none) Name() string {
    	return string(policyTypeNone)
    }
    
    func (p *none) Start(s state.State) error {
    	return nil
    }
    
    // Allocate call is idempotent
    func (p *none) Allocate(s state.State, pod *v1.Pod, container *v1.Container) error {
    	return nil
    }
    
    // RemoveContainer call is idempotent
    func (p *none) RemoveContainer(s state.State, podUID string, containerName string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 05 17:52:25 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/textflag.go

    	NEEDCTXT = 64
    
    	// When passed to objw.Global, causes Local to be set to true on the LSym it creates.
    	LOCAL = 128
    
    	// Allocate a word of thread local storage and store the offset from the
    	// thread local base to the thread local storage in this variable.
    	TLSBSS = 256
    
    	// Do not insert instructions to allocate a stack frame for this function.
    	// Only valid on functions that declare a frame size of 0.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:25:30 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/policy_none_test.go

    		defaultCPUSet: cpuset.New(1, 2, 3, 4, 5, 6, 7),
    	}
    
    	testPod := makePod("fakePod", "fakeContainer", "1000m", "1000m")
    
    	container := &testPod.Spec.Containers[0]
    	err := policy.Allocate(st, testPod, container)
    	if err != nil {
    		t.Errorf("NonePolicy Allocate() error. expected no error but got: %v", err)
    	}
    }
    
    func TestNonePolicyRemove(t *testing.T) {
    	policy := &nonePolicy{}
    
    	st := &mockState{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/fake_cpu_manager.go

    	klog.InfoS("Start()")
    	return nil
    }
    
    func (m *fakeManager) Policy() Policy {
    	klog.InfoS("Policy()")
    	pol, _ := NewNonePolicy(nil)
    	return pol
    }
    
    func (m *fakeManager) Allocate(pod *v1.Pod, container *v1.Container) error {
    	klog.InfoS("Allocate", "pod", klog.KObj(pod), "containerName", container.Name)
    	return nil
    }
    
    func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/stream_executor/stream_executor_test_util.cc

                  TF_Status* status) {}
    
    void PopulateDefaultStreamExecutor(SP_StreamExecutor* se) {
      *se = {SP_STREAMEXECUTOR_STRUCT_SIZE};
      se->allocate = Allocate;
      se->deallocate = Deallocate;
      se->host_memory_allocate = HostMemoryAllocate;
      se->host_memory_deallocate = HostMemoryDeallocate;
      se->get_allocator_stats = GetAllocatorStats;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 21 20:09:00 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. test/fixedbugs/issue67255.go

    	for i := 10; i < 200; i++ {
    		// The objects we're allocating here are pointer-ful. Some will
    		// max out their size class, which are the ones we want.
    		// We also allocate from small to large, so that the object which
    		// maxes out its size class is the last one allocated in that class.
    		// This allocation pattern leaves the next object in the class
    		// unallocated, which we need to reproduce the bug.
    		objs = append(objs, make([]*byte, i))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 922 bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/controller/repair.go

    			default:
    				clusterIPRepairIPErrors.WithLabelValues("unknown").Inc()
    				c.recorder.Eventf(&svc, nil, v1.EventTypeWarning, "UnknownError", "ClusterIPAllocation", "Unable to allocate cluster IP [%v]:%s due to an unknown error", family, ip)
    				return fmt.Errorf("unable to allocate cluster IP [%v]:%s for service %s/%s due to an unknown error, exiting: %v", family, ip, svc.Name, svc.Namespace, err)
    			}
    		}
    	}
    
    	// leak check
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  9. src/runtime/os_wasm.go

    //go:nosplit
    func osyield_no_g() {
    	osyield()
    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    //go:nosplit
    func sigsave(p *sigset) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    	if encoderWithAllocator, supportsAllocator := embeddedEncoder.(runtime.EncoderWithAllocator); supportsAllocator {
    		// don't put the allocator inside the embeddedEncodeFn as that would allocate memory on every call.
    		// instead, we allocate the buffer for the entire watch session and release it when we close the connection.
    		memoryAllocator = runtime.AllocatorPool.Get().(*runtime.Allocator)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top