Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 364 for chains (0.26 sec)

  1. android/guava/src/com/google/common/base/Throwables.java

      }
    
      /**
       * Gets a {@code Throwable} cause chain as a list. The first entry in the list will be {@code
       * throwable} followed by its cause hierarchy. Note that this is a snapshot of the cause chain and
       * will not reflect any subsequent changes to the cause chain.
       *
       * <p>Here's an example of how it can be used to find specific types of exceptions in the cause
       * chain:
       *
       * <pre>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. security/pkg/pki/ca/ca_test.go

    			if !bytes.Equal(cert, rootCert) {
    				t.Error("Root cert and cert do not match")
    			}
    			// self signed certs do not contain cert chain
    			if len(certChain) > 0 {
    				t.Error("Cert chain should not exist")
    			}
    			rootCertCh <- rootCert
    			privateKeyCh <- privateKey
    		}()
    	}
    	wg.Wait()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            assert filtered.getOrElse(someOtherValue()) == someOtherValue()
    
            then:
            2 * spec.isSatisfiedBy(someValue()) >> false
            0 * spec._
        }
    
        def "can chain mapped providers"() {
            def transform1 = Mock(Transformer)
            def transform2 = Mock(Transformer)
            def transform3 = Mock(Transformer)
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        )
        fun getLevel(): Level = level
    
        @Throws(IOException::class)
        override fun intercept(chain: Interceptor.Chain): Response {
          val level = this.level
    
          val request = chain.request()
          if (level == Level.NONE) {
            return chain.proceed(request)
          }
    
          val logBody = level == Level.BODY
          val logHeaders = logBody || level == Level.HEADERS
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. security/pkg/server/ca/server_test.go

    			certChain:    nil,
    			caller:       nil,
    			fakeAuthInfo: &mockAuthInfo{"not-tls"},
    			ipAddr:       mockIPAddr,
    			code:         codes.Unauthenticated,
    		},
    		// no cert chain presented
    		"Empty cert chain": {
    			certChain: [][]*x509.Certificate{},
    			caller:    nil,
    			ipAddr:    mockIPAddr,
    			code:      codes.Unauthenticated,
    		},
    		// certificate misses the SAN field
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsAccessFromGroovyDslIntegrationTest.groovy

            "parent"            | ":"
        }
    
        def "reports problem when root project build script uses chain of methods #chain { } to apply plugins to other projects"() {
            createDirs("a", "b")
            settingsFile << """
                include("a")
                include("b")
            """
            buildFile << """
                $chain { it.plugins.apply('java-library') }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent_test.go

    }
    
    func copyCerts(t *testing.T, dir string) {
    	if err := os.MkdirAll(dir, 0o755); err != nil {
    		t.Fatal(err)
    	}
    	if err := file.Copy(filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot/cert-chain.pem"), dir, "cert-chain.pem"); err != nil {
    		t.Fatal(err)
    	}
    	if err := file.Copy(filepath.Join(env.IstioSrc, "./tests/testdata/certs/pilot/key.pem"), dir, "key.pem"); err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. pilot/pkg/leaderelection/leaderelection_test.go

    		})
    	}
    }
    
    func alreadyHit(cur instance, chain []instance) bool {
    	for _, cc := range chain {
    		if cur == cc {
    			return true
    		}
    	}
    	return false
    }
    
    func checkCycles(t *testing.T, start instance, cases []instance, chain []instance) {
    	if alreadyHit(start, chain) {
    		t.Fatalf("cycle on leader election: cur %v, chain %v", start, chain)
    	}
    	for _, nextHop := range cases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. security/pkg/nodeagent/cache/secretcache_test.go

    			keyPath:      "./testdata/cert-chain.pem",
    			expectResult: false,
    		},
    		"key not exist": {
    			certPath:     "./testdata/cert-chain.pem",
    			keyPath:      "./invalid-path/invalid-file",
    			expectResult: false,
    		},
    		"key and cert valid": {
    			certPath:     "./testdata/cert-chain.pem",
    			keyPath:      "./testdata/cert-chain.pem",
    			expectResult: true,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

              connectionPool = connectionPool,
              readTimeoutMillis = client.readTimeoutMillis,
              writeTimeoutMillis = client.writeTimeoutMillis,
              socketConnectTimeoutMillis = chain.connectTimeoutMillis,
              socketReadTimeoutMillis = chain.readTimeoutMillis,
              pingIntervalMillis = client.pingIntervalMillis,
              retryOnConnectionFailure = client.retryOnConnectionFailure,
              fastFallback = client.fastFallback,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top