- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 316 for SetBytes (0.14 sec)
-
android/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()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
File temp = File.createTempFile("maven-artifact", null); temp.deleteOnExit(); byte[] bytes = sums.get(extension).getBytes(StandardCharsets.UTF_8); Files.write( Paths.get(temp.getAbsolutePath()), bytes, StandardOpenOption.APPEND, StandardOpenOption.CREATE); temporaryFiles.add(temp);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* @return the encoded string, truncated if necessary */ 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 Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
assertEquals(0x3F, caps); } @Test @DisplayName("Should return security blob") void testGetSecurityBlob() throws Exception { // Given byte[] blob = "SecurityBlob".getBytes(); setPrivateField(response, "securityBuffer", blob); // When byte[] result = response.getSecurityBlob(); // Then assertArrayEquals(blob, result); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K 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 Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (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))); } });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 82K bytes - Viewed (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) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
* * @throws CIFSException if there is an error during initialization */ protected void initDefaults() throws CIFSException { try { "".getBytes(SmbConstants.DEFAULT_OEM_ENCODING); } catch (final UnsupportedEncodingException uee) { throw new CIFSException(Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0)