- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 277 for setBytes (0.05 sec)
-
src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
/** * @throws Exception */ @Test public void testFileToFile() throws Exception { final byte[] bytes = readBytes(inputFile); assertThat(bytes, is("あいうえお".getBytes("UTF-8"))); } /** * @throws Exception */ @Test public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java
this.hashCode = this.content.hashCode(); } @Override public InputStream getInputStream() throws IOException { return new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); } @Override public String getLocation() { return location; } /** * Gets the content of this source. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
final byte[] b = { 0x00, 0x01 }; assertThat(BinaryConversionUtil.toBinary(b), is(b)); assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes())); } /** * Test method for * {@link org.codelibs.core.convert.BinaryConversionUtil#toBinary(java.lang.Object)} * . */ @Test public void testToBinaryException() {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
fos.write(getTestContent().getBytes(StandardCharsets.UTF_8)); } // Create a temporary project.properties file for SystemHelper File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); try (FileOutputStream fos = new FileOutputStream(propFile)) { fos.write("fess.version=1.0.0".getBytes()); } // Initialize SystemHelper
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// flags (2 bytes, LE) -> 0x0000 assertEquals((byte) 0x00, dst[10]); assertEquals((byte) 0x00, dst[11]); // filename bytes, then null terminator byte[] nameBytes = name.getBytes(); for (int i = 0; i < nameBytes.length; i++) { assertEquals(nameBytes[i], dst[12 + i], "Filename byte mismatch at index " + i); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
/** * Context name for lease V2 response */ public static final String CONTEXT_NAME = "RqL2"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; private Smb2LeaseKey parentLeaseKey; private int epoch; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTargetName.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)