Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for formatted (0.04 sec)

  1. src/main/java/org/codelibs/fess/util/MemoryUtil.java

    /**
     * Utility class for memory operations and size calculations.
     */
    public final class MemoryUtil {
        private MemoryUtil() {
        }
    
        /**
         * Gets a formatted memory usage log string.
         *
         * @return formatted memory usage information
         */
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

                }
            }));
        }
    
        /**
         * Converts the discloser to a Slack message format.
         *
         * @param discloser the mail posting discloser
         * @return the formatted Slack message
         */
        protected String toSlackMessage(final SMailPostingDiscloser discloser) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("{\"text\":\"");
            buf.append(LF);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/NtlmFlags.java

        /**
         * Indicates whether the OEM-formatted domain name in which the
         * client workstation has membership is supplied in the Type-1 message.
         * This is used in the negotation of local authentication.
         */
        int NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED = 0x00001000;
    
        /**
         * Indicates whether the OEM-formatted workstation name is supplied
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

         *
         * @param url the SMB URL of the named pipe
         * @param pipeType the type of the pipe
         * @param auth the authentication credentials to use
         * @throws MalformedURLException if the URL is not properly formatted
         * @throws UnknownHostException if the host cannot be resolved
         */
        public SmbNamedPipe(final String url, final int pipeType, final NtlmPasswordAuthentication auth)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
            // Create a properly formatted response message
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
    
            // Manually encode a response header
            buf.enc_ndr_small(5); // RPC version
            buf.enc_ndr_small(0); // minor version
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        /**
        * Indicates whether the OEM-formatted domain name in which the
        * client workstation has membership is supplied in the Type-1 message.
        * This is used in the negotation of local authentication.
        */
        int NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED = 0x00001000;
    
        /**
        * Indicates whether the OEM-formatted workstation name is supplied
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            assertEquals((byte) 0, buffer[1]);
            // remaining 4 bytes should all be 0xFF according to writeUTime
            for (int i = 2; i < 6; i++) {
                assertEquals((byte) 0xFF, buffer[i], "byte %d should be 0xFF".formatted(i));
            }
        }
    
        /**
         * Verify that read methods and writeBytesWireFormat return 0,
         * while writeParameterWordsWireFormat returns 6 (the number of bytes written).
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            assertEquals(SmbComTransaction.TRANS2_FIND_FIRST2, response.getSubCommand());
        }
    
        @Test
        void testReadParametersWireFormat() {
            // Test reading parameters from a properly formatted buffer
            byte[] buffer = new byte[20];
    
            // Set up the buffer with test data
            // sid (2 bytes)
            buffer[0] = 0x01;
            buffer[1] = 0x00;
            // numEntries (2 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

        }
    
        /**
         * Creates an EditBody from a RelatedQuery entity for API responses.
         *
         * @param entity the RelatedQuery entity to convert
         * @return EditBody containing the entity data formatted for editing
         */
        protected EditBody createEditBody(final RelatedQuery entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/MockWitnessService.java

            }
        }
    
        @Override
        public void close() {
            stop();
        }
    
        /**
         * Helper method to create a complete mock service address
         *
         * @return formatted address string for RPC connections
         */
        public String getServiceAddress() {
            try {
                return "ncacn_ip_tcp:" + getAddress().getHostAddress() + "[" + getPort() + "]";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top