- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for O_WRONLY (0.1 sec)
-
src/cmd/covdata/metamerge.go
} defer inf.Close() fi, err := inf.Stat() if err != nil { fatal("accessing input meta-data file %s: %v", inpath, err) } outf, err := os.OpenFile(outpath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, fi.Mode()) if err != nil { fatal("opening output meta-data file %s: %v", outpath, err) } _, err = io.Copy(outf, inf) outf.Close() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
*/ static SmbFileHandleImpl openCopyTargetFile ( SmbFile dest, int attrs, boolean alsoRead ) throws CIFSException { try { return dest.openUnshared( SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA | SmbConstants.FILE_WRITE_ATTRIBUTES | ( alsoRead ? SmbConstants.FILE_READ_DATA : 0 ), SmbConstants.FILE_NO_SHARE, attrs,
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
this( file, append, append ? SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_APPEND : SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, 0, SmbConstants.DEFAULT_SHARING); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
// and check if that disk // appears in outDatedDisks. tamperedIndex = index filePath := pathJoin(erasureDisks[index].String(), bucket, object, fi.DataDir, "part.1") f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0) if err != nil { t.Fatalf("Failed to open %s: %s\n", filePath, err) } f.WriteString("oops") // Will cause bitrot error f.Close() break } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 23K bytes - Viewed (0) -
src/go/printer/testdata/expressions.input
_ = a + t0.x _ = a + t0.x + t1.x * t2.x _ = a + b + c + d + e + 2*3 _ = a + b + c + 2*3 + d + e _ = (a+b+c)*2 _ = a - b + c - d + (a+b+c) + d&e _ = under_bar-1 _ = Open(dpath + "/file", O_WRONLY | O_CREAT, 0666) _ = int(c0&_Mask4)<<18 | int(c1&_Maskx)<<12 | int(c2&_Maskx)<<6 | int(c3&_Maskx) // test case for issue 8021 // want: // ([]bool{})[([]int{})[((1)+(((1)+((((1)*(((1)+(1))+(1)))+(1))*(1)))+(1)))]]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 16:41:54 UTC 2017 - 12.1K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
// This avoids build tags and works even on systems like Plan 9 // where the file mask computation incorporates other information. mode := perm f, err := os.OpenFile(filepath.Clean(dst)+"-go-tmp-umask", os.O_WRONLY|os.O_CREATE|os.O_EXCL, perm) if err == nil { fi, err := f.Stat() if err == nil { mode = fi.Mode() & 0777 } name := f.Name() f.Close() os.Remove(name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/syscall/exec_linux.go
} if sys.Unshareflags&CLONE_NEWUSER != 0 && sys.GidMappings != nil { dirfd = int(_AT_FDCWD) if fd1, _, err1 = RawSyscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(&psetgroups[0])), uintptr(O_WRONLY), 0, 0, 0); err1 != 0 { goto childerror } pid, _, err1 = RawSyscall(SYS_WRITE, fd1, uintptr(unsafe.Pointer(&setgroups[0])), uintptr(len(setgroups))) if err1 != 0 { goto childerror }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 07:45:37 UTC 2024 - 23K bytes - Viewed (0) -
src/syscall/fs_js.go
var jsProcess = js.Global().Get("process") var jsFS = js.Global().Get("fs") var constants = jsFS.Get("constants") var uint8Array = js.Global().Get("Uint8Array") var ( nodeWRONLY = constants.Get("O_WRONLY").Int() nodeRDWR = constants.Get("O_RDWR").Int() nodeCREATE = constants.Get("O_CREAT").Int() nodeTRUNC = constants.Get("O_TRUNC").Int() nodeAPPEND = constants.Get("O_APPEND").Int()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 11 18:19:17 UTC 2023 - 10.8K bytes - Viewed (0) -
src/go/printer/testdata/expressions.golden
_ = a + t0.x _ = a + t0.x + t1.x*t2.x _ = a + b + c + d + e + 2*3 _ = a + b + c + 2*3 + d + e _ = (a + b + c) * 2 _ = a - b + c - d + (a + b + c) + d&e _ = under_bar - 1 _ = Open(dpath+"/file", O_WRONLY|O_CREAT, 0666) _ = int(c0&_Mask4)<<18 | int(c1&_Maskx)<<12 | int(c2&_Maskx)<<6 | int(c3&_Maskx) // test case for issue 8021 // want: // ([]bool{})[([]int{})[((1)+(((1)+((((1)*(((1)+(1))+(1)))+(1))*(1)))+(1)))]]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 16:41:54 UTC 2017 - 12.4K bytes - Viewed (0) -
src/go/printer/testdata/expressions.raw
_ = a + t0.x _ = a + t0.x + t1.x*t2.x _ = a + b + c + d + e + 2*3 _ = a + b + c + 2*3 + d + e _ = (a + b + c) * 2 _ = a - b + c - d + (a + b + c) + d&e _ = under_bar - 1 _ = Open(dpath+"/file", O_WRONLY|O_CREAT, 0666) _ = int(c0&_Mask4)<<18 | int(c1&_Maskx)<<12 | int(c2&_Maskx)<<6 | int(c3&_Maskx) // test case for issue 8021 // want: // ([]bool{})[([]int{})[((1)+(((1)+((((1)*(((1)+(1))+(1)))+(1))*(1)))+(1)))]]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 16:41:54 UTC 2017 - 12.4K bytes - Viewed (0)