Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for June (0.04 sec)

  1. src/time/time_test.go

    var localtests = []TimeTest{
    	{0, parsedTime{1969, December, 31, 16, 0, 0, 0, Wednesday, -8 * 60 * 60, "PST"}},
    	{1221681866, parsedTime{2008, September, 17, 13, 4, 26, 0, Wednesday, -7 * 60 * 60, "PDT"}},
    	{2159200800, parsedTime{2038, June, 3, 11, 0, 0, 0, Thursday, -7 * 60 * 60, "PDT"}},
    	{2152173599, parsedTime{2038, March, 14, 1, 59, 59, 0, Sunday, -8 * 60 * 60, "PST"}},
    	{2152173600, parsedTime{2038, March, 14, 3, 0, 0, 0, Sunday, -7 * 60 * 60, "PDT"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  2. src/time/format.go

    	"Apr",
    	"May",
    	"Jun",
    	"Jul",
    	"Aug",
    	"Sep",
    	"Oct",
    	"Nov",
    	"Dec",
    }
    
    var longMonthNames = []string{
    	"January",
    	"February",
    	"March",
    	"April",
    	"May",
    	"June",
    	"July",
    	"August",
    	"September",
    	"October",
    	"November",
    	"December",
    }
    
    // match reports whether s1 and s2 match ignoring case.
    // It is assumed s1 and s2 are the same length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  3. src/time/time.go

    }
    
    // A Month specifies a month of the year (January = 1, ...).
    type Month int
    
    const (
    	January Month = 1 + iota
    	February
    	March
    	April
    	May
    	June
    	July
    	August
    	September
    	October
    	November
    	December
    )
    
    // String returns the English name of the month ("January", "February", ...).
    func (m Month) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  4. src/regexp/syntax/parse.go

    	p.numRunes += len(re.Rune)
    	if re.Op == OpCharClass && len(re.Rune) == 2 && re.Rune[0] == re.Rune[1] {
    		// Single rune.
    		if p.maybeConcat(re.Rune[0], p.flags&^FoldCase) {
    			return nil
    		}
    		re.Op = OpLiteral
    		re.Rune = re.Rune[:1]
    		re.Flags = p.flags &^ FoldCase
    	} else if re.Op == OpCharClass && len(re.Rune) == 4 &&
    		re.Rune[0] == re.Rune[1] && re.Rune[2] == re.Rune[3] &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  5. src/strings/strings_test.go

    	{"x \xc0\xc0 ", "x \xc0\xc0"},
    	{"x ☺\xc0\xc0 ", "x ☺\xc0\xc0"},
    	{"x ☺ ", "x ☺"},
    }
    
    func tenRunes(ch rune) string {
    	r := make([]rune, 10)
    	for i := range r {
    		r[i] = ch
    	}
    	return string(r)
    }
    
    // User-defined self-inverse mapping function
    func rot13(r rune) rune {
    	step := rune(13)
    	if r >= 'a' && r <= 'z' {
    		return ((r - 'a' + step) % 26) + 'a'
    	}
    	if r >= 'A' && r <= 'Z' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	}
    
    	// 5. Drop
    	dropNotLatin := func(r rune) rune {
    		if unicode.Is(unicode.Latin, r) {
    			return r
    		}
    		return -1
    	}
    	m = Map(dropNotLatin, []byte("Hello, 세계"))
    	expect = "Hello"
    	if string(m) != expect {
    		t.Errorf("drop: expected %q got %q", expect, m)
    	}
    
    	// 6. Invalid rune
    	invalidRune := func(r rune) rune {
    		return utf8.MaxRune + 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  7. src/fmt/fmt_test.go

    	{"%+q", "\U0010ffff", `"\U0010ffff"`},
    	{"%#q", "\U0010ffff", "`􏿿`"},
    	{"%#+q", "\U0010ffff", "`􏿿`"},
    	// Runes that are not valid.
    	{"%q", string(rune(0x110000)), `"�"`},
    	{"%+q", string(rune(0x110000)), `"\ufffd"`},
    	{"%#q", string(rune(0x110000)), "`�`"},
    	{"%#+q", string(rune(0x110000)), "`�`"},
    
    	// characters
    	{"%c", uint('x'), "x"},
    	{"%c", 0xe4, "ä"},
    	{"%c", 0x672c, "本"},
    	{"%c", '日', "日"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    	var args []string
    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    		case rune == '"' || rune == '\'':
    			quoted = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top