Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 217 for bits (0.03 sec)

  1. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        for (int b = 0; b < 4; ++b) {
          for (int bit = 128; bit != 0; bit >>= 1) {
            expected[b][bit] = next;
            next = advanceOneBit(next);
          }
        }
        for (int b = 0; b < 4; ++b) {
          expected[b][0] = 0;
          for (int bit = 2; bit < 256; bit <<= 1) {
            for (int i = bit + 1; i < (bit << 1); i++) {
              expected[b][i] = expected[b][bit] ^ expected[b][i ^ bit];
            }
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. misc/cgo/gmp/gmp.go

    func (z *Int) Bytes() []byte {
    	b := make([]byte, (z.Len()+7)/8)
    	n := C.size_t(len(b))
    	C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0])
    	return b[0:n]
    }
    
    // Len returns the length of z in bits.  0 is considered to have length 1.
    func (z *Int) Len() int {
    	z.doinit()
    	return int(C.mpz_sizeinbase(&z.i[0], 2))
    }
    
    // Set sets z = x and returns z.
    func (z *Int) Set(x *Int) *Int {
    	z.doinit()
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    		}
    	}
    	return -1
    }
    
    // asciiSet is a 32-byte value, where each bit represents the presence of a
    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Utf8.java

            // Three-byte form.
            if (index + 1 >= end) {
              return false;
            }
            int byte2 = bytes[index++];
            if (byte2 > (byte) 0xBF
                // Overlong? 5 most significant bits must not all be zero.
                || (byte1 == (byte) 0xE0 && byte2 < (byte) 0xA0)
                // Check for illegal surrogate codepoints.
                || (byte1 == (byte) 0xED && (byte) 0xA0 <= byte2)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Doubles.java

       */
      public static int hashCode(double value) {
        return ((Double) value).hashCode();
        // TODO(kevinb): do it this way when we can (GWT problem):
        // long bits = Double.doubleToLongBits(value);
        // return (int) (bits ^ (bits >>> 32));
      }
    
      /**
       * Compares the two specified {@code double} values. The sign of the value returned is the same as
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_gen.go

    	}
    	z.XLV1, bts, err = msgp.ReadBoolBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "XLV1")
    		return
    	}
    	z.ModTime, bts, err = msgp.ReadTimeBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	z.Size, bts, err = msgp.ReadInt64Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "Size")
    		return
    	}
    	z.Mode, bts, err = msgp.ReadUint32Bytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  7. api/go1.18.txt

    pkg net/netip, method (AddrPort) Port() uint16
    pkg net/netip, method (AddrPort) String() string
    pkg net/netip, method (Prefix) Addr() Addr
    pkg net/netip, method (Prefix) AppendTo([]uint8) []uint8
    pkg net/netip, method (Prefix) Bits() int
    pkg net/netip, method (Prefix) Contains(Addr) bool
    pkg net/netip, method (Prefix) IsSingleIP() bool
    pkg net/netip, method (Prefix) IsValid() bool
    pkg net/netip, method (Prefix) MarshalBinary() ([]uint8, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileInputStream.java

    import jcifs.internal.smb2.io.Smb2ReadResponse;
    import jcifs.util.transport.TransportException;
    
    
    /**
     * This InputStream can read bytes from a file on an SMB file server. Offsets are 64 bits.
     */
    public class SmbFileInputStream extends InputStream {
    
        private static final Logger log = LoggerFactory.getLogger(SmbFileInputStream.class);
    
        private SmbFileHandleImpl handle;
        private long fp;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  9. cmd/http-stats.go

    // HTTP requests made by all clients
    type HTTPStats struct {
    	s3RequestsInQueue       int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_                       int32 // For 64 bits alignment
    	s3RequestsIncoming      uint64
    	rejectedRequestsAuth    uint64
    	rejectedRequestsTime    uint64
    	rejectedRequestsHeader  uint64
    	rejectedRequestsInvalid uint64
    	currentS3Requests       HTTPAPIStats
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. docs/distributed/README.md

    ### Data protection
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top