- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for writeChar (0.21 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
@Override public final void writeShort(final int v) throws SmbException { Encdec.enc_uint16be((short) v, this.tmp, 0); write(this.tmp, 0, 2); } @Override public final void writeChar(final int v) throws SmbException { Encdec.enc_uint16be((short) v, this.tmp, 0); write(this.tmp, 0, 2); } @Override public final void writeInt(final int v) throws SmbException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteStreams.java
} } @Override public void writeChar(int v) { try { output.writeChar(v); } catch (IOException impossible) { throw new AssertionError(impossible); } } @Override public void writeChars(String s) { try { output.writeChars(s); } catch (IOException impossible) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 31.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("writeBytes(): writes string bytes; writeChars(): 2x length") void write_stringVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt()); raf.writeBytes("hi"); raf.writeChars("yo"); verify(raf).write(any(byte[].class), eq(0), eq(2)); // bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThat(out.toByteArray()).isEqualTo(expected); } public void testNewDataOutput_writeChar() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeChar('a'); assertThat(out.toByteArray()).isEqualTo(new byte[] {0, 97}); } // Hardcoded because of Android problems. See testUtf16Expected. private static final byte[] utf16ExpectedWithBom =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThat(out.toByteArray()).isEqualTo(expected); } public void testNewDataOutput_writeChar() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeChar('a'); assertThat(out.toByteArray()).isEqualTo(new byte[] {0, 97}); } // Hardcoded because of Android problems. See testUtf16Expected. private static final byte[] utf16ExpectedWithBom =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0)