Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for instant (0.19 sec)

  1. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

      }
    
      @Test fun setInstant() {
        val expected = Instant.ofEpochMilli(1000L)
        val headers =
          Headers.Builder()
            .add("Test-Instant", Instant.ofEpochMilli(0L))
            .set("Test-Instant", expected)
            .build()
        assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected)
      }
    
      @Test fun addParsing() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl.logging
    
    import java.io.PrintWriter
    import java.io.StringWriter
    import java.time.Instant
    import java.time.ZoneOffset
    import java.time.format.DateTimeFormatterBuilder
    import java.time.temporal.ChronoField.HOUR_OF_DAY
    import java.time.temporal.ChronoField.MINUTE_OF_HOUR
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HeadersKotlinTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.time.Instant
    import java.util.Date
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class HeadersKotlinTest {
      @Test fun getOperator() {
        val headers = headersOf("a", "b", "c", "d")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Dec 21 01:54:49 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. cni/deployments/kubernetes/Dockerfile.install-cni

    ARG TARGETARCH
    COPY ${TARGETARCH:-amd64}/istio-cni /opt/cni/bin/istio-cni
    COPY ${TARGETARCH:-amd64}/install-cni /usr/local/bin/install-cni
    
    ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/cni/bin
    WORKDIR /opt/cni/bin
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 00:24:50 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/alerts.md

            "alertname": "MinIOClusterTolerance",
            "instance": "localhost:9000",
            "job": "minio-job-node",
            "pool": "0",
            "server": "127.0.0.1:9000",
            "set": "0",
            "severity": "critical"
          },
          "annotations": {
            "description": "MinIO instance 127.0.0.1:9000 of job minio-job has tolerance <=0 for more than 5 minutes.",
            "summary": "Instance 127.0.0.1:9000 unable to tolerate node failures"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 20:53:59 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/index.md

    ---
    
    ## Instala FastAPI
    
    El primer paso es instalar FastAPI.
    
    Para el tutorial, es posible que quieras instalarlo con todas las dependencias y características opcionales:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[all]"
    
    ---> 100%
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/distributed/README.md

    ### 1. Prerequisites
    
    Install MinIO either on Kubernetes or Distributed Linux.
    
    Install MinIO on Kubernetes:
    
    - [MinIO Quickstart Guide for Kubernetes](https://min.io/docs/minio/kubernetes/upstream/index.html#quickstart-for-kubernetes).
    - [Deploy a Tenant from the MinIO Operator](https://min.io/docs/minio/kubernetes/upstream/operations/install-deploy-manage/deploy-minio-tenant.html)
    
    Install Distributed MinIO on Linux:
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  8. docs/orchestration/docker-compose/README.md

      * Update the command section in each service.
      * Add a new MinIO server instance to the upstream directive in the Nginx configuration file.
    
      Read more about distributed MinIO [here](https://min.io/docs/minio/container/operations/install-deploy-manage/deploy-minio-single-node-multi-drive.html).
    
    ### Explore Further
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 31 19:20:56 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/advanced-dependencies.md

    Aber wir wollen diesen vordefinierten Inhalt per Parameter festlegen können.
    
    ## Eine „aufrufbare“ Instanz
    
    In Python gibt es eine Möglichkeit, eine Instanz einer Klasse „aufrufbar“ („callable“) zu machen.
    
    Nicht die Klasse selbst (die bereits aufrufbar ist), sondern eine Instanz dieser Klasse.
    
    Dazu deklarieren wir eine Methode `__call__`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="12"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:18:49 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        sectionIndexBuffer.writeByte(sectionOffset and 0x7f)
    
        // Ranges.
        for (range in sectionMappedRanges) {
          rangesBuffer.writeByte(range.rangeStart)
    
          when (range) {
            is MappedRange.Constant -> {
              rangesBuffer.writeByte(range.b1)
              rangesBuffer.writeByte('-'.code)
              rangesBuffer.writeByte('-'.code)
            }
            is MappedRange.Inline1 -> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top