Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 566 for Closest (0.79 sec)

  1. src/image/color/ycbcr_test.go

    		RGBA{0x40, 0x40, 0x40, 0x40},
    	}
    	// Check that, for a Palette with no repeated colors, the closest color to
    	// each element is itself.
    	for i, c := range p {
    		j := p.Index(c)
    		if i != j {
    			t.Errorf("Index(%v): got %d (color = %v), want %d", c, j, p[j], i)
    		}
    	}
    	// Check that finding the closest color considers alpha, not just red,
    	// green and blue.
    	got := p.Convert(RGBA{0x80, 0x00, 0x00, 0x80})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 07:51:17 UTC 2016
    - 7.3K bytes
    - Viewed (0)
  2. src/main/webapp/js/admin/bootstrap.min.js

    nt).on(j.CLICK_DATA_API,w,function(t){var e=t.target;if(g(e).hasClass(D)||(e=g(e).closest(L)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var n=e.querySelector(k);if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void t.preventDefault();H._jQueryInterface.call(g(e),"toggle")}}).on(j.FOCUS_BLUR_DATA_API,w,function(t){var e=g(t.target).closest(L)[0];g(e).toggleClass(I,/^focus(in)?$/.test(t.type))}),g(window).on(j.LOAD_DATA_A...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
  3. 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)
  4. tests/integration/telemetry/util.go

    	"istio.io/istio/pkg/test/framework/components/prometheus"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    // PromDiff compares a query with labels to a query of the same metric without labels, and notes the closest matching
    // metric.
    func PromDiff(t test.Failer, prom prometheus.Instance, cluster cluster.Cluster, query prometheus.Query) {
    	t.Helper()
    	unlabelled := prometheus.Query{Metric: query.Metric}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 16:30:22 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/webapp/js/bootstrap.min.js

    nt).on(j.CLICK_DATA_API,w,function(t){var e=t.target;if(g(e).hasClass(D)||(e=g(e).closest(L)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var n=e.querySelector(k);if(n&&(n.hasAttribute("disabled")||n.classList.contains("disabled")))return void t.preventDefault();H._jQueryInterface.call(g(e),"toggle")}}).on(j.FOCUS_BLUR_DATA_API,w,function(t){var e=g(t.target).closest(L)[0];g(e).toggleClass(I,/^focus(in)?$/.test(t.type))}),g(window).on(j.LOAD_DATA_A...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 58.6K bytes
    - Viewed (0)
  9. 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)
  10. pkg/ctrlz/assets/static/js/clipboard-1.7.1.min.js

    o(t,e,n,o,r){var a=i.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}function i(t,e,n,o){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&o.call(t,n)}}var r=t("./closest");e.exports=o},{"./closest":1}],3:[function(t,e,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollect...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top