Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for bitMask (0.28 sec)

  1. src/runtime/map_test.go

    		m[i] += i
    	}
    	growflag := true
    	bitmask := 0
    	for k := range m {
    		if k < 16 {
    			bitmask |= 1 << uint(k)
    		}
    		if growflag {
    			// grow the table
    			for i := 100; i < 1000; i++ {
    				m[i] = i
    			}
    			// trigger a gc
    			runtime.GC()
    			growflag = false
    		}
    	}
    	if bitmask != 1<<16-1 {
    		t.Error("missing key", bitmask)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

      // A serialized "QuantizationInfo" object to specify value ranges for some of
      // the tensors with known names.
      std::string serialized_quant_stats = "";
    
      // A bitmask to encode support for reduced precision inference in the model.
      tflite::optimize::ReducedPrecisionSupport support_mask =
          tflite::optimize::ReducedPrecisionSupport::None;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/route/address.go

    			b = b[l:]
    		}
    	}
    	// The only remaining bytes in b should be alignment.
    	// However, under some circumstances DragonFly BSD appears to put
    	// more addresses in the message than are indicated in the address
    	// bitmask, so don't check for this.
    	return as[:], nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/walk.go

    		n = walkExpr(n, init)
    	} else {
    		n = walkStmt(n)
    	}
    	init.Append(n)
    }
    
    // The max number of defers in a function using open-coded defers. We enforce this
    // limit because the deferBits bitmask is currently a single byte (to minimize code size)
    const maxOpenDefers = 8
    
    // backingArrayPtrLen extracts the pointer and length from a slice or string.
    // This constructs two nodes referring to n, so n must be a cheapExpr.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/runtime/mbitmap.go

    		dst = add1(dst)
    		bits >>= 8
    	}
    	return totalBits
    }
    
    // materializeGCProg allocates space for the (1-bit) pointer bitmask
    // for an object of size ptrdata.  Then it fills that space with the
    // pointer bitmask specified by the program prog.
    // The bitmask starts at s.startAddr.
    // The result must be deallocated with dematerializeGCProg.
    func materializeGCProg(ptrdata uintptr, prog *byte) *mspan {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  6. src/runtime/panic.go

    // bit in a bitmask. At each function exit, we add inline code to directly make
    // the appropriate defer calls based on the bitmask and fn/arg information stored
    // on the stack. During panic/Goexit processing, the appropriate defer calls are
    // made using extra funcdata info that indicates the exact stack slots that
    // contain the bitmask and defer fn/args.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/policy_static_test.go

    	}
    	s := state.NewMemoryState()
    	s.SetMachineState(testCase.machineState)
    	s.SetMemoryAssignments(testCase.assignments)
    	return p, s, nil
    }
    
    func newNUMAAffinity(bits ...int) bitmask.BitMask {
    	affinity, err := bitmask.NewBitMask(bits...)
    	if err != nil {
    		panic(err)
    	}
    	return affinity
    }
    
    func TestStaticPolicyNew(t *testing.T) {
    	testCases := []testStaticPolicy{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 05:49:15 UTC 2023
    - 100.4K bytes
    - Viewed (0)
  8. src/net/ip.go

    // IP address as an IPv4 address or an IPv6 address
    // is a semantic property of the address, not just the
    // length of the byte slice: a 16-byte slice can still
    // be an IPv4 address.
    type IP []byte
    
    // An IPMask is a bitmask that can be used to manipulate
    // IP addresses for IP addressing and routing.
    //
    // See type [IPNet] and func [ParseCIDR] for details.
    type IPMask []byte
    
    // An IPNet represents an IP network.
    type IPNet struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewrite.go

    	mask_3 := (mask_1 & mask_2) << uint(GetPPC64Shiftsh(int64(sld)))
    	r_2 := GetPPC64Shiftsh(int64(sld))
    	r_3 := (r_1 + r_2) & 31 // This can wrap.
    
    	// Verify the result is still a valid bitmask of <= 32 bits.
    	if !isPPC64WordRotateMask(int64(mask_3)) || uint64(uint32(mask_3)) != mask_3 {
    		return 0
    	}
    	return encodePPC64RotateMask(r_3, int64(mask_3), 32)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  10. src/crypto/tls/cipher_suites.go

    type cipherSuite struct {
    	id uint16
    	// the lengths, in bytes, of the key material needed for each component.
    	keyLen int
    	macLen int
    	ivLen  int
    	ka     func(version uint16) keyAgreement
    	// flags is a bitmask of the suite* values, above.
    	flags  int
    	cipher func(key, iv []byte, isRead bool) any
    	mac    func(key []byte) hash.Hash
    	aead   func(key, fixedNonce []byte) aead
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top