Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for valueOf (0.2 sec)

  1. scan.go

    			mapValue[column] = reflectValue.Interface()
    			if valuer, ok := mapValue[column].(driver.Valuer); ok {
    				mapValue[column], _ = valuer.Value()
    			} else if b, ok := mapValue[column].(sql.RawBytes); ok {
    				mapValue[column] = string(b)
    			}
    		} else {
    			mapValue[column] = nil
    		}
    	}
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. callbacks/preload.go

    	column, values := schema.ToQueryValues(clause.CurrentTable, relForeignKeys, foreignValues)
    
    	if len(values) != 0 {
    		for _, cond := range conds {
    			if fc, ok := cond.(func(*gorm.DB) *gorm.DB); ok {
    				tx = fc(tx)
    			} else {
    				inlineConds = append(inlineConds, cond)
    			}
    		}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    .flatMap(properties -> properties.entrySet().stream())
                    .filter(e -> e.getValue() != null)
                    .collect(Collectors.toMap(
                            e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue()), (k1, k2) -> k2));
        }
    
        private String getUserAgent() {
            String version = runtimeInformation.getMavenVersion();
            version = version.isEmpty() ? version : "/" + version;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            if (args.length != 1) {
                throw new IllegalArgumentException("Requires 1 param: " + Stream.of(ExecutionMode.values()).map(ExecutionMode::toString).collect(Collectors.joining("/")));
            }
            executionMode = ExecutionMode.valueOf(args[0]);
            if (executionMode == ExecutionMode.KILL_PROCESSES_STARTED_BY_GRADLE && !Boolean.parseBoolean(System.getenv("GRADLE_RUNNER_FINISHED"))) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. 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 Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. tests/query_test.go

    		t.Fatalf("failed to query struct data with null age, got error %v", err)
    	}
    
    	AssertEqual(t, result, user)
    
    	users := []User{
    		*GetUser("scan_null_value_for_slice_1", Config{}),
    		*GetUser("scan_null_value_for_slice_2", Config{}),
    		*GetUser("scan_null_value_for_slice_3", Config{}),
    	}
    	DB.Create(&users)
    
    	if err := DB.Model(&users[0]).Update("age", nil).Error; err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                                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(),
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  8. helm/minio/values.yaml

    mountPath: "/export"
    ## Override the root directory which the minio server should serve from.
    ## If left empty, it defaults to the value of {{ .Values.mountPath }}
    ## If defined, it must be a sub-directory of the path specified in {{ .Values.mountPath }}
    ##
    bucketRoot: ""
    
    # Number of drives attached to a node
    drivesPerNode: 1
    # Number of MinIO containers running
    replicas: 16
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  9. tests/preload_test.go

    	DB.Migrator().AutoMigrate(&Preload{}, &Join{}, &Nested{}, &Value{})
    
    	value1 := Value{
    		Name: "value",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p1"}, {Value: "p2"},
    			},
    			Join: Join{Value: "j1"},
    		},
    	}
    	value2 := Value{
    		Name: "value2",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p3"}, {Value: "p4"}, {Value: "p5"},
    			},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

              values.iterator(),
              keyFunction,
              ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size()));
        }
        return uniqueIndex(values.iterator(), keyFunction);
      }
    
      /**
       * Returns a map with the given {@code values}, indexed by keys derived from those values. In
       * other words, each input value produces an entry in the map whose key is the result of applying
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 159.3K bytes
    - Viewed (0)
Back to top