- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,967 for FUNC (0.05 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
func nlz32(x int32) int { return bits.LeadingZeros32(uint32(x)) } func nlz16(x int16) int { return bits.LeadingZeros16(uint16(x)) } func nlz8(x int8) int { return bits.LeadingZeros8(uint8(x)) } // ntzX returns the number of trailing zeros. func ntz64(x int64) int { return bits.TrailingZeros64(uint64(x)) } func ntz32(x int32) int { return bits.TrailingZeros32(uint32(x)) } func ntz16(x int16) int { return bits.TrailingZeros16(uint16(x)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
}) } func TestIssue61931(t *testing.T) { const src = ` package p func A(func(any), ...any) {} func B[T any](T) {} func _() { A(B, nil // syntax error: missing ',' before newline in argument list } ` f, err := syntax.Parse(syntax.NewFileBase(pkgName(src)), strings.NewReader(src), func(error) {}, nil, 0) if err == nil { t.Fatal("expected syntax error") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
pkg/test/framework/suite.go
} // NewSuite returns a new suite instance. func NewSuite(m *testing.M) Suite { _, f, _, _ := goruntime.Caller(1) suiteName := deriveSuiteName(f) return newSuite(suiteName, func(_ *suiteContext) int { return m.Run() }, os.Exit, getSettings) } func newSuite(testID string, fn mRunFn, osExit func(int), getSettingsFn getSettingsFunc) *suiteImpl { s := &suiteImpl{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.2K bytes - Viewed (0) -
pkg/volume/noop_expandable_plugin.go
} func (n *noopExpandableVolumePluginInstance) GetVolumeName(spec *Spec) (string, error) { return n.spec.Name(), nil } func (n *noopExpandableVolumePluginInstance) CanSupport(spec *Spec) bool { return true } func (n *noopExpandableVolumePluginInstance) RequiresRemount(spec *Spec) bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 2.2K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
func TestLittleEndianPtrWrite(t *testing.T) { testWrite(t, LittleEndian, little, &s) } func TestBigEndianRead(t *testing.T) { testRead(t, BigEndian, big, s) } func TestBigEndianWrite(t *testing.T) { testWrite(t, BigEndian, big, s) } func TestBigEndianPtrWrite(t *testing.T) { testWrite(t, BigEndian, big, &s) } func TestReadSlice(t *testing.T) { t.Run("Read", func(t *testing.T) { slice := make([]int32, 2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
return errnoErr(errno) } func Chmod(path string, mode uint32) error { var stat Stat_t return Stat(path, &stat) } func Fchmod(fd int, mode uint32) error { var stat Stat_t return Fstat(fd, &stat) } func Chown(path string, uid, gid int) error { return ENOSYS } func Fchown(fd int, uid, gid int) error { return ENOSYS } func Lchown(path string, uid, gid int) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0) -
src/net/http/transport_test.go
type cancelTest struct { mode testMode newReq func(req *Request) *Request // prepare the request to cancel cancel func(tr *Transport, req *Request) // cancel the request checkErr func(when string, err error) // verify the expected error } // runCancelTestTransport uses Transport.CancelRequest. func runCancelTestTransport(t *testing.T, mode testMode, f func(t *testing.T, test cancelTest)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/fakegenerator.go
calledFuncs map[string]int opFunc func() volumetypes.OperationContext } var _ OperationGenerator = &fakeOGCounter{} // NewFakeOGCounter returns a OperationGenerator func NewFakeOGCounter(opFunc func() volumetypes.OperationContext) OperationGenerator { return &fakeOGCounter{ calledFuncs: map[string]int{}, opFunc: opFunc, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 5.1K bytes - Viewed (0) -
src/reflect/all_test.go
}, {struct { x struct { f func(args ...int) } }{}, "struct { f func(...int) }", }, {struct { x (interface { a(func(func(int) int) func(func(int)) int) b() }) }{}, "interface { reflect_test.a(func(func(int) int) func(func(int)) int); reflect_test.b() }", }, {struct { x struct { int32 int64 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
test/codegen/bits.go
// mask contiguous zero bits func cont0Mask64U(x uint64) uint64 { // s390x:"RISBGZ\t[$]48, [$]15, [$]0," return x & 0xffff00000000ffff } func issue44228a(a []int64, i int) bool { // amd64: "BTQ", -"SHL" return a[i>>6]&(1<<(i&63)) != 0 } func issue44228b(a []int32, i int) bool { // amd64: "BTL", -"SHL" return a[i>>5]&(1<<(i&31)) != 0 } func issue48467(x, y uint64) uint64 { // arm64: -"NEG"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 7.8K bytes - Viewed (0)