Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,188 for T_nested (0.29 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go

              "name": "instance",
              "unspecified": "bar"
            },
            "spec": {
            }
          }
        }
      }
    }
    `, expectedPruned: []string{"nested.spec.embedded.spec.unspecified", "nested.spec.embedded.unspecified", "nested.spec.unspecified", "nested.unspecified", "pruned.spec.unspecified", "pruned.unspecified", "unspecified"}},
    		{name: "x-kubernetes-embedded-resource, with root=true", json: `
    {
      "apiVersion": "foo/v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/lex_test.go

    			"C",
    		),
    		"C.\n",
    	},
    	{
    		"nested #define",
    		lines(
    			"#define A #define B THIS",
    			"A",
    			"B",
    		),
    		"THIS.\n",
    	},
    	{
    		"nested #define with args",
    		lines(
    			"#define A #define B(x) x",
    			"A",
    			"B(THIS)",
    		),
    		"THIS.\n",
    	},
    	/* This one fails. See comment in Slice.Col.
    	{
    		"nested #define with args",
    		lines(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm_test.go

              "name": "instance"
            },
            "spec": {
              "unspecified": "bar"
            }
          }
        }
      }
    }
    `, expectedUnknownFields: []string{
    			"nested.metadata.unspecified",
    			"nested.spec.embedded.metadata.unspecified",
    			"preserving.metadata.unspecified",
    			"pruned.metadata.unspecified",
    		}},
    		{name: "x-kubernetes-embedded-resource, with includeRoot=true", json: `
    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 02:09:41 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

            }
    
            @Nested
            public Object getBean() {
                return bean;
            }
        }
    
        public static class TaskWithNestedIterable extends TaskWithAction {
            Object bean;
    
            @Inject
            public TaskWithNestedIterable(Object nested) {
                bean = nested;
            }
    
            @Nested
            public List<?> getBeans() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/validation_test.go

    			required("embedded", "apiVersion"),
    			required("embedded", "kind"),
    		}},
    		{name: "nested", object: `
    {
      "nested": {
        "embedded": {}
      }
    }`, errors: []validationMatch{
    			required("nested", "apiVersion"),
    			required("nested", "kind"),
    			required("nested", "embedded", "apiVersion"),
    			required("nested", "embedded", "kind"),
    		}},
    		{name: "items", object: `
    {
      "items": [{}]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/ProjectSchemaAccessorsIntegrationTest.kt

                containsMultiLineString(
                    """
                    nested: my.Nested.Extension
                    nested{} my.Nested.Extension
                    beans: org.gradle.api.NamedDomainObjectContainer<my.Nested.Extension>
                    beans{} org.gradle.api.NamedDomainObjectContainer<my.Nested.Extension>
                    bar
                    baz
                    """
                )
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  7. internal/hash/reader_test.go

    				"88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589",
    			},
    		},
    		{
    			desc:       "Nested hash reader NewReader() should merge.",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Incorrect sha256, nested",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd")), 4, "", "", 4),
    			size:       4,
    			actualSize: 4,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go

    		t.Errorf("expected cause when wrapped, got %v: %#v", ok, cause)
    	}
    
    	nested := fmt.Errorf("twice: %w", wrapped)
    	if cause, ok := StatusCause(nested, "SomeCause"); !ok || cause != err.ErrStatus.Details.Causes[0] {
    		t.Errorf("expected cause when nested, got %v: %#v", ok, cause)
    	}
    }
    
    func BenchmarkIsAlreadyExistsWrappedErrors(b *testing.B) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers.go

    }
    
    // SetNestedSlice sets the slice value of a nested field.
    // Returns an error if value cannot be set because one of the nesting levels is not a map[string]interface{}.
    func SetNestedSlice(obj map[string]interface{}, value []interface{}, fields ...string) error {
    	return SetNestedField(obj, value, fields...)
    }
    
    // SetNestedStringMap sets the map[string]string value of a nested field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 20:39:55 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            then:
            def e = thrown(IllegalStateException)
            e.message == 'Cannot append text as there is no current node.'
        }
    
        interface Thing<T> extends List<Nested>, Map<Nested, ? extends Consumer<? super T>> {
            interface Nested {
                class Inner {}
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top