Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for rowEnd (0.14 sec)

  1. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (PairedStats pairedStats : ALL_PAIRED_STATS) {
          byte[] pairedStatsByteArray = pairedStats.toByteArray();
    
          // Round trip to byte array and back
          assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

        private ValueSetLink<K, V> lastEntry;
    
        ValueSet(@ParametricNullness K key, int expectedValues) {
          this.key = key;
          this.firstEntry = this;
          this.lastEntry = this;
          // Round expected values up to a power of 2 to get the table size.
          int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR);
    
          @SuppressWarnings({"rawtypes", "unchecked"})
          @Nullable
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsTest.java

            .of(LONG_MANY_VALUES_MEAN);
      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (Stats stats : ALL_STATS) {
          byte[] statsByteArray = stats.toByteArray();
    
          // Round trip to byte array and back
          assertThat(Stats.fromByteArray(statsByteArray)).isEqualTo(stats);
        }
      }
    
      public void testFromByteArray_withNullInputThrowsNullPointerException() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

          int[] allRequired, int requiredFrom, int requiredTo, int from, int to) {
        if (requiredFrom == requiredTo) {
          return requiredFrom; // only one thing to choose, so choose it
        }
    
        // Find the center and round down. The true center is either centerFloor or halfway between
        // centerFloor and centerFloor + 1.
        int centerFloor = (from + to) >>> 1;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/DoubleUtils.java

        }
    
        /*
         * We need the top SIGNIFICAND_BITS + 1 bits, including the "implicit" one bit. To make rounding
         * easier, we pick out the top SIGNIFICAND_BITS + 2 bits, so we have one to help us round up or
         * down. twiceSignifFloor will contain the top SIGNIFICAND_BITS + 2 bits, and signifFloor the
         * top SIGNIFICAND_BITS + 1.
         *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:37:52 GMT 2021
    - 5.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/guide/PostExample.java

          return response.body().string();
        }
      }
    
      String bowlingJson(String player1, String player2) {
        return "{'winCondition':'HIGH_SCORE',"
            + "'name':'Bowling',"
            + "'round':4,"
            + "'lastSaved':1367702411696,"
            + "'dateStarted':1367702378785,"
            + "'players':["
            + "{'name':'" + player1 + "','history':[10,8,6,7,8],'color':-13388315,'total':39},"
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

     * converter.reverse().convert(converter.convert(a)).equals(a)} is always true). However, it is very
     * common (perhaps <i>more</i> common) for round-trip conversion to be <i>lossy</i>. Consider an
     * example round-trip using {@link com.google.common.primitives.Doubles#stringConverter}:
     *
     * <ol>
     *   <li>{@code stringConverter().convert("1.00")} returns the {@code Double} value {@code 1.0}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

                                ioff += maxChunkSize;
                            }
    
                            if ( dfd == null || !dfd.isValid() ) {
                                // don't reopen the file for every round if it's not necessary, keep the lock
                                dfd = openCopyTargetFile(dest, src.getAttributes(), !write);
                            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/MathTesting.java

          }
          for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
            double x = d + delta;
            if (x != Math.round(x)) {
              fractionalBuilder.add(x);
            }
          }
        }
        INTEGRAL_DOUBLE_CANDIDATES = integralBuilder.build();
        fractionalBuilder.add(1.414).add(1.415).add(Math.sqrt(2));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/IntMathTest.java

        BigInteger bigX = BigInteger.valueOf(x);
        BigInteger bigY = BigInteger.valueOf(y);
        BigDecimal bigMean =
            new BigDecimal(bigX.add(bigY)).divide(BigDecimal.valueOf(2), BigDecimal.ROUND_FLOOR);
        // parseInt blows up on overflow as opposed to intValue() which does not.
        return Integer.parseInt(bigMean.toString());
      }
    
      private static boolean fitsInInt(BigInteger big) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
Back to top