Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 308 for fits (0.09 sec)

  1. guava/src/com/google/common/hash/Crc32cHashFunction.java

     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class Crc32cHashFunction extends AbstractHashFunction {
      static final HashFunction CRC_32_C = new Crc32cHashFunction();
    
      @Override
      public int bits() {
        return 32;
      }
    
      @Override
      public Hasher newHasher() {
        return new Crc32cHasher();
      }
    
      @Override
      public String toString() {
        return "Hashing.crc32c()";
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 21.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      // okay since we have to copy the just-created array anyway.
      public static ImmutableLongArray of(long first, long... rest) {
        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
        long[] array = new long[rest.length + 1];
        array[0] = first;
        System.arraycopy(rest, 0, array, 1, rest.length);
        return new ImmutableLongArray(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

      // okay since we have to copy the just-created array anyway.
      public static ImmutableIntArray of(int first, int... rest) {
        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
        int[] array = new int[rest.length + 1];
        array[0] = first;
        System.arraycopy(rest, 0, array, 1, rest.length);
        return new ImmutableIntArray(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Chars.java

       * @param arrays zero or more {@code char} arrays
       * @return a single array containing all the values from the source arrays, in order
       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static char[] concat(char[]... arrays) {
        long length = 0;
        for (char[] array : arrays) {
          length += array.length;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Floats.java

       * @param arrays zero or more {@code float} arrays
       * @return a single array containing all the values from the source arrays, in order
       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static float[] concat(float[]... arrays) {
        long length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Floats.java

       * @param arrays zero or more {@code float} arrays
       * @return a single array containing all the values from the source arrays, in order
       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
       *     in an {@code int}
       */
      public static float[] concat(float[]... arrays) {
        long length = 0;
        for (float[] array : arrays) {
          length += array.length;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/net/InetAddressesTest.java

                "0:1:2:3::4:5:6:7", // :: must remove at least one 0.
                "3ffe:0:0:0:0:0:0:0:1", // too many parts (9 instead of 8)
                "3ffe::10000", // hextet exceeds 16 bits
                "3ffe::goog",
                "3ffe::-0",
                "3ffe::+0",
                "3ffe::-1",
                ":",
                ":::",
                "::1.2.3",
                "::1.2.3.4.5",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Striped.java

          return MoreObjects.firstNonNull(existing, created);
        }
    
        @Override
        public int size() {
          return size;
        }
      }
    
      /** A bit mask were all bits are set. */
      private static final int ALL_SET = ~0;
    
      private static int ceilToPowerOfTwo(int x) {
        return 1 << IntMath.log2(x, RoundingMode.CEILING);
      }
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. impl/maven-core/plugin-manager.txt

    // 3 the component model -> interfaces for the plugin
    
    // The plugin manager should load up a directory structure of plugins.
    // - a plugin per directory where the plugin is present with its deps
    // - a plugin that has its dependencies packaged up with it
    // - implement filters and create a test where a plugin fails if the right classes are not filtered
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteStreams.java

          byte[] buf = new byte[min(bufSize, MAX_ARRAY_LEN - totalLen)];
          bufs.add(buf);
          int off = 0;
          while (off < buf.length) {
            // always OK to fill buf; its size plus the rest of bufs is never more than MAX_ARRAY_LEN
            int r = in.read(buf, off, buf.length - off);
            if (r == -1) {
              return combineBuffers(bufs, totalLen);
            }
            off += r;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top