Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for _settings (0.21 sec)

  1. docs/de/docs/advanced/settings.md

        ```Python hl_lines="1  10"
        {!> ../../../docs_src/settings/app03/main.py!}
        ```
    
    Dann wird bei allen nachfolgenden Aufrufen von `get_settings()`, in den Abhängigkeiten für darauffolgende Requests, dasselbe Objekt zurückgegeben, das beim ersten Aufruf zurückgegeben wurde, anstatt den Code von `get_settings()` erneut auszuführen und ein neues `Settings`-Objekt zu erstellen.
    
    #### Technische Details zu `lru_cache`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

    #### `lru_cache` Technical Details
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/settings.md

    {!../../../docs_src/settings/app02/main.py!}
    ```
    
    !!! tip
        👥 🔜 🔬 `@lru_cache` 🍖.
    
        🔜 👆 💪 🤔 `get_settings()` 😐 🔢.
    
    & ⤴️ 👥 💪 🚚 ⚫️ ⚪️➡️ *➡ 🛠️ 🔢* 🔗 & ⚙️ ⚫️ 🙆 👥 💪 ⚫️.
    
    ```Python hl_lines="16  18-20"
    {!../../../docs_src/settings/app02/main.py!}
    ```
    
    ### ⚒ & 🔬
    
    ⤴️ ⚫️ 🔜 📶 ⏩ 🚚 🎏 ⚒ 🎚 ⏮️ 🔬 🏗 🔗 🔐 `get_settings`:
    
    ```Python hl_lines="9-10  13  21"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/settings.md

        ```Python hl_lines="1  11"
        {!> ../../../docs_src/settings/app03_an/main.py!}
        ```
    
    === "Python 3.8+ 非注解版本"
    
        !!! tip
            如果可能,请尽量使用 `Annotated` 版本。
    
        ```Python hl_lines="1  10"
        {!> ../../../docs_src/settings/app03/main.py!}
        ```
    
    然后,在下一次请求的依赖项中对 `get_settings()` 进行任何后续调用时,它不会执行 `get_settings()` 的内部代码并创建新的 `Settings` 对象,而是返回在第一次调用时返回的相同对象,一次又一次。
    
    #### `lru_cache` 技术细节
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(false, 3, 100, TYPE_HEADERS, FLAG_END_HEADERS))
          .isEqualTo(">> 0x00000003   100 HEADERS       END_HEADERS")
        assertThat(frameLog(false, 3, 0, TYPE_DATA, FLAG_END_STREAM))
          .isEqualTo(">> 0x00000003     0 DATA          END_STREAM")
        assertThat(frameLog(true, 0, 15, TYPE_SETTINGS, FLAG_NONE))
          .isEqualTo("<< 0x00000000    15 SETTINGS      ")
        assertThat(frameLog(false, 0, 0, TYPE_SETTINGS, FLAG_ACK))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      ) {
        if (streamId != 0) throw IOException("TYPE_SETTINGS streamId != 0")
        if (flags and FLAG_ACK != 0) {
          if (length != 0) throw IOException("FRAME_SIZE_ERROR ack frame should be empty!")
          handler.ackSettings()
          return
        }
    
        if (length % 6 != 0) throw IOException("TYPE_SETTINGS length % 6 != 0: $length")
        val settings = Settings()
        for (i in 0 until length step 6) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        }
      }
    
      /** Write okhttp's settings to the peer. */
      @Throws(IOException::class)
      fun settings(settings: Settings) {
        this.withLock {
          if (closed) throw IOException("closed")
          frameHeader(
            streamId = 0,
            length = settings.size() * 6,
            type = TYPE_SETTINGS,
            flags = FLAG_NONE,
          )
          for (i in 0 until Settings.COUNT) {
            if (!settings.isSet(i)) continue
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/adminlte.min.js.map

    option.');\n      }\n\n      this._init();\n\n      if (this._settings.loadOnInit) {\n        this.load();\n      }\n    }\n\n    load() {\n      this._addOverlay()\n      this._settings.onLoadStart.call($(this))\n\n      $.get(this._settings.source, this._settings.params, function (response) {\n        if (this._settings.loadInContent) {\n          if (this._settings.sourceSelector != '') {\n            response = $(response).find(this._settings.sourceSelector).html()\n          }\n\n          this._...
    Plain Text
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 07:55:41 GMT 2020
    - 77K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        writeMedium(frame, 12) // 2 settings * 6 bytes (2 for the code and 4 for the value).
        frame.writeByte(Http2.TYPE_SETTINGS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(0) // Settings are always on the connection stream 0.
        frame.writeShort(1) // SETTINGS_HEADER_TABLE_SIZE
        frame.writeInt(reducedTableSizeBytes)
        frame.writeShort(2) // SETTINGS_ENABLE_PUSH
        frame.writeInt(0)
        reader.nextFrame(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

                "-Xsam-conversions=class",
            )
        }
    }
    
    
    fun CompilerConfiguration.configureKotlinCompilerForGradleBuild() {
    
        put(
            CommonConfigurationKeys.LANGUAGE_VERSION_SETTINGS,
            LanguageVersionSettingsImpl(
                languageVersion = LanguageVersion.KOTLIN_1_8,
                apiVersion = ApiVersion.KOTLIN_1_8,
                analysisFlags = mapOf(
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Oct 26 19:59:57 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top