Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for rowEnd (0.17 sec)

  1. android/guava/src/com/google/common/io/CharSource.java

       *
       * <p>If {@link ByteSource#asCharSource} is called on the returned source with the same charset,
       * the default implementation of this method will ensure that the original {@code CharSource} is
       * returned, rather than round-trip encoding. Subclasses that override this method should behave
       * the same way.
       *
       * @since 20.0
       */
      public ByteSource asByteSource(Charset charset) {
        return new AsByteSource(charset);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

      }
    
      /** Resizes the entries storage if necessary. */
      private void resizeMeMaybe(int newSize) {
        int entriesSize = requireEntries().length;
        if (newSize > entriesSize) {
          // 1.5x but round up to nearest odd (this is optimal for memory consumption on Android)
          int newCapacity =
              Math.min(CompactHashing.MAX_SIZE, (entriesSize + Math.max(1, entriesSize >>> 1)) | 1);
          if (newCapacity != entriesSize) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/GeneralRange.java

        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteSource.java

       *
       * <p>If {@link CharSource#asByteSource} is called on the returned source with the same charset,
       * the default implementation of this method will ensure that the original {@code ByteSource} is
       * returned, rather than round-trip encoding. Subclasses that override this method should behave
       * the same way.
       */
      public CharSource asCharSource(Charset charset) {
        return new AsCharSource(charset);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/Utf8Test.java

              // Four byte characters
              FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
      public void testIsWellFormed_1Byte() {
        testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharStreams.java

       * close or flush the reader.
       *
       * <p>This is identical to {@link #copy(Readable, Appendable)} but optimized for these specific
       * types. CharBuffer has poor performance when being written into or read out of so round tripping
       * all the bytes through the buffer takes a long time. With these specialized types we can just
       * use a char array.
       *
       * @param from the object to read from
       * @param to the object to write to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Splitter.java

     *
     * <p>Splitter instances are thread-safe immutable, and are therefore safe to store as {@code static
     * final} constants.
     *
     * <p>The {@link Joiner} class provides the inverse operation to splitting, but note that a
     * round-trip between the two should be assumed to be lossy.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/StringsExplained#splitter">{@code Splitter}</a>.
     *
     * @author Julien Silland
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/LongMathTest.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 Long.parseLong(bigMean.toString());
      }
    
      private static boolean fitsInLong(BigInteger big) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/GeneralRange.java

        if (hasLowBound && hasUpBound) {
          int cmp = comparator.compare(lowEnd, upEnd);
          if (cmp > 0 || (cmp == 0 && lowType == OPEN && upType == OPEN)) {
            // force allowed empty range
            lowEnd = upEnd;
            lowType = OPEN;
            upType = CLOSED;
          }
        }
    
        return new GeneralRange<>(comparator, hasLowBound, lowEnd, lowType, hasUpBound, upEnd, upType);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    one finger; and the whole party at once crowded round her,
    calling out in a confused way, `Prizes! Prizes!'
    
      Alice had no idea what to do, and in despair she put her hand
    in her pocket, and pulled out a box of comfits, (luckily the salt
    water had not got into it), and handed them round as prizes.
    There was exactly one a-piece all round.
    
      `But she must have a prize herself, you know,' said the Mouse.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top