Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 72 for bitMask (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top