Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,209 for casePC (0.1 sec)

  1. src/cmd/cgo/internal/testsanitizers/libfuzzer_test.go

    	}
    	config := configure("fuzzer")
    	config.skipIfCSanitizerBroken(t)
    
    	cases := []struct {
    		goSrc         string
    		cSrc          string
    		expectedError string
    	}{
    		{goSrc: "libfuzzer1.go", expectedError: "panic: found it"},
    		{goSrc: "libfuzzer2.go", cSrc: "libfuzzer2.c", expectedError: "panic: found it"},
    	}
    	for _, tc := range cases {
    		tc := tc
    		name := strings.TrimSuffix(tc.goSrc, ".go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 00:12:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile_test.go

    	switch nativeType {
    	case reflect.TypeOf(""):
    		return apiservercel.StringType
    	case reflect.TypeOf([]string{}):
    		return apiservercel.NewListType(apiservercel.StringType, -1)
    	case reflect.TypeOf(map[string]v1.ExtraValue{}):
    		return apiservercel.NewMapType(apiservercel.StringType, apiservercel.NewListType(apiservercel.StringType, -1), -1)
    	case reflect.TypeOf(&v1.ResourceAttributes{}):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. istioctl/pkg/injector/injector-list_test.go

    					},
    					Annotations: map[string]string{
    						annotation.SidecarStatus.Name: `{"revision":"test-anno"}`,
    					},
    				},
    			},
    			expectedRevision: "test-anno",
    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.name), func(t *testing.T) {
    			assert.Equal(t, c.expectedRevision, extractRevisionFromPod(c.pod))
    		})
    	}
    }
    
    func Test_getNamespaces(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 04:33:57 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. maven-core/src/site/apt/offline-mode.apt

      * The file wagon, provided the referenced location is on a local
        filesystem.
    
        It is not possible to determine whether a file-based location will
        be available except on a case-by-case basis (or a root-url by
        root-url basis). We may want to move the offline sensitivity entirely to
        Maven-Artifact, below, so we can be smarter about testing filesystem-based
        repositories, etc.
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/concepts.md

    Of course, there are some cases where there's no problem in running the previous steps multiple times, in that case, it's a lot easier to handle.
    
    !!! tip
        Also, keep in mind that depending on your setup, in some cases you **might not even need any previous steps** before starting your application.
    
        In that case, you wouldn't have to worry about any of this. 🤷
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. src/internal/trace/oldtrace_test.go

    					// the user_task_region_* test cases. We only check for the
    					// Go 1.21 traces because earlier traces used different
    					// strings.
    					switch ev.Kind() {
    					case trace.EventRegionBegin, trace.EventRegionEnd:
    						if _, ok := validRegions[ev.Region().Type]; !ok {
    							t.Fatalf("converted event has unexpected region type:\n%s", ev)
    						}
    					case trace.EventTaskBegin, trace.EventTaskEnd:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/runtime/tracestatus.go

    	// N.B. Ignore the _Gscan bit. We don't model it in the tracer.
    	var tgs traceGoStatus
    	switch status &^ _Gscan {
    	case _Grunnable:
    		tgs = traceGoRunnable
    	case _Grunning, _Gcopystack:
    		tgs = traceGoRunning
    	case _Gsyscall:
    		tgs = traceGoSyscall
    	case _Gwaiting, _Gpreempted:
    		// There are a number of cases where a G might end up in
    		// _Gwaiting but it's actually running in a non-preemptive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/return.go

    			return true
    		}
    
    	case *syntax.ReturnStmt:
    		return true
    
    	case *syntax.BranchStmt:
    		if s.Tok == syntax.Goto || s.Tok == syntax.Fallthrough {
    			return true
    		}
    
    	case *syntax.BlockStmt:
    		return check.isTerminatingList(s.List, "")
    
    	case *syntax.IfStmt:
    		if s.Else != nil &&
    			check.isTerminating(s.Then, "") &&
    			check.isTerminating(s.Else, "") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. src/path/filepath/path_windows.go

    				b.WriteString(`.\`)
    			}
    		case lastChar == ':':
    			// If the path ends in a colon, keep the path relative to the current directory
    			// on a drive and don't add a separator. Preserve leading slashes in the next
    			// path element, which may make the path absolute.
    			//
    			// 	Join(`C:`, `f`) = `C:f`
    			//	Join(`C:`, `\f`) = `C:\f`
    		default:
    			// In all other cases, add a separator between elements.
    			b.WriteByte('\\')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    	T Time `json:"t"`
    }
    
    func TestTimeMarshalYAML(t *testing.T) {
    	cases := []struct {
    		input  Time
    		result string
    	}{
    		{Time{}, "t: null\n"},
    		{Date(1998, time.May, 5, 1, 5, 5, 50, time.FixedZone("test", -4*60*60)), "t: \"1998-05-05T05:05:05Z\"\n"},
    		{Date(1998, time.May, 5, 5, 5, 5, 0, time.UTC), "t: \"1998-05-05T05:05:05Z\"\n"},
    	}
    
    	for _, c := range cases {
    		input := TimeHolder{c.input}
    		result, err := yaml.Marshal(&input)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top