- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 142 for readSize (0.04 sec)
-
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));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
return result; } void populate(final Reader r, final CIFSContext tc) throws IOException { String line; final BufferedReader br = new BufferedReader(r); while ((line = br.readLine()) != null) { line = line.toUpperCase().trim(); if (line.length() == 0) { continue; } if (line.charAt(0) == '#') {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/archive/tar/reader_test.go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
src/bufio/bufio_test.go
} line, isPrefix, err := l.ReadLine() if err != io.EOF { t.Errorf("expected EOF from ReadLine, got '%s' %t %s", line, isPrefix, err) } } func TestReadLineNonNilLineOrError(t *testing.T) { r := NewReader(strings.NewReader("line 1\n")) for i := 0; i < 2; i++ { l, _, err := r.ReadLine() if l != nil && err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 07 01:08:54 UTC 2025 - 51.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
final StringBuilder buf = new StringBuilder(1000); try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) { header = ReaderUtil.readLine(reader); if (header == null) { throwValidationError(messages -> messages.addErrorsInvalidHeaderForRequestFile(GLOBAL, "no header"), () -> asListHtml(this::saveToken));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
src/bufio/bufio.go
// of the line. The returned buffer is only valid until the next call to // ReadLine. ReadLine either returns a non-nil line or it returns an error, // never both. // // The text returned from ReadLine does not include the line end ("\r\n" or "\n"). // No indication or error is given if the input ends without a final line end. // Calling [Reader.UnreadByte] after ReadLine will always unread the last byte read
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen.go
err = zb0002.Bins[zb0003].DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, zb0001, "Bins", zb0003) return } } case "UpdatedAt": zb0002.UpdatedAt, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, zb0001, "UpdatedAt") return } default: err = dc.Skip() if err != nil { err = msgp.WrapError(err, zb0001) return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Mar 21 17:21:35 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/sftp-server_test.go
suite.SFTPPublicKeyAuthNoPubKey(c) suite.TearDownSuite(c) }, ) } } func (s *TestSuiteIAM) SFTPFailedPublicKeyAuthenticationInvalidKey(c *check) { keyBytes, err := os.ReadFile("./testdata/invalid_test_key.pub") if err != nil { c.Fatalf("could not read test key file: %s", err) } testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 27 18:43:32 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); List<String> lines = new ArrayList<>(); String line; while ((line = r.readLine()) != null) { lines.add(line); } r.close(); return lines; } private static List<String> readUsingReader(String input, int chunk, boolean asReader) throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
BufferedReader r = new BufferedReader(getChunkedReader(input, chunk)); List<String> lines = new ArrayList<>(); String line; while ((line = r.readLine()) != null) { lines.add(line); } r.close(); return lines; } private static List<String> readUsingReader(String input, int chunk, boolean asReader) throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.9K bytes - Viewed (0)