- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for singleByte (0.36 seconds)
-
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
if (chunk1 > 0) { write(out, data, 0, chunk1, singleByte); assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); } File file = out.getFile(); assertThat(file).isNull(); // Write data to go over the threshold if (chunk2 > 0) { write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
final byte[] singleByte = new byte[] { 'A' }; final String encoded = Base64Util.encode(singleByte); assertNotNull("Encoded result should not be null", encoded); final byte[] decoded = Base64Util.decode(encoded); assertEquals("Decoded should have same length", 1, decoded.length); assertEquals("Decoded byte should match", singleByte[0], decoded[0]); } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0)