Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for ldflag (0.14 sec)

  1. src/cmd/link/internal/ld/go.go

    					nerrors++
    					return
    				}
    
    				interpreter = f[1]
    			}
    			continue
    
    		case "cgo_ldflag":
    			if len(f) != 2 {
    				break
    			}
    			ldflag = append(ldflag, f[1])
    			continue
    		}
    
    		fmt.Fprintf(os.Stderr, "%s: %s: invalid cgo directive: %q\n", os.Args[0], file, f)
    		nerrors++
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. cmd/kubemark/app/hollow_node.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package app
    
    import (
    	"context"
    	goflag "flag"
    	"fmt"
    	"time"
    
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    	"go.opentelemetry.io/otel/trace/noop"
    	internalapi "k8s.io/cri-api/pkg/apis"
    	"k8s.io/klog/v2"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/gccgo.go

    		wholeArchive = nil
    		noWholeArchive = nil
    	}
    	ldflags = append(ldflags, wholeArchive...)
    	ldflags = append(ldflags, afiles...)
    	ldflags = append(ldflags, noWholeArchive...)
    
    	ldflags = append(ldflags, cgoldflags...)
    	ldflags = append(ldflags, envList("CGO_LDFLAGS", "")...)
    	if cfg.Goos != "aix" {
    		ldflags = str.StringList("-Wl,-(", ldflags, "-Wl,-)")
    	}
    
    	if root.buildID != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gc.go

    	} else {
    		compiler = envList("CC", cfg.DefaultCC(cfg.Goos, cfg.Goarch))
    	}
    	ldflags = append(ldflags, "-buildmode="+ldBuildmode)
    	if root.buildID != "" {
    		ldflags = append(ldflags, "-buildid="+root.buildID)
    	}
    	ldflags = append(ldflags, forcedLdflags...)
    	ldflags = append(ldflags, root.Package.Internal.Ldflags...)
    	ldflags, err := setextld(ldflags, compiler)
    	if err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. 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)
  6. src/syscall/fs_wasip1.go

    	case O_RDWR:
    		rights = fileRights
    	}
    
    	var fdflags fdflags
    	if (openmode & O_APPEND) != 0 {
    		fdflags |= FDFLAG_APPEND
    	}
    	if (openmode & O_SYNC) != 0 {
    		fdflags |= FDFLAG_SYNC
    	}
    
    	var fd int32
    	errno := path_open(
    		dirFd,
    		LOOKUP_SYMLINK_FOLLOW,
    		pathPtr,
    		pathLen,
    		oflags,
    		rights,
    		fileRights,
    		fdflags,
    		unsafe.Pointer(&fd),
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. Makefile.core.mk

    ${TARGET_OUT}/release/istioctl-linux-amd64:
    	GOOS=linux GOARCH=amd64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    ${TARGET_OUT}/release/istioctl-linux-armv7:
    	GOOS=linux GOARCH=arm GOARM=7 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    ${TARGET_OUT}/release/istioctl-linux-arm64:
    	GOOS=linux GOARCH=arm64 LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 02 19:53:04 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/options/options.go

    	"k8s.io/client-go/tools/clientcmd"
    	"k8s.io/client-go/tools/events"
    	"k8s.io/client-go/tools/leaderelection"
    	"k8s.io/client-go/tools/leaderelection/resourcelock"
    	"k8s.io/client-go/tools/record"
    	cliflag "k8s.io/component-base/cli/flag"
    	componentbaseconfig "k8s.io/component-base/config"
    	"k8s.io/component-base/config/options"
    	"k8s.io/component-base/logs"
    	logsapi "k8s.io/component-base/logs/api/v1"
    	"k8s.io/component-base/metrics"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/ld_test.go

    		hasHEVA := (dc & pe.IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA) != 0
    		if useASLR && !hasHEVA {
    			t.Error("IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA flag is not set")
    		} else if !useASLR && hasHEVA {
    			t.Error("IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA flag should not be set")
    		}
    	default:
    		t.Fatalf("unexpected optional header type of %T", f.OptionalHeader)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. src/flag/flag.go

    // license that can be found in the LICENSE file.
    
    /*
    Package flag implements command-line flag parsing.
    
    # Usage
    
    Define flags using [flag.String], [Bool], [Int], etc.
    
    This declares an integer flag, -n, stored in the pointer nFlag, with type *int:
    
    	import "flag"
    	var nFlag = flag.Int("n", 1234, "help message for flag n")
    
    If you like, you can bind the flag to a variable using the Var() functions.
    
    	var flagvar int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
Back to top