Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 391 for double (0.17 seconds)

  1. guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

        }
        return tmp;
      }
    
      @Benchmark
      long roundToDouble(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += Double.doubleToRawLongBits(BigIntegerMath.roundToDouble(nonzero1[j], mode));
        }
        return tmp;
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
        long doubleConversionTest = 0xfffffffffffff402L;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Streams.java

        }
        final class Splitr extends MapWithIndexSpliterator<Spliterator.OfDouble, R, Splitr>
            implements DoubleConsumer {
          double holder;
    
          Splitr(Spliterator.OfDouble splitr, long index) {
            super(splitr, index);
          }
    
          @Override
          public void accept(double t) {
            this.holder = t;
          }
    
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 36.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/Slf4jMavenTransferListener.java

            if ((duration.getSeconds() | duration.getNano()) > 0) { // duration.isPositive()
                long bytesPerSecond = Math.round(contentLength / (double) duration.toSeconds());
                message.append(" at ");
                format.format(message, bytesPerSecond);
                message.append("/s");
            }
    
            message.append(')');
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            primitiveTypes.add("char");
            primitiveTypes.add("short");
            primitiveTypes.add("int");
            primitiveTypes.add("long");
            primitiveTypes.add("float");
            primitiveTypes.add("double");
            primitiveTypes.add("void");
            // TODO: sync with the documentation in writing_build_scripts_intermediate.adoc
            groovyImplicitImportPackages.add("java.util.");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 16 15:20:01 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.FAILED, service.state());
        assertThat(expected.getCause().getSuppressed()[0]).hasMessageThat().isEqualTo("double kaboom!");
      }
    
      private class ThrowOnRunService extends AbstractExecutionThreadService {
        private boolean shutDownCalled = false;
        private boolean throwOnShutDown = false;
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    format(float, StringBuffer); public static StringBuffer format(float, float, StringBuffer); public static StringBuffer format(double, StringBuffer); public static StringBuffer format(double, int, StringBuffer); public static StringBuffer format(double, double, StringBuffer); private static StringBuffer format(double, double, boolean, StringBuffer); private static final double multE(double, int); static void <clinit>(); } org/codehaus/plexus/util/xml/CompactXMLWriter.class package org.codehaus.plexus.util.xml;...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 164.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Streams.java

        }
        final class Splitr extends MapWithIndexSpliterator<Spliterator.OfDouble, R, Splitr>
            implements DoubleConsumer {
          double holder;
    
          Splitr(Spliterator.OfDouble splitr, long index) {
            super(splitr, index);
          }
    
          @Override
          public void accept(double t) {
            this.holder = t;
          }
    
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 21 15:40:45 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      long readLong();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      float readFloat();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      double readDouble();
    
      @CanIgnoreReturnValue // to skip a line
      @Override
      @Nullable String readLine();
    
      @CanIgnoreReturnValue // to skip a field
      @Override
      String readUTF();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 20:25:25 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top