Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 225 for IsSwitch (0.15 sec)

  1. src/cmd/dist/test.go

    	if compiler == "gccgo" {
    		return true
    	}
    
    	platform := goos + "/" + goarch
    
    	switch buildmode {
    	case "archive":
    		return true
    
    	case "c-archive":
    		switch goos {
    		case "aix", "darwin", "ios", "windows":
    			return true
    		case "linux":
    			switch goarch {
    			case "386", "amd64", "arm", "armbe", "arm64", "arm64be", "loong64", "ppc64le", "riscv64", "s390x":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  2. src/regexp/syntax/parse.go

    			nhex := 0
    			r = 0
    			for {
    				if t == "" {
    					break Switch
    				}
    				if c, t, err = nextRune(t); err != nil {
    					return 0, "", err
    				}
    				if c == '}' {
    					break
    				}
    				v := unhex(c)
    				if v < 0 {
    					break Switch
    				}
    				r = r*16 + v
    				if r > unicode.MaxRune {
    					break Switch
    				}
    				nhex++
    			}
    			if nhex == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route.go

    			}
    		}
    	}
    
    	if redirect.Scheme != "" {
    		action.Redirect.SchemeRewriteSpecifier = &route.RedirectAction_SchemeRedirect{SchemeRedirect: redirect.Scheme}
    	}
    
    	if redirect.RedirectPort != nil {
    		switch rp := redirect.RedirectPort.(type) {
    		case *networking.HTTPRedirect_DerivePort:
    			if rp.DerivePort == networking.HTTPRedirect_FROM_REQUEST_PORT {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  4. src/os/os_test.go

    		t.Fatal(err)
    	}
    	return n
    }
    
    func equal(name1, name2 string) (r bool) {
    	switch runtime.GOOS {
    	case "windows":
    		r = strings.EqualFold(name1, name2)
    	default:
    		r = name1 == name2
    	}
    	return
    }
    
    // localTmp returns a local temporary directory not on NFS.
    func localTmp() string {
    	switch runtime.GOOS {
    	case "android", "ios", "windows":
    		return TempDir()
    	}
    	return "/tmp"
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewrite.go

    		return false
    	}
    	for _, b := range f.Blocks {
    		for _, v := range b.Values {
    			switch v.Op {
    			case OpStaticCall, OpStaticLECall:
    				// Check for racefuncenter will encounter racefuncexit and vice versa.
    				// Allow calls to panic*
    				s := v.Aux.(*AuxCall).Fn.String()
    				switch s {
    				case "runtime.racefuncenter", "runtime.racefuncexit",
    					"runtime.panicdivide", "runtime.panicwrap",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/arm/asm5.go

    		p.To.Class = int8(a3)
    	}
    
    	a3--
    	a2 := C_NONE
    	if p.Reg != 0 {
    		switch {
    		case REG_F0 <= p.Reg && p.Reg <= REG_F15:
    			a2 = C_FREG
    		case REG_R0 <= p.Reg && p.Reg <= REG_R15:
    			a2 = C_REG
    		default:
    			c.ctxt.Diag("invalid register in %v", p)
    		}
    	}
    
    	// check illegal base register
    	switch a1 {
    	case C_SOREG, C_LOREG, C_HOREG, C_FOREG, C_ROREG, C_HFOREG, C_SROREG, C_SHIFTADDR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/loong64/asm.go

    func (c *ctxt0) oprr(a obj.As) uint32 {
    	switch a {
    	case ACLO:
    		return 0x4 << 10
    	case ACLZ:
    		return 0x5 << 10
    	case ARDTIMELW:
    		return 0x18 << 10
    	case ARDTIMEHW:
    		return 0x19 << 10
    	case ARDTIMED:
    		return 0x1a << 10
    	}
    
    	c.ctxt.Diag("bad rr opcode %v", a)
    	return 0
    }
    
    func (c *ctxt0) opi(a obj.As) uint32 {
    	switch a {
    	case ASYSCALL:
    		return 0x56 << 15
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  8. src/regexp/testdata/testregex.c

    		printf("NULL");
    	else if (test & TEST_EXPAND)
    	{
    		if (len < 0)
    			len = strlen((char*)u);
    		e = u + len;
    		if (test & TEST_DELIMIT)
    			printf("\"");
    		while (u < e)
    			switch (c = *u++)
    			{
    			case '\\':
    				printf("\\\\");
    				break;
    			case '"':
    				if (test & TEST_DELIMIT)
    					printf("\\\"");
    				else
    					printf("\"");
    				break;
    			case '\a':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ppc64/ssa.go

    	//			}
    	//		}
    	//	}
    }
    
    // loadByType returns the load instruction of the given type.
    func loadByType(t *types.Type) obj.As {
    	if t.IsFloat() {
    		switch t.Size() {
    		case 4:
    			return ppc64.AFMOVS
    		case 8:
    			return ppc64.AFMOVD
    		}
    	} else {
    		switch t.Size() {
    		case 1:
    			if t.IsSigned() {
    				return ppc64.AMOVB
    			} else {
    				return ppc64.AMOVBZ
    			}
    		case 2:
    			if t.IsSigned() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/gateway/conversion.go

    	if match.Uri == nil {
    		return -1
    	}
    	switch match.Uri.MatchType.(type) {
    	case *istio.StringMatch_Exact:
    		return 3
    	case *istio.StringMatch_Prefix:
    		return 2
    	case *istio.StringMatch_Regex:
    		return 1
    	}
    	// should not happen
    	return -1
    }
    
    func getURILength(match *istio.HTTPMatchRequest) int {
    	if match.Uri == nil {
    		return 0
    	}
    	switch match.Uri.MatchType.(type) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top