- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 133 for Formatter (0.05 seconds)
-
internal/kms/secret-key.go
// Decrypt decrypts req.Ciphertext. The key name req.Name must match the key // name of the secretKey. // // Decrypt supports decryption of binary-encoded ciphertexts, as produced by KES // and MinKMS, and legacy JSON formatted ciphertexts. func (s secretKey) Decrypt(_ context.Context, req *DecryptRequest) ([]byte, error) { if req.Name != s.keyID { return nil, ErrKeyNotFound } const randSize = 28
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
* * {@snippet : * Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * } * * <p>The state-changing methods are not idempotent; it is an error to start or stop a stopwatch * that is already in the desired state. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
// Act int result = response.readDataWireFormat(buffer, bufferIndex, len); // Assert assertEquals(0, result); } @Test @DisplayName("toString should return formatted string") void testToString() { // Act String result = response.toString(); // Assert assertNotNull(result);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
/** * Creates a valid Type 3 NTLM message for testing */ private static String createValidType3Message() { // Build a properly formatted Type 3 message byte[] message = new byte[200]; // NTLMSSP signature System.arraycopy("NTLMSSP\0".getBytes(), 0, message, 0, 8); // Type 3 indicator message[8] = 0x03;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
// Then assertEquals(0, result); } } /** * Test toString method */ @Test @DisplayName("Test toString returns properly formatted string") public void testToString() { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); // When String result = smbComTreeDisconnect.toString();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
* It extracts data from an HTML document by applying XPath rules defined in {@link #fieldRuleMap}. * The extracted data is then formatted into an XML structure and stored in the {@link ResultData}. * <p> * This class extends {@link HtmlTransformer} and overrides the {@link #storeData(ResponseData, ResultData)} methodCreated: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
// Test empty path request.setPath(""); assertEquals("\\", request.getPath()); } @Test @DisplayName("Test getPath returns correct formatted path") void testGetPath() { request = new Smb2CreateRequest(mockConfig, "share\\file.txt"); assertEquals("\\share\\file.txt", request.getPath()); request.setPath("newpath\\newfile.txt");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
logger.warn("Failed to access log files.", e); } } } /** * Gets host information including hostname and IP address. * * @return formatted string containing hostname and IP address */ protected String getHostInfo() { final StringBuilder buf = new StringBuilder(); try { final InetAddress ia = InetAddress.getLocalHost();
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.1K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`. You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java
return ConfigType.DATA; } return null; } /** * Extracts the actual ID from a config ID by removing the type prefix. * Config IDs are formatted as [type_prefix][actual_id], so this method * returns everything after the first character. * * @param configId the configuration ID to processCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19.5K bytes - Click Count (1)