Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 394 for HI (0.04 sec)

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

    type valueRange struct {
    	value  uint16
    	lo, hi byte
    }
    
    type sparseBlocks struct {
    	values  []valueRange
    	offsets []uint16
    }
    
    // lookup returns the value from values block n for byte b using binary search.
    func (s *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	lo := s.offsets[n]
    	hi := s.offsets[n+1]
    	for lo < hi {
    		m := lo + (hi-lo)/2
    		r := s.values[m]
    		if r.lo <= b && b <= r.hi {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/regexp/all_test.go

    	{"hello, (?P<noun>.+)", "goodbye, ${noun}", "hello, world", "goodbye, world"},
    	{"(?P<x>hi)|(?P<x>bye)", "$x$x$x", "hi", "hihihi"},
    	{"(?P<x>hi)|(?P<x>bye)", "$x$x$x", "bye", "byebyebye"},
    	{"(?P<x>hi)|(?P<x>bye)", "$xyz", "hi", ""},
    	{"(?P<x>hi)|(?P<x>bye)", "${x}yz", "hi", "hiyz"},
    	{"(?P<x>hi)|(?P<x>bye)", "hello $$x", "hi", "hello $x"},
    	{"a+", "${oops", "aaa", "${oops"},
    	{"a+", "$$", "aaa", "$"},
    	{"a+", "$", "aaa", "$"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. src/go/doc/comment/text.go

    	// add and cmp add and compare scores.
    	type score struct {
    		hi int64
    		lo int64
    	}
    	add := func(s, t score) score { return score{s.hi + t.hi, s.lo + t.lo} }
    	cmp := func(s, t score) int {
    		switch {
    		case s.hi < t.hi:
    			return -1
    		case s.hi > t.hi:
    			return +1
    		case s.lo < t.lo:
    			return -1
    		case s.lo > t.lo:
    			return +1
    		}
    		return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param hi the high surrogate pair character
       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
          UnicodeEscaper escaper, String expected, char hi, char lo) {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

       * Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
       * @param hi the high surrogate pair character
       * @param lo the low surrogate pair character
       */
      public static void assertUnicodeEscaping(
          UnicodeEscaper escaper, String expected, char hi, char lo) {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  6. src/regexp/syntax/parse.go

    	}
    	if lo < minFold {
    		// [lo, minFold-1] needs no folding.
    		r = appendRange(r, lo, minFold-1)
    		lo = minFold
    	}
    	if hi > maxFold {
    		// [maxFold+1, hi] needs no folding.
    		r = appendRange(r, maxFold+1, hi)
    		hi = maxFold
    	}
    
    	// Brute force. Depend on appendRange to coalesce ranges on the fly.
    	for c := lo; c <= hi; c++ {
    		r = appendRange(r, c, c)
    		f := unicode.SimpleFold(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. src/path/match.go

    					chunk = chunk[1:]
    					break
    				}
    				var lo, hi rune
    				if lo, chunk, err = getEsc(chunk); err != nil {
    					return "", false, err
    				}
    				hi = lo
    				if chunk[0] == '-' {
    					if hi, chunk, err = getEsc(chunk[1:]); err != nil {
    						return "", false, err
    					}
    				}
    				if lo <= r && r <= hi {
    					match = true
    				}
    				nrange++
    			}
    			if match == negated {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. src/cmd/vet/testdata/print/print.go

    	fmt.Printf("%q %q %q %q", 3, i, 'x', r)
    	fmt.Printf("%s %s %s", "hi", s, []byte{65})
    	fmt.Printf("%t %t", true, b)
    	fmt.Printf("%T %T", 3, i)
    	fmt.Printf("%U %U", 3, i)
    	fmt.Printf("%v %v", 3, i)
    	fmt.Printf("%x %x %x %x %x %x %x", 3, i, "hi", s, x, c, fslice)
    	fmt.Printf("%X %X %X %X %X %X %X", 3, i, "hi", s, x, c, fslice)
    	fmt.Printf("%.*s %d %g", 3, "hi", 23, 2.3)
    	fmt.Printf("%s", &stringerv)
    	fmt.Printf("%v", &stringerv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  9. src/runtime/stack.go

    		fillstack(new, 0xfd)
    	}
    	if stackDebug >= 1 {
    		print("copystack gp=", gp, " [", hex(old.lo), " ", hex(old.hi-used), " ", hex(old.hi), "]", " -> [", hex(new.lo), " ", hex(new.hi-used), " ", hex(new.hi), "]/", newsize, "\n")
    	}
    
    	// Compute adjustment.
    	var adjinfo adjustinfo
    	adjinfo.old = old
    	adjinfo.delta = new.hi - old.hi
    
    	// Adjust sudogs, synchronizing with channel ops if necessary.
    	ncopy := used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  10. src/net/http/httptest/recorder_test.go

    				w.WriteHeader(201)
    				w.WriteHeader(202)
    				w.Write([]byte("hi"))
    			},
    			check(hasStatus(201), hasContents("hi")),
    		},
    		{
    			"write sends 200",
    			func(w http.ResponseWriter, r *http.Request) {
    				w.Write([]byte("hi first"))
    				w.WriteHeader(201)
    				w.WriteHeader(202)
    			},
    			check(hasStatus(200), hasContents("hi first"), hasFlush(false)),
    		},
    		{
    			"write string",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 23:17:38 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top