Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for openUnshared (0.04 sec)

  1. src/main/java/jcifs/smb/SmbFileOutputStream.java

        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!isOpen()) {
                // one extra acquire to keep this open till the stream is released
                this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, 0).acquire();
                if (this.append) {
                    this.fp = this.handle.getInitialSize();
                    if (log.isDebugEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(tree.areSignaturesActive()).thenReturn(false);
            when(tree.isSMB2()).thenReturn(smb2);
    
            when(file.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(fh);
            when(fh.acquire()).thenReturn(fh);
            when(fh.isValid()).thenReturn(true);
            when(fh.getTree()).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top