Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 47 for blocksize (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/erasure-decode_test.go

    	{dataBlocks: 6, onDisks: 12, offDisks: 0, blocksize: int64(blockSizeV2), data: int64(2 * blockSizeV2), offset: 512, length: int64(blockSizeV2) + 8*1024, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false},           // 30
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. cmd/erasure-heal_test.go

    	{dataBlocks: 5, disks: 10, offDisks: 3, badDisks: 1, badStaleDisks: 0, blocksize: int64(blockSizeV2), size: oneMiByte, algorithm: DefaultBitrotAlgorithm, shouldFail: false},  // 3
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. cmd/erasure-encode_test.go

    	{dataBlocks: 4, onDisks: 8, offDisks: 2, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 2, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false},                 // 2
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. src/archive/tar/writer_test.go

    					testReadFrom{fileOps{
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    						int64(1e10 - blockSize),
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  5. cmd/erasure-coding.go

    // Erasure - erasure encoding details.
    type Erasure struct {
    	encoder                  func() reedsolomon.Encoder
    	dataBlocks, parityBlocks int
    	blockSize                int64
    }
    
    // NewErasure creates a new ErasureStorage.
    func NewErasure(ctx context.Context, dataBlocks, parityBlocks int, blockSize int64) (e Erasure, err error) {
    	// Check the parameters for sanity now.
    	if dataBlocks <= 0 || parityBlocks < 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. cmd/metacache-stream.go

    	}
    	w := metacacheWriter{
    		mw:        nil,
    		blockSize: blockSize,
    	}
    	w.creator = func() error {
    		s2w := s2.NewWriter(out, s2.WriterBlockSize(blockSize), s2.WriterConcurrency(2))
    		w.mw = msgp.NewWriter(s2w)
    		w.creator = nil
    		if err := w.mw.WriteByte(metacacheStreamVersion); err != nil {
    			return err
    		}
    
    		w.closer = func() (err error) {
    			defer func() {
    				cerr := s2w.Close()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  7. internal/disk/directio_darwin.go

    	fd := f.Fd()
    	_, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    func AlignedBlock(blockSize int) []byte {
    	return directio.AlignedBlock(blockSize)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  8. internal/disk/directio_unix.go

    	}
    	flag &= ^(syscall.O_DIRECT)
    	_, err = unix.FcntlInt(fd, unix.F_SETFL, flag)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    func AlignedBlock(blockSize int) []byte {
    	return directio.AlignedBlock(blockSize)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Jun 17 14:31:36 GMT 2023
    - 1.6K bytes
    - Click Count (0)
  9. cmd/handler-api.go

    		// total_ram / ram_per_request
    		blockSize := xioutil.LargeBlock + xioutil.SmallBlock
    		if legacy {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 10MiB (default erasure block size v1) + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV1*2+blockSizeV2*2)))
    		} else {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            // Pad to fixed block size to prevent timing leaks
            int blockSize = cipher.getBlockSize();
            if (blockSize == 0)
                blockSize = 16; // GCM mode
    
            int paddedLength = ((message.length + blockSize - 1) / blockSize) * blockSize;
            byte[] paddedMessage = new byte[Math.max(paddedLength, message.length)];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top