Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,776 for casePC (0.08 sec)

  1. .github/ISSUE_TEMPLATE/feature_addition_request.yaml

            #### Ubiquity: provide concrete use cases
    
    
            Did you *actually* encounter the need for this feature in a real-world scenario, or is it
            just a feature that seems like a sensible addition to Guava?
    
    
            Before new features get added to Guava, we really want to be sure that it's for a use case
            that actually comes up in the real world. We want to hear the real-world use case so the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/gen/constFoldGen.go

    	var ans uint64
    	switch op {
    	case "+":
    		ans = i + j
    	case "-":
    		ans = i - j
    	case "*":
    		ans = i * j
    	case "/":
    		if j != 0 {
    			ans = i / j
    		}
    	case "%":
    		if j != 0 {
    			ans = i % j
    		}
    	case "<<":
    		ans = i << j
    	case ">>":
    		ans = i >> j
    	}
    	switch t {
    	case "uint32":
    		ans = uint64(uint32(ans))
    	case "uint16":
    		ans = uint64(uint16(ans))
    	case "uint8":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
        val MISSING = Story(description = "Missing", cases = listOf(), "missing")
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/debug/elf/reader.go

    	var newOffset int64
    	switch whence {
    	case io.SeekStart:
    		newOffset = offset
    	case io.SeekCurrent:
    		newOffset = r.offset + offset
    	case io.SeekEnd:
    		newOffset = r.size + offset
    	default:
    		return 0, os.ErrInvalid
    	}
    
    	switch {
    	case newOffset == r.offset:
    		return newOffset, nil
    
    	case newOffset < 0, newOffset > r.size:
    		return 0, os.ErrInvalid
    
    	case newOffset == 0:
    		r.r = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. istioctl/pkg/authz/authz_test.go

    ALLOW    _anonymous_match_nothing_   1
    ALLOW    httpbin.default             1
    `,
    		},
    	}
    
    	authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{}))
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) {
    			testutil.VerifyOutput(t, authzCmd, c)
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/math/log1p.go

    		Lp6         = 1.531383769920937332e-01     // 3FC39A09D078C69F
    		Lp7         = 1.479819860511658591e-01     // 3FC2F112DF3E5244
    	)
    
    	// special cases
    	switch {
    	case x < -1 || IsNaN(x): // includes -Inf
    		return NaN()
    	case x == -1:
    		return Inf(-1)
    	case IsInf(x, 1):
    		return Inf(1)
    	}
    
    	absx := Abs(x)
    
    	var f float64
    	var iu uint64
    	k := 1
    	if absx < Sqrt2M1 { //  |x| < Sqrt(2)-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/typeof.go

    		return 1 << nCompositeLit
    	case *ast.DeclStmt:
    		return 1 << nDeclStmt
    	case *ast.DeferStmt:
    		return 1 << nDeferStmt
    	case *ast.Ellipsis:
    		return 1 << nEllipsis
    	case *ast.EmptyStmt:
    		return 1 << nEmptyStmt
    	case *ast.ExprStmt:
    		return 1 << nExprStmt
    	case *ast.Field:
    		return 1 << nField
    	case *ast.FieldList:
    		return 1 << nFieldList
    	case *ast.File:
    		return 1 << nFile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top