- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 266 for setBytes (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); try (FileOutputStream fos = new FileOutputStream(propFile)) { fos.write("fess.version=1.0.0".getBytes()); } // Initialize SystemHelper SystemHelper systemHelper = new SystemHelper() { @Override protected void parseProjectProperties(final java.nio.file.Path propPath) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
} public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); } public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
if (this.fileName == null) { SMBUtil.writeInt2(0, dst, fnOffsetOffset); SMBUtil.writeInt2(0, dst, fnLengthOffset); } else { final byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset); SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
// Setup system properties for DI container File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); ComponentUtil.register(systemProps, "systemProperties"); relatedContentHelper = new RelatedContentHelper() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
*/ protected static String encodeId(final String objectName) { if (objectName == null) { return StringUtil.EMPTY; } return new String(Base64.getUrlEncoder().encode(objectName.getBytes(Constants.UTF_8_CHARSET)), Constants.UTF_8_CHARSET); } /** * Decodes a base64 encoded ID back to the original object name. * * @param id the encoded ID to decodeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
try (InputStream contentStream = new BufferedInputStream(new FileInputStream(file))) { responseData.setResponseBody(InputStreamUtil.getBytes(contentStream)); } catch (final Exception e) { logger.warn("Failed to read file content: file={}, size={}", file.getAbsolutePath(), file.length(), e);
Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
private Configuration mockConfig; private TransCallNamedPipe transCallNamedPipe; private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe"; private static final byte[] TEST_DATA = "Test pipe data".getBytes(); @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructorInitialization() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
SMBUtil.writeInt2(24, buffer, 10); // DataOffset SMBUtil.writeInt4(32, buffer, 12); // DataLength (standard lease only) // Write name System.arraycopy("DLse".getBytes(), 0, buffer, 16, 4); // Write lease key Smb2LeaseKey key = new Smb2LeaseKey(); key.encode(buffer, 24); // Write lease state
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
final String converted = URLEncoder.encode(target, Constants.UTF_8); if (target.equals(converted)) { encodedBuf.append(Base64.getUrlEncoder().encodeToString(target.getBytes(Constants.CHARSET_UTF_8))); } else { encodedBuf.append(converted); } } catch (final UnsupportedEncodingException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 15.2K bytes - Click Count (0)