Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 372 for Strip (0.06 sec)

  1. cmd/server-startup-msg.go

    // Returns true if input is IPv6
    func isIPv6(host string) bool {
    	h, _, err := net.SplitHostPort(host)
    	if err != nil {
    		h = host
    	}
    	ip := net.ParseIP(h)
    	return ip.To16() != nil && ip.To4() == nil
    }
    
    // strip api endpoints list with standard ports such as
    // port "80" and "443" before displaying on the startup
    // banner.  Returns a new list of API endpoints.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

              parameter.groups[3]!!.value
            }
            token.startsWith("'") && token.endsWith("'") && token.length > 2 -> {
              // If the token is 'single-quoted' it's invalid! But we're lenient and strip the quotes.
              token.substring(1, token.length - 1)
            }
            else -> token
          }
    
        parameterNamesAndValues += name
        parameterNamesAndValues += value
        s = parameter.range.last + 1
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/routes/openapi.go

    	if err != nil {
    		klog.Fatalf("Failed to register versioned open api spec for root: %v", err)
    	}
    
    	grouped := make(map[string][]*restful.WebService)
    
    	for _, t := range c.RegisteredWebServices() {
    		// Strip the "/" prefix from the name
    		gvName := t.RootPath()[1:]
    		grouped[gvName] = []*restful.WebService{t}
    	}
    
    	for gv, ws := range grouped {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 19:05:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. src/go/version/version.go

    // stripGo converts from a "go1.21-bigcorp" version to a "1.21" version.
    // If v does not start with "go", stripGo returns the empty string (a known invalid version).
    func stripGo(v string) string {
    	v, _, _ = strings.Cut(v, "-") // strip -bigcorp suffix.
    	if len(v) < 2 || v[:2] != "go" {
    		return ""
    	}
    	return v[2:]
    }
    
    // Lang returns the Go language version for version x.
    // If x is not a valid version, Lang returns the empty string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. .github/workflows/maven_build_itself.yml

          - name: Extract tarball
            shell: bash
            run: |
              set +e
              if [ -f ${{ env.TAR_BALL }} ]; then
                temp_dir=$(mktemp -d)
                tar -xzf ${{ env.TAR_BALL }} -C "$temp_dir" --strip 1
                maven_bin_dir=$temp_dir/bin
                if [ -d $maven_bin_dir ]; then
                  echo "tar.gz file \"${{ env.TAR_BALL }}\" successfully extracted in temporarily directory \"$temp_dir.\""
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/stackcheck_test.go

            grows 8 bytes, calls main.startRec<0>
            infinite cycle
    `,
    	}
    
    	// Parse stanzas
    	stanza := regexp.MustCompile(`^(.*): nosplit stack over \d+ byte limit\n(.*\n(?: .*\n)*)`)
    	// Strip comments from cmd/go
    	out = regexp.MustCompile(`(?m)^#.*\n`).ReplaceAllString(out, "")
    	for len(out) > 0 {
    		m := stanza.FindStringSubmatch(out)
    		if m == nil {
    			t.Fatalf("unexpected output:\n%s", out)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:14 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. src/time/mono_test.go

    	t1w := t1.AddDate(0, 0, 0)
    	if GetMono(&t1w) != 0 {
    		t.Fatalf("AddDate didn't strip monotonic clock reading")
    	}
    	t2w := t2.AddDate(0, 0, 0)
    	if GetMono(&t2w) != 0 {
    		t.Fatalf("AddDate didn't strip monotonic clock reading")
    	}
    	t3w := t3.AddDate(0, 0, 0)
    	if GetMono(&t3w) != 0 {
    		t.Fatalf("AddDate didn't strip monotonic clock reading")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 19 17:10:49 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestResources.java

         * Copies the given resource to the test directory.
         */
        public void maybeCopy(String resource) {
            // Multi version tests append to the method name, making it miss the resources
            // Below is a dirty way to strip the added content
            if (resource.contains(" ")) {
                resource = resource.substring(0, resource.indexOf(' '));
            }
            TestFile dir = resources.findResource(resource);
            if (dir != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/build_defs.bzl

        py_deps = [
            "//tensorflow/compiler/mlir/tfr:op_reg_gen",
            "//tensorflow/compiler/mlir/tfr:tfr_gen",
            "//tensorflow/compiler/mlir/tfr:composite",
        ] + deps
    
        gen_op_lib_exec = src[:-3]  # Strip off the .py
        py_strict_binary(
            name = gen_op_lib_exec,
            srcs = [src],
            srcs_version = "PY3",
            python_version = "PY3",
            deps = py_deps,
        )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser.go

    	ch, s3Err := parseCredentialHeader("Credential="+r.Form.Get(xhttp.AmzCredential), region, stype)
    	if s3Err != ErrNone {
    		// Strip off the Algorithm prefix.
    		v4Auth := strings.TrimPrefix(r.Header.Get("Authorization"), signV4Algorithm)
    		authFields := strings.Split(strings.TrimSpace(v4Auth), ",")
    		if len(authFields) != 3 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top