Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 272 for Int8 (0.04 sec)

  1. src/reflect/iter.go

    				return []Value{ValueOf(yield(in[0]))}
    			})
    			v.Call([]Value{rf})
    		}
    	}
    	switch v.Kind() {
    	case Int:
    		return rangeNum[int](v.Int())
    	case Int8:
    		return rangeNum[int8](v.Int())
    	case Int16:
    		return rangeNum[int16](v.Int())
    	case Int32:
    		return rangeNum[int32](v.Int())
    	case Int64:
    		return rangeNum[int64](v.Int())
    	case Uint:
    		return rangeNum[uint](v.Uint())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. test/convinline.go

    	}
    	panic(t1)
    }
    
    func convert1[T int64 | uint64 | float64](v T, t2 string) string {
    	switch t2 {
    	case "int":
    		return fmt.Sprintf("%s(%#x)", t2, int(v))
    	case "int8":
    		return fmt.Sprintf("%s(%#x)", t2, int8(v))
    	case "int16":
    		return fmt.Sprintf("%s(%#x)", t2, int16(v))
    	case "int32":
    		return fmt.Sprintf("%s(%#x)", t2, int32(v))
    	case "int64":
    		return fmt.Sprintf("%s(%#x)", t2, int64(v))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const FloatConst = 1.5  // 3/2
    pkg p1, const FloatConst ideal-float
    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    pkg p1, func Bar1(int8, int16, int64) uint64
    pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
    pkg p1, func BarE() Error
    pkg p1, func Now() Time
    pkg p1, func PlainFunc(int, int, string) (*B, error)
    pkg p1, func TakesFunc(func(int) int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/tables.go

    }
    
    // Given odd x with 0 < x < 2^4, return x*Q (in variable time).
    func (v *nafLookupTable5) SelectInto(dest *projCached, x int8) {
    	*dest = v.points[x/2]
    }
    
    // Given odd x with 0 < x < 2^7, return x*Q (in variable time).
    func (v *nafLookupTable8) SelectInto(dest *affineCached, x int8) {
    	*dest = v.points[x/2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 05 21:02:45 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. utils/tests/dummy_dialecter.go

    	writer.WriteByte('?')
    }
    
    func (DummyDialector) QuoteTo(writer clause.Writer, str string) {
    	var (
    		underQuoted, selfQuoted bool
    		continuousBacktick      int8
    		shiftDelimiter          int8
    	)
    
    	for _, v := range []byte(str) {
    		switch v {
    		case '`':
    			continuousBacktick++
    			if continuousBacktick == 2 {
    				writer.WriteString("``")
    				continuousBacktick = 0
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 06 06:03:31 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. test/typeparam/listimp.dir/a.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    type Ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~string
    }
    
    // List is a linked list of ordered values of type T.
    type List[T Ordered] struct {
    	Next *List[T]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  7. test/codegen/fuse.go

    	}
    }
    
    func si3c(c <-chan int16) {
    	// amd64:"CMPW\t.+, [$]256"
    	// s390x:"CLIJ\t[$]12, R[0-9]+, [$]255"
    	for x := <-c; x >= 0 && x < 256; x = <-c {
    	}
    }
    
    func si4c(c <-chan int8) {
    	// amd64:"CMPB\t.+, [$]10"
    	// s390x:"CLIJ\t[$]4, R[0-9]+, [$]10"
    	for x := <-c; x >= 0 && x < 10; x = <-c {
    	}
    }
    
    func si5c(c <-chan int64) {
    	// amd64:"CMPQ\t.+, [$]251","ADDQ\t[$]-5,"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 03 14:30:26 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  8. test/typeswitch1.go

    	e
    )
    
    var x = []int{1, 2, 3}
    
    func f(x int, len *byte) {
    	*len = byte(x)
    }
    
    func whatis(x interface{}) string {
    	switch xx := x.(type) {
    	default:
    		return fmt.Sprint("default ", xx)
    	case int, int8, int16, int32:
    		return fmt.Sprint("signed ", xx)
    	case int64:
    		return fmt.Sprint("signed64 ", int64(xx))
    	case uint, uint8, uint16, uint32:
    		return fmt.Sprint("unsigned ", xx)
    	case uint64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.6K bytes
    - Viewed (0)
  9. test/typeparam/index.go

    		// constraint, so we can use == here.
    		if v == x {
    			return i
    		}
    	}
    	return -1
    }
    
    type obj struct {
    	x int
    }
    
    type obj2 struct {
    	x int8
    	y float64
    }
    
    type obj3 struct {
    	x int64
    	y int8
    }
    
    type inner struct {
    	y int64
    	z int32
    }
    
    type obj4 struct {
    	x int32
    	s inner
    }
    
    func main() {
    	want := 2
    
    	vec1 := []string{"ab", "cd", "ef"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. src/go/internal/gccgoimporter/testdata/pointer.go

    package pointer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 17 23:03:13 UTC 2015
    - 36 bytes
    - Viewed (0)
Back to top