Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toFloat (0.04 sec)

  1. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                        }
                    }
                }
            }
    
            final var docs = scoreDocMap.values().stream()
                    .sorted((e1, e2) -> Float.compare(toFloat(e2.get(scoreField)), toFloat(e1.get(scoreField)))).toList();
            int offset = 0;
            for (int i = 0; i < windowSize / 2 && i < docs.size(); i++) {
                if (!mainIdSet.contains(docs.get(i).get(idField))) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. internal/s3select/json/record.go

    }
    
    // Set - sets the value for a column name.
    func (r *Record) Set(name string, value *sql.Value) (sql.Record, error) {
    	var v interface{}
    	if b, ok := value.ToBool(); ok {
    		v = b
    	} else if f, ok := value.ToFloat(); ok {
    		v = f
    	} else if i, ok := value.ToInt(); ok {
    		v = i
    	} else if t, ok := value.ToTimestamp(); ok {
    		v = sql.FormatSQLTimestamp(t)
    	} else if s, ok := value.ToString(); ok {
    		v = s
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. internal/s3select/sql/evaluate.go

    				return false
    			}
    			for i := range aA {
    				if !cmp(aA[i], bA[i]) {
    					return false
    				}
    			}
    			return true
    		}
    		// Try as numbers
    		aF, aOK := a.ToFloat()
    		bF, bOK := b.ToFloat()
    
    		diff := math.Abs(aF - bF)
    		return aOK && bOK && diff < floatCmpTolerance
    	}
    
    	var rhs Value
    	var err error
    	var eltVal *Value
    	switch {
    	case e.JPathExpr != nil:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                } else if (floatFieldSet.contains(key)) {
                    if (value instanceof final Number num) {
                        value = num.floatValue();
                    } else {
                        value = DfTypeUtil.toFloat(value.toString());
                    }
                } else if (doubleFieldSet.contains(key)) {
                    if (value instanceof final Number num) {
                        value = num.doubleValue();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                        return;
                    }
                    List<Path> toLoad = new ArrayList<>();
                    Path root = defaultModelBuilder.getModelProcessor().locateExistingPom(rootDirectory);
                    toLoad.add(root);
                    while (!toLoad.isEmpty()) {
                        Path pom = toLoad.remove(0);
                        try {
                            ModelBuildingRequest gaBuildingRequest =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top