- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 947 for asSlice (0.27 sec)
-
plugin/pkg/auth/authorizer/node/graph_populator.go
slice, ok := obj.(*resourcev1alpha2.ResourceSlice) if !ok { klog.Infof("unexpected type %T", obj) return } g.graph.AddResourceSlice(slice.Name, slice.NodeName) } func (g *graphPopulator) deleteResourceSlice(obj interface{}) { if tombstone, ok := obj.(cache.DeletedFinalStateUnknown); ok { obj = tombstone.Obj } slice, ok := obj.(*resourcev1alpha2.ResourceSlice)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 6.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) //sys setfsgid(gid int) (prev int, err error) //sys setfsuid(uid int) (prev int, err error) //sys Shutdown(fd int, how int) (err error) //sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) func Stat(path string, stat *Stat_t) (err error) { return Fstatat(AT_FDCWD, path, stat, 0) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.1K bytes - Viewed (0) -
pkg/proxy/kubemark/hollow_proxy.go
func (*FakeProxier) OnServiceSynced() {} func (*FakeProxier) OnEndpointSliceAdd(slice *discoveryv1.EndpointSlice) {} func (*FakeProxier) OnEndpointSliceUpdate(oldSlice, slice *discoveryv1.EndpointSlice) {} func (*FakeProxier) OnEndpointSliceDelete(slice *discoveryv1.EndpointSlice) {} func (*FakeProxier) OnEndpointSlicesSynced() {}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 2.9K bytes - Viewed (0) -
test/typeparam/builtins.go
_ = make(M1, 10) _ = make(chan int) _ = make(m1C0) _ = make(C1) _ = make(C1, 10) } // len/cap type Slice[T any] interface { []T } func c1[T any, S Slice[T]]() { x := make(S, 5, 10) _ = len(x) _ = cap(x) } // append func a1[T any, S Slice[T]]() { x := make(S, 5) y := make(S, 2) var z T _ = append(x, y...) _ = append(x, z)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 09:04:48 UTC 2024 - 1.8K bytes - Viewed (0) -
pkg/proxy/endpointslicecache.go
// slice trackers grouped by service name and endpoint slice name. The first // key represents a namespaced service name while the second key represents // an endpoint slice name. Since endpoints can move between slices, we // require slice specific caching to prevent endpoints being removed from // the cache when they may have just moved to a different slice.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:07:21 UTC 2024 - 11.7K bytes - Viewed (1) -
src/vendor/golang.org/x/crypto/internal/alias/alias.go
// corresponding) index. The memory beyond the slice length is ignored. func AnyOverlap(x, y []byte) bool { return len(x) > 0 && len(y) > 0 && uintptr(unsafe.Pointer(&x[0])) <= uintptr(unsafe.Pointer(&y[len(y)-1])) && uintptr(unsafe.Pointer(&y[0])) <= uintptr(unsafe.Pointer(&x[len(x)-1])) } // InexactOverlap reports whether x and y share memory at any non-corresponding // index. The memory beyond the slice length is ignored. Note that x and y can
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/arena.go
} i := efaceOf(&sl) typ := i._type if typ.Kind_&abi.KindMask != abi.Pointer { panic("slice result of non-ptr type") } typ = (*ptrtype)(unsafe.Pointer(typ)).Elem if typ.Kind_&abi.KindMask != abi.Slice { panic("slice of non-ptr-to-slice type") } typ = (*slicetype)(unsafe.Pointer(typ)).Elem // t is now the element type of the slice we want to allocate.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/crypto/aes/aes_gcm.go
} func (g *gcmAsm) Overhead() int { return g.tagSize } // sliceForAppend takes a slice and a requested number of bytes. It returns a // slice with the contents of the given slice followed by that many bytes and a // second slice that aliases into it and contains only the extra bytes. If the // original slice has sufficient capacity then no allocation is performed. func sliceForAppend(in []byte, n int) (head, tail []byte) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 5.4K bytes - Viewed (0) -
src/cmd/compile/internal/walk/complit.go
ir.SetPos(value) as := ir.NewAssignStmt(base.Pos, a, value) appendWalkStmt(init, orderStmtInPlace(typecheck.Stmt(as), map[string][]*ir.Name{})) } // make slice out of heap (6) a = ir.NewAssignStmt(base.Pos, var_, ir.NewSliceExpr(base.Pos, ir.OSLICE, vauto, nil, nil, nil)) appendWalkStmt(init, orderStmtInPlace(typecheck.Stmt(a), map[string][]*ir.Name{})) } func maplit(n *ir.CompLitExpr, m ir.Node, init *ir.Nodes) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:03:54 UTC 2023 - 19.5K bytes - Viewed (0) -
tests/test_dependency_security_overrides.py
app = FastAPI() def get_user(required_scopes: SecurityScopes): return "john", required_scopes.scopes def get_user_override(required_scopes: SecurityScopes): return "alice", required_scopes.scopes def get_data(): return [1, 2, 3] def get_data_override(): return [3, 4, 5] @app.get("/user") def read_user(
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jun 14 15:54:46 UTC 2020 - 1.4K bytes - Viewed (0)