Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 607 for typeOff (0.38 sec)

  1. src/cmd/cgo/internal/testerrors/ptr_test.go

    var ptrTests = []ptrTest{
    	{
    		// Passing a pointer to a struct that contains a Go pointer.
    		name: "ptr1",
    		c:    `typedef struct s1 { int *p; } s1; void f1(s1 *ps) {}`,
    		body: `C.f1(&C.s1{new(C.int)})`,
    		fail: true,
    	},
    	{
    		// Passing a pointer to a struct that contains a Go pointer.
    		name: "ptr2",
    		c:    `typedef struct s2 { int *p; } s2; void f2(s2 *ps) {}`,
    		body: `p := &C.s2{new(C.int)}; C.f2(p)`,
    		fail: true,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:49 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue27340/a.go

    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    // #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
    //
    // typedef struct {
    // 	int a;
    // } issue27340Struct, *issue27340Ptr;
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver.go

    )
    
    const object = common.RootTypeReferenceName
    
    type TypeResolver struct {
    }
    
    // Resolve resolves the TypeRef for the given type name
    // that starts with "Object".
    // This is the unstructured version, which means the
    // returned TypeRef does not refer to the schema.
    func (r *TypeResolver) Resolve(name string) (common.TypeRef, bool) {
    	if !strings.HasPrefix(name, object) {
    		return nil, false
    	}
    	return NewTypeRef(name), true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 00:01:35 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor.h

    #define SE_MINOR 0
    #define SE_PATCH 1
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    typedef struct SP_Stream_st* SP_Stream;
    typedef struct SP_Event_st* SP_Event;
    typedef struct SP_Timer_st* SP_Timer;
    // Takes `callback_arg` passed to `host_callback` as the first argument.
    typedef void (*SE_StatusCallbackFn)(void* const, TF_Status* const);
    
    typedef struct SP_TimerFns {
      size_t struct_size;
      void* ext;  // reserved for future use
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  5. pkg/config/schema/collections/collections.gen.go

    		VersionAliases: []string{
    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

        val extensions: List<ProjectSchemaEntry<TypeOf<*>>>,
        val conventions: List<ProjectSchemaEntry<TypeOf<*>>>,
        val tasks: List<ProjectSchemaEntry<TypeOf<*>>>,
        val containerElements: List<ProjectSchemaEntry<TypeOf<*>>>
    )
    
    
    internal
    fun targetSchemaFor(target: Any, targetType: TypeOf<*>): TargetTypedSchema {
    
        val extensions = mutableListOf<ProjectSchemaEntry<TypeOf<*>>>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/runtime/cgo/libcgo.h

    #include <stdio.h>
    
    #undef nil
    #define nil ((void*)0)
    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    typedef uint32_t uint32;
    typedef uint64_t uint64;
    typedef uintptr_t uintptr;
    
    /*
     * The beginning of the per-goroutine structure,
     * as defined in ../pkg/runtime/runtime.h.
     * Just enough to edit these two fields.
     */
    typedef struct G G;
    struct G
    {
    	uintptr stacklo;
    	uintptr stackhi;
    };
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 20:50:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/KotlinTypeStringTest.kt

    package org.gradle.kotlin.dsl.accessors
    
    import org.gradle.api.reflect.TypeOf.typeOf
    
    import org.gradle.kotlin.dsl.typeOf
    
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Test
    
    
    class KotlinTypeStringTest {
    
        @Test
        fun `#kotlinTypeStringFor array type`() {
            assertThat(
                kotlinTypeStringFor(typeOf<Array<String>>()),
                equalTo("Array<String>")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/internal/fmtsort/sort_test.go

    )
    
    var compareTests = [][]reflect.Value{
    	ct(reflect.TypeOf(int(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int8(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int16(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int32(0)), -1, 0, 1),
    	ct(reflect.TypeOf(int64(0)), -1, 0, 1),
    	ct(reflect.TypeOf(uint(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint8(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint16(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint32(0)), 0, 1, 5),
    	ct(reflect.TypeOf(uint64(0)), 0, 1, 5),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/main/webapp/js/suggestor.js

                              1
                          ) {
                            if (typeof listDeselectedCssInfo !== "undefined") {
                              $(this).css(listDeselectedCssInfo);
                            } else {
                              if (
                                typeof boxCssInfo === "undefined" ||
                                typeof boxCssInfo["background-color"] === "undefined"
                              ) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top