Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 194 for arraycopy (0.2 sec)

  1. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        Object[] array = new Object[paramCount + others.length];
        arrayCopy(array, 0, e1, e2, e3, e4, e5, e6, e7, e8, e9, e10, e11, e12);
        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);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

                System.arraycopy( buffer, bufferIndex, txn_buf,
                                bufParameterStart + parameterDisplacement, parameterCount );
                bufferIndex += parameterCount;
            }
            if( dataCount > 0 ) {
                bufferIndex += pad1 = dataOffset - ( bufferIndex - headerStart );
                System.arraycopy( buffer, bufferIndex, txn_buf,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponse.java

            bufferIndex += 4;
            this.messageLength = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.data = new byte[len - 16];
            if ( this.data.length > 0 ) {
                System.arraycopy(buffer, bufferIndex, this.data, 0, this.data.length);
            }
            return bufferIndex - start;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

            MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(seqBytes); // sequence
            mac.update(data); // data
            byte[] dgst = mac.digest();
            byte[] trunc = new byte[8];
            System.arraycopy(dgst, 0, trunc, 0, 8);
    
            if ( log.isDebugEnabled() ) {
                log.debug("Digest " + Hexdump.toHexString(dgst));
                log.debug("Truncated " + Hexdump.toHexString(trunc));
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacDataInputStream.java

            byte[] sidBytes = new byte[8 + bytes.length];
            sidBytes[ 0 ] = 1;
            sidBytes[ 1 ] = (byte) ( bytes.length / 4 );
            System.arraycopy(new byte[] {
                0, 0, 0, 0, 0, 5
            }, 0, sidBytes, 2, 6);
            System.arraycopy(bytes, 0, sidBytes, 8, bytes.length);
    
            return new SID(sidBytes, 0);
        }
    
    
        public SID readSid () throws IOException, PACDecodingException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

            numberOfNames = src[srcIndex++] & 0xFF;
            // 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;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/FloatArrayAsListTest.java

        }
      }
    
      private static Float[] concat(Float[] left, Float[] right) {
        Float[] result = new Float[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 TestFloatListGenerator implements TestListGenerator<Float> {
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

            int start = dstIndex;
            SMBUtil.writeInt2(24, dst, dstIndex);
            dstIndex += 2;
            dstIndex += 2; // Reserved1
            dstIndex += 4; // Reserved2
    
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

            int start = bufferIndex;
            if ( len < 24 ) {
                throw new SMBProtocolDecodingException("Invalid resume key");
            }
    
            this.resumeKey = new byte[24];
            System.arraycopy(buffer, bufferIndex, this.resumeKey, 0, 24);
            bufferIndex += 24;
    
            SMBUtil.readInt4(buffer, bufferIndex); // contextLength - reserved
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.8K bytes
    - Viewed (0)
Back to top