- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 363 for sticky (0.69 sec)
-
src/os/file_unix.go
r, s, e = open(name, flag|syscall.O_CLOEXEC, syscallMode(perm)) return e }) if e != nil { return nil, &PathError{Op: "open", Path: name, Err: e} } // open(2) itself won't handle the sticky bit on *BSD and Solaris if setSticky { setStickyBit(name) } // There's a race here with fork/exec, which we are // content to live with. See ../syscall/exec_unix.go. if !supportsCloseOnExec {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:52:34 UTC 2024 - 14.9K bytes - Viewed (0) -
src/net/http/request_test.go
5)) if err != nil { t.Fatal(err) } } // Issue 14981: MaxBytesReader's return error wasn't sticky. It // doesn't technically need to be, but people expected it to be. func TestMaxBytesReaderStickyError(t *testing.T) { isSticky := func(r io.Reader) error { var log bytes.Buffer buf := make([]byte, 1000) var firstErr error for { n, err := r.Read(buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/compress/flate/huffman_bit_writer.go
type huffmanBitWriter struct { // writer is the underlying writer. // Do not use it directly; use the write method, which ensures // that Write errors are sticky. writer io.Writer // Data waiting to be written is bytes[0:nbytes] // and then the low nbits of bits. Data is always written // sequentially into the bytes array. bits uint64 nbits uint
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 29 22:59:14 UTC 2022 - 18.4K bytes - Viewed (0) -
src/archive/tar/writer.go
blk block // Buffer to use as temporary local storage // err is a persistent error. // It is only the responsibility of every exported method of Writer to // ensure that this error is sticky. err error } // NewWriter creates a new Writer writing to w. func NewWriter(w io.Writer) *Writer { return &Writer{w: w, curr: ®FileWriter{w, 0}} } type fileWriter interface { io.Writer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
// for) but runtime.GOOS (the system we are building on). if runtime.GOOS == "windows" { return sh.CopyFile(dst, src, perm, force) } // If the destination directory has the group sticky bit set, // we have to copy the file to retain the correct permissions. // https://golang.org/issue/18878 if fi, err := os.Stat(filepath.Dir(dst)); err == nil { if fi.IsDir() && (fi.Mode()&fs.ModeSetgid) != 0 {
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/html/template/template.go
"path/filepath" "sync" "text/template" "text/template/parse" ) // Template is a specialized Template from "text/template" that produces a safe // HTML document fragment. type Template struct { // Sticky error if escaping fails, or escapeOK if succeeded. escapeErr error // We could embed the text/template field, but it's safer not to because // we need to keep our version of the name space and the underlying
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 21:00:46 UTC 2024 - 17K bytes - Viewed (0) -
src/math/big/nat.go
func (x nat) bit(i uint) uint { j := i / _W if j >= uint(len(x)) { return 0 } // 0 <= j < len(x) return uint(x[j] >> (i % _W) & 1) } // sticky returns 1 if there's a 1 bit within the // i least significant bits, otherwise it returns 0. func (x nat) sticky(i uint) uint { j := i / _W if j >= uint(len(x)) { if len(x) == 0 { return 0 } return 1 } // 0 <= j < len(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 31.7K bytes - Viewed (0) -
src/runtime/profbuf.go
b.overflow.Store((((overflow >> 32) + 1) << 32) + 1) break } // Otherwise we're racing to increment against reader // who wants to set b.overflow to 0. // Out of paranoia, leave 2³²-1 a sticky overflow value, // to avoid wrapping around. Extremely unlikely. if int32(overflow) == -1 { break } if b.overflow.CompareAndSwap(overflow, overflow+1) { break } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go
assert.Equal(t, groups[0].Name, "test") assert.Equal(t, groups[1].Name, "default") } // Show that the GroupPriorityMinimum is not sticky if a higher group version is removed // after a lower one is added func TestStatelessGroupPriorityMinimum(t *testing.T) { manager := discoveryendpoint.NewResourceManager("apis") stableGroup := "stable.example.com"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 28.6K bytes - Viewed (0) -
src/go/doc/reader.go
// Once an embedded type is embedded as a pointer type // all embedded types in those types are treated like // pointer types for the purpose of the receiver type // computation; i.e., embeddedIsPtr is sticky for this // embedding hierarchy. thisEmbeddedIsPtr := embeddedIsPtr || isPtr for _, m := range embedded.methods { // only top-level methods are embedded if m.Level == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0)