Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 314 for a123 (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        table.put("bar", 5, 'c');
        table.put("cat", 8, 'd');
        assertThat(table.rowKeySet()).containsExactly("foo", "cat", "bar").inOrder();
        assertThat(table.row("foo").keySet()).containsExactly(12, 3).inOrder();
      }
    
      public void testCreateCopy() {
        TreeBasedTable<String, Integer, Character> original =
            TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @Test
        @DisplayName("Test reset with key and lastName")
        void testResetWithKeyAndLastName() {
            // Reset with parameters should not throw exception
            assertDoesNotThrow(() -> transaction.reset(123, "testName"));
    
            // Transaction should be ready for reuse
            assertTrue(transaction.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test hasMoreElements")
        void testHasMoreElements() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
      }
    
      private static final ImmutableSet<Integer> CHUNK_SIZES =
          ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE);
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
        List<String> expectProcess = Arrays.asList(expect);
        List<String> expectRead =
            Lists.transform(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
      }
    
      private static final ImmutableSet<Integer> CHUNK_SIZES =
          ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE);
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
        List<String> expectProcess = Arrays.asList(expect);
        List<String> expectRead =
            Lists.transform(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java

        }
    
        /**
         * Test method for {@link jcifs.internal.smb1.com.SmbComClose#SmbComClose(jcifs.Configuration, int, long)}.
         */
        @Test
        public void testConstructor() {
            // Given
            int fid = 123;
            long lastWriteTime = System.currentTimeMillis();
    
            // When
            SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/ResponseTest.java

            // Verify the method was called
            verify(mockResponse, times(1)).getMid();
        }
    
        @Test
        void testVerifySignature() {
            byte[] buffer = new byte[] { 1, 2, 3 };
            int offset = 0;
            int size = 3;
    
            // Simulate successful verification
            when(mockResponse.verifySignature(buffer, offset, size)).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            buildHeader(buf, headerStart, NtStatus.NT_STATUS_SUCCESS, 0x0001, 0xCAFEBABECAFEF00DL);
    
            int bodyStart = headerStart + Smb2Constants.SMB2_HEADER_LENGTH;
            byte[] blob = new byte[] { 1, 2, 3 };
            int secBufOffset = Smb2Constants.SMB2_HEADER_LENGTH + 8;
            int sessionFlags = 0; // not guest/null
            buildSessionSetupBody(buf, headerStart, bodyStart, sessionFlags, secBufOffset, blob);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            });
        }
    
        @Test
        void testEncodeDecode() {
            // Setup SMB with some data
            smb.command = ServerMessageBlock.SMB_COM_ECHO;
            smb.mid = 123;
            smb.pid = 456;
            smb.tid = 789;
            smb.uid = 101;
            smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            smb.useUnicode = true;
    
            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            // CSV with numbers and mixed data types - quoted fields keep quotes
            value = "123,\"Product Name\",45.67,\"Description with, comma\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(4, result.length);
            assertEquals("123", result[0]);
            assertEquals("Product Name", result[1]);
            assertEquals("45.67", result[2]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/TransportTest.java

                // 4=error, 5=disconnecting, 6=disconnected/invalid
                int[] disconnectedStates = { 0, 4, 5, 6 };
                int[] connectedStates = { 1, 2, 3 };
    
                for (int state : disconnectedStates) {
                    transport.setState(state);
                    assertTrue(transport.isDisconnected(), "State " + state + " should be disconnected");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top