Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 27 of 27 for O_RDONLY (0.27 seconds)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            this.file = file;
            if (mode.equals("r")) {
                this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDONLY;
            } else if (mode.equals("rw")) {
                this.openFlags = SmbFile.O_CREAT | SmbFile.O_RDWR | SmbFile.O_APPEND;
                write_andx_resp = new SmbComWriteAndXResponse();
                options = WRITE_OPTIONS;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x40, SmbConstants.TYPE_COMM);
        }
    
        @Test
        @DisplayName("Should define open flags constants")
        void testOpenFlagsConstants() {
            assertEquals(0x01, SmbConstants.O_RDONLY);
            assertEquals(0x02, SmbConstants.O_WRONLY);
            assertEquals(0x03, SmbConstants.O_RDWR);
            assertEquals(0x04, SmbConstants.O_APPEND);
            assertEquals(0x0010, SmbConstants.O_CREAT);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         * @throws UnknownHostException if the server cannot be resolved
         */
    
        public SmbFileInputStream(final SmbFile file) throws SmbException, MalformedURLException, UnknownHostException {
            this(file, SmbFile.O_RDONLY);
        }
    
        SmbFileInputStream(final SmbFile file, final int openFlags) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.openFlags = openFlags & 0xFFFF;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. misc/ios/go_ios_exec.go

    	// The lock file is never deleted, to avoid concurrent locks on distinct
    	// files with the same path.
    	lockName := filepath.Join(os.TempDir(), "go_ios_exec-"+deviceID+".lock")
    	lock, err = os.OpenFile(lockName, os.O_CREATE|os.O_RDONLY, 0666)
    	if err != nil {
    		return 1, err
    	}
    	if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil {
    		return 1, err
    	}
    
    	err = runOnSimulator(appdir)
    	if err != nil {
    		return 1, err
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Sep 16 00:34:45 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            this.unsharedFile = unsharedFile;
    
            try (SmbTreeHandleInternal th = this.file.ensureTreeConnected()) {
                if (mode.equals("r")) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDONLY;
                    this.access = SmbConstants.FILE_READ_DATA;
                } else if (mode.equals("rw")) {
                    this.openFlags = SmbConstants.O_CREAT | SmbConstants.O_RDWR | SmbConstants.O_APPEND;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. api/go1.txt

    pkg os, const ModeSymlink FileMode
    pkg os, const ModeTemporary FileMode
    pkg os, const ModeType FileMode
    pkg os, const O_APPEND int
    pkg os, const O_CREATE int
    pkg os, const O_EXCL int
    pkg os, const O_RDONLY int
    pkg os, const O_RDWR int
    pkg os, const O_SYNC int
    pkg os, const O_TRUNC int
    pkg os, const O_WRONLY int
    pkg os, const PathListSeparator ideal-char
    pkg os, const PathSeparator ideal-char
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  7. api/go1.1.txt

    pkg os, const ModeSocket = 16777216
    pkg os, const ModeSticky = 1048576
    pkg os, const ModeSymlink = 134217728
    pkg os, const ModeTemporary = 268435456
    pkg os, const ModeType = 2399141888
    pkg os, const O_RDONLY = 0
    pkg os, const O_RDWR = 2
    pkg os, const O_WRONLY = 1
    pkg os, const SEEK_CUR = 1
    pkg os, const SEEK_END = 2
    pkg os, const SEEK_SET = 0
    pkg os, method (FileMode) IsRegular() bool
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Click Count (0)
Back to Top