Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testDepth (0.64 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a1n, a1n, a2n);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

        /**
         * Tests that <code>a:1.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a1n, a1n, a2n);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a2n, a1n, a2n);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
         * </pre>
         */
        @Test
        void testDepth() {
            ResolutionNode a1n = createResolutionNode(a1);
            ResolutionNode b1n = createResolutionNode(b1);
            ResolutionNode a2n = createResolutionNode(a2, b1n);
    
            assertResolveConflict(a2n, a1n, a2n);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15329.go

    // license that can be found in the LICENSE file.
    
    // Previously, cmd/compile would rewrite
    //
    //     check(unsafe.Pointer(testMeth(1).Pointer()), unsafe.Pointer(testMeth(2).Pointer()))
    //
    // to
    //
    //     var autotmp_1 uintptr = testMeth(1).Pointer()
    //     var autotmp_2 uintptr = testMeth(2).Pointer()
    //     check(unsafe.Pointer(autotmp_1), unsafe.Pointer(autotmp_2))
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 18 14:01:22 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modcmd/why.go

    				byModule[m.Path] = append(byModule[m.Path], path)
    			}
    		}
    		sep := ""
    		for _, m := range mods {
    			best := ""
    			bestDepth := 1000000000
    			for _, path := range byModule[m.Path] {
    				d := modload.WhyDepth(path)
    				if d > 0 && d < bestDepth {
    					best = path
    					bestDepth = d
    				}
    			}
    			why := modload.Why(best)
    			if why == "" {
    				vendoring := ""
    				if *whyVendor {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 21:32:23 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/regalloc.go

    		if v == nil {
    			panic(fmt.Errorf("nil v, s.orig[%d], vi = %v, spill = %s", i, vi, spill.LongString()))
    		}
    		best := v.Block
    		bestArg := v
    		var bestDepth int16
    		if l := s.loopnest.b2l[best.ID]; l != nil {
    			bestDepth = l.depth
    		}
    		b := best
    		const maxSpillSearch = 100
    		for i := 0; i < maxSpillSearch; i++ {
    			// Find the child of b in the dominator tree which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top