Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for CAmount (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          return state.policy.backoffDelayMillis.jitterBy(state.policy.backoffJitterMillis) * 1_000_000
        }
      }
    
      private fun Long.jitterBy(amount: Int): Long {
        return this + ThreadLocalRandom.current().nextInt(amount * -1, amount)
      }
    
      class AddressState(
        val address: Address,
        val queue: TaskQueue,
        var policy: ConnectionPool.AddressPolicy,
      ) {
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

      }
    
      private fun updateMaxConcurrentStreams(
        connection: Http2Connection,
        amount: Int,
      ) {
        val settings = Settings()
        settings[Settings.MAX_CONCURRENT_STREAMS] = amount
        connection.readerRunnable.applyAndAckSettings(true, settings)
        assertThat(connection.peerSettings[Settings.MAX_CONCURRENT_STREAMS]).isEqualTo(amount)
        taskFaker.runTasks()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/concepts.md

    And multiple processes normally **don't share any memory**. This means that each running process has its own things, variables, and memory. And if you are consuming a large amount of memory in your code, **each process** will consume an equivalent amount of memory.
    
    ### Server Memory
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/docker.md

    you will have a more or less well-defined, stable, and limited amount of memory consumed by each of those containers (more than one if they are replicated).
    
    And then you can set those same memory limits and requirements in your configurations for your container management system (for example in **Kubernetes**). That way it will be able to **replicate the containers** in the **available machines** taking into account the amount of memory needed by them, and the amount available in the machines...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. doc/godebug.md

    As of Go 1.23 (`winsymlink=1`), mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink)
    set, and reparse points that are not symlinks, Unix sockets, or dedup files now
    always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes,
    [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates
    mount points, which was a source of many inconsistencies and bugs.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    It would take the same amount of time to finish with or without turns (concurrency) and you would have done the same amount of work.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. cmd/server-main.go

    		Value:  xhttp.DefaultIdleTimeout,
    		Usage:  "idle timeout is the maximum amount of time to wait for the next request when keep-alive are enabled",
    		EnvVar: "MINIO_IDLE_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "read-header-timeout",
    		Value:  xhttp.DefaultReadHeaderTimeout,
    		Usage:  "read header timeout is the amount of time allowed to read request headers",
    		EnvVar: "MINIO_READ_HEADER_TIMEOUT",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  8. chainable_api.go

    	return
    }
    
    // Scopes pass current database connection to arguments `func(DB) DB`, which could be used to add conditions dynamically
    //
    //	func AmountGreaterThan1000(db *gorm.DB) *gorm.DB {
    //	    return db.Where("amount > ?", 1000)
    //	}
    //
    //	func OrderStatus(status []string) func (db *gorm.DB) *gorm.DB {
    //	    return func (db *gorm.DB) *gorm.DB {
    //	        return db.Scopes(AmountGreaterThan1000).Where("status in (?)", status)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  9. docs/en/docs/advanced/behind-a-proxy.md

    ```Python hl_lines="9"
    {!../../../docs_src/behind_a_proxy/tutorial004.py!}
    ```
    
    and then it won't include it in the OpenAPI schema.
    
    ## Mounting a sub-application
    
    If you need to mount a sub-application (as described in [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}) while also using a proxy with `root_path`, you can do it normally, as you would expect.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  10. cmd/data-scanner.go

    // the tree will be recursively scanned and the branches with the least number of objects will be
    // compacted until the limit is reached.
    //
    // This ensures that any branch will never contain an unreasonable amount of other branches,
    // and also that small branches with few objects don't take up unreasonable amounts of space.
    // This keeps the cache size at a reasonable size for all buckets.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
Back to top