Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for isType (0.15 sec)

  1. cmd/signature-v4.go

    }
    
    // getSigningKey hmac seed to calculate final signature.
    func getSigningKey(secretKey string, t time.Time, region string, stype serviceType) []byte {
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. internal/disk/disk.go

    // Files - total inodes available
    // Ffree - free inodes available
    // FSType - file system type
    // Major - major dev id
    // Minor - minor dev id
    // Devname - device name
    type Info struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	Files      uint64
    	Ffree      uint64
    	FSType     string
    	Major      uint32
    	Minor      uint32
    	Name       string
    	Rotational *bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. cmd/signature-v4-parser.go

    		c.scope.region,
    		c.scope.service,
    		c.scope.request,
    	}, SlashSeparator)
    }
    
    func getReqAccessKeyV4(r *http.Request, region string, stype serviceType) (auth.Credentials, bool, APIErrorCode) {
    	ch, s3Err := parseCredentialHeader("Credential="+r.Form.Get(xhttp.AmzCredential), region, stype)
    	if s3Err != ErrNone {
    		// Strip off the Algorithm prefix.
    		v4Auth := strings.TrimPrefix(r.Header.Get("Authorization"), signV4Algorithm)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.java

     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static jsinterop.annotations.JsPackage.GLOBAL;
    
    import jsinterop.annotations.JsMethod;
    import jsinterop.annotations.JsType;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** @author Jesse Wilson */
    final class Platform {
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    		}
    		iAddr := retrieveListenerAddress(listeners[i])
    		jAddr := retrieveListenerAddress(listeners[j])
    		if iAddr != jAddr {
    			return iAddr < jAddr
    		}
    		iType := retrieveListenerType(listeners[i])
    		jType := retrieveListenerType(listeners[j])
    		return iType < jType
    	})
    
    	fmt.Fprintln(w, "LISTENER\tCHAIN\tMATCH\tDESTINATION")
    	for _, l := range listeners {
    		chains := getFilterChains(l)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  6. internal/disk/stat_linux_32bit.go

    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Frsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Type),
    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    	if info.Free > info.Total {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. internal/disk/stat_netbsd.go

    	info = Info{
    		Total:  uint64(s.Frsize) * (uint64(s.Blocks) - reservedBlocks),
    		Free:   uint64(s.Frsize) * uint64(s.Bavail),
    		Files:  uint64(s.Files),
    		Ffree:  uint64(s.Ffree),
    		FSType: string(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. internal/disk/stat_openbsd.go

    	info = Info{
    		Total:  uint64(s.F_bsize) * (uint64(s.F_blocks) - reservedBlocks),
    		Free:   uint64(s.F_bsize) * uint64(s.F_bavail),
    		Files:  uint64(s.F_files),
    		Ffree:  uint64(s.F_ffree),
    		FSType: getFSType(s.F_fstypename[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. internal/disk/stat_windows.go

    	}
    
    	info = Info{
    		Total:  uint64(lpTotalNumberOfBytes),
    		Free:   uint64(lpTotalNumberOfFreeBytes),
    		Used:   uint64(lpTotalNumberOfBytes) - uint64(lpTotalNumberOfFreeBytes),
    		FSType: getFSType(path),
    	}
    
    	// Return values of GetDiskFreeSpace()
    	lpSectorsPerCluster := uint32(0)
    	lpBytesPerSector := uint32(0)
    	lpNumberOfFreeClusters := uint32(0)
    	lpTotalNumberOfClusters := uint32(0)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. cmd/auth-handler.go

    }
    
    func reqSignatureV4Verify(r *http.Request, region string, stype serviceType) (s3Error APIErrorCode) {
    	sha256sum := getContentSha256Cksum(r, stype)
    	switch {
    	case isRequestSignatureV4(r):
    		return doesSignatureMatch(sha256sum, r, region, stype)
    	case isRequestPresignedSignatureV4(r):
    		return doesPresignedSignatureMatch(sha256sum, r, region, stype)
    	default:
    		return ErrAccessDenied
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
Back to top