- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 128 for ArrayCopy (0.36 sec)
-
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
new ByteProcessor<byte[]>() { int pos; @Override public boolean processBytes(byte[] buf, int off, int len) throws IOException { System.arraycopy(buf, off, processedBytes, pos, len); pos += len; return true; } @Override public byte[] getResult() { return processedBytes; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return Arrays.asList(contents).iterator(); } @Override public @Nullable Object[] toArray() { @Nullable Object[] result = new @Nullable Object[contents.length]; System.arraycopy(contents, 0, result, 0, contents.length); return result; } /* * a "type A" unmodifiable collection freaks out proactively, even if there * wasn't going to be any actual work to do anyway */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleSourceDetector.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/StreamByteBufferTest.groovy
given: def byteBuffer = new StreamByteBuffer(chunkSize) def byteArrayInputStream = new ByteArrayInputStream(testbuffer) byte[] testBufferPart = new byte[limit] System.arraycopy(testbuffer, 0, testBufferPart, 0, limit) when: byteBuffer.readFrom(byteArrayInputStream, limit) then: byteBuffer.totalBytesUnread() == limit
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 13:06:08 UTC 2024 - 13.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java
Action<? super T>[] newActions = Cast.uncheckedNonnullCast(new Action<?>[source.actions.length + 1]); newActions[0] = singleAction; System.arraycopy(source.actions, 0, newActions, 1, source.actions.length); return new SetWithFewActions<T>(newActions); } return plus(this, source); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
int internalArrayStart() { return 0; } @Override int internalArrayEnd() { return size; } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { System.arraycopy(elements, 0, dst, offset, size); return offset + size; } @Override ImmutableList<E> createAsList() { return ImmutableList.asImmutableList(elements, size); } @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 3.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
return Arrays.asList(contents).iterator(); } @Override public @Nullable Object[] toArray() { @Nullable Object[] result = new @Nullable Object[contents.length]; System.arraycopy(contents, 0, result, 0, contents.length); return result; } /* * a "type A" unmodifiable collection freaks out proactively, even if there * wasn't going to be any actual work to do anyway */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java
dstIndex += 4; SMBUtil.writeInt4(this.additionalInformation, dst, dstIndex); dstIndex += 4; SMBUtil.writeInt4(this.queryFlags, dst, dstIndex); dstIndex += 4; System.arraycopy(this.fileId, 0, dst, dstIndex, 16); dstIndex += 16; if ( this.inputBuffer == null ) { SMBUtil.writeInt2(0, dst, inBufferOffsetOffset);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Nov 14 10:41:31 UTC 2021 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
return 0; } @Override int internalArrayEnd() { return elements.length; } @Override int copyIntoArray(@Nullable Object[] dst, int offset) { System.arraycopy(elements, 0, dst, offset, elements.length); return offset + elements.length; } @Override ImmutableList<E> createAsList() { return (table.length == 0) ? ImmutableList.<E>of()
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 16.6K bytes - Viewed (0)