Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 167 for ValueOf (0.04 seconds)

  1. callbacks/delete.go

    				}
    
    				if db.Statement.ReflectValue.CanAddr() && db.Statement.Dest != db.Statement.Model && db.Statement.Model != nil {
    					_, queryValues = schema.GetIdentityFieldValuesMap(db.Statement.Context, reflect.ValueOf(db.Statement.Model), db.Statement.Schema.PrimaryFields)
    					column, values = schema.ToQueryValues(db.Statement.Table, db.Statement.Schema.PrimaryFieldDBNames, queryValues)
    
    					if len(values) > 0 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        @Override
        public void add(RepositorySystemSession session, LocalMetadataRegistration request) {
            // noop
        }
    
        @Override
        public String toString() {
            return String.valueOf(getRepository());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

        }
    
        @Override
        public void add(RepositorySystemSession session, LocalMetadataRegistration request) {
            // noop
        }
    
        @Override
        public String toString() {
            return String.valueOf(getRepository());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

      }
    
      private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable {
        @Override
        public int compare(T left, T right) {
          return String.valueOf(left).compareTo(String.valueOf(right));
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 03:23:31 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            "Constructor" to "AddedClass()",
            "Class" to "AddedEnum",
            "Field" to "FOO"
        ) + reportedMembersFor("AddedEnum", isEnum = true) + listOf(
            "Method" to "AddedEnum.valueOf(java.lang.String)",
            "Method" to "AddedEnum.values()",
            "Class" to "AddedObject",
            "Field" to "INSTANCE",
            "Field" to "cathedral"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                return new DefaultModelProblem(
                        p.getMessage(),
                        org.apache.maven.model.building.ModelProblem.Severity.valueOf(
                                p.getSeverity().name()),
                        org.apache.maven.model.building.ModelProblem.Version.valueOf(
                                p.getVersion().name()),
                        p.getSource(),
                        p.getLineNumber(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/SignedBytesTest.java

        } catch (IllegalArgumentException ex) {
          assertWithMessage("%s not found in exception text: %s", value, ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
      public void testCompare() {
        for (byte x : VALUES) {
          for (byte y : VALUES) {
            // Only compare the sign of the result of compare().
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 7K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

            if (bn instanceof Integer integer) {
                this.buildNumber = integer;
            } else if (bn instanceof String string) {
                this.buildNumber = Integer.valueOf(string);
            } else {
                this.buildNumber = null;
            }
    
            snapshots = new LinkedHashMap<>();
    
            /*
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
    
        @Override
        public int compareTo(Element that) {
          return Integer.compare(hash, that.hash);
        }
    
        @Override
        public String toString() {
          return String.valueOf(hash);
        }
      }
    
      static class SlowElement extends Element {
        SlowElement(int hash) {
          super(hash);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. schema/serializer.go

    	return
    }
    
    // Value implements serializer interface
    func (UnixSecondSerializer) Value(ctx context.Context, field *Field, dst reflect.Value, fieldValue interface{}) (result interface{}, err error) {
    	rv := reflect.ValueOf(fieldValue)
    	switch fieldValue.(type) {
    	case int, int8, int16, int32, int64:
    		result = time.Unix(rv.Int(), 0).UTC()
    	case uint, uint8, uint16, uint32, uint64:
    		if uv := rv.Uint(); uv > math.MaxInt64 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:29:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top