Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 52 for new224 (0.53 sec)

  1. 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)
  2. pkg/controller/history/controller_history.go

    // of probe is added written to the hash as well. The returned hash will be a safe encoded string to avoid bad words.
    func HashControllerRevision(revision *apps.ControllerRevision, probe *int32) string {
    	hf := fnv.New32()
    	if len(revision.Data.Raw) > 0 {
    		hf.Write(revision.Data.Raw)
    	}
    	if revision.Data.Object != nil {
    		hashutil.DeepHashObject(hf, revision.Data.Object)
    	}
    	if probe != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 05 13:33:52 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/compile/internal/walk/compare.go

    )
    
    func fakePC(n ir.Node) ir.Node {
    	// In order to get deterministic IDs, we include the package path, absolute filename, line number, column number
    	// in the calculation of the fakePC for the IR node.
    	hash := fnv.New32()
    	// We ignore the errors here because the `io.Writer` in the `hash.Hash` interface never returns an error.
    	io.WriteString(hash, base.Ctxt.Pkgpath)
    	io.WriteString(hash, base.Ctxt.PosTable.Pos(n.Pos()).AbsFilename())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. src/crypto/sha512/sha512_test.go

    			}
    		}
    	}
    }
    
    func TestSize(t *testing.T) {
    	c := New()
    	if got := c.Size(); got != Size {
    		t.Errorf("Size = %d; want %d", got, Size)
    	}
    	c = New384()
    	if got := c.Size(); got != Size384 {
    		t.Errorf("New384.Size = %d; want %d", got, Size384)
    	}
    	c = New512_224()
    	if got := c.Size(); got != Size224 {
    		t.Errorf("New512224.Size = %d; want %d", got, Size224)
    	}
    	c = New512_256()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:17:08 UTC 2023
    - 105.6K bytes
    - Viewed (0)
  6. src/strconv/eisel_lemire.go

    	{0x5CEAECFED289E5D2, 0x8DA471A9DE737E24}, // 1e221
    	{0x7425A83E872C5F47, 0xB10D8E1456105DAD}, // 1e222
    	{0xD12F124E28F77719, 0xDD50F1996B947518}, // 1e223
    	{0x82BD6B70D99AAA6F, 0x8A5296FFE33CC92F}, // 1e224
    	{0x636CC64D1001550B, 0xACE73CBFDC0BFB7B}, // 1e225
    	{0x3C47F7E05401AA4E, 0xD8210BEFD30EFA5A}, // 1e226
    	{0x65ACFAEC34810A71, 0x8714A775E3E95C78}, // 1e227
    	{0x7F1839A741A14D0D, 0xA8D9D1535CE3B396}, // 1e228
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 41.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/controller/controller_utils.go

    // a collisionCount to avoid hash collision. The hash will be safe encoded to
    // avoid bad words.
    func ComputeHash(template *v1.PodTemplateSpec, collisionCount *int32) string {
    	podTemplateSpecHasher := fnv.New32a()
    	hashutil.DeepHashObject(podTemplateSpecHasher, *template)
    
    	// Add collisionCount in the hash if it exists.
    	if collisionCount != nil {
    		collisionCountBytes := make([]byte, 8)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  10. 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