Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Magic (0.14 sec)

  1. 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.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    
    object WebSocketProtocol {
      /** Magic value which must be appended to the key in a response header. */
      internal const val ACCEPT_MAGIC = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
    
      /*
      Each frame starts with two bytes of data.
    
       0 1 2 3 4 5 6 7    0 1 2 3 4 5 6 7
      +-+-+-+-+-------+  +-+-------------+
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        }
    }
    
    
    private
    fun IntegrationTest.addDebugProperties() {
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.debug")) {
            systemProperties["org.gradle.integtest.debug"] = "true"
            testLogging.showStandardStreams = true
        }
        // TODO Move magic property out
        if (project.hasProperty("org.gradle.integtest.verbose")) {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py

        assert response.json() == {
            "size": 30,
            "content": {
                "name": "Maaaagic",
                "price": 42,
                "description": "Just kiddin', no magic here. ✨",
            },
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

    import org.dbflute.mail.send.supplement.label.SMailLabelStrategy;
    import org.dbflute.optional.OptionalThing;
    import org.dbflute.util.DfStringUtil;
    import org.lastaflute.core.magic.async.AsyncManager;
    import org.lastaflute.core.magic.async.ConcurrentAsyncCall;
    import org.lastaflute.core.message.MessageManager;
    import org.lastaflute.core.util.ContainerUtil;
    
    /**
     * @author jflute
     */
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7K bytes
    - Viewed (0)
  6. 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 string
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  7. 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 string
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  8. okhttp/src/main/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 ||
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  9. 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.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        assertThat(readJournalLines()).isEqualTo(
          listOf(DiskLruCache.MAGIC, DiskLruCache.VERSION_1, "100", "2", "") + expectedBodyLines,
        )
      }
    
      private fun createJournal(vararg bodyLines: String) {
        createJournalWithHeader(
          DiskLruCache.MAGIC,
          DiskLruCache.VERSION_1,
          "100",
          "2",
          "",
          *bodyLines,
        )
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
Back to top