Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 187 for lchflags (0.14 sec)

  1. src/syscall/syscall_dragonfly.go

    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Dup2(from int, to int) (err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchflags(fd int, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. src/syscall/syscall_freebsd.go

    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    //sys	Chown(path string, uid int, gid int) (err error)
    //sys	Chroot(path string) (err error)
    //sys	Close(fd int) (err error)
    //sys	Dup(fd int) (nfd int, err error)
    //sys	Dup2(from int, to int) (err error)
    //sys	Fchdir(fd int) (err error)
    //sys	Fchflags(fd int, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. test/linkx_run.go

    		os.Exit(1)
    	}
    
    	// Issue 8810
    	cmd = exec.Command("go", "run", "-ldflags=-X main.tbd", "linkx.go")
    	_, err = cmd.CombinedOutput()
    	if err == nil {
    		fmt.Println("-X linker flag should not accept keys without values")
    		os.Exit(1)
    	}
    
    	// Issue 9621
    	cmd = exec.Command("go", "run", "-ldflags=-X main.b=false -X main.x=42", "linkx.go")
    	outx, err := cmd.CombinedOutput()
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. Makefile

    	@echo "Building minio binary to './minio'"
    	@CGO_ENABLED=0 go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
    
    hotfix-vars:
    	$(eval LDFLAGS := $(shell MINIO_RELEASE="RELEASE" MINIO_HOTFIX="hotfix.$(shell git rev-parse --short HEAD)" go run buildscripts/gen-ldflags.go $(shell git describe --tags --abbrev=0 | \
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 17:41:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/build_runtime_gcflags.txt

    [short] skip # rebuilds all of std
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # Verify the standard library (specifically internal/runtime/atomic) can be
    # built with -gcflags when -n is given. See golang.org/issue/29346.
    go build -n -gcflags=all='-l' std
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 00:18:30 UTC 2024
    - 349 bytes
    - Viewed (0)
  6. pkg/test/fakes/gce_metadata_server/Makefile

    TAG := 1.2
    
    all: build_and_push clean
    
    build_and_push:
    	cd $(MD_PATH) && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main-amd64 -a -tags netgo -ldflags '-w -extldflags "-static"' main.go
    	cd $(MD_PATH) && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o main-arm64 -a -tags netgo -ldflags '-w -extldflags "-static"' main.go
    	docker buildx build --platform=linux/amd64,linux/arm64  $(MD_PATH) -t $(IMG):$(TAG) --push
    
    clean:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cgo_long_cmd.txt

    # Issue #66456
    
    [!cgo] skip
    [GOOS:windows] skip
    [GOOS:plan9] skip
    
    # Generate a file with a very long #cgo LDFLAGS line.
    # This used to cause "go build" to fail with "argument list too long".
    go generate
    
    # Build with the generated file.
    go build
    
    -- go.mod --
    module cgolongcmd
    
    go 1.22
    -- generate.go --
    //go:build ignore
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"os"
    	"bytes"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 782 bytes
    - Viewed (0)
  8. hack/lib/version.sh

      source "${version_file}"
    }
    
    # Prints the value that needs to be passed to the -ldflags parameter of go build
    # in order to set the Kubernetes based on the git tree status.
    # IMPORTANT: if you update any of these, also update the lists in
    # hack/print-workspace-status.sh.
    kube::version::ldflags() {
      kube::version::get_version_vars
    
      local -a ldflags
      function add_ldflag() {
        local key=${1}
        local val=${2}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:09 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    (see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax).
    For example:
    
    	// #cgo CFLAGS: -DPNG_DEBUG=1
    	// #cgo amd64 386 CFLAGS: -DX86=1
    	// #cgo LDFLAGS: -lpng
    	// #include <png.h>
    	import "C"
    
    Alternatively, CPPFLAGS and LDFLAGS may be obtained via the pkg-config tool
    using a '#cgo pkg-config:' directive followed by the package names.
    For example:
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug_test.go

    		}
    		testNexting(t, basename, tag, gcflags, 1000, moreargs...)
    	})
    }
    
    // skipSubTest is the same as subTest except that it skips the test if execution is not forced (-f)
    func skipSubTest(t *testing.T, tag string, basename string, gcflags string, count int, moreargs ...string) {
    	t.Run(tag+"-"+basename, func(t *testing.T) {
    		if *force {
    			testNexting(t, basename, tag, gcflags, count, moreargs...)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
Back to top