Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for fakefs (0.16 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

      /** Sets the results for `hostname`.  */
      operator fun set(
        hostname: String,
        addresses: List<InetAddress>,
      ): FakeDns {
        hostAddresses[hostname] = addresses
        return this
      }
    
      /** Clears the results for `hostname`.  */
      fun clear(hostname: String): FakeDns {
        hostAddresses.remove(hostname)
        return this
      }
    
      @Throws(UnknownHostException::class)
      fun lookup(
        hostname: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. docs/en/docs/reference/dependencies.md

    # Dependencies - `Depends()` and `Security()`
    
    ## `Depends()`
    
    Dependencies are handled mainly with the special function `Depends()` that takes a callable.
    
    Here is the reference for it and its parameters.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Depends
    ```
    
    ::: fastapi.Depends
    
    ## `Security()`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 671 bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

    // Most tests from URLConnectionTest
    class JavaNetAuthenticatorTest {
      private var authenticator = JavaNetAuthenticator()
      private val fakeDns = FakeDns()
      private val recordingAuthenticator = RecordingAuthenticator()
      private val factory =
        TestValueFactory()
          .apply {
            dns = fakeDns
          }
    
      @BeforeEach
      fun setup() {
        Authenticator.setDefault(recordingAuthenticator)
      }
    
      @AfterEach
    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)
  4. ci/official/README.md

    1. Creating a PR and observing the presubmit test results
    2. Running the CI scripts locally, as explained below
    3. **Google employees only**: Google employees can use an internal-only tool
    called "MLCI" that makes testing more convenient: it can execute any full CI job
    against a pending change. Search for "MLCI" internally to find it.
    
    You may invoke a CI script of your choice by following these instructions:
    
    ```bash
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/testdata/vmconfig/ipv4/root-cert.pem.golden

    fake-CA-cert...
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 12 bytes
    - Viewed (0)
  6. istioctl/pkg/workload/testdata/vmconfig/ipv6/root-cert.pem.golden

    fake-CA-cert...
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 12 bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/testdata/waypoint/all-gateway

    NAMESPACE     NAME         REVISION     PROGRAMMED
    default       waypoint     default      True
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 21:30:40 GMT 2024
    - 141 bytes
    - Viewed (0)
  8. maven-core/src/test/resources/imports-repo/t01/maven-test/poms/maven-test-a-1.0.pom

      <groupId>maven-test</groupId>
      <artifactId>maven-test-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
    Plain Text
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Wed Apr 29 05:20:38 GMT 2009
    - 355 bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

    import okhttp3.internal.connection.Exchange
    import okhttp3.internal.http2.ConnectionShutdownException
    import okhttp3.internal.stripBody
    import okio.buffer
    
    /** This is the last interceptor in the chain. It makes a network call to the server. */
    class CallServerInterceptor(private val forWebSocket: Boolean) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  10. istioctl/pkg/kubeinject/testdata/deployment/hello-with-proxyconfig-anno.yaml.injected

            app: hello
            tier: backend
            track: stable
        spec:
          containers:
          - image: docker.io/istio/proxy_debug:unittest
            name: istio-proxy
            resources: {}
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello
            ports:
            - containerPort: 80
              name: http
            resources: {}
          initContainers:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top