Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 146 for float64 (0.17 sec)

  1. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

        assertThat(primitives)
            .containsExactly(
                boolean.class,
                byte.class,
                char.class,
                double.class,
                float.class,
                int.class,
                long.class,
                short.class,
                void.class);
    
        try {
          primitives.remove(boolean.class);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LongAdder.java

      @Override
      public int intValue() {
        return (int) sum();
      }
    
      /** Returns the {@link #sum} as a {@code float} after a widening primitive conversion. */
      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
      public double doubleValue() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  3. 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 May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.constrainToRange((float) 1, (float) 1, (float) 5)).isEqualTo((float) 1);
        assertThat(Floats.constrainToRange((float) 1, (float) 3, (float) 5)).isEqualTo((float) 3);
        assertThat(Floats.constrainToRange((float) 0, (float) -5, (float) -1)).isEqualTo((float) -1);
        assertThat(Floats.constrainToRange((float) 5, (float) 2, (float) 2)).isEqualTo((float) 2);
        try {
          Floats.constrainToRange((float) 1, (float) 3, (float) 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. 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);
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDouble */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      public void testNewDataInput_readFloat() {
        byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
        ByteArrayDataInput in = ByteStreams.newDataInput(data);
        assertEquals(Float.intBitsToFloat(0x12345678), in.readFloat(), 0.0);
        assertEquals(Float.intBitsToFloat(0x76543210), in.readFloat(), 0.0);
      }
    
      public void testNewDataInput_readDouble() {
        byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/KeyMatchDbm.java

        //                                                                         ===========
        protected final ColumnInfo _columnBoost = cci("boost", "boost", null, null, Float.class, "boost", null, false, false, false, "Float", 0,
                0, null, null, false, null, null, null, null, null, false);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

        public String reading;
    
        public String targetLabel;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        public void initialize() {
            boost = 100.0f;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGeneratorFactory.java

            return new VersionsMetadataGenerator(session, request);
        }
    
        @SuppressWarnings("checkstyle:magicnumber")
        @Override
        public float getPriority() {
            return 20; // GA level metadata should be deployed 2nd MD
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top