Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for parseList (0.14 sec)

  1. cmd/admin-handlers.go

    	blockSizeStr := r.Form.Get("blocksize")
    	fileSizeStr := r.Form.Get("filesize")
    
    	blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64)
    	if err != nil {
    		blockSize = 4 * humanize.MiByte // default value
    	}
    
    	fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64)
    	if err != nil {
    		fileSize = 1 * humanize.GiByte // default value
    	}
    
    	opts := madmin.DriveSpeedTestOpts{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public static int indexOf(CharSequence, CharSequence, int); public static boolean parseBoolean(CharSequence); public static short parseShort(CharSequence); public static short parseShort(CharSequence, int); public static int parseInt(CharSequence); public static int parseInt(CharSequence, int); public static long parseLong(CharSequence); public static long parseLong(CharSequence, int); public static float parseFloat(CharSequence); public static double parseDouble(CharSequence) throws NumberFormatExceptio;...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	if len(parts) != 4 {
    		return 0, 0, fmt.Errorf("invalid line %q", input)
    	}
    
    	// Parsing the numbers
    	num1, err := strconv.ParseUint(parts[2], 10, 32)
    	if err != nil {
    		return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err)
    	}
    
    	num2, err := strconv.ParseUint(parts[3], 10, 32)
    	if err != nil {
    		return 0, 0, fmt.Errorf("error parsing line %q: %w", input, err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    		if sizeStr, ok := r.Header[xhttp.AmzDecodedContentLength]; ok {
    			if sizeStr[0] == "" {
    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    				return
    			}
    			size, err = strconv.ParseInt(sizeStr[0], 10, 64)
    			if err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    		}
    	}
    	if size == -1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  5. pkg/controller/daemon/daemon_controller_test.go

    		if got, want := manager.queue.Len(), 0; got != want {
    			t.Fatalf("queue.Len() = %v, want %v", got, want)
    		}
    	}
    }
    
    func bumpResourceVersion(obj metav1.Object) {
    	ver, _ := strconv.ParseInt(obj.GetResourceVersion(), 10, 32)
    	obj.SetResourceVersion(strconv.FormatInt(ver+1, 10))
    }
    
    // getQueuedKeys returns a sorted list of keys in the queue.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control_test.go

    	obj, isObj := object.(metav1.Object)
    	if !isObj {
    		return
    	}
    	if version := obj.GetResourceVersion(); version == "" {
    		obj.SetResourceVersion("1")
    	} else if intValue, err := strconv.ParseInt(version, 10, 32); err == nil {
    		obj.SetResourceVersion(strconv.FormatInt(intValue+1, 10))
    	}
    }
    func TestParallelScale(t *testing.T) {
    	for _, tc := range []struct {
    		desc                        string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  7. src/net/http/server.go

    	w.status = code
    
    	if w.calledHeader && w.cw.header == nil {
    		w.cw.header = w.handlerHeader.Clone()
    	}
    
    	if cl := w.handlerHeader.get("Content-Length"); cl != "" {
    		v, err := strconv.ParseInt(cl, 10, 64)
    		if err == nil && v >= 0 {
    			w.contentLength = v
    		} else {
    			w.conn.server.logf("http: invalid Content-Length of %q", cl)
    			w.handlerHeader.Del("Content-Length")
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/webcomponents.min.js

    !0:"]"==y&&(g=!1),d+=y):c("Invalid code point in host/hostname: "+y)}else if(this._host=r.call(this,d),d="",l="port","hostname"==a)break e;break;case"port":if(/[0-9]/.test(y))d+=y;else{if(f==y||"/"==y||"\\"==y||"?"==y||"#"==y||a){if(""!=d){var O=parseInt(d,10);O!=p[this._scheme]&&(this._port=O+""),d=""}if(a)break e;l="relative path start";continue}"\t"==y||"\n"==y||"\r"==y?c("Invalid code point in port: "+y):n.call(this)}break;case"relative path start":if("\\"==y&&c("'\\' not allowed in path."),l="relative...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 115.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js

    scale("+s+")";break;case"bgy":case"bgx":t["background-position-"+e[2]]="calc("+o+" + "+s+"px)";break;case"color":case"backgroundColor":case"borderColor":var a=Zr(n,l),h=a[0],u=a[1],c=a[2];t[e]="rgba("+h.map(function(t,e){return t+=c*(u[e]-t),3===e?j(t):parseInt(t,10)}).join(",")+")";break;case"blur":r=r||"px",t.filter+=" blur("+(s+r)+")";break;case"hue":r=r||"deg",t.filter+=" hue-rotate("+(s+r)+")";break;case"fopacity":r=r||"%",t.filter+=" opacity("+(s+r)+")";break;case"grayscale":case"invert":case"sat...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 130.5K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller_test.go

    				if !hasJobTrackingFinalizer(orphanPod) {
    					t.Errorf("Unexpected removal of the Job's finalizer")
    				}
    			}
    		})
    	}
    }
    
    func bumpResourceVersion(obj metav1.Object) {
    	ver, _ := strconv.ParseInt(obj.GetResourceVersion(), 10, 32)
    	obj.SetResourceVersion(strconv.FormatInt(ver+1, 10))
    }
    
    func TestJobApiBackoffReset(t *testing.T) {
    	t.Cleanup(setDurationDuringTest(&DefaultJobApiBackOff, fastJobApiBackoff))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
Back to top