Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Magic (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cni/pkg/nodeagent/fakes_test.go

    	return nil
    }
    
    // fakeNs is a mock struct for testing
    type fakeNs struct {
    	closed *atomic.Bool
    	fd     uintptr
    	inode  uint64
    }
    
    func newFakeNs(fd uintptr) *fakeNs {
    	// the fake inode is the fd! magic.
    	return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: uint64(fd)}
    }
    
    func newFakeNsInode(fd uintptr, inode uint64) *fakeNs {
    	return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: inode}
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. cmd/bitrot.go

    	"github.com/minio/highwayhash"
    	"github.com/minio/minio/internal/hash/sha256"
    	"golang.org/x/crypto/blake2b"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    // magic HH-256 key as HH-256 hash of the first 100 decimals of π as utf-8 string with a zero key.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

    import org.codelibs.fess.sso.SsoAuthenticator;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.core.magic.async.AsyncManager;
    import org.lastaflute.core.time.TimeManager;
    import org.lastaflute.web.login.LoginHandlingResource;
    import org.lastaflute.web.login.PrimaryLoginManager;
    import org.lastaflute.web.login.TypicalLoginAssist;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top