Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of about 10,000 for ofObject (0.12 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensions.kt

     * If an object with the given [name] is not found, [UnknownDomainObjectException] is thrown.
     * If the object is found but cannot be cast to the expected [type], [IllegalArgumentException] is thrown.
     *
     * @param name object name
     * @param type expected type
     * @return the object, never null
     * @throws [UnknownDomainObjectException] When the given object is not found.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy_test.go

    				Object: map[string]interface{}{
    					"spec": "old",
    				},
    			},
    			obj: &unstructured.Unstructured{
    				Object: map[string]interface{}{
    					"new": "new",
    				},
    			},
    			expected: &unstructured.Unstructured{
    				Object: map[string]interface{}{
    					"spec": "old",
    				},
    			},
    		},
    		{
    			// delete status
    			old: &unstructured.Unstructured{
    				Object: map[string]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 22:16:10 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionReplacingObjectOutputStream.java

    import java.io.OutputStream;
    
    public class ExceptionReplacingObjectOutputStream extends ObjectOutputStream {
        private InternalTransformer<Object, Object> objectTransformer = new InternalTransformer<Object, Object>() {
            @Override
            public Object transform(Object obj) {
                try {
                    return doReplaceObject(obj);
                } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultAttributes.java

        public boolean containsValue(Object value) {
            return attributes.containsValue(value);
        }
    
        @Override
        public Object get(Object key) {
            return attributes.get(key);
        }
    
        @Override
        public Object put(String key, Object value) {
            if (key == null) {
                throw new ManifestException("The key of a manifest attribute must not be null.");
            }
            if (value == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Preconditions.java

       *
       * @since 20.0 (varargs overload since 2.0)
       */
      @CanIgnoreReturnValue
      public static <T> T checkNotNull(
          @CheckForNull T reference,
          String errorMessageTemplate,
          @CheckForNull Object p1,
          @CheckForNull Object p2,
          @CheckForNull Object p3,
          @CheckForNull Object p4) {
        if (reference == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 11:52:14 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/initialization/DefaultGradleProperties.java

    public class DefaultGradleProperties implements MutableGradleProperties {
        private final Map<String, Object> defaultProperties;
        private final Map<String, Object> overrideProperties;
        private final Map<String, Object> gradleProperties;
    
        public DefaultGradleProperties(
            Map<String, Object> defaultProperties,
            Map<String, Object> overrideProperties
        ) {
            this.defaultProperties = defaultProperties;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 11:21:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/watch/filter_test.go

    func TestFilter(t *testing.T) {
    	table := []Event{
    		{Type: Added, Object: testType("foo")},
    		{Type: Added, Object: testType("bar")},
    		{Type: Added, Object: testType("baz")},
    		{Type: Added, Object: testType("qux")},
    		{Type: Added, Object: testType("zoo")},
    	}
    
    	source := NewFake()
    	filtered := Filter(source, func(e Event) (Event, bool) {
    		return e, e.Object.(testType)[0] != 'b'
    	})
    
    	go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 16 11:56:41 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    public void Log4JCategoryLog(org.apache.log4j.Category); public void trace(Object); public void trace(Object, Throwable); public void debug(Object); public void debug(Object, Throwable); public void info(Object); public void info(Object, Throwable); public void warn(Object); public void warn(Object, Throwable); public void error(Object); public void error(Object, Throwable); public void fatal(Object); public void fatal(Object, Throwable); public org.apache.log4j.Category getCategory(); public boolean...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  9. pkg/registry/rbac/helpers_test.go

    	tests := []struct {
    		name     string
    		obj      func() runtime.Object
    		old      func() runtime.Object
    		expected bool
    	}{
    		{
    			name: "same",
    			obj: func() runtime.Object {
    				return newPod()
    			},
    			old: func() runtime.Object {
    				return newPod()
    			},
    			expected: true,
    		},
    		{
    			name: "different managedFields",
    			obj: func() runtime.Object {
    				return newPod()
    			},
    			old: func() runtime.Object {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 05 20:12:50 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager_test.go

    		}
    	}`)
    	newObj := &unstructured.Unstructured{Object: map[string]interface{}{}}
    	if err := yaml.Unmarshal(patch, &newObj.Object); err != nil {
    		t.Fatalf("error decoding YAML: %v", err)
    	}
    
    	if err := f.Update(newObj, "fieldmanager_test"); err != nil {
    		t.Fatalf("failed to apply object: %v", err)
    	}
    
    	appliedObj := &unstructured.Unstructured{Object: map[string]interface{}{}}
    	if err := yaml.Unmarshal([]byte(`{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top