Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 3,897 for True (0.03 sec)

  1. tests/test_dependency_normal_exceptions.py

        temp_database = fake_database.copy()
        try:
            yield temp_database
            fake_database.update(temp_database)
        except HTTPException:
            state["except"] = True
            raise
        finally:
            state["finally"] = True
    
    
    @app.put("/invalid-user/{user_id}")
    def put_invalid_user(
        user_id: str, name: str = Body(), db: dict = Depends(get_database)
    ):
        db[user_id] = name
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    func TestCheckURL(t *testing.T) {
    	testCases := []struct {
    		urlStr     string
    		shouldPass bool
    	}{
    		{"", false},
    		{":", false},
    		{"http://localhost/", true},
    		{"http://127.0.0.1/", true},
    		{"proto://myhostname/path", true},
    	}
    
    	// Validates fetching local address.
    	for i, testCase := range testCases {
    		_, err := checkURL(testCase.urlStr)
    		if testCase.shouldPass && err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            return createRepository(
                    "file://" + localRepository.toURI().getRawPath(),
                    MavenRepositorySystem.DEFAULT_LOCAL_REPO_ID,
                    true,
                    ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
                    true,
                    ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS,
                    ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  4. cmd/iam-object-store_test.go

    		{"policydb/groups/testgroup.json", true, "policydb/groups/", "testgroup.json"},
    		{
    			"policydb/sts-users/uid=slash/user,ou=people,ou=swengg,dc=min,dc=io.json", true,
    			"policydb/sts-users/", "uid=slash/user,ou=people,ou=swengg,dc=min,dc=io.json",
    		},
    		{
    			"policydb/sts-users/uid=slash/user/twice,ou=people,ou=swengg,dc=min,dc=io.json", true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/RemovalCause.java

       */
      COLLECTED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry's expiration timestamp has passed. This can occur when using {@link
       * CacheBuilder#expireAfterWrite} or {@link CacheBuilder#expireAfterAccess}.
       */
      EXPIRED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. src/buildall.bash

    #
    # Options:
    #   -e: stop at first failure
    
    if [ ! -f run.bash ]; then
    	echo 'buildall.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    
    sete=false
    if [ "$1" = "-e" ]; then
    	sete=true
    	shift
    fi
    
    if [ "$sete" = true ]; then
    	set -e
    fi
    
    pattern="$1"
    if [ "$pattern" = "" ]; then
    	pattern=.
    fi
    
    ./make.bash || exit 1
    GOROOT="$(cd .. && pwd)"
    
    gettargets() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 23 17:45:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/bug_report.yml

          options:
            - label: "This is not a security vulnerability or a crashing bug"
              required: true
            - label: "This is not a question about how to use Istio"
              required: true
      - type: textarea
        id: bug-description
        attributes:
          label: Bug Description
          description: Tell us what issues you ran into.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jan 10 15:17:29 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject_test.go

    		},
    		{
    			name: "default pod label injection",
    			pod:  podTestObject("test1", "test1", "true", ""),
    			ns:   nsTestObject("test1", "", ""),
    			expectedMessages: []webhookAnalysis{
    				{
    					Name:     "istio-sidecar-injector",
    					Revision: "default",
    					Injected: true,
    					Reason:   "Pod label sidecar.istio.io/inject=true matches",
    				},
    				{
    					Name:     "istio-sidecar-injector-1-16",
    					Revision: "1-16",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. internal/kms/config_test.go

    		},
    		ShouldFail: true,
    	},
    	{ // 6
    		Env: map[string]string{
    			EnvKMSEndpoint:  "https://127.0.0.1:7373",
    			EnvKMSSecretKey: "minioy-default-key:6jEQjjMh8iPq8/gqgb4eMDIZFOtPACIsr9kO+vx8JFs=",
    		},
    		ShouldFail: true,
    	},
    	{ // 7
    		Env: map[string]string{
    			EnvKMSEnclave:  "foo",
    			EnvKESServerCA: "/etc/minio/certs",
    		},
    		ShouldFail: true,
    	},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

                trimToSize()
              } catch (_: IOException) {
                mostRecentTrimFailed = true
              }
    
              try {
                if (journalRebuildRequired()) {
                  rebuildJournal()
                  redundantOpCount = 0
                }
              } catch (_: IOException) {
                mostRecentRebuildFailed = true
                journalWriter?.closeQuietly()
                journalWriter = blackholeSink().buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top