- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for Seek (0.22 sec)
-
src/main/java/jcifs/SmbRandomAccess.java
/** * Current position in file * * @return current position */ long getFilePointer (); /** * Seek to new position * * @param pos */ void seek ( long pos ); /** * Get the current file length * * @return file length * @throws SmbException */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "r") ) { raf.seek(10); Assert.assertEquals(-1, raf.read()); } byte[] buf = new byte[4]; try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "r") ) { raf.seek(6); Assert.assertEquals(2, raf.read(buf));
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeek.java
* */ public class SmbComSeek extends ServerMessageBlock { /** * @param config * @param fid */ public SmbComSeek ( Configuration config, int fid ) { super(config, SMB_COM_SEEK); this.fid = fid; } private int fid; private int mode; private long offset; /** * @param fid * the fid to set */
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
off += write_andx_resp.count; } while( len > 0 ); } public long getFilePointer() throws SmbException { return fp; } public void seek( long pos ) throws SmbException { fp = pos; } public long length() throws SmbException { return file.length(); } public void setLength( long newLength ) throws SmbException {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
throw SmbException.wrap(e); } } @Override public long getFilePointer () { return this.fp; } @Override public void seek ( long pos ) { this.fp = pos; } @Override public long length () throws SmbException { return this.file.length(); } @Override
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Wed Jan 08 12:01:33 GMT 2020 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * */ public static final byte SMB_COM_CHECK_DIRECTORY = (byte) 0x10; /** * */ public static final byte SMB_COM_SEEK = (byte) 0x12; /** * */ public static final byte SMB_COM_LOCKING_ANDX = (byte) 0x24; /** * */ public static final byte SMB_COM_TRANSACTION = (byte) 0x25;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 32.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
@CollectionSize.Require(ZERO) public void testPeek_empty() { assertNull("emptyQueue.peek() should return null", getQueue().peek()); expectUnchanged(); } @CollectionSize.Require(ONE) public void testPeek_size1() { assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
} }; assertEquals(0, (int) iter.peek()); assertEquals(0, (int) iter.peek()); assertTrue(iter.hasNext()); assertEquals(0, (int) iter.peek()); assertEquals(0, (int) iter.next()); assertEquals(1, (int) iter.peek()); assertEquals(1, (int) iter.next()); try { iter.peek(); fail("peek() should throw NoSuchElementException at end");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 8.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePeekTester.java
@CollectionSize.Require(ZERO) public void testPeek_empty() { assertNull("emptyQueue.peek() should return null", getQueue().peek()); expectUnchanged(); } @CollectionSize.Require(ONE) public void testPeek_size1() { assertEquals("size1Queue.peek() should return first element", e0(), getQueue().peek()); expectUnchanged(); } @CollectionFeature.Require(KNOWN_ORDER)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Jan 09 20:10:38 GMT 2018 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingQueue.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 29 19:42:21 GMT 2021 - 4.1K bytes - Viewed (0)