Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for runExe (0.27 sec)

  1. src/cmd/compile/internal/types2/typestring.go

    func subscript(x uint64) string {
    	const w = len("₀") // all digits 0...9 have the same utf8 width
    	var buf [32 * w]byte
    	i := len(buf)
    	for {
    		i -= w
    		utf8.EncodeRune(buf[i:], '₀'+rune(x%10)) // '₀' == U+2080
    		x /= 10
    		if x == 0 {
    			break
    		}
    	}
    	return string(buf[i:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/go/doc/reader.go

    	"complex128": true,
    	"error":      true,
    	"float32":    true,
    	"float64":    true,
    	"int":        true,
    	"int8":       true,
    	"int16":      true,
    	"int32":      true,
    	"int64":      true,
    	"rune":       true,
    	"string":     true,
    	"uint":       true,
    	"uint8":      true,
    	"uint16":     true,
    	"uint32":     true,
    	"uint64":     true,
    	"uintptr":    true,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    	{V([]byte("bytes3")), V([]byte("bytes3"))},
    	{V(MyString("runes♝")), V([]rune("runes♝"))},
    	{V([]rune("runes♕")), V(MyString("runes♕"))},
    	{V([]rune("runes🙈🙉🙊")), V([]rune("runes🙈🙉🙊"))},
    	{V([]rune("runes🙈🙉🙊")), V(MyRunes("runes🙈🙉🙊"))},
    	{V(MyRunes("runes🙈🙉🙊")), V([]rune("runes🙈🙉🙊"))},
    	{V(int('a')), V(MyString("a"))},
    	{V(int8('a')), V(MyString("a"))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. src/go/types/stmt.go

    		// check that a (possibly untyped) integer range expression x
    		// is valid.
    		// We do this by checking the assignment _ = x. This ensures
    		// that an untyped x can be converted to a value of its default
    		// type (rune or int).
    		check.assignment(&x, nil, "range clause")
    	}
    
    	check.stmt(inner, s.Body)
    }
    
    // rangeKeyVal returns the key and value type produced by a range clause
    // over an expression of type typ.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  5. src/time/format_test.go

    			prefix, std, suffix := NextStdChunk(s)
    			out += prefix
    			if std > 0 {
    				out += "(" + StdChunkNames[std] + ")"
    			}
    			s = suffix
    		}
    		return out
    	}
    
    	noParens := func(r rune) rune {
    		if r == '(' || r == ')' {
    			return -1
    		}
    		return r
    	}
    
    	for _, marked := range nextStdChunkTests {
    		// marked is an expected output from markChunks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  6. src/go/types/issues_test.go

    		typ string
    		val string
    	}{
    		{"bool", "false"},
    		{"int", "-1"},
    		{"uint", "1.0"},
    		{"rune", "'a'"},
    		{"float64", "3.5"},
    		{"complex64", "1.25"},
    		{"string", "\"foo\""},
    
    		// some more complex constraints
    		{"~byte", "1"},
    		{"~int | ~float64 | complex128", "1"},
    		{"~uint64 | ~rune", "'X'"},
    	}
    
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/load/test.go

    func isTest(name, prefix string) bool {
    	if !strings.HasPrefix(name, prefix) {
    		return false
    	}
    	if len(name) == len(prefix) { // "Test" is ok
    		return true
    	}
    	rune, _ := utf8.DecodeRuneInString(name[len(prefix):])
    	return !unicode.IsLower(rune)
    }
    
    type coverInfo struct {
    	Package *Package
    	Vars    map[string]*CoverVar
    }
    
    // loadTestFuncs returns the testFuncs describing the tests that will be run.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/stmt.go

    		// check that a (possibly untyped) integer range expression x
    		// is valid.
    		// We do this by checking the assignment _ = x. This ensures
    		// that an untyped x can be converted to a value of its default
    		// type (rune or int).
    		check.assignment(&x, nil, "range clause")
    	}
    
    	check.stmt(inner, s.Body)
    }
    
    // RangeKeyVal returns the key and value types for a range over typ.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/encoding/gob/encoder_test.go

    		}
    		if addr != &y[0] {
    			t.Errorf("bytes: unnecessary reallocation")
    		}
    	}
    	// general slice
    	{
    		x := []rune("abcd")
    		enc := NewEncoder(buf)
    		err := enc.Encode(x)
    		if err != nil {
    			t.Errorf("ints: encode: %s", err)
    		}
    		// Decode into y, which is big enough.
    		y := []rune("ABCDE")
    		addr := &y[0]
    		dec := NewDecoder(buf)
    		err = dec.Decode(&y)
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/issues_test.go

    		typ string
    		val string
    	}{
    		{"bool", "false"},
    		{"int", "-1"},
    		{"uint", "1.0"},
    		{"rune", "'a'"},
    		{"float64", "3.5"},
    		{"complex64", "1.25"},
    		{"string", "\"foo\""},
    
    		// some more complex constraints
    		{"~byte", "1"},
    		{"~int | ~float64 | complex128", "1"},
    		{"~uint64 | ~rune", "'X'"},
    	}
    
    	for _, test := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top