Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for dotypedef (0.2 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    struct Types0 {};
    
    // Type lists of length 1, 2, 3, and so on.
    
    template <typename T1>
    struct Types1 {
      typedef T1 Head;
      typedef Types0 Tail;
    };
    
    $range i 2..n
    
    $for i [[
    $range j 1..i
    $range k 2..i
    template <$for j, [[typename T$j]]>
    struct Types$i {
      typedef T1 Head;
      typedef Types$(i-1)<$for k, [[T$k]]> Tail;
    };
    
    
    ]]
    
    }  // namespace internal
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-type-util.h.pump

    struct Types0 {};
    
    // Type lists of length 1, 2, 3, and so on.
    
    template <typename T1>
    struct Types1 {
      typedef T1 Head;
      typedef Types0 Tail;
    };
    
    $range i 2..n
    
    $for i [[
    $range j 1..i
    $range k 2..i
    template <$for j, [[typename T$j]]>
    struct Types$i {
      typedef T1 Head;
      typedef Types$(i-1)<$for k, [[T$k]]> Tail;
    };
    
    
    ]]
    
    }  // namespace internal
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testgodefs/testdata/fieldtypedef.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    package main
    
    /*
    struct S1 { int f1; };
    struct S2 { struct S1 s1; };
    typedef struct S1 S1Type;
    typedef struct S2 S2Type;
    */
    import "C"
    
    type S1 C.S1Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 349 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. src/cmd/cgo/godefs.go

    				override[n.Mangle] = s.Name.Name
    			}
    		}
    	}
    
    	// Extend overrides using typedefs:
    	// If we know that C.xxx should format as T
    	// and xxx is a typedef for yyy, make C.yyy format as T.
    	for typ, def := range typedef {
    		if new := override[typ]; new != "" {
    			if id, ok := def.Go.(*ast.Ident); ok {
    				override[id.Name] = new
    			}
    		}
    	}
    
    	// Apply overrides.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue9026/issue9026.go

    package issue9026
    
    // This file appears in its own package since the assertion tests the
    // per-package counter used to create fresh identifiers.
    
    /*
    typedef struct { int i; } git_merge_file_input;
    
    typedef struct { int j; } git_merge_file_options;
    
    void git_merge_file(
            git_merge_file_input *in,
            git_merge_file_options *opts) {}
    */
    import "C"
    import (
    	"fmt"
    	"testing"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h.pump

    namespace gtest_internal {
    
    // ByRef<T>::type is T if T is a reference; otherwise it's const T&.
    template <typename T>
    struct ByRef { typedef const T& type; };  // NOLINT
    template <typename T>
    struct ByRef<T&> { typedef T& type; };  // NOLINT
    
    // A handy wrapper for ByRef.
    #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h.pump

    namespace gtest_internal {
    
    // ByRef<T>::type is T if T is a reference; otherwise it's const T&.
    template <typename T>
    struct ByRef { typedef const T& type; };  // NOLINT
    template <typename T>
    struct ByRef<T&> { typedef T& type; };  // NOLINT
    
    // A handy wrapper for ByRef.
    #define GTEST_BY_REF_(T) typename ::std::tr1::gtest_internal::ByRef<T>::type
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/issue4339.h

    // Copyright 2013 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.
    
    typedef struct Issue4339 Issue4339;
    
    struct Issue4339 {
    	char *name;
    	void (*bar)(void);
    };
    
    extern Issue4339 exported4339;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 313 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testerrors/testdata/issue67517.go

    // Copyright 2024 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 main
    
    // typedef struct { int a; void* ptr; } S;
    // static void f(S* p) {}
    import "C"
    
    func main() {
    	C.f(&C.S{
    		a: 1+
    
    			(3 + ""), // ERROR HERE
    
    		ptr: nil,
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 335 bytes
    - Viewed (0)
Back to top