Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 304 for obj1 (0.02 sec)

  1. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("TestClass{field1=Hello}", toTest);
      }
    
      public void testToStringHelperWithArrays() {
        String[] strings = {"hello", "world"};
        int[] ints = {2, 42};
        Object[] objects = {"obj"};
        String[] arrayWithNull = {null};
        Object[] empty = {};
        String toTest =
            MoreObjects.toStringHelper("TSH")
                .add("strings", strings)
                .add("ints", ints)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          this.name = name;
          this.parameterTypes = parameterTypes;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Signature) {
            Signature that = (Signature) obj;
            return name.equals(that.name) && parameterTypes.equals(that.parameterTypes);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/SetMultimap.java

       *
       * <p>An empty {@code SetMultimap} is equal to any other empty {@code Multimap}, including an
       * empty {@code ListMultimap}.
       */
      @Override
      boolean equals(@CheckForNull Object obj);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/SetMultimap.java

       *
       * <p>An empty {@code SetMultimap} is equal to any other empty {@code Multimap}, including an
       * empty {@code ListMultimap}.
       */
      @Override
      boolean equals(@CheckForNull Object obj);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

            for (int i = 0; i < sub_authority_count; i++) {
                hcode += 65599 * sub_authority[i];
            }
            return hcode;
        }
        public boolean equals(Object obj) {
            if (obj instanceof SID) {
                SID sid = (SID)obj;
                if (sid == this)
                    return true;
                if (sid.sub_authority_count == sub_authority_count) {
                    int i = sub_authority_count;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    	if objInfo.VersionID != "" && objInfo.VersionID != nullVersionID {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    
    	if obj := getObjectLocation(r, globalDomainNames, bucket, object); obj != "" {
    		w.Header().Set(xhttp.Location, obj)
    	}
    
    	// Notify object created event.
    	defer sendEvent(eventArgs{
    		EventName:    event.ObjectCreatedPost,
    		BucketName:   objInfo.Bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  7. cmd/utils.go

    	if HasSuffix(object, globalDirSuffix) {
    		return strings.TrimSuffix(object, globalDirSuffix) + slashSeparator
    	}
    	return object
    }
    
    func isDirObject(object string) bool {
    	if obj := encodeDirObject(object); obj != object {
    		object = obj
    	}
    	return HasSuffix(object, globalDirSuffix)
    }
    
    // Helper method to return total number of nodes in cluster
    func totalNodeCount() int {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  8. cmd/batch-rotate.go

    		VersionID:        objInfo.VersionID,
    		Versioned:        versioned,
    		VersionSuspended: versionSuspended,
    		NoLock:           true,
    	}
    	obj, err := api.GetObjectInfo(ctx, r.Bucket, objInfo.Name, opts)
    	if err != nil {
    		return err
    	}
    	oi := obj.Clone()
    	var (
    		newKeyID      string
    		newKeyContext kms.Context
    	)
    	encMetadata := make(map[string]string)
    	for k, v := range oi.UserDefined {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_sql_databases/test_tutorial002.py

        )
    
        with TestClient(mod.app) as c:
            yield c
    
    
    def test_crud_app(client: TestClient):
        # TODO: this warns that SQLModel.from_orm is deprecated in Pydantic v1, refactor
        # this if using obj.model_validate becomes independent of Pydantic v2
        with warnings.catch_warnings(record=True):
            warnings.simplefilter("always")
            # No heroes before creating
            response = client.get("heroes/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
    
        @Override
        public int hashCode() {
          return identity;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof FreshInvocationHandler) {
            FreshInvocationHandler that = (FreshInvocationHandler) obj;
            return identity == that.identity;
          }
          return false;
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top