Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,686 for intp (0.07 sec)

  1. src/cmd/compile/internal/test/divconst_test.go

    	}
    }
    
    var i8res int8
    
    func BenchmarkDivconstI8(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		i8res = int8(i) / 7
    	}
    }
    
    func BenchmarkModconstI8(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		i8res = int8(i) % 7
    	}
    }
    
    func BenchmarkDivisiblePow2constI8(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		boolres = int8(i)%16 == 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 00:07:35 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  2. test/rename.go

    	n :=
    		append +
    			bool +
    			byte +
    			complex +
    			complex64 +
    			complex128 +
    			cap +
    			close +
    			delete +
    			error +
    			false +
    			float32 +
    			float64 +
    			imag +
    			int +
    			int8 +
    			int16 +
    			int32 +
    			int64 +
    			len +
    			make +
    			new +
    			nil +
    			panic +
    			print +
    			println +
    			real +
    			recover +
    			rune +
    			string +
    			true +
    			uint +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  3. src/reflect/iter.go

    			})
    			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())
    	case Uint8:
    		return rangeNum[uint8](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)
  4. test/convinline.go

    		}
    		return convert1(v, t2)
    	}
    	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":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  5. src/cmd/api/testdata/src/pkg/p1/golden.txt

    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)
    pkg p1, method (*B) JustOnB()
    pkg p1, method (*B) OnBothTandBPtr()
    pkg p1, method (*Embedded) OnEmbedded()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. src/crypto/internal/edwards25519/tables.go

    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)
  7. 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)
  8. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int8
    			e int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int8; e int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. 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)
  10. test/typeparam/index.go

    func Index[T comparable](s []T, x T) int {
    	for i, v := range s {
    		// v and x are type T, which has the comparable
    		// 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
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top