Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 2,073 for bread (0.1 seconds)

  1. docs/zh/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()`:关闭文件。
    
    由于这些方法都是 `async` 方法,你需要对它们使用 await。
    
    例如,在 `async` *路径操作函数* 内,你可以这样获取内容:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat() {
            byte[] buffer = new byte[1024];
            int result = response.readParameterWordsWireFormat(buffer, 0);
    
            // The method should read parameter words
            assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value");
        }
    
        @Test
        void testWriteBytesWireFormat() {
            byte[] dst = new byte[1024];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Nov 06 18:32:25 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. docs/de/docs/advanced/security/index.md

    /// tip | Tipp
    
    Die nächsten Abschnitte sind **nicht unbedingt „fortgeschritten“**.
    
    Und es ist möglich, dass für Ihren Anwendungsfall die Lösung in einem davon liegt.
    
    ///
    
    ## Das Tutorial zuerst lesen { #read-the-tutorial-first }
    
    Die nächsten Abschnitte setzen voraus, dass Sie das Haupt-[Tutorial – Benutzerhandbuch: Sicherheit](../../tutorial/security/index.md) bereits gelesen haben.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 797 bytes
    - Click Count (0)
  5. docs/en/docs/how-to/index.md

    If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them.
    
    /// tip
    
    If you want to **learn FastAPI** in a structured way (recommended), go and read the [Tutorial - User Guide](../tutorial/index.md) chapter by chapter instead.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 582 bytes
    - Click Count (0)
  6. docs/es/docs/advanced/security/index.md

    /// tip | Consejo
    
    Las siguientes secciones no son necesariamente "avanzadas".
    
    Y es posible que para tu caso de uso, la solución esté en una de ellas.
    
    ///
    
    ## Lee primero el Tutorial { #read-the-tutorial-first }
    
    Las siguientes secciones asumen que ya leíste el [Tutorial - Guía del Usuario: Seguridad](../../tutorial/security/index.md) principal.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 722 bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Stopwatch.java

     * time while the device is asleep. Instead, create one like this:
     *
     * {@snippet :
     * Stopwatch.createStarted(
     *      new Ticker() {
     *        public long read() {
     *          return android.os.SystemClock.elapsedRealtimeNanos();
     *        }
     *      });
     * }
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/resources/forbidden/es-server-signatures.txt

    java.nio.channels.GatheringByteChannel#write(java.nio.ByteBuffer[])
    java.nio.channels.ReadableByteChannel#read(java.nio.ByteBuffer)
    java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[])
    java.nio.channels.ScatteringByteChannel#read(java.nio.ByteBuffer[], int, int)
    java.nio.channels.FileChannel#read(java.nio.ByteBuffer, long)
    
    @defaultMessage Use Lucene.parseLenient instead it strips off minor version
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 7.6K bytes
    - Click Count (0)
  9. cmd/metacache-stream.go

    	mr      *msgp.Reader
    	current metaCacheEntry
    	err     error // stateful error
    	closer  func()
    	creator func() error
    }
    
    // newMetacacheReader creates a new cache reader.
    // Nothing will be read from the stream yet.
    func newMetacacheReader(r io.Reader) *metacacheReader {
    	dec := s2DecPool.Get()
    	dec.Reset(r)
    	mr := msgpNewReader(dec)
    	return &metacacheReader{
    		mr: mr,
    		closer: func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  10. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
Back to Top