Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for closeDot (0.29 sec)

  1. src/image/color/color.go

    }
    
    // Palette is a palette of colors.
    type Palette []Color
    
    // Convert returns the palette color closest to c in Euclidean R,G,B space.
    func (p Palette) Convert(c Color) Color {
    	if len(p) == 0 {
    		return nil
    	}
    	return p[p.Index(c)]
    }
    
    // Index returns the index of the palette color closest to c in Euclidean
    // R,G,B,A space.
    func (p Palette) Index(c Color) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy

            layout.buildDefinitionMissing
    
            cleanup: "temporary tree"
            tmpDir.deleteDir()
        }
    
        def "returns closest ancestor directory that contains a #settingsFilename file"() {
            given:
            def locator = buildLayoutFactoryFor()
    
            and:
            def currentDir = tmpDir.createDir("sub/current")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/graphql.md

    ## GraphQL with Strawberry
    
    If you need or want to work with **GraphQL**, <a href="https://strawberry.rocks/" class="external-link" target="_blank">**Strawberry**</a> is the **recommended** library as it has the design closest to **FastAPI's** design, it's all based on **type annotations**.
    
    Depending on your use case, you might prefer to use a different library, but if you asked me, I would probably suggest you try **Strawberry**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. src/go/types/return.go

    // with a single-pass label/break matching phase.
    
    // hasBreak reports if s is or contains a break statement
    // referring to the label-ed statement or implicit-ly the
    // closest outer breakable statement.
    func hasBreak(s ast.Stmt, label string, implicit bool) bool {
    	switch s := s.(type) {
    	default:
    		panic("unreachable")
    
    	case *ast.BadStmt, *ast.DeclStmt, *ast.EmptyStmt, *ast.ExprStmt,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java

            return getExecutionPlanItems().iterator();
        }
    
        /**
         * Returns the last ExecutionPlanItem in the supplied phase. If no items are in the specified phase,
         * the closest executionPlanItem from an earlier phase item will be returned.
         *
         * @param requestedPhase the requested phase
         *                       The execution plan item
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        assertInterrupted();
      }
    
      public void testJoinTimeoutMultiInterruptExpired() {
        /*
         * We don't "need" to schedule a thread completion at all here, but by doing
         * so, we come the closest we can to testing that the wait time is
         * appropriately decreased on each progressive join() call.
         */
        TimedThread thread = TimedThread.createWithDelay(LONG_DELAY_MS);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  7. src/go/types/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 int
    		for _, i := range indices {
    			if d := absDiff(gotPos.Column, errList[i].col); index < 0 || d < delta {
    				index, delta = i, d
    			}
    		}
    
    		// The closest column position must be within expected colDelta.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top