- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 335 for metabytes (0.07 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java
/** * Test that input stream content is not read (only validated). */ public void test_getText_doesNotReadInputStream() throws Exception { final byte[] testData = "This data should not be read".getBytes(); final InputStream in = new ByteArrayInputStream(testData); final Map<String, String> params = new HashMap<>(); params.put(ExtractData.RESOURCE_NAME_KEY, "filename.txt");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
/** * Context name for lease V2 request */ public static final String CONTEXT_NAME = "RqL2"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; private Smb2LeaseKey parentLeaseKey; private int epoch; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java
} final StreamResponse response = asStream(DocumentUtil.getValue(doc, fessConfig.getIndexFieldDocId(), String.class)).contentType("text/html; charset=UTF-8") .data(content.getBytes(Constants.CHARSET_UTF_8)); response.headerContentDispositionInline(); // TODO will be fixed in lastaflute return response; }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractHasher.java
} return this; } @Override @CanIgnoreReturnValue public Hasher putString(CharSequence charSequence, Charset charset) { return putBytes(charSequence.toString().getBytes(charset)); } @Override @CanIgnoreReturnValue public Hasher putBytes(byte[] bytes) { return putBytes(bytes, 0, bytes.length); } @Override @CanIgnoreReturnValueRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0); // Calculate expected size: 1 byte for command + string bytes + 1 null terminator byte[] expectedString = "testfile.txt".getBytes("windows-1252"); assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
assertEquals("text/plain", responseData.getMimeType()); assertTrue(responseData.getUrl().endsWith("test/text1.txt")); final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8"); assertEquals("test1", content.trim()); } public void test_doGet_file_with_space() throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:59:28 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
* <p> * The input stream is not closed. * </p> * * @param is the input stream (must not be {@literal null}) * @return the byte array */ public static final byte[] getBytes(final InputStream is) { assertArgumentNotNull("is", is); final ByteArrayOutputStream os = new ByteArrayOutputStream(BUF_SIZE); CopyUtil.copy(is, os); return os.toByteArray(); }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java
/** * Context name for durable handle V2 response */ public static final String CONTEXT_NAME = "DH2Q"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private long timeout100Ns; // timeout in 100-nanosecond intervals (wire format, unsigned 32-bit) private int flags; /** * Create a new durable handle V2 response */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
assertTrue(content.contains("テスト")); assertEquals("タイトル", data.getValues("title")[0]); } public void test_getHtml_empty() { final InputStream in = new ByteArrayInputStream("".getBytes()); final String content = htmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertEquals("", content); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
keys = new HashMap<>(); // Use ARCFOUR-HMAC encryption type (23) which matches KERB_CHECKSUM_HMAC_MD5 KerberosKey serverKey = new KerberosKey(new KerberosPrincipal("******@****.***"), "serverKey1234567".getBytes(), PacSignature.ETYPE_ARCFOUR_HMAC, 1); keys.put(PacSignature.ETYPE_ARCFOUR_HMAC, serverKey); } private void writeLittleEndianInt(ByteArrayOutputStream baos, int value) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)