Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. android/guava/src/com/google/common/escape/CharEscaper.java

          if (destSize < sizeNeeded) {
            destSize = sizeNeeded + DEST_PAD_MULTIPLIER * (slen - index);
            dest = growBuffer(dest, destIndex, destSize);
          }
    
          // If we have skipped any characters, we need to copy them now.
          if (charsSkipped > 0) {
            s.getChars(lastEscape, 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
    - 6.7K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/escape/Platform.java

        return requireNonNull(DEST_TL.get());
      }
    
      /**
       * A thread-local destination buffer to keep us from creating new buffers. The starting size is
       * 1024 characters. If we grow past this we don't put it back in the threadlocal, we just keep
       * going and grow as needed.
       */
      private static final ThreadLocal<char[]> DEST_TL =
          new ThreadLocal<char[]>() {
            @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/net/HttpHeaders.java

       */
      public static final String SEC_CH_DPR = "Sec-CH-DPR";
      /**
       * The HTTP <a href="https://w3c.github.io/webappsec-fetch-metadata/">{@code Sec-Fetch-Dest}</a>
       * header field name.
       *
       * @since 27.1
       */
      public static final String SEC_FETCH_DEST = "Sec-Fetch-Dest";
      /**
       * The HTTP <a href="https://w3c.github.io/webappsec-fetch-metadata/">{@code Sec-Fetch-Mode}</a>
       * header field name.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  10. 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)
Back to top