Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 688 for Floats (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            final long docFreq = Long.parseLong(source.get(FieldNames.DOC_FREQ).toString());
            final long queryFreq = Long.parseLong(source.get(FieldNames.QUERY_FREQ).toString());
            final float userBoost = Float.parseFloat(source.get(FieldNames.USER_BOOST).toString());
            final List<String> tags = SuggestUtil.getAsList(source.get(FieldNames.TAGS));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/extra-data-types.md

    # Zusätzliche Datentypen
    
    Bisher haben Sie gängige Datentypen verwendet, wie zum Beispiel:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    Sie können aber auch komplexere Datentypen verwenden.
    
    Und Sie haben immer noch dieselbe Funktionalität wie bisher gesehen:
    
    * Großartige Editor-Unterstützung.
    * Datenkonvertierung bei eingehenden Requests.
    * Datenkonvertierung für Response-Daten.
    * Datenvalidierung.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) value;
                }
                return (T) Double.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Float.class)) {
                if (value instanceof Float) {
                    return (T) value;
                }
                return (T) Float.valueOf(value.toString());
            }
            if (clazz.isAssignableFrom(Boolean.class)) {
                if (value instanceof Boolean) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top