- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 140 for Editor (0.04 sec)
-
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")!!
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
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.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
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()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 34.7K bytes - Viewed (0) -
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
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:58:19 UTC 2024 - 6.6K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
/// tip If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`. That way you tell the editor that you are intentionally returning anything. But FastAPI will still do the data documentation, validation, filtering, etc. with the `response_model`. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.1K bytes - Viewed (0) -
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)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 23:30:12 UTC 2024 - 9.2K bytes - Viewed (0) -
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):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
docs/de/docs/tutorial/body-nested-models.md
```Python hl_lines="15" {!> ../../docs_src/body_nested_models/tutorial008.py!} ``` //// ## Editor-Unterstützung überall Und Sie erhalten Editor-Unterstützung überall. Selbst für Dinge in Listen: <img src="/img/tutorial/body-nested-models/image01.png"> Sie würden diese Editor-Unterstützung nicht erhalten, wenn Sie direkt mit `dict`, statt mit Pydantic-Modellen arbeiten würden.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K bytes - Viewed (0) -
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">
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.1K bytes - Viewed (0) -
docs/de/docs/python-types.md
/// Auf diese Weise kann Ihr Editor Sie auch bei der Bearbeitung von Einträgen aus der Liste unterstützen: <img src="/img/python-types/image05.png"> Ohne Typen ist das fast unmöglich zu erreichen. Beachten Sie, dass die Variable `item` eines der Elemente in der Liste `items` ist. Und trotzdem weiß der Editor, dass es sich um ein `str` handelt, und bietet entsprechende Unterstützung.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.1K bytes - Viewed (0)