Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for ArrayCopy (0.17 sec)

  1. 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 {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

            dst[ dstIndex + 3 ] = this.queryFlags;
            dstIndex += 4;
            SMBUtil.writeInt4(this.fileIndex, dst, dstIndex);
            dstIndex += 4;
            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            int fnOffsetOffset = dstIndex;
            int fnLengthOffset = dstIndex + 2;
            dstIndex += 4;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        static byte[] readSecurityBuffer ( byte[] src, int index ) {
            int length = readUShort(src, index);
            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
    
        static void writeULong ( byte[] dest, int offset, int ulong ) {
            dest[ offset ] = (byte) ( ulong & 0xff );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/ByteEncodable.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            System.arraycopy(this.bytes, this.off, dst, dstIndex, this.len);
            return this.len;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/extensibility/ExtensibleDynamicObject.java

                delegates[idx++] = parent;
            }
            DynamicObject[] objects = new DynamicObject[idx];
            System.arraycopy(delegates, 0, objects, 0, idx);
            setObjects(objects);
    
            if (addedParent) {
                idx--;
                objects = new DynamicObject[idx];
                System.arraycopy(delegates, 0, objects, 0, idx);
                setObjectsForUpdate(objects);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            if ( bc > 0 ) {
                this.errorData = new byte[bc];
                System.arraycopy(buffer, bufferIndex, this.errorData, 0, bc);
                bufferIndex += bc;
            }
            return bufferIndex - start;
        }
    
    
        protected int writeHeaderWireFormat ( byte[] dst, int dstIndex ) {
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, dst, dstIndex, SMBUtil.SMB2_HEADER.length);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            int start = bufferIndex;
    
            if ( ( this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY ) == 0 ) {
                this.server.encryptionKey = new byte[this.server.encryptionKeyLength];
                System.arraycopy(buffer, bufferIndex, this.server.encryptionKey, 0, this.server.encryptionKeyLength);
                bufferIndex += this.server.encryptionKeyLength;
                if ( this.byteCount > this.server.encryptionKeyLength ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

        }
      }
    
      private static Integer[] concat(Integer[] left, Integer[] right) {
        Integer[] result = new Integer[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 TestIntegerListGenerator implements TestListGenerator<Integer> {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                if ( isExternalAuth(pwAuth) ) {
                    dst[ dstIndex++ ] = (byte) 0x00;
                }
                else {
                    System.arraycopy(this.password, 0, dst, dstIndex, this.passwordLength);
                    dstIndex += this.passwordLength;
                }
            }
            else {
                // no password in tree connect
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
Back to top