Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for cut (0.01 sec)

  1. common/scripts/setup_env.sh

    if [[ "${LATEST_CACHED_IMAGE:-}" != "" ]]; then
      prefix="$(<<<"$IMAGE_VERSION" cut -d- -f1)"
      query="${TOOLS_REGISTRY_PROVIDER}/${PROJECT_ID}/${IMAGE_NAME}:${prefix}-*"
      latest="$("${CONTAINER_CLI}" images --filter=reference="${query}" --format "{{.CreatedAt|json}}~{{.Repository}}:{{.Tag}}~{{.CreatedSince}}" | sort -n -r | head -n1)"
      IMG="$(<<<"$latest" cut -d~ -f2)"
      if [[ "${IMG}" == "" ]]; then
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. 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
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu May 09 00:17:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. 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
    
    AR_IMAGE_PATH="us-central1-docker.pkg.dev/tensorflow-sigs/tensorflow/build-arm64"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 01 15:44:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. .github/workflows/go-fips.yml

          - name: Set up Docker Buildx
            uses: docker/setup-buildx-action@v2
    
          - name: Setup dockerfile for build test
            run: |
              GO_VERSION=$(go version | cut -d ' ' -f 3 | sed 's/go//')
              echo Detected go version $GO_VERSION
              cat > Dockerfile.fips.test <<EOF
              FROM golang:${GO_VERSION}
              COPY . /minio
              WORKDIR /minio
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	w := c.tabwriter()
    	d := c.ztunnelDump
    	serviceNames := map[string]string{}
    	workloadNames := map[string]string{}
    	for _, s := range d.Services {
    		var ip string
    		if len(s.Addresses) != 0 {
    			_, ip, _ = strings.Cut(s.Addresses[0], "/")
    		}
    		if ip == "" {
    			// fallback to None when a service does not have a VIP
    			ip = "None"
    		}
    		serviceNames[ip] = s.Hostname
    	}
    	for _, s := range d.Workloads {
    		var ip string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/services.go

    	})
    	fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT\tENDPOINTS")
    
    	for _, svc := range svcs {
    		ips := []string{}
    		for _, addr := range svc.Addresses {
    			_, ip, _ := strings.Cut(addr, "/")
    			ips = append(ips, ip)
    		}
    		allEndpoints := len(svc.Endpoints)
    		healthyEndpoints := 0
    		for _, ep := range svc.Endpoints {
    			w, f := workloadsByUID[ep.WorkloadUID]
    			if !f {
    				continue
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 24 09:07:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/packaging/rpm/init.d/fess

        daemon --user $FESS_USER --pidfile="$pidfile" $exec -d
        retval=$?
        pid=`ps aux | grep "^${FESS_USER}" | grep "${PROC_NAME}" | sed 's/[\t ]\+/\t/g' | cut -f2`
        if [ -n "$pid" ]; then
            echo $pid > "$pidfile"
        fi
        echo
        [ $retval -eq 0 ] && touch $lockfile
        return $retval
    }
    
    stop() {
        echo -n $"Stopping $prog: "
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. 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}}"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 02 21:46:06 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. 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)"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 28 15:25:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top