Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,018 for Allocate (0.27 sec)

  1. pkg/kubelet/userns/userns_manager_test.go

    	require.NoError(t, err)
    
    	allocated, length, err := m.allocateOne("one")
    	assert.NoError(t, err)
    	assert.Equal(t, userNsLength, int(length), "m.isSet(%d).length=%v", allocated, length)
    	assert.Equal(t, true, m.isSet(allocated), "m.isSet(%d)", allocated)
    
    	allocated2, length2, err := m.allocateOne("two")
    	assert.NoError(t, err)
    	assert.NotEqual(t, allocated, allocated2, "allocated != allocated2")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/policy_static_test.go

    			for i := range testCase.pod.Spec.InitContainers {
    				err = p.Allocate(s, testCase.pod, &testCase.pod.Spec.InitContainers[i])
    				if !reflect.DeepEqual(err, testCase.expectedError) {
    					t.Fatalf("The actual error %v is different from the expected one %v", err, testCase.expectedError)
    				}
    			}
    
    			for i := range testCase.pod.Spec.Containers {
    				err = p.Allocate(s, testCase.pod, &testCase.pod.Spec.Containers[i])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  3. src/runtime/sys_windows_amd64.s

    	MOVQ	mp+0(FP), AX
    	LEAQ	m_tls(AX), DI
    	CALL	runtime·settls(SB)
    	RET
    
    // This is called from rt0_go, which runs on the system stack
    // using the initial stack allocated by the OS.
    TEXT runtime·wintls(SB),NOSPLIT,$0
    	// Allocate a TLS slot to hold g across calls to external code
    	MOVQ	SP, AX
    	ANDQ	$~15, SP	// alignment as per Windows requirement
    	SUBQ	$48, SP	// room for SP and 4 args as per Windows requirement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. pkg/registry/core/service/ipallocator/controller/repairip.go

    		if apierrors.IsNotFound(err) {
    			// ClusterIP doesn't seem to be allocated, create it.
    			r.recorder.Eventf(svc, nil, v1.EventTypeWarning, "ClusterIPNotAllocated", "ClusterIPAllocation", "Cluster IP [%v]: %s is not allocated; repairing", family, ip)
    			runtime.HandleError(fmt.Errorf("the ClusterIP [%v]: %s for Service %s/%s is not allocated; repairing", family, ip, svc.Namespace, svc.Name))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. test/live.go

    	}
    	go call27(func() { x++ }) // ERROR "live at call to newobject: &x$" "live at call to newobject: .autotmp_[0-9]+$" // allocate two closures, the func literal, and the wrapper for go
    	printnl()
    }
    
    //go:noescape
    func call27(func())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. src/runtime/cpuprof.go

    		cpuprof.addExtra()
    		cpuprof.log.close()
    	}
    	unlock(&cpuprof.lock)
    }
    
    // add adds the stack trace to the profile.
    // It is called from signal handlers and other limited environments
    // and cannot allocate memory or acquire locks that might be
    // held at the time of the signal, nor can it use substantial amounts
    // of stack.
    //
    //go:nowritebarrierrec
    func (p *cpuProfile) add(tagPtr *unsafe.Pointer, stk []uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. tests/integration/ambient/main_test.go

    	apps.Mesh = inMesh.GetMatches(echos)
    	apps.MeshExternal = match.Not(inMesh).GetMatches(echos)
    
    	// TODO(https://github.com/istio/istio/issues/51083) remove manually allocate
    	if err := cdeployment.DeployExternalServiceEntry(t.ConfigIstio(), apps.Namespace, apps.ExternalNamespace, true).
    		Apply(apply.CleanupConditionally); err != nil {
    		return err
    	}
    
    	if apps.WaypointProxies == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go

    	go func() {
    		defer func() {
    			err := recover()
    			// do not wrap the sentinel ErrAbortHandler panic value
    			if err != nil && err != http.ErrAbortHandler {
    				// Same as stdlib http server code. Manually allocate stack
    				// trace buffer size to prevent excessively large logs
    				const size = 64 << 10
    				buf := make([]byte, size)
    				buf = buf[:runtime.Stack(buf, false)]
    				err = fmt.Sprintf("%v\n%s", err, buf)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    			// helpers on arm < 7. See
    			// internal/runtime/atomic/sys_linux_arm.s.
    			cpuprof.lostAtomic++
    			return
    		}
    	}
    
    	// Profiling runs concurrently with GC, so it must not allocate.
    	// Set a trap in case the code does allocate.
    	// Note that on windows, one thread takes profiles of all the
    	// other threads, so mp is usually not getg().m.
    	// In fact mp may not even be stopped.
    	// See golang.org/issue/17165.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          // it. To preserve FIFO order and failure atomicity of rejected execution when the same
          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
          // A data structure that returned a removal handle from add() would allow eliminating this
          // allocation.
          submittedTask =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top