- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 139 for readInt2 (0.5 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java
int start = bufferIndex; isLoggedInAsGuest = ( buffer[bufferIndex] & 0x01 ) == 0x01 ? true : false; bufferIndex += 2; if (extendedSecurity) { int blobLength = readInt2(buffer, bufferIndex); bufferIndex += 2; blob = new byte[blobLength]; } return bufferIndex - start; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
} int decode( byte[] buf, int bi ) { allow = buf[bi++] == (byte)0x00; flags = buf[bi++] & 0xFF; int size = ServerMessageBlock.readInt2(buf, bi); bi += 2; access = ServerMessageBlock.readInt4(buf, bi); bi += 4; sid = new SID(buf, bi); return size; } void appendCol(StringBuffer sb, String str, int width) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.extFileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; int fileNameLength = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
} public short readShort () throws IOException { align(2); return Short.reverseBytes(this.dis.readShort()); } public int readInt () throws IOException { align(4); return Integer.reverseBytes(this.dis.readInt()); } public long readLong () throws IOException { align(8); return Long.reverseBytes(this.dis.readLong()); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Jul 21 21:19:58 UTC 2018 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
protected void setUp() throws Exception { file1 = File.createTempFile("kuromoji_", ".txt"); FileUtil.write( file1.getAbsolutePath(), "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3" .getBytes(Constants.UTF_8)); } @Override protected void tearDown() throws Exception { file1.delete(); } */
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
// Read total allocation units. this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // read caller available allocation units this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; // skip actual free units bufferIndex += 8; this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
assertThrows(IllegalStateException.class, () -> in.readInt()); } public void testNewDataInput_normal() { ByteArrayDataInput in = ByteStreams.newDataInput(bytes); assertEquals(0x12345678, in.readInt()); assertEquals(0x76543210, in.readInt()); assertThrows(IllegalStateException.class, () -> in.readInt()); } public void testNewDataInput_readFully() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 21.9K bytes - Viewed (0) -
guava/src/com/google/common/io/LittleEndianDataInputStream.java
* Reads an integer as specified by {@link DataInputStream#readInt()}, except using little-endian * byte order. * * @return the next four bytes of the input stream, interpreted as an {@code int} in little-endian * byte order * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue // to skip some bytes @Override public int readInt() throws IOException { byte b1 = readAndCheckByte();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvTimestamp.java
byte[] data = new byte[8]; SMBUtil.writeInt8(ts, data, 0); return data; } /** * @return the timestamp */ public long getTimestamp () { return SMBUtil.readInt8(getRaw(), 0); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
int start = bufferIndex; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.deletePending = ( buffer[ bufferIndex++ ] & 0xFF ) > 0;
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.3K bytes - Viewed (0)