Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for openPipe (0.14 sec)

  1. src/test/java/jcifs/tests/ReadWriteTest.java

                  SmbNamedPipe t = new SmbNamedPipe(getFifoPipeUrl(), SmbPipeResource.PIPE_TYPE_RDONLY, withTestNTLMCredentials(getContext())) ) {
                try ( SmbPipeHandle sp = s.openPipe();
                      SmbPipeHandle tp = t.openPipe() ) {
                    try ( OutputStream os = sp.getOutput() ) {
                        writeRandom(1024, 1024, os);
                    }
                    try ( InputStream is = tp.getInput() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K 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 () {
            DcerpcBinding binding = getBinding();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  5. src/cmd/go/internal/lockedfile/lockedfile_plan9.go

    // manipulate already-open files, IsLocked is still meaningful: os.OpenFile
    // itself may return errors that indicate that a file with the ModeExclusive bit
    // set is already open.
    func isLocked(err error) bool {
    	s := err.Error()
    
    	for _, frag := range lockedErrStrings {
    		if strings.Contains(s, frag) {
    			return true
    		}
    	}
    
    	return false
    }
    
    func openFile(name string, flag int, perm fs.FileMode) (*os.File, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. test/fixedbugs/issue6405.go

    // license that can be found in the LICENSE file.
    
    // Issue 6405: spurious 'not enough arguments to return' error
    
    package p
    
    func Open() (int, error) {
    	return OpenFile() // ERROR "undefined: OpenFile"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 14 15:42:42 UTC 2014
    - 329 bytes
    - Viewed (0)
  7. internal/lock/lock_solaris.go

    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.F_SETLKW)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. pkg/kubelet/container/os.go

    }
    
    // Open will call os.Open to return the file.
    func (RealOS) Open(name string) (*os.File, error) {
    	return os.Open(name)
    }
    
    // OpenFile will call os.OpenFile to return the file.
    func (RealOS) OpenFile(name string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(name, flag, perm)
    }
    
    // Rename will call os.Rename to rename a file.
    func (RealOS) Rename(oldpath, newpath string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/lockedfile/lockedfile_filelock.go

    )
    
    func openFile(name string, flag int, perm fs.FileMode) (*os.File, error) {
    	// On BSD systems, we could add the O_SHLOCK or O_EXLOCK flag to the OpenFile
    	// call instead of locking separately, but we have to support separate locking
    	// calls for Linux and Windows anyway, so it's simpler to use that approach
    	// consistently.
    
    	f, err := os.OpenFile(name, flag&^os.O_TRUNC, perm)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  10. internal/lock/lock_nix.go

    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, 0)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
Back to top