Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 913 for testing (0.07 seconds)

  1. cmd/signature-v4-parser.go

    	sRegion := cred.scope.region
    	// Region is set to be empty, we use whatever was sent by the
    	// request and proceed further. This is a work-around to address
    	// an important problem for ListBuckets() getting signed with
    	// different regions.
    	if region == "" {
    		region = sRegion
    	}
    	// Should validate region, only if region is set.
    	if !isValidRegion(sRegion, region) {
    		return ch, ErrAuthorizationHeaderMalformed
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. internal/bucket/replication/replication.go

    			continue
    		}
    
    		if obj.TargetArn != "" && rule.Destination.ARN != obj.TargetArn && c.RoleArn != obj.TargetArn {
    			continue
    		}
    		// Ignore other object level and prefix filters for resyncing target/listing bucket targets
    		if obj.OpType == ResyncReplicationType || obj.OpType == AllReplicationType {
    			rules = append(rules, rule)
    			continue
    		}
    		if obj.ExistingObject && rule.ExistingObjectReplication.Status == Disabled {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  3. ci/devinfra/docker/windows/Dockerfile

    # NOTE: This Dockerfile is no longer in use.
    # It is kept just in case, but it's recommended to use the 2022 version,
    # and that is what internal CI uses as well.
    
    # This Dockerfile creates an image that has:
    # - the correct MTU setting for networking from inside the container to work.
    # - Visual Studio 2022 Build Tools
    # - MSVC 14.39
    # - LLVM/Clang 18.1.4
    # - MSYS2 + curl, git, patch, vim, unzip, zip
    # - Python 3.12.3
    # - Bazelisk 1.19.0
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Jan 17 16:35:57 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. cmd/erasure-server-pool-decom.go

    					break
    				}
    				setN := humanize.Ordinal(setIdx + 1)
    				retryDur := time.Duration(rand.Float64() * float64(5*time.Second))
    				decomLogOnceIf(ctx, fmt.Errorf("listing objects from %s set failed with %v, retrying in %v", setN, err, retryDur), "decom-listing-failed"+setN)
    				time.Sleep(retryDur)
    			}
    		}(setIdx)
    	}
    	wk.Wait()
    	return nil
    }
    
    //msgp:ignore decomMetrics
    type decomMetrics struct{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  5. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin getting schwifty"}
    
    
    def test_admin_invalid_header(client: TestClient):
        response = client.post("/admin/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/handling-errors.md

    The exception handler will receive a `Request` and the exception.
    
    {* ../../docs_src/handling_errors/tutorial004_py39.py hl[2,14:19] *}
    
    Now, if you go to `/items/foo`, instead of getting the default JSON error with:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. ci/devinfra/docker/windows2022/Dockerfile

    # This Dockerfile creates an image that has:
    # - the correct MTU setting for networking from inside the container to work.
    # - Visual Studio 2022 Build Tools
    # - MSVC 14.39
    # - LLVM/Clang 18.1.4
    # - MSYS2 + curl, git, patch, vim, unzip, zip
    # - Python 3.9 - 3.13
    # - Bazelisk 1.22.1
    # - JDK 21 (Azul Zulu)
    
    FROM mcr.microsoft.com/windows/servercore:ltsc2022
    
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", \
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Jan 13 18:59:55 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java

        // bProject -> cProject
        //        | -> dProject
        //        | -> eProject
        // cProject -> dProject
        //        | -> eProject
        // dProject -> eProject
        //
        // When getting the non-transitive, downstream projects of aProject with a whitelist of aProject, dProject,
        // and eProject, we expect to get dProject, and eProject with no duplicates.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. docs/sts/web-identity.go

    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		buckets, err := clnt.ListBuckets(r.Context())
    		if err != nil {
    			log.Println(fmt.Errorf("Error while listing buckets, %s", err))
    			http.Error(w, err.Error(), http.StatusBadRequest)
    			return
    		}
    		creds, _ := sts.Get()
    
    		bucketNames := []string{}
    
    		for _, bucket := range buckets {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

                    <description></description>
                </project>
                """;
    
            Document doc = Document.of(pomXml);
            Element root = doc.root();
    
            // Test getting text from existing elements
            assertEquals("4.0.0", root.childText("modelVersion"), "Should get modelVersion text");
            assertEquals("test", root.childText("groupId"), "Should get groupId text");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
Back to Top