Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,200 for nestLev (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. internal/net/net.go

    func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) {
    	proc, err := procfs.Self()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	netDev, err := proc.NetDev()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	ndl, ok := netDev[interf]
    	if !ok {
    		return procfs.NetDevLine{}, fmt.Errorf("%v interface not found", interf)
    	}
    	return ndl, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 17 08:14:01 UTC 2023
    - 1.2K 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. 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)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedEncoder.java

            output.writeString(value);
        }
    
        @Override
        public void encodeChunked(EncodeAction<Encoder> writeAction) throws Exception {
            if (nested == null) {
                nested = new KryoBackedEncoder(new OutputStream() {
                    @Override
                    public void write(byte[] buffer, int offset, int length) {
                        if (length == 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/BuildOperationNotificationsFixtureTest.groovy

            String simpleResultMethod() { "simpleResultValue" }
        }
    
        static trait NestedResult {
            Nested getNested() { new Object().withTraits(Nested) }
        }
    
        static trait Nested {
            String getNestedValue() { "nestedValue" }
    
            String toString() { "Nested" }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top