- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 1,421 for read0 (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/ru/docs/tutorial/request-files.md
* `write(data)`: Записать данные `data` (`str` или `bytes`) в файл. * `read(size)`: Прочитать количество `size` (`int`) байт/символов из файла. * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле. * Например, `await myfile.seek(0)` перейдет к началу файла. * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз. * `close()`: Закрыть файл.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 11.4K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
as := bytes.Repeat(alphabets, multiply) b := as[skipOffset : skipOffset+int64(len(alphabets)*(multiply-1))] return &DummyDataGen{ length: totalLength, b: b, } } func (d *DummyDataGen) Read(b []byte) (n int, err error) { k := len(b) numLetters := int64(len(d.b)) for k > 0 && d.idx < d.length { w := copy(b[len(b)-k:], d.b[d.idx%numLetters:]) k -= w d.idx += int64(w) n += w }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
src/bytes/reader.go
// The result is unaffected by any method calls except [Reader.Reset]. func (r *Reader) Size() int64 { return int64(len(r.s)) } // Read implements the [io.Reader] interface. func (r *Reader) Read(b []byte) (n int, err error) { if r.i >= int64(len(r.s)) { return 0, io.EOF } r.prevRune = -1 n = copy(b, r.s[r.i:]) r.i += int64(n) return }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jul 16 18:17:37 GMT 2024 - 3.9K bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
import org.apache.maven.api.model.Model; import org.apache.maven.api.services.Source; /** * The {@code ModelParser} interface is used to locate and read {@link Model}s from the file system. * This allows plugging in additional syntaxes for the main model read by Maven when building a project. * * @since 4.0.0 */ @Experimental @Consumer @Named public interface ModelParser extends SpiService { /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Sep 10 17:18:47 GMT 2024 - 3.1K bytes - Click Count (0) -
src/archive/tar/reader_test.go
// Read is never called with an empty buffer. type testNonEmptyReader struct{ io.Reader } func (r testNonEmptyReader) Read(b []byte) (int, error) { if len(b) == 0 { return 0, errors.New("unexpected empty Read call") } return r.Reader.Read(b) } func TestFileReader(t *testing.T) { type ( testRead struct { // Read(cnt) == (wantStr, wantErr) cnt intCreated: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Dec 30 15:28:53 GMT 2025 - 47.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Read the data int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex); // Verify results assertEquals(20, bytesRead); assertEquals(fileAttributes, response.getAttributes()); assertEquals(fileSize, response.getSize()); // Verify time was read correctly (accounting for UTime conversion)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/request-files.md
- `write(data)` : écrit `data` (`str` ou `bytes`) dans le fichier. - `read(size)` : lit `size` (`int`) octets/caractères du fichier. - `seek(offset)` : se déplace à la position d'octet `offset` (`int`) dans le fichier. - Par ex., `await myfile.seek(0)` irait au début du fichier. - C'est particulièrement utile si vous exécutez `await myfile.read()` une fois puis devez relire le contenu. - `close()` : ferme le fichier.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/es/docs/tutorial/request-files.md
* `write(data)`: Escribe `data` (`str` o `bytes`) en el archivo. * `read(size)`: Lee `size` (`int`) bytes/caracteres del archivo. * `seek(offset)`: Va a la posición de bytes `offset` (`int`) en el archivo. * Por ejemplo, `await myfile.seek(0)` iría al inicio del archivo. * Esto es especialmente útil si ejecutas `await myfile.read()` una vez y luego necesitas leer el contenido nuevamente. * `close()`: Cierra el archivo.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
* An extension of {@code DataInput} for reading from in-memory byte arrays; its methods offer * identical functionality but do not throw {@link IOException}. * * <p><b>Warning:</b> The caller is responsible for not attempting to read past the end of the * array. If any method encounters the end of the array prematurely, it throws {@link * IllegalStateException} to signify <i>programmer error</i>. This behavior is a technical violationCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 20:25:25 GMT 2024 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaWorkRequest.java
/** * Type of RDMA work request */ public enum RequestType { /** Send operation */ SEND, /** Receive operation */ RECEIVE, /** RDMA read operation */ READ, /** RDMA write operation */ WRITE } private final long requestId; private final RequestType type; private final RdmaMemoryRegion memoryRegion;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 3.2K bytes - Click Count (0)