- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for Editor (0.09 sec)
-
okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
<img src="/img/tutorial/body/image01.png"> And will also be used in the API docs inside each *path operation* that needs them: <img src="/img/tutorial/body/image02.png"> ## Editor support { #editor-support } In your editor, inside your function you will get type hints and completion everywhere (this wouldn't happen if you received a `dict` instead of a Pydantic model): <img src="/img/tutorial/body/image03.png">
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:58:56 UTC 2025 - 7.1K 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 Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 16K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K 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>:  * in <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>: 
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.5K bytes - Viewed (0) -
docs/en/docs/python-types.md
/// By doing that, your editor can provide support even while processing items from the list: <img src="/img/python-types/image05.png"> Without types, that's almost impossible to achieve. Notice that the variable `item` is one of the elements in the list `items`. And still, the editor knows it is a `str`, and provides support for that.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
``` as in: {* ../../docs_src/body_nested_models/tutorial008_py39.py hl[13] *} ## Editor support everywhere { #editor-support-everywhere } And you get editor support everywhere. Even for items inside of lists: <img src="/img/tutorial/body-nested-models/image01.png"> You couldn't get this kind of editor support if you were working directly with `dict` instead of Pydantic models.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
{* ../../docs_src/path_params/tutorial002.py hl[7] *} In diesem Fall wird `item_id` als `int` deklariert, also als Ganzzahl. /// check Dadurch erhalten Sie Editor-Unterstützung innerhalb Ihrer Funktion, mit Fehlerprüfungen, Codevervollständigung, usw. /// ## Daten-<abbr title="Auch bekannt als: Serialisierung, Parsen, Marshalling">Konversion</abbr>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 10K bytes - Viewed (0)