- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for cut (2.12 sec)
-
common/scripts/setup_env.sh
IMAGE_VERSION=master-b0f2fd3b4240c8178b14de4689d0e663e11868ff fi if [[ "${IMAGE_NAME:-}" == "" ]]; then IMAGE_NAME=build-tools fi DOCKER_GID="${DOCKER_GID:-$(grep '^docker:' /etc/group | cut -f3 -d:)}" TIMEZONE=$(readlink "$readlink_flags" /etc/localtime | sed -e 's/^.*zoneinfo\///') TARGET_OUT="${TARGET_OUT:-$(pwd)/out/${TARGET_OS}_${TARGET_ARCH}}"
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 16:31:40 GMT 2024 - 7.6K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/connections.go
d := c.ztunnelDump serviceNames := map[string]string{} workloadNames := map[string]string{} for netIP, s := range d.Services { _, ip, _ := strings.Cut(netIP, "/") serviceNames[ip] = s.Hostname } for netIP, s := range d.Workloads { _, ip, _ := strings.Cut(netIP, "/") workloadNames[ip] = s.Name + "." + s.Namespace } lookupIP := func(addr string) string { if filter.Raw { return addr }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 3.3K bytes - Viewed (0) -
.github/workflows/go-fips.yml
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Mar 28 23:44:49 GMT 2024 - 1.5K bytes - Viewed (0) -
src/archive/tar/strconv.go
func parsePAXTime(s string) (time.Time, error) { const maxNanoSecondDigits = 9 // Split string into seconds and sub-seconds parts. ss, sn, _ := strings.Cut(s, ".") // Parse the seconds. secs, err := strconv.ParseInt(ss, 10, 64) if err != nil { return time.Time{}, ErrHeader } if len(sn) == 0 { return time.Unix(secs, 0), nil // No sub-second values
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 01 14:28:42 GMT 2023 - 9K bytes - Viewed (0) -
bin/update_deps.sh
ROOTDIR=$(dirname "${SCRIPTPATH}") cd "${ROOTDIR}" # Get the sha of top commit # $1 = repo function getSha() { git ls-remote "https://github.com/istio/${1}.git" "refs/heads/${UPDATE_BRANCH}" | cut -f 1 } make update-common export GO111MODULE=on go get -u "istio.io/api@${UPDATE_BRANCH}" go get -u "istio.io/client-go@${UPDATE_BRANCH}" go mod tidy
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Sep 12 14:07:30 GMT 2023 - 2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/build.sh
TAG="latest-multi-python" else # If it is a change, grab a good tag for iterative builds if [[ -z "${KOKORO_GITHUB_PULL_REQUEST_NUMBER}" ]]; then TAG=$(head -n 1 "$KOKORO_PIPER_DIR/presubmit_request.txt" | cut -d" " -f2) else TAG="pr-${KOKORO_GITHUB_PULL_REQUEST_NUMBER}" fi fi # Build for both JAX and TF usage. We do these in one place because they share # almost all of the same cache layers
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Nov 03 13:38:49 GMT 2023 - 2.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
return cmp.Compare(a.Hostname, b.Hostname) }) fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT") for _, svc := range svcs { var ip string if len(svc.Addresses) > 0 { _, ip, _ = strings.Cut(svc.Addresses[0], "/") } waypoint := serviceWaypointName(svc, zDump.Services) fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", svc.Namespace, svc.Name, ip, waypoint) } return w.Flush() }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
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)