- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 237 for getBytes (0.1 sec)
-
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) { try (GZIPOutputStream gos = new GZIPOutputStream(baos)) { gos.write(hash.getBytes(Constants.UTF_8)); } return SIMILAR_DOC_HASH_PREFIX + Base64.getUrlEncoder().withoutPadding().encodeToString(baos.toByteArray()); } catch (final IOException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
super.setUp(); final File propFile = File.createTempFile("system", ".properties"); propFile.deleteOnExit(); FileUtil.writeBytes(propFile.getAbsolutePath(), "".getBytes()); ComponentUtil.register(new DynamicProperties(propFile), "systemProperties"); crawlingConfigHelper = new CrawlingConfigHelper(); crawlingConfigHelper.init();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 23.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
private static final int ID_MAX_LENGTH = 445; private SuggestUtil() { } public static String createSuggestTextId(final String text) { final String id = encoder.encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)); if (id.length() > 445) { return id.substring(0, ID_MAX_LENGTH); } return id; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
} } public void testNullPointers() { NullPointerTester tester = new NullPointerTester() .setDefault(byte[].class, "secret key".getBytes(UTF_8)) .setDefault(HashCode.class, HashCode.fromLong(0)); tester.testAllPublicStaticMethods(Hashing.class); } public void testSeedlessHashFunctionEquals() throws Exception {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} protected void storeData(final ResponseData responseData, final ResultData resultData) { try (final InputStream is = responseData.getResponseBody()) { final byte[] data = InputStreamUtil.getBytes(is); resultData.setData(data); resultData.setEncoding(responseData.getCharSet()); } catch (final CrawlerSystemException e) { throw e; } catch (final Exception e) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
} validate(form, messages -> {}, () -> asEditHtml(form)); verifyToken(() -> asEditHtml(form)); try { write(jspFile.getAbsolutePath(), decodeJsp(form.content).getBytes(Constants.UTF_8)); saveInfo(messages -> messages.addSuccessUpdateDesignJspFile(GLOBAL, jspFile.getAbsolutePath())); } catch (final Exception e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
try (InputStream contentStream = new BufferedInputStream(minioClient.getObject(args))) { responseData.setResponseBody(InputStreamUtil.getBytes(contentStream)); } catch (final Exception e) { logger.warn("I/O Exception.", e); responseData.setHttpStatusCode(Constants.SERVER_ERROR_STATUS_CODE);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
+ "\"}}\n" + hit.getSourceAsString() + "\n"; try { zos.write(data.getBytes(Constants.CHARSET_UTF_8)); } catch (final IOException e) { logger.warn("Failed to access /{}/{}.", index, hit.getId(), e); } return true;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 14K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.8K bytes - Viewed (0)