Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 311 for lchflags (2.25 sec)

  1. src/cmd/cgo/internal/testsanitizers/testdata/msan6.go

    package main
    
    // A C function returning a value on the Go stack could leave the Go
    // stack marked as uninitialized, potentially causing a later error
    // when the stack is used for something else. Issue 26209.
    
    /*
    #cgo LDFLAGS: -fsanitize=memory
    #cgo CPPFLAGS: -fsanitize=memory
    
    #include <stdint.h>
    #include <stdlib.h>
    #include <string.h>
    
    typedef struct {
    	uintptr_t a[20];
    } S;
    
    S f() {
    	S *p;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. test/inline_caller.go

    // run -gcflags -l=4
    
    // Copyright 2017 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 main
    
    import (
    	"fmt"
    	"runtime"
    )
    
    type frame struct {
    	pc   uintptr
    	file string
    	line int
    	ok   bool
    }
    
    var (
    	skip        int
    	globalFrame frame
    )
    
    func f() {
    	g() // line 27
    }
    
    func g() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 08 21:54:04 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. operator/version/version.go

    	OperatorBinaryVersion pkgversion.Version
    )
    
    func init() {
    	var err error
    	OperatorVersionString = OperatorCodeBaseVersion
    	// If dockerinfo has a tag (e.g., specified by LDFlags), we will use it as the version of operator
    	tag := buildversion.DockerInfo.Tag
    	if pkgversion.IsVersionString(tag) {
    		OperatorVersionString = pkgversion.TagToVersionStringGrace(tag)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/traceback.go

    package main
    
    // This program will crash.
    // We want the stack trace to include the C functions.
    // We use a fake traceback, and a symbolizer that dumps a string we recognize.
    
    /*
    #cgo CFLAGS: -g -O0
    
    // Defined in traceback_c.c.
    extern int crashInGo;
    int tracebackF1(void);
    void cgoTraceback(void* parg);
    void cgoSymbolizer(void* parg);
    */
    import "C"
    
    import (
    	"runtime"
    	"unsafe"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 21:47:44 UTC 2020
    - 949 bytes
    - Viewed (0)
  5. src/net/netip/inlining_test.go

    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestInlining(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    	out, err := exec.Command(
    		testenv.GoToolPath(t),
    		"build",
    		"--gcflags=-m",
    		"net/netip").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go build: %v, %s", err, out)
    	}
    	got := map[string]bool{}
    	regexp.MustCompile(` can inline (\S+)`).ReplaceAllFunc(out, func(match []byte) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. build/pause/Makefile

    ALL_OSVERSIONS.windows := 1809 ltsc2022
    ALL_OS_ARCH.windows = $(foreach arch, $(ALL_ARCH.windows), $(foreach osversion, ${ALL_OSVERSIONS.windows}, windows-$(arch)-${osversion}))
    ALL_OS_ARCH = $(foreach os, $(ALL_OS), ${ALL_OS_ARCH.${os}})
    
    CFLAGS = -Os -Wall -Werror -static -DVERSION=v$(TAG)-$(REV)
    KUBE_CROSS_IMAGE ?= registry.k8s.io/build-image/kube-cross
    KUBE_CROSS_VERSION ?= $(shell cat ../build-image/cross/VERSION)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 19:31:40 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/runtime/defs1_netbsd_arm.go

    }
    
    type mcontextt struct {
    	__gregs     [17]uint32
    	_           [4]byte   // EABI
    	__fpu       [272]byte // EABI
    	_mc_tlsbase uint32
    	_           [4]byte // EABI
    }
    
    type ucontextt struct {
    	uc_flags    uint32
    	uc_link     *ucontextt
    	uc_sigmask  sigset
    	uc_stack    stackt
    	_           [4]byte // EABI
    	uc_mcontext mcontextt
    	__uc_pad    [2]int32
    }
    
    type keventt struct {
    	ident  uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/base/goflags.go

    func SetFromGOFLAGS(flags *flag.FlagSet) {
    	InitGOFLAGS()
    
    	// This loop is similar to flag.Parse except that it ignores
    	// unknown flags found in goflags, so that setting, say, GOFLAGS=-ldflags=-w
    	// does not break commands that don't have a -ldflags.
    	// It also adjusts the output to be clear that the reported problem is from $GOFLAGS.
    	where := "$GOFLAGS"
    	if runtime.GOOS == "windows" {
    		where = "%GOFLAGS%"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. doc/next/5-toolchain.md

    a cost of an additional 0.1% text and binary size.  This is currently only implemented
    on 386 and amd64 because it has not shown an improvement on other platforms.
    Hot block alignment can be disabled with `-gcflags=[<packages>=]-d=alignhot=0`
    
    ## Assembler {#assembler}
    
    ## Linker {#linker}
    
    <!-- go.dev/issue/67401, CL 585556, CL 587220, and many more -->
    The linker now disallows using a `//go:linkname` directive to refer to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:18:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_shorten_pkg.txt

    # Accurate reporting of notable loops in the presence of inlining
    # can create warnings in sibling directories, and it's nice if those
    # can be trimmed like subdirectory paths are.
    
    env GOEXPERIMENT=loopvar
    go build -gcflags=inlines/a=-d=loopvar=2 .
    stderr ^\.[\\/]b[\\/]b\.go:12:6:.*loop.inlined.into.a[\\/]a\.go
    stderr ^\.[\\/]b[\\/]b\.go:12:9:.*loop.inlined.into.a[\\/]a\.go
    
    -- go.mod --
    module inlines
    
    go 1.21
    -- a/a.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 09:07:58 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top