Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 443 for typeOff (0.14 sec)

  1. 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)
  2. 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)
  3. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    			[in] uint32_t access_mask,
    			[in] sid_t *sid,
    			[out] policy_handle *domain_handle);
    
    	typedef struct {
    		uint32_t idx;
    		unicode_string name;
    	} SamrSamEntry;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] SamrSamEntry *entries;
    	} SamrSamArray;
    
    	[op(0x0f)]
    	int SamrEnumerateAliasesInDomain([in] policy_handle *domain_handle,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. subprojects/core-api/src/test/groovy/org/gradle/api/reflect/TypeOfTest.java

        }
    
        @Test
        public void canRepresentSimpleType() {
            TypeOf<String> type = new TypeOf<String>() {};
    
            assertTrue(type.isSimple());
            assertFalse(type.isArray());
            assertFalse(type.isParameterized());
            assertEquals(type.getConcreteClass(), String.class);
        }
    
        @Test
        public void canRepresentWildcardTypeExpression() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 11 21:42:04 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tfe_op_attrs_internal.h

    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    // that sometimes do not require serialization.
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    typedef struct TFE_Context TFE_Context;
    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::AbstractOpAttrs, TFE_OpAttrs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 10 05:41:19 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. 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)
  9. src/debug/dwarf/testdata/cycle.c

    typedef struct aaa *AAA;
    typedef AAA BBB;
    struct aaa { BBB val; };
    
    AAA x(void) {
        return (AAA)0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 14 02:05:31 UTC 2016
    - 103 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue42495.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // typedef struct { } T42495A;
    // typedef struct { int x[0]; } T42495B;
    import "C"
    
    //export Issue42495A
    func Issue42495A(C.T42495A) {}
    
    //export Issue42495B
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 366 bytes
    - Viewed (0)
Back to top