- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 215 for sticky (0.17 sec)
-
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/os/types.go
ModeSetuid = fs.ModeSetuid // u: setuid ModeSetgid = fs.ModeSetgid // g: setgid ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set ModeSticky = fs.ModeSticky // t: sticky ModeIrregular = fs.ModeIrregular // ?: non-regular file; nothing else is known about this file // Mask for the type bits. For regular files, none will be set. ModeType = fs.ModeType
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 20:52:06 UTC 2024 - 2.9K 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/math/big/bits_test.go
min = b } if i == 0 || b > max { max = b } } prec0 := uint(max + 1 - min) if prec >= prec0 { return x.Float() } // prec < prec0 // determine bit 0, rounding, and sticky bit, and result bits z var bit0, rbit, sbit uint var z Bits r := max - int(prec) for _, b := range x { switch { case b == r: rbit = 1 case b < r: sbit = 1 default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_profiler.cc
} void RegisterExecutionForCluster( const NameAttrList& function, DeviceCompilationProfiler::ClusterCompileStats* stats) { ++stats->execution_count; // The is_megamorphic bit is "sticky". We assume clusters that have been // observed to be megamorphic once stay megamorphic forever. if (!stats->is_megamorphic && ShouldBeMegamorphic(stats->compile_count, stats->execution_count)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 8.5K 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) -
src/io/fs/fs.go
ModeSetgid // g: setgid ModeCharDevice // c: Unix character device, when ModeDevice is set ModeSticky // t: sticky ModeIrregular // ?: non-regular file; nothing else is known about this file // Mask for the type bits. For regular files, none will be set.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 15 21:21:41 UTC 2024 - 9.4K bytes - Viewed (0)