Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for bad2 (0.17 sec)

  1. security/pkg/k8s/tokenreview/k8sauthn_test.go

    				Status: authenticationv1.TokenReviewStatus{
    					Authenticated: true,
    					User: authenticationv1.UserInfo{
    						Username: "system:serviceaccount:default:example-pod-sa",
    						UID:      "ff578a9e-65d3-11e8-aad2-42010a8a001d",
    						Groups: []string{
    							"system:serviceaccounts",
    							"system:serviceaccounts:default",
    							"system:authenticated",
    						},
    					},
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 13 17:12:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactoryTest.groovy

            def set2 = factory.of(BAR, "bar2")
    
            when:
            def concat = factory.concat(set1, set2)
    
            then:
            concat.keySet() == [FOO, BAR] as Set
            concat.getAttribute(FOO) == "foo1"
            concat.getAttribute(BAR) == "bar2"
        }
    
        def "can replace attribute with same name and different type"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 07 17:59:06 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  3. test/fixedbugs/issue47185.dir/bad/bad.go

    // license that can be found in the LICENSE file.
    
    package a
    
    // Note that the use of CGO here is solely to trigger external
    // linking, since that is required to trigger that bad behavior
    // in this bug.
    
    // #include <stdlib.h>
    import "C"
    
    func Bad() {
    	m := make(map[int64]A)
    	a := m[0]
    	if len(a.B.C1.D2.E2.F1) != 0 ||
    		len(a.B.C1.D2.E2.F2) != 0 ||
    		len(a.B.C1.D2.E2.F3) != 0 ||
    		len(a.B.C1.D2.E2.F4) != 0 ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 19 13:27:46 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/mono_test.go

    	for i, good := range goods {
    		if err := checkMono(t, good); err != nil {
    			t.Errorf("%d: unexpected failure: %v", i, err)
    		}
    	}
    }
    
    func TestMonoBad(t *testing.T) {
    	for i, bad := range bads {
    		if err := checkMono(t, bad); err == nil {
    			t.Errorf("%d: unexpected success", i)
    		} else {
    			t.Log(err)
    		}
    	}
    }
    
    var goods = []string{
    	"func F[T any](x T) { F(x) }",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/resources/org/gradle/api/tasks/copyTestResources/src/one/sub/ignore/bad.file

    Peter Niederwieser <******@****.***> 1329340464 +0100
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 21:14:41 UTC 2012
    - Viewed (0)
  6. security/pkg/k8s/tokenreview/k8sauthn.go

    	//  "kubernetes.io/serviceaccount/service-account.uid":"ff578a9e-65d3-11e8-aad2-42010a8a001d",
    	//  "sub":"system:serviceaccount:default:example-pod-sa"
    	//  }
    
    	// An example token review status
    	// "status":{
    	//   "authenticated":true,
    	//   "user":{
    	//     "username":"system:serviceaccount:default:example-pod-sa",
    	//     "uid":"ff578a9e-65d3-11e8-aad2-42010a8a001d",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 13 17:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. test/fixedbugs/issue5755.dir/a.go

    func (b bar) F() { return }
    
    func TestBar() I { return bar{1: 2} }
    
    type baz int
    
    func IsBaz(x interface{}) bool { _, ok := x.(baz); return ok }
    
    type baz2 int
    
    func IsBaz2(x interface{}) bool {
    	switch x.(type) {
    	case baz2:
    		return true
    	default:
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 28 21:29:13 UTC 2013
    - 1.3K bytes
    - Viewed (0)
  8. src/go/build/testdata/bads/bad.s

    Michael Matloob <******@****.***> 1667414211 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 19:34:40 UTC 2022
    - 3 bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/resources/org/gradle/api/tasks/copyTestResources/src/two/ignore/bad.file

    Peter Niederwieser <******@****.***> 1329340464 +0100
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 15 21:14:41 UTC 2012
    - 25 bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

      @Benchmark
      void longEqualJava(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (javaImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void longEqualUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba1, ba2) != 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
Back to top