Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,212 for casePC (0.32 sec)

  1. src/runtime/select.go

    	_             selectDir = iota
    	selectSend              // case Chan <- Send
    	selectRecv              // case <-Chan:
    	selectDefault           // default
    )
    
    //go:linkname reflect_rselect reflect.rselect
    func reflect_rselect(cases []runtimeSelect) (int, bool) {
    	if len(cases) == 0 {
    		block()
    	}
    	sel := make([]scase, len(cases))
    	orig := make([]int, len(cases))
    	nsends, nrecvs := 0, 0
    	dflt := -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    		expectedDangling bool
    	}{
    		{
    			name: "FileInfoExists-case1",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    				fi,
    			},
    			errs: []error{
    				errFileNotFound,
    				errDiskNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    		{
    			name: "FileInfoExists-case2",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/text/cases/map.go

    	// Current rune must be ∑.
    
    	// ::NFD();
    	// # 03A3; 03C2; 03A3; 03A3; Final_Sigma; # GREEK CAPITAL LETTER SIGMA
    	// Σ } [:case-ignorable:]* [:cased:] → σ;
    	// [:cased:] [:case-ignorable:]* { Σ → ς;
    	// ::Any-Lower;
    	// ::NFC();
    
    	p := c.pDst
    	c.writeString("ς")
    
    	// TODO: we should do this here, but right now this will never have an
    	// effect as this is called when the prefix is Sigma, whereas Dutch and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/runtime/iface.go

    // interfaceSwitch compares t against the list of cases in s.
    // If t matches case i, interfaceSwitch returns the case index i and
    // an itab for the pair <t, s.Cases[i]>.
    // If there is no match, return N,nil, where N is the number
    // of cases.
    func interfaceSwitch(s *abi.InterfaceSwitch, t *_type) (int, *itab) {
    	cases := unsafe.Slice(&s.Cases[0], s.NCases)
    
    	// Results if we don't find a match.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. 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)
  10. cni/pkg/install/cniconfig_test.go

    					}
    					t.Fatalf("did not expect to retrieve a CNI config file %s", result)
    				}
    				// Successful test for non-delayed cases
    				return
    			case err := <-errChan:
    				t.Fatal(err)
    			case <-time.After(250 * time.Millisecond):
    				if len(c.delayedConfName) > 0 {
    					// Delayed case
    					// Write delayed CNI config file
    					data, err := os.ReadFile(filepath.Join("testdata", c.delayedConfName))
    					if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top