Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 230 for desc3 (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults_test.go

    )
    
    func TestKMSProviderTimeoutDefaults(t *testing.T) {
    	testCases := []struct {
    		desc string
    		in   *KMSConfiguration
    		want *KMSConfiguration
    	}{
    		{
    			desc: "timeout not supplied",
    			in:   &KMSConfiguration{},
    			want: &KMSConfiguration{Timeout: defaultTimeout, CacheSize: &defaultCacheSize, APIVersion: defaultAPIVersion},
    		},
    		{
    			desc: "timeout supplied",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. operator/pkg/tpath/util_test.go

    func TestAddSpecRoot(t *testing.T) {
    	tests := []struct {
    		desc   string
    		in     string
    		expect string
    		err    error
    	}{
    		{
    			desc: "empty",
    			in:   ``,
    			expect: `spec: {}
    `,
    			err: nil,
    		},
    		{
    			desc: "add-root",
    			in: `
    a: va
    b: foo`,
    			expect: `spec:
      a: va
      b: foo
    `,
    			err: nil,
    		},
    		{
    			desc:   "err",
    			in:     `i can't be yaml, can I?`,
    			expect: ``,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. operator/pkg/util/yaml_test.go

    	tests := []struct {
    		desc   string
    		in1    string
    		in2    string
    		expect bool
    	}{
    		{
    			desc:   "yaml-equal",
    			in1:    `foo: bar`,
    			in2:    `foo: bar`,
    			expect: true,
    		},
    		{
    			desc:   "bad-yaml-1",
    			in1:    "O#JF*()#",
    			in2:    `foo: bar`,
    			expect: false,
    		},
    		{
    			desc:   "bad-yaml-2",
    			in1:    `foo: bar`,
    			in2:    "#OHJ*#()F",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NetServerEnum2.java

            int start = dstIndex;
            byte[] descr;
            int which = subCommand == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[which].getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( subCommand & 0xFF, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  5. pkg/istio-agent/health/health_probers_test.go

    )
    
    func TestHttpProber(t *testing.T) {
    	tests := []struct {
    		desc                string
    		statusCode          int
    		expectedProbeResult ProbeResult
    		expectedError       error
    	}{
    		{
    			desc:                "Healthy - 200 status code",
    			statusCode:          200,
    			expectedProbeResult: Healthy,
    			expectedError:       nil,
    		},
    		{
    			desc:                "Unhealthy - 500 status code",
    			statusCode:          500,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 14 19:26:09 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  6. tools/golangci-override.yaml

                desc: "don't use v3; v2 is orders of magnitude higher performance"
              - pkg: k8s.io/apimachinery/pkg/util/sets
                desc: "use istio.io/istio/pkg/util/sets"
              - pkg: k8s.io/utils/env
                desc: "use istio.io/istio/pkg/env"
              - pkg: k8s.io/utils/strings/slices
                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. operator/pkg/translate/translate_common_test.go

    	tests := []struct {
    		desc     string
    		yamlStr  string
    		want     []string
    		wantErrs bool
    	}{
    		{
    			desc:    "nil success",
    			yamlStr: "",
    			want:    nil,
    		},
    		{
    			desc: "all components disabled",
    			yamlStr: `
    components:
      pilot:
        enabled: false
      ingressGateways:
      - enabled: false`,
    			want: nil,
    		},
    		{
    			desc: "only pilot component enabled",
    			yamlStr: `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 21 22:14:28 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            byte[] descr;
            int which = getSubCommand() == NET_SERVER_ENUM2 ? 0 : 1;
    
            try {
                descr = DESCR[ which ].getBytes("ASCII");
            }
            catch ( UnsupportedEncodingException uee ) {
                return 0;
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  9. src/compress/bzip2/bzip2_test.go

    }
    
    func TestReader(t *testing.T) {
    	var vectors = []struct {
    		desc   string
    		input  []byte
    		output []byte
    		fail   bool
    	}{{
    		desc: "hello world",
    		input: mustDecodeHex("" +
    			"425a68393141592653594eece83600000251800010400006449080200031064c" +
    			"4101a7a9a580bb9431f8bb9229c28482776741b0",
    		),
    		output: []byte("hello world\n"),
    	}, {
    		desc: "concatenated files",
    		input: mustDecodeHex("" +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_cl.cc

    using llvm::cl::opt;
    
    // Import options.
    // NOLINTNEXTLINE
    opt<std::string> input_arrays(
        "tf-input-arrays", llvm::cl::desc("Input tensor names, separated by ','"),
        llvm::cl::init(""));
    
    // NOLINTNEXTLINE
    opt<std::string> input_dtypes(
        "tf-input-data-types",
        llvm::cl::desc("(Optional) Input tensor data types, separated by ','. Use "
                       "'' if a single data type is skipped. The data type from "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:59:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top