Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for logic (0.03 sec)

  1. cmd/bucket-handlers_test.go

    	if err != nil {
    		t.Fatalf("Test %s: Failed to create HTTP request for RemoveBucketHandler: <ERROR> %v", instanceType, err)
    	}
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    	switch rec.Code {
    	case http.StatusOK, http.StatusCreated, http.StatusAccepted, http.StatusNoContent:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

            String adjustment = "";
    
            if (parent != null) {
                String childName = child.getArtifactId();
    
                /*
                 * This logic (using filesystem, against wanted independence from the user environment) exists only for the
                 * sake of backward-compat with 2.x (MNG-5000). In general, it is wrong to
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for PutBucketPolicyHandler: <ERROR> %v", i+1, instanceType, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		if recV4.Code != testCase.expectedRespStatus {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  4. cmd/signature-v4-utils_test.go

    		t.Fatal("no policies found")
    	}
    
    	if policies[0] != "consoleAdmin" {
    		t.Fatalf("expected 'consoleAdmin', %s", policies[0])
    	}
    }
    
    // TestSkipContentSha256Cksum - Test validate the logic which decides whether
    // to skip checksum validation based on the request header.
    func TestSkipContentSha256Cksum(t *testing.T) {
    	testCases := []struct {
    		inputHeaderKey   string
    		inputHeaderValue string
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       visible static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
       * C} will be excluded from automated serialization test performed by this method.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	req.Header.Set("Content-Type", contentTypeHdr)
    	req.Header.Set("User-Agent", "Mozilla")
    
    	// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    	// Call the ServeHTTP to execute the handler.
    	apiRouter.ServeHTTP(rec, req)
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser_test.go

    		}
    		if actualErrCode == ErrNone {
    			validateCredentialfields(t, i+1, testCase.expectedCredentials, actualCredential)
    		}
    	}
    }
    
    // TestParseSignature - validates the logic for extracting the signature string.
    func TestParseSignature(t *testing.T) {
    	testCases := []struct {
    		inputSignElement string
    		expectedSignStr  string
    		expectedErrCode  APIErrorCode
    	}{
    		// Test case - 1.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. fastapi/security/oauth2.py

        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import OAuth2PasswordRequestForm
    
        app = FastAPI()
    
    
        @app.post("/login")
        def login(form_data: Annotated[OAuth2PasswordRequestForm, Depends()]):
            data = {}
            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/archive/tar/writer.go

    	n = len(b0) - len(b)
    	switch {
    	case err == ErrWriteTooLong:
    		return n, errMissData // Not possible; implies bug in validation logic
    	case err != nil:
    		return n, err
    	case sw.logicalRemaining() == 0 && sw.physicalRemaining() > 0:
    		return n, errUnrefData // Not possible; implies bug in validation logic
    	case overwrite:
    		return n, ErrWriteTooLong
    	default:
    		return n, nil
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. docs/en/data/github_sponsors.yml

        url: https://github.com/apitally
      - login: logic-automation
        avatarUrl: https://avatars.githubusercontent.com/u/144732884?v=4
        url: https://github.com/logic-automation
      - login: ddilidili
        avatarUrl: https://avatars.githubusercontent.com/u/42176885?u=c0a849dde06987434653197b5f638d3deb55fc6c&v=4
        url: https://github.com/ddilidili
      - login: ramonalmeidam
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jun 03 01:09:53 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top