Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 152 for _typ (0.04 sec)

  1. src/runtime/race0.go

    import (
    	"unsafe"
    )
    
    const raceenabled = false
    
    // Because raceenabled is false, none of these functions should be called.
    
    func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr)  { throw("race") }
    func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") }
    func raceinit() (uintptr, uintptr)                                          { throw("race"); return 0, 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/compare.go

    		//   l.tab == type(r)
    		// For non-empty interface, this is:
    		//   l.tab != nil && l.tab._type == type(r)
    		//
    		// TODO(mdempsky): For non-empty interface comparisons, just
    		// compare against the itab address directly?
    		var eqtype ir.Node
    		tab := ir.NewUnaryExpr(base.Pos, ir.OITAB, l)
    		rtyp := reflectdata.CompareRType(base.Pos, n)
    		if l.Type().IsEmptyInterface() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/universe.go

    		typ.SetUnderlying(ityp)
    		def(obj)
    	}
    
    	// type comparable interface{} // marked as comparable
    	{
    		obj := NewTypeName(nopos, nil, "comparable", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// interface{} // marked as comparable
    		ityp := &Interface{complete: true, tset: &_TypeSet{nil, allTermlist, true}}
    
    		typ.SetUnderlying(ityp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/go/types/universe.go

    		typ.SetUnderlying(ityp)
    		def(obj)
    	}
    
    	// type comparable interface{} // marked as comparable
    	{
    		obj := NewTypeName(nopos, nil, "comparable", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// interface{} // marked as comparable
    		ityp := &Interface{complete: true, tset: &_TypeSet{nil, allTermlist, true}}
    
    		typ.SetUnderlying(ityp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. src/runtime/cgocheck.go

    //go:systemstack
    func cgoCheckUsingType(typ *_type, src unsafe.Pointer, off, size uintptr) {
    	if !typ.Pointers() {
    		return
    	}
    
    	// Anything past typ.PtrBytes is not a pointer.
    	if typ.PtrBytes <= off {
    		return
    	}
    	if ptrdataSize := typ.PtrBytes - off; size > ptrdataSize {
    		size = ptrdataSize
    	}
    
    	if typ.Kind_&abi.KindGCProg == 0 {
    		cgoCheckBits(src, typ.GCData, off, size)
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. docs/pt/docs/alternatives.md

    Ele foi uma das primeiras implementações de um framework usando Python _type hints_ para declarar parâmetros e requisições que eu nunca vi (antes no NestJS e Molten). Eu encontrei ele mais ou menos na mesma época que o Hug. Mas o APIStar utilizava o padrão OpenAPI.
    
    Ele tinha validação de dados automática, serialização de dados e geração de _schema_ OpenAPI baseado nos mesmos _type hints_ em vários locais.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/cmd/cover/testdata/pkgcfg/a/a_test.go

    package a_test
    
    import (
    	"cfg/a"
    	"testing"
    )
    
    func TestA(t *testing.T) {
    	a.A(0)
    	var aat a.Atyp
    	at := &aat
    	at.Set(42)
    	println(at.Get())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:48:40 UTC 2022
    - 144 bytes
    - Viewed (0)
  8. src/runtime/error.go

    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    // A TypeAssertionError explains a failed type assertion.
    type TypeAssertionError struct {
    	_interface    *_type
    	concrete      *_type
    	asserted      *_type
    	missingMethod string // one method needed by Interface, missing from Concrete
    }
    
    func (*TypeAssertionError) RuntimeError() {}
    
    func (e *TypeAssertionError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

     * The <a href="https://docs.gradle.org/current/userguide/java_gradle_plugin.html" target="_top">java-gradle-plugin</a> adds
     * a {@code validatePlugins} task, though if you cannot use this plugin then you need to register the task yourself.
     *
     * See the user guide for more information on
     * <a href="https://docs.gradle.org/current/userguide/incremental_build.html" target="_top">incremental build</a> and
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/go/types/expr.go

    	token.MUL: "multiplication",
    	token.SHL: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    	typ = Unalias(typ)
    	if tpar, _ := typ.(*TypeParam); tpar != nil {
    		return tpar.underIs(f)
    	}
    	return f(under(typ))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
Back to top