代码搜索:pointers
找到约 4,056 项符合「pointers」的源代码
代码结果 4,056
www.eeworm.com/read/366702/2869679
c ptrmem9.c
// { dg-do run }
// Test that const-correctness is observed when using pointers-to-members.
struct A {
int f () { return 1; }
int f () const { return 0; }
};
struct B {
A a;
B() { }
};
int
www.eeworm.com/read/366702/2870550
c koenig5.c
// { dg-do assemble }
// To find function pointers in Koenig lookup is ok as long as we only find one.
namespace A{
void foo();
struct X{};
void (*bar)(X*)=0;
}
using A::X;
void (
www.eeworm.com/read/366702/2871683
c 900519_06.c
// { dg-do assemble }
// g++ 1.37.1 bug 900519_06
// g++ allows the type given in an invocation of operator new to be a
// reference type.
// Since pointers to reference types are illegal, the requ
www.eeworm.com/read/366702/2876010
f90 missing_optional_dummy_2.f90
! { dg-do compile }
! Tests the fix for PR29321 and PR29322, in which ICEs occurred for the
! lack of proper attention to checking pointers in gfc_conv_function_call.
!
! Contributed by Olav Vahtras
www.eeworm.com/read/366702/2876454
f90 subref_array_pointer_2.f90
! { dg-do run }
! Test the fix for PRs29396, 29606, 30625 and 30871, in which pointers
! to arrays with subreferences did not work.
!
type :: t
real :: r
integer :: i
character(3) :: chr
www.eeworm.com/read/366702/2877024
f90 assignment_1.f90
! { dg-do run }
! { dg-options -Wsurprising }
integer, pointer :: p
integer, target :: t, s
! The tests for character pointers are currently commented out,
! because they don't yet work correctly.
!
www.eeworm.com/read/366702/2877220
f90 used_types_16.f90
! { dg-do compile }
! Tests the fix for PR31550 in which pointers to derived type components
! were being TREE-SSA declared in the wrong order and so in the incorrect
! context.
!
! Contributed by Dan
www.eeworm.com/read/366702/2877804
f90 der_pointer_2.f90
! { dg-do compile }
! PR 15975, PR 16606
! Pointers to derived types with initialized components
!
! Contributed by Erik Edelmann
!
SUBROUTINE N
TYPE T
INTEGER :: I = 99
www.eeworm.com/read/366702/2881941
c fnptr-by-value-1_main.c
/* Test passing function pointers. */
extern void fnptr_by_value_1_x (void);
extern void exit (int);
int fails;
int
main ()
{
fnptr_by_value_1_x ();
exit (0);
}
www.eeworm.com/read/366076/2893470
java filetime.java
package org.xvolks.jnative.misc;
import org.xvolks.jnative.exceptions.NativeException;
import org.xvolks.jnative.misc.basicStructures.AbstractBasicData;
import org.xvolks.jnative.pointers.Pointer