代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/375190/2737168
cpp test_singleton.cpp
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// test_singleton.cpp: test implementation of run-time casting of void pointers
// (C) Copyright 2002 Robert Ramey - h
www.eeworm.com/read/366702/2869593
c pmf6.c
// { dg-do run }
// Test that we only call f once and that pointers to different subobjects
// compare as different.
struct A { void f() { } };
struct B: public A { };
struct C: public A { };
struct
www.eeworm.com/read/366702/2871892
c pmem3.c
// { dg-do run }
// Test that comparison of pointers to members does not complain about
// contravariance violation.
struct A { int i; };
struct B : public A { int j; int f (); };
int main ()
{
in
www.eeworm.com/read/366702/2876646
f90 ret_pointer_1.f90
! { dg-do run }
! Test functions returning array pointers
program ret_pointer_1
integer, pointer, dimension(:) :: a
integer, target, dimension(2) :: b
integer, pointer, dimension (:) :: p
a =
www.eeworm.com/read/366702/2877120
f90 func_derived_3.f90
! { dg-do run }
! This tests the "virtual fix" for PR19561, where pointers to derived
! types were not generating correct code. This testcase is based on
! the original PR example. This example not
www.eeworm.com/read/366702/2880041
c 20010327-1.c
/* { dg-skip-if "non-SI pointers" { m32c-*-* } { "*" } { "" } } */
/* This testcase tests whether GCC can produce static initialized data
that references addresses of size 'unsigned long', even if
www.eeworm.com/read/366702/2881588
c pointer-arith-4.c
/* Test diagnostics for arithmetic on void and function pointers.
Test with -pedantic-errors. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-peda
www.eeworm.com/read/366702/2882686
c pointer-arith-2.c
/* Test diagnostics for arithmetic on void and function pointers.
Test with -Wpointer-arith. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-Wpoin
www.eeworm.com/read/357083/3031112
h atarihw.h
/*
** linux/atarihw.h -- This header defines some macros and pointers for
** the various Atari custom hardware registers.
**
** Copyright 1994 by Bj攔n Brauel
**
** 5/1/94 Roman Hode
www.eeworm.com/read/263232/4304677
cpp dog.cpp
/*
dog.cpp -- A program demonstrating function pointers.
*/
#include
#include
#include
const char *Commands[] =
{
"come", "done", "fet