Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 606 for typeOff (0.2 sec)

  1. src/reflect/value.go

    			panic("reflect: " + op + " of method on nil interface value")
    		}
    		rcvrtype = iface.itab.Type
    		fn = unsafe.Pointer(&unsafe.Slice(&iface.itab.Fun[0], i+1)[i])
    		t = (*funcType)(unsafe.Pointer(tt.typeOff(m.Typ)))
    	} else {
    		rcvrtype = v.typ()
    		ms := v.typ().ExportedMethods()
    		if uint(i) >= uint(len(ms)) {
    			panic("reflect: internal error: invalid method index")
    		}
    		m := ms[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter_test.go

    	gvkIndex := indexModels(&parser, myDefs)
    
    	require.Len(t, gvkIndex, 5)
    
    	resultNames := map[schema.GroupVersionKind]string{}
    	for k, v := range gvkIndex {
    		require.NotNil(t, v.TypeRef.NamedType)
    		resultNames[k] = *v.TypeRef.NamedType
    	}
    
    	require.Equal(t, resultNames, map[schema.GroupVersionKind]string{
    		{
    			Group:   "mygroup",
    			Version: "v1",
    			Kind:    "MyKind",
    		}: "def1",
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. src/debug/dwarf/type.go

    			}
    			t.ParamType = append(t.ParamType, tkid)
    		}
    
    	case TagTypedef:
    		// Typedef (DWARF v2 §5.3)
    		// Attributes:
    		//	AttrName: name [required]
    		//	AttrType: type definition [required]
    		t := new(TypedefType)
    		typ = t
    		typeCache[off] = t
    		t.Name, _ = e.Val(AttrName).(string)
    		t.Type = typeOf(e)
    
    	case TagUnspecifiedType:
    		// Unspecified type (DWARF v3 §5.2)
    		// Attributes:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/test.go

    struct _jobject;
    
    typedef struct _jobject *jobject;
    typedef jobject jclass;
    typedef jobject jthrowable;
    typedef jobject jstring;
    typedef jobject jarray;
    typedef jarray jbooleanArray;
    typedef jarray jbyteArray;
    typedef jarray jcharArray;
    typedef jarray jshortArray;
    typedef jarray jintArray;
    typedef jarray jlongArray;
    typedef jarray jfloatArray;
    typedef jarray jdoubleArray;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  5. src/cmd/fix/cftype_test.go

    		In: `package main
    
    // typedef const void *CFTypeRef;
    import "C"
    
    var x C.CFTypeRef = nil
    
    func f() {
    	x = nil
    }
    `,
    		Out: `package main
    
    // typedef const void *CFTypeRef;
    import "C"
    
    var x C.CFTypeRef = 0
    
    func f() {
    	x = 0
    }
    `,
    	},
    	{
    		Name: "cftype.EqualArgument",
    		In: `package main
    
    // typedef const void *CFTypeRef;
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue26213/jni.h

    typedef void* jobject;
    
    typedef jobject jclass;
    typedef jobject jthrowable;
    typedef jobject jstring;
    typedef jobject jarray;
    typedef jarray jbooleanArray;
    typedef jarray jbyteArray;
    typedef jarray jcharArray;
    typedef jarray jshortArray;
    typedef jarray jintArray;
    typedef jarray jlongArray;
    typedef jarray jfloatArray;
    typedef jarray jdoubleArray;
    typedef jarray jobjectArray;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 874 bytes
    - Viewed (0)
  7. src/cmd/fix/jnitype_test.go

    		In: `package main
    
    // typedef struct _jobject* jobject;
    import "C"
    
    var x C.jobject = nil
    
    func f() {
    	x = nil
    }
    `,
    		Out: `package main
    
    // typedef struct _jobject* jobject;
    import "C"
    
    var x C.jobject = 0
    
    func f() {
    	x = 0
    }
    `,
    	},
    	{
    		Name: "jni.EqualArgument",
    		In: `package main
    
    // typedef struct _jobject* jobject;
    import "C"
    
    var x C.jobject
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/fix/egltype_test.go

    			In: `package main
    
    // typedef void *$EGLTYPE;
    import "C"
    
    func f() {
    	var x C.$EGLTYPE = nil
    	x = nil
    	x, x = nil, nil
    }
    `,
    			Out: `package main
    
    // typedef void *$EGLTYPE;
    import "C"
    
    func f() {
    	var x C.$EGLTYPE = 0
    	x = 0
    	x, x = 0, 0
    }
    `,
    		},
    		{
    			Name: "egl.globalVariable",
    			In: `package main
    
    // typedef void *$EGLTYPE;
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    template <typename T1>
    struct Types1 {
      typedef T1 Head;
      typedef Types0 Tail;
    };
    template <typename T1, typename T2>
    struct Types2 {
      typedef T1 Head;
      typedef Types1<T2> Tail;
    };
    
    template <typename T1, typename T2, typename T3>
    struct Types3 {
      typedef T1 Head;
      typedef Types2<T2, T3> Tail;
    };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 181.3K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h

    template <typename T1>
    struct Types1 {
      typedef T1 Head;
      typedef Types0 Tail;
    };
    template <typename T1, typename T2>
    struct Types2 {
      typedef T1 Head;
      typedef Types1<T2> Tail;
    };
    
    template <typename T1, typename T2, typename T3>
    struct Types3 {
      typedef T1 Head;
      typedef Types2<T2, T3> Tail;
    };
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 181.3K bytes
    - Viewed (0)
Back to top