Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 60 for sockets (0.08 seconds)

  1. android/guava/src/com/google/common/io/ByteStreams.java

       * <ol>
       *   <li>Use sendfile(2) or equivalent. Requires that both the input channel and the output
       *       channel have their own file descriptors. Generally this only happens when both channels
       *       are files or sockets. This performs zero copies - the bytes never enter userspace.
       *   <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 31.1K bytes
    - Click Count (0)
  2. doc/godebug.md

    for reparse points, which can be controlled with the `winsymlink` setting.
    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
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 15:49:10 GMT 2026
    - 26K bytes
    - Click Count (0)
  3. .github/workflows/update-test-buckets.yml

              commit-message: Update test buckets
              branch: devprod/update-test-buckets
              branch-suffix: timestamp
              delete-branch: true
              title: 'Update test buckets'
              signoff: true
              sign-commits: true
              labels: |
                in:building-gradle
                @dev-productivity
              body: |
                This PR updates the test buckets based on the latest test class data.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  4. .github/workflows/update-perf-test-buckets.yml

            with:
              role-to-assume: arn:aws:iam::992382829881:role/GHASecrets_gradle_all
              aws-region: "eu-central-1"
          - name: get secrets
            uses: aws-actions/aws-secretsmanager-get-secrets@v3
            with:
              secret-ids: |
                PERFORMANCE_DB_URL, gha/gradle/_all/PERFORMANCE_DB_URL
                PERFORMANCE_DB_USERNAME, gha/gradle/_all/PERFORMANCE_DB_USERNAME
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 24 22:05:21 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  5. .teamcity/test-buckets.json

    [
      {
        "testCoverageUuid": 1,
        "buckets": [
          {
            "subprojects": [
              "configuration-cache"
            ],
            "parallelizationMethod": {
              "name": "TestDistribution"
            }
          },
          {
            "subprojects": [
              "tooling-api"
            ],
            "parallelizationMethod": {
              "name": "TestDistribution"
            }
          },
          {
            "subprojects": [
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 18:38:15 GMT 2026
    - 118.6K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

      }
    
      class DelayingSocketFactory(
        val onConnect: Socket.(timeout: Int) -> Unit = {},
        val onRead: Socket.() -> Unit = {},
        val onWrite: Socket.() -> Unit = {},
      ) : DelegatingSocketFactory(getDefault()) {
        override fun createSocket(): Socket {
          return object : Socket() {
            override fun connect(
              endpoint: SocketAddress?,
              timeout: Int,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/security/http-basic-auth.md

    ## 检查用户名 { #check-the-username }
    
    以下是更完整的示例。
    
    使用依赖项检查用户名与密码是否正确。
    
    为此要使用 Python 标准模块 [`secrets`](https://docs.python.org/3/library/secrets.html) 检查用户名与密码。
    
    `secrets.compare_digest()` 需要仅包含 ASCII 字符(英语字符)的 `bytes` 或 `str`,这意味着它不适用于像`á`一样的字符,如 `Sebastián`。
    
    为了解决这个问题,我们首先将 `username` 和 `password` 转换为使用 UTF-8 编码的 `bytes` 。
    
    然后我们可以使用 `secrets.compare_digest()` 来确保 `credentials.username` 是 `"stanleyjobson"`,且 `credentials.password` 是`"swordfish"`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/advanced/security/http-basic-auth.md

    以下是一個更完整的範例。
    
    使用一個依賴來檢查使用者名稱與密碼是否正確。
    
    為此,使用 Python 標準模組 [`secrets`](https://docs.python.org/3/library/secrets.html) 來比對使用者名稱與密碼。
    
    `secrets.compare_digest()` 需要接收 `bytes`,或是只包含 ASCII 字元(英文字符)的 `str`。這表示它無法處理像 `á` 這樣的字元,例如 `Sebastián`。
    
    為了處理這點,我們會先將 `username` 與 `password` 以 UTF-8 編碼成 `bytes`。
    
    接著我們可以使用 `secrets.compare_digest()` 來確認 `credentials.username` 等於 `"stanleyjobson"`,而 `credentials.password` 等於 `"swordfish"`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  9. docs/tr/docs/advanced/security/http-basic-auth.md

    #### `secrets.compare_digest()` ile düzeltin { #fix-it-with-secrets-compare-digest }
    
    Ancak bizim kodumuzda `secrets.compare_digest()` kullanıyoruz.
    
    Kısacası, `stanleyjobsox` ile `stanleyjobson`’u karşılaştırmak için geçen süre, `johndoe` ile `stanleyjobson`’u karşılaştırmak için geçen süreyle aynı olur. Şifre için de aynı şekilde.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. docs/ru/docs/advanced/security/http-basic-auth.md

    #### Исправление с помощью `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
    
    Но в нашем коде мы используем `secrets.compare_digest()`.
    
    Вкратце: сравнение `stanleyjobsox` с `stanleyjobson` займёт столько же времени, сколько и сравнение `johndoe` с `stanleyjobson`. То же относится и к паролю.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.4K bytes
    - Click Count (0)
Back to Top