Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for new224 (0.19 sec)

  1. src/runtime/gc_test.go

    	// further move the stack.
    	new2 := uintptr(unsafe.Pointer(new))
    
    	t.Logf("old stack pointer %x, new stack pointer %x", old, new2)
    	if new2 == old {
    		// Check that we didn't screw up the test's escape analysis.
    		if cls := runtime.GCTestPointerClass(unsafe.Pointer(new)); cls != "stack" {
    			t.Fatalf("test bug: new (%#x) should be a stack pointer, not %s", new2, cls)
    		}
    		// This was a real failure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. pkg/kubelet/container/helpers.go

    // the running container with its desired spec.
    // Note: remember to update hashValues in container_hash_test.go as well.
    func HashContainer(container *v1.Container) uint64 {
    	hash := fnv.New32a()
    	containerJSON, _ := json.Marshal(pickFieldsToHash(container))
    	hashutil.DeepHashObject(hash, containerJSON)
    	return uint64(hash.Sum32())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. pkg/controller/tainteviction/taint_eviction.go

    type nodeUpdateItem struct {
    	nodeName string
    }
    
    type podUpdateItem struct {
    	podName      string
    	podNamespace string
    	nodeName     string
    }
    
    func hash(val string, max int) int {
    	hasher := fnv.New32a()
    	io.WriteString(hasher, val)
    	return int(hasher.Sum32() % uint32(max))
    }
    
    // GetPodsByNodeNameFunc returns the list of pods assigned to the specified node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

    constexpr char kDefaultShardingValue[] = "";
    constexpr char kMirroredVariableIndicesAttr[] = "_mirrored_variable_indices";
    
    std::string GetRandomStateVariableName() {
      return absl::StrCat("VariablesFormatState_", tensorflow::random::New64());
    }
    
    #define GEN_PASS_DEF_TPUVARIABLERUNTIMEREFORMATTINGPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.h.inc"
    
    struct TPUVariableRuntimeReformattingPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/controller.go

    //
    // The current algorithm to allocate IPs is deterministic across all istiods.
    func autoAllocateIPs(services []*model.Service) []*model.Service {
    	hashedServices := make([]*model.Service, maxIPs)
    	hash := fnv.New32a()
    	// First iterate through the range of services and determine its position by hash
    	// so that we can deterministically allocate an IP.
    	// We use "Double Hashning" for collision detection.
    	// The hash algorithm is
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  6. src/crypto/internal/mlkem768/mlkem768.go

    	dkB := dk.dk[:0]
    
    	for i := range s {
    		dkB = polyByteEncode(dkB, s[i])
    	}
    
    	for i := range t {
    		dkB = polyByteEncode(dkB, t[i])
    	}
    	dkB = append(dkB, ρ...)
    
    	H := sha3.New256()
    	H.Write(dkB[decryptionKeySize:])
    	dkB = H.Sum(dkB)
    
    	dkB = append(dkB, z[:]...)
    
    	if len(dkB) != len(dk.dk) {
    		panic("mlkem768: internal error: invalid decapsulation key size")
    	}
    
    	return dk
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/builtins0.go

    	q := new(*float64)
    	_ = *p == **q
    	new /* ERROR "not used" */ (int)
            _ = &new /* ERROR "cannot take address" */ (int)
    
    	_ = new(int... /* ERROR "invalid use of ..." */ )
    }
    
    func new2() {
    	f1 := func() (x []int) { return }
    	_ = new(f0 /* ERROR "not a type" */ ())
    	_ = new(f1 /* ERROR "not a type" */ ())
    }
    
    func panic1() {
    	panic() // ERROR "not enough arguments"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top