Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for 12345678901 (0.04 sec)

  1. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 });
            assertFalse(cos.done);
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(cos.done);
            assertTrue(file.exists());
            cos.close();
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        // Test many non-escaped characters.
        s =
            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertSame(s, htmlEscaper().escape(s));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/AsciiTest.java

      public void testTruncateIllegalArguments() {
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 2, "..."));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 8, "1234567890"));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "..."));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, ""));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/AsciiTest.java

      public void testTruncateIllegalArguments() {
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 2, "..."));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", 8, "1234567890"));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, "..."));
    
        assertThrows(IllegalArgumentException.class, () -> Ascii.truncate("foobar", -1, ""));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntField() throws Exception {
            final Field field = getClass().getField("intField");
            final int testData = 1234567890;
            FieldUtil.set(field, this, Integer.valueOf(testData));
            assertThat(FieldUtil.getInt(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt

        val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
        for (i in s.indices) {
          assertRoundTrip(s.substring(0, i).encodeUtf8())
        }
        val random = Random(123456789L)
        val buf = ByteArray(4096)
        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
      private fun assertRoundTrip(data: ByteString) {
        val encodeBuffer = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        // Test all non-escaped ASCII characters.
        String s =
            "!@#$%^*()_+=-/?\\|]}[{,.;:"
                + "abcdefghijklmnopqrstuvwxyz"
                + "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
                + "1234567890";
        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/HashingTest.java

    /** Tests for {@code Hashing}. */
    @GwtCompatible
    @NullMarked
    public class HashingTest extends TestCase {
      public void testSmear() {
        assertEquals(1459320713, smear(754102528));
        assertEquals(-160560296, smear(1234567890));
        assertEquals(-1017931171, smear(1));
        assertEquals(-1350072884, smear(-2000000000));
        assertEquals(-809843551, smear(2000000000));
        assertEquals(-309370926, smear(-1155484576));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            sitePath = "www.google.com";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
    
            urlLink = "smb://123.45.678.91/share1";
            sitePath = "123.45.678.91/share1";
            docMap.put(fieldName, urlLink);
            assertEquals(sitePath, viewHelper.getSitePath(docMap));
    
            urlLink = "file:/home/user/";
            sitePath = "/home/user/";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
Back to top