- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 98 for NP (0.03 sec)
-
tools/bug-report/pkg/filter/filter.go
return nil, fmt.Errorf("bad node type at path %s: got %T, expected string", n, cn) } if len(np) != 4 { return nil, fmt.Errorf("unexpected leaf at path %s, expect leaf path to be namespace.deployment.pod.container", np) } if matchesKubeCaptureConfig(config, cluster, np[0], np[1], np[2], np[3]) { matchingPaths[np.String()] = struct{}{} } } return matchingPaths, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 3.9K bytes - Viewed (0) -
src/sync/atomic/value.go
continue } // First store completed. Check type and overwrite data. if typ != np.typ { panic("sync/atomic: swap of inconsistently typed value into Value") } op := (*efaceWords)(unsafe.Pointer(&old)) op.typ, op.data = np.typ, SwapPointer(&vp.data, np.data) return old } } // CompareAndSwap executes the compare-and-swap operation for the [Value]. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:48:55 UTC 2024 - 5.9K bytes - Viewed (0) -
cmd/peer-rest-server.go
return np, grid.NewRemoteErr(err) } return } // LoadUserHandler - reloads a user on the server. func (s *peerRESTServer) LoadUserHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) { objAPI := newObjectLayerFn() if objAPI == nil { return np, grid.NewRemoteErr(errServerNotInitialized) } accessKey := mss.Get(peerRESTUser) if accessKey == "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 52.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
self.assertAllClose(new_outputs_1, new_outputs_2) @parameterized.named_parameters( ('use_constant_with_int32_input', np.int32, False), ('use_variable_with_int32_input', np.int32, True), ('use_constant_with_int64_input', np.int64, False), ('use_variable_with_int64_input', np.int64, True), ) @test_util.run_v2_only def test_gather_model(self, input_type, use_variable):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
test/fixedbugs/issue46304.go
_q [20]uint64 plist []P } type P struct { tag string _x [10]uint64 b bool } type M int //go:noinline func (w *M) walkP(p *P) *P { np := &P{} *np = *p np.tag += "new" return np } func (w *M) walkOp(op *Op) *Op { if op == nil { return nil } orig := op cloned := false clone := func() { if !cloned { cloned = true op = &Op{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 22 00:51:17 UTC 2021 - 1.1K bytes - Viewed (0) -
test/interface/receiver.go
// Test Implicit methods for embedded types and // mixed pointer and non-pointer receivers. package main type T int var nv, np int func (t T) V() { if t != 42 { panic(t) } nv++ } func (t *T) P() { if *t != 42 { println(t, *t) panic("fail") } np++ } type V interface { V() } type P interface { P() V() } type S struct { T }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 1.3K bytes - Viewed (0) -
pkg/apis/networking/fuzzer/fuzzer.go
var Funcs = func(codecs runtimeserializer.CodecFactory) []interface{} { return []interface{}{ func(np *networking.NetworkPolicyPeer, c fuzz.Continue) { c.FuzzNoCustom(np) // fuzz self without calling this function again // TODO: Implement a fuzzer to generate valid keys, values and operators for // selector requirements. if np.IPBlock != nil { np.IPBlock = &networking.IPBlock{ CIDR: "192.168.1.0/24",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py
@test_util.deprecated_graph_mode_only def test_replace_tensors_by_numpy_ndarrays_is_noop_when_no_tensor(self): # Fill the representative dataset with np.ndarrays only. repr_ds: repr_dataset.RepresentativeDataset = [ { 'input_tensor': np.random.uniform(low=-1.0, high=1.0, size=(4, 3)), } for _ in range(8) ] with self.session() as sess:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 04 07:35:19 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
test/escape_calls.go
type Node struct { s string left, right *Node } func walk(np **Node) int { // ERROR "leaking param content: np" n := *np w := len(n.s) if n == nil { return 0 } wl := walk(&n.left) wr := walk(&n.right) if wl < wr { n.left, n.right = n.right, n.left // ERROR "ignoring self-assignment" wl, wr = wr, wl } *np = n return w + wl + wr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 22:06:07 UTC 2023 - 1.6K bytes - Viewed (0)