Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 154 for arg (0.2 sec)

  1. Dockerfile.release.old_cpu

    FROM golang:1.21-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    		{arg: "key", wantKey: "key", wantValue: ""},
    		{arg: "", wantKey: "", wantValue: ""},
    	}
    	for _, tt := range tests {
    		t.Run(tt.arg, func(t *testing.T) {
    			gotKey, gotValue := splitEqual(tt.arg)
    			if gotKey != tt.wantKey {
    				t.Errorf("splitEqual(%v) got = %v, want %v", tt.arg, gotKey, tt.wantKey)
    			}
    			if gotValue != tt.wantValue {
    				t.Errorf("splitEqual(%v) got1 = %v, want %v", tt.arg, gotValue, tt.wantValue)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. cmd/sftp-server.go

    		case "pub-key-algos":
    			allowPubKeys = filterAlgos(arg, strings.Split(tokens[1], ","), supportedPubKeyAuthAlgos)
    		case "kex-algos":
    			allowKexAlgos = filterAlgos(arg, strings.Split(tokens[1], ","), supportedKexAlgos)
    		case "cipher-algos":
    			allowCiphers = filterAlgos(arg, strings.Split(tokens[1], ","), supportedCiphers)
    		case "mac-algos":
    			allowMACs = filterAlgos(arg, strings.Split(tokens[1], ","), supportedMACs)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. fastapi/_compat.py

        if origin is Union or origin is UnionType:
            at_least_one_scalar_sequence = False
            for arg in get_args(annotation):
                if field_annotation_is_scalar_sequence(arg):
                    at_least_one_scalar_sequence = True
                    continue
                elif not field_annotation_is_scalar(arg):
                    return False
            return at_least_one_scalar_sequence
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-utils_test.go

    func Test_hashDeterministicString(t *testing.T) {
    	tests := []struct {
    		name string
    		arg  map[string]string
    	}{
    		{
    			name: "zero",
    			arg:  map[string]string{},
    		},
    		{
    			name: "nil",
    			arg:  nil,
    		},
    		{
    			name: "one",
    			arg:  map[string]string{"key": "value"},
    		},
    		{
    			name: "several",
    			arg: map[string]string{
    				xhttp.AmzRestore:                 "FAILED",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 02 14:49:24 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. cmd/ftp-server.go

    		publicIP      string
    		portRange     string
    		tlsPrivateKey string
    		tlsPublicCert string
    	)
    
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  7. istioctl/docker/Dockerfile.istioctl

    # Version is the base image version from the TLD Makefile
    ARG BASE_VERSION=latest
    ARG ISTIO_BASE_REGISTRY=gcr.io/istio-release
    
    FROM ${ISTIO_BASE_REGISTRY}/base:${BASE_VERSION}
    USER 1000:1000
    ARG TARGETARCH
    COPY ${TARGETARCH:-amd64}/istioctl /usr/local/bin/istioctl
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Dec 19 15:53:08 GMT 2022
    - 305 bytes
    - Viewed (0)
  8. apache-maven/src/assembly/shared/init

      echo "$basedir"
    )
    }
    
    find_file_argument_basedir() {
    (
      basedir=`pwd`
    
      found_file_switch=0
      for arg in "$@"; do
        if [ ${found_file_switch} -eq 1 ]; then
          if [ -d "${arg}" ]; then
            basedir=`cd "${arg}" && pwd -P`
          elif [ -f "${arg}" ]; then
            basedir=`dirname "${arg}"`
            basedir=`cd "$basedir" && pwd -P`
            if [ ! -d "$basedir" ]; then
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Mar 05 22:52:54 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  9. internal/s3select/sql/analysis.go

    		}
    		for _, arg := range e.SFunc.ArgsList {
    			result.combine(arg.analyze(s))
    		}
    		return result
    
    	case sqlFnNullIf:
    		if len(e.SFunc.ArgsList) != 2 {
    			return qProp{err: fmt.Errorf("%s needs exactly 2 arguments", string(funcName))}
    		}
    		for _, arg := range e.SFunc.ArgsList {
    			result.combine(arg.analyze(s))
    		}
    		return result
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. cmd/local-locker_test.go

    	ctx := context.Background()
    	for i := range wResources {
    		arg := dsync.LockArgs{
    			UID:       mustGetUUID(),
    			Resources: []string{mustGetUUID()},
    			Source:    t.Name(),
    			Owner:     "owner",
    			Quorum:    0,
    		}
    		ok, err := l.Lock(ctx, arg)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if !ok {
    			t.Fatal("did not get write lock")
    		}
    		wResources[i] = arg.Resources[0]
    	}
    	for i := range rResources {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 11.8K bytes
    - Viewed (0)
Back to top