Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for happening (0.2 sec)

  1. internal/crypto/error.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"errors"
    	"fmt"
    )
    
    // Error is the generic type for any error happening during decrypting
    // an object. It indicates that the object itself or its metadata was
    // modified accidentally or maliciously.
    type Error struct {
    	msg   string
    	cause error
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/etag/etag.go

    //	 e2 := MD5(part-2)
    //	...
    //	 eN := MD5(part-N)
    //
    // Then, the ETag of the object is computed as MD5 of all individual
    // part checksums. S3 also encodes the number of parts into the ETag
    // by appending a -<number-of-parts> at the end:
    //
    //	ETag := MD5(e1 || e2 || e3 ... || eN) || -N
    //
    //	For example: ceb8853ddc5086cc4ab9e149f8f09c88-5
    //
    // However, this scheme is only used for multipart objects that are
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    		got.Reset()
    		for i := 0; i < 1000; i++ {
    			b := got.AvailableBuffer()
    			b = strconv.AppendInt(b, int64(i), 10)
    			got.Write(b)
    		}
    	})
    	if n > 0 {
    		t.Errorf("allocations occurred while appending")
    	}
    }
    
    func TestRuneIO(t *testing.T) {
    	const NRune = 1000
    	// Built a test slice while we write the data
    	b := make([]byte, utf8.UTFMax*NRune)
    	var buf Buffer
    	n := 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top