- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 342 for getBytes (0.13 seconds)
-
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
<InputEncoding>UTF-8</InputEncoding> <OutputEncoding>UTF-8</OutputEncoding> </OpenSearchDescription> """, new String(InputStreamUtil.getBytes(ins))); } @Override public OutputStream stream() { return null; } }); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
*/ public static String base64(final String value) { if (value == null) { return StringUtil.EMPTY; } return Base64.getUrlEncoder().encodeToString(value.getBytes(Constants.CHARSET_UTF_8)); } /** * Checks if a file exists at the specified path within the servlet context. * * @param path the file path relative to the servlet contextCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
Encdec.enc_doublebe(v, this.tmp, 0); write(this.tmp, 0, 8); } @Override public final void writeBytes(final String s) throws SmbException { final byte[] b = s.getBytes(); write(b, 0, b.length); } @Override public final void writeChars(final String s) throws SmbException { final int clen = s.length(); final int blen = 2 * clen;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (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;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 23K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
void testReadBytesWireFormat() throws Exception { // Given - Service string in ASCII String testService = "A:"; byte[] serviceBytes = testService.getBytes("ASCII"); byte[] buffer = new byte[serviceBytes.length + 1]; System.arraycopy(serviceBytes, 0, buffer, 0, serviceBytes.length); buffer[serviceBytes.length] = 0; // Null terminator
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
throw closer.rethrow(e); } finally { closer.close(); } } private static Manifest manifest(String content) throws IOException { InputStream in = new ByteArrayInputStream(content.getBytes(US_ASCII)); Manifest manifest = new Manifest(); manifest.read(in); return manifest; } private static File fullpath(String path) { return new File(new File(path).toURI()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
compactList.add(new Object[] { p.getName(), p.getValues() }); } try { final String json = mapper.writeValueAsString(compactList); final byte[] compressed = gzipCompress(json.getBytes(StandardCharsets.UTF_8)); return Base64.getUrlEncoder().withoutPadding().encodeToString(compressed); } catch (final Exception e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 36.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
groupList.add(Base64.getUrlEncoder().encodeToString(name.getBytes(Constants.CHARSET_UTF_8))); } else if (lowerEntryDn.indexOf(lowerRoleDn) != -1) { roleList.add(Base64.getUrlEncoder().encodeToString(name.getBytes(Constants.CHARSET_UTF_8))); } });
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 08:06:20 GMT 2026 - 85.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java
final CurlResponse response = new CurlResponse(); response.setHttpStatusCode(statusCode); response.setEncoding("UTF-8"); response.setContentCache(new ContentCache(body.getBytes(StandardCharsets.UTF_8))); return response; } private void setupMockFessConfig() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 58.6K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
*/ private String getId(final String sessionId, final String url) { final String id = sessionId + ID_SEPARATOR + new String(Base64.getUrlEncoder().withoutPadding().encode(url.getBytes(UTF_8)), UTF_8); if (id.length() <= idPrefixLength) { return id; } return id.substring(0, idPrefixLength) + MessageDigestUtil.digest("SHA-256", id.substring(idPrefixLength)); }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0)