代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/233448/4673535
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/233448/4675844
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/233448/4676440
mm template-2.mm
/* APPLE LOCAL file mainline */
/* Test if ObjC classes (and pointers thereto) can participate
in C++ overloading. Correct handling of cv-qualifiers is
key here. */
/* Author: Ziemowit Laski
www.eeworm.com/read/233448/4681571
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/233448/4684438
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/233448/4685260
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/229812/4737242
c opt42.c
#include "fail.h"
/* Incorrect handling of expressions with both int64 values and far pointers */
/* This test needs segment/offset relocations which cannot be used with
* PE, ELF and other ex
www.eeworm.com/read/226451/4784831
cpp dog.cpp
/*
dog.cpp -- A program demonstrating function pointers.
*/
#include
#include
#include
const char *Commands[] =
{
"come", "done", "fet
www.eeworm.com/read/209559/4970569
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/209559/4972034
h amigappc.h
/*
** asm-ppc/amigappc.h -- This header defines some values and pointers for
** the Phase 5 PowerUp card.
**
** Copyright 1997, 1998 by Phase5, Germany.
**
** This file is subje