- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for magic (0.02 seconds)
-
src/archive/tar/format.go
trailer := string(b.toSTAR().trailer()) switch { case magic == magicUSTAR && trailer == trailerSTAR: return formatSTAR case magic == magicUSTAR: return FormatUSTAR | FormatPAX case magic == magicGNU && version == versionGNU: return FormatGNU default: return formatV7 } } // setFormat writes the magic values necessary for specified format // and then updates the checksum accordingly.
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Click Count (0) -
docs/en/docs/advanced/async-tests.md
Even if your **FastAPI** application uses normal `def` functions instead of `async def`, it is still an `async` application underneath. The `TestClient` does some magic inside to call the asynchronous FastAPI application in your normal `def` test functions, using standard pytest. But that magic doesn't work anymore when we're using it inside asynchronous functions. By running our tests asynchronously, we can no longer use the `TestClient` inside our test functions.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial006_py39.py
def magic_data_reader(raw_body: bytes): return { "size": len(raw_body), "content": { "name": "Maaaagic", "price": 42, "description": "Just kiddin', no magic here. ✨", }, } @app.post( "/items/", openapi_extra={ "requestBody": { "content": { "application/json": { "schema": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1K bytes - Click Count (0) -
.gitattributes
# Treat all files in the Go repo as binary, with no git magic updating # line endings. This produces predictable results in different environments. # # Windows users contributing to Go will need to use a modern version # of git and editors capable of LF line endings. # # Windows .bat files are known to have multiple bugs when run with LF # endings, and so they are checked in with CRLF endings, with a test
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jun 08 15:31:43 GMT 2020 - 639 bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java
/* * MNG-4312: We neither have reserved all of the above magic expressions nor is their set fixed/well-known (it * gets occasionally extended by newer Maven versions). This imposes the risk for existing plugins to * unintentionally use such a magic expression for an ordinary property. So here we check whether we * ended up with a magic value that is not compatible with the type of the configured mojo parameter (a stringCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 9.8K bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
/* * MNG-4312: We neither have reserved all of the above magic expressions nor is their set fixed/well-known (it * gets occasionally extended by newer Maven versions). This imposes the risk for existing plugins to * unintentionally use such a magic expression for an ordinary property. So here we check whether we * ended up with a magic value that is not compatible with the type of the configured mojo parameter (a stringCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 16.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
private fun readJournal() { fileSystem.read(journalFile) { val magic = readUtf8LineStrict() val version = readUtf8LineStrict() val appVersionString = readUtf8LineStrict() val valueCountString = readUtf8LineStrict() val blank = readUtf8LineStrict() if (MAGIC != magic || VERSION_1 != version || appVersion.toString() != appVersionString ||
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 34.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
cache.close() generateSomeGarbageFiles() createJournalWithHeader(DiskLruCache.MAGIC, "0", "100", "2", "") createNewCache() assertGarbageFilesAllDeleted() } @Test fun openWithInvalidAppVersionClearsDirectory() { cache.close() generateSomeGarbageFiles() createJournalWithHeader(DiskLruCache.MAGIC, "1", "101", "2", "") createNewCache() assertGarbageFilesAllDeleted() }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 59.4K bytes - Click Count (0) -
docs/bigdata/README.md
It was found that the directory staging committer was the fastest among the three, S3A connector should be configured with the following parameters for optimal results: ```
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 14.7K bytes - Click Count (0)