Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for Cut (0.12 sec)

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

        }
      }
    
      public void testOrderingCuts() {
        Cut<Integer> a = Range.lessThan(0).lowerBound;
        Cut<Integer> b = Range.atLeast(0).lowerBound;
        Cut<Integer> c = Range.greaterThan(0).lowerBound;
        Cut<Integer> d = Range.atLeast(1).lowerBound;
        Cut<Integer> e = Range.greaterThan(1).lowerBound;
        Cut<Integer> f = Range.greaterThan(1).upperBound;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  4. .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
    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)
  5. 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)
  6. guava/src/com/google/common/collect/ImmutableRangeSet.java

          checkElementIndex(index, size);
    
          Cut<C> lowerBound;
          if (positiveBoundedBelow) {
            lowerBound = (index == 0) ? Cut.<C>belowAll() : ranges.get(index - 1).upperBound;
          } else {
            lowerBound = ranges.get(index).upperBound;
          }
    
          Cut<C> upperBound;
          if (positiveBoundedAbove && index == size - 1) {
            upperBound = Cut.<C>aboveAll();
          } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

          checkElementIndex(index, size);
    
          Cut<C> lowerBound;
          if (positiveBoundedBelow) {
            lowerBound = (index == 0) ? Cut.<C>belowAll() : ranges.get(index - 1).upperBound;
          } else {
            lowerBound = ranges.get(index).upperBound;
          }
    
          Cut<C> upperBound;
          if (positiveBoundedAbove && index == size - 1) {
            upperBound = Cut.<C>aboveAll();
          } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    			}
    			return i + j
    		}
    	}
    	return -1
    }
    
    // Cut slices s around the first instance of sep,
    // returning the text before and after sep.
    // The found result reports whether sep appears in s.
    // If sep does not appear in s, cut returns s, nil, false.
    //
    // Cut returns slices of the original slice s, not copies.
    func Cut(s, sep []byte) (before, after []byte, found bool) {
    	if i := Index(s, sep); i >= 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top