Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 120 for 012345 (1.44 sec)

  1. src/main/webapp/WEB-INF/fe.tld

        <name>formatDuration</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String formatDuration(long)</function-signature>
        <example>
          ${fe:formatDuration(1234)}
        </example>
      </function>
    
      <function>
        <description>
          Returns formatted date from a given value.
        </description>
        <name>formatDate</name>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            assertTrue(asciiBytes.length > 0, "ASCII encoding should produce bytes");
        }
    
        @Test
        public void testBufferCreation() throws UnsupportedEncodingException {
            byte[] dataBytes = { 1, 2, 3, 4 };
            String params = "test";
            byte[] buffer = createBuffer(10, dataBytes, params);
    
            // Verify buffer structure
            assertTrue(buffer.length >= 14, "Buffer should contain header, params and data");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            verify(request, times(1)).allowChain(null);
        }
    
        @Test
        @DisplayName("Test setTid with positive value")
        void testSetTidWithPositiveValue() {
            // Given
            int tid = 12345;
            doNothing().when(request).setTid(tid);
    
            // When
            request.setTid(tid);
    
            // Then
            verify(request, times(1)).setTid(tid);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            // Arrange
            WriterThread w = new WriterThread();
            SmbFileOutputStream out = mock(SmbFileOutputStream.class);
            byte[] payload = new byte[] { 1, 2, 3, 4 };
    
            w.start();
    
            // Wait until writer thread signals readiness
            synchronized (w) {
                long deadline = System.currentTimeMillis() + 2000;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

            void testConstructorAndOpnum() {
                // When: Creating open alias message
                samr.SamrOpenAlias message = new samr.SamrOpenAlias(mockPolicyHandle, 123, 456, mockPolicyHandle);
    
                // Then: Should have correct values
                assertEquals(0x1b, message.getOpnum());
                assertEquals(mockPolicyHandle, message.domain_handle);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(nego.getServerData()).thenReturn(serverData);
            when(transport.getNegotiateResponse()).thenReturn(nego);
    
            // Mock config methods needed for SMB1
            when(config.getPid()).thenReturn(1234);
    
            SmbComTreeConnectAndXResponse response = mock(SmbComTreeConnectAndXResponse.class);
            when(response.getService()).thenReturn("A:");
            when(response.isValidTid()).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

                return len;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getPid()).thenReturn(1234);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65535);
            when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB1);
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

     */
    @DisplayName("TransTransactNamedPipe Tests")
    class TransTransactNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private static final int TEST_FID = 0x1234;
        private static final byte[] TEST_DATA = "Test pipe data".getBytes(StandardCharsets.UTF_8);
        private static final int TEST_OFFSET = 0;
        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SIDTest.java

            }
    
            @Test
            @DisplayName("toString uses hex authority when high bytes are non-zero")
            void testToStringHexAuthority() {
                byte[] ident = new byte[] { 1, 2, 3, 4, 5, 6 }; // high bytes non-zero -> hex representation
                SID sid = new SID(buildSidT((byte) 1, ident, 7, 8), jcifs.SID.SID_TYPE_USE_NONE, null, null, false);
                String s = sid.toString();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(resp.getErrorCode()).thenReturn(0);
            when(resp.getNotifyInformation()).thenReturn(info);
            setupSmb2(resp, new byte[16]);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true);
    
            List<FileNotifyInformation> result = sut.watch();
    
            assertSame(info, result, "Should return response notify information");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top