Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,777 for casePC (0.14 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. tensorflow/compiler/mlir/tensorflow/transforms/device_index_selector.cc

        // This just selects the default in all cases where DeviceIndex feeds into
        // tf.Case. This could be enhanced to have some sort of policy in the
        // future.
        OpBuilder b(op);
        RankedTensorType type = RankedTensorType::get({}, b.getIntegerType(32));
        int index = op.getDeviceNames().size();
        for (auto use : op.getOperation()->getUsers()) {
          // Skip if it doesn't feed into case. Alternatively this could always
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. test/switch6.go

    package main
    
    // Verify that type switch statements with impossible cases are detected by the compiler.
    func f0(e error) {
    	switch e.(type) {
    	case int: // ERROR "impossible type switch case: (int\n\t)?e \(.*type error\) cannot have dynamic type int \(missing method Error\)"
    	}
    }
    
    // Verify that the compiler rejects multiple default cases.
    func f1(e interface{}) {
    	switch e {
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 24 17:04:15 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. 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)
Back to top