Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 47 for closeDot (0.14 sec)

  1. src/cmd/compile/internal/types2/check_test.go

    		// len(indices) > 0
    
    		// If there are multiple matching errors, select the one with the closest column position.
    		index := -1 // index of matching error
    		var delta uint
    		for _, i := range indices {
    			if d := absDiff(gotPos.Col(), errList[i].Pos.Col()); index < 0 || d < delta {
    				index, delta = i, d
    			}
    		}
    
    		// The closest column position must be within expected colDelta.
    		if delta > colDelta {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/numa_info_test.go

    					2: {12, 12, 10, 11},
    					3: {12, 12, 11, 10},
    				},
    			},
    		},
    	}
    
    	for _, tc := range tcases {
    		t.Run(tc.description, func(t *testing.T) {
    
    			result := tc.numaInfo.Closest(tc.candidate, tc.current)
    			if result != tc.current && result != tc.candidate {
    				t.Errorf("Expected result to be either 'current' or 'candidate' hint")
    			}
    			if tc.expected == "current" && result != tc.current {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          if (activeMenuHdr != e.target.closest('.menu-item')) {
            cancelActiveMenu();
          }
        }, { passive: true, capture: true });
      }
    
      // If there is an active menu and an up event inside, retract the menu.
      document.addEventListener('mouseup', (e) => {
        if (activeMenu == e.target.closest('.submenu')) {
          cancelActiveMenu();
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            then:
            def e2 = thrown(IllegalStateException)
            e2.message == "Unknown detail level for node types: [TRANSFORM_STEP]"
        }
    
        def "plan node dependencies include transitively closest identifiable nodes"() {
            def taskConverter = new ToTestPlannedNodeConverter(TestTaskNode, NodeType.TASK)
            def collector = new PlannedNodeGraph.Collector(new ToPlannedNodeConverterRegistry([taskConverter]))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/DefaultIncludedBuildRegistry.java

            return new DefaultBuildIdentifier(absoluteBuildPath);
        }
    
        private Path assignPath(BuildState owner, String name, File dir) {
            // Get the closest ancestor build of the build directory which we are currently adding
            Optional<Map.Entry<File, NestedBuildState>> parentBuild = nestedBuildsByRootDir.entrySet().stream()
                .filter(entry -> isPrefix(entry.getKey(), dir))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

       * value returned by this method is the {@code i} in that range such that {@code allRequired[i]}
       * is as close as possible to the center of the range [{@code from}, {@code to}]. Choosing the
       * value closest to the center of the range first is the most efficient strategy because it
       * minimizes the size of the subranges from which the remaining selections must be done.
       */
      private static int chooseNextSelection(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. src/math/big/rat_test.go

    	}
    }
    
    func TestFloat32Distribution(t *testing.T) {
    	// Generate a distribution of (sign, mantissa, exp) values
    	// broader than the float32 range, and check Rat.Float32()
    	// always picks the closest float32 approximation.
    	var add = []int64{
    		0,
    		1,
    		3,
    		5,
    		7,
    		9,
    		11,
    	}
    	var winc, einc = uint64(5), 15 // quick test (~60ms on x86-64)
    	if *long {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 07 00:15:59 UTC 2022
    - 18.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                get() = ******@****.***
        }
    
        private
        fun executionEngineFor(scriptHost: KotlinScriptHost<*>): ExecutionEngine {
            // get the ExecutionEngine from the closest available service scope
            // for the global one has no support for the build cache
            return (scriptHost.target as? Project)?.serviceOf()
                ?: executionEngine
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Quantiles.java

       * value returned by this method is the {@code i} in that range such that {@code allRequired[i]}
       * is as close as possible to the center of the range [{@code from}, {@code to}]. Choosing the
       * value closest to the center of the range first is the most efficient strategy because it
       * minimizes the size of the subranges from which the remaining selections must be done.
       */
      private static int chooseNextSelection(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  10. src/strconv/atof_test.go

    		}
    
    		if float64(float32(out)) == out {
    			out, err := ParseFloat(test.in, 32)
    			out32 := float32(out)
    			if float64(out32) != out {
    				t.Errorf("ParseFloat(%v, 32) = %v, not a float32 (closest is %v)", test.in, out, float64(out32))
    				continue
    			}
    			outs := FormatFloat(float64(out32), 'g', -1, 32)
    			if outs != test.out || !reflect.DeepEqual(err, test.err) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 16:24:57 UTC 2022
    - 23.6K bytes
    - Viewed (0)
Back to top