Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 416 for badsuffix (0.2 sec)

  1. src/cmd/vet/testdata/testingpkg/tests_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package testdata
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 21:34:18 UTC 2021
    - 275 bytes
    - Viewed (0)
  2. src/go/build/build_test.go

    	{ctxtP9, "foo1_arm.go", "// +build linux\n\npackage main\n", false},
    	{ctxtP9, "foo_darwin.go", "", false},
    	{ctxtP9, "foo.go", "", true},
    	{ctxtP9, "foo1.go", "// +build linux\n\npackage main\n", false},
    	{ctxtP9, "foo.badsuffix", "", false},
    	{ctxtAndroid, "foo_linux.go", "", true},
    	{ctxtAndroid, "foo_android.go", "", true},
    	{ctxtAndroid, "foo_plan9.go", "", false},
    	{ctxtAndroid, "android.go", "", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/suffix.go

    	sh.decSuffixes.addSuffix("u", bePair{10, -6})
    	sh.decSuffixes.addSuffix("m", bePair{10, -3})
    	sh.decSuffixes.addSuffix("", bePair{10, 0})
    	sh.decSuffixes.addSuffix("k", bePair{10, 3})
    	sh.decSuffixes.addSuffix("M", bePair{10, 6})
    	sh.decSuffixes.addSuffix("G", bePair{10, 9})
    	sh.decSuffixes.addSuffix("T", bePair{10, 12})
    	sh.decSuffixes.addSuffix("P", bePair{10, 15})
    	sh.decSuffixes.addSuffix("E", bePair{10, 18})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 27 03:17:50 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractAutoTestedSamplesTest.groovy

                        project.projectDir.mkdirs()
                    }
                }
            """
            util.findSamples(dir) { file, sample, tagSuffix ->
                println "Found sample: ${sample.split("\n")[0]} (...) in $file"
                if (tagSuffix.contains('WithoutCC') && GradleContextualExecuter.configCache) {
                    println 'Skipping sample tagged WithoutCC'
                    return
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. pkg/kubectl/cmd/convert/import_known_versions_test.go

    			return isWatchEvent2
    		}
    		if isList1, isList2 := strings.HasSuffix(gvks[i].Kind, "List"), strings.HasSuffix(gvks[j].Kind, "List"); isList1 != isList2 {
    			return isList2
    		}
    		if isOptions1, isOptions2 := strings.HasSuffix(gvks[i].Kind, "Options"), strings.HasSuffix(gvks[j].Kind, "Options"); isOptions1 != isOptions2 {
    			return isOptions2
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 12 11:04:50 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. pkg/config/host/name.go

    			// both n and o are wildcards
    			if len(n) < len(o) {
    				return strings.HasSuffix(string(o[1:]), string(n[1:]))
    			}
    			return strings.HasSuffix(string(n[1:]), string(o[1:]))
    		}
    		// only n is wildcard
    		return strings.HasSuffix(string(o), string(n[1:]))
    	}
    
    	if oWildcard {
    		// only o is wildcard
    		return strings.HasSuffix(string(n), string(o[1:]))
    	}
    
    	// both are non-wildcards, so do normal string comparison
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 09 16:25:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. istioctl/pkg/multixds/google.go

    package multixds
    
    import (
    	"fmt"
    	"net/url"
    	"strings"
    )
    
    func isMCPAddr(u *url.URL) bool {
    	return strings.HasSuffix(u.Host, ".googleapis.com") || strings.HasSuffix(u.Host, ".googleapis.com:443")
    }
    
    func parseMCPAddr(u *url.URL) (*xdsAddr, error) {
    	ret := &xdsAddr{host: u.Host}
    	if !strings.HasSuffix(ret.host, ":443") {
    		ret.host += ":443"
    	}
    	const projSeg = "/projects/"
    	i := strings.Index(u.Path, projSeg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. src/net/lookup_plan9.go

    }
    
    func handlePlan9DNSError(err error, name string) error {
    	if stringslite.HasSuffix(err.Error(), "dns: name does not exist") ||
    		stringslite.HasSuffix(err.Error(), "dns: resource does not exist; negrcode 0") ||
    		stringslite.HasSuffix(err.Error(), "dns: resource does not exist; negrcode") ||
    		stringslite.HasSuffix(err.Error(), "dns failure") {
    		err = errNoSuchHost
    	}
    	return newDNSError(err, name, "")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:08:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/matcher/header.go

    		return &routepb.HeaderMatcher{
    			Name: k,
    			HeaderMatchSpecifier: &routepb.HeaderMatcher_StringMatch{
    				StringMatch: StringMatcherSuffix(v[1:], false),
    			},
    		}
    	} else if strings.HasSuffix(v, "*") {
    		return &routepb.HeaderMatcher{
    			Name: k,
    			HeaderMatchSpecifier: &routepb.HeaderMatcher_StringMatch{
    				StringMatch: StringMatcherPrefix(v[:len(v)-1], false),
    			},
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 17 22:42:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/mime/quotedprintable/reader_test.go

    			if strings.Contains(errStr, "invalid hex byte ") {
    				if strings.HasSuffix(errStr, "0x20") && (strings.Contains(s, "=0 ") || strings.Contains(s, "=A ") || strings.Contains(s, "= ")) {
    					return
    				}
    				if strings.HasSuffix(errStr, "0x3d") && (strings.Contains(s, "=0=") || strings.Contains(s, "=A=")) {
    					return
    				}
    				if strings.HasSuffix(errStr, "0x0a") || strings.HasSuffix(errStr, "0x0d") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top