- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for elfnote (0.14 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go
import ( "bufio" "debug/elf" "encoding/binary" "fmt" "io" ) const ( maxNoteSize = 1 << 20 // in bytes noteTypeGNUBuildID = 3 ) // elfNote is the payload of a Note Section in an ELF file. type elfNote struct { Name string // Contents of the "name" field, omitting the trailing zero byte. Desc []byte // Contents of the "desc" field. Type uint32 // Contents of the "type" field. }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
n := int(ELF_NOTE_BUILDINFO_NAMESZ + Rnd(int64(len(buildinfo)), 4)) return elfnote(sh, startva, resoff, n) } func elfgobuildid(sh *ElfShdr, startva uint64, resoff uint64) int { n := len(ELF_NOTE_GO_NAME) + int(Rnd(int64(len(*flagBuildid)), 4)) return elfnote(sh, startva, resoff, n) } func elfwritebuildinfo(out *OutBuf) int {
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/cmd/vendor/golang.org/x/build/relnote/relnote.go
// license that can be found in the LICENSE file. // Package relnote supports working with release notes. // // Its main feature is the ability to merge Markdown fragments into a single // document. (See [Merge].) // // This package has minimal imports, so that it can be vendored into the // main go repo. package relnote import ( "bufio" "bytes" "errors" "fmt" "io" "io/fs" "path"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.7K bytes - Viewed (0) -
src/cmd/relnote/relnote_test.go
// license that can be found in the LICENSE file. package main import ( "flag" "internal/testenv" "io/fs" "os" "path/filepath" "testing" "golang.org/x/build/relnote" ) var flagCheck = flag.Bool("check", false, "run API release note checks") // Check that each file in api/next has corresponding release note files in doc/next. func TestCheckAPIFragments(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 16:31:53 UTC 2024 - 1K bytes - Viewed (0) -
src/runtime/lfstack.go
func lfnodeValidate(node *lfnode) { if base, _, _ := findObject(uintptr(unsafe.Pointer(node)), 0, 0); base != 0 { throw("lfstack node allocated from the heap") } if lfstackUnpack(lfstackPack(node, ^uintptr(0))) != node { printlock() println("runtime: bad lfnode address", hex(uintptr(unsafe.Pointer(node)))) throw("bad lfnode address") } } func lfstackPack(node *lfnode, cnt uintptr) uint64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2K bytes - Viewed (0) -
doc/README.md
## For the release team The `relnote` tool, at `golang.org/x/build/cmd/relnote`, operates on the files in `doc/next`. As a release cycle nears completion, run `relnote todo` to get a list of unfinished release note work. To prepare the release notes for a release, run `relnote generate`. That will merge the `.md` files in `next` into a single file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 19:56:43 UTC 2024 - 3.1K bytes - Viewed (0) -
src/runtime/lfstack_test.go
return (*LFNode)(unsafe.Pointer(node)) } func toMyNode(node *LFNode) *MyNode { return (*MyNode)(unsafe.Pointer(node)) } var global any func TestLFStack(t *testing.T) { stack := new(uint64) global = stack // force heap allocation // Check the stack is initially empty. if LFStackPop(stack) != nil { t.Fatalf("stack is not empty") } // Push one element.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 17 23:12:04 UTC 2022 - 2.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/build/relnote/dump.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package relnote import ( "fmt" "strings" md "rsc.io/markdown" ) // DumpMarkdown writes the internal structure of a markdown // document to standard output. // It is intended for debugging. func DumpMarkdown(d *md.Document) { dumpBlocks(d.Blocks, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost.go
// of estimating the additional comparison cost. if elNode := l.listElementNode(*target); elNode != nil { k := elNode.Type().Kind() if k == types.StringKind || k == types.BytesKind { sz := l.sizeEstimate(elNode) elCost = elCost.Add(sz.MultiplyByCostFactor(common.StringTraversalCostFactor)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 20.6K bytes - Viewed (0) -
src/runtime/align_runtime_test.go
unsafe.Offsetof(heapStatsDelta{}.inHeap), unsafe.Offsetof(heapStatsDelta{}.inStacks), unsafe.Offsetof(heapStatsDelta{}.inPtrScalarBits), unsafe.Offsetof(heapStatsDelta{}.inWorkBufs), unsafe.Offsetof(lfnode{}.next), unsafe.Offsetof(mstats{}.last_gc_nanotime), unsafe.Offsetof(mstats{}.last_gc_unix), unsafe.Offsetof(workType{}.bytesMarked), } // AtomicVariables is the set of global variables on which we perform
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0)