Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for junk (0.02 sec)

  1. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

          .isEqualTo(28800000L)
        // Ignore trailing junk
        assertThat("Thursday, 01-Jan-1970 00:00:00 PST JUNK".toHttpDateOrNull()!!.time)
          .isEqualTo(28800000L)
    
        // ANSI C's asctime() format
        // This format ignores the timezone entirely even if it is present and uses GMT.
        assertThat("Fri Jun 6 12:30:30 2014 PST".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
        // Ignore trailing junk.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

        assertThat(actual).isEqualTo(expected)
      }
    
      companion object {
        private fun binaryData(length: Int): ByteString {
          val junk = ByteArray(length)
          Random(0).nextBytes(junk)
          return junk.toByteString()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. .typos.toml

        "CREDITS",
        "go.mod",
        "go.sum",
    ]
    ignore-hidden = false
    
    [default]
    extend-ignore-re = [
        "Patrick Collison",
        "Copyright 2014 Unknwon",
        "[0-9A-Za-z/+=]{64}",
        "ZXJuZXQxDjAMBgNVBA-some-junk-Q4wDAYDVQQLEwVNaW5pbzEOMAwGA1UEAxMF",
        "eyJmb28iOiJiYXIifQ",
        "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.*",
        "MIIDBTCCAe2gAwIBAgIQWHw7h.*",
        'http\.Header\{"X-Amz-Server-Side-Encryptio":',
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 910 bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

        }.also { expected ->
          assertThat(expected.message!!).contains("closed")
        }
      }
    
      private fun binaryData(length: Int): ByteString {
        val junk = ByteArray(length)
        random.nextBytes(junk)
        return junk.toByteString()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/expr_test.go

    	{"3*2+3", 3*2 + 3, true},
    	{"3+2*3", 3 + 2*3, true},
    	{"3*(2+3)", 3 * (2 + 3), true},
    	{"3*-(2+3)", 3 * -(2 + 3), true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<2+4", 3<<2 + 4, true},
    	{"3<<(2+4)", 3 << (2 + 4), true},
    	// Junk at EOF.
    	{"3 x", 3, false},
    	// Big number
    	{"4611686018427387904", 4611686018427387904, true},
    }
    
    func TestExpr(t *testing.T) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        DataOutputStream out = new DataOutputStream(baos);
    
        /* Write out various test values NORMALLY */
        out.write(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); // 10 bytes of junk to skip
        initializeData(out);
    
        byte[] data = baos.toByteArray();
    
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        int bytesSkipped = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        DataOutputStream out = new DataOutputStream(baos);
    
        /* Write out various test values NORMALLY */
        out.write(new byte[] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}); // 10 bytes of junk to skip
        initializeData(out);
    
        byte[] data = baos.toByteArray();
    
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
        int bytesSkipped = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

            // to also check that position.getIndex() == value.length() otherwise parsing might have
            // terminated early, ignoring things like "+01:00". Leaving this as != 0 means that any
            // trailing junk is ignored.
            return result
          }
        }
      }
      return null
    }
    
    /** Returns the string for this date. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. internal/config/certs_test.go

    aW5pbzEOMAwGA1UECxMFTWluaW8xDjAMBgNVBAMTBU1pbmlvMR0wGwYJKoZIhvcN
    AQkBFg50ZXN0c0BtaW5pby5pbzAeFw0xNjEwMTQxMTM0MjJaFw0xNzEwMTQxMTM0
    MjJaMH8xCzAJBgNVBAYTAlpZMQ4wDAYDVQQIEwVNaW5pbzERMA8GA1UEBxMISW50
    ZXJuZXQxDjAMBgNVBA-some-junk-Q4wDAYDVQQLEwVNaW5pbzEOMAwGA1UEAxMF
    TWluaW8xHTAbBgkqhkiG9w0BCQEWDnRlc3RzQG1pbmlvLmlvMIGfMA0GCSqGSIb3
    DQEBAQUAA4GNADCBiQKBgQDwNUYB/Sj79WsUE8qnXzzh2glSzWxUE79sCOpQYK83
    HWkrl5WxlG8ZxDR1IQV9Ex/lzigJu8G+KXahon6a+3n5GhNrYRe5kIXHQHz0qvv4
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                    /*
                     * The SMB_COM_NT_CREATE_ANDX response wordCount is wrong. There's an
                     * extra 16 bytes for some "Offline Files (CSC or Client Side Caching)"
                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
Back to top