Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for 0000000000000001 (0.29 sec)

  1. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

        val socket =
          MockWebServerSocket(
            FakeSocket(
              localAddress =
                InetAddress.getByAddress(
                  "::1",
                  byteArrayOf(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
                ),
              localPort = 80,
            ),
          )
        val request = RecordedRequest(DEFAULT_REQUEST_LINE_HTTP_1, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

          ).toString(),
        ).isEqualTo("example.com:1003 via proxy 1.2.3.4:5678")
      }
    
      @Test fun routeToStringIpv6() {
        val ipv6Address =
          InetAddress.getByAddress(
            byteArrayOf(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
          )
        assertThat(
          Route(
            factory.newAddress(uriHost = "::1", uriPort = 1003),
            Proxy.NO_PROXY,
            InetSocketAddress(ipv6Address, uriPort),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/HexdumpTest.java

        @Test
        @DisplayName("Should convert long to hex string with padding")
        void testLongToHexString() {
            // Test various long values
            assertEquals("0000000000000000", Hexdump.toHexString(0L, 16));
            assertEquals("00000000000000FF", Hexdump.toHexString(255L, 16));
            assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16));
    
            // Test different sizes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HexdumpTest.java

        void testToHexStringLong() {
            // Test zero
            assertEquals("0000000000000000", Hexdump.toHexString(0L, 16));
            assertEquals("00000000", Hexdump.toHexString(0L, 8));
            assertEquals("0000", Hexdump.toHexString(0L, 4));
    
            // Test positive values
            assertEquals("00000000000000FF", Hexdump.toHexString(255L, 16));
            assertEquals("000000FF", Hexdump.toHexString(255L, 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

        for (i in 0..0x3f) formattedFlags.add(formatFlags(TYPE_HEADERS, i))
        assertThat(formattedFlags).containsExactly(
          "",
          "END_STREAM",
          "00000010",
          "00000011",
          "END_HEADERS",
          "END_STREAM|END_HEADERS",
          "00000110",
          "00000111",
          "PADDED",
          "END_STREAM|PADDED",
          "00001010",
          "00001011",
          "00001100",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

          listOf(
            "Parsing: <http://example\t.\norg> against <http://example.org/foo/bar>",
            "Parsing: <http://f:0/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:00000000000000/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:\n/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:999999/c> against <http://example.org/foo/bar>",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

         *
         */
        private static final String HMAC_KEY = "HMAC";
        private static final byte[] MD5_CONSTANT = "signaturekey\0".getBytes(StandardCharsets.US_ASCII);
        private static final byte[] ZERO_IV = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
    
        /**
         * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.
         * This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

            assertEquals("953.7M", FessFunctions.formatFileSize(1000000000));
            assertEquals("931.3G", FessFunctions.formatFileSize(1000000000000L));
            assertEquals("909.5T", FessFunctions.formatFileSize(1000000000000000L));
        }
    
        public void test_parseDate() {
            Date date;
    
            date = FessFunctions.parseDate("");
            assertNull(date);
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56.123Z");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. logger/sql.go

    import (
    	"database/sql/driver"
    	"fmt"
    	"reflect"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    	"unicode"
    
    	"gorm.io/gorm/utils"
    )
    
    const (
    	tmFmtWithMS = "2006-01-02 15:04:05.999"
    	tmFmtZero   = "0000-00-00 00:00:00"
    	nullStr     = "NULL"
    )
    
    func isPrintable(s string) bool {
    	for _, r := range s {
    		if !unicode.IsPrint(r) {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. cmd/streaming-signature-v4_test.go

    		{"000000000000bogus", 0, "invalid byte in chunk length"},
    		{"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted
    		{"10000000000000000", 0, "http chunk length too large"},
    		{"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted
    	}
    	for i := uint64(0); i <= 1234; i++ {
    		tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i})
    	}
    	for _, tt := range tests {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top