Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Fprintf (0.2 sec)

  1. cmd/admin-handlers.go

    	if err != nil {
    		kmsStat.Encrypt = fmt.Sprintf("Encryption failed: %v", err)
    	} else {
    		kmsStat.Encrypt = "success"
    	}
    
    	// 2. Verify that we can indeed decrypt the (encrypted) key
    	decryptedKey, err := GlobalKMS.DecryptKey(key.KeyID, key.Ciphertext, kmsContext)
    	switch {
    	case err != nil:
    		kmsStat.Decrypt = fmt.Sprintf("Decryption failed: %v", err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  2. cmd/server_test.go

    	// Content for the object to be uploaded.
    	buffer := bytes.NewReader([]byte("hello world"))
    	// make long object name.
    	longObjName := fmt.Sprintf("%0255d/%0255d/%0255d", 1, 1, 1)
    	if IsDocker() || IsKubernetes() {
    		longObjName = fmt.Sprintf("%0242d/%0242d/%0242d", 1, 1, 1)
    	}
    	// create new HTTP request to insert the object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	var success int
    	msgs := []string{}
    	for d, err := range errMap {
    		name := c.state.Peers[d].Name
    		if err == nil {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): succeeded", actionName, name, d))
    			success++
    		} else {
    			msgs = append(msgs, fmt.Sprintf("'%s' on site %s (%s): failed(%v)", actionName, name, d, err))
    		}
    	}
    	if success == len(errMap) {
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. cmd/object-handlers_test.go

    				// Read first byte of object
    				fmt.Sprintf("bytes=%d-%d", 0, 0),
    				// Read second byte of object
    				fmt.Sprintf("bytes=%d-%d", 1, 1),
    				// Read last byte of object
    				fmt.Sprintf("bytes=-%d", 1),
    				// Read all but first byte of object
    				"bytes=1-",
    				// Read first half of object
    				fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
    				// Read last half of object
    				fmt.Sprintf("bytes=-%d", objLen/2),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	defer func() {
    		if rinfo.ReplicationStatus == replication.Completed && tgt.ResetID != "" && dobj.OpType == replication.ExistingObjectReplicationType {
    			rinfo.ResyncTimestamp = fmt.Sprintf("%s;%s", UTCNow().Format(http.TimeFormat), tgt.ResetID)
    		}
    	}()
    
    	if dobj.VersionID == "" && rinfo.PrevReplicationStatus == replication.Completed && dobj.OpType != replication.ExistingObjectReplicationType {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_unauthorized_request = "{errors.unauthorized_request}";
    
        /** The key of the message: Failed to print thread dump. */
        public static final String ERRORS_failed_to_print_thread_dump = "{errors.failed_to_print_thread_dump}";
    
        /** The key of the message: {0} is not supported. */
        public static final String ERRORS_file_is_not_supported = "{errors.file_is_not_supported}";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    </p>
    
    <pre class="grammar">
    Function   Behavior
    
    print      prints all arguments; formatting of arguments is implementation-specific
    println    like print but prints spaces between arguments and a newline at the end
    </pre>
    
    <p>
    Implementation restriction: <code>print</code> and <code>println</code> need not
    accept arbitrary argument types, but printing of boolean, numeric, and string
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

       *         return Math.sqrt((int) in);
       *       }
       *     };
       * Map<String, Double> transformed = Maps.transformValues(map, sqrt);
       * System.out.println(transformed);
       * }</pre>
       *
       * ... prints {@code {a=2.0, b=3.0}}.
       *
       * <p>Changes in the underlying map are reflected in this view. Conversely, this view supports
       * removal operations, and these are reflected in the underlying map.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    overwritten below */}} {{ toYaml $.Values.meshConfig.defaultConfig.tracing | indent 8 }} {{- else }} {} {{- end }} {{- if .Values.global.remotePilotAddress }} {{- if .Values.pilot.enabled }} discoveryAddress: {{ printf "istiod-remote.%s.svc" .Release.Namespace }}:15012 {{- else }} discoveryAddress: {{ printf "istiod.%s.svc" .Release.Namespace }}:15012 {{- end }} {{- else }} discoveryAddress: istiod{{- if not (eq .Values.revision "") }}-{{ .Values.revision }}{{- end }}.{{.Release.Namespace}}.svc:15012 {{- end...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  10. cmd/metrics-v2.go

    				if *lp.Name == "api" && toLowerAPILabels {
    					labels[*lp.Name] = strings.ToLower(*lp.Value)
    				} else {
    					labels[*lp.Name] = *lp.Value
    				}
    			}
    			labels["le"] = fmt.Sprintf("%.3f", *b.UpperBound)
    			metric := MetricV2{
    				Description:    desc,
    				VariableLabels: labels,
    				Value:          float64(b.GetCumulativeCount()),
    			}
    			metrics = append(metrics, metric)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top