Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,357 for casePC (0.18 sec)

  1. src/cmd/vendor/golang.org/x/text/cases/cases.go

    }
    
    // Upper returns a Caser for language-specific uppercasing.
    func Upper(t language.Tag, opts ...Option) Caser {
    	return Caser{makeUpper(t, getOpts(opts...))}
    }
    
    // Lower returns a Caser for language-specific lowercasing.
    func Lower(t language.Tag, opts ...Option) Caser {
    	return Caser{makeLower(t, getOpts(opts...))}
    }
    
    // Title returns a Caser for language-specific title casing. It uses an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

    package okhttp3.internal.http2.hpackjson
    
    import okhttp3.internal.http2.Header
    import okio.ByteString
    
    /**
     * Representation of an individual case (set of headers and wire format). There are many cases for a
     * single story.  This class is used reflectively with Moshi to parse stories.
     */
    data class Case(
      val seqno: Int = 0,
      val wire: ByteString? = null,
      val headers: List<Map<String, String>>,
    ) : Cloneable {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/cases/trieval.go

    )
    
    // The case mode bits encodes the case type of a rune. This includes uncased,
    // title, upper and lower case and case ignorable. (For a definition of these
    // terms see Chapter 3 of The Unicode Standard Core Specification.) In some rare
    // cases, a rune can be both cased and case-ignorable. This is encoded by
    // cIgnorableCased. A rune of this type is always lower case. Some runes are
    // cased while not having a mapping.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/cases/icu.go

    */
    import "C"
    
    import "unsafe"
    
    func doICU(tag, caser, input string) string {
    	err := C.UErrorCode(0)
    	loc := C.CString(tag)
    	cm := C.ucasemap_open(loc, C.uint32_t(0), &err)
    
    	buf := make([]byte, len(input)*4)
    	dst := (*C.char)(unsafe.Pointer(&buf[0]))
    	src := C.CString(input)
    
    	cn := C.int32_t(0)
    
    	switch caser {
    	case "fold":
    		cn = C.ucasemap_utf8FoldCase(cm,
    			dst, C.int32_t(len(buf)),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/cases/info.go

    // preventing a break between two cased letters. For now we will ignore this
    // (e.g. [ALetter] [ExtendNumLet] [Katakana] [ExtendNumLet] [ALetter] and
    // [ALetter] [Numeric] [MidNum] [Numeric] [ALetter].)
    //
    // Note 2: the rule for Mid is very approximate, but works in most cases. To
    // improve, we could store the categories in the trie value and use a FA to
    // manage breaks. See TODO comment above.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/cases/context.go

    // license that can be found in the LICENSE file.
    
    package cases
    
    import "golang.org/x/text/transform"
    
    // A context is used for iterating over source bytes, fetching case info and
    // writing to a destination buffer.
    //
    // Casing operations may need more than one rune of context to decide how a rune
    // should be cased. Casing implementations should call checkpoint on context
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/math/exp.go

    	)
    
    	// special cases
    	switch {
    	case IsNaN(x) || IsInf(x, 1):
    		return x
    	case IsInf(x, -1):
    		return 0
    	case x > Overflow:
    		return Inf(1)
    	case x < Underflow:
    		return 0
    	case -NearZero < x && x < NearZero:
    		return 1 + x
    	}
    
    	// reduce; computed as r = hi - lo for extra precision.
    	var k int
    	switch {
    	case x < 0:
    		k = int(Log2e*x - 0.5)
    	case x > 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. istioctl/pkg/dashboard/dashboard_test.go

    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    func TestDashboard(t *testing.T) {
    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           strings.Split("--browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile("Access to Istio web UIs"),
    		},
    		{ // case 1
    			Args:           strings.Split("invalid --browser=false", " "),
    			ExpectedRegexp: regexp.MustCompile(`unknown dashboard "invalid"`),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 21 01:17:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. src/math/hypot.go

    // unnecessary overflow and underflow.
    //
    // Special cases are:
    //
    //	Hypot(±Inf, q) = +Inf
    //	Hypot(p, ±Inf) = +Inf
    //	Hypot(NaN, q) = NaN
    //	Hypot(p, NaN) = NaN
    func Hypot(p, q float64) float64 {
    	if haveArchHypot {
    		return archHypot(p, q)
    	}
    	return hypot(p, q)
    }
    
    func hypot(p, q float64) float64 {
    	p, q = Abs(p), Abs(q)
    	// special cases
    	switch {
    	case IsInf(p, 1) || IsInf(q, 1):
    		return Inf(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 850 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    			if keyLHS == keyRHS {
    				continue
    			}
    			cases = append(cases, testcase{
    				name:        fmt.Sprintf("compare_%s_%s", keyLHS, keyRHS),
    				expr:        fmt.Sprintf(`format.%s() == format.%s()`, keyLHS, keyRHS),
    				expectValue: types.False,
    			})
    		}
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top