Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for elfnote (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/internal/buildid/note.go

    			if err != nil {
    				return nil, fmt.Errorf("read desc failed: %v", err)
    			}
    			if name == string(noteName) && typ == noteType {
    				return desc, nil
    			}
    		}
    	}
    	return nil, nil
    }
    
    var elfGoNote = []byte("Go\x00\x00")
    var elfGNUNote = []byte("GNU\x00")
    
    // The Go build ID is stored in a note described by an ELF PT_NOTE prog
    // header. The caller has already opened filename, to get f, and read
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 20:40:42 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. doc/next/9-todo.md

    -->
    
    <!-- Items that don't need to be mentioned in Go 1.23 release notes but are picked up by relnote todo.
    
    CL 458895 - an x/playground fix that mentioned an accepted cmd/go proposal go.dev/issue/40728 in Go 1.16 milestone...
    CL 582097 - an x/build CL working on relnote itself; it doesn't need a release note
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:52 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/cmd/vendor/modules.txt

    golang.org/x/arch/arm/armasm
    golang.org/x/arch/arm64/arm64asm
    golang.org/x/arch/ppc64/ppc64asm
    golang.org/x/arch/x86/x86asm
    # golang.org/x/build v0.0.0-20240603162849-5dfbda438323
    ## explicit; go 1.21
    golang.org/x/build/relnote
    # golang.org/x/mod v0.18.0
    ## explicit; go 1.18
    golang.org/x/mod/internal/lazyregexp
    golang.org/x/mod/modfile
    golang.org/x/mod/module
    golang.org/x/mod/semver
    golang.org/x/mod/sumdb
    golang.org/x/mod/sumdb/dirhash
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/build/relnote/links.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"
    	"unicode"
    	"unicode/utf8"
    
    	"golang.org/x/mod/module"
    	md "rsc.io/markdown"
    )
    
    // addSymbolLinks looks for text like [Buffer] and
    // [math.Max] and replaces them with links to standard library
    // symbols and packages.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top