Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 496 for opens (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/background_tasks/tutorial002_py310.py

    from fastapi import BackgroundTasks, Depends, FastAPI
    
    app = FastAPI()
    
    
    def write_log(message: str):
        with open("log.txt", mode="a") as log:
            log.write(message)
    
    
    def get_query(background_tasks: BackgroundTasks, q: str | None = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 643 bytes
    - Click Count (0)
  2. src/archive/zip/writer_test.go

    		}
    		if got.UncompressedSize64 != want.uncompressedSize {
    			t.Errorf("%s: got UncompressedSize64 %d; want %d", want.name, got.UncompressedSize64, want.uncompressedSize)
    		}
    
    		r, err := got.Open()
    		if err != nil {
    			t.Errorf("%s: Open err = %v", got.Name, err)
    			continue
    		}
    
    		buf, err := io.ReadAll(r)
    		if err != nil {
    			t.Errorf("%s: ReadAll err = %v", got.Name, err)
    			continue
    		}
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/NetServerEnumIterator.java

            this.treeHandle = th.acquire();
            try {
                this.next = open();
            } catch (final Exception e) {
                this.treeHandle.release();
                throw e;
            }
    
        }
    
        private FileEntry open() throws CIFSException {
            this.treeHandle.send(this.request, this.response);
            checkStatus();
            final FileEntry n = advance();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        }
    
        static Stream<String> wildcardProvider() {
            return Stream.of(null, "", "*");
        }
    
        @ParameterizedTest
        @MethodSource("wildcardProvider")
        @DisplayName("open() happy path: yields entries and closes with Smb2CloseRequest on close()")
        void happyPath_enumerates_and_closes(String wildcard) throws Exception {
            // Setup required for this test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  5. CONTRIBUTING.md

        git config user.name 'First Last'
        git config user.email ******@****.***
    
    ### IntelliJ IDEA
    
    #### Import Gradle into IntelliJ
    
    To import Gradle into IntelliJ:
    - Open the `build.gradle.kts` file in root of the project with IntelliJ and choose "Open as Project"
    - Select a Adoptium Java 17 VM as "Gradle JVM"
    - Revert the Git changes to files in the `.idea` folder
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Nov 25 06:57:22 GMT 2025
    - 19K bytes
    - Click Count (0)
  6. README.md

    Use the [MinIO Documentation](https://github.com/minio/docs) project to build and host a local copy of the documentation.
    
    ## MinIO is Open Source Software
    
    We designed MinIO as Open Source software for the Open Source software community. We encourage the community to remix, redesign, and reshare MinIO under the terms of the AGPLv3 license.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Dec 03 08:13:11 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/publicsuffix/AssetPublicSuffixList.kt

              "Platform applicationContext not initialized. " +
                "Startup Initializer possibly disabled, " +
                "call OkHttp.initialize before test.",
            )
          }
        }
    
        return assets.open(path).source()
      }
    
      companion object {
        val PUBLIC_SUFFIX_RESOURCE = "PublicSuffixDatabase.list"
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.platform.AndroidPlatform
    import okio.IOException
    
    open class MainActivity : ComponentActivity() {
      override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
    
        val client = OkHttpClient()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. docs/de/docs/deployment/cloud.md

    Es bringt die gleiche **Developer-Experience** beim Erstellen von Apps mit FastAPI auch zum **Deployment** in der Cloud. πŸŽ‰
    
    FastAPI Cloud ist der Hauptsponsor und Finanzierungsgeber für die *FastAPI and friends* Open-Source-Projekte. ✨
    
    ## Cloudanbieter – Sponsoren { #cloud-providers-sponsors }
    
    Einige andere Cloudanbieter ✨ [**sponsern FastAPI**](../help-fastapi.md#sponsor-the-author){.internal-link target=_blank} ✨ ebenfalls. πŸ™‡
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 02 17:32:56 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. tests/test_datastructures.py

        @app.post("/uploadfile/")
        def create_upload_file(file: UploadFile):
            testing_file_store.append(file)
            return {"filename": file.filename}
    
        client = TestClient(app)
        with path.open("rb") as file:
            response = client.post("/uploadfile/", files={"file": file})
        assert response.status_code == 200, response.text
        assert response.json() == {"filename": "test.txt"}
    
        assert testing_file_store
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top