代码搜索:functional
找到约 3,474 项符合「functional」的源代码
代码结果 3,474
www.eeworm.com/read/276855/10701413
h stdafx.h
#ifdef _MSC_VER
// 警告的控制
#pragma warning(disable: 4201)
#pragma warning(disable: 4100)
#pragma warning(disable: 4786)
#endif
#include
#include
#include
#include
www.eeworm.com/read/276855/10701558
h stdafx.h
#ifdef _MSC_VER
// 警告的控制
#pragma warning(disable: 4201)
#pragma warning(disable: 4100)
#pragma warning(disable: 4786)
#endif
#include
#include
#include
#include
www.eeworm.com/read/419627/10853121
lua factorial.lua
-- function closures are powerful
-- traditional fixed-point operator from functional programming
Y = function (g)
local a = function (f) return f(f) end
return a(function (f)
www.eeworm.com/read/274718/10856765
cpp 10_15.cpp
#include
#include
#include
using namespace std;
int main()
{ priority_queue< double > pq; //创建空的优先队列容器
pq.push( 3.2 ); pq.push( 9.8 ); pq.push( 5.4 ); //向空的优先队列
www.eeworm.com/read/273857/10897696
qmsg state_control.fnsim.qmsg
{ "Info" "IQEXE_SEPARATOR" "" "Info: *******************************************************************" { } { } 3 0 "*******************************************************************" 0 0}
{ "I
www.eeworm.com/read/418361/10951143
c check_mapbrk.c
#include
#include
/* Basic sanity check that syscalls to implement malloc (brk, mmap2,
munmap) are trivially functional. */
int main ()
{
void *p1, *p2, *p3, *p4, *p5, *p6
www.eeworm.com/read/270963/11017620
cpp 11-03-02-1.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);
int result = 0;
www.eeworm.com/read/270963/11017625
cpp 11-01-02-3.cpp
#include
#include
#include
#include
using namespace std;
int main()
{
list L;
L.push_back(-3);
L.push_back(0);
L.push_back(3);
L.push_back(-2)
www.eeworm.com/read/270963/11017657
cpp 11-01-03-2.cpp
#include
#include
#include
using namespace std;
int main()
{
int A[] = {1, 2, 3, 4, 5, 6, 7, 8};
const int N = sizeof(A) / sizeof(int);
const int* p = adj
www.eeworm.com/read/270963/11017672
cpp 15-06-02.cpp
#include
#include
using namespace std;
int main()
{
subtractive_rng R;
for (int i = 0; i < 20; ++i)
cout