Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for shark (0.23 sec)

  1. cmd/erasure-server-pool.go

    		//   def main(args: Array[String]): Unit = {
    		//     val spark:SparkSession = SparkSession.builder()
    		//       .appName("SparkByExample")
    		//       .master("local[1]").getOrCreate()
    		//
    		//     spark.sparkContext.setLogLevel("ERROR")
    		//     spark.sparkContext.hadoopConfiguration.set("fs.s3a.endpoint", "http://minio-lb:9000")
    		//     spark.sparkContext.hadoopConfiguration.set("fs.s3a.path.style.access", "true")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrOverlappingConfigs: {
    		Code:           "InvalidArgument",
    		Description:    "Configurations overlap. Configurations on the same bucket cannot share a common event type.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnsupportedNotification: {
    		Code:           "UnsupportedNotification",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/xl-storage.go

    							return errVolumeNotFound
    						}
    						return verr
    					}
    				}
    			}
    			return osErrToFileErr(err)
    		}
    		if st.Mode().IsDir() {
    			return errFileNotFound
    		}
    		// Check if shard is truncated.
    		if st.Size() < fi.Erasure.ShardFileSize(part.Size) {
    			return errFileCorrupt
    		}
    	}
    
    	return nil
    }
    
    // deleteFile deletes a file or a directory if its empty unless recursive
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    	shardSize := int64(1024 * 1024)
    	shard := make([]byte, shardSize)
    	w := newStreamingBitrotWriter(storage, "", volName, fileName, size, algo, shardSize)
    	reader := bytes.NewReader(data)
    	for {
    		// Using io.Copy instead of this loop will not work for us as io.Copy
    		// will use bytes.Reader.WriteTo() which will not do shardSize'ed writes
    		// causing error.
    		n, err := reader.Read(shard)
    		w.Write(shard[:n])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    	}
    
    	// We did not find it, add it.
    	return x.addVersion(ventry)
    }
    
    func (x *xlMetaV2) SharedDataDirCount(versionID [16]byte, dataDir [16]byte) int {
    	// v2 object is inlined, if it is skip dataDir share check.
    	if x.data.entries() > 0 && x.data.find(uuid.UUID(versionID).String()) != nil {
    		return 0
    	}
    	var sameDataDirCount int
    	var decoded xlMetaDataDirDecoder
    	for _, version := range x.versions {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top