- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 104 for srcbuf (0.12 sec)
-
test/linkx_run.go
cmd := exec.Command("go", "run", "-ldflags=-X main.tbd"+sep+"hello -X main.overwrite"+sep+"trumped -X main.nosuchsymbol"+sep+"neverseen", "linkx.go") var out, errbuf bytes.Buffer cmd.Stdout = &out cmd.Stderr = &errbuf err := cmd.Run() if err != nil { fmt.Println(errbuf.String()) fmt.Println(out.String()) fmt.Println(err) os.Exit(1) } want := "hello\nhello\nhello\ntrumped\ntrumped\ntrumped\n"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.7K 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/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/link/internal/ld/ld.go
*/ func addlibpath(ctxt *Link, srcref, objref, file, pkg, shlib string, fingerprint goobj.FingerprintType) *sym.Library { if l := ctxt.LibraryByPkg[pkg]; l != nil { return l } if ctxt.Debugvlog > 1 { ctxt.Logf("addlibpath: srcref: %s objref: %s file: %s pkg: %s shlib: %s fingerprint: %x\n", srcref, objref, file, pkg, shlib, fingerprint) } l := &sym.Library{} ctxt.LibraryByPkg[pkg] = l
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:48:30 UTC 2023 - 8K 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) -
LICENSES/vendor/github.com/armon/circbuf/LICENSE
= vendor/github.com/armon/circbuf licensed under: = The MIT License (MIT) Copyright (c) 2013 Armon Dadgar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 08 04:49:00 UTC 2020 - 1.2K bytes - Viewed (0) -
src/cmd/link/internal/loadmacho/ldmacho.go
p := symbuf for i := uint32(0); i < symtab.nsym; i++ { s := &sym[i] v := m.e.Uint32(p) if v >= symtab.strsize { return -1 } s.name = cstring(strbuf[v:]) s.type_ = p[4] s.sectnum = p[5] s.desc = m.e.Uint16(p[6:]) if m.is64 { s.value = m.e.Uint64(p[8:]) } else { s.value = uint64(m.e.Uint32(p[8:])) } p = p[symsize:] } symtab.str = strbuf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0) -
docs/debugging/s3-verify/main.go
tgtCtnt, tgtOk := nextObject(tgtCh) var srcEOF, tgtEOF bool srcSha256 := sha256.New() tgtSha256 := sha256.New() for { srcSha256.Reset() tgtSha256.Reset() srcEOF = !srcOk tgtEOF = !tgtOk // No objects from source AND target: Finish if srcEOF && tgtEOF { break } if !srcEOF && srcCtnt.Err != nil { log.Fatal(srcCtnt.Err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jun 22 15:12:47 UTC 2022 - 8.4K bytes - Viewed (0) -
src/net/rpc/client.go
// concurrently so the implementation of conn should protect against // concurrent reads or concurrent writes. func NewClient(conn io.ReadWriteCloser) *Client { encBuf := bufio.NewWriter(conn) client := &gobClientCodec{conn, gob.NewDecoder(conn), gob.NewEncoder(encBuf), encBuf} return NewClientWithCodec(client) } // NewClientWithCodec is like [NewClient] but uses the specified // codec to encode requests and decode responses.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 9K bytes - Viewed (0) -
src/cmd/link/internal/sym/library.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package sym import "cmd/internal/goobj" type Library struct { Objref string Srcref string File string Pkg string Shlib string Fingerprint goobj.FingerprintType Autolib []goobj.ImportedPkg Imports []*Library Main bool Units []*CompilationUnit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 11 18:32:23 UTC 2020 - 651 bytes - Viewed (0)