Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 311 for lchflags (0.11 sec)

  1. src/cmd/compile/internal/test/clobberdead_test.go

    	src := filepath.Join(tmpdir, "x.go")
    	err := os.WriteFile(src, []byte(helloSrc), 0644)
    	if err != nil {
    		t.Fatalf("write file failed: %v", err)
    	}
    
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "run", "-gcflags=all="+flag, src)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("go run failed: %v\n%s", err, out)
    	}
    	if string(out) != "hello\n" {
    		t.Errorf("wrong output: got %q, want %q", out, "hello\n")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue43639/a.go

    // Copyright 2021 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 issue43639
    
    // #cgo CFLAGS: -W -Wall -Werror
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 224 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    ) >_const.go
    
    # Pull out the error names for later.
    errors=$(
    	echo '#include <errno.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^E[A-Z0-9_]+$/ { print $2 }' |
    	sort
    )
    
    # Pull out the signal names for later.
    signals=$(
    	echo '#include <signal.h>' | $CC -x c - -E -dM $ccflags |
    	awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
    	grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT\|SIGMAX64' |
    	sort
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. src/cmd/compile/profile.sh

    # the profile at cmd/compile/default.pgo.
    
    dir=$(mktemp -d)
    cd $dir
    seed=$(date)
    
    for p in $(go list std cmd); do
    	h=$(echo $seed $p | md5sum | cut -d ' ' -f 1)
    	echo $p $h
    	go build -o /dev/null -gcflags=-cpuprofile=$PWD/prof.$h $p
    done
    
    go tool pprof -proto prof.* > $(go env GOROOT)/src/cmd/compile/default.pgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 17:31:10 UTC 2023
    - 588 bytes
    - Viewed (0)
  5. tensorflow/c/generate-pc.sh

    Name: TensorFlow
    Version: ${TF_VERSION}
    Description: Library for computation using data flow graphs for scalable machine learning
    Requires:
    Libs: -L\${libdir} -ltensorflow -ltensorflow_framework
    Cflags: -I\${includedir}
    EOF
    
    cat << EOF > tensorflow_cc.pc
    prefix=${TF_PREFIX}
    exec_prefix=\${prefix}
    libdir=\${exec_prefix}/${LIBDIR}
    includedir=\${prefix}/include/tensorflow
    
    Name: TensorFlow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Aug 04 07:01:14 UTC 2019
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue4029.go

    // Excluded in darwin internal linking PIE (which is the default) mode,
    // as dynamic export is not supported.
    
    package cgotest
    
    /*
    #include <stdint.h>
    #include <dlfcn.h>
    #cgo linux LDFLAGS: -ldl
    
    extern uintptr_t dlopen4029(char*, int);
    extern uintptr_t dlsym4029(uintptr_t, char*);
    extern int dlclose4029(uintptr_t);
    
    extern void call4029(uintptr_t arg);
    */
    import "C"
    
    import (
    	"testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/link_external_undef.txt

    # Test case for issue 47993, in which the linker crashes
    # on a bad input instead of issuing an error and exiting.
    
    # This test requires external linking, so use cgo as a proxy 
    [!cgo] skip
    
    ! go build -ldflags='-linkmode=external' .
    ! stderr 'panic'
    stderr '^.*undefined symbol in relocation.*'
    
    -- go.mod --
    
    module issue47993
    
    go 1.16
    
    -- main.go --
    
    package main
    
    type M struct {
    	b bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 18:44:09 UTC 2023
    - 806 bytes
    - Viewed (0)
  8. test/fixedbugs/issue59638.go

    // build -gcflags=-l=4
    
    // Copyright 2023 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 p
    
    type Interface interface {
    	MonitoredResource() (resType string, labels map[string]string)
    	Done()
    }
    
    func Autodetect(x int) Interface {
    	return func() Interface {
    		func() Interface {
    			x++
    			Do(func() {
    				var ad, gd Interface
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 21:04:28 UTC 2023
    - 1004 bytes
    - Viewed (0)
  9. .github/workflows/go-lint.yml

              CGO_ENABLED: 0
              GO111MODULE: on
            run: |
              Set-MpPreference -DisableRealtimeMonitoring $true
              netsh int ipv4 set dynamicport tcp start=60000 num=61000
              go build --ldflags="-s -w" -o %GOPATH%\bin\minio.exe
              go test -v --timeout 120m ./...
          - name: Build on ${{ matrix.os }}
            if: matrix.os == 'ubuntu-latest'
            env:
              CGO_ENABLED: 0
              GO111MODULE: on
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 22:29:33 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/testdata/msan2_cmsan.go

    // Copyright 2015 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
    
    /*
    #cgo LDFLAGS: -fsanitize=memory
    #cgo CPPFLAGS: -fsanitize=memory
    
    #include <string.h>
    #include <stdint.h>
    #include <stdlib.h>
    
    void f(int32_t *p, int n) {
      int32_t * volatile q = (int32_t *)malloc(sizeof(int32_t) * n);
      memcpy(p, q, n * sizeof(*p));
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 710 bytes
    - Viewed (0)
Back to top