Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,099 for case1 (0.12 sec)

  1. pilot/pkg/config/kube/gateway/conversion_test.go

    		namespaces.Insert(c.Namespace)
    		switch c.GroupVersionKind {
    		case gvk.GatewayClass:
    			out.GatewayClass = append(out.GatewayClass, c)
    		case gvk.KubernetesGateway:
    			out.Gateway = append(out.Gateway, c)
    		case gvk.HTTPRoute:
    			out.HTTPRoute = append(out.HTTPRoute, c)
    		case gvk.GRPCRoute:
    			out.GRPCRoute = append(out.GRPCRoute, c)
    		case gvk.TCPRoute:
    			out.TCPRoute = append(out.TCPRoute, c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  2. src/net/http/cgi/cgi_main.go

    	if os.Getenv("REQUEST_METHOD") == "" {
    		// Not in a CGI environment; skipping test.
    		return
    	}
    	switch os.Getenv("REQUEST_URI") {
    	case "/immediate-disconnect":
    		os.Exit(0)
    	case "/no-content-type":
    		fmt.Printf("Content-Length: 6\n\nHello\n")
    		os.Exit(0)
    	case "/empty-headers":
    		fmt.Printf("\nHello")
    		os.Exit(0)
    	}
    	Serve(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. schema/naming.go

    	return ret
    }
    
    func (ns NamingStrategy) toSchemaName(name string) string {
    	result := strings.ReplaceAll(cases.Title(language.Und, cases.NoLower).String(strings.ReplaceAll(name, "_", " ")), " ", "")
    	for _, initialism := range commonInitialisms {
    		result = regexp.MustCompile(cases.Title(language.Und, cases.NoLower).String(strings.ToLower(initialism))+"([A-Z]|$|_)").ReplaceAllString(result, initialism+"$1")
    	}
    	return result
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/stmt0.go

    	switch x {
    	case 1 /* ERROR "overflows" */ << 100:
    	}
    
    	switch x {
    	case 1:
    	case 1 /* ERROR "duplicate case" */ :
    	case ( /* ERROR "duplicate case" */ 1):
    	case 2, 3, 4:
    	case 5, 1 /* ERROR "duplicate case" */ :
    	}
    
    	switch uint64(x) {
    	case 1<<64 - 1:
    	case 1 /* ERROR "duplicate case" */ <<64 - 1:
    	case 2, 3, 4:
    	case 5, 1 /* ERROR "duplicate case" */ <<64 - 1:
    	}
    
    	var y32 float32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/testdata/issue49205.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // test case from issue
    
    type _ interface{
    	m /* ERROR unexpected name int in interface type; possibly missing semicolon or newline or } */ int
    }
    
    // other cases where the fix for this issue affects the error message
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 952 bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute3StaticInstrumentationInDynamicGroovyWithoutIndyIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.inputs.process.instrument
    
    /**
     * Test cases for single-argument {@code ProcessGroovyMethods.execute} with static import (Groovy produces a special byte code in this case):
     * <pre>
     *     import static org.codehaus.groovy.runtime.ProcessGroovyMethods.execute
     *     execute("echo 123", env, cwd)
     *     execute(["echo", "123"], env, cwd)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    	switch valueAddr.Type {
    	case obj.TYPE_CONST:
    		switch sz {
    		case 1, 2, 4, 8:
    			nameAddr.Sym.WriteInt(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Offset)
    		default:
    			p.errorf("bad int size for DATA argument: %d", sz)
    		}
    	case obj.TYPE_FCONST:
    		switch sz {
    		case 4:
    			nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64)))
    		case 8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. cmd/os-reliable.go

    		switch {
    		case isSysErrNotDir(err) && !osIsNotExist(err):
    			// Windows can have both isSysErrNotDir(err) and osIsNotExist(err) returning
    			// true if the source file path contains an non-existent directory. In that case,
    			// we want to return errFileNotFound instead, which will honored in subsequent
    			// switch cases
    			return errFileAccessDenied
    		case isSysErrPathNotFound(err):
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/runtime/tracestack.go

    		if status&_Gscan == 0 {
    			// Use the trace status to check this. There are a number of cases
    			// where a running goroutine might be in _Gwaiting, and these cases
    			// are totally fine for taking a stack trace. They're captured
    			// correctly in goStatusToTraceGoStatus.
    			switch goStatusToTraceGoStatus(status, gp.waitreason) {
    			case traceGoRunning, traceGoSyscall:
    				if getg() == gp || mp.curg == gp {
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/regexp/exec_test.go

    		line := scanner.Text()
    		switch {
    		case line == "":
    			t.Fatalf("%s:%d: unexpected blank line", file, lineno)
    		case line[0] == '#':
    			continue
    		case 'A' <= line[0] && line[0] <= 'Z':
    			// Test name.
    			t.Logf("%s\n", line)
    			continue
    		case line == "strings":
    			str = str[:0]
    			inStrings = true
    		case line == "regexps":
    			inStrings = false
    		case line[0] == '"':
    			q, err := strconv.Unquote(line)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top