代码搜索:same
找到约 10,000 项符合「same」的源代码
代码结果 10,000
www.eeworm.com/read/233448/4672133
c ssa-cast-1.c
/* { dg-do compile } */
/* { dg-options "-O1 -fdump-tree-vars" } */
int &f(int *a)
{
return *a;
}
/* There should be no cast as pointer and references are
considered the same type. */
/* { dg-f
www.eeworm.com/read/233448/4673455
c overload7.c
// { dg-do run }
// Check that object call works when there are multiple conversion ops
// returning the same type.
typedef int (*pfn)();
int zero () { return 0; }
int one () { return 1; }
int two
www.eeworm.com/read/233448/4674091
c instantiate5.c
// { dg-do link }
// { dg-additional-sources " instantiate5.cc instantiate5-main.cc" }
// `global constructors' are given the same name, based on foo(), on
// both translation units, which is wrong,
www.eeworm.com/read/233448/4675213
c p12306a.c
// { dg-do run }
// prms-id: 12306
// a net report of the same problem as 12306
class a {
public:
int i;
};
class g : virtual public a {
};
class b : virtual public a {
int j;
};
class c
www.eeworm.com/read/233448/4678856
f90 random_2.f90
! Check that the real(4) and real(8) random number generators return the same
! sequence of values.
program random_4
integer, dimension(:), allocatable :: seed
real(kind=4), dimension(10) :: r4
www.eeworm.com/read/233448/4678872
f90 contained_4.f90
! Check contained functions with the same name.
module contained_4
contains
subroutine foo1()
call bar()
contains
subroutine bar()
end subroutine bar
end subroutine foo1
subrout
www.eeworm.com/read/233448/4684922
c uninit-8.c
/* Uninitialized variable warning tests...
Inspired by part of optabs.c:expand_binop.
May be the same as uninit-1.c. */
/* { dg-do compile } */
/* { dg-options "-O -Wuninitialized" } */
#incl
www.eeworm.com/read/233448/4686320
c enum-compat-1.c
/* Test that enumerated types are only considered compatible when they
are the same type. PR c/6024. */
/* Origin: Joseph Myers , based on
PR c/6024 from Richard Earnshaw
www.eeworm.com/read/231546/4714126
cvs_acls
#! /bin/perl
# -*-Perl-*-
#
# Access control lists for CVS. dgg@ksr.com (David G. Grubbs)
#
# CVS "commitinfo" for matching repository names, running the program it finds
# on the same line. More in
www.eeworm.com/read/231546/4714516
pm deparse.pm
# B::Deparse.pm
# Copyright (c) 1998, 1999, 2000 Stephen McCamant. All rights reserved.
# This module is free software; you can redistribute and/or modify
# it under the same terms as Perl itself.
#