- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 333 for setBytes (0.25 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
// no password in tree connect dst[dstIndex++] = (byte) 0x00; } dstIndex += writeString(path, dst, dstIndex); try { System.arraycopy(service.getBytes("ASCII"), 0, dst, dstIndex, service.length()); } catch (final UnsupportedEncodingException uee) { return 0; } dstIndex += service.length(); dst[dstIndex] = (byte) '\0';Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
*/ private 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); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/storage/S3StorageClient.java
*/ private 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); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
outputFile.createNewFile(); } // Write some dummy content to simulate actual thumbnail Files.write(outputFile.toPath(), ("thumbnail-" + thumbnailId).getBytes()); return true; } catch (IOException e) { return false; } } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.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"); sambaHelper = new SambaHelper(); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.9K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacMac.java
*/ private PacMac() { // Utility class } /** * */ private static final String HMAC_KEY = "HMAC"; private static final byte[] MD5_CONSTANT = "signaturekey\0".getBytes(StandardCharsets.US_ASCII); private static final byte[] ZERO_IV = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; /** * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
// no password in tree connect dst[dstIndex++] = (byte) 0x00; } dstIndex += writeString(this.path, dst, dstIndex); try { System.arraycopy(this.service.getBytes("ASCII"), 0, dst, dstIndex, this.service.length()); } catch (final UnsupportedEncodingException uee) { return 0; } dstIndex += this.service.length();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rerun/InternalTestRerunPluginFuncTest.groovy
} } void logExecution() { try { Files.write(executionLogPath, "Test executed\\n".getBytes(), StandardOpenOption.CREATE, StandardOpenOption.APPEND); } catch (IOException e) { // exception handling } } }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 03 10:22:28 GMT 2021 - 8.9K bytes - Click Count (0) -
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/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)