Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for narrower (0.13 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 (0)
  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/policy_test.go

    						},
    					},
    				},
    			},
    			expected: TopologyHint{
    				NUMANodeAffinity: NewTestBitMask(0),
    				Preferred:        true,
    			},
    		},
    		{
    			name: "Ensure less narrow preferred hints are chosen over narrower non-preferred hints",
    			hp: []HintProvider{
    				&mockHintProvider{
    					map[string][]TopologyHint{
    						"resource1": {
    							{
    								NUMANodeAffinity: NewTestBitMask(1),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 34.6K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/topologymanager/numa_info_test.go

    		description string
    		current     bitmask.BitMask
    		candidate   bitmask.BitMask
    		expected    string
    		numaInfo    *NUMAInfo
    	}{
    		{
    			description: "current and candidate length is not the same, current narrower",
    			current:     NewTestBitMask(0),
    			candidate:   NewTestBitMask(0, 2),
    			expected:    "current",
    			numaInfo:    &NUMAInfo{},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

    [CAUTION]
    ====
    Avoid using local variables in the root of the project, i.e. as pseudo project properties. They cannot be read outside of the build script and Gradle has no knowledge of them.
    
    Within a narrower context — such as configuring a task — local variables can occasionally be helpful.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. src/runtime/mpagealloc.go

    	}
    	// foundFree takes the given address range [addr, addr+size) and
    	// updates firstFree if it is a narrower range. The input range must
    	// either be fully contained within firstFree or not overlap with it
    	// at all.
    	//
    	// This way, we'll record the first summary we find with any free
    	// pages on the root level and narrow that down if we descend into
    	// that summary. But as soon as we need to iterate beyond that summary
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. src/runtime/mkpreempt.go

    	p("NOP SP")
    
    	l.save()
    
    	// Apparently, the signal handling code path in darwin kernel leaves
    	// the upper bits of Y registers in a dirty state, which causes
    	// many SSE operations (128-bit and narrower) become much slower.
    	// Clear the upper bits to get to a clean state. See issue #37174.
    	// It is safe here as Go code don't use the upper bits of Y registers.
    	p("#ifdef GOOS_darwin")
    	p("#ifndef hasAVX")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top