Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for new224 (0.13 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. 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)
  3. src/crypto/tls/prf.go

    	switch version {
    	case VersionTLS10, VersionTLS11:
    		return prf10, crypto.Hash(0)
    	case VersionTLS12:
    		if suite.flags&suiteSHA384 != 0 {
    			return prf12(sha512.New384), crypto.SHA384
    		}
    		return prf12(sha256.New), crypto.SHA256
    	default:
    		panic("unknown version")
    	}
    }
    
    func prfForVersion(version uint16, suite *cipherSuite) func(result, secret, label, seed []byte) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"MakeTable", Func, 0},
    		{"New", Func, 0},
    		{"Size", Const, 0},
    		{"Table", Type, 0},
    		{"Update", Func, 0},
    	},
    	"hash/fnv": {
    		{"New128", Func, 9},
    		{"New128a", Func, 9},
    		{"New32", Func, 0},
    		{"New32a", Func, 0},
    		{"New64", Func, 0},
    		{"New64a", Func, 0},
    	},
    	"hash/maphash": {
    		{"(*Hash).BlockSize", Method, 14},
    		{"(*Hash).Reset", Method, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top