Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 284 for arrayCopy (0.74 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

                    System.arraycopy(setupBuffer, 0, dst, dstIndex, setupBuffer.length);
                }
                return setupWireFormatReturn;
            }
    
            @Override
            protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
                if (parametersBuffer != null && parametersBuffer.length > 0) {
                    System.arraycopy(parametersBuffer, 0, dst, dstIndex, parametersBuffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableList.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkElementIndex;
    import static java.lang.System.arraycopy;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            final int start = dstIndex;
    
            if (blob != null) {
                System.arraycopy(blob, 0, dst, dstIndex, blob.length);
                dstIndex += blob.length;
            } else {
                System.arraycopy(lmHash, 0, dst, dstIndex, lmHash.length);
                dstIndex += lmHash.length;
                System.arraycopy(ntHash, 0, dst, dstIndex, ntHash.length);
                dstIndex += ntHash.length;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        }
      }
    
      private static Short[] concat(Short[] left, Short[] right) {
        Short[] result = new Short[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
      public abstract static class TestShortListGenerator implements TestListGenerator<Short> {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

        }
      }
    
      private static Long[] concat(Long[] left, Long[] right) {
        Long[] result = new Long[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
      public abstract static class TestLongListGenerator implements TestListGenerator<Long> {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java

        }
      }
    
      private static Short[] concat(Short[] left, Short[] right) {
        Short[] result = new Short[left.length + right.length];
        System.arraycopy(left, 0, result, 0, left.length);
        System.arraycopy(right, 0, result, left.length, right.length);
        return result;
      }
    
      public abstract static class TestShortListGenerator implements TestListGenerator<Short> {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            srcIndex++;
            // gotta read the mac first so we can populate addressArray with it
            System.arraycopy(src, srcIndex + namesLength, macAddress, 0, 6);
            srcIndex += readNodeNameArray(src, srcIndex);
            stats = new byte[statsLength];
            System.arraycopy(src, srcIndex, stats, 0, statsLength);
            srcIndex += statsLength;
            return srcIndex - start;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
            SMBUtil.writeInt4(numberOfMessages, buffer, bufferIndex + 8);
            SMBUtil.writeInt4(messageLength, buffer, bufferIndex + 12);
            System.arraycopy(testData, 0, buffer, bufferIndex + 16, testData.length);
    
            // Decode
            int bytesDecoded = response.decode(buffer, bufferIndex, buffer.length);
    
            // Verify results
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

         * The header is prepared as a synchronous response with server-to-redirector flag.
         */
        private void buildHeader(byte[] buf, int start, int status, int command, long sessionId) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, buf, start, SMBUtil.SMB2_HEADER.length);
            // Status at +8
            SMBUtil.writeInt4(status, buf, start + 8);
            // Command at +12
            SMBUtil.writeInt2(command, buf, start + 12);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write file ID (16 bytes)
            System.arraycopy(fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            return dstIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top