- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,691 for spice (0.06 sec)
-
src/reflect/value.go
// extendSlice returns a new slice value with the length // incremented by the number of specified elements. func (v Value) extendSlice(n int) Value { v.mustBeExported() v.mustBe(Slice) // Shallow copy the slice header to avoid mutating the source slice. sh := *(*unsafeheader.Slice)(v.ptr) s := &sh v.ptr = unsafe.Pointer(s) v.flag = flagIndir | flag(Slice) // equivalent flag to MakeSlice
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
operator/pkg/object/testdata/well-formed-with-space.yaml
Xiaopeng Han <******@****.***> 1690313976 +0800
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 25 19:39:36 UTC 2023 - 182 bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
expectContainerID: "", }, { name: "no container ID in cgroups", cgroupPaths: []string{ "/user.slice", }, expectPodUID: "", expectContainerID: "", }, { name: "one container ID in cgroups", cgroupPaths: []string{ "/user.slice", "/kubepods/pod2c48913c-b29f-11e7-9350-020968147796/9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961", },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 4.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go
// but only if there is space or tab inside s. func EscapeArg(s string) string { if len(s) == 0 { return `""` } n := len(s) hasSpace := false for i := 0; i < len(s); i++ { switch s[i] { case '"', '\\': n++ case ' ', '\t': hasSpace = true } } if hasSpace { n += 2 // Reserve space for quotes. } if n == len(s) { return s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 7.3K bytes - Viewed (0) -
src/runtime/mpagealloc_32bit.go
// Iterate over the reservation and cut it up into slices. // // Maintain i as the byte offset from reservation where // the new slice should start. for l, shift := range levelShift { entries := 1 << (heapAddrBits - shift) // Put this reservation into a slice. sl := notInHeapSlice{(*notInHeap)(reservation), 0, entries} p.summary[l] = *(*[]pallocSum)(unsafe.Pointer(&sl))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 20 20:08:25 UTC 2023 - 4.6K bytes - Viewed (0) -
src/log/slog/text_handler.go
func byteSlice(a any) ([]byte, bool) { if bs, ok := a.([]byte); ok { return bs, true } // Like Printf's %s, we allow both the slice type and the byte element type to be named. t := reflect.TypeOf(a) if t != nil && t.Kind() == reflect.Slice && t.Elem().Kind() == reflect.Uint8 { return reflect.ValueOf(a).Bytes(), true } return nil, false } func needsQuoting(s string) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 22:56:07 UTC 2023 - 4.7K bytes - Viewed (0) -
src/strings/builder.go
} // Len returns the number of accumulated bytes; b.Len() == len(b.String()). func (b *Builder) Len() int { return len(b.buf) } // Cap returns the capacity of the builder's underlying byte slice. It is the // total space allocated for the string being built and includes any bytes // already written. func (b *Builder) Cap() int { return cap(b.buf) } // Reset resets the [Builder] to be empty. func (b *Builder) Reset() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
} // Iterate through block argument and its convolution users. Space to depth // transform will be applied only if all the below conditions are satisfied: // 1. All the users of the block argument will lead to convolutions; // 2. block_size of for the space to depth transform for these convolutions // are the same; // 3. block_size of for the space to depth transform for these convolutions // are larger than 1.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
samples/bookinfo/src/productpage/static/tailwind/tailwind.css
p",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:i,addUtilities:e,theme:t})=>{i({"space-x":r=>(r=r==="0"?"0px":r,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${r} * var(--tw-space-x-reverse))`,"margin-left":`calc(${r} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":r=>(r=r==="0"?"0px":r,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${r} * calc(1 - var(--tw-space-y-re...
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 14:48:01 UTC 2024 - 357.1K bytes - Viewed (1) -
src/unsafe/unsafe.go
// At run time, if len is negative, or if ptr is nil and len is not zero, // a run-time panic occurs. func Slice(ptr *ArbitraryType, len IntegerType) []ArbitraryType // SliceData returns a pointer to the underlying array of the argument // slice. // - If cap(slice) > 0, SliceData returns &slice[:1][0]. // - If slice == nil, SliceData returns nil. // - Otherwise, SliceData returns a non-nil pointer to an
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0)