Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,459 for message1 (0.13 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/Dispatch.java

    /**
     * A general purpose sink for a stream of messages.
     *
     * <p>Implementations are not required to be thread-safe.
     */
    public interface Dispatch<T> {
        /**
         * Dispatches the next message. Blocks until the messages has been accepted but generally does not wait for the
         * message to be processed. Delivery guarantees are implementation specific.
         *
         * @param message The message.
         */
        void dispatch(T message);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/ConnectionSetTest.groovy

            incoming.take(messages)
    
            then:
            messages.size() == 1
            messages == [sentinel]
    
            when:
            messages = []
            connection.dispatchFinished()
            connection.receiveFinished()
            incoming.take(messages)
    
            then:
            messages.size() == 2
            messages[0] instanceof RejectedMessage
            messages[0].payload == "payload"
            messages[1] instanceof EndOfStream
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/providers/connectProperties/kotlin/build.gradle.kts

        // Read-only property calculated from the greeting
        @Internal
        val message: Provider<String> = greeting.map { it + " from Gradle" }
    
        @TaskAction
        fun printMessage() {
            logger.quiet(message.get())
        }
    }
    
    // Create the project extension
    val messages = project.extensions.create<MessageExtension>("messages")
    
    // Create the greeting task
    tasks.register<Greeting>("greeting") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. istioctl/pkg/util/formatting/formatter_test.go

    	)
    
    	msgs := diag.Messages{firstMsg, secondMsg}
    	output, _ := Print(msgs, YAMLFormat, false)
    
    	expectedOutput := `- code: B1
      documentationUrl: ` + url.ConfigAnalysis + `/b1/
      level: Error
      message: 'Explosion accident: the bubble is too big'
      origin: SoapBubble
    - code: C1
      documentationUrl: ` + url.ConfigAnalysis + `/c1/
      level: Warning
      message: 'Collapse danger: the castle is too old'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream.go

    // client and ignore messages sent to the server. The received messages are
    // the exact bytes written to the stream. Zero byte messages are possible.
    const binaryWebSocketProtocol = "binary.k8s.io"
    
    // The WebSocket subprotocol "base64.binary.k8s.io" will only send messages to the
    // client and ignore messages sent to the server. The received messages are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/HelperProcessorFixture.groovy

     * a greeting. The greeting is composed of a message and a suffix. The message is compiled into a support
     * library. The suffix is compiled directly into the processor. This makes it easy to test different incremental
     * change scenarios. The message can also be provided with the -Amessage processor argument.
     */
    @CompileStatic
    class HelperProcessorFixture extends AnnotationProcessorFixture {
        String message = "greetings"
        boolean writeResources
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

                description.appendText("was a ProjectBuildingResult with messages ");
                String messages = r.getProblems().stream()
                        .map(ModelProblem::getMessage)
                        .map(m -> "\"" + m + "\"" + System.lineSeparator())
                        .collect(joining(", "));
                description.appendText(messages);
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/WebSocketListener.kt

       * messages.
       */
      open fun onOpen(
        webSocket: WebSocket,
        response: Response,
      ) {
      }
    
      /** Invoked when a text (type `0x1`) message has been received. */
      open fun onMessage(
        webSocket: WebSocket,
        text: String,
      ) {
      }
    
      /** Invoked when a binary (type `0x2`) message has been received. */
      open fun onMessage(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/LogEventSerializerTest.groovy

            result.logLevel == LogLevel.LIFECYCLE
            result.message == MESSAGE
            result.throwable.getClass() == event.throwable.getClass()
            result.throwable.message == event.throwable.message
            result.throwable.stackTrace == event.throwable.stackTrace
            result.buildOperationId == new OperationIdentifier(42L)
        }
    
        def "can serialize LogEvent messages"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. pkg/log/uds_test.go

    		json.Unmarshal([]byte(srv.messages[0]), &got[0])
    		json.Unmarshal([]byte(srv.messages[1]), &got[1])
    		if !reflect.DeepEqual(got, want) {
    			t.Errorf("received log messages, got %v want %v", got, want)
    		}
    	}
    
    	{
    		t.Log("test sending log with specified time")
    
    		// Clean up all the mssages, and log again. Check that buffer is cleaned up properly.
    		srv.messages = make([]string, 0)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 01:05:12 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top