Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for float (0.27 sec)

  1. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link Float}
         */
        public static Float toFloat(final Object o, final String pattern) {
            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            context.addFieldLog(field, text);
            context.addHighlightedQuery(text);
            return buildMatchPhraseQuery(field, text).boost(boost);
        }
    
        protected QueryBuilder convertKeywordQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
                final float boost, final String field, final String text) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/ne.css

            display: block;
            float: left;
            width: 300px;
            height: 50px;
            padding: 2px;
            font-family: Verdana, sans-serif;
            font-size: 10pt;
            color: #000000;
            text-decoration: none;
        }
        a.plain {
            display: inline;
            float: none;
            width: auto;
            height: auto;
        }
        a.sort {
            display: block;
            float: left;
            width: 100px;
    CSS
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(expected6, DocumentUtil.getValue(doc, "key6", Double.class));
        }
    
        public void test_float() {
            Map<String, Object> doc = new HashMap<>();
    
            float expected7 = 999.999f;
            doc.put("key7", expected7);
            assertEquals(expected7, DocumentUtil.getValue(doc, "key7", Float.class));
        }
    
        public void test_boolean() {
            Map<String, Object> doc = new HashMap<>();
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsKeyMatchCQ.java

        }
    
        public void setBoost_Equal(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Equal(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setBoost_Term(boost, opLambda);
        }
    
        public void setBoost_Term(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Term(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 68.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Encdec.java

            return l;
        }
    
        /* Encode floats
         */
    
        public static int enc_floatle( float f, byte[] dst, int di )
        {
            return enc_uint32le( Float.floatToIntBits( f ), dst, di );
        }
        public static int enc_floatbe( float f, byte[] dst, int di )
        {
            return enc_uint32be( Float.floatToIntBits( f ), dst, di );
        }
    
        /* Decode floating point numbers
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return PhraseQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PhraseQuery phraseQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

                if (l != null) {
                    return l;
                }
                return Long.valueOf(0);
            } else if (type == float.class) {
                final Float f = FloatConversionUtil.toFloat(o);
                if (f != null) {
                    return f;
                }
                return new Float(0);
            } else if (type == short.class) {
                final Short s = ShortConversionUtil.toShort(o);
                if (s != null) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. 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() {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

            final AtomicBoolean calledFirst = new AtomicBoolean(false);
            queryProcessor.addFilter(new QueryProcessor.Filter() {
                @Override
                public QueryBuilder execute(QueryContext context, Query query, float boost, FilterChain chain) {
                    calledFirst.set(true);
                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top