Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 403 for listFn (0.12 sec)

  1. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0000, 0x002c, TYPE_DISALLOWED_STD3_VALID, ByteString.EMPTY),
            ),
          ),
        ).containsExactly(
          Mapping(0x0000, 0x002c, TYPE_VALID, ByteString.EMPTY),
        )
      }
    
      @Test fun simplifyCombinesCanonicalEquivalent() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_response_change_status_code/test_tutorial001.py

    client = TestClient(app)
    
    
    def test_path_operation():
        response = client.put("/get-or-create-task/foo")
        print(response.content)
        assert response.status_code == 200, response.text
        assert response.json() == "Listen to the Bar Fighters"
        response = client.put("/get-or-create-task/bar")
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 09 18:06:12 UTC 2020
    - 521 bytes
    - Viewed (0)
  3. docs/sts/etcd.md

      --name etcd-gcr-v3.3.9 \
      gcr.io/etcd-development/etcd:v3.3.9 \
      /usr/local/bin/etcd \
      --name s1 \
      --data-dir /etcd-data \
      --listen-client-urls http://0.0.0.0:2379 \
      --advertise-client-urls http://0.0.0.0:2379 \
      --listen-peer-urls http://0.0.0.0:2380 \
      --initial-advertise-peer-urls http://0.0.0.0:2380 \
      --initial-cluster s1=http://0.0.0.0:2380 \
      --initial-cluster-token tkn \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                    "Method com.example.Task.getIsFailOnError(): Is not annotated with @since 2.0. Reason for accepting this: Upgraded property" to listOf("Method added to public class"),
                    "Method com.example.Task.isFailOnError(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed"),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            "Constructor" to "ExistingClass(java.lang.String)"
        ) + reportedMembersFor("ExistingClass${'$'}ExistingNestedClass") + listOf(
            "Constructor" to "ExistingClass${'$'}ExistingNestedClass()"
        ) + listOf(
            "Field" to "cathedral"
        ) + reportedMembersFor("SourceKt") + listOf(
            "Method" to "SourceKt.setValTurnedIntoVar(java.lang.String)"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 27 13:51:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs_src/response_change_status_code/tutorial001.py

    from fastapi import FastAPI, Response, status
    
    app = FastAPI()
    
    tasks = {"foo": "Listen to the Bar Fighters"}
    
    
    @app.put("/get-or-create-task/{task_id}", status_code=200)
    def get_or_create_task(task_id: str, response: Response):
        if task_id not in tasks:
            tasks[task_id] = "This didn't exist before"
            response.status_code = status.HTTP_201_CREATED
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 391 bytes
    - Viewed (0)
  7. docs/auditlog/auditlog-echo.md

    # `auditlog-echo`: A tool to view MinIO Audit logs on the console
    
    1. Run the tool with:
    
    ```
    go run docs/auditlog/auditlog-echo.go
    ```
    
    The listen port has a default value (8080), but can be set with the `-port` flag.
    
    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 447 bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

        // Make sure we have enough connection options to permit retries.
        dnsResults =
          listOf(
            localhostIpv4,
            localhostIpv6,
            TestUtil.UNREACHABLE_ADDRESS_IPV4.address,
          )
        serverIpv4.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
        serverIpv6.protocols = listOf(Protocol.H2_PRIOR_KNOWLEDGE)
    
        // Yield the first IP address so the second IP address completes first.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

              issuer = (it[3] as Pair<*, *>).second as List<List<AttributeTypeAndValue>>,
              validity = it[4] as Validity,
              subject = (it[5] as Pair<*, *>).second as List<List<AttributeTypeAndValue>>,
              subjectPublicKeyInfo = it[6] as SubjectPublicKeyInfo,
              issuerUniqueID = it[7] as BitString?,
              subjectUniqueID = it[8] as BitString?,
              extensions = it[9] as List<Extension>,
            )
          },
        )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild.configure-ci-artifacts.gradle.kts

            globalExtension.taskPathToReports = taskPathToReports
        }
    }
    
    fun Task.customReports(): List<File> = when (this) {
        is ValidatePlugins -> listOf(outputFile.get().asFile)
        is FindBrokenInternalLinks -> listOf(reportFile.get().asFile)
        is DistributionTest -> listOf(
            gradleInstallationForTest.gradleUserHomeDir.dir("test-kit-daemon").get().asFile,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 11 14:21:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top