- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,509 for nread (0.02 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java
protected static final String SCHEMA_LOCATION_FORMAT = "https://maven.apache.org/xsd/maven-%s.xsd"; protected Model read(Path src) throws IOException, XMLStreamException { try (InputStream is = Files.newInputStream(src)) { return new MavenStaxReader().read(is, false, null); } } protected void write(Model model, Path dest) throws IOException, XMLStreamException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
InputStream is = new ByteArrayInputStream("Hi".getBytes()); byte[] buffer = new byte[10]; Transport.readn(is, buffer, 0, 2); // Read all int bytesRead = Transport.readn(is, buffer, 0, 5); // Try to read more assertEquals(0, bytesRead); } } @Nested @DisplayName("Resource management tests") class ResourceManagementTests {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
try { settings = settingsReader.read(settingsSource.getInputStream(), options); } catch (SettingsParseException e) { options = Collections.singletonMap(SettingsReader.IS_STRICT, Boolean.FALSE); settings = settingsReader.read(settingsSource.getInputStream(), options); problems.add(Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
`After that,' continued the Hatter, `I cut some more bread- and-butter--' `But what did the Dormouse say?' one of the jury asked. `That I can't remember,' said the Hatter. `You MUST remember,' remarked the King, `or I'll have you executed.' The miserable Hatter dropped his teacup and bread-and-butter, and went down on one knee. `I'm a poor man, your Majesty,' he began.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 145.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
assertEquals(0, response.writeParametersWireFormat(buffer, 0)); assertEquals(0, response.writeDataWireFormat(buffer, 0)); } @Test @DisplayName("All read methods should consistently return 0") void testAllReadMethodsReturnZero() { // Arrange byte[] buffer = new byte[100]; // Act & Assert
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/bufio/scan.go
s.buf = newBuf s.end -= s.start s.start = 0 } // Finally we can read some input. Make sure we don't get stuck with // a misbehaving Reader. Officially we don't need to do this, but let's // be extra careful: Scanner is for safe, simple jobs. for loop := 0; ; { n, err := s.r.Read(s.buf[s.end:len(s.buf)]) if n < 0 || len(s.buf)-s.end < n { s.setErr(ErrBadReadCount) break
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed May 21 18:05:26 GMT 2025 - 14.2K bytes - Click Count (0) -
cmd/storage-datatypes.go
// ReadMultipleReq contains information of multiple files to read from disk. type ReadMultipleReq struct { Bucket string `msg:"bk"` // Bucket. Can be empty if multiple buckets. Prefix string `msg:"pr,omitempty"` // Shared prefix of all files. Can be empty. Will be joined to filename without modification. Files []string `msg:"fl"` // Individual files to read.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
* ServerMessageBlock would have to perform the same read * operation on the input stream, we might as will pull that * common functionality into the superclass and read wordCount * and byteCount worth of data. * * We will still use the readXxxWireFormat return values to * indicate how many bytes(note: readParameterWordsWireFormat * returns bytes read and not the number of words(but theCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.7K bytes - Click Count (0) -
internal/hash/reader.go
func (r *Reader) AddServerSideChecksumHasher(t ChecksumType) { h := t.Hasher() if h == nil { return } r.ServerSideHasher = h r.ServerSideChecksumType = t } func (r *Reader) Read(p []byte) (int, error) { n, err := r.src.Read(p) r.bytesRead += int64(n) if r.sha256 != nil { r.sha256.Write(p[:n]) } if r.contentHasher != nil { r.contentHasher.Write(p[:n]) } else if r.ServerSideHasher != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 11.8K bytes - Click Count (0) -
tests/test_openapi_separate_input_output_schemas.py
"openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { "summary": "Read Items", "operationId": "read_items_items__get", "responses": { "200": { "description": "Successful Response",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 26.6K bytes - Click Count (0)