Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 114 for Closest (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics.go

    		// the lowest bucket was based around the 180ns/op figure for BenchmarkAccess,
    		// plus some additional leeway to account for the apiserver doing other things
    		// the largest bucket was chosen based on the fact that benchmarks indicate the
    		// same Xeon running a CEL expression close to the estimated cost limit takes
    		// around 760ms, so that bucket should only ever have the slowest CEL expressions
    		// in it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

    @SuppressSignatureCheck
    sealed class CallEvent {
      abstract val timestampNs: Long
      abstract val call: Call
    
      val name: String
        get() = javaClass.simpleName
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: CallEvent): Boolean? = null
    
      data class ProxySelectStart(
        override val timestampNs: Long,
        override val call: Call,
        val url: HttpUrl,
      ) : CallEvent()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy

        def explanationBuilder = Stub(AttributeMatchingExplanationBuilder)
    
        def highest = Attribute.of("highest", String)
        def middle = Attribute.of("middle", String)
        def lowest = Attribute.of("lowest", String)
        // This has no precedence
        def additional = Attribute.of("usage", String)
    
        static class CompatibilityRule implements AttributeCompatibilityRule<String> {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
        get() = javaClass.simpleName
    
      data class ConnectStart(
        override val timestampNs: Long,
        val route: Route,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    	ctx, err := createWebSocketStreams(req, w, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	if ctx.resizeStream != nil {
    		ctx.resizeChan = make(chan remotecommand.TerminalSize)
    		go func() {
    			// Resize channel closes in panic case, and panic does not take down caller.
    			defer func() {
    				if p := recover(); p != nil {
    					// Standard panic logging.
    					for _, fn := range runtime.PanicHandlers {
    						fn(req.Context(), p)
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/LoadTargetTest.groovy

            @Override
            void close() throws IOException {
                closed = true
            }
        }
    
        def "closes input"() {
            given:
            def input = new TestInputStream()
    
            when:
            target.readFrom(input)
    
            then:
            input.closed
        }
    
        def "closes input on subsequent use"() {
            given:
            def input = new TestInputStream()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/IoActions.java

            return new TextFileWriterIoAction(output, encoding);
        }
    
        /**
         * Performs the given action against the given resource, then closes the resource. Ignores failure to close the resource when
         * the action throws an exception.
         */
        public static <T extends Closeable> void withResource(T resource, Action<? super T> action) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top