Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 54 for bitMasks (0.46 sec)

  1. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

      }
    
      private static final int MAXIMUM_CAPACITY = 1 << 30;
    
      static final float DEFAULT_LOAD_FACTOR = 1.0f;
    
      /** Bitmask that selects the low 32 bits. */
      private static final long NEXT_MASK = (1L << 32) - 1;
    
      /** Bitmask that selects the high 32 bits. */
      private static final long HASH_MASK = ~NEXT_MASK;
    
      static final int DEFAULT_SIZE = 3;
    
      // used to indicate blank table entries
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/topology_hints_test.go

    	return pluginapi.Device{
    		ID:       id,
    		Topology: &pluginapi.TopologyInfo{Nodes: []*pluginapi.NUMANode{{ID: int64(numa)}}},
    	}
    }
    
    func makeSocketMask(sockets ...int) bitmask.BitMask {
    	mask, _ := bitmask.NewBitMask(sockets...)
    	return mask
    }
    
    func TestGetTopologyHints(t *testing.T) {
    	tcases := getCommonTestCases()
    
    	for _, tc := range tcases {
    		m := ManagerImpl{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashing.java

      private static final int HASH_TABLE_BITS_MAX_BITS = 5;
    
      /** Use high bits of metadata for modification count. */
      static final int MODIFICATION_COUNT_INCREMENT = (1 << HASH_TABLE_BITS_MAX_BITS);
    
      /** Bitmask that selects the low bits of metadata to get hashTableBits. */
      static final int HASH_TABLE_BITS_MASK = (1 << HASH_TABLE_BITS_MAX_BITS) - 1;
    
      /** Maximum size of a compact hash-based collection (2^30 - 1 because 0 is UNSET). */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 02 21:41:22 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/topologymanager/policy_test.go

    limitations under the License.
    */
    
    package topologymanager
    
    import (
    	"reflect"
    	"testing"
    
    	"k8s.io/api/core/v1"
    	"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/bitmask"
    )
    
    type policyMergeTestCase struct {
    	name     string
    	hp       []HintProvider
    	expected TopologyHint
    }
    
    func commonPolicyMergeTestCases(numaNodes []int) []policyMergeTestCase {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:08 UTC 2022
    - 34.6K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/arg.go

    //       #16 when size = 10
    //       #32 when size = 11
    //
    // - arg_immediate_0_127_CRm_op2:
    //     an immediate encoded in "CRm:op2" in the range 0 to 127
    //
    // - arg_immediate_bitmask_64_N_imms_immr:
    //     a bitmask immediate for 64-bit variant and encoded in "N:imms:immr"
    //
    // - arg_immediate_SBFX_SBFM_64M_bitfield_width_64_imms:
    //     an immediate for the <width> bitfield of SBFX 64-bit variant
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 20K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

                        DenseIntElementsAttr& shape) {
      Type type = val_bcast.getType();
      Type elem_type = getElementTypeOrSelf(type);
      // Xla's all_reduce legalizer bitcasts to 32 bits, so only
      // element types size <= 4 bytes are supported.
      if (elem_type.isBF16() || elem_type.isF16() || elem_type.isTF32() ||
          elem_type.isF32()) {
        zero = builder.getFloatAttr(elem_type, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. 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)
Back to top