Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 615 for xprintf (0.09 sec)

  1. docs/sts/ldap.go

    	if bucketToList == "" {
    		bucketToList = ldapUsername
    	}
    	fmt.Printf("Calling list objects on bucket named `%s` with temp creds:\n===\n", bucketToList)
    	objCh := minioClient.ListObjects(context.Background(), bucketToList, minio.ListObjectsOptions{})
    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 07 12:59:47 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. docs/select/select.py

        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
            statsDetails = event['Stats']['Details']
            print("Stats details bytesScanned: ")
            print(statsDetails['BytesScanned'])
            print("Stats details bytesProcessed: ")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 18 00:11:39 UTC 2018
    - 1K bytes
    - Viewed (0)
  3. buildscripts/cross-compile.sh

    }
    
    function _build() {
    	local osarch=$1
    	IFS=/ read -r -a arr <<<"$osarch"
    	os="${arr[0]}"
    	arch="${arr[1]}"
    	package=$(go list -f '{{.ImportPath}}')
    	printf -- "--> %15s:%s\n" "${osarch}" "${package}"
    
    	# go build -trimpath to build the binary.
    	export GOOS=$os
    	export GOARCH=$arch
    	export GO111MODULE=on
    	go build -trimpath -tags kqueue -o /dev/null
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 19 01:08:22 UTC 2023
    - 958 bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    		t.Skip("skipping in short mode")
    	}
    	buf := new(strings.Builder)
    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    			Name:   fmt.Sprintf("%d.dat", i),
    			Method: Store, // Deflate is too slow when it is compiled with -race flag
    		})
    		if err != nil {
    			t.Fatalf("creating file %d: %v", i, err)
    		}
    	}
    	if err := w.Close(); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. cmd/update_test.go

    			envValue:    "",
    			mode:        globalMinioModeFS,
    			expectedStr: fmt.Sprintf("MinIO (%s; %s; %s; source DEVELOPMENT.GOGET DEVELOPMENT.GOGET DEVELOPMENT.GOGET", runtime.GOOS, runtime.GOARCH, globalMinioModeFS),
    		},
    		{
    			envName:     "MESOS_CONTAINER_NAME",
    			envValue:    "mesos-11111",
    			mode:        globalMinioModeErasure,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. helm/minio/templates/console-ingress.yaml

    {{- if .Values.consoleIngress.enabled -}}
    {{- $fullName := printf "%s-console" (include "minio.fullname" .) -}}
    {{- $servicePort := .Values.consoleService.port -}}
    {{- $ingressPath := .Values.consoleIngress.path -}}
    apiVersion: {{ template "minio.consoleIngress.apiVersion" . }}
    kind: Ingress
    metadata:
      name: {{ $fullName }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 06:27:17 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. clause/select_test.go

    								},
    							},
    						},
    					},
    				},
    			}, clause.From{}},
    			"SELECT `age` = ? as name FROM `users`",
    			[]interface{}{18},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Feb 18 01:06:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. internal/kms/errors.go

    	Err     string // The error message returned to the client
    	Cause   error  // Optional, lower level error cause.
    }
    
    func (e Error) Error() string {
    	if e.Cause == nil {
    		return e.Err
    	}
    	return fmt.Sprintf("%s: %v", e.Err, e.Cause)
    }
    
    func errKeyCreationFailed(err error) Error {
    	return Error{
    		Code:    http.StatusInternalServerError,
    		APICode: "kms:KeyCreationFailed",
    		Err:     "failed to create KMS key",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. internal/config/config.go

    	return targets, nil
    }
    
    func getEnvVarName(subSys, target, param string) string {
    	if target == Default {
    		return fmt.Sprintf("%s%s%s%s", EnvPrefix, strings.ToUpper(subSys), Default, strings.ToUpper(param))
    	}
    
    	return fmt.Sprintf("%s%s%s%s%s%s", EnvPrefix, strings.ToUpper(subSys), Default, strings.ToUpper(param),
    		Default, target)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  10. internal/hash/reader_test.go

    			size:       4,
    			actualSize: 4,
    			md5hex:     "e2fc714c4727ee9395f324cd2e7f331f",
    			err:        ioutil.ErrOverread,
    		},
    	}
    	for i, testCase := range testCases {
    		t.Run(fmt.Sprintf("case-%d", i+1), func(t *testing.T) {
    			r, err := NewReader(context.Background(), testCase.src, testCase.size, testCase.md5hex, testCase.sha256hex, testCase.actualSize)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
Back to top