Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 16 of 16 for O_TRUNC (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x04, SmbConstants.O_APPEND);
            assertEquals(0x0010, SmbConstants.O_CREAT);
            assertEquals(0x0020, SmbConstants.O_EXCL);
            assertEquals(0x0040, SmbConstants.O_TRUNC);
        }
    
        @Test
        @DisplayName("Should define copy/move flags constants")
        void testCopyMoveFlags() {
            assertEquals(0x0001, SmbConstants.FLAGS_TARGET_MUST_BE_FILE);
    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)
  2. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            this.access = openFlags >>> 16 & 0xFFFF;
            if (file.type != SmbFile.TYPE_NAMED_PIPE) {
                file.open(openFlags, access, SmbFile.ATTR_NORMAL, 0);
                this.openFlags &= ~(SmbFile.O_CREAT | SmbFile.O_TRUNC);
            } else {
                file.connect0();
            }
            readSize = Math.min(file.tree.session.transport.rcv_buf_size - 70, file.tree.session.transport.server.maxBufferSize - 70);
        }
    
        /**
    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)
  3. api/go1.13.txt

    pkg os (netbsd-arm64-cgo), const O_APPEND = 8
    pkg os (netbsd-arm64-cgo), const O_CREATE = 512
    pkg os (netbsd-arm64-cgo), const O_EXCL = 2048
    pkg os (netbsd-arm64-cgo), const O_SYNC = 128
    pkg os (netbsd-arm64-cgo), const O_TRUNC = 1024
    pkg os (netbsd-arm64-cgo), const PathListSeparator = 58
    pkg os (netbsd-arm64-cgo), const PathSeparator = 47
    pkg os (netbsd-arm64), const DevNull = "/dev/null"
    pkg os (netbsd-arm64), const O_APPEND = 8
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Click Count (0)
  4. api/go1.20.txt

    pkg os (freebsd-riscv64), const O_CREATE = 512 #53466
    pkg os (freebsd-riscv64), const O_EXCL = 2048 #53466
    pkg os (freebsd-riscv64), const O_SYNC = 128 #53466
    pkg os (freebsd-riscv64), const O_TRUNC = 1024 #53466
    pkg os (freebsd-riscv64), const PathListSeparator = 58 #53466
    pkg os (freebsd-riscv64), const PathSeparator = 47 #53466
    pkg os (freebsd-riscv64-cgo), const DevNull = "/dev/null" #53466
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Click Count (0)
  5. cmd/xl-storage.go

    // Create or truncate an existing file before writing
    func (s *xlStorage) writeAllInternal(ctx context.Context, filePath string, b []byte, sync bool, skipParent string) (err error) {
    	flags := os.O_CREATE | os.O_WRONLY | os.O_TRUNC
    
    	var w *os.File
    	if sync {
    		// Perform DirectIO along with fdatasync for larger xl.meta, mostly when
    		// xl.meta has "inlined data" we prefer writing O_DIRECT and then doing
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  6. api/go1.txt

    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
    pkg os, const SEEK_CUR int
    pkg os, const SEEK_END int
    pkg os, const SEEK_SET int
    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)
Back to Top