Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for openPipe (0.05 sec)

  1. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        }
    
        @Test
        @DisplayName("openPipe returns a handle bound to this pipe")
        void openPipeReturnsHandleBoundToPipe() throws Exception {
            // Arrange
            SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
            // Act
            SmbPipeHandle handle = pipe.openPipe();
    
            // Assert: observable handle behavior without network I/O
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbPipeResource.java

         *
         * @return the type of the pipe
         */
        int getPipeType();
    
        /**
         * Create a pipe handle
         *
         * @return pipe handle, needs to be closed when finished
         */
        SmbPipeHandle openPipe();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            super(tc, DcerpcHandle.parseBinding(url));
            this.pipe = new SmbNamedPipe(makePipeUrl(), pipeFlags, unshared, tc);
            this.handle = this.pipe.openPipe().unwrap(SmbPipeHandleInternal.class);
        }
    
        private String makePipeUrl() {
            final DcerpcBinding binding = getBinding();
            StringBuilder url =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbNamedPipe.java

        @Override
        public int getPipeType() {
            return this.pipeType;
        }
    
        /**
         * @return a handle for interacting with the pipe
         */
        @Override
        public SmbPipeHandle openPipe() {
            return new SmbPipeHandleImpl(this);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. cmd/os-instrumented.go

    	return RenameSys(src, dst)
    }
    
    // OpenFile captures time taken to call os.OpenFile
    func OpenFile(name string, flag int, perm os.FileMode) (f *os.File, err error) {
    	switch flag & writeMode {
    	case writeMode:
    		defer updateOSMetrics(osMetricOpenFileW, name)(err)
    	default:
    		defer updateOSMetrics(osMetricOpenFileR, name)(err)
    	}
    	return os.OpenFile(name, flag, perm)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top