Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 817e (0.02 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

      }
    
      @Test fun serverLargeBufferedPayloadWrittenAsOneFrame() {
        val length = 12345
        val payload: ByteString = (binaryData(length))
        serverWriter.writeMessageFrame(OPCODE_TEXT, payload)
        assertData("817e")
        assertData(format("%04x", length))
        assertData(payload)
      }
    
      @Test fun clientTextMessage() {
        clientWriter.writeMessageFrame(OPCODE_TEXT, "Hello".encodeUtf8())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. internal/config/lambda/event/targetid_test.go

    	testCases := []struct {
    		tid            TargetID
    		expectedResult string
    	}{
    		{TargetID{}, ":"},
    		{TargetID{"1", "webhook"}, "1:webhook"},
    		{TargetID{"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531", "localhost:55638"}, "httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.tid.String()
    
    		if result != testCase.expectedResult {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. internal/event/targetid_test.go

    	testCases := []struct {
    		tid            TargetID
    		expectedResult string
    	}{
    		{TargetID{}, ":"},
    		{TargetID{"1", "webhook"}, "1:webhook"},
    		{TargetID{"httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531", "localhost:55638"}, "httpclient+2e33cdee-fbec-4bdd-917e-7d8e3c5a2531:localhost:55638"},
    	}
    
    	for i, testCase := range testCases {
    		result := testCase.tid.String()
    
    		if result != testCase.expectedResult {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("2001::3", 65536, "2001::3", -1, false);
      }
    
      public void testFromStringUnusedDefaultPort() {
        // Default port, but unused.
        checkFromStringCase("gmail.com:81", 77, "gmail.com", 81, true);
        checkFromStringCase("192.0.2.2:83", 77, "192.0.2.2", 83, true);
        checkFromStringCase("[2001::2]:85", 77, "2001::2", 85, true);
      }
    
      public void testFromStringNonAsciiDigits() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top