Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 195 for arraycopy (0.11 sec)

  1. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopy.java

        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            System.arraycopy(this.sourceKey, 0, dst, dstIndex, 24);
            dstIndex += 24;
    
            SMBUtil.writeInt4(this.chunks.length, dst, dstIndex);
            dstIndex += 4;
    
            dstIndex += 4; // Reserved
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateRequest.java

            for ( DialectVersion ver : dvs ) {
                this.dialects[ i ] = ver.getDialect();
                i++;
            }
    
            if ( config.getMaximumVersion().atLeast(DialectVersion.SMB210) ) {
                System.arraycopy(config.getMachineId(), 0, this.clientGuid, 0, this.clientGuid.length);
            }
    
            List<NegotiateContextRequest> negoContexts = new LinkedList<>();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ByteArrayAsListTest.java

        }
      }
    
      private static Byte[] concat(Byte[] left, Byte[] right) {
        Byte[] result = new Byte[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 TestByteListGenerator implements TestListGenerator<Byte> {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

            int start = bufferIndex;
    
            this.capabilities = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            System.arraycopy(buffer, bufferIndex, this.serverGuid, 0, 16);
            bufferIndex += 16;
    
            this.securityMode = SMBUtil.readInt2(buffer, bufferIndex);
            this.dialect = SMBUtil.readInt2(buffer, bufferIndex + 2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        }
    
    
        @Override
        protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) {
            int start = bufferIndex;
    
            if ( this.isExtendedSecurity() ) {
                System.arraycopy(buffer, bufferIndex, this.blob, 0, this.blob.length);
                bufferIndex += this.blob.length;
            }
    
            this.nativeOs = readString(buffer, bufferIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
    
            writeInt2( NET_SHARE_ENUM, dst, dstIndex );
            dstIndex += 2;
            System.arraycopy( descr, 0, dst, dstIndex, descr.length );
            dstIndex += descr.length;
            writeInt2( 0x0001, dst, dstIndex );
            dstIndex += 2;
            writeInt2( maxDataCount, dst, dstIndex );
            dstIndex += 2;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type3Message.java

                    setLMResponse(clientChallenge);
                    setNTResponse(ntlm2Response);
    
                    byte[] sessionNonce = new byte[16];
                    System.arraycopy(type2.getChallenge(), 0, sessionNonce, 0, 8);
                    System.arraycopy(clientChallenge, 0, sessionNonce, 8, 8);
    
                    MessageDigest md4 = Crypto.getMD4();
                    md4.update(passwordHash);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

            byte[] dialects;
            try {
                dialects = DIALECTS.getBytes( "ASCII" );
            } catch( UnsupportedEncodingException uee ) {
                return 0;
            }
            System.arraycopy( dialects, 0, dst, dstIndex, dialects.length );
            return dialects.length;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K 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;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
Back to top