- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,654 for readn (0.4 seconds)
-
internal/lock/lock.go
var ErrAlreadyLocked = errors.New("file already locked") // RLockedFile represents a read locked file, implements a special // closer which only closes the associated *os.File when the ref count. // has reached zero, i.e when all the readers have given up their locks. type RLockedFile struct { *LockedFile mutex sync.Mutex refs int // Holds read lock refs. } // IsClosed - Check if the rlocked file is already closed.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.5K bytes - Click Count (0) -
docs/en/docs/advanced/security/index.md
/// tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. /// ## Read the Tutorial first { #read-the-tutorial-first } The next sections assume you already read the main [Tutorial - User Guide: Security](../../tutorial/security/index.md).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 648 bytes - Click Count (0) -
docs/en/docs/reference/websockets.md
# WebSockets When defining WebSockets, you normally declare a parameter of type `WebSocket` and with it you can read data from the client and send data to it. Read more about it in the [FastAPI docs for WebSockets](https://fastapi.tiangolo.com/advanced/websockets/) It is provided directly by Starlette, but you can import it from `fastapi`: ```python from fastapi import WebSocket ``` /// tip
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:41:54 GMT 2026 - 2K bytes - Click Count (0) -
cmd/streaming-signature-v4.go
var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB") // newSignV4ChunkedReader returns a new s3ChunkedReader that translates the data read from r // out of HTTP "chunked" format before returning it. // The s3ChunkedReader returns io.EOF when the final 0-length chunk is read. // // NewChunkedReader is not needed by normal applications. The http package // automatically decodes chunking when reading response bodies.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
docs/tr/docs/deployment/fastapicloud.md
Şimdi uygulamanızı **tek bir komutla** deploy edin: <div class="termy"> ```console $ fastapi deploy Deploying to FastAPI Cloud... ✅ Deployment successful! 🐔 Ready the chicken! Your app is ready at https://myapp.fastapicloud.dev ``` </div> Hepsi bu! Artık uygulamanıza o URL üzerinden erişebilirsiniz. ✨ ## FastAPI Cloud Hakkında { #about-fastapi-cloud }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 2.2K bytes - Click Count (0) -
android/guava-testlib/pom.xml
--> <compilerArgs combine.self="override"> <arg>-sourcepath</arg> <arg>${project.basedir}/src</arg> <arg>--add-reads=com.google.common=ALL-UNNAMED</arg> <arg>--add-reads=com.google.common.testlib=ALL-UNNAMED</arg> <!-- https://errorprone.info/docs/installation#maven --> <arg>-XDcompilePolicy=simple</arg>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 17:59:17 GMT 2025 - 5K bytes - Click Count (0) -
guava-testlib/pom.xml
--> <compilerArgs combine.self="override"> <arg>-sourcepath</arg> <arg>${project.basedir}/src</arg> <arg>--add-reads=com.google.common=ALL-UNNAMED</arg> <arg>--add-reads=com.google.common.testlib=ALL-UNNAMED</arg> <!-- https://errorprone.info/docs/installation#maven --> <arg>-XDcompilePolicy=simple</arg>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 17:59:17 GMT 2025 - 5K bytes - Click Count (0) -
tests/test_list_bytes_file_order_preserved_issue_14811.py
original_read = StarletteUploadFile.read async def patched_read(self: StarletteUploadFile, size: int = -1) -> bytes: # Make the FIRST file slower *deterministically* if self.filename == "slow.txt": await anyio.sleep(0.05) return await original_read(self, size) monkeypatch.setattr(StarletteUploadFile, "read", patched_read) client = TestClient(app)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 10 12:14:38 GMT 2026 - 1.4K bytes - Click Count (0) -
docs_src/request_files/tutorial001_03_py310.py
app = FastAPI() @app.post("/files/") async def create_file(file: bytes = File(description="A file read as bytes")): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file( file: UploadFile = File(description="A file read as UploadFile"), ):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 371 bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
public void testSlice_constrainedRange() throws IOException { long size = source.read().length; if (size >= 2) { ByteSource sliced = source.slice(1, size - 2); assertEquals(size - 2, sliced.read().length); ByteSource resliced = sliced.slice(0, size - 1); assertTrue(sliced.contentEquals(resliced)); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0)