Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for O_SYNC (0.15 sec)

  1. src/syscall/zerrors_solaris_amd64.go

    	O_RDWR                        = 0x2
    	O_RSYNC                       = 0x8000
    	O_SEARCH                      = 0x200000
    	O_SIOCGIFCONF                 = -0x3ff796ec
    	O_SIOCGLIFCONF                = -0x3fef9688
    	O_SYNC                        = 0x10
    	O_TRUNC                       = 0x200
    	O_WRONLY                      = 0x1
    	O_XATTR                       = 0x4000
    	PARENB                        = 0x100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  2. src/syscall/syscall_windows.go

    				return h, e
    			}
    		}
    	}
    	if createmode == OPEN_EXISTING && access == GENERIC_READ {
    		// Necessary for opening directory handles.
    		attrs |= FILE_FLAG_BACKUP_SEMANTICS
    	}
    	if mode&O_SYNC != 0 {
    		const _FILE_FLAG_WRITE_THROUGH = 0x80000000
    		attrs |= _FILE_FLAG_WRITE_THROUGH
    	}
    	return CreateFile(pathp, access, sharemode, sa, createmode, attrs, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    		t.Fatal(err)
    	}
    
    	// 4) Streaming bitrot check on corrupted file
    	filePath := pathJoin(storage.String(), volName, fileName)
    	f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0o644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Replace first 256 with 'a'.
    	if _, err := f.WriteString(strings.Repeat("a", 256)); err != nil {
    		t.Fatal(err)
    	}
    	f.Close()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top