Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for bad2 (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    	a.AuthenticateToken(context.Background(), "bad1")
    	a.AuthenticateToken(context.Background(), "bad2")
    	a.AuthenticateToken(context.Background(), "bad3")
    	fakeClock.Step(2 * time.Microsecond)
    	a.AuthenticateToken(context.Background(), "bad1")
    	a.AuthenticateToken(context.Background(), "bad2")
    	a.AuthenticateToken(context.Background(), "bad3")
    	fakeClock.Step(2 * time.Microsecond)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    			out:         smallPayload,
    			outErrs:     []error{fmt.Errorf("bad"), fmt.Errorf("bad2")},
    			mediaType:   "application/json",
    			req:         &http.Request{Header: http.Header{}, URL: &url.URL{Path: "/path"}},
    			wantCode:    http.StatusInternalServerError,
    			wantHeaders: http.Header{"Content-Type": []string{"text/plain"}},
    			wantBody:    []byte(": bad"),
    		},
    
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/coerce_test.go

    			"metadata": map[string]interface{}{
    				"name": "good",
    				"Name": "bad1",
    				"nAme": "bad2",
    				"naMe": "bad3",
    				"namE": "bad4",
    
    				"namespace": "good",
    				"Namespace": "bad1",
    				"nAmespace": "bad2",
    				"naMespace": "bad3",
    				"namEspace": "bad4",
    
    				"creationTimestamp": "a",
    			},
    		}}
    
    		meta, _, err := GetObjectMeta(u.Object, true)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/DefaultTypeMetadataStoreTest.groovy

        }
    
        static class TypeWithUnannotatedProperties extends DefaultTask {
            String bad1
            File bad2
            @Input
            String useful
        }
    
        def "warns about and ignores properties that are not annotated"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    		"bar": sets.New[string]("dev-bar1", "dev-bar2", "dev-bar3"),
    		"baz": sets.New[string]("dev-baz1", "dev-baz2", "dev-baz3"),
    	}
    	resp = devs.Filter(cond)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go

    		b.Fatalf("target fails inconsistently")
    	}
    	bad1 := b.search(r1)
    	if bad1 == nil {
    		// Search failed due to MaxSet limit.
    		return nil
    	}
    	b.Add = b.Add[:old]
    
    	// bad0 and bad1 together provoke the failure.
    	return append(bad0, bad1...)
    }
    
    // Run runs a set of trials selecting changes with the given suffix,
    // plus the ones in b.Add and not the ones in b.Skip.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    					if fn != nil {
    						v := fn.varByOffset[off-localSize]
    						if v != nil {
    							badf("%s should be %s+%d(FP)", m[1], v.name, off-localSize)
    							continue
    						}
    					}
    					if off >= localSize+argSize {
    						badf("use of %s points beyond argument frame", m[1])
    						continue
    					}
    					badf("use of %s to access argument frame", m[1])
    				}
    			}
    
    			if fn == nil {
    				continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. test/escape2.go

    func goLeak(b *Bar) { // ERROR "leaking param: b$"
    	go b.NoLeak()
    }
    
    type Bar2 struct {
    	i  [12]int
    	ii []int
    }
    
    func NewBar2() *Bar2 {
    	return &Bar2{[12]int{42}, nil} // ERROR "&Bar2{...} escapes to heap$"
    }
    
    func (b *Bar2) NoLeak() int { // ERROR "b does not escape$"
    	return b.i[0]
    }
    
    func (b *Bar2) Leak() []int { // ERROR "leaking param: b to result ~r0 level=0$"
    	return b.i[:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  9. src/go/build/build_test.go

    func TestIssue56509(t *testing.T) {
    	// The directory testdata/bads contains a .s file that has an unparsable
    	// comment. (go/build parses initial comments in non-go files looking for
    	// //go:build or //+go build comments).
    	p, err := ImportDir("testdata/bads", 0)
    	if err == nil {
    		t.Fatalf("could not import testdata/bads: %v", err)
    	}
    
    	if len(p.InvalidGoFiles) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(traverser.depthFirstPostOrder('a'), "dcba");
        assertEqualCharNodes(traverser.depthFirstPostOrder('b'), "adcb");
        assertEqualCharNodes(traverser.depthFirstPostOrder('c'), "badc");
        assertEqualCharNodes(traverser.depthFirstPostOrder('d'), "cbad");
      }
    
      @Test
      public void forGraph_depthFirstPostOrderIterable_cycle() {
        Traverser<Character> traverser = Traverser.forGraph(CYCLE_GRAPH);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top