Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,407 for distances (0.74 sec)

  1. pkg/kubelet/cm/topologymanager/numa_info_test.go

    			topology: []cadvisorapi.Node{
    				{
    					Id: 0,
    					Distances: []uint64{
    						10,
    						11,
    						12,
    						12,
    					},
    				},
    				{
    					Id: 1,
    					Distances: []uint64{
    						11,
    						10,
    						12,
    						12,
    					},
    				},
    				{
    					Id: 2,
    					Distances: []uint64{
    						12,
    						12,
    						10,
    						11,
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/numa_info.go

    	var numaNodes []int
    	distances := map[int][]uint64{}
    	for _, node := range topology {
    		numaNodes = append(numaNodes, node.Id)
    
    		var nodeDistance []uint64
    		if opts.PreferClosestNUMA {
    			nodeDistance = node.Distances
    			if nodeDistance == nil {
    				return nil, fmt.Errorf("error getting NUMA distances from cadvisor")
    			}
    		}
    		distances[node.Id] = nodeDistance
    	}
    
    	numaInfo := &NUMAInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/BinaryDiffUtils.groovy

            int len1 = rhs.length + 1;
    
            // the array of distances
            int[] cost = new int[len0];
            int[] newcost = new int[len0];
    
            // initial cost of skipping prefix in byte[] s0
            for (int i = 0; i < len0; i++) {
                cost[i] = i
            }
    
            // dynamically computing the array of distances
    
            // transformation cost for each letter in s1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 14 11:47:34 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/policy_single_numa_node.go

    limitations under the License.
    */
    
    package topologymanager
    
    type singleNumaNodePolicy struct {
    	// numaInfo represents list of NUMA Nodes available on the underlying machine and distances between them
    	numaInfo *NUMAInfo
    	opts     PolicyOptions
    }
    
    var _ Policy = &singleNumaNodePolicy{}
    
    // PolicySingleNumaNode policy name.
    const PolicySingleNumaNode string = "single-numa-node"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/topologymanager/policy_best_effort.go

    limitations under the License.
    */
    
    package topologymanager
    
    type bestEffortPolicy struct {
    	// numaInfo represents list of NUMA Nodes available on the underlying machine and distances between them
    	numaInfo *NUMAInfo
    	opts     PolicyOptions
    }
    
    var _ Policy = &bestEffortPolicy{}
    
    // PolicyBestEffort policy name.
    const PolicyBestEffort string = "best-effort"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/topology_manager_test.go

    				"unknown-option": "true",
    			},
    		},
    		{
    			description:    "can't get NUMA distances",
    			policyName:     "best-effort",
    			expectedPolicy: "best-effort",
    			policyOptions: map[string]string{
    				PreferClosestNUMANodes: "true",
    			},
    			expectedError: fmt.Errorf("error getting NUMA distances from cadvisor"),
    			topology: []cadvisorapi.Node{
    				{
    					Id: 0,
    				},
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 13:04:32 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/layout.go

    		for posdegree.size() > 0 {
    			cid := posdegree.pop()
    			if !scheduled[cid] {
    				bid = cid
    				continue blockloop
    			}
    		}
    		// Pick any exit block.
    		// TODO: Order these to minimize jump distances?
    		for {
    			cid := exit.pop()
    			if !scheduled[cid] {
    				bid = cid
    				continue blockloop
    			}
    		}
    	}
    	f.laidout = true
    	return order
    	//f.Blocks = order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  8. src/compress/flate/dict_decoder.go

    	}
    
    	dd.wrPos = dstPos
    	return dstPos - dstBase
    }
    
    // tryWriteCopy tries to copy a string at a given (distance, length) to the
    // output. This specialized version is optimized for short distances.
    //
    // This method is designed to be inlined for performance reasons.
    //
    // This invariant must be kept: 0 < dist <= histSize()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 6K bytes
    - Viewed (0)
  9. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    semicircular Ends into Circles, when either of the observed Colours fell within those Circles, I measured the distance of that Colour from the semicircular End of the Spectrum, and subducting half this distance from the measured distance of the two Colours, I took the Remainder for their corrected distance; and in these Observations set down this corrected distance for the difference of the distances of their Foci from the Lens. For, as the Length of the Rectilinear Sides of the Spectrum would be the whole...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
  10. src/testdata/Isaac.Newton-Opticks.txt

    Circles, when either of the observed Colours fell within those Circles,
    I measured the distance of that Colour from the semicircular End of the
    Spectrum, and subducting half this distance from the measured distance
    of the two Colours, I took the Remainder for their corrected distance;
    and in these Observations set down this corrected distance for the
    difference of the distances of their Foci from the Lens. For, as the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
Back to top