Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for stringy (0.1 sec)

  1. test/escape_reflect.go

    func mapiter1(m map[string]string) *reflect.MapIter { // ERROR "leaking param: m$"
    	mv := reflect.ValueOf(m)
    	return mv.MapRange()
    }
    
    func mapiter2(m map[string]string) string { // ERROR "leaking param: m$"
    	mv := reflect.ValueOf(m)
    	it := mv.MapRange()
    	if it.Next() {
    		return it.Key().String()
    	}
    	return ""
    }
    
    func mapiter3(m map[string]string, it *reflect.MapIter) { // ERROR "leaking param: m$" "it does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. src/net/netip/netip.go

    // splitAddrPort splits s into an IP address string and a port
    // string. It splits strings shaped like "foo:bar" or "[foo]:bar",
    // without further validating the substrings. v6 indicates whether the
    // ip string should parse as an IPv6 address or an IPv4 address, in
    // order for s to be a valid ip:port string.
    func splitAddrPort(s string) (ip, port string, v6 bool, err error) {
    	i := bytealg.LastIndexByteString(s, ':')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/groovy/build-logic/spring-boot-application/src/main/groovy/com.example.spring-boot-application.gradle

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 243 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/structuring-software-projects/kotlin/build-logic/spring-boot-application/src/main/kotlin/com.example.spring-boot-application.gradle.kts

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 243 bytes
    - Viewed (0)
  5. clause/where.go

    					if e, ok := v.Exprs[0].(Expr); ok {
    						sql := strings.ToUpper(e.SQL)
    						wrapInParentheses = strings.Contains(sql, AndWithSpace) || strings.Contains(sql, OrWithSpace)
    					}
    				}
    			case AndConditions:
    				if len(v.Exprs) == 1 {
    					if e, ok := v.Exprs[0].(Expr); ok {
    						sql := strings.ToUpper(e.SQL)
    						wrapInParentheses = strings.Contains(sql, AndWithSpace) || strings.Contains(sql, OrWithSpace)
    					}
    				}
    			case Expr:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    			// incorrectly flag "comments" inside multiline
    			// string constants or anything else (this might
    			// not even be a Go program). So stop.
    			break
    		}
    	}
    }
    
    func (check *checker) comment(pos token.Pos, text string) {
    	if strings.HasPrefix(text, "//") {
    		if strings.Contains(text, "+build") {
    			check.plusBuildLine(pos, text)
    		}
    		if strings.Contains(text, "//go:build") {
    			check.goBuildLine(pos, text)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    func parseCredentialHeader(credElement string, region string, stype serviceType) (ch credentialHeader, aec APIErrorCode) {
    	creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2)
    	if len(creds) != 2 {
    		return ch, ErrMissingFields
    	}
    	if creds[0] != "Credential" {
    		return ch, ErrMissingCredTag
    	}
    	credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/cmd/go/internal/str/str.go

    		if 'A' <= r && r <= 'Z' {
    			r += 'a' - 'A'
    		}
    		b.WriteRune(r)
    	}
    	return b.String()
    }
    
    // FoldDup reports a pair of strings from the list that are
    // equal according to strings.EqualFold.
    // It returns "", "" if there are no such strings.
    func FoldDup(list []string) (string, string) {
    	clash := map[string]string{}
    	for _, s := range list {
    		fold := ToFold(s)
    		if t := clash[fold]; t != "" {
    			if s > t {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 20:08:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. istioctl/pkg/proxystatus/proxystatus_test.go

    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyStatus(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, with no Isitod instance
    			args:           []string{},
    			noIstiod:       true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    		}
    	}
    	return nil
    }
    
    func checkArguments(fields []string) error {
    	for _, arg := range fields[1:] {
    		for _, elem := range strings.Split(arg, ",") {
    			if strings.HasPrefix(elem, "!!") {
    				return fmt.Errorf("invalid double negative in build constraint: %s", arg)
    			}
    			elem = strings.TrimPrefix(elem, "!")
    			for _, c := range elem {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top