Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,555 for readN (0.02 sec)

  1. tests/test_tutorial/test_events/test_tutorial002.py

            response = client.get("/items/")
            assert response.status_code == 200, response.text
            assert response.json() == [{"name": "Foo"}]
        with open("log.txt") as log:
            assert "Application shutdown" in log.read()
    
    
    def test_openapi_schema(app: FastAPI):
        with TestClient(app) as client:
            response = client.get("/openapi.json")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/testdata/routes/empty-gateway/output.txt

    NAME     VHOST NAME     DOMAINS     MATCH                  VIRTUAL SERVICE
             backend        *           /healthz/ready*        
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 190 bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	}
    
    	d.decrypter = decrypter
    	return nil
    }
    
    func (d *DecryptBlocksReader) Read(p []byte) (int, error) {
    	var err error
    	var n1 int
    	decPartSize, _ := sio.DecryptedSize(uint64(d.parts[d.partIndex].Size))
    	unreadPartLen := int64(decPartSize) - d.partDecRelOffset
    	if int64(len(p)) < unreadPartLen {
    		n1, err = d.decrypter.Read(p)
    		if err != nil {
    			return 0, err
    		}
    		d.partDecRelOffset += int64(n1)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  4. docs/bucket/lifecycle/setup_ilm_transition.sh

    # Wait to make sure all MinIO instances are up
    
    export MC_HOST_sitea=http://minioadmin:minioadmin@127.0.0.1:9001
    export MC_HOST_siteb=http://minioadmin:minioadmin@127.0.0.1:9004
    
    ./mc ready sitea
    ./mc ready siteb
    
    ./mc mb --ignore-existing sitea/bucket
    ./mc mb --ignore-existing siteb/bucket
    
    sleep 10s
    
    ## Add warm tier
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. docs/recipes.md

        ```
    
    ### Response Caching ([.kt][CacheResponseKotlin], [.java][CacheResponseJava])
    
    To cache responses, you'll need a cache directory that you can read and write to, and a limit on the cache's size. The cache directory should be private, and untrusted applications should not be able to read its contents!
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  6. cmd/os-readdir_test.go

    type result struct {
    	dir     string
    	entries []string
    }
    
    // Test to read empty directory.
    func setupTestReadDirEmpty(t *testing.T) (testResults []result) {
    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    // Test to read non-empty directory with only files.
    func setupTestReadDirFiles(t *testing.T) (testResults []result) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_an.py

                        "flows": {
                            "password": {
                                "scopes": {
                                    "me": "Read information about the current user.",
                                    "items": "Read items.",
                                },
                                "tokenUrl": "token",
                            }
                        },
                    }
                },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-minio-idp.sh

    export MC_HOST_minio20=http://minio:minio123@localhost:9020
    export MC_HOST_minio30=http://minio:minio123@localhost:9030
    
    ./mc ready minio1
    ./mc ready minio2
    ./mc ready minio3
    ./mc ready minio10
    ./mc ready minio20
    ./mc ready minio30
    
    ./mc admin replicate add minio1 minio2
    
    site_enabled=$(./mc admin replicate info minio1)
    site_enabled_peer=$(./mc admin replicate info minio10)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. .github/workflows/scorecards-analysis.yml

      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '26 3 * * 2'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    permissions: read-all
    
    jobs:
      analysis:
        if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks
        name: Scorecards analysis
        runs-on: ubuntu-latest
        permissions:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. common/scripts/gobuild.sh

    GOPKG="$GOPATH/pkg"
    BUILDINFO=${BUILDINFO:-""}
    STATIC=${STATIC:-1}
    LDFLAGS=${LDFLAGS:--extldflags -static}
    GOBUILDFLAGS=${GOBUILDFLAGS:-""}
    # Split GOBUILDFLAGS by spaces into an array called GOBUILDFLAGS_ARRAY.
    IFS=' ' read -r -a GOBUILDFLAGS_ARRAY <<< "$GOBUILDFLAGS"
    
    GCFLAGS=${GCFLAGS:-}
    export CGO_ENABLED=${CGO_ENABLED:-0}
    
    if [[ "${STATIC}" !=  "1" ]];then
        LDFLAGS=""
    fi
    
    # gather buildinfo if not already provided
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 21 14:08:46 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top