- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 333 for splice (0.08 sec)
-
cni/pkg/repair/repair_test.go
klabels "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" "istio.io/istio/cni/pkg/config" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/monitoring/monitortest" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/tools/istio-iptables/pkg/constants" ) func TestMatchesFilter(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
src/archive/tar/strconv.go
} // parsePAXRecord parses the input PAX record string into a key-value pair. // If parsing is successful, it will slice off the currently read record and // return the remainder as r. func parsePAXRecord(s string) (k, v, r string, err error) { // The size field ends at the first space. nStr, rest, ok := strings.Cut(s, " ") if !ok { return "", "", s, ErrHeader }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
internal/s3select/csv/reader.go
nameIndexMap map[string]int64 // name to column index current [][]string // current block of results to be returned recordsRead int // number of records read in current slice input chan *queueItem // input for workers queue chan *queueItem // output from workers in order err error // global error state, only touched by Reader.Read
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
internal/store/queuestore.go
store.RLock() defer store.RUnlock() entries := make([]string, 0, len(store.entries)) for entry := range store.entries { entries = append(entries, entry) } // Sort entries... sort.Slice(entries, func(i, j int) bool { return store.entries[entries[i]] < store.entries[entries[j]] }) for i := range entries { keys = append(keys, parseKey(entries[i])) } return keys }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
} func (c *ConfigWriter) PrintRemoteListenerSummary() error { w, listeners, err := c.setupListenerConfigWriter() if err != nil { return err } // Sort by port, addr, type sort.Slice(listeners, func(i, j int) bool { if listeners[i].GetInternalListener() != nil && listeners[j].GetInternalListener() != nil { return listeners[i].GetName() < listeners[j].GetName() }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/util/configdump/listener.go
dal = append(dal, l) } } // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. for i := range dal { dal[i].ActiveState.Listener.TypeUrl = v3.ListenerType } sort.Slice(dal, func(i, j int) bool { l := &listener.Listener{} err = dal[i].ActiveState.Listener.UnmarshalTo(l) if err != nil { return false } name := l.Name err = dal[j].ActiveState.Listener.UnmarshalTo(l)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.5K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version.go
func extractKubernetesVersion(versionInfo *version.Info) (int, error) { ver, err := goversion.NewVersion(versionInfo.String()) if err != nil { return 0, fmt.Errorf("could not parse %v", err) } // Segments provide slice of int eg: v1.19.1 => [1, 19, 1] num := ver.Segments()[1] return num, nil } // IsK8VersionSupported checks minimum supported Kubernetes version for Istio.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 2.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds.go
err := config.GetEcdsFilter().UnmarshalTo(c) if err != nil { return nil, fmt.Errorf("failed to retrieve TypedExtensionConfig: %v", err) } ecds = append(ecds, c) } sort.Slice(ecds, func(i, j int) bool { if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() { return ecds[i].GetName() < ecds[j].GetName() }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Jan 14 02:41:27 UTC 2023 - 2.6K bytes - Viewed (0) -
src/main/webapp/js/admin/popper.min.js
return r}function X(e,t,o,n){var i=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(D(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,n){var i=(1===n?!r:r)?'height':'width',p=!1;return...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 20.7K bytes - Viewed (0)