- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for Cut (0.11 sec)
-
internal/config/cache/cache.go
return nil, nil } buf, err := r.MarshalMsg(nil) if err != nil { return nil, err } // We do not want Gets to take so much time, anything // beyond 250ms we should cut it, remote cache is too // busy already. ctx, cancel := context.WithTimeout(context.Background(), 250*time.Millisecond) defer cancel()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 5.6K bytes - Viewed (0) -
common/scripts/tracing.sh
local start start="$(date -u +%s.%N)" # First, get a trace and span ID. We need to get one now so we can propagate it to the child # Get trace ID from TRACEPARENT, if present local tid tid="$(<<<"${TRACEPARENT:-}" cut -d- -f2)" tid="${tid:-"$(tr -dc 'a-f0-9' < /dev/urandom | head -c 32)"}" # Always generate a new span ID local sid sid="$(tr -dc 'a-f0-9' < /dev/urandom | head -c 16)"
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jul 28 15:25:47 GMT 2023 - 4.1K bytes - Viewed (0) -
bin/init.sh
else ISTIO_ENVOY_ARCH_SUFFIX="-${TARGET_ARCH}" fi # Populate the git version for istio/proxy (i.e. Envoy) PROXY_REPO_SHA="${PROXY_REPO_SHA:-$(grep PROXY_REPO_SHA istio.deps -A 4 | grep lastStableSHA | cut -f 4 -d '"')}" # Envoy binary variables ISTIO_ENVOY_BASE_URL="${ISTIO_ENVOY_BASE_URL:-https://storage.googleapis.com/istio-build/proxy}" # If we are not using the default, assume its private and we need to authenticate
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 25 19:11:31 GMT 2024 - 6.1K bytes - Viewed (0) -
bin/build_ztunnel.sh
AUTH_HEADER="Authorization: Bearer $(gcloud auth print-access-token)" export AUTH_HEADER fi ZTUNNEL_REPO_SHA="${ZTUNNEL_REPO_SHA:-$(grep ZTUNNEL_REPO_SHA istio.deps -A 4 | grep lastStableSHA | cut -f 4 -d '"')}" ISTIO_ZTUNNEL_VERSION="${ISTIO_ZTUNNEL_VERSION:-${ZTUNNEL_REPO_SHA}}" ISTIO_ZTUNNEL_RELEASE_URL="${ISTIO_ZTUNNEL_RELEASE_URL:-${ISTIO_ZTUNNEL_BASE_URL}/ztunnel-${ISTIO_ZTUNNEL_VERSION}-${TARGET_ARCH}}"
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 21:46:06 GMT 2024 - 5K bytes - Viewed (0) -
docs/site-replication/run-multi-site-oidc.sh
exit_1 fi MC_HOST_foo=http://${STS_CRED}@localhost:9003 ./mc ls foo if [ $? -ne 0 ]; then echo "Expected sts credential to work, exiting.." exit_1 fi STS_ACCESS_KEY=$(echo ${STS_CRED} | cut -d ':' -f 1) # Create service account for STS user ./mc admin user svcacct add minio2 $STS_ACCESS_KEY --access-key testsvc --secret-key testsvc123 if [ $? -ne 0 ]; then echo "adding svc account failed, exiting.."
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 26 21:30:28 GMT 2024 - 8.4K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
} func checkFromVersion(ctx cli.Context, revision, version string) (diag.Messages, error) { cli, err := ctx.CLIClientWithRevision(revision) if err != nil { return nil, err } major, minors, ok := strings.Cut(version, ".") if !ok { return nil, fmt.Errorf("invalid version %v, expected format like '1.0'", version) } if major != "1" { return nil, fmt.Errorf("expected major version 1, got %v", version) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
Makefile.core.mk
GOPATH ?= $(shell cd ${ISTIO_GO}/../../..; pwd) export GOPATH # If GOPATH is made up of several paths, use the first one for our targets in this Makefile GO_TOP := $(shell echo ${GOPATH} | cut -d ':' -f1) export GO_TOP GO ?= go GOARCH_LOCAL := $(TARGET_ARCH) GOOS_LOCAL := $(TARGET_OS) #----------------------------------------------------------------------------- # Output control
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 20:25:15 GMT 2024 - 22.5K bytes - Viewed (0) -
CHANGELOG.md
* Upgrade: [Okio 3.9.0][okio_3_9_0]. * Upgrade: [Kotlin 1.9.23][kotlin_1_9_23]. * Upgrade: [UnicodeĀ® IDNA 15.1.0][idna_15_1_0] ## Version 5.0.0-alpha.12 _2023-12-17_ We took too long to cut this release and there's a lot of changes in it. We've been busy. Although this release is labeled _alpha_, the only unstable thing in it is our new APIs. This
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
src/cmd/api/main_test.go
var nonblank []string for i, line := range lines { line = strings.TrimSpace(line) if line == "" || strings.HasPrefix(line, "#") { continue } if needApproval { feature, approval, ok := strings.Cut(line, "#") if !ok { log.Printf("%s:%d: missing proposal approval\n", filename, i+1) exitCode = 1 } else { _, err := strconv.Atoi(approval) if err != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"", "d", "", "", false}, {"", "", "", "", true}, } func TestCut(t *testing.T) { for _, tt := range cutTests { if before, after, found := Cut([]byte(tt.s), []byte(tt.sep)); string(before) != tt.before || string(after) != tt.after || found != tt.found { t.Errorf("Cut(%q, %q) = %q, %q, %v, want %q, %q, %v", tt.s, tt.sep, before, after, found, tt.before, tt.after, tt.found) } } } var cutPrefixTests = []struct {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0)