Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 875 for Tint (0.18 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy

            [
                new SimplePropertyAnnotationHandler(TestNested, INPUT, [ItDepends]),
                new SimplePropertyAnnotationHandler(Long, INPUT, [ItDepends, Tint]),
                new SimplePropertyAnnotationHandler(Short, INPUT, [Tint]),
            ],
            [ItDepends, Tint],
            typeAnnotationMetadataStore,
            { annotations -> annotations.get(TYPE)?.annotationType() },
            TestCrossBuildInMemoryCacheFactory.instance(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. test/fixedbugs/bug023.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type Type interface {
    	TypeName() string;
    }
    
    type TInt struct {
    }
    
    // TInt
    func (i *TInt) TypeName() string {
    	return "int";
    }
    
    
    func main() {
    	var t Type;
    	t = nil;
    	_ = t;
    }
    
    /*
    bug023.go:20: fatal error: naddr: const <Type>I{<TypeName>110(<_t117>{},<_o119>{},{});}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 453 bytes
    - Viewed (0)
  3. src/runtime/mfinal_test.go

    		convert   func(*int) any
    		finalizer any
    	}{
    		{func(x *int) any { return x }, func(v *int) { finalize(v) }},
    		{func(x *int) any { return Tintptr(x) }, func(v Tintptr) { finalize(v) }},
    		{func(x *int) any { return Tintptr(x) }, func(v *int) { finalize(v) }},
    		{func(x *int) any { return (*Tint)(x) }, func(v *Tint) { finalize((*int)(v)) }},
    		{func(x *int) any { return (*Tint)(x) }, func(v Tinter) { finalize((*int)(v.(*Tint))) }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/builtin.go

    		}
    	}
    
    	if ir.IsConst(hint, constant.Int) && constant.Compare(hint.Val(), token.LEQ, constant.MakeInt64(abi.MapBucketCount)) {
    		// Handling make(map[any]any) and
    		// make(map[any]any, hint) where hint <= BUCKETSIZE
    		// special allows for faster map initialization and
    		// improves binary size by using calls with fewer arguments.
    		// For hint <= BUCKETSIZE overLoadFactor(hint, 0) is false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/runtime/abi_test.go

    var regConfirmRun atomic.Int32
    
    //go:registerparams
    func regFinalizerPointer(v *TintPointer) (int, float32, [10]byte) {
    	regConfirmRun.Store(int32(*(*int)(v.p)))
    	return 5151, 4.0, [10]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    }
    
    //go:registerparams
    func regFinalizerIface(v Tinter) (int, float32, [10]byte) {
    	regConfirmRun.Store(int32(*(*int)(v.(*TintPointer).p)))
    	return 5151, 4.0, [10]byte{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/universe.go

    	{"complex128", TCOMPLEX128},
    	{"bool", TBOOL},
    	{"string", TSTRING},
    }
    
    var typedefs = [...]struct {
    	name     string
    	etype    Kind
    	sameas32 Kind
    	sameas64 Kind
    }{
    	{"int", TINT, TINT32, TINT64},
    	{"uint", TUINT, TUINT32, TUINT64},
    	{"uintptr", TUINTPTR, TUINT32, TUINT64},
    }
    
    func InitTypes(defTypeName func(sym *Sym, typ *Type) Object) {
    	if PtrSize == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types/kind_string.go

    	var x [1]struct{}
    	_ = x[Txxx-0]
    	_ = x[TINT8-1]
    	_ = x[TUINT8-2]
    	_ = x[TINT16-3]
    	_ = x[TUINT16-4]
    	_ = x[TINT32-5]
    	_ = x[TUINT32-6]
    	_ = x[TINT64-7]
    	_ = x[TUINT64-8]
    	_ = x[TINT-9]
    	_ = x[TUINT-10]
    	_ = x[TUINTPTR-11]
    	_ = x[TCOMPLEX64-12]
    	_ = x[TCOMPLEX128-13]
    	_ = x[TFLOAT32-14]
    	_ = x[TFLOAT64-15]
    	_ = x[TBOOL-16]
    	_ = x[TPTR-17]
    	_ = x[TFUNC-18]
    	_ = x[TSLICE-19]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    	l := s.newValue1(ssa.OpSliceLen, types.Types[types.TINT], slice)
    	c := s.newValue1(ssa.OpSliceCap, types.Types[types.TINT], slice)
    
    	// Add number of new elements to length.
    	nargs := s.constInt(types.Types[types.TINT], int64(len(n.Args)-1))
    	l = s.newValue2(s.ssaOp(ir.OADD, types.Types[types.TINT]), types.Types[types.TINT], l, nargs)
    
    	// Decide if we need to grow
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. src/encoding/gob/type_test.go

    // Reregister some basic types to check registration is idempotent.
    func TestReregistration(t *testing.T) {
    	newtyp := getTypeUnlocked("int", reflect.TypeFor[int]())
    	if newtyp != tInt.gobType() {
    		t.Errorf("reregistration of %s got new type", newtyp.string())
    	}
    	newtyp = getTypeUnlocked("uint", reflect.TypeFor[uint]())
    	if newtyp != tUint.gobType() {
    		t.Errorf("reregistration of %s got new type", newtyp.string())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:26:13 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/assign.go

    //	    // Compare n and s as uint so growslice can panic on overflow of len(s) + l2.
    //	    // cap is a positive int and n can become negative when len(s) + l2
    //	    // overflows int. Interpreting n when negative as uint makes it larger
    //	    // than cap(s). growslice will check the int n arg and panic if n is
    //	    // negative. This prevents the overflow from being undetected.
    //	    if uint(n) <= uint(cap(s)) {
    //	      s = s[:n]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top