代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/180222/5288446
cpp simplestruct3.cpp
//: C03:SimpleStruct3.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Using pointers to structs
www.eeworm.com/read/169681/5416470
h ei82596end.h
/* ei82596End.h - Intel 82596 network interface header */
/* Copyright 1990-1992 Wind River Systems, Inc. */
/*
modification history
--------------------
01c,13jan99,mem changed pNext pointers to ty
www.eeworm.com/read/162614/5522109
c 900212_03.c
// { dg-do run }
// g++ 1.36.1 bug 900212_03
// g++ segfaults on any attempt to use the ->* operator.
// Cfront 2.0 passes this test.
// keywords: member pointers, operator->*
struct struct0 {
www.eeworm.com/read/162614/5528396
c 20040727-1.c
/* Extracted from boehm-gc/os_dep.c on Darwin. It caused an ICE when
trying to merge alias information from two pointers that had
different type memory tags. */
typedef int thread_state_flavor
www.eeworm.com/read/340665/3273545
c ptr1.c
// Bug: catching pointers by reference doesn't work right.
extern "C" int printf (const char *, ...);
struct E {
int x;
E(int i) { x = i; };
};
int main()
{
try {
E *p = new E(5);
thr
www.eeworm.com/read/340665/3275477
c ptrmem4.c
// Build don't link:
// GROUPS passed pointers-to-members
class X {
private:
int i;
public:
X(int k) { i=k; }
int operator=(X &a) { return i = a.i; }
int operator=(int ii) { return i =
www.eeworm.com/read/340665/3276070
c 900213_02.c
// g++ 1.36.1 bug 900213_02
// The following erroneous code causes g++ to abort.
// Cfront 2.0 passes this test.
// keywords: abort, member pointers, operator*
struct struct0 {
int data_member;
www.eeworm.com/read/340665/3276109
c 900212_03.c
// g++ 1.36.1 bug 900212_03
// g++ segfaults on any attempt to use the ->* operator.
// Cfront 2.0 passes this test.
// keywords: member pointers, operator->*
struct struct0 {
int data_member;
www.eeworm.com/read/340665/3276462
c pmftemp.c
// PRMS Id: 4484 (bug 1)
// Bug: g++ does not support templates involving method pointers.
// Build don't link:
struct A {
void f ();
};
template void
f (void (T::*p)()) // gets bogus e
www.eeworm.com/read/334125/3373652
pl ndr_refptr.pl
#!/usr/bin/perl
# Simple tests for pidl's handling of ref pointers, based
# on tridge's ref_notes.txt
# (C) 2005 Jelmer Vernooij .
# Published under the GNU General Public License.
u