Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 662 for gain (0.06 seconds)

  1. docs/ko/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[1,3,7] title["app/main.py"] *}
    
    ### `APIRouter` import하기 { #import-the-apirouter }
    
    이제 `APIRouter`가 있는 다른 submodule들을 import합니다:
    
    {* ../../docs_src/bigger_applications/app_an_py310/main.py hl[4:5] title["app/main.py"] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  2. tests/gorm_test.go

    		} else if results.RowsAffected != 1 {
    			t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    		}
    
    		u1 = user{} // important to reinitialize this before creating it again
    		u2 := user{}
    		db := DB.Session(&gorm.Session{CreateBatchSize: 10})
    
    		if results := db.Create([]*user{&u1, &u2}); results.Error != nil {
    			t.Fatalf("errors happened on create: %v", results.Error)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            }
            toEvict.socket().closeQuietly()
            connectionListener.connectionClosed(toEvict)
            if (connections.isEmpty()) cleanupQueue.cancelAll()
    
            // Clean up again immediately.
            return 0L
          }
    
          earliestEvictableConnection != null -> {
            // A connection will be ready to evict soon.
            return earliestEvictableIdleAtNs + keepAliveDurationNs - now
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  4. docs/recipes.md

     [AccessHeadersJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
     [AccessHeadersKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
     [PostStringJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PostString.java
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

        val newTags = tags.plus(type, computed)
        if (compareAndSet(tags, newTags)) return computed
    
        // We lost the race. Possibly to other code that was putting a *different* key. Try again!
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeConnection.java

                    // Retrying only makes sense if the invalid parameter is an tree id. If we have a stale file descriptor
                    // retrying make no sense, as it will never become available again.
                    if (params.contains(RequestParam.NO_RETRY)
                            || !(smbe.getCause() instanceof TransportException) && smbe.getNtStatus() != NtStatus.NT_STATUS_INVALID_PARAMETER) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            // This is actually good security practice - closed authenticators cannot be accessed
    
            // Verify multiple closes don't cause issues
            auth.close(); // Should be safe to call again
            assertTrue(auth.isClosed());
        }
    
        /**
         * Test AutoCloseable implementation
         */
        @Test
        @DisplayName("Test AutoCloseable implementation with try-with-resources")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  8. docs/uk/docs/fastapi-cli.md

    ```python
    from main import app
    ```
    
    Якщо ваш код має таку структуру:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Тоді ви встановили б `entrypoint` як:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    що еквівалентно:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  9. docs/en/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note
    
    The command `uvicorn main:app` refers to:
    
    * `main`: the file `main.py` (the Python "module").
    * `app`: the object created inside of `main.py` with the line `app = FastAPI()`.
    
    It is equivalent to:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java

                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrCloseHandle.class));
    
            // First close call
            aliasHandle.close();
    
            // Act: Call close again
            aliasHandle.close();
    
            // Assert: Verify sendrecv for MsrpcSamrCloseHandle was called only once
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top