Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 259 for divides (0.24 sec)

  1. docs/erasure/README.md

    ## How are drives used for Erasure Code?
    
    MinIO divides the drives you provide into erasure-coding sets of *2 to 16* drives.  Therefore, the number of drives you present must be a multiple of one of these numbers.  Each object is written to a single erasure-coding set.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/math.go

    	if scale >= 18 {
    		return 0, base, false
    	}
    	divisor := pow10Int64(int64(scale))
    	return base / divisor, base % divisor, true
    }
    
    // removeInt64Factors divides in a loop; the return values have the property that
    // value == result * base ^ scale
    func removeInt64Factors(value int64, base int64) (result int64, times int32) {
    	times = 0
    	result = value
    	negative := result < 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 23 13:07:14 UTC 2020
    - 7.3K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    		const (
    			eosCode    = 0x3fffffff
    			eosNBits   = 30
    			eosPadByte = eosCode >> (eosNBits - 8)
    		)
    		pad := 8 - over
    		x = (x << pad) | (eosPadByte >> over)
    		n += pad // 8 now divides into n exactly
    	}
    	// n in (0, 8, 16, 24, 32)
    	switch n / 8 {
    	case 0:
    		return dst
    	case 1:
    		return append(dst, byte(x))
    	case 2:
    		y := uint16(x)
    		return append(dst, byte(y>>8), byte(y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

        int bytesToCopy = bufferSize - buffer.position();
        for (int i = 0; i < bytesToCopy; i++) {
          buffer.put(readBuffer.get());
        }
        munch(); // buffer becomes empty here, since chunkSize divides bufferSize
    
        // Now process directly from the rest of the input buffer
        while (readBuffer.remaining() >= chunkSize) {
          process(readBuffer);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/AbstractStreamingHasher.java

        int bytesToCopy = bufferSize - buffer.position();
        for (int i = 0; i < bytesToCopy; i++) {
          buffer.put(readBuffer.get());
        }
        munch(); // buffer becomes empty here, since chunkSize divides bufferSize
    
        // Now process directly from the rest of the input buffer
        while (readBuffer.remaining() >= chunkSize) {
          process(readBuffer);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. pkg/registry/core/service/allocator/bitmap.go

    	return NewAllocationMapWithOffset(max, rangeSpec, 0)
    }
    
    // NewAllocationMapWithOffset creates an allocation bitmap using a random scan strategy that
    // allows to pass an offset that divides the allocation bitmap in two blocks.
    // The first block of values will not be used for random value assigned by the AllocateNext()
    // method until the second block of values has been exhausted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  7. src/math/big/decimal.go

    // decimal and rounding.
    //
    // The key observation and some code (shr) is borrowed from
    // strconv/decimal.go: conversion of binary fractional values can be done
    // precisely in multi-precision decimal because 2 divides 10 (required for
    // >> of mantissa); but conversion of decimal floating-point values cannot
    // be done precisely in binary representation.
    //
    // In contrast to strconv/decimal.go, only right shift is implemented in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 22:45:29 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  8. src/net/ipsock.go

    func (addrs addrList) first(strategy func(Addr) bool) Addr {
    	for _, addr := range addrs {
    		if strategy(addr) {
    			return addr
    		}
    	}
    	return addrs[0]
    }
    
    // partition divides an address list into two categories, using a
    // strategy function to assign a boolean label to each address.
    // The first address, and any with a matching label, are returned as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. docs/distributed/README.md

    - **MinIO creates erasure-coding sets of _2_ to _16_ drives per set.  The number of drives you provide in total must be a multiple of one of those numbers.**
    - **MinIO chooses the largest EC set size which divides into the total number of drives or total number of nodes given - making sure to keep the uniform distribution i.e each node participates equal number of drives per set**.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. test/divide.go

    		panic("divide")
    	}
    	if t := x % y; t != r {
    		fmt.Printf("%d%%%d = %d, want %d\n", x, y, t, r)
    		panic("divide")
    	}
    }
    
    func f32(x, y, q, r int32) {
    	if t := x / y; t != q {
    		fmt.Printf("%d/%d = %d, want %d\n", x, y, t, q)
    		panic("divide")
    	}
    	if t := x % y; t != r {
    		fmt.Printf("%d%%%d = %d, want %d\n", x, y, t, r)
    		panic("divide")
    	}
    }
    
    func f64(x, y, q, r int64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.2K bytes
    - Viewed (0)
Back to top