- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 67 for formatted (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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())); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SearchLogService.java
* @return LocalDateTime in UTC timezone */ protected LocalDateTime parseDateTime(final String value, final DateTimeFormatter formatter) { return LocalDateTime.parse(value, formatter).atZone(ZoneId.systemDefault()).withZoneSameInstant(ZoneOffset.UTC).toLocalDateTime(); } /** * Retrieves a specific search log entry by log type and ID. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 32.7K bytes - Viewed (0) -
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) -
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)