Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of about 10,000 for ofObject (0.2 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/util/internal/DeferredUtil.java

         */
        @Nullable
        public static Object unpackOrNull(@Nullable Object deferred) {
            return unpack(ProviderResolutionStrategy.ALLOW_ABSENT, deferred);
        }
    
        @Nullable
        private static Object unpack(ProviderResolutionStrategy providerResolutionStrategy, @Nullable Object deferred) {
            if (deferred == null) {
                return null;
            }
            Object value = unpackNestableDeferred(deferred);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/go/ast/scope.go

    // are ignored.
    func (s *Scope) Lookup(name string) *Object {
    	return s.Objects[name]
    }
    
    // Insert attempts to insert a named object obj into the scope s.
    // If the scope already contains an object alt with the same name,
    // Insert leaves the scope unchanged and returns alt. Otherwise
    // it inserts obj and returns nil.
    func (s *Scope) Insert(obj *Object) (alt *Object) {
    	if alt = s.Objects[obj.Name]; alt == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingMultiset.java

       */
      protected int standardCount(@CheckForNull Object object) {
        for (Entry<?> entry : this.entrySet()) {
          if (Objects.equal(entry.getElement(), object)) {
            return entry.getCount();
          }
        }
        return 0;
      }
    
      /**
       * A sensible definition of {@link #add(Object)} in terms of {@link #add(Object, int)}. If you
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedNotAbstractInSuperclassTest.java

      static class SuperClass {
        final List<Object> notOverriddenInSubclassEvents = Lists.newArrayList();
        final List<Object> overriddenNotAnnotatedInSubclassEvents = Lists.newArrayList();
        final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList();
        final List<Object> differentlyOverriddenNotAnnotatedInSubclassBadEvents = Lists.newArrayList();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar

    static boolean areEqual(Object, Object); private static boolean areArraysEqual(Object, Object); private static boolean areArrayLengthsEqual(Object, Object); private static boolean areArrayElementsEqua(Object, Object); private static boolean isArray(Object); public static org.hamcrest.Matcher equalTo(Object); } org/hamcrest/core/IsInstanceOf.class package org.hamcrest.core; public synchronized class IsInstanceOf extends org.hamcrest.DiagnosingMatcher { private final Class expectedClass; private final...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 44K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/caching_object_test.go

    			ResourceVersion: "123",
    		},
    	}
    	object, err := newCachingObject(pod)
    	if err != nil {
    		t.Fatalf("couldn't create cachingObject: %v", err)
    	}
    
    	if object.deepCopied != false {
    		t.Errorf("object deep-copied without the need")
    	}
    
    	object.SetResourceVersion("123")
    	if object.deepCopied != false {
    		t.Errorf("object deep-copied on no-op change")
    	}
    	object.SetResourceVersion("234")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 15:26:38 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MinimalSet.java

    @ElementTypesAreNonnullByDefault
    public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
      public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) {
        return ofClassAndContents(Object.class, (E[]) new Object[0], Arrays.asList(contents));
      }
    
      @SuppressWarnings("unchecked") // empty Object[] as E[]
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test adding null equal object yields error */
      public void testAddNullEqualObject() {
        try {
          equalsTester.addEqualityGroup(reference, (Object[]) null);
          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    func EachListItemWithAlloc(obj runtime.Object, fn func(runtime.Object) error) error {
    	return eachListItem(obj, fn, true)
    }
    
    // allocNew: Whether shallow copy is required when the elements in Object.Items are struct
    func eachListItem(obj runtime.Object, fn func(runtime.Object) error, allocNew bool) error {
    	if unstructured, ok := obj.(runtime.Unstructured); ok {
    		if allocNew {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
Back to top