Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for Formatter (0.14 sec)

  1. src/main/java/jcifs/smb/SmbNamedPipe.java

         * @param unshared
         *            whether to use an exclusive connection for this pipe
         * @param tc the CIFS context to use
         * @throws MalformedURLException if the URL is not properly formatted
         */
    
        public SmbNamedPipe(final String url, final int pipeType, final boolean unshared, final CIFSContext tc) throws MalformedURLException {
            super(url, tc);
            this.pipeType = pipeType;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/core/exception/ClRuntimeException.java

        /**
         * The message code.
         */
        private final String messageCode;
    
        /**
         * The arguments for the message.
         */
        private final Object[] args;
    
        /**
         * The formatted message.
         */
        private final String message;
    
        /**
         * The simple message without the message code.
         */
        private final String simpleMessage;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/log/Logger.java

                loggers.put(clazz, logger);
            }
            return logger;
        }
    
        /**
         * Returns a formatted message string.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
         *            Arguments
         * @return Formatted message string
         */
        public static LogMessage format(final String messageCode, final Object... args) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
            // Name should be formatted as username@domain
            assertEquals("user@DOM", nc.getName());
            // Password should be set
            assertEquals("pass", new String(pc.getPassword()));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertTrue(result.contains("maxBufferSize=4096"));
            assertTrue(result.contains("maxRawSize=8192"));
            assertTrue(result.contains("sessionKey=0x00ABCDEF"));
            // CAP_UNICODE is 0x0004, when formatted as 8 hex digits = 0x00000004
            assertTrue(result.contains("capabilities=0x00000004"));
            assertTrue(result.contains("serverTime=" + new Date(serverData.serverTime)));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/BufferCache.java

                }
            }
            // If queue is full, let the buffer be garbage collected
        }
    
        /**
         * Get current cache statistics for monitoring
         * @return formatted statistics string
         */
        public static String getCacheStatistics() {
            return String.format("BufferCache: queued=%d, max=%d, utilization=%.1f%%", queueSize.get(), MAX_BUFFERS,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

        }
    
        /**
         * Creates a key-value item map for display.
         *
         * @param label the item label
         * @param value the item value
         * @return map containing the formatted key-value pair
         */
        protected static Map<String, String> createItem(final Object label, final Object value) {
            final Map<String, String> map = new HashMap<>(2);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top