Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 622 for open0 (0.8 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            public long length() {
                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("open(): invalid URL path without trailing slash throws SmbException")
        void invalidUrlPathThrows() throws Exception {
            // Override the default setup for this specific test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py39.py hl[1,13] *}
    
    Un **context manager** en Python es algo que puedes usar en un statement `with`, por ejemplo, `open()` puede ser usado como un context manager:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    En versiones recientes de Python, también hay un **async context manager**. Lo usarías con `async with`:
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
      open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase()
    
      protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!!
    
      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketRecorder.kt

        Platform.get().log("[WS $name] onOpen", Platform.INFO, null)
        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onOpen(webSocket, response)
        } else {
          events.add(Open(webSocket, response))
        }
      }
    
      override fun onMessage(
        webSocket: WebSocket,
        bytes: ByteString,
      ) {
        Platform.get().log("[WS $name] onMessage", Platform.INFO, null)
        val delegate = delegate
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. tests/error_translator_test.go

    	untranslatedErr := errors.New("some random error")
    	db, _ := gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr})
    
    	err := db.AddError(untranslatedErr)
    	if !errors.Is(err, untranslatedErr) {
    		t.Fatalf("expected err: %v got err: %v", untranslatedErr, err)
    	}
    
    	// it should translate error when the TranslateError flag is true
    	db, _ = gorm.Open(tests.DummyDialector{TranslatedErr: translatedErr}, &gorm.Config{TranslateError: true})
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  6. docs/es/docs/deployment/fastapicloud.md

    * HTTPS
    * Replicación, con autoescalado basado en requests
    * etc.
    
    FastAPI Cloud es el sponsor principal y proveedor de financiación de los proyectos open source de *FastAPI and friends*. ✨
    
    ## Desplegar en otros proveedores de la nube { #deploy-to-other-cloud-providers }
    
    FastAPI es open source y está basado en estándares. Puedes desplegar apps de FastAPI en cualquier proveedor de la nube que elijas.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:16:35 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. docs/en/docs/deployment/fastapicloud.md

    * HTTPS
    * Replication, with autoscaling based on requests
    * etc.
    
    FastAPI Cloud is the primary sponsor and funding provider for the *FastAPI and friends* open source projects. ✨
    
    ## Deploy to other cloud providers { #deploy-to-other-cloud-providers }
    
    FastAPI is open source and based on standards. You can deploy FastAPI apps to any cloud provider you choose.
    
    Follow your cloud provider's guides to deploy FastAPI apps with them. 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 17 19:33:53 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. docs_src/background_tasks/tutorial001_py39.py

    from fastapi import BackgroundTasks, FastAPI
    
    app = FastAPI()
    
    
    def write_notification(email: str, message=""):
        with open("log.txt", mode="w") as email_file:
            content = f"notification for {email}: {message}"
            email_file.write(content)
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(email: str, background_tasks: BackgroundTasks):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 519 bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

        jvmArgumentProviders.add(CommandLineArgumentProvider {
            //allow ProjectBuilder to inject legacy types into the system classloader
            if (testVersionProvider.get().canCompileOrRun(9)) {
                listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            } else {
                emptyList()
            }
        })
        jvmArgumentProviders.add(CommandLineArgumentProvider {
            val testVersion = testVersionProvider.get()
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Apr 11 20:15:47 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java

    import jcifs.dcerpc.rpc;
    
    /**
     * MSRPC implementation for opening a domain handle.
     * This class provides functionality to open a handle to a SAM domain
     * using the SAMR RPC interface.
     */
    public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain {
    
        /**
         * Creates a new request to open a domain handle.
         *
         * @param handle the SAM policy handle
         * @param access the desired access rights
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top