Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 117 for printf (0.03 sec)

  1. src/bytes/example_test.go

    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	fmt.Printf("%d", b.Len())
    	// Output: 5
    }
    
    func ExampleBuffer_Next() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	fmt.Printf("%s\n", b.Next(2))
    	fmt.Printf("%s\n", b.Next(2))
    	fmt.Printf("%s", b.Next(2))
    	// Output:
    	// ab
    	// cd
    	// e
    }
    
    func ExampleBuffer_Read() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	rdbuf := make([]byte, 1)
    Registered: 2025-05-27 11:13
    - Last Modified: 2025-05-12 16:07
    - 16.5K bytes
    - Viewed (0)
  2. cmd/ftp-server.go

    type minioLogger struct{}
    
    // Print implement Logger
    func (log *minioLogger) Print(sessionID string, message interface{}) {
    	if serverDebugLog {
    		fmt.Printf("%s %s\n", sessionID, message)
    	}
    }
    
    // Printf implement Logger
    func (log *minioLogger) Printf(sessionID string, format string, v ...interface{}) {
    	if serverDebugLog {
    		if sessionID != "" {
    			fmt.Printf("%s %s\n", sessionID, fmt.Sprintf(format, v...))
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-05-09 20:10
    - 5.3K bytes
    - Viewed (0)
  3. manifests/charts/gateways/istio-egress/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with (coalesce ($.Values).profile ($.Values.global).profile) }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" .) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-12 16:18
    - 2.8K bytes
    - Viewed (0)
  4. manifests/charts/istio-cni/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with (coalesce ($.Values).profile ($.Values.global).profile) }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" .) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-12 16:18
    - 2.8K bytes
    - Viewed (0)
  5. manifests/charts/ztunnel/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with (coalesce ($.Values).profile ($.Values.global).profile) }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" .) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-12 16:18
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/asm/main.go

    			break
    		}
    	}
    	if ok && !*flags.SymABIs {
    		ctxt.NumberSyms()
    		obj.WriteObjFile(ctxt, buf)
    	}
    	if !ok || diag {
    		if failedFile != "" {
    			log.Printf("assembly of %s failed", failedFile)
    		} else {
    			log.Print("assembly failed")
    		}
    		buf.Close()
    		os.Remove(*flags.OutputFile)
    		os.Exit(1)
    	}
    Registered: 2025-05-27 11:13
    - Last Modified: 2025-04-13 15:09
    - 2.9K bytes
    - Viewed (0)
  7. manifests/charts/base/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with (coalesce ($.Values).profile ($.Values.global).profile) }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" .) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-12 16:18
    - 2.8K bytes
    - Viewed (0)
  8. manifests/charts/default/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with (coalesce ($.Values).profile ($.Values.global).profile) }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" .) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-12 16:18
    - 2.8K bytes
    - Viewed (0)
  9. manifests/charts/gateway/templates/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with (coalesce ($.Values).profile ($.Values.global).profile) }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" .) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-12 16:18
    - 2.8K bytes
    - Viewed (0)
  10. manifests/zzz_profile.yaml

    {{- $profile := dict }}
    {{- with (coalesce ($.Values).profile ($.Values.global).profile) }}
    {{- with $.Files.Get (printf "files/profile-%s.yaml" .)}}
    {{- $profile = (. | fromYaml) }}
    {{- else }}
    {{ fail (cat "unknown profile" .) }}
    {{- end }}
    {{- end }}
    {{- with .Values.compatibilityVersion }}
    {{- with $.Files.Get (printf "files/profile-compatibility-version-%s.yaml" .) }}
    {{- $ignore := mustMergeOverwrite $profile (. | fromYaml) }}
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-04-12 16:18
    - 2.9K bytes
    - Viewed (0)
Back to top