Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,081 for cbits (0.22 sec)

  1. src/io/fs/fs.go

    // to another portably. Not all bits apply to all systems.
    // The only required bit is [ModeDir] for directories.
    type FileMode uint32
    
    // The defined file mode bits are the most significant bits of the [FileMode].
    // The nine least-significant bits are the standard Unix rwxrwxrwx permissions.
    // The values of these bits should be considered part of the public API and
    // may be used in wire protocols or disk representations: they must not be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 15 21:21:41 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/BloomFilterStrategies.java

            LockFreeBitArray bits) {
          long bitSize = bits.bitSize();
          long hash64 = Hashing.murmur3_128().hashObject(object, funnel).asLong();
          int hash1 = (int) hash64;
          int hash2 = (int) (hash64 >>> 32);
    
          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm.go

    	if cond == "" {
    		return true
    	}
    	bits, ok := ParseARMCondition(cond)
    	if !ok {
    		return false
    	}
    	/* hack to make B.NE etc. work: turn it into the corresponding conditional */
    	if prog.As == arm.AB {
    		prog.As = bcode[(bits^arm.C_SCOND_XOR)&0xf]
    		bits = (bits &^ 0xf) | arm.C_SCOND_NONE
    	}
    	prog.Scond = bits
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. test/rotate.go

    				var result string
    				if unsigned {
    					v := uint64(v0) >> (64 - bits)
    					v = uop[o](v<<l, v>>r)
    					v <<= 64 - bits
    					v >>= 64 - bits
    					result = fmt.Sprintf("%#x", v)
    				} else {
    					v := int64(v0) >> (64 - bits)
    					v = iop[o](v<<l, v>>r)
    					v <<= 64 - bits
    					v >>= 64 - bits
    					result = fmt.Sprintf("%#x", v)
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/dlpack.cc

      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
            return tensorflow::errors::InvalidArgument(
                "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits);
          }
          *tf_dtype = TF_DataType::TF_BOOL;
          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
            case 8:
              *tf_dtype = TF_DataType::TF_UINT8;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/debug/dwarf/buf.go

    }
    
    // Read a varint, which is 7 bits per byte, little endian.
    // the 0x80 bit means read another byte.
    func (b *buf) varint() (c uint64, bits uint) {
    	for i := 0; i < len(b.data); i++ {
    		byte := b.data[i]
    		c |= uint64(byte&0x7F) << bits
    		bits += 7
    		if byte&0x80 == 0 {
    			b.off += Offset(i + 1)
    			b.data = b.data[i+1:]
    			return c, bits
    		}
    	}
    	return 0, 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. test/strength.go

    package main
    
    import "fmt"
    
    func testMul(fact, bits int) string {
    	n := fmt.Sprintf("testMul_%d_%d", fact, bits)
    	fmt.Printf("func %s(s int%d) {\n", n, bits)
    
    	want := 0
    	for i := 0; i < 200; i++ {
    		fmt.Printf(`	if want, got := int%d(%d), s*%d; want != got {
    		failed = true
    		fmt.Printf("got %d * %%d == %%d, wanted %d\n",  s, got)
    	}
    `, bits, want, i, i, want)
    		want += fact
    	}
    
    	fmt.Printf("}\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 1K bytes
    - Viewed (0)
  8. src/syscall/const_plan9.go

    )
    
    // Bind flags
    const (
    	MORDER  = 0x0003 // mask for bits defining order of mounting
    	MREPL   = 0x0000 // mount replaces object
    	MBEFORE = 0x0001 // mount goes before others in union directory
    	MAFTER  = 0x0002 // mount goes after others in union directory
    	MCREATE = 0x0004 // permit creation in mounted directory
    	MCACHE  = 0x0010 // cache some data
    	MMASK   = 0x0017 // all bits on
    )
    
    // Rfork flags
    const (
    	RFNAMEG  = 1 << 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 14:05:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hashing.java

      public static HashFunction goodFastHash(int minimumBits) {
        int bits = checkPositiveAndMakeMultipleOf32(minimumBits);
    
        if (bits == 32) {
          return Murmur3_32HashFunction.GOOD_FAST_HASH_32;
        }
        if (bits <= 128) {
          return Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        }
    
        // Otherwise, join together some 128-bit murmur3s
        int hashFunctionsNeeded = (bits + 127) / 128;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/RISCV64Ops.go

    		{name: "ADDIW", argLength: 1, reg: gp11, asm: "ADDIW", aux: "Int64"},  // 32 low bits of arg0 + auxint, sign extended to 64 bits
    		{name: "NEG", argLength: 1, reg: gp11, asm: "NEG"},                    // -arg0
    		{name: "NEGW", argLength: 1, reg: gp11, asm: "NEGW"},                  // -arg0 of 32 bits, sign extended to 64 bits
    		{name: "SUB", argLength: 2, reg: gp21, asm: "SUB"},                    // arg0 - arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top