Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 233 for desc2 (0.48 sec)

  1. operator/pkg/validate/validate_test.go

    import (
    	"testing"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestValidate(t *testing.T) {
    	tests := []struct {
    		desc     string
    		yamlStr  string
    		wantErrs util.Errors
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc: "complicated k8s overlay",
    			yamlStr: `
    profile: default
    components:
      ingressGateways:
      - enabled: true
        k8s:
          affinity:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 25 11:44:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map);
            assertThat(desc.getRawClass(), is(sameClass(Set.class)));
            ParameterizedClassDesc[] args = desc.getArguments();
            assertThat(args.length, is(1));
            assertThat(args[0].getRawClass(), is(sameClass(Integer.class)));
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    		{
    			desc: "invalid yaml",
    			file: newString(`*`),
    			err:  "failed to decode",
    		},
    		{
    			desc: "invalid json",
    			file: newString(`{*`),
    			err:  "failed to decode",
    		},
    		// invalid object
    		{
    			desc: "missing kind",
    			file: newString(`{"apiVersion":"kubelet.config.k8s.io/v1beta1"}`),
    			err:  "failed to decode",
    		},
    		{
    			desc: "missing version",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. operator/pkg/cache/cache_test.go

    	"istio.io/istio/operator/pkg/object"
    )
    
    func TestFlushObjectCaches(t *testing.T) {
    	tests := []struct {
    		desc     string
    		wantSize int
    	}{
    		{
    			desc:     "flush-cache",
    			wantSize: 0,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.desc, func(t *testing.T) {
    			unstObjs := make(map[string]any)
    			tUnstructured := &unstructured.Unstructured{Object: unstObjs}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 20 18:46:12 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/util/documentation_test.go

    import (
    	"testing"
    )
    
    func TestLongDesc(t *testing.T) {
    	tests := []struct {
    		desc string
    		in   string
    		out  string
    	}{
    		{
    			desc: "Empty input produces empty output",
    			in:   "",
    			out:  "",
    		},
    		{
    			desc: "Single line text is preserved as is",
    			in:   "Some text",
    			out:  "Some text",
    		},
    		{
    			desc: "Consecutive new lines are combined into a single paragraph",
    			in:   "Line1\nLine2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 24 11:40:55 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/bytecode/AsmExtensions.kt

        visitMethodInsn_(Opcodes.INVOKEINTERFACE, owner, name, desc, itf)
    }
    
    
    internal
    fun MethodVisitor.INVOKESTATIC(owner: InternalName, name: String, desc: String) {
        visitMethodInsn_(Opcodes.INVOKESTATIC, owner, name, desc, false)
    }
    
    
    private
    fun MethodVisitor.visitMethodInsn_(opcode: Int, owner: InternalName, name: String, desc: String, itf: Boolean) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc

        llvm::cl::desc("Enable converting TF to Stablehlo."),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> post_training_quantization(
        "post-training-quantization",
        llvm::cl::desc("Enable post_training_quantization."),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> legalize_custom_tensor_list_ops(
        "legalize-custom-tensor-list-ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-dump_test.go

    func TestProfileDump(t *testing.T) {
    	testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump")
    	tests := []struct {
    		desc       string
    		configPath string
    	}{
    		{
    			desc: "all_off",
    		},
    		{
    			desc:       "config_path",
    			configPath: "components",
    		},
    		{
    			desc:       "list_path",
    			configPath: "values.gateways.istio-egressgateway.secretVolumes",
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 20 11:44:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. pkg/util/flag/flags_test.go

    	testCases := []struct {
    		desc      string
    		argc      string
    		expectErr bool
    		expectVal string
    	}{
    
    		{
    			desc:      "valid ipv4 1",
    			argc:      "blah --ipport=0.0.0.0",
    			expectVal: "0.0.0.0",
    		},
    		{
    			desc:      "valid ipv4 2",
    			argc:      "blah --ipport=127.0.0.1",
    			expectVal: "127.0.0.1",
    		},
    
    		{
    			desc:      "invalid IP",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 10:45:23 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/security_context_others_test.go

    	runAsNonRootTrue := true
    	runAsNonRootFalse := false
    	for _, test := range []struct {
    		desc     string
    		sc       *v1.SecurityContext
    		uid      *int64
    		username string
    		fail     bool
    	}{
    		{
    			desc: "Pass if SecurityContext is not set",
    			sc:   nil,
    			uid:  &rootUser,
    			fail: false,
    		},
    		{
    			desc: "Pass if RunAsUser is non-root and RunAsNonRoot is true",
    			sc: &v1.SecurityContext{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 10:06:54 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top