Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for narrower (0.33 sec)

  1. src/strconv/doc.go

    //	u, err := strconv.ParseUint("42", 10, 64)
    //
    // The parse functions return the widest type (float64, int64, and uint64),
    // but if the size argument specifies a narrower width the result can be
    // converted to that narrower type without data loss:
    //
    //	s := "2147483647" // biggest int32
    //	i64, err := strconv.ParseInt(s, 10, 32)
    //	...
    //	i := int32(i64)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/bitmask/bitmask.go

    	return false
    }
    
    // IsEqual checks if masks are equal
    func (s *bitMask) IsEqual(mask BitMask) bool {
    	return *s == *mask.(*bitMask)
    }
    
    // IsNarrowerThan checks if one mask is narrower than another.
    //
    // A mask is said to be "narrower" than another if it has lets bits set. If the
    // same number of bits are set in both masks, then the mask with more
    // lower-numbered bits set wins out.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  3. pkg/volume/util/recyclerclient/recycler_client.go

    	return internalRecycleVolumeByWatchingPodUntilCompletion(pvName, pod, newRecyclerClient(kubeClient, recorder))
    }
    
    // same as above func comments, except 'recyclerClient' is a narrower pod API
    // interface to ease testing
    func internalRecycleVolumeByWatchingPodUntilCompletion(pvName string, pod *v1.Pod, recyclerClient recyclerClient) error {
    	klog.V(5).Infof("creating recycler pod for volume %s\n", pod.Name)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 8.5K bytes
    - Viewed (1)
  4. pkg/kubelet/cm/topologymanager/topology_manager.go

    	}
    	return false
    }
    
    // LessThan checks if TopologyHint `a` is less than TopologyHint `b`
    // this means that either `a` is a preferred hint and `b` is not
    // or `a` NUMANodeAffinity attribute is narrower than `b` NUMANodeAffinity attribute.
    func (th *TopologyHint) LessThan(other TopologyHint) bool {
    	if th.Preferred != other.Preferred {
    		return th.Preferred
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 12:43:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go

    		// 1) we reduce the amount of seat-seconds that are "wasted" during
    		//    dispatching and executing initial phase of the request
    		// 2) we are not changing the finalWork estimate - just potentially
    		//    reshaping it to be narrower and longer. As long as the maximum
    		//    seats setting will prevent dispatching too many requests at once
    		//    to prevent overloading kube-apiserver (and/or etcd or the VM or
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/numa_info.go

    	return numaInfo, nil
    }
    
    func (n *NUMAInfo) Narrowest(m1 bitmask.BitMask, m2 bitmask.BitMask) bitmask.BitMask {
    	if m1.IsNarrowerThan(m2) {
    		return m1
    	}
    	return m2
    }
    
    func (n *NUMAInfo) Closest(m1 bitmask.BitMask, m2 bitmask.BitMask) bitmask.BitMask {
    	// If the length of both bitmasks aren't the same, choose the one that is narrowest.
    	if m1.Count() != m2.Count() {
    		return n.Narrowest(m1, m2)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  7. platforms/software/platform-base/src/main/java/org/gradle/platform/base/ModuleDependencySpecBuilder.java

    @Incubating
    public interface ModuleDependencySpecBuilder extends DependencySpecBuilder {
    
        /**
         * Narrows this dependency specification down to a specific module.
         *
         * @param name the module name
         *
         * @return this instance
         */
        ModuleDependencySpecBuilder module(String name);
    
        /**
         * Narrows this dependency specification down to a specific group.
         *
         * @param name the group name
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/main/java/org/gradle/platform/base/ProjectDependencySpecBuilder.java

    @Incubating
    public interface ProjectDependencySpecBuilder extends DependencySpecBuilder {
    
        /**
         * Narrows this dependency specification down to a specific project.
         *
         * @param path the project path
         *
         * @return this instance
         */
        ProjectDependencySpecBuilder project(String path);
    
        /**
         * Narrows this dependency specification down to a specific library.
         *
         * @param name the library name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/priority.go

    	// The list of all matching resources is narrowed based on the patterns until only one remains.
    	// A pattern with no matches is skipped.  A pattern with more than one match uses its
    	// matches as the list to continue matching against.
    	ResourcePriority []schema.GroupVersionResource
    
    	// KindPriority is a list of priority patterns to apply to matching kinds.
    	// The list of all matching kinds is narrowed based on the patterns until only one remains.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 23:44:02 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/compiler_internal.go

    // and the object and new field name are returned.
    //
    // The intended use for RenameResult is to allow rangefunc to assign results within a closure.
    // This is a hack, as narrowly targeted as possible to discourage abuse.
    func (s *Signature) RenameResult(results []*syntax.Field, i int) (*Var, *syntax.Name) {
    	a := results[i]
    	obj := s.Results().At(i)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top