Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 195 for arraycopy (0.18 sec)

  1. src/main/java/jcifs/netbios/NodeStatusResponse.java

            // gotta read the mac first so we can populate addressArray with it
            System.arraycopy(src, srcIndex + namesLength, this.macAddress, 0, 6);
            srcIndex += readNodeNameArray(src, srcIndex);
            this.stats = new byte[statsLength];
            System.arraycopy(src, srcIndex, this.stats, 0, statsLength);
            srcIndex += statsLength;
            return srcIndex - start;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Hexdump.java

                ci += 5;
                c[ci++] = ':';
                do {
                    if( si == length ) {
                        int n = 16 - s;
                        System.arraycopy( SPACE_CHARS, 0, c, ci, n * 3 );
                        ci += n * 3;
                        System.arraycopy( SPACE_CHARS, 0, d, s, n );
                        break;
                    }
                    c[ci++] = ' ';
                    i = src[srcIndex + si] & 0xFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                SMBUtil.writeInt4(this.signSequence, data, index);
                update(data, offset, length);
                System.arraycopy(digest(), 0, data, index, 8);
                if ( this.bypass ) {
                    this.bypass = false;
                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            }
            catch ( Exception ex ) {
                log.error("Signature failed", ex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacMac.java

            byte[] dk = deriveKeyAES(baseKey, cst); // Checksum key
            try {
                Mac m = Mac.getInstance("HmacSHA1");
                m.init(new SecretKeySpec(dk, HMAC_KEY));
                System.arraycopy(m.doFinal(input), 0, output, 0, 12);
                return output;
            }
            finally {
                Arrays.fill(dk, 0, dk.length, (byte) 0);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            if ( this.blob != null ) {
                System.arraycopy(this.blob, 0, dst, dstIndex, this.blob.length);
                dstIndex += this.blob.length;
            }
            else {
                System.arraycopy(this.lmHash, 0, dst, dstIndex, this.lmHash.length);
                dstIndex += this.lmHash.length;
                System.arraycopy(this.ntHash, 0, dst, dstIndex, this.ntHash.length);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.lang.System.arraycopy;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            int start = bufferIndex;
    
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == 0) {
                server.encryptionKey = new byte[server.encryptionKeyLength];
                System.arraycopy( buffer, bufferIndex,
                        server.encryptionKey, 0, server.encryptionKeyLength );
                bufferIndex += server.encryptionKeyLength;
                if( byteCount > server.encryptionKeyLength ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                    }
                    foundEnd = true;
                    break;
                }
    
                byte[] raw = new byte[avLen];
                System.arraycopy(data, pos, raw, 0, avLen);
                pairs.add(parseAvPair(avId, raw));
    
                pos += avLen;
            }
            if ( !foundEnd ) {
                throw new CIFSException("Missing AvEOL");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
Back to top