mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
erasure is now external pull it and update from minio-io/erasure
This commit is contained in:
2
Godeps/_workspace/src/github.com/minio-io/donut/Godeps/Godeps.json
generated
vendored
2
Godeps/_workspace/src/github.com/minio-io/donut/Godeps/Godeps.json
generated
vendored
@@ -12,7 +12,7 @@
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/erasure",
|
||||
"Rev": "3cece1a107115563682604b1430418e28f65dd80"
|
||||
"Rev": "8a72b14991a6835b4d30403e7cb201f373b7cb3a"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/minio/pkg/utils/split",
|
||||
|
||||
2
Godeps/_workspace/src/github.com/minio-io/erasure/cauchy_test.go
generated
vendored
2
Godeps/_workspace/src/github.com/minio-io/erasure/cauchy_test.go
generated
vendored
@@ -20,7 +20,7 @@ import (
|
||||
"bytes"
|
||||
"testing"
|
||||
|
||||
. "gopkg.in/check.v1"
|
||||
. "github.com/minio-io/check"
|
||||
)
|
||||
|
||||
type MySuite struct{}
|
||||
|
||||
6
Godeps/_workspace/src/github.com/minio-io/erasure/ec_types.h
generated
vendored
6
Godeps/_workspace/src/github.com/minio-io/erasure/ec_types.h
generated
vendored
@@ -2,7 +2,7 @@
|
||||
Copyright(c) 2011-2015 Intel Corporation All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
@@ -41,7 +41,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __unix__
|
||||
#if !defined(__unix__) && !defined(__APPLE__)
|
||||
#ifdef __MINGW32__
|
||||
# include <_mingw.h>
|
||||
#endif
|
||||
@@ -59,7 +59,7 @@ typedef unsigned char UINT8;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __unix__
|
||||
#if defined(__unix__) || defined(__APPLE__)
|
||||
# define DECLARE_ALIGNED(decl, alignval) decl __attribute__((aligned(alignval)))
|
||||
# define __forceinline static inline
|
||||
#else
|
||||
|
||||
7
Godeps/_workspace/src/github.com/minio-io/erasure/erasure_decode.go
generated
vendored
7
Godeps/_workspace/src/github.com/minio-io/erasure/erasure_decode.go
generated
vendored
@@ -32,9 +32,10 @@ import (
|
||||
// blocks. Decode can withstand data loss up to any M number of blocks.
|
||||
//
|
||||
// "encodedDataBlocks" is an array of K data blocks and M parity
|
||||
// blocks. Data blocks are position and order dependent. Missing blocks
|
||||
// are set to "nil". There must be at least "K" number of data|parity
|
||||
// blocks.
|
||||
// blocks. Data blocks are position and order dependent. Missing blocks
|
||||
// are set to "nil". There must be at least "K" number of data|parity
|
||||
// blocks.
|
||||
//
|
||||
// "dataLen" is the length of original source data
|
||||
func (e *Erasure) Decode(encodedDataBlocks [][]byte, dataLen int) (decodedData []byte, err error) {
|
||||
var source, target **C.uchar
|
||||
|
||||
2
Godeps/_workspace/src/github.com/minio-io/erasure/vandermonde_test.go
generated
vendored
2
Godeps/_workspace/src/github.com/minio-io/erasure/vandermonde_test.go
generated
vendored
@@ -19,7 +19,7 @@ package erasure
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
. "gopkg.in/check.v1"
|
||||
. "github.com/minio-io/check"
|
||||
)
|
||||
|
||||
func corruptChunks(chunks [][]byte, errorIndex []int) [][]byte {
|
||||
|
||||
Reference in New Issue
Block a user