- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 123 for sticky (0.16 sec)
-
pkg/ctrlz/assets/static/css/all.css
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 17.1K bytes - Viewed (0) -
src/os/os_unix_test.go
// We have set a umask, but if the parent directory happens to have a default // ACL, the umask may be ignored. To prevent spurious failures from an ACL, // we create a non-sticky directory as a “control case” to compare against our // sticky-bit “experiment”. control := filepath.Join(dir, "control") if err := Mkdir(control, 0755); err != nil { t.Fatal(err) } cfi, err := Stat(control) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:32:43 UTC 2023 - 11.5K bytes - Viewed (0) -
src/math/big/nat_test.go
x := natFromString(test.x) if got := x.sticky(test.i); got != test.want { t.Errorf("#%d: %s.sticky(%d) = %v; want %v", i, test.x, test.i, got, test.want) } if test.want == 1 { // all subsequent i's should also return 1 for d := uint(1); d <= 3; d++ { if got := x.sticky(test.i + d); got != 1 { t.Errorf("#%d: %s.sticky(%d) = %v; want %v", i, test.x, test.i+d, got, 1) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 09 15:29:36 UTC 2024 - 26.2K bytes - Viewed (0) -
src/net/http/responsecontroller_test.go
} w.Write([]byte("two")) if err := ctl.Flush(); err == nil { t.Errorf("after setting deadline: ctl.Flush() = nil, want non-nil") } // Connection errors are sticky, so resetting the deadline does not permit // making more progress. We might want to change this in the future, but verify // the current behavior for now. If we do change this, we'll want to make sure
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:20:31 UTC 2024 - 10.2K bytes - Viewed (0) -
src/os/exec/lp_windows_test.go
}, { // LookPath(".\a") will fail before Dir is set, and that error is sticky. name: "relative to Dir with dot and extra PATH and no extension", files: []string{`p\a.exe`, `p2\a.exe`}, PATH: []string{".", "p2"}, dir: `p`, arg0: `.\a`, want: `p\a.exe`, }, { // LookPath(".\a") will fail before Dir is set, and that error is sticky. name: "relative to Dir with different extension",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:38:12 UTC 2023 - 16.3K bytes - Viewed (0) -
src/net/http/roundtrip_js.go
// See https://fetch.spec.whatwg.org/#readablestream for more information. type streamReader struct { pending []byte stream js.Value err error // sticky read error } func (r *streamReader) Read(p []byte) (n int, err error) { if r.err != nil { return 0, r.err } if len(r.pending) == 0 { var ( bCh = make(chan []byte, 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 11.8K bytes - Viewed (0) -
src/math/big/float.go
rbit := z.mant.bit(r) & 1 // rounding bit; be safe and ensure it's a single bit // The sticky bit is only needed for rounding ToNearestEven // or when the rounding bit is zero. Avoid computation otherwise. if sbit == 0 && (rbit == 0 || z.mode == ToNearestEven) { sbit = z.mant.sticky(r) } sbit &= 1 // be safe and ensure it's a single bit // cut off extra words
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 44.5K bytes - Viewed (0) -
src/archive/tar/common.go
mode = fs.FileMode(fi.h.Mode).Perm() // Set setuid, setgid and sticky bits. if fi.h.Mode&c_ISUID != 0 { mode |= fs.ModeSetuid } if fi.h.Mode&c_ISGID != 0 { mode |= fs.ModeSetgid } if fi.h.Mode&c_ISVTX != 0 { mode |= fs.ModeSticky } // Set file mode bits; clear perm, setuid, setgid, and sticky bits. switch m := fs.FileMode(fi.h.Mode) &^ 07777; m { case c_ISDIR:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 24.7K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
c.numPrepare++ if c.db == nil { panic("nil c.db; conn = " + fmt.Sprintf("%#v", c)) } if c.stickyBad || (hookPrepareBadConn != nil && hookPrepareBadConn()) { return nil, fakeError{Message: "Prepare: Sticky Bad", Wrapped: driver.ErrBadConn} } c.touchMem() var firstStmt, prev *fakeStmt for _, query := range strings.Split(query, ";") { parts := strings.Split(query, "|") if len(parts) < 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_linux_test.go
"directory-with-suid", func(base string) error { return nil }, "test/directory", "test/directory", os.FileMode(0777) + os.ModeDir + os.ModeSetuid, false, }, { "directory-with-sticky-bit", func(base string) error { return nil }, "test/directory", "test/directory", os.FileMode(0777) + os.ModeDir + os.ModeSticky, false, }, { "directory-exists",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0)