Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 143 for Editor (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/Cache.kt

        var editor: DiskLruCache.Editor? = null
        try {
          editor = snapshot.edit() ?: return // edit() returns null if snapshot is not current.
          entry.writeTo(editor)
          editor.commit()
        } catch (_: IOException) {
          abortQuietly(editor)
        }
      }
    
      private fun abortQuietly(editor: DiskLruCache.Editor?) {
        // Give up because the cache cannot be written.
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body.md

    <img src="/img/tutorial/body/image05.png">
    
    !!! tip
        If you use <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a> as your editor, you can use the <a href="https://github.com/koxudaxi/pydantic-pycharm-plugin/" class="external-link" target="_blank">Pydantic PyCharm Plugin</a>.
    
        It improves editor support for Pydantic models, with:
    
        * auto-completion
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/body.md

    <img src="/img/tutorial/body/image01.png">
    
    Und werden auch verwendet in der API-Dokumentation innerhalb jeder *Pfadoperation*, welche sie braucht:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## Editor Unterstützung
    
    In Ihrem Editor, innerhalb Ihrer Funktion, erhalten Sie Typhinweise und Code-Vervollständigung überall (was nicht der Fall wäre, wenn Sie ein `dict` anstelle eines Pydantic Modells erhalten hätten):
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        val editor = cache.edit("k1")!!
        editor.setString(0, "A")
        editor.setString(1, "B")
        editor.abort()
        editor.assertInoperable()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun explicitRemoveAppliedToDiskImmediately(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        val editor = cache.edit("k1")!!
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      internal fun completeEdit(
        editor: Editor,
        success: Boolean,
      ) {
        val entry = editor.entry
        check(entry.currentEditor == editor)
    
        // If this edit is creating the entry for the first time, every index must have a value.
        if (success && !entry.readable) {
          for (i in 0 until valueCount) {
            if (!editor.written!![i]) {
              editor.abort()
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/body.md

    <img src="/img/tutorial/body/image01.png">
    
    E também serão utilizados em cada *função de operação de rota* que utilizá-los:
    
    <img src="/img/tutorial/body/image02.png">
    
    ## Suporte do editor de texto:
    
    No seu editor de texto, dentro da função você receberá dicas de tipos e completação em todo lugar (isso não aconteceria se você recebesse um `dict` em vez de um modelo Pydantic):
    
    <img src="/img/tutorial/body/image03.png">
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/body-nested-models.md

    ```Python hl_lines="15"
    {!../../../docs_src/body_nested_models/tutorial008.py!}
    ```
    
    ## Suporte de editor em todo canto
    
    E você obtém suporte do editor em todos os lugares.
    
    Mesmo para itens dentro de listas:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Você não conseguiria este tipo de suporte de editor se estivesse trabalhando diretamente com `dict` em vez de modelos Pydantic.
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/03-gopls.yml

        id: expected-behavior
        attributes:
          label: "What did you expect to see?"
        validations:
          required: true
      - type: textarea
        id: editor-and-settings
        attributes:
          label: "Editor and settings"
          description: "Your editor and any settings you have configured (for example, your VSCode settings.json file)"
        validations:
          required: false
      - type: textarea
        id: logs
        attributes:
    Others
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. docs/de/docs/features.md

    So kann ihr Editor Sie unterstützen:
    
    * in <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>:
    
    ![Editor Unterstützung](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * in <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>:
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. docs/en/docs/features.md

    You will rarely need to come back to the docs.
    
    Here's how your editor might help you:
    
    * in <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * in <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>:
    
    ![editor support](https://fastapi.tiangolo.com/img/pycharm-completion.png)
    
    Plain Text
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top