Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 5,626 for object3 (0.14 sec)

  1. src/go/ast/scope.go

    // it inserts obj and returns nil.
    func (s *Scope) Insert(obj *Object) (alt *Object) {
    	if alt = s.Objects[obj.Name]; alt == nil {
    		s.Objects[obj.Name] = obj
    	}
    	return
    }
    
    // Debugging support
    func (s *Scope) String() string {
    	var buf strings.Builder
    	fmt.Fprintf(&buf, "scope %p {", s)
    	if s != nil && len(s.Objects) > 0 {
    		fmt.Fprintln(&buf)
    		for _, obj := range s.Objects {
    			fmt.Fprintf(&buf, "\t%s %s\n", obj.Kind, obj.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

    		t.Fatalf("Failed with err: %v", err)
    	}
    	if len(gots) != len(wants) {
    		t.Fatalf("Expected %d objects but got %d", len(wants), len(gots))
    	}
    
    	// Close expiry state's channel to inspect object versions enqueued for expiration
    	close(workers[0])
    	wg.Wait()
    	for _, obj := range expired {
    		switch obj.ObjectV.VersionID {
    		case uuids[2].String(), uuids[3].String(), uuids[4].String():
    		default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. pkg/controller/util/selectors/bimultimap.go

    			if s.selector.Matches(set) {
    				selecting.objects[s.key] = s
    			}
    		}
    		// Associate selecting with labeled.
    		m.selectingByLabeled[labelsKey] = selecting
    	}
    	selecting := m.selectingByLabeled[labelsKey]
    	selecting.refCount++
    	for _, sObject := range selecting.objects {
    		// Associate labeled with selecting.
    		labeled := m.labeledBySelecting[sObject.selectorKey]
    		labeled.objects[labeledObject.key] = labeledObject
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 21:41:32 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/EqualsTester.java

     *   <li>comparing each object against an instance of an incompatible class returns false
     *   <li>comparing each pair of objects within the same equality group returns true
     *   <li>comparing each pair of objects from different equality groups returns false
     *   <li>the hash codes of any two equal objects are equal
     * </ul>
     *
     * <p>When a test fails, the error message labels the objects involved in the failed comparison as
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensibleDynamicObject.java

            }
            DynamicObject[] objects = new DynamicObject[idx];
            System.arraycopy(delegates, 0, objects, 0, idx);
            setObjects(objects);
    
            if (addedParent) {
                idx--;
                objects = new DynamicObject[idx];
                System.arraycopy(delegates, 0, objects, 0, idx);
                setObjectsForUpdate(objects);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/xcodeproj/XcodeprojSerializer.java

                obj.setGlobalID(obj.generateGid(gidGenerator));
                LOG.trace("Set new object GID: {}", obj);
            } else {
                // Check that the object has already been serialized.
                NSObject object = objects.get(obj.getGlobalID());
                if (object != null) {
                    LOG.trace("Object {} found, returning existing object {}", obj, object);
                    return obj.getGlobalID();
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/providers/collections/kotlin/build.gradle.kts

        private val people: NamedDomainObjectList<Person> = project.objects.namedDomainObjectList(Person::class)
    
        // Add a person to the container
        fun addPerson(name: String) {
            people.plus(name)
        }
    }
    // end::ndol[]
    
    // tag::ndoc[]
    
    abstract class MyPluginExtensionNamedDomainObjectContainer {
        // Define a named domain object container to hold Person objects
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/helper.go

    // is only safe if the output object is not mutated or reused.
    func (c unsafeObjectConvertor) ConvertToVersion(in Object, outVersion GroupVersioner) (Object, error) {
    	return c.Scheme.UnsafeConvertToVersion(in, outVersion)
    }
    
    // UnsafeObjectConvertor performs object conversion without copying the object structure,
    // for use when the converted object will not be reused or mutated. Primarily for use within
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 13 22:54:34 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/DomainObjectCollection.java

        /**
         * Returns a collection containing the objects in this collection of the given type.  The returned collection is
         * live, so that when matching objects are later added to this collection, they are also visible in the filtered
         * collection.
         *
         * @param type The type of objects to find.
         * @return The matching objects. Returns an empty collection if there are no such objects in this collection.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 31 01:48:06 UTC 2022
    - 7.9K bytes
    - Viewed (0)
Back to top