- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 64 for readSlice (0.09 seconds)
-
android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); UnsupportedOperationException expected = assertThrows(UnsupportedOperationException.class, in::readLine); assertThat(expected).hasMessageThat().isEqualTo("readLine is not supported"); } public void testReadLittleEndian() throws IOException { DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 4.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Encrypt.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 17 09:50:45 GMT 2024 - 1.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/ErrorReportingTestListener.java
try (BufferedReader reader = eventWriter.reader()) { PrintStream out = System.out; for (String message = reader.readLine(); message != null; message = reader.readLine()) { if (message.startsWith(" 1> ")) { out = System.out; } else if (message.startsWith(" 2> ")) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
ByteStreams.newDataInput( "This is a line\r\nThis too\rand this\nand also this".getBytes(UTF_8)); assertThat(in.readLine()).isEqualTo("This is a line"); assertThat(in.readLine()).isEqualTo("This too"); assertThat(in.readLine()).isEqualTo("and this"); assertThat(in.readLine()).isEqualTo("and also this"); } public void testNewDataInput_readFloat() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("readLine(): reads until newline and handles CRLF") void readLine_reads() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); // Sequence: 'a','b','\r','\n','c','\n' when(raf.read()).thenReturn((int) 'a', (int) 'b', (int) '\r', (int) '\n'); assertEquals("ab", raf.readLine());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
@CanIgnoreReturnValue // to skip a line @Override @DoNotCall("Always throws UnsupportedOperationException") public String readLine() { throw new UnsupportedOperationException("readLine is not supported"); } @Override public void readFully(byte[] b) throws IOException { ByteStreams.readFully(this, b); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0) -
api/go1.txt
pkg bufio, method (*Reader) ReadByte() (uint8, error) pkg bufio, method (*Reader) ReadBytes(uint8) ([]uint8, error) pkg bufio, method (*Reader) ReadLine() ([]uint8, bool, error) pkg bufio, method (*Reader) ReadRune() (int32, int, error) pkg bufio, method (*Reader) ReadSlice(uint8) ([]uint8, error) pkg bufio, method (*Reader) ReadString(uint8) (string, error) pkg bufio, method (*Reader) UnreadByte() error
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
assertArgumentNotNull("reader", reader); this.reader = reader; } @Override public boolean hasNext() { if (line == EMPTY) { line = ReaderUtil.readLine(reader); } return line != null; } @Override public String next() { if (!hasNext()) { throw new NoSuchElementException(); }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java
Thread.currentThread().getContextClassLoader().getResourceAsStream("suggest_settings/default-badwords.txt")))) { String line; while ((line = br.readLine()) != null) { if (line.length() > 0 && !line.startsWith("#")) { list.add(line.trim()); } } } catch (final Exception e) {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Nov 23 03:02:17 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
@Override float readFloat(); @CanIgnoreReturnValue // to skip some bytes @Override double readDouble(); @CanIgnoreReturnValue // to skip a line @Override @Nullable String readLine(); @CanIgnoreReturnValue // to skip a field @Override String readUTF();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 20:25:25 GMT 2024 - 2.7K bytes - Click Count (0)