Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,654 for readn (0.16 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        val body = body("")
        val bytes = body.byteStream()
        assertThat(bytes.read()).isEqualTo(-1)
      }
    
      @Test
      fun byteStreamSeesBom() {
        val body = body("efbbbf68656c6c6f")
        val bytes = body.byteStream()
        assertThat(bytes.read()).isEqualTo(0xef)
        assertThat(bytes.read()).isEqualTo(0xbb)
        assertThat(bytes.read()).isEqualTo(0xbf)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            return reader.read(getPom(name), null);
        }
    
        @Test
        void testPluginConfiguration() throws Exception {
            testInheritance("plugin-configuration");
        }
    
        /**
         * Check most classical urls inheritance: directory structure where parent POM in parent directory
         * and child directory == artifactId
         * @throws IOException Model read problem
         */
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  3. docs/resiliency/resiliency-initial-script.sh

    # This script will not and should not be executed in the self hosted runner
    
    echo "script failed" >resiliency-initial.log # assume initial state
    
    echo "sleep to wait for MinIO Server to be ready prior mc commands"
    # https://github.com/minio/mc/issues/3599
    
    MINIO_SERVER_URL="http://127.0.0.1:9000"
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    SRC_DIR="/tmp/data"
    INLINED_DIR="/tmp/inlined"
    DEST_DIR="/tmp/dest"
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  4. fastapi/responses.py

    @deprecated(
        "UJSONResponse is deprecated, FastAPI now serializes data directly to JSON "
        "bytes via Pydantic when a return type or response model is set, which is "
        "faster and doesn't need a custom response class. Read more in the FastAPI "
        "docs: https://fastapi.tiangolo.com/advanced/custom-response/#orjson-or-response-model "
        "and https://fastapi.tiangolo.com/tutorial/response-model/",
        category=FastAPIDeprecationWarning,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. docs_src/metadata/tutorial001_1_py310.py

    from fastapi import FastAPI
    
    description = """
    ChimichangApp API helps you do awesome stuff. 🚀
    
    ## Items
    
    You can **read items**.
    
    ## Users
    
    You will be able to:
    
    * **Create users** (_not implemented_).
    * **Read users** (_not implemented_).
    """
    
    app = FastAPI(
        title="ChimichangApp",
        description=description,
        summary="Deadpool's favorite app. Nuff said.",
        version="0.0.1",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 774 bytes
    - Click Count (0)
  6. .github/workflows/golangci-lint.yml

    name: golangci-lint
    on:
      push:
        branches:
          - main
          - master
      pull_request:
    
    permissions:
      contents: read
      pull-requests: read
    
    jobs:
      golangci:
        name: lint
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - uses: actions/setup-go@v5
            with:
              go-version: stable
          - name: golangci-lint
            uses: golangci/golangci-lint-action@v7
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Apr 17 07:30:17 GMT 2025
    - 471 bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              check(!closed)
              return data.read(sink, byteCount)
            }
    
            override fun timeout(): Timeout = Timeout.NONE
          }
        return source.buffer().asResponseBody(null, -1)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  8. docs/metrics/README.md

    - Liveness probe available at `/minio/health/live`
    - Cluster probe available at `/minio/health/cluster`
    
    Read more on how to use these endpoints in [MinIO healthcheck guide](https://github.com/minio/minio/blob/master/docs/metrics/healthcheck/README.md).
    
    ## Prometheus Probe
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 29 18:35:20 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. internal/config/certs.go

    	certPEMBlock, err := os.ReadFile(certFile)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSReadError(nil).Msgf("Unable to read the public key: %s", err)
    	}
    	keyPEMBlock, err := os.ReadFile(keyFile)
    	if err != nil {
    		return tls.Certificate{}, ErrTLSReadError(nil).Msgf("Unable to read the private key: %s", err)
    	}
    	key, rest := pem.Decode(keyPEMBlock)
    	if len(rest) > 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 14 17:11:51 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  10. docs/en/docs/tutorial/request-forms.md

    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | Technical Details
    
    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded`.
    
    But when the form includes files, it is encoded as `multipart/form-data`. You'll read about handling files in the next chapter.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top