- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 94 for len (0.12 sec)
-
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
} @Override public void readFully(byte[] b) throws IOException { ByteStreams.readFully(this, b); } @Override public void readFully(byte[] b, int off, int len) throws IOException { ByteStreams.readFully(this, b, off, len); } @Override public int skipBytes(int n) throws IOException { return (int) in.skip(n); } @CanIgnoreReturnValue // to skip a byte @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 7.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Floats.java
if (collection instanceof FloatArrayAsList) { return ((FloatArrayAsList) collection).toFloatArray(); } Object[] boxedArray = collection.toArray(); int len = boxedArray.length; float[] array = new float[len]; for (int i = 0; i < len; i++) { // checkNotNull for GWT (do not optimize) array[i] = ((Number) checkNotNull(boxedArray[i])).floatValue(); } return array; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 25.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Doubles.java
return ((DoubleArrayAsList) collection).toDoubleArray(); } Object[] boxedArray = collection.toArray(); int len = boxedArray.length; double[] array = new double[len]; for (int i = 0; i < len; i++) { // checkNotNull for GWT (do not optimize) array[i] = ((Number) checkNotNull(boxedArray[i])).doubleValue(); } return array; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 27.1K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
checkElementsNotNull(array); Arrays.sort(array, comparator); return asImmutableList(array); } private static <E> List<E> nullCheckedList(Object... array) { for (int i = 0, len = array.length; i < len; i++) { if (array[i] == null) { throw new NullPointerException("at index " + i); } } @SuppressWarnings("unchecked") E[] castedArray = (E[]) array;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 27 19:19:19 GMT 2024 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
if (collection instanceof IntArrayAsList) { return ((IntArrayAsList) collection).toIntArray(); } Object[] boxedArray = collection.toArray(); int len = boxedArray.length; int[] array = new int[len]; for (int i = 0; i < len; i++) { // checkNotNull for GWT (do not optimize) array[i] = ((Number) checkNotNull(boxedArray[i])).intValue(); } return array; } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 29.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[]) * Array.newInstance(type, len))}. * * @param type the type of the elements * @return a newly-allocated array into which all the elements of this fluent iterable have been * copied */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 35.3K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
@Override public HashCode hashBytes(byte[] input, int off, int len) { checkPositionIndexes(off, off + len, input.length); int h1 = seed; int i; for (i = 0; i + CHUNK_SIZE <= len; i += CHUNK_SIZE) { int k1 = mixK1(getIntLittleEndian(input, off + i)); h1 = mixH1(h1, k1); } int k1 = 0; for (int shift = 0; i < len; i++, shift += 8) { k1 ^= toInt(input[off + i]) << shift; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
* {@code bytes[off + len - 1]} is the last. * * @param bytes a byte array * @param off the start offset in the array * @param len the number of bytes to write * @return this instance * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or * {@code len < 0} */ @CanIgnoreReturnValue
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineBuffer.java
* * @param cbuf the character buffer to process * @param off the offset into the buffer * @param len the number of characters to process * @throws IOException if an I/O error occurs * @see #finish */ protected void add(char[] cbuf, int off, int len) throws IOException { int pos = off; if (sawReturn && len > 0) { // Last call to add ended with a CR; we can handle the line now.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CountingOutputStream.java
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 28 20:13:02 GMT 2023 - 2K bytes - Viewed (0)