- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 277 for setBytes (0.21 sec)
-
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 Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 34.9K bytes - Viewed (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 context
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
dstIndex += 4; SMBUtil.writeInt4(this.createOptions, dst, dstIndex); dstIndex += 4; final int nameOffsetOffset = dstIndex; final byte[] nameBytes = this.name.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt2(nameBytes.length, dst, dstIndex + 2); dstIndex += 4; final int createContextOffsetOffset = dstIndex; dstIndex += 4; // createContextOffset
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
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; } }); } public void test_init_osddpath_null() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 23.9K bytes - Viewed (0) -
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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
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/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) -
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)