- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for new224 (0.17 sec)
-
src/crypto/sha256/sha256_test.go
} } func TestSize(t *testing.T) { c := New() if got := c.Size(); got != Size { t.Errorf("Size = %d; want %d", got, Size) } c = New224() if got := c.Size(); got != Size224 { t.Errorf("New224.Size = %d; want %d", got, Size224) } } func TestBlockSize(t *testing.T) { c := New() if got := c.BlockSize(); got != BlockSize {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 03 21:21:42 UTC 2023 - 34.8K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
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) -
tensorflow/cc/gradients/math_grad_test.cc
EXPECT_LT(max_error, 1e-3f); } float RV(const std::vector<float>& v) { return v[random::New64() % v.size()]; } complex64 CRV(const std::vector<complex64>& v) { return v[random::New64() % v.size()]; } complex64 conjugate(const complex64& val) { return complex64(val.real(), -val.imag()); } Scope scope_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
tests/hooks_test.go
} // Code changed, but not selected, price should not change DB.Model(&product).Select("Name", "Price").Updates(map[string]interface{}{"Name": "Product New2", "code": "L1213"}) if product.Name != "Product New2" || product.Price != 170 || product.Code != "L1212" { t.Errorf("invalid data after update, got %+v", product) } // Code changed, price should changed
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Feb 18 01:20:29 UTC 2023 - 15.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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)