Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for 12345678901 (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            @Test
            @DisplayName("Test expiration property")
            void testExpirationProperty() {
                assertNull(testBlock.getExpiration());
                testBlock.setExpiration(123456789L);
                assertEquals(123456789L, testBlock.getExpiration());
            }
        }
    
        @Nested
        @DisplayName("DFS Resolution Tests")
        class DFSResolutionTests {
    
            @BeforeEach
            void setup() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        void testDecodeWithNegativeIndexNumber() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = -1234567890L;
    
            // Encode test data
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    
            // Decode
            int bytesDecoded = fileInternalInfo.decode(buffer, 0, buffer.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/util/transport/ResponseTest.java

            mockResponse.error();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).error();
        }
    
        @Test
        void testGetExpiration() {
            Long expiration = 123456789L;
            when(mockResponse.getExpiration()).thenReturn(expiration);
            assertEquals(expiration, mockResponse.getExpiration());
    
            // Test null expiration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            stubValidTree(6L, true, false); // SMB1
    
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 42, tree, "//s/share", 0xA, 0xB, 0xC, 0xD, 0L);
    
            long lastWrite = 123456789L;
            h.close(lastWrite);
    
            // Verify SMB1 close path uses request + response overload
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/StringsTest.java

            @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский",
                    "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" })
            void testGetBytesWithVariousInputs(String input) {
                // When
                byte[] result = Strings.getBytes(input, StandardCharsets.UTF_8);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top