- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for prohibit (0.55 sec)
-
src/cmd/go/go_unix_test.go
"os" "os/exec" "slices" "strings" "syscall" "testing" ) func TestGoBuildUmask(t *testing.T) { // Do not use tg.parallel; avoid other tests seeing umask manipulation. mask := syscall.Umask(0077) // prohibit low bits defer syscall.Umask(mask) tg := testgo(t) defer tg.cleanup() tg.tempFile("x.go", `package main; func main() {}`) // We have set a umask, but if the parent directory happens to have a default
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 19 16:17:55 UTC 2023 - 3.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/info.go
// only makes sense, though, if the performance and/or space penalty of using // the generic breaker is big. Extra data will only be needed for non-cased // runes, which means there are sufficient bits left in the caseType. // ICU prohibits breaking in such cases as well. // For the purpose of title casing we use an approximation of the Unicode Word // Breaking algorithm defined in Annex #29: // https://www.unicode.org/reports/tr29/#Default_Grapheme_Cluster_Table.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/nowb.go
funcs[fn] = nowritebarrierrecCall{} q.PushRight(fn.Nname) } // Check go:nowritebarrier functions. if fn.Pragma&ir.Nowritebarrier != 0 && fn.WBPos.IsKnown() { base.ErrorfAt(fn.WBPos, 0, "write barrier prohibited") } } // Perform a BFS of the call graph from all // go:nowritebarrierrec functions. enqueue := func(src, target *ir.Func, pos src.XPos) { if target.Pragma&ir.Yeswritebarrierrec != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 17:29:46 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/repo.go
return l.r.Zip(ctx, dst, version) } // errRepo is a Repo that returns the same error for all operations. // // It is useful in conjunction with caching, since cache hits will not attempt // the prohibited operations. type errRepo struct { modulePath string err error } func (r errRepo) ModulePath() string { return r.modulePath }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 16:36:19 UTC 2023 - 15.2K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/cache.go
// for those operations seems worth the benefit of picking up more accurate // versions. // // Fall back to this resolution scheme only if the GOPROXY setting prohibits // us from resolving upstream tags. if cfg.GOPROXY == "off" { if file, info, err := readDiskStatByHash(ctx, path, rev); err == nil { return file, info, nil } } return file, nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0)