- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 402 for SLICE (2.32 sec)
-
cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go
obj.KubeConfigPath = u.Path } } } // SetDefaults_BootstrapTokens sets the defaults for the .BootstrapTokens field // If the slice is empty, it's defaulted with one token. Otherwise it just loops // through the slice and sets the defaults for the omitempty fields that are TTL, // Usages and Groups. Token is NOT defaulted with a random one in the API defaulting
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 9.3K bytes - Viewed (0) -
src/math/big/nat.go
// // with 0 <= x[i] < _B and 0 <= i < n is stored in a slice of length n, // with the digits x[i] as the slice elements. // // A number is normalized if the slice contains no leading 0 digits. // During arithmetic operations, denormalized values may occur but are // always normalized before returning the final result. The normalized // representation of 0 is the empty or nil slice (length = 0). type nat []Word var ( natOne = nat{1}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 31.7K bytes - Viewed (0) -
src/runtime/iface.go
// Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname convTslice func convTslice(val []byte) (x unsafe.Pointer) { // Note: this must work for any element type, not just byte. if (*slice)(unsafe.Pointer(&val)).array == nil { x = unsafe.Pointer(&zeroVal[0]) } else { x = mallocgc(unsafe.Sizeof(val), sliceType, true) *(*[]byte)(x) = val } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller_test.go
if l := len(result); l != 3 { t.Fatalf("Expected length of the registries slice should be 3, got %d", l) } // Test Delete cluster2 ctrl.DeleteRegistry(registries[1].ClusterID, registries[1].ProviderID) result = ctrl.GetRegistries() if l := len(result); l != 2 { t.Fatalf("Expected length of the registries slice should be 2, got %d", l) } // check left registries are orders as before
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 14.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
} } // This function rewrites the original op into a series of slice and concat op // to produce the same result. It first slices the first `$index` rows. Then // expands the dimension of the `$item`, followed by another slice of the // remaining rows starting from `$index` + 1. Lastly it concatenates the // three parts together.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
src/crypto/aes/ctr_s390x.go
ctr [2]uint64 // next value of the counter (big endian) buffer []byte // buffer for the encrypted counter values storage [streamBufferSize]byte // array backing buffer slice } // NewCTR returns a Stream which encrypts/decrypts using the AES block // cipher in counter mode. The length of iv must be the same as [BlockSize]. func (c *aesCipherAsm) NewCTR(iv []byte) cipher.Stream {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/qualifiers/UsualClassTypeQualifierBuilder.kt
val end = typeParametersLeft check(begin >= 0) typeParametersLeft -= typeParametersCount coneType.typeArguments.slice(begin until end).map { builder.typeBuilder.buildTypeProjection(it) } } else emptyList() result += KaClassTypeQualifier.KaResolvedClassTypeQualifier(
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.1K bytes - Viewed (0) -
src/go/types/predicates.go
// assume they are the same to avoid spurious follow-on errors. return (x.len < 0 || y.len < 0 || x.len == y.len) && c.identical(x.elem, y.elem, p) } case *Slice: // Two slice types are identical if they have identical element types. if y, ok := y.(*Slice); ok { return c.identical(x.elem, y.elem, p) } case *Struct: // Two struct types are identical if they have the same sequence of fields,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
if err := binary.Write(ws, binary.LittleEndian, cfw.csh); err != nil { return err } hdrsz := uint32(len(ws.BytesWritten())) // Write string table and args to a byte slice (since we need // to capture offsets at various points), then emit the slice // once we are done. cfw.stab.Freeze() if err := cfw.stab.Write(ws); err != nil { return err } cfw.csh.StrTabLen = uint32(len(ws.BytesWritten())) - hdrsz
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/internal/trace/base.go
// baseEvent is the basic unprocessed event. This serves as a common // fundamental data structure across. type baseEvent struct { typ event.Type time Time args timedEventArgs } // extra returns a slice representing extra available space in args // that the parser can use to pass data up into Event. func (e *baseEvent) extra(v version.Version) []uint64 { switch v { case version.Go122:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.8K bytes - Viewed (0)