Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 566 for Closest (0.12 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    			return
    		}
    	}
    }
    
    // checkTagDuplicates checks a single struct field tag to see if any tags are
    // duplicated. nearest is the field that's closest to the field being checked,
    // while still being part of the top-level struct type.
    func checkTagDuplicates(pass *analysis.Pass, tag, key string, nearest, field *types.Var, seen *namesSeen, level int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/dom.go

    				changed = true
    			}
    		}
    		if !changed {
    			break
    		}
    	}
    	// Set idom of entry block to nil instead of itself.
    	idom[f.Entry.ID] = nil
    	return idom
    }
    
    // intersect finds the closest dominator of both b and c.
    // It requires a postorder numbering of all the blocks.
    func intersect(b, c *Block, postnum []int, idom []*Block) *Block {
    	// TODO: This loop is O(n^2). It used to be used in nilcheck,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    		for _, v := range strings.Split(v, "-") {
    			b.AddVariant(v)
    		}
    	}
    	for _, e := range tag.Extensions() {
    		b.AddExt(e)
    	}
    	return t
    }
    
    // FromTag reports closest matching ID for an internal language Tag.
    func FromTag(t language.Tag) (id ID, exact bool) {
    	// TODO: perhaps give more frequent tags a lower index.
    	// TODO: we could make the indexes stable. This will excluded some
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/Quantiles.java

        // all values are lower or higher than centerFloor, in which case we find the two highest or
        // lowest respectively). If centerFloor is in allRequired, we will definitely find it. If not,
        // but centerFloor + 1 is, we'll definitely find that. The closest value to the true (unrounded)
        // center will be at either low or high.
        int low = requiredFrom;
        int high = requiredTo;
    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. 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)
  10. maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

         *   - a BOM import to the junit BOM which manages the dep to 0.2
         * This <i>currently</i> results in 0.1 (first wins, unexpected as this is not the closest) and a warning
         */
        @Test
        void testManagedDependencyDistance() throws Exception {
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 01 16:25:04 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top