Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,869 for message2 (0.15 sec)

  1. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/ExceptionTrackingFailureHandlerTest.groovy

            RuntimeException failure2 = new RuntimeException('broken2')
    
            when:
            dispatch.dispatchFailed("message1", failure1)
            dispatch.dispatchFailed("message2", failure2)
            dispatch.stop()
    
            then:
            def e = thrown(DispatchException)
            e.cause == failure1
            1 * logger.error('broken2', failure2)
            0 * logger._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/LoggingBackedStyledTextOutputTest.groovy

            0 * listener._
    
            when:
            output.text('line').println()
    
            then:
            1 * listener.onOutput({ it.spans[0].text == toNative('another line\n') })
            0 * listener._
        }
    
        def forwardsEachLineOfTextToListener() {
            when:
            output.text(toNative('message1\nmessage2')).println()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy

                            try {
                                assertThat("actual1").describedAs("message1").isEqualTo("expected1");
                            } catch (AssertionError e) {
                                errors.add(e);
                            }
                            try {
                                assertThat(23).describedAs("message2").isEqualTo(42);
                            } catch (AssertionError e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  4. src/testing/sub_test.go

    		--- FAIL: log in finished sub test logs to parent (N.NNs)
        sub_test.go:NNN: message2
        sub_test.go:NNN: message1
        sub_test.go:NNN: error`,
    		maxPar: 1,
    		f: func(t *T) {
    			ch := make(chan bool)
    			t.Run("sub", func(t2 *T) {
    				go func() {
    					<-ch
    					t2.Log("message1")
    					ch <- true
    				}()
    			})
    			t.Log("message2")
    			ch <- true
    			<-ch
    			t.Errorf("error")
    		},
    	}, {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  5. pkg/printers/internalversion/printers_test.go

    	firstRow := rows[0]
    	message1 := firstRow.Cells[4]
    	if message1.(string) != "Item 1" {
    		t.Errorf("Wrong event ordering: expecting (Item 1), got (%s)", message1)
    	}
    	secondRow := rows[1]
    	message2 := secondRow.Cells[4]
    	if message2 != "Item 2" {
    		t.Errorf("Wrong event ordering: expecting (Item 2), got (%s)", message2)
    	}
    	thirdRow := rows[2]
    	message3 := thirdRow.Cells[4]
    	if message3 != "Item 3" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  6. pkg/config/analysis/diag/messages.go

    package diag
    
    import (
    	"sort"
    )
    
    // Messages is a slice of Message items.
    type Messages []Message
    
    // Add a new message to the messages
    func (ms *Messages) Add(m ...Message) {
    	*ms = append(*ms, m...)
    }
    
    // Sort the message lexicographically by level, code, resource origin name, then string.
    func (ms *Messages) Sort() {
    	sort.Slice(*ms, func(i, j int) bool {
    		a, b := (*ms)[i], (*ms)[j]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 02:47:46 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/route/message.go

    const (
    	SysMetrics SysType = iota
    	SysStats
    )
    
    // ParseRIB parses b as a routing information base and returns a list
    // of routing messages.
    func ParseRIB(typ RIBType, b []byte) ([]Message, error) {
    	if !typ.parseable() {
    		return nil, errUnsupportedMessage
    	}
    	var msgs []Message
    	nmsgs, nskips := 0, 0
    	for len(b) > 4 {
    		nmsgs++
    		l := int(nativeEndian.Uint16(b[:2]))
    		if l == 0 {
    			return nil, errInvalidMessage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. internal/s3select/message.go

    	207, 151, 211, 146, // message crc.
    }
    
    // newErrorMessage - creates new Request Level Error Message. S3 sends this message if the request failed for any reason.
    // It contains the error code and error message for the failure. If S3 sends a RequestLevelError message,
    // it doesn't send an End message.
    //
    // Header specification:
    // Request-level error messages contain three headers, as follows:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    		return err
    	}
    	return nil
    }
    
    // Pack packs a full Message.
    func (m *Message) Pack() ([]byte, error) {
    	return m.AppendPack(make([]byte, 0, packStartingCap))
    }
    
    // AppendPack is like Pack but appends the full Message to b and returns the
    // extended buffer.
    func (m *Message) AppendPack(b []byte) ([]byte, error) {
    	// Validate the lengths. It is very unlikely that anyone will try to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  10. src/net/mail/message.go

    	if d {
    		log.Printf(format, args...)
    	}
    }
    
    // A Message represents a parsed mail message.
    type Message struct {
    	Header Header
    	Body   io.Reader
    }
    
    // ReadMessage reads a message from r.
    // The headers are parsed, and the body of the message will be available
    // for reading from msg.Body.
    func ReadMessage(r io.Reader) (msg *Message, err error) {
    	tp := textproto.NewReader(bufio.NewReader(r))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top