- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,401 for numbuf (0.11 sec)
-
src/crypto/x509/oid.go
bigVal = bigVal.Sub(bigVal, big.NewInt(80)) } numBuf = bigVal.Append(numBuf, 10) b.Write(numBuf) numBuf = numBuf[:0] val = 0 start = i + 1 overflow = false } continue } val <<= bitsPerByte val |= uint64(curVal) if valEnd { if start == 0 { if val < 80 { b.Write(strconv.AppendUint(numBuf, val/40, 10)) b.WriteByte('.')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 8.3K bytes - Viewed (0) -
src/runtime/os_linux.go
var sysTHPSizePath = []byte("/sys/kernel/mm/transparent_hugepage/hpage_pmd_size\x00") func getHugePageSize() uintptr { var numbuf [20]byte fd := open(&sysTHPSizePath[0], 0 /* O_RDONLY */, 0) if fd < 0 { return 0 } ptr := noescape(unsafe.Pointer(&numbuf[0])) n := read(fd, ptr, int32(len(numbuf))) closefd(fd) if n <= 0 { return 0 } n-- // remove trailing newline
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.9K bytes - Viewed (0) -
src/encoding/base32/base32.go
if d.enc.padChar == NoPadding { nr = d.nbuf } else { nr = d.nbuf / 8 * 8 } nw := d.enc.DecodedLen(d.nbuf) if nw > len(p) { nw, d.end, err = d.enc.decode(d.outbuf[0:], d.buf[0:nr]) d.out = d.outbuf[0:nw] n = copy(p, d.out) d.out = d.out[n:] } else { n, d.end, err = d.enc.decode(p, d.buf[0:nr]) } d.nbuf -= nr for i := 0; i < d.nbuf; i++ { d.buf[i] = d.buf[i+nr] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 15.9K bytes - Viewed (0) -
cmd/erasure-decode.go
return bufCount >= p.dataBlocks } // Read reads from readers in parallel. Returns p.dataBlocks number of bufs. func (p *parallelReader) Read(dst [][]byte) ([][]byte, error) { newBuf := dst if len(dst) != len(p.readers) { newBuf = make([][]byte, len(p.readers)) } else { for i := range newBuf { newBuf[i] = newBuf[i][:0] } } var newBufLK sync.RWMutex if p.offset+p.shardSize > p.shardFileSize {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 21 14:36:21 UTC 2024 - 9.4K bytes - Viewed (0) -
src/crypto/tls/conn.go
// See RFC 8446, Section 5.1. vers = VersionTLS12 } outBuf[1] = byte(vers >> 8) outBuf[2] = byte(vers) outBuf[3] = byte(m >> 8) outBuf[4] = byte(m) var err error outBuf, err = c.out.encrypt(outBuf, data[:m], c.config.rand()) if err != nil { return n, err } if _, err := c.write(outBuf); err != nil { return n, err } n += m data = data[m:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
src/syscall/syscall_openbsd_libc.go
} func syscallInternal(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) { // OpenBSD 7.5+ no longer supports indirect syscalls. A number of Go // packages make use of syscall.Syscall with SYS_IOCTL since it is // not well supported by golang.org/x/sys/unix. Reroute this system // call number to the respective libc stub so that it continues to // work for the time being. See #63900 for further details. if trap == SYS_IOCTL {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
e.Memsz += uint64(frag) } func elf64phdr(out *OutBuf, e *ElfPhdr) { if e.Type == elf.PT_LOAD { fixElfPhdr(e) } out.Write32(uint32(e.Type)) out.Write32(uint32(e.Flags)) out.Write64(e.Off) out.Write64(e.Vaddr) out.Write64(e.Paddr) out.Write64(e.Filesz) out.Write64(e.Memsz) out.Write64(e.Align) } func elf32phdr(out *OutBuf, e *ElfPhdr) { if e.Type == elf.PT_LOAD {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/text/template/funcs.go
switch numOut := typ.NumOut(); { case numOut == 1: return nil case numOut == 2 && typ.Out(1) == errorType: return nil case numOut == 2: return fmt.Errorf("invalid function signature for %s: second return value should be error; is %s", name, typ.Out(1)) default: return fmt.Errorf("function %s has %d return values; should be 1 or 2", name, typ.NumOut()) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
src/internal/reflectlite/type.go
tt := t.Type.FuncType() if tt == nil { panic("reflect: NumIn of non-func type") } return int(tt.InCount) } func (t rtype) NumOut() int { tt := t.Type.FuncType() if tt == nil { panic("reflect: NumOut of non-func type") } return tt.NumOut() } func (t rtype) Out(i int) Type { tt := t.Type.FuncType() if tt == nil { panic("reflect: Out of non-func type") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
docs/metrics/prometheus/list.md
| `minio_s3_requests_inflight_total` | Total number of S3 requests currently in flight. | | `minio_s3_requests_rejected_auth_total` | Total number S3 requests rejected for auth failure. | | `minio_s3_requests_rejected_header_total` | Total number S3 requests rejected for invalid header. |
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:54 UTC 2024 - 43.3K bytes - Viewed (0)