Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 351 for doble (0.02 sec)

  1. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

         * than lower ones.
         */
        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
        // Currently, this is going into /dev/null, but I'll fix that
        System.out.println("hit rate: " + hit / req);
      }
    
      // for proper distributions later:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     *
     * @author Jesse Wilson
     */
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
      static final Double SECOND = 2.0d;
    
      final EventBus bus = new EventBus();
    
      public void testNoReentrantEvents() {
        ReentrantEventsHater hater = new ReentrantEventsHater();
        bus.register(hater);
    
        bus.post(FIRST);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

        return Float.intBitsToFloat(readInt());
      }
    
      /**
       * Reads a {@code double} as specified by {@link DataInputStream#readDouble()}, except using
       * little-endian byte order.
       *
       * @return the next eight bytes of the input stream, interpreted as a {@code double} in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
                        BigInteger.valueOf(((Double) Math.abs(Math.sin(i) * 10.0)).longValue())));
          }
          return v;
        }
      }
    
      public enum ComparatorType {
        CHEAP {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LongAdder.java

      @Override
      public float floatValue() {
        return (float) sum();
      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsBoostDocumentRuleCA.java

        public void setCreatedTime_PercentileRanks(double[] values) {
            setCreatedTime_PercentileRanks(values, null);
        }
    
        public void setCreatedTime_PercentileRanks(double[] values, ConditionOptionCall<PercentileRanksAggregationBuilder> opLambda) {
            setCreatedTime_PercentileRanks("createdTime", values, opLambda);
        }
    
        public void setCreatedTime_PercentileRanks(String name, double[] values,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Hashing.java

        return smear((o == null) ? 0 : o.hashCode());
      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
        // Round down to the nearest power of 2.
        expectedEntries = max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

        Set<Class<?>> primitives = Primitives.allPrimitiveTypes();
        assertThat(primitives)
            .containsExactly(
                boolean.class,
                byte.class,
                char.class,
                double.class,
                float.class,
                int.class,
                long.class,
                short.class,
                void.class);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/admin/storage/admin_storage_tag_edit.jsp

    										</div>
    									</div>
    									</c:forEach>
    									<c:set var="nameKey">name${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<c:set var="valueKey">value${Double.valueOf(savedTags.size()/2).intValue()+1}</c:set>
    									<div class="form-group row">
    										<div class="col-sm-6">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 26 01:48:41 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

         * well-tested. A purist would object to this, but what can I say, we're dirty cheaters.
         */
        map.put(Integer.class, new Integer(5));
        assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
        // Won't compile: map.put(String.class, "x");
      }
    
      public void testPutAndGetInstance() {
        assertNull(map.putInstance(Integer.class, new Integer(5)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top