Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,123 for printf (0.22 sec)

  1. docs/debugging/reorder-disks/main.go

    		diskName := actualDisksName[loc]
    		if diskName == "" {
    			log.Printf("skipping disk location `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		mami, err := getMajorMinor(diskName)
    		if err != nil {
    			log.Printf("skipping `%s`, err: %v\n", diskName, err)
    			continue
    		}
    		devName := mountMap[mami]
    		uuid := uuidMap[devName]
    		fmt.Printf("UUID=%s\t%s\txfs\tdefaults,noatime\t0\t2\n", uuid, expectedDiskName)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    	if b != '\r' || err != nil {
    		if cr.debug {
    			fmt.Printf("want %q, got %q\n", "\r", string(b))
    		}
    		cr.err = errMalformedEncoding
    		return n, cr.err
    	}
    	b, err = cr.reader.ReadByte()
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil {
    		cr.err = err
    		return n, cr.err
    	}
    	if b != '\n' {
    		if cr.debug {
    			fmt.Printf("want %q, got %q\n", "\r", string(b))
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. internal/grid/manager.go

    		defer func() {
    			if debugPrint {
    				fmt.Printf("grid: Handler returning from: %v %v\n", req.Method, req.URL)
    			}
    			if r := recover(); r != nil {
    				debug.PrintStack()
    				err := fmt.Errorf("grid: panic: %v\n", r)
    				gridLogIf(context.Background(), err, err.Error())
    				w.WriteHeader(http.StatusInternalServerError)
    			}
    		}()
    		if debugPrint {
    			fmt.Printf("grid: Got a %s request for: %v\n", req.Method, req.URL)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. helm/minio/templates/_helpers.tpl

    "minio.deployment.apiVersion" -}} {{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for statefulset. */}} {{- define "minio.statefulset.apiVersion" -}} {{- if semverCompare "<1.16-0" .Capabilities.KubeVersion.Version -}} {{- print "apps/v1beta2" -}} {{- else -}} {{- print "apps/v1" -}} {{- end -}} {{- end -}} {{/* Return the appropriate apiVersion for ingress. */}}...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 6.5K bytes
    - Viewed (2)
  5. manifests/charts/istio-control/istio-discovery/templates/zzz_profile.yaml

    {{- $_ := unset $.Values "defaults" }}
    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  6. manifests/zzz_profile.yaml

    {{- $_ := unset $.Values "defaults" }}
    {{- $profile := dict }}
    {{- with .Values.profile }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" $.Values.profile) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. docs/sts/web-identity.go

    		Endpoint: oauth2.Endpoint{
    			AuthURL:  ddoc.AuthEndpoint,
    			TokenURL: ddoc.TokenEndpoint,
    		},
    		RedirectURL: fmt.Sprintf("http://10.0.0.67:%d/oauth2/callback", port),
    		Scopes:      scopes,
    	}
    
    	state := randomState()
    
    	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
    		log.Printf("%s %s", r.Method, r.RequestURI)
    		if r.RequestURI != "/" {
    			http.NotFound(w, r)
    			return
    		}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  8. docs/iam/access-manager-plugin.go

    	json.NewEncoder(w).Encode(map[string]string{
    		"error": fmt.Sprintf("%v", err),
    	})
    }
    
    type Result struct {
    	Result bool `json:"result"`
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "  ")
    	fmt.Printf("Received JSON payload:\n%s\n", out.String())
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. docs/features/events.md

    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    System.out.println("REQUEST 2 (pooled connection)");
    try (Response response = client.newCall(request).execute()) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue21897.go

    	xCFNumberRef = C.CFNumberCreate(C.kCFAllocatorSystemDefault, C.kCFNumberSInt64Type, unsafe.Pointer(&v))
    	//fmt.Printf("CFNumberRef: %x\n", uintptr(unsafe.Pointer(xCFNumberRef)))
    }
    
    var xCFNumberRef C.CFNumberRef
    
    func testCFDateRef() {
    	xCFDateRef = C.CFDateCreate(C.kCFAllocatorSystemDefault, 0) // 0 value is 1 Jan 2001 00:00:00 GMT
    	//fmt.Printf("CFDateRef: %x\n", uintptr(unsafe.Pointer(xCFDateRef)))
    }
    
    var xCFDateRef C.CFDateRef
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top