代码搜索:functional
找到约 3,474 项符合「functional」的源代码
代码结果 3,474
www.eeworm.com/read/124791/14544160
cpp chapter4-3.cpp
//文件名:CHAPTER4-3.cpp
#include
#include
#include
#include
#include
#include
#include
using namespace std;
main (int
www.eeworm.com/read/124129/14593204
c printv3.c
/*
* PROGRAM: JRD Lock Manager
* MODULE: printv3.c
* DESCRIPTION: Version 3 lock Table printer
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the
www.eeworm.com/read/223105/14658441
cpp chapter4-3.cpp
//文件名:CHAPTER4-3.cpp
#include
#include
#include
#include
#include
#include
#include
using namespace std;
main (int
www.eeworm.com/read/162614/5520002
c init6.c
// { dg-do run }
// Test for default-initialization of POD-structs in functional cast notation.
struct foo { int a[10]; };
int main()
{
foo f = foo();
int r = 0;
for (int i = 0; i < 10; ++i)
www.eeworm.com/read/162614/5522433
c cast1.c
// { dg-do assemble }
// Bug: g++ fails to grok functional casts in all situations.
class A {
public:
typedef int B;
static B foo() { return B(1); } // { dg-bogus "" }
};
www.eeworm.com/read/162614/5522469
c rfg1.c
// { dg-do assemble }
// Bug: g++ parses the declaration of i as a functional cast.
void take_int (int arg) { }
void
test ()
{
int (i);
i = 0;
take_int (i);
}
www.eeworm.com/read/162614/5523309
f90 random_init.f90
! pr 15149
! verify the random number generator is functional
program test_random
implicit none
real :: r(5) = 0.0
call random_number(r)
if (all (r .eq. 0)) call abort
www.eeworm.com/read/334134/12631980
c usb_descriptor.c
//-----------------------------------------------------------------------------
// USB_Descriptor.c
//-----------------------------------------------------------------------------
//-------------
www.eeworm.com/read/270963/11017640
cpp 11-01-02-1.cpp
#include
#include
#include
using namespace std;
int main()
{
int A[] = {4, 1, 0, 3, 2, 0, 6};
const int N = sizeof(A) / sizeof(int);
int* p = find_if(A, A
www.eeworm.com/read/270963/11017644
cpp 11-03-02-2.cpp
#include
#include
#include
using namespace std;
int main()
{
int A[] = { 2, 0, 4, 6, 0, 3, 1, -7 };
const int N = sizeof(A) / sizeof(int);
cout