- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 377 for asSlice (0.15 sec)
-
cmd/kubeadm/app/util/config/common.go
} if len(unknown) > 0 { return errors.Errorf("unknown configuration APIs: %#v", unknown) } return nil } // MigrateOldConfig migrates an old configuration from a byte slice into a new one (returned again as a byte slice). // Only kubeadm kinds are migrated. func MigrateOldConfig(oldConfig []byte, allowExperimental bool, mutators migrateMutators) ([]byte, error) { newConfig := [][]byte{} if mutators == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go
if err != nil { t.Fatal(err) } aliceAttr := authorizer.AttributesRecord{User: &user.DefaultInfo{Name: "alice"}} bobAttr := authorizer.AttributesRecord{User: &user.DefaultInfo{Name: "bob"}} aliceRidiculousAttr := authorizer.AttributesRecord{ User: &user.DefaultInfo{Name: "alice"}, ResourceRequest: true, Verb: strings.Repeat("v", 2000), APIGroup: strings.Repeat("g", 2000),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 19.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/expand_calls.go
pos = pos.WithNotStmt() if x.debug > 1 { x.Printf("...recur decompose %s, %v\n", e.LongString(), et) } mem = x.decomposeAsNecessary(pos, b, e, mem, rc.next(et)) } return mem case types.TSLICE: mem = x.decomposeOne(pos, b, a, mem, at.Elem().PtrTo(), OpSlicePtr, &rc) pos = pos.WithNotStmt() mem = x.decomposeOne(pos, b, a, mem, x.typs.Int, OpSliceLen, &rc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 05:13:40 UTC 2023 - 31.9K bytes - Viewed (0) -
src/net/rpc/server_test.go
t.Errorf("Map: expected %d got %d", args.B, replyMap[args.A]) } // Slice args = &Args{7, 8} replySlice := []int{} err = client.Call("BuiltinTypes.Slice", args, &replySlice) if err != nil { t.Errorf("Slice: expected no error but got string %q", err.Error()) } if e := []int{args.A, args.B}; !reflect.DeepEqual(replySlice, e) { t.Errorf("Slice: expected %v got %v", e, replySlice) } // Array
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 05:23:29 UTC 2023 - 19K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller.go
defer c.eventBroadcaster.Shutdown() defer c.serviceQueue.ShutDown() defer c.topologyQueue.ShutDown() logger := klog.FromContext(ctx) logger.Info("Starting endpoint slice controller") defer logger.Info("Shutting down endpoint slice controller") if !cache.WaitForNamedCacheSync("endpoint_slice", ctx.Done(), c.podsSynced, c.servicesSynced, c.endpointSlicesSynced, c.nodesSynced) { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 23.6K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/parse.go
} if tf.Type == inlinesType { printis(buf, v.Field(i).Interface().([]Inline)) } else if tf.Type.Kind() == reflect.Slice && tf.Type.Elem().Kind() == reflect.String { fmt.Fprintf(buf, " %s:%q", tf.Name, v.Field(i)) } else if tf.Type != blocksType && !tf.Type.Implements(blockType) && tf.Type.Kind() != reflect.Slice { fmt.Fprintf(buf, " %s:%v", tf.Name, v.Field(i)) } } prefix += "\t"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 13.8K bytes - Viewed (0) -
src/internal/trace/traceviewer/emitter.go
e.tasks[id] = task{name, sortIndex} } func (e *Emitter) Slice(s SliceEvent) { if e.filter != nil && !e.filter(s.Resource) { return } e.slice(s, format.ProcsSection, "") } func (e *Emitter) TaskSlice(s SliceEvent) { e.slice(s, format.TasksSection, pickTaskColor(s.Resource)) } func (e *Emitter) slice(s SliceEvent, sectionID uint64, cname string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:58 UTC 2023 - 20.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
CharSource concatenated = CharSource.concat(cycle); String expected = "abcdabcd"; // read the first 8 chars manually, since there's no equivalent to ByteSource.slice // TODO(cgdecker): Add CharSource.slice? StringBuilder builder = new StringBuilder(); Reader reader = concatenated.openStream(); // no need to worry about closing for (int i = 0; i < 8; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.5K bytes - Viewed (0) -
src/internal/reflectlite/type.go
// The zero Kind is not a valid kind. type Kind = abi.Kind const Ptr = abi.Pointer const ( // Import-and-export these constants as necessary Interface = abi.Interface Slice = abi.Slice String = abi.String Struct = abi.Struct ) type nameOff = abi.NameOff type typeOff = abi.TypeOff type textOff = abi.TextOff type rtype struct { *abi.Type }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/runtime-gdb_test.go
} // NOTE: the maps below are allocated larger than abi.MapBucketCount // to ensure that they are not "optimized out". var helloSource = ` import "fmt" import "runtime" var gslice []string func main() { mapvar := make(map[string]string, ` + strconv.FormatInt(abi.MapBucketCount+9, 10) + `) slicemap := make(map[string][]string,` + strconv.FormatInt(abi.MapBucketCount+3, 10) + `)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 23.2K bytes - Viewed (0)