- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for avail (0.22 sec)
-
internal/ringbuffer/ring_buffer.go
} func (r *RingBuffer) write(p []byte) (n int, err error) { if r.isFull { return 0, ErrIsFull } var avail int if r.w >= r.r { avail = r.size - r.w + r.r } else { avail = r.r - r.w } if len(p) > avail { err = ErrTooMuchDataToWrite p = p[:avail] } n = len(p) if r.w >= r.r { c1 := r.size - r.w if c1 >= n { copy(r.buf[r.w:], p) r.w += n
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/stacks.js
function fitText(t, avail, textList) { // Find first entry in textList that fits. let width = avail; textContext.font = FONT_SIZE + 'pt Arial'; for (let i = 0; i < textList.length; i++) { let text = textList[i]; width = textContext.measureText(text).width; if (width <= avail) { t.innerText = text; return; } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 18.5K bytes - Viewed (0) -
src/runtime/mgcscavenge_test.go
// Set up the scavenger. var s Scavenger s.Sleep = func(ns int64) int64 { totalSlept.Add(ns) return ns } s.Scavenge = func(bytes uintptr) (uintptr, int64) { avail := availableWork.Load() if uint64(bytes) > avail { bytes = uintptr(avail) } t := workedTime(bytes) if bytes != 0 { availableWork.Add(-int64(bytes)) totalWorked.Add(t) } return bytes, t }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/html.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 34.8K bytes - Viewed (0) -
src/bufio/bufio.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
cmd/kubeadm/app/preflight/checks_test.go
rt.name, rt.expectedError, (output != nil), ) } } } func TestFileAvailableCheck(t *testing.T) { f, err := os.CreateTemp("", "file-avail-check") if err != nil { t.Fatalf("Failed to create file: %v", err) } defer utiltesting.CloseAndRemove(t, f) var tests = []struct { name string check FileAvailableCheck
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 33.5K bytes - Viewed (0) -
src/runtime/stack.go
// current stack. The currently used stack includes everything // down to the SP plus the stack guard space that ensures // there's room for nosplit functions. avail := gp.stack.hi - gp.stack.lo if used := gp.stack.hi - gp.sched.sp + stackNosplit; used >= avail/4 { return } if stackDebug > 0 { print("shrinking stack ", oldsize, "->", newsize, "\n") } copystack(gp, newsize) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
docs/fr/docs/alternatives.md
Il avait les meilleures performances d'après les benchmarks de l'époque (seulement surpassé par Starlette). Au départ, il ne disposait pas d'une interface web de documentation automatique de l'API, mais je savais que je pouvais lui ajouter une interface Swagger.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 27.5K bytes - Viewed (0) -
src/syscall/ztypes_linux_ppc64le.go
X__glibc_reserved4 uint64 X__glibc_reserved5 uint64 X__glibc_reserved6 uint64 } type Statfs_t struct { Type int64 Bsize int64 Blocks uint64 Bfree uint64 Bavail uint64 Files uint64 Ffree uint64 Fsid Fsid Namelen int64 Frsize int64 Flags int64 Spare [4]int64 } type Dirent struct { Ino uint64 Off int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:49 UTC 2023 - 10.4K bytes - Viewed (0) -
src/syscall/ztypes_linux_arm64.go
Mtim Timespec Ctim Timespec X__glibc_reserved [2]int32 } type Statfs_t struct { Type int64 Bsize int64 Blocks uint64 Bfree uint64 Bavail uint64 Files uint64 Ffree uint64 Fsid Fsid Namelen int64 Frsize int64 Flags int64 Spare [4]int64 } type Dirent struct { Ino uint64 Off int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:49 UTC 2023 - 10.2K bytes - Viewed (0)