Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 444 for alocale (0.86 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    		return q.d.Dec.Sign()
    	}
    	return q.i.Sign()
    }
    
    // AsScale returns the current value, rounded up to the provided scale, and returns
    // false if the scale resulted in a loss of precision.
    func (q *Quantity) AsScale(scale Scale) (CanonicalValue, bool) {
    	if q.d.Dec != nil {
    		return q.d.AsScale(scale)
    	}
    	return q.i.AsScale(scale)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/JvmOptions.java

        );
    
        // Store this because Locale.default is mutable and we want the unchanged default
        // We are assuming this class will be initialized before any code has a chance to change the default
        private static final Locale DEFAULT_LOCALE = Locale.getDefault();
    
        private final List<Object> extraJvmArgs = new ArrayList<Object>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:45:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    			1,
    			"",
    			cpuset.New(2),
    		},
    		{
    			"allocate 4 full cores with 3 coming from the first NUMA node (filling it up) and 1 coming from the second NUMA node",
    			topoDualSocketHT,
    			mustParseCPUSet(t, "0-11"),
    			8,
    			"",
    			mustParseCPUSet(t, "0,6,2,8,4,10,1,7"),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/memory_manager.go

    	AddContainer(p *v1.Pod, c *v1.Container, containerID string)
    
    	// Allocate is called to pre-allocate memory resources during Pod admission.
    	// This must be called at some point prior to the AddContainer() call for a container, e.g. at pod admission time.
    	Allocate(pod *v1.Pod, container *v1.Container) error
    
    	// RemoveContainer is called after Kubelet decides to kill or delete a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

    import javax.annotation.Nullable;
    import java.io.File;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Locale;
    import java.util.regex.Pattern;
    
    import static org.gradle.internal.FileUtils.withExtension;
    
    public abstract class OperatingSystem {
        public static final Windows WINDOWS = new Windows();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/bitmap.go

    const dryRunFalse = false
    
    // Allocate attempts to reserve the provided IP. ErrNotInRange or
    // ErrAllocated will be returned if the IP is not valid for this range
    // or has already been reserved.  ErrFull will be returned if there
    // are no addresses left.
    func (r *Range) Allocate(ip net.IP) error {
    	return r.allocate(ip, dryRunFalse)
    }
    
    func (r *Range) allocate(ip net.IP, dryRun bool) error {
    	label := r.CIDR()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/ipallocator_test.go

    		t.Errorf("expected %d free addresses, got %d", dynamicOffset, f)
    	}
    	// allocate all addresses on the static block
    	for i := 0; i < dynamicOffset; i++ {
    		ip := fmt.Sprintf("192.168.1.%d", i+1)
    		if err := r.Allocate(netutils.ParseIPSloppy(ip)); err != nil {
    			t.Errorf("Unexpected error trying to allocate IP %s: %v", ip, err)
    		}
    	}
    	if f := r.Free(); f != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/manager.go

    // without a prior Start.
    func (m *ManagerImpl) Stop() error {
    	return m.server.Stop()
    }
    
    // Allocate is the call that you can use to allocate a set of devices
    // from the registered device plugins.
    func (m *ManagerImpl) Allocate(pod *v1.Pod, container *v1.Container) error {
    	// The pod is during the admission phase. We need to save the pod to avoid it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/policy_static_test.go

    			defaultCPUSet: testCase.stDefaultCPUSet,
    		}
    		pod := testCase.pod
    
    		// allocate
    		for _, container := range append(pod.Spec.InitContainers, pod.Spec.Containers...) {
    			policy.Allocate(st, pod, &container)
    		}
    		if !reflect.DeepEqual(st.defaultCPUSet, testCase.expCSetAfterAlloc) {
    			t.Errorf("StaticPolicy Allocate() error (%v). expected default cpuset %v but got %v",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  10. pkg/registry/core/service/storage/alloc.go

    					err = svcAllocator.AllocateService(service, parsedIP)
    				} else {
    					err = allocator.Allocate(parsedIP)
    				}
    			} else {
    				err = allocator.Allocate(parsedIP)
    			}
    			if err != nil {
    				el := field.ErrorList{field.Invalid(field.NewPath("spec", "clusterIPs"), service.Spec.ClusterIPs, fmt.Sprintf("failed to allocate IP %v: %v", ip, err))}
    				return allocated, errors.NewInvalid(api.Kind("Service"), service.Name, el)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
Back to top