Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for fooer2 (0.3 sec)

  1. test/typeparam/issue48049.go

    package main
    
    func main() {
    	Gooer2[byte]()
    }
    
    type Fooer[T any] interface {
    	Foo(p T)
    }
    
    type fooer1[T any] struct{}
    
    func (fooer1[T]) Foo(T) {}
    
    type fooer2[T any] struct {
    	r []Fooer[T]
    }
    
    //go:noinline
    func (mr fooer2[T]) Foo(p T) {
    	mr.r[0] = fooer1[T]{}
    	return
    }
    
    func Gooer2[T any]() Fooer[T] {
    	return fooer2[T]{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 493 bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue47747.go

    // 
    // func _[t any](f Fooer1[t]) t {
    // 	var b Bar[t]
    // 	f.Foo(&b)
    // 	return t(b)
    // }
    
    // Test case 2 from issue
    
    // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    // type Fooer2[t any] interface {
    // 	Foo()
    // }
    // 
    // type Foo2[t any] t
    // 
    // func (f *Foo2[t]) Foo() {}
    // 
    // func _[t any](v t) {
    // 	var f = Foo2[t](v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. test/codegen/issue22703.go

    	foo031()
    	foo032()
    	foo033()
    	foo034()
    	foo035()
    	foo036()
    	foo037()
    	foo038()
    	foo039()
    	foo040()
    	foo041()
    	foo042()
    	foo043()
    	foo044()
    	foo045()
    	foo046()
    	foo047()
    	foo048()
    	foo049()
    	foo050()
    	foo051()
    	foo052()
    	foo053()
    	foo054()
    	foo055()
    	foo056()
    	foo057()
    	foo058()
    	foo059()
    	foo060()
    	foo061()
    	foo062()
    	foo063()
    	foo064()
    	foo065()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 03 20:20:54 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  4. src/main/webapp/WEB-INF/view/footer.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <footer role="contentinfo">
    	<div class="container text-center">
    		<p class="textmuted">
    			<la:message key="labels.footer.copyright" />
    		</p>
    	</div>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Tue Aug 07 14:11:18 UTC 2018
    - 232 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/main/resources/footer.html

                    </form>
                </div>
            </section>
        </nav>
    </footer>
    
    </div>
    <!-- end div class="content" -->
    
    
    </main>
    
    <div class="site-footer-secondary">
        <div class="site-footer-secondary__contents">
            <div class="site-footer__copy">© <a href="https://gradle.com">Gradle Inc.</a>
                <time>2023</time>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. test/escape2n.go

    	N int64
    }
    
    func LimitFooer(r Fooer, n int64) Fooer { // ERROR "leaking param: r$"
    	return &LimitedFooer{r, n} // ERROR "&LimitedFooer{...} escapes to heap$"
    }
    
    func foo90(x *int) map[*int]*int { // ERROR "leaking param: x$"
    	return map[*int]*int{nil: x} // ERROR "map\[\*int\]\*int{...} escapes to heap$"
    }
    
    func foo91(x *int) map[*int]*int { // ERROR "leaking param: x$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. test/typeparam/typeswitch5.out

    fooer 6
    other
    other
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 09 18:41:45 UTC 2021
    - 41 bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/common/admin/footer.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <footer class="main-footer">
    	<div class="float-right d-none d-sm-inline-block"></div>
    	<la:message key="labels.footer.copyright" />
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Wed Feb 12 20:25:27 UTC 2020
    - 213 bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/orig/view/footer.jsp

    <%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
    <footer role="contentinfo">
    	<div class="container text-center">
    		<p class="textmuted">
    			<la:message key="labels.footer.copyright" />
    		</p>
    	</div>
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Tue Aug 07 14:11:18 UTC 2018
    - 232 bytes
    - Viewed (0)
  10. test/fixedbugs/issue29612.dir/p1/ssa/ssa.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ssa
    
    type T struct{}
    
    func (T) foo() {}
    
    type fooer interface {
    	foo()
    }
    
    func Unused(v interface{}) {
    	v.(fooer).foo()
    	v.(interface{ foo() }).foo()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 17:27:06 UTC 2019
    - 320 bytes
    - Viewed (0)
Back to top