Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 494 for desc1 (0.1 sec)

  1. src/internal/fuzz/encoding_test.go

    		{
    			desc: "negative uint",
    			in: `go test fuzz v1
    uint(-32)`,
    			reject: true,
    		},
    		{
    			desc: "int8 too large",
    			in: `go test fuzz v1
    int8(1234456)`,
    			reject: true,
    		},
    		{
    			desc: "multiplication in int value",
    			in: `go test fuzz v1
    int(20*5)`,
    			reject: true,
    		},
    		{
    			desc: "double negation",
    			in: `go test fuzz v1
    int(--5)`,
    			reject: true,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionFixture.groovy

        static void assertDescription(CommandLineOption option, String desc) {
            assert option.description == desc
        }
    
        static void assertIncubatingDescription(CommandLineOption option, boolean incubating) {
            assertIncubatingDescription(option, incubating, DESCRIPTION)
        }
    
        static void assertIncubatingDescription(CommandLineOption option, boolean incubating, String desc) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/componentconfigs/checksums_test.go

    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    var checksumTestCases = []struct {
    	desc      string
    	configMap *v1.ConfigMap
    	checksum  string
    }{
    	{
    		desc:     "checksum is calculated using both data and binaryData",
    		checksum: "sha256:c8f8b724728a6d6684106e5e64e94ce811c9965d19dd44dd073cf86cf43bc238",
    		configMap: &v1.ConfigMap{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  4. operator/pkg/controlplane/control_plane_test.go

    	"istio.io/istio/operator/pkg/translate"
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestOrderedKeys(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   map[string]*v1alpha1.ExternalComponentSpec
    		want []string
    	}{
    		{
    			desc: "not-ordered",
    			in: map[string]*v1alpha1.ExternalComponentSpec{
    				"graphql":   nil,
    				"Abacus":    nil,
    				"Astrology": nil,
    				"gRPC":      nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 04 02:36:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. pilot/pkg/model/extensions_test.go

    	}
    }
    
    func TestFailStrategy(t *testing.T) {
    	cases := []struct {
    		desc string
    		in   *extensions.WasmPlugin
    		out  bool
    	}{
    		{
    			desc: "close",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    				FailStrategy: extensions.FailStrategy_FAIL_CLOSE,
    			},
    			out: false,
    		},
    		{
    			desc: "open",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. operator/pkg/version/version_test.go

    func TestVersion(t *testing.T) {
    	tests := []struct {
    		desc    string
    		yamlStr string
    		want    Version
    		wantErr string
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc:    "major success",
    			yamlStr: "1",
    			want:    NewVersion(1, 0, 0, ""),
    		},
    		{
    			desc:    "major fail",
    			yamlStr: "1..",
    			wantErr: `Malformed version: 1..`,
    		},
    		{
    			desc:    "major fail prefix",
    			yamlStr: ".1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  7. src/testing/panic_test.go

    func TestPanic(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	testCases := []struct {
    		desc  string
    		flags []string
    		want  string
    	}{{
    		desc:  "root test panics",
    		flags: []string{"-test_panic_test=TestPanicHelper"},
    		want: `
    --- FAIL: TestPanicHelper (N.NNs)
        panic_test.go:NNN: TestPanicHelper
    `,
    	}, {
    		desc:  "subtest panics",
    		flags: []string{"-test_panic_test=TestPanicHelper/1"},
    		want: `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:49:24 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  8. common/config/.golangci.yml

                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
              - pkg: go.opencensus.io
                desc: "do not use OpenCensus; use OpenTelemetry instead"
              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. operator/pkg/util/reflect_test.go

    	tests := []struct {
    		desc     string
    		function func(v reflect.Value) bool
    		okValues []any
    	}{
    		{
    			desc:     "IsValuePtr",
    			function: IsValuePtr,
    			okValues: []any{&testInt, &testStruct, &testSlice, &testMap},
    		},
    		{
    			desc:     "IsValueStruct",
    			function: IsValueStruct,
    			okValues: []any{testStruct},
    		},
    		{
    			desc:     "IsValueInterface",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

    	metrics := []string{
    		"authenticated_user_requests",
    		"authentication_attempts",
    	}
    
    	testCases := []struct {
    		desc        string
    		response    *authenticator.Response
    		status      bool
    		err         error
    		apiAudience authenticator.Audiences
    		want        string
    	}{
    		{
    			desc: "auth ok",
    			response: &authenticator.Response{
    				User: &user.DefaultInfo{Name: "admin"},
    			},
    			status: true,
    			want: `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top