- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for ctrbuf (0.09 sec)
-
src/crypto/aes/gcm_s390x.go
// buffer for counter values. var ctrbuf, srcbuf [2048]byte for len(src) >= 16 { siz := len(src) if len(src) > len(ctrbuf) { siz = len(ctrbuf) } siz &^= 0xf // align siz to 16-bytes copy(srcbuf[:], src[:siz]) cryptBlocksGCM(g.block.function, g.block.key, dst[:siz], srcbuf[:siz], ctrbuf[:], cnt) src = src[siz:] dst = dst[siz:] } if len(src) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/object-api-utils_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.4K bytes - Viewed (0) -
src/go/internal/gccgoimporter/ar.go
off := int64(len(armag)) for { var hdrBuf [arHdrSize]byte if _, err := archive.Read(hdrBuf[:]); err != nil { return nil, err } off += arHdrSize if !bytes.Equal(hdrBuf[arFmagOff:arFmagOff+arFmagSize], []byte(arfmag)) { return nil, fmt.Errorf("archive header format header (%q)", hdrBuf[:]) } size, err := strconv.ParseInt(strings.TrimSpace(string(hdrBuf[arSizeOff:arSizeOff+arSizeSize])), 10, 64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 14:14:36 UTC 2022 - 4.4K bytes - Viewed (0) -
src/cmd/gofmt/gofmt_unix_test.go
initRewrite() const maxWeight = 2 << 20 var buf, errBuf strings.Builder s := newSequencer(maxWeight, &buf, &errBuf) s.Add(fileWeight(fn, info), func(r *reporter) error { return processFile(fn, info, nil, r) }) if s.GetExitCode() == 0 { t.Fatal("rewrite of read-only file succeeded unexpectedly") } if errBuf.Len() > 0 { t.Log(errBuf) } info, err = os.Stat(fn) if err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 12:52:14 UTC 2023 - 1.4K bytes - Viewed (0) -
src/syscall/exec_plan9.go
childerror: // send error string on pipe RawSyscall(SYS_ERRSTR, uintptr(unsafe.Pointer(&errbuf[0])), uintptr(len(errbuf)), 0) childerror1: errbuf[len(errbuf)-1] = 0 i = 0 for i < len(errbuf) && errbuf[i] != 0 { i++ } RawSyscall6(SYS_PWRITE, uintptr(pipe), uintptr(unsafe.Pointer(&errbuf[0])), uintptr(i), ^uintptr(0), ^uintptr(0), 0) for { RawSyscall(SYS_EXITS, 0, 0, 0) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 13.3K bytes - Viewed (0) -
src/syscall/asm_plan9_386.s
CLD MOVSL MOVSL MOVSL INT $64 MOVL AX, r1+16(FP) MOVL $0, r2+20(FP) CMPL AX, $-1 JNE ok3 LEAL errbuf-128(SP), AX MOVL AX, sysargs-144(SP) MOVL $128, sysargs1-140(SP) MOVL $SYS_ERRSTR, AX INT $64 CALL runtime·exitsyscall(SB) MOVL sysargs-144(SP), AX MOVL AX, errbuf-148(SP) CALL runtime·gostring(SB) LEAL str-144(SP), SI JMP copyresult3 ok3: CALL runtime·exitsyscall(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 03 15:28:51 UTC 2018 - 3.1K bytes - Viewed (0) -
src/net/smtp/smtp_test.go
Goodbye. . QUIT ` func TestExtensions(t *testing.T) { fake := func(server string) (c *Client, bcmdbuf *bufio.Writer, cmdbuf *strings.Builder) { server = strings.Join(strings.Split(server, "\n"), "\r\n") cmdbuf = &strings.Builder{} bcmdbuf = bufio.NewWriter(cmdbuf) var fake faker fake.ReadWriter = bufio.NewReadWriter(bufio.NewReader(strings.NewReader(server)), bcmdbuf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 28.5K bytes - Viewed (0) -
src/syscall/asm_plan9_amd64.s
SYSCALL MOVQ AX, r1+32(FP) MOVQ $0, r2+40(FP) CMPL AX, $-1 JNE ok3 LEAQ errbuf-128(SP), AX MOVQ AX, sysargs-160(SP) MOVQ $128, sysargs1-152(SP) MOVQ $SYS_ERRSTR, BP SYSCALL CALL runtime·exitsyscall(SB) // call via ABI wrapper, ensuring ABIInternal fixed registers are set MOVQ sysargs-160(SP), AX MOVQ AX, errbuf-168(SP) CALL runtime·gostring(SB) LEAQ str-160(SP), SI JMP copyresult3 ok3:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 01:29:17 UTC 2022 - 3.4K bytes - Viewed (0) -
src/cmd/gofmt/gofmt_test.go
} } initParserMode() initRewrite() const maxWeight = 2 << 20 var buf, errBuf bytes.Buffer s := newSequencer(maxWeight, &buf, &errBuf) s.Add(fileWeight(in, info), func(r *reporter) error { return processFile(in, info, nil, r) }) if errBuf.Len() > 0 { t.Logf("%q", errBuf.Bytes()) } if s.GetExitCode() != 0 { t.Fail() } expected, err := os.ReadFile(out)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 19:22:49 UTC 2022 - 4.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go
return valid, err } //sys putmsg(fd int, clptr *strbuf, dataptr *strbuf, flags int) (err error) func Putmsg(fd int, cl []byte, data []byte, flags int) (err error) { var clp, datap *strbuf if len(cl) > 0 { clp = &strbuf{ Len: int32(len(cl)), Buf: (*int8)(unsafe.Pointer(&cl[0])), } } if len(data) > 0 { datap = &strbuf{ Len: int32(len(data)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 31.1K bytes - Viewed (0)