Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for White (0.2 sec)

  1. cmd/streaming-signature-v4.go

    	}
    	// Parse s3 specific chunk extension and fetch the values.
    	hexChunkSize, hexChunkSignature := parseS3ChunkExtension(buf)
    	return hexChunkSize, hexChunkSignature, nil
    }
    
    // trimTrailingWhitespace - trim trailing white space.
    func trimTrailingWhitespace(b []byte) []byte {
    	for len(b) > 0 && isASCIISpace(b[len(b)-1]) {
    		b = b[:len(b)-1]
    	}
    	return b
    }
    
    // isASCIISpace - is ascii space?
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  2. internal/config/certs.go

    	// Read certificate file.
    	var data []byte
    	if data, err = os.ReadFile(certFile); err != nil {
    		return nil, err
    	}
    
    	// Trimming leading and tailing white spaces.
    	data = bytes.TrimSpace(data)
    
    	// Parse all certs in the chain.
    	current := data
    	for len(current) > 0 {
    		var pemBlock *pem.Block
    		if pemBlock, current = pem.Decode(current); pemBlock == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.8K bytes
    - Viewed (0)
Back to top