Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for CAmount (0.17 sec)

  1. internal/ioutil/hardlimitreader.go

    func HardLimitReader(r io.Reader, n int64) io.Reader { return &HardLimitedReader{r, n} }
    
    // A HardLimitedReader reads from R but limits the amount of
    // data returned to just N bytes. Each call to Read
    // updates N to reflect the new amount remaining.
    // Read returns EOF when N <= 0 or when the underlying R returns EOF.
    type HardLimitedReader struct {
    	R io.Reader // underlying reader
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. cmd/batch-expire_test.go

        token: Bearer xxxxx # optional authentication token for the notification endpoint
      
      retry:
        attempts: 10 # number of retries for the job before giving up
        delay: 500ms # least amount of delay between each retry
    `
    	var job BatchJobRequest
    	err := yaml.UnmarshalStrict([]byte(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. cni/pkg/constants/constants.go

    // Exposed for testing constants
    var (
    	CNIBinDir          = "/opt/cni/bin"
    	HostCNIBinDir      = "/host/opt/cni/bin"
    	ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount"
    	// Well-known subpath we will mount any needed host-mounts under,
    	// to preclude shadowing or breaking any pod-internal mounts
    	HostMountsPath = "/host"
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 01:42:30 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. operator/cmd/mesh/shared.go

    	Kubeconfig string
    	// ComponentName of the kubeconfig context to use.
    	Context string
    	// DryRun performs all steps except actually applying the manifests or creating output dirs/files.
    	DryRun bool
    	// Maximum amount of time to wait for resources to be ready after install when Wait=true.
    	WaitTimeout time.Duration
    }
    
    func applyManifest(kubeClient kube.Client, client client.Client, manifestStr string,
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. misc/ios/go_ios_exec.go

    		} `xml:"dict"`
    	}
    	if err := xml.Unmarshal(out, &info); err != nil {
    		return fmt.Errorf("mountDevImage: failed to decode mount information: %v", err)
    	}
    	dict, err := parsePlistDict(info.Dict.Data)
    	if err != nil {
    		return fmt.Errorf("mountDevImage: failed to parse mount information: %v", err)
    	}
    	if dict["ImagePresent"] == "true" && dict["Status"] == "Complete" {
    		return nil
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/arm64.go

    func ARM64RegisterExtension(a *obj.Addr, ext string, reg, num int16, isAmount, isIndex bool) error {
    	Rnum := (reg & 31) + int16(num<<5)
    	if isAmount {
    		if num < 0 || num > 7 {
    			return errors.New("index shift amount is out of range")
    		}
    	}
    	if reg <= arm64.REG_R31 && reg >= arm64.REG_R0 {
    		if !isAmount {
    			return errors.New("invalid register extension")
    		}
    		switch ext {
    		case "UXTB":
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Sep 29 09:04:58 GMT 2022
    - 10.4K bytes
    - Viewed (0)
  7. cmd/server-main.go

    		Value:  xhttp.DefaultIdleTimeout,
    		Usage:  "idle timeout is the maximum amount of time to wait for the next request when keep-alive are enabled",
    		EnvVar: "MINIO_IDLE_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "read-header-timeout",
    		Value:  xhttp.DefaultReadHeaderTimeout,
    		Usage:  "read header timeout is the amount of time allowed to read request headers",
    		EnvVar: "MINIO_READ_HEADER_TIMEOUT",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  8. cmd/data-scanner.go

    // the tree will be recursively scanned and the branches with the least number of objects will be
    // compacted until the limit is reached.
    //
    // This ensures that any branch will never contain an unreasonable amount of other branches,
    // and also that small branches with few objects don't take up unreasonable amounts of space.
    // This keeps the cache size at a reasonable size for all buckets.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    // Reader.Next advances to the next file in the archive (including the first),
    // and then Reader can be treated as an io.Reader to access the file's data.
    type Reader struct {
    	r    io.Reader
    	pad  int64      // Amount of padding (ignored) after current file entry
    	curr fileReader // Reader for current file entry
    	blk  block      // Buffer to use as temporary local storage
    
    	// err is a persistent error.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. internal/disk/stat_windows.go

    	// GetDiskFreeSpaceEx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    	// Retrieves information about the amount of space that is available on a disk volume,
    	// which is the total amount of space, the total amount of free space, and the total
    	// amount of free space available to the user that is associated with the calling thread.
    	GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top