- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 859 for floats (0.06 sec)
-
internal/s3select/simdj/record.go
case simdjson.TypeFloat: v, err := iter.Float() if err != nil { return nil, err } return sql.FromFloat(v), nil case simdjson.TypeInt: v, err := iter.Int() if err != nil { return nil, err } return sql.FromInt(v), nil case simdjson.TypeUint: v, err := iter.Int() if err != nil { // Can't fit into int, convert to float. v, err := iter.Float() return sql.FromFloat(v), err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
docs/ja/docs/tutorial/extra-data-types.md
# 追加データ型 今までは、以下のような一般的なデータ型を使用してきました: * `int` * `float` * `str` * `bool` しかし、より複雑なデータ型を使用することもできます。 そして、今まで見てきたのと同じ機能を持つことになります: * 素晴らしいエディタのサポート * 受信したリクエストからのデータ変換 * レスポンスデータのデータ変換 * データの検証 * 自動注釈と文書化 ## 他のデータ型 ここでは、使用できる追加のデータ型のいくつかを紹介します: * `UUID`: * 多くのデータベースやシステムで共通のIDとして使用される、標準的な「ユニバーサルにユニークな識別子」です。 * リクエストとレスポンスでは`str`として表現されます。 * `datetime.datetime`:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/grid/benchmark_test.go
// Since we are benchmarking n parallel servers we need to multiply by n. // This will give an estimate of the total ops/s. latency := float64(atomic.LoadInt64(&lat)) / float64(time.Millisecond) b.ReportMetric(float64(n)*float64(ops)/spent.Seconds(), "vops/s") b.ReportMetric(latency/float64(ops), "ms/op") } }) } }) b.Run("rpc", func(b *testing.B) { for par := 1; par <= 32; par *= 2 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0) -
fastapi/encoders.py
# TODO: pv2 should this return strings instead? def decimal_encoder(dec_value: Decimal) -> Union[int, float]: """ Encodes a Decimal as int of there's no exponent, otherwise float This is useful when we use ConstrainedDecimal to represent Numeric(x,0) where a integer (but not int typed) is used. Encoding this as a float results in failed round-tripping between encode and parse. Our Id type is a prime example of this.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 10.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-artifactId-urls-parent.xml
<modelVersion>4.0.0</modelVersion> <groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test parent</name> <description>Flat directory structure case: module = ../child-artifact-id + child directory path != child-artifact-id</description> <modules> <module>../child-artifact-id</module><!-- use child artifact id, even if different from directory -->
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
#include "tensorflow/core/protobuf/rewriter_config.pb.h" #include "tensorflow/core/util/port.h" using tensorflow::string; using tensorflow::tstring; TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value) { float data[] = {value}; TF_Status* status = TF_NewStatus(); TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_FLOAT, nullptr, 0, status); memcpy(TF_TensorData(t), &data[0], TF_TensorByteSize(t));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
internal/s3select/sql/record.go
return v, nil case simdjson.TypeFloat: v, err := iter.Float() if err != nil { return nil, err } return v, nil case simdjson.TypeInt: v, err := iter.Int() if err != nil { return nil, err } return v, nil case simdjson.TypeUint: v, err := iter.Int() if err != nil { // Can't fit into int, convert to float. v, err := iter.Float() return v, err } return v, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsentity/BsKeyMatch.java
// ======== public Float getBoost() { checkSpecifiedProperty("boost"); return boost; } public void setBoost(Float value) { registerModifiedProperty("boost"); this.boost = value; } public String getCreatedBy() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.4K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/html5.js
data-validation-allowing"]="range["+j+";"+i+"]",0!==j.indexOf("-")&&0!==i.indexOf("-")||(h["data-validation-allowing"]+=",negative"),(j.indexOf(".")>-1||i.indexOf(".")>-1||k.indexOf(".")>-1)&&(h["data-validation-allowing"]+=",float")):h["data-validation-allowing"]+=",float,negative"}if(e.attr("pattern")&&(b.push("custom"),h["data-validation-regexp"]=e.attr("pattern")),e.attr("maxlength")&&(b.push("length"),h["data-validation-length"]="max"+e.attr("maxlength")),!c&&e.attr("list")){var l=[],m=a("#...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
@Override protected String getQueryClassName() { return FuzzyQuery.class.getSimpleName(); } @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final FuzzyQuery fuzzyQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.3K bytes - Viewed (0)