Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for O_TRUNC (0.12 sec)

  1. src/main/java/jcifs/SmbConstants.java

        // create if the file does not exist
        static final int O_CREAT = 0x0010;
        // fail if the file exists
        static final int O_EXCL = 0x0020;
        // truncate if the file exists
        static final int O_TRUNC = 0x0040;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (0)
  2. lib/wasm/wasm_exec.js

    		const err = new Error("not implemented");
    		err.code = "ENOSYS";
    		return err;
    	};
    
    	if (!globalThis.fs) {
    		let outputBuf = "";
    		globalThis.fs = {
    			constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 }, // unused
    			writeSync(fd, buf) {
    				outputBuf += decoder.decode(buf);
    				const nl = outputBuf.lastIndexOf("\n");
    				if (nl != -1) {
    					console.log(outputBuf.substring(0, nl));
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

                if ( file.getType() != SmbConstants.TYPE_NAMED_PIPE ) {
                    try ( SmbFileHandle h = ensureOpen() ) {}
                    this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC );
                }
    
                init(th);
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        /**
         * @throws SmbException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

        // create if the file does not exist
        static final int O_CREAT  = 0x0010;
        // fail if the file exists
        static final int O_EXCL   = 0x0020;
        // truncate if the file exists
        static final int O_TRUNC  = 0x0040;
    
        // share access
    /**
     * When specified as the <tt>shareAccess</tt> constructor parameter,
     * other SMB clients (including other threads making calls into jCIFS)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  5. api/go1.1.txt

    pkg os (darwin-amd64-cgo), const PathListSeparator = 58
    pkg os (darwin-amd64-cgo), const PathSeparator = 47
    pkg os (freebsd-386), const DevNull = "/dev/null"
    pkg os (freebsd-386), const O_APPEND = 8
    pkg os (freebsd-386), const O_CREATE = 512
    pkg os (freebsd-386), const O_EXCL = 2048
    pkg os (freebsd-386), const O_SYNC = 128
    pkg os (freebsd-386), const O_TRUNC = 1024
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    			if file.FileInfo().IsDir() {
    				return os.MkdirAll(extractedFilePath, file.Mode())
    			}
    			outputFile, err := os.OpenFile(extractedFilePath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, file.Mode())
    			if err != nil {
    				return err
    			}
    			defer outputFile.Close()
    			_, err = io.Copy(outputFile, zippedFile)
    			return err
    		}()
    		if err != nil {
    			return err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  8. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  9. api/go1.14.txt

    pkg os (freebsd-arm64), const O_APPEND = 8
    pkg os (freebsd-arm64), const O_CREATE = 512
    pkg os (freebsd-arm64), const O_EXCL = 2048
    pkg os (freebsd-arm64), const O_SYNC = 128
    pkg os (freebsd-arm64), const O_TRUNC = 1024
    pkg os (freebsd-arm64), const PathListSeparator = 58
    pkg os (freebsd-arm64), const PathSeparator = 47
    pkg os (freebsd-arm64-cgo), const DevNull = "/dev/null"
    pkg os (freebsd-arm64-cgo), const O_APPEND = 8
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  10. api/go1.16.txt

    pkg os (darwin-arm64), const O_APPEND = 8
    pkg os (darwin-arm64), const O_CREATE = 512
    pkg os (darwin-arm64), const O_EXCL = 2048
    pkg os (darwin-arm64), const O_SYNC = 128
    pkg os (darwin-arm64), const O_TRUNC = 1024
    pkg os (darwin-arm64), const PathListSeparator = 58
    pkg os (darwin-arm64), const PathSeparator = 47
    pkg os (darwin-arm64-cgo), const DevNull = "/dev/null"
    pkg os (darwin-arm64-cgo), const O_APPEND = 8
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top