- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 688 for SLICE (1.59 sec)
-
src/runtime/slice.go
package runtime import ( "internal/abi" "internal/goarch" "runtime/internal/math" "runtime/internal/sys" "unsafe" ) type slice struct { array unsafe.Pointer len int cap int } // A notInHeapSlice is a slice backed by runtime/internal/sys.NotInHeap memory. type notInHeapSlice struct { array *notInHeap len int cap int } func panicmakeslicelen() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
src/encoding/gob/dec_helpers.go
errorf("decoding bool array or slice: length exceeds input size (%d elements)", length) } if i >= len(slice) { // This is a slice that we only partially allocated. growSlice(v, &slice, length) } slice[i] = state.decodeUint() != 0 } return true } func decComplex64Array(state *decoderState, v reflect.Value, length int, ovfl error) bool { // Can only slice if it is addressable. if !v.CanAddr() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 19:28:46 UTC 2023 - 15.4K bytes - Viewed (0) -
tests/associations_has_many_test.go
&Pet{Name: "pet-slice-append-1"}, []*Pet{{Name: "pet-slice-append-2-1"}, {Name: "pet-slice-append-2-2"}}, &Pet{Name: "pet-slice-append-3"}, ) AssertAssociationCount(t, users, "Pets", 10, "After Append") // Replace -> same as append DB.Model(&users).Association("Pets").Replace( []*Pet{{Name: "pet-slice-replace-1-1"}, {Name: "pet-slice-replace-1-2"}},
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 16K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc
Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size); root.graph()->AddControlEdge(control_pred.node(), slice.node()); std::unique_ptr<Graph> result; TF_ASSERT_OK(IncreaseDynamismForAutoJit(root, &result)); Node* static_shaped_slice = testing::FindNodeByName( result.get(), "slice/static_shaped_slice/static_shaped_slice");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 18.3K bytes - Viewed (0) -
pkg/kubelet/cm/dra/plugin/noderesources.go
// like this in an existing slice. continue } if numObsoleteSlices > 0 { // Update one existing slice. slice := obsoleteSlices[numObsoleteSlices-1] numObsoleteSlices-- slice = slice.DeepCopy() slice.ResourceModel = *resource logger.V(5).Info("Reusing existing node resource slice", "slice", klog.KObj(slice))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 20:12:53 UTC 2024 - 16.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go
if err != nil { t.Errorf("expected nil, got %#v", err) } // Append a non-nil error slice = append(slice, fmt.Errorf("err")) agg = NewAggregate(slice) if agg == nil { t.Errorf("expected non-nil") } if s := agg.Error(); s != "err" { t.Errorf("expected 'err', got %q", s) } if s := agg.Errors(); len(s) != 1 { t.Errorf("expected one-element slice, got %#v", s) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 13:16:21 UTC 2022 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc
} for (const Edge* e : slice->in_edges()) { if (e->IsControlEdge()) { g->AddControlEdge(e->src(), static_shaped_slice); } } g->RemoveNode(slice); } Status RewriteSlice(Graph* g, Node* slice, const SliceInputs& slice_inputs, absl::string_view cluster_name) { VLOG(3) << "Rewriting slice " << slice->name() << " to a \"static shaped\" Slice";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 13.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/endpointslice.go
for _, slice := range slices { esc.updateEndpointCacheForSlice(hostName, slice) } } return esc.endpointCache.Get(hostName) } func getServiceNamespacedName(slice *v1.EndpointSlice) types.NamespacedName { return types.NamespacedName{ Namespace: slice.GetNamespace(), Name: serviceNameForEndpointSlice(slice.GetLabels()), } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 16.9K bytes - Viewed (0) -
pkg/slices/slices_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 18.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 10.3K bytes - Viewed (0)