Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of 1,832 for context_ (0.07 seconds)

  1. docs/zh-hant/docs/tutorial/extra-models.md

    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    #### 由另一個模型內容建立 Pydantic 模型 { #a-pydantic-model-from-the-contents-of-another }
    
    如上例我們從 `user_in.model_dump()` 得到 `user_dict`,以下程式碼:
    
    ```Python
    user_dict = user_in.model_dump()
    UserInDB(**user_dict)
    ```
    
    等同於:
    
    ```Python
    UserInDB(**user_in.model_dump())
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  2. .github/workflows/build.yml

    name: build
    
    on:
      push:
        branches:
          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    concurrency:
      group: ${{ github.workflow }}-${{ github.ref }}
      cancel-in-progress: true
    
    jobs:
      publish:
        runs-on: ubuntu-latest
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 16:19:02 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. README.md

    invalid requests.
    
    Example Limitations
    
    * Does not allow GET with a body.
    * Cache is not an interface with alternative implementations.
    
    Get a URL
    ---------
    
    This program downloads a URL and prints its contents as a string. [Full source][get_example].
    
    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

            result = (result + (byteN and 0b0111_1111)) shl 7
          } else {
            return result + byteN
          }
        }
      }
    
      /** Read a value as bytes without interpretation of its contents. */
      fun readUnknown(): ByteString = source.readByteString(bytesLeft)
    
      override fun toString(): String = path.joinToString(separator = " / ")
    
      companion object {
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/ImmutableNetwork.java

          mutableNetwork.addEdge(endpoints, edge);
          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableNetwork} based on the contents of this {@code
         * Builder}.
         */
        public ImmutableNetwork<N, E> build() {
          return ImmutableNetwork.copyOf(mutableNetwork);
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  6. docs/zh/docs/advanced/events.md

    首先要注意的是,我们定义了一个带有 `yield` 的异步函数。这与带有 `yield` 的依赖项非常相似。
    
    {* ../../docs_src/events/tutorial003_py310.py hl[14:19] *}
    
    这个函数在 `yield` 之前的部分,会在应用启动前执行。
    
    剩下的部分在 `yield` 之后,会在应用完成后执行。
    
    ### 异步上下文管理器 { #async-context-manager }
    
    如你所见,这个函数有一个装饰器 `@asynccontextmanager`。
    
    它将函数转化为所谓的“**异步上下文管理器**”。
    
    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    在 Python 中,**上下文管理器**是一个你可以在 `with` 语句中使用的东西,例如,`open()` 可以作为上下文管理器使用。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  7. docs/fr/docs/_llm-test.md

    * le `APIRouter`
    * le `requirements.txt`
    * le jeton Bearer
    * le changement majeur incompatible
    * le bogue
    * le bouton
    * l’appelable
    * le code
    * le commit
    * le gestionnaire de contexte
    * la coroutine
    * la session de base de données
    * le disque
    * le domaine
    * le moteur
    * le faux X
    * la méthode HTTP GET
    * l’élément
    * la bibliothèque
    * le cycle de vie
    * le verrou
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NetworkExplorerTest.java

        @Test
        void testDoFile() throws Exception {
            initializeNetworkExplorer(false, "jCIFS");
    
            // Setup mock file with minimal required behavior
            String content = "File content for testing";
            byte[] contentBytes = content.getBytes();
    
            when(smbFile.length()).thenReturn((long) contentBytes.length);
            when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/netbios/LmhostsTest.java

            String content = "#INCLUDE \\\\server\\share\\lmhosts\n" + "192.168.1.100 MAINHOST\n";
    
            // Mock SmbFileInputStream to simulate include file
            try (MockedConstruction<SmbFileInputStream> mockedConstruction =
                    Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> {
                        // Mock the read method to return simple content
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         *        mostly Source Code Management (<abbr>SCM</abbr>) files
         */
        PathMatcher matcher(Collection<String> defaultIncludes, boolean useDefaultExcludes);
    
        /**
         * {@return in which context the source files will be used}
         * Not to be confused with dependency scope.
         * The default value is {@code "main"}.
         *
         * @see ProjectScope#MAIN
         */
        default ProjectScope scope() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top