Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValueOf (0.13 sec)

  1. utils/utils.go

    	}
    	return false
    }
    
    func AssertEqual(x, y interface{}) bool {
    	if reflect.DeepEqual(x, y) {
    		return true
    	}
    	if x == nil || y == nil {
    		return false
    	}
    
    	xval := reflect.ValueOf(x)
    	yval := reflect.ValueOf(y)
    	if xval.Kind() == reflect.Ptr && xval.IsNil() ||
    		yval.Kind() == reflect.Ptr && yval.IsNil() {
    		return false
    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            return result;
        }
    
        public void add(RepositorySystemSession session, LocalMetadataRegistration request) {
            // noop
        }
    
        public String toString() {
            return String.valueOf(getRepository());
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top