- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 947 for asSlice (0.27 sec)
-
pkg/ctrlz/assets/static/js/jquery-3.2.1.slim.min.js
tion(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=Q.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=R.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(P," ")}),h=h.slice(c.length));for(g in d.filter)!(e=V[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?ga.error(a):z(a,i).slice(0)};function sa(a){for(var b=0,c=a.length,d="";b<c;b++)d+=a[b].value;return...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 68K bytes - Viewed (0) -
operator/pkg/util/reflect.go
return t.Kind() == reflect.Ptr && t.Elem().Kind() == reflect.Map } // IsSlice reports whether value is a slice type. func IsSlice(value any) bool { return kindOf(value) == reflect.Slice } // IsStruct reports whether value is a struct type func IsStruct(value any) bool { return kindOf(value) == reflect.Struct } // IsSlicePtr reports whether v is a slice ptr type. func IsSlicePtr(v any) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/materialize_mlir_passthrough_op.cc
for (const auto &arg_mapping : llvm::zip(block.getArguments(), op->getOperands())) { std::get<0>(arg_mapping).replaceAllUsesWith(std::get<1>(arg_mapping)); } op->getBlock()->getOperations().splice(op->getIterator(), block.getOperations(), block.begin(), std::prev(block.end())); Operation &return_op = block.front();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 4.2K bytes - Viewed (0) -
test/fixedbugs/issue22881.go
} func fa2(m map[int][]int) { var p *int m[0], _ = append(m[0], 0), *p } func fa3(m map[int][]int) { // OSLICE has similar in-place-reassignment // optimizations as OAPPEND, but we need to make sure // to *not* optimize them, because we can't guarantee // the slice indices are within bounds. m[0] = m[0][:1] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 20 01:47:07 UTC 2018 - 2K 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/net/splice_linux_test.go
clientDown, serverDown := spawnTestSocketPair(t, "tcp") defer clientDown.Close() defer serverDown.Close() // If splice called poll.Splice here, we'd get err == syscall.EINVAL // and handled == false. If poll.Splice gets an EINVAL on the first // try, it assumes the kernel it's running on doesn't support splice // for unix sockets and returns handled == false. This works for our
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 14.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/builtin.go
nif.Likely = true // then { s = s[:n] } slice := ir.NewSliceExpr(base.Pos, ir.OSLICE, s, nil, newLen, nil) slice.SetBounded(true) nif.Body = []ir.Node{ ir.NewAssignStmt(base.Pos, s, slice), } // else { s = growslice(s.ptr, n, s.cap, a, T) } nif.Else = []ir.Node{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 22:35:22 UTC 2024 - 31.2K bytes - Viewed (0) -
src/encoding/gob/enc_helpers.go
// Can only slice if it is addressable. if !v.CanAddr() { return false } return encBoolSlice(state, v.Slice(0, v.Len())) } func encBoolSlice(state *encoderState, v reflect.Value) bool { slice, ok := v.Interface().([]bool) if !ok { // It is kind bool but not type bool. TODO: We can handle this unsafely. return false } for _, x := range slice { if x != false || state.sendZero {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 10 17:50:11 UTC 2018 - 9.9K bytes - Viewed (0)