Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 195 for arrayCopy (0.23 sec)

  1. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 6K bytes
    - Viewed (0)
  2. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  3. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/RegularImmutableSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.lang.System.arraycopy;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java

            int start = dstIndex;
            SMBUtil.writeInt2(this.maxReferralLevel, dst, dstIndex);
            dstIndex += 2;
            byte[] pathBytes = this.path.getBytes(StandardCharsets.UTF_16LE);
            System.arraycopy(pathBytes, 0, dst, dstIndex, pathBytes.length);
            dstIndex += pathBytes.length;
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2; // null terminator
            return dstIndex - start;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            if ( len > this.outputBuffer.length ) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
        }
    
    
        @Override
        public String toString () {
            return new String("TransCallNamedPipeResponse[" + super.toString() + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                System.arraycopy( password, 0, dst, dstIndex, passwordLength );
                dstIndex += passwordLength;
            } else {
                // no password in tree connect
                dst[dstIndex++] = (byte)0x00;
            }
            dstIndex += writeString( path, dst, dstIndex );
            try {
                System.arraycopy( service.getBytes( "ASCII" ), 0, dst, dstIndex, service.length() );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  10. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 30 10:47:31 UTC 2018
    - 19.9K bytes
    - Viewed (0)
Back to top