Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DecodeString (0.12 sec)

  1. cmd/iam.go

    	pt, ptok := jwtClaims.Lookup(iamPolicyClaimNameSA())
    	sp, spok := jwtClaims.Lookup(policy.SessionPolicyName)
    	if ptok && spok && pt == embeddedPolicyType {
    		policyBytes, err := base64.StdEncoding.DecodeString(sp)
    		if err != nil {
    			return UserIdentity{}, nil, err
    		}
    		embeddedPolicy, err = policy.ParseConfig(bytes.NewReader(policyBytes))
    		if err != nil {
    			return UserIdentity{}, nil, err
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    00001a0 69 70 50 4b 05 06 00 00 00 00 01 00 01 00 35 00
    00001b0 00 00 6d 01 00 00 00 00`
    	s = regexp.MustCompile(`[0-9a-f]{7}`).ReplaceAllString(s, "")
    	s = regexp.MustCompile(`\s+`).ReplaceAllString(s, "")
    	b, err := hex.DecodeString(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    }
    
    func returnRecursiveZip() (r io.ReaderAt, size int64) {
    	b := rZipBytes()
    	return bytes.NewReader(b), int64(len(b))
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    		s.writeErrorResponse(w, errInvalidArgument)
    		return
    	}
    
    	u, err := url.Parse(r.Form.Get(peerRESTURL))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    
    	sha256Sum, err := hex.DecodeString(r.Form.Get(peerRESTSha256Sum))
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	releaseInfo := r.Form.Get(peerRESTReleaseInfo)
    
    	lrTime, err := releaseInfoToReleaseTime(releaseInfo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    			Claims:          cred.Claims,
    		}) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    			return
    		}
    	}
    
    	policyBytes, err := base64.StdEncoding.DecodeString(formValues.Get("Policy"))
    	if err != nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedPOSTRequest), r.URL)
    		return
    	}
    
    	clientETag, err := etag.FromContentMD5(formValues)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    		fi.VersionID = mustGetUUID()
    	}
    
    	fi.DataDir = mustGetUUID()
    	if ckSum := userDefined[ReplicationSsecChecksumHeader]; ckSum != "" {
    		if v, err := base64.StdEncoding.DecodeString(ckSum); err == nil {
    			fi.Checksum = v
    		}
    		delete(userDefined, ReplicationSsecChecksumHeader)
    	}
    	uniqueID := mustGetUUID()
    	tempObj := uniqueID
    
    	// Initialize erasure metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top