Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 3,128 for rint (0.02 seconds)

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

      }
    
      @Benchmark
      double percentile90(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(90, 100, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile99(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(99, 100, dataset(i));
        }
        return dummy;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      }
    
      @Benchmark
      double percentile90(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(90, 100, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile99(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(99, 100, dataset(i));
        }
        return dummy;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/LineBufferTest.java

      private static Readable getChunkedReadable(String input, int chunk) {
        Reader reader = getChunkedReader(input, chunk);
        return new Readable() {
          @Override
          public int read(CharBuffer cbuf) throws IOException {
            return reader.read(cbuf);
          }
        };
      }
    
      private static Reader getChunkedReader(String input, int chunk) {
        return new FilterReader(new StringReader(input)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

                }
    
                @Override
                public int decode(byte[] buffer, int bufferIndex, int len) {
                    return 0;
                }
    
                @Override
                public int size() {
                    return 100;
                }
    
                @Override
                public int encode(byte[] dst, int dstIndex) {
                    return 0;
                }
            };
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/ArrayMap.java

            if (size != e.size) {
                return false;
            }
            for (int i = 0; i < size; i++) {
                if (!listTable[i].equals(e.listTable[i])) {
                    return false;
                }
            }
            return true;
        }
    
        @Override
        public int hashCode() {
            int h = 0;
            for (int i = 0; i < size; i++) {
                h += listTable[i].hashCode();
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                for (int i = 0; i < 100; i++) {
                    int bytesRead = response.readBytesWireFormat(buffer, 0);
                    // Then
                    assertEquals(4, bytesRead, "Failed at iteration " + i);
                }
    
                // When - perform multiple write operations
                for (int i = 0; i < 100; i++) {
                    int bytesWritten = response.writeBytesWireFormat(buffer, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Test with different buffer sizes and indices
            int[][] configs = { { 100, 0 }, { 1024, 50 }, { 4096, 2000 }, { 65536, 32768 } };
    
            for (int[] config : configs) {
                byte[] dst = new byte[config[0]];
                int dstIndex = config[1];
    
                int result = response.writeBytesWireFormat(dst, dstIndex);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            received();
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#verifySignature(byte[], int, int)
         */
        @Override
        public boolean verifySignature(final byte[] buffer, final int i, final int size) {
            // observed too that signatures on error responses are sometimes wrong??
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    @RunWith(JUnit4.class)
    
    @NullUnmarked
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/math/MathBenchmarking.java

    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
Back to Top