- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for srcIndex (0.12 sec)
-
src/main/java/jcifs/netbios/NodeStatusResponse.java
for ( int i = 0; i < this.numberOfNames; srcIndex += 18, i++ ) { for ( j = srcIndex + 14; src[ j ] == 0x20; j-- ); n = Strings.fromOEMBytes(src, srcIndex, j - srcIndex + 1, this.config); hexCode = src[ srcIndex + 15 ] & 0xFF; groupName = ( ( src[ srcIndex + 16 ] & 0x80 ) == 0x80 ) ? true : false; ownerNodeType = ( src[ srcIndex + 16 ] & 0x60 ) >> 5;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
} static int readInt2( byte[] src, int srcIndex ) { return (( src[srcIndex] & 0xFF ) << 8 ) + ( src[srcIndex + 1] & 0xFF ); } static int readInt4( byte[] src, int srcIndex ) { return (( src[srcIndex] & 0xFF ) << 24 ) + (( src[srcIndex + 1] & 0xFF ) << 16 ) + (( src[srcIndex + 2] & 0xFF ) << 8 ) + ( src[srcIndex + 3] & 0xFF ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
} int readScopeWireFormat( byte[] src, int srcIndex ) { int start = srcIndex; int n; StringBuffer sb; if(( n = src[srcIndex++] & 0xFF ) == 0 ) { scope = null; return 1; } try { sb = new StringBuffer( new String( src, srcIndex, n, Name.OEM_ENCODING )); srcIndex += n;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameQueryResponse.java
} int readBodyWireFormat( byte[] src, int srcIndex ) { return readResourceRecordWireFormat( src, srcIndex ); } int writeRDataWireFormat( byte[] dst, int dstIndex ) { return 0; } int readRDataWireFormat( byte[] src, int srcIndex ) { if( resultCode != 0 || opCode != QUERY ) { return 0; } boolean groupName = (( src[srcIndex] & 0x80 ) == 0x80 ) ? true : false;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
} public static int readInt2 ( byte[] src, int srcIndex ) { return ( src[ srcIndex ] & 0xFF ) + ( ( src[ srcIndex + 1 ] & 0xFF ) << 8 ); } public static int readInt4 ( byte[] src, int srcIndex ) { return ( src[ srcIndex ] & 0xFF ) + ( ( src[ srcIndex + 1 ] & 0xFF ) << 8 ) + ( ( src[ srcIndex + 2 ] & 0xFF ) << 16 ) + ( ( src[ srcIndex + 3 ] & 0xFF ) << 24 ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
} static int readInt2 ( byte[] src, int srcIndex ) { return ( ( src[ srcIndex ] & 0xFF ) << 8 ) + ( src[ srcIndex + 1 ] & 0xFF ); } static int readInt4 ( byte[] src, int srcIndex ) { return ( ( src[ srcIndex ] & 0xFF ) << 24 ) + ( ( src[ srcIndex + 1 ] & 0xFF ) << 16 ) + ( ( src[ srcIndex + 2 ] & 0xFF ) << 8 ) + ( src[ srcIndex + 3 ] & 0xFF ); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameQueryResponse.java
boolean groupName = ( ( src[ srcIndex ] & 0x80 ) == 0x80 ) ? true : false; int nodeType = ( src[ srcIndex ] & 0x60 ) >> 5; srcIndex += 2; int address = readInt4(src, srcIndex); if ( address != 0 ) { this.addrEntry[ this.addrIndex ] = new NbtAddress(this.recordName, address, groupName, nodeType); } else { this.addrEntry[ this.addrIndex ] = null; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 2.2K bytes - Viewed (0) -
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; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java
questionName.hexCode = tmp; return result; } int readBodyWireFormat( byte[] src, int srcIndex ) { return 0; } int writeRDataWireFormat( byte[] dst, int dstIndex ) { return 0; } int readRDataWireFormat( byte[] src, int srcIndex ) { return 0; } public String toString() { return new String( "NodeStatusRequest[" +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
} } /** * @param src * @param srcIndex * @param len * @return decoded string */ public static String fromUNIBytes ( byte[] src, int srcIndex, int len ) { return new String(src, srcIndex, len, UNI_ENCODING); } /** * @param buffer * @param bufferIndex * @param maxLen
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0)