Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for unclosed4 (0.13 sec)

  1. src/text/template/parse/parse_test.go

    	// Check line numbers are accurate.
    	{"unclosed1",
    		"line1\n{{",
    		hasError, `unclosed1:2: unclosed action`},
    	{"unclosed2",
    		"line1\n{{define `x`}}line2\n{{",
    		hasError, `unclosed2:3: unclosed action`},
    	{"unclosed3",
    		"line1\n{{\"x\"\n\"y\"\n",
    		hasError, `unclosed3:4: unclosed action started at unclosed3:2`},
    	{"unclosed4",
    		"{{\n\n\n\n\n",
    		hasError, `unclosed4:6: unclosed action started at unclosed4:1`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitEnclosedRunnerIntegrationTest.groovy

        }
    
        @Issue('https://github.com/gradle/gradle/issues/2319')
        def 'can run tests in Enclosed runner'() {
            given:
            file('src/test/java/EnclosedTest.java') << """
                ${testFrameworkImports}
                import org.junit.experimental.runners.Enclosed;
    
                @RunWith( Enclosed.class )
                public class EnclosedTest {
                    public static class InnerClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex_test.go

    	{
    		"3 #define foo bar\n",
    		"'#' must be first item on line",
    	},
    	{
    		"#ifdef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#define A() A()\nA()",
    		"recursive macro invocation",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ClassModelRuleSourceValidationTest.groovy

            type                               | reason
            OuterClass.AnInterface             | "Must be a class, not an interface"
            OuterClass.InnerInstanceClass      | "Enclosed classes must be static and non private"
            new RuleSource() {}.getClass()     | "Enclosed classes must be static and non private"
            OuterClass.HasTwoConstructors      | "Cannot declare a constructor that takes arguments"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/etag.go

    func ServeHTTPWithETag(
    	object runtime.Object,
    	hash string,
    	targetGV schema.GroupVersion,
    	serializer runtime.NegotiatedSerializer,
    	w http.ResponseWriter,
    	req *http.Request,
    ) {
    	// ETag must be enclosed in double quotes:
    	// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
    	quotedHash := strconv.Quote(hash)
    	w.Header().Set("ETag", quotedHash)
    	w.Header().Set("Vary", "Accept")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        data: String,
      ) {
        get().log("[ES] onEvent", Platform.INFO, null)
        events.add(Event(id, type, data))
        drainCancelQueue(eventSource)
      }
    
      override fun onClosed(eventSource: EventSource) {
        get().log("[ES] onClosed", Platform.INFO, null)
        events.add(Closed)
        drainCancelQueue(eventSource)
      }
    
      override fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PluginsBlockInterpreterTest.kt

            )
        }
    
        @Test
        fun `syntax error - id() with unclosed string`() {
            assertDynamicInterpretationOf(
                """id("plugin-id-1) ; id("plugin-id-2")"""",
                "Expecting token of type RBRACE, but got IDENTIFIER ('id') instead"
            )
        }
    
        @Test
        fun `syntax error - id() with unclosed parens`() {
            assertDynamicInterpretationOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 15:15:27 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

          events.add(Closing(code, reason))
        }
      }
    
      override fun onClosed(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
        Platform.get().log("[WS $name] onClosed $code", Platform.INFO, null)
        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onClosed(webSocket, code, reason)
        } else {
          events.add(Closed(code, reason))
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. okhttp-sse/api/okhttp-sse.api

    	public abstract fun newEventSource (Lokhttp3/Request;Lokhttp3/sse/EventSourceListener;)Lokhttp3/sse/EventSource;
    }
    
    public abstract class okhttp3/sse/EventSourceListener {
    	public fun <init> ()V
    	public fun onClosed (Lokhttp3/sse/EventSource;)V
    	public fun onEvent (Lokhttp3/sse/EventSource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    	public fun onFailure (Lokhttp3/sse/EventSource;Ljava/lang/Throwable;Lokhttp3/Response;)V
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 14:39:59 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

        id: String?,
        type: String?,
        data: String,
      ) {
      }
    
      /**
       * TODO description.
       *
       * No further calls to this listener will be made.
       */
      open fun onClosed(eventSource: EventSource) {
      }
    
      /**
       * Invoked when an event source has been closed due to an error reading from or writing to the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top