- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 194 for asSlice (0.19 sec)
-
src/net/rawconn.go
// // Other packages in std that also import [internal/poll] (such as os) // can use a type assertion to access this extension method so that // they can pass the *poll.FD to functions like poll.Splice. // // PollFD is not intended for use outside the standard library. func (c *rawConn) PollFD() *poll.FD { if !c.ok() { return nil } return &c.fd.pfd } func newRawConn(fd *netFD) *rawConn {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc
"expected tf_executor.island"; // Move inner ops in island to before the outer graph. auto& island_body = island_op.GetBody().getOperations(); parent_block->getOperations().splice(graph_position, island_body, island_body.begin(), std::prev(island_body.end()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 3.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
_Add: {"Add", 2, false, expression}, _Alignof: {"Alignof", 1, false, expression}, _Offsetof: {"Offsetof", 1, false, expression}, _Sizeof: {"Sizeof", 1, false, expression}, _Slice: {"Slice", 2, false, expression}, _SliceData: {"SliceData", 1, false, expression}, _String: {"String", 2, false, expression}, _StringData: {"StringData", 1, false, expression},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
_Add: {"Add", 2, false, expression}, _Alignof: {"Alignof", 1, false, expression}, _Offsetof: {"Offsetof", 1, false, expression}, _Sizeof: {"Sizeof", 1, false, expression}, _Slice: {"Slice", 2, false, expression}, _SliceData: {"SliceData", 1, false, expression}, _String: {"String", 2, false, expression}, _StringData: {"StringData", 1, false, expression},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/net/splice_linux.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import ( "internal/poll" "io" ) var pollSplice = poll.Splice // spliceFrom transfers data from r to c using the splice system call to minimize // copies from and to userspace. c must be a TCP connection. // Currently, spliceFrom is only enabled if r is a TCP or a stream-oriented Unix connection. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 1.7K bytes - Viewed (0) -
src/slices/iter.go
// returns the extended slice. func AppendSeq[Slice ~[]E, E any](s Slice, seq iter.Seq[E]) Slice { for v := range seq { s = append(s, v) } return s } // Collect collects values from seq into a new slice and returns it. func Collect[E any](seq iter.Seq[E]) []E { return AppendSeq([]E(nil), seq) } // Sorted collects values from seq into a new slice, sorts the slice,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:40:32 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/registry/resource/resourceslice/strategy_test.go
ctx := genericapirequest.NewDefaultContext() slice := slice.DeepCopy() Strategy.PrepareForCreate(ctx, slice) errs := Strategy.Validate(ctx, slice) if len(errs) != 0 { t.Errorf("unexpected error validating for create %v", errs) } } func TestClassStrategyUpdate(t *testing.T) { t.Run("no-changes-okay", func(t *testing.T) { ctx := genericapirequest.NewDefaultContext() slice := slice.DeepCopy() newClass := slice.DeepCopy()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 17:07:36 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensionsTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 18 22:58:28 UTC 2024 - 9.2K bytes - Viewed (0) -
cni/pkg/nodeagent/testdata/cgroupns/1/cgroup
0::/system.slice/docker-8445c3ca20fac1d8e74854d84a7e6a57297ffb22809098b2816b31a428f2b777.scope/kubelet.slice/kubelet-kubepods.slice/kubelet-kubepods-besteffort.slice/kubelet-kubepods-besteffort-pod863b91d4_4b68_4efa_917f_4b560e3e86aa.slice/cri-containerd-75c7fe7ad0df679971e755bd97b84dd68a32e1eba8e8f99b01ab3c07196a3e4a.scope...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 326 bytes - Viewed (0) -
src/internal/reflectlite/swapper.go
// slice. // // Swapper panics if the provided interface is not a slice. func Swapper(slice any) func(i, j int) { v := ValueOf(slice) if v.Kind() != Slice { panic(&ValueError{Method: "Swapper", Kind: v.Kind()}) } // Fast path for slices of size 0 and 1. Nothing to swap. switch v.Len() { case 0: return func(i, j int) { panic("reflect: slice index out of range") } case 1:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:30 UTC 2024 - 2K bytes - Viewed (0)