Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for dest (0.13 sec)

  1. android/guava/src/com/google/common/net/PercentEscaper.java

          dest[3] = '%';
          dest[6] = '%';
          dest[8] = UPPER_HEX_DIGITS[cp & 0xF];
          cp >>>= 4;
          dest[7] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)];
          cp >>>= 2;
          dest[5] = UPPER_HEX_DIGITS[cp & 0xF];
          cp >>>= 4;
          dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)];
          cp >>>= 2;
          dest[2] = UPPER_HEX_DIGITS[cp];
          return dest;
        } else if (cp <= 0x10ffff) {
          char[] dest = new char[12];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testIntWriteBytesTo() {
        byte[] dest = new byte[4];
        HashCode.fromInt(42).writeBytesTo(dest, 0, 4);
        assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest));
      }
    
      public void testLongWriteBytesTo() {
        byte[] dest = new byte[8];
        HashCode.fromLong(42).writeBytesTo(dest, 0, 8);
        assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

       * previously at {@code src} has already been removed from the data structures.
       */
      private void moveEntryToIndex(int src, int dest) {
        if (src == dest) {
          return;
        }
        int predecessor = prevInInsertionOrder[src];
        int successor = nextInInsertionOrder[src];
        setSucceeds(predecessor, dest);
        setSucceeds(dest, successor);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

      public void testIntWriteBytesTo() {
        byte[] dest = new byte[4];
        HashCode.fromInt(42).writeBytesTo(dest, 0, 4);
        assertTrue(Arrays.equals(HashCode.fromInt(42).asBytes(), dest));
      }
    
      public void testLongWriteBytesTo() {
        byte[] dest = new byte[8];
        HashCode.fromLong(42).writeBytesTo(dest, 0, 8);
        assertTrue(Arrays.equals(HashCode.fromLong(42).asBytes(), dest));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/UnicodeEscaper.java

            if (dest.length < sizeNeeded) {
              int destLength = sizeNeeded + (end - index) + DEST_PAD;
              dest = growBuffer(dest, destIndex, destLength);
            }
            // If we have skipped any characters, we need to copy them now.
            if (charsSkipped > 0) {
              s.getChars(unescapedChunkStart, index, dest, destIndex);
              destIndex += charsSkipped;
            }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 13.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/HashCode.java

      /**
       * Copies bytes from this hash code into {@code dest}.
       *
       * @param dest the byte array into which the hash code will be written
       * @param offset the start offset in the data
       * @param maxLength the maximum number of bytes to write
       * @return the number of bytes written to {@code dest}
       * @throws IndexOutOfBoundsException if there is not enough room in {@code dest}
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        arrayCopy(array, paramCount, others);
        return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(array));
      }
    
      private static void arrayCopy(Object[] dest, int pos, Object... source) {
        System.arraycopy(source, 0, dest, pos, source.length);
      }
    
      /** ImmutableList.of API that is friendly to use from JavaScript. */
      @JsMethod(name = "of")
      static <E> ImmutableList<E> jsOf(E... elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

          M invertFrom(Multimap<? extends V, ? extends K> source, M dest) {
        checkNotNull(dest);
        for (Map.Entry<? extends V, ? extends K> entry : source.entries()) {
          dest.put(entry.getValue(), entry.getKey());
        }
        return dest;
      }
    
      /**
       * Returns a synchronized (thread-safe) multimap backed by the specified multimap. In order to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

          ByteSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) {
        TestSuite suite = new TestSuite(name + " [" + desc + "]");
        for (Method method : testMethods) {
          suite.addTest(new ByteSourceTester(factory, bytes, name, desc, method));
        }
    
        if (slice && bytes.length > 0) {
          // test a random slice() of the ByteSource
          Random random = new Random();
          byte[] expected = factory.getExpected(bytes);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  10. CONTRIBUTING.md

    API changes
    -----------
    
    We make changes to Guava's public [APIs][], including adding new APIs, very
    carefully. Because of this, if you're interested in seeing a new feature in
    Guava, the best approach is to create an [issue][] (or comment on an existing
    issue if there is one) requesting the feature and describing specific use cases
    for it.
    
    If the feature has merit, it will go through a thorough process of API design
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top