Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for ab2345 (0.45 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
            assertEquals("2", "1234ef", StringUtil.replace("12345", "5", "ef"));
            assertEquals("3", "ab2345", StringUtil.replace("12345", "1", "ab"));
            assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a"));
            assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        testRotate(new char[] {'1', '2', '3', '4'}, -5, new char[] {'2', '3', '4', '1'});
        testRotate(new char[] {'1', '2', '3', '4'}, -1, new char[] {'2', '3', '4', '1'});
        testRotate(new char[] {'1', '2', '3', '4'}, 0, new char[] {'1', '2', '3', '4'});
        testRotate(new char[] {'1', '2', '3', '4'}, 1, new char[] {'4', '1', '2', '3'});
        testRotate(new char[] {'1', '2', '3', '4'}, 5, new char[] {'4', '1', '2', '3'});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.toByteArray((short) 0x2345)).isEqualTo(new byte[] {0x23, 0x45});
        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
      public void testFromByteArray() {
        assertThat(Shorts.fromByteArray(new byte[] {0x23, 0x45})).isEqualTo((short) 0x2345);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

        class ConstructorTests {
    
            private Configuration mockConfig;
    
            @BeforeEach
            void setUp() {
                mockConfig = mock(Configuration.class);
                when(mockConfig.getPid()).thenReturn(12345);
            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
                int testMid = 42;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        ListMultimap<String, Integer> multimap = create();
        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 4, 5).inOrder();
        List<Integer> sublist = list.subList(0, 5);
        assertThat(sublist).containsExactly(1, 2, 3, 4, 5).inOrder();
    
        sublist.clear();
        assertTrue(sublist.isEmpty());
        multimap.put("foo", 6);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacSidAttributesTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SID;
    
    class PacSidAttributesTest {
    
        private SID sidMock;
        private PacSidAttributes pacSidAttributes;
        private final int attributes = 12345;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            sidMock = mock(SID.class);
            // Create a new PacSidAttributes instance before each test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
            // Build a token with an arbitrary non-kerberos mechanism OID
            ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5");
            byte[] init = spnegoInitWithMechs(unsupported);
    
            // Host is a FQDN to pass the short-name check
            SmbUnsupportedOperationException ex =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Long.valueOf(123456789L), DocumentUtil.getValue(doc, "longStr", Long.class));
    
            doc.put("doubleStr", "123.45");
            assertEquals(Double.valueOf(123.45), DocumentUtil.getValue(doc, "doubleStr", Double.class));
    
            doc.put("floatStr", "123.45");
            assertEquals(Float.valueOf(123.45f), DocumentUtil.getValue(doc, "floatStr", Float.class));
    
            doc.put("boolStr", "true");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2, 3, 4}, -5, new byte[] {2, 3, 4, 1});
        testRotate(new byte[] {1, 2, 3, 4}, -1, new byte[] {2, 3, 4, 1});
        testRotate(new byte[] {1, 2, 3, 4}, 0, new byte[] {1, 2, 3, 4});
        testRotate(new byte[] {1, 2, 3, 4}, 1, new byte[] {4, 1, 2, 3});
        testRotate(new byte[] {1, 2, 3, 4}, 5, new byte[] {4, 1, 2, 3});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

            response.count = 12345L;
    
            String result = response.toString();
    
            // The toString method should return a string containing the count.
            assertTrue(result.contains("count=12345"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top