Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 231 for initial (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

        var b = 0
        for (codePoint in input) {
          if (codePoint < INITIAL_N) {
            result.writeByte(codePoint)
            b++
          }
        }
    
        // Copy a delimiter if any basic code points were emitted.
        if (b > 0) result.writeByte('-'.code)
    
        var n = INITIAL_N
        var delta = 0
        var bias = INITIAL_BIAS
        var h = b
        while (h < input.size) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  2. tests/test_dependency_normal_exceptions.py

    import pytest
    from fastapi import Body, Depends, FastAPI, HTTPException
    from fastapi.testclient import TestClient
    
    initial_fake_database = {"rick": "Rick Sanchez"}
    
    fake_database = initial_fake_database.copy()
    
    initial_state = {"except": False, "finally": False}
    
    state = initial_state.copy()
    
    app = FastAPI()
    
    
    async def get_database():
        temp_database = fake_database.copy()
        try:
            yield temp_database
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

          return if (bit and set != 0) values[HEADER_TABLE_SIZE] else -1
        }
    
      val initialWindowSize: Int
        get() {
          val bit = 1 shl INITIAL_WINDOW_SIZE
          return if (bit and set != 0) values[INITIAL_WINDOW_SIZE] else DEFAULT_INITIAL_WINDOW_SIZE
        }
    
      fun clear() {
        set = 0
        values.fill(0)
      }
    
      operator fun set(
        id: Int,
        value: Int,
      ): Settings {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

          Settings.DEFAULT_INITIAL_WINDOW_SIZE,
        )
        settings[Settings.INITIAL_WINDOW_SIZE] = 108
        assertThat(settings.initialWindowSize).isEqualTo(108)
      }
    
      @Test
      fun merge() {
        val a = Settings()
        a[Settings.HEADER_TABLE_SIZE] = 10000
        a[Settings.MAX_HEADER_LIST_SIZE] = 20000
        a[Settings.INITIAL_WINDOW_SIZE] = 30000
        val b = Settings()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. doc/README.md

    ## For the release team
    
    At the start of a release development cycle, the contents of `next` should be deleted
    and replaced with those of `initial`. From the repo root:
    
        > cd doc
        > rm -r next/*
        > cp -r initial/* next
    
    Then edit `next/1-intro.md` to refer to the next version.
    
    To prepare the release notes for a release, run `golang.org/x/build/cmd/relnote generate`.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. cmd/leak-detect_test.go

    	}
    	return snapshot
    }
    
    // CompareCurrentSnapshot - Compares the initial relevant stack trace with the current one (during the time of invocation).
    func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string {
    	var stackDiff []string
    	for _, g := range pickRelevantGoroutines() {
    		// Identify the Go routines those were not present in the initial snapshot.
    		// In other words a stack diff.
    		if !initialSnapShot.relevantRoutines[g] {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        val headerBlock = literalHeaders(sentHeaders)
    
        // Write the first headers frame.
        writeMedium(frame, Http2.INITIAL_MAX_FRAME_SIZE)
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE.toLong())
    
        // Write the continuation frame, specifying no more frames are expected.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(ping.ack).isTrue()
      }
    
      @Test fun peerHttp2ServerLowersInitialWindowSize() {
        val initial = Settings()
        initial[Settings.INITIAL_WINDOW_SIZE] = 1684
        val shouldntImpactConnection = Settings()
        shouldntImpactConnection[Settings.INITIAL_WINDOW_SIZE] = 3368
        peer.sendFrame().settings(initial)
        peer.acceptFrame() // ACK
        peer.sendFrame().settings(shouldntImpactConnection)
        peer.acceptFrame() // ACK 2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. internal/grid/README.md

    ## Streaming Requests
    
    Streams consists of an initial request with payload and allows for full two-way communication between the client and server.
    
    The handler function has this signature.
    
    Sample handler:
    ```go
        handler :=  func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr {
            fmt.Println("Got request with initial payload", p, "from", GetCaller(ctx context.Context))
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top