hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
b80bb977eb7de00602a7f19dcb9534eba7c00b8f
702
cpp
C++
codes/Leetcode/leetcode061.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/Leetcode/leetcode061.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
codes/Leetcode/leetcode061.cpp
JeraKrs/ACM
edcd61ec6764b8cd804bf1538dfde53d0ff572b5
[ "Apache-2.0" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* rotateRight(ListNode* head, int k) { ListNode* ans = new ListNode(0); ans->next = head; head = ans; int n = 0; ...
20.647059
54
0.549858
JeraKrs
b80c061ecc8a591557d0bcb780dab4371df09641
1,719
cpp
C++
CPP/Linked List/detectCycleInList.cpp
deepakabari/MyCode
9c5f8b99f1bf04e58e233fedb9e517ae967e94cd
[ "MIT" ]
null
null
null
CPP/Linked List/detectCycleInList.cpp
deepakabari/MyCode
9c5f8b99f1bf04e58e233fedb9e517ae967e94cd
[ "MIT" ]
null
null
null
CPP/Linked List/detectCycleInList.cpp
deepakabari/MyCode
9c5f8b99f1bf04e58e233fedb9e517ae967e94cd
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; class node{ public: int val; node* next; node(int x){ val = x; next = NULL; } }; //function to insert node at end of the linked list void insertAtTail(node* &head, int x){ node* newNode = new node(x); if(head ...
20.223529
52
0.503781
deepakabari
b80c38109b8a44fd36f58a22254daaf14e2f827d
1,785
cpp
C++
src/ProtoInput/ProtoInputHooks/FocusMessageLoop.cpp
Ilyaki/ProtoInput
dd29bf8d22349605d0e1950c1c5dc4893d72670e
[ "MIT" ]
16
2021-04-27T04:18:25.000Z
2022-02-27T21:13:57.000Z
src/ProtoInput/ProtoInputHooks/FocusMessageLoop.cpp
zZeck/ProtoInput
dd29bf8d22349605d0e1950c1c5dc4893d72670e
[ "MIT" ]
6
2021-06-22T16:55:37.000Z
2022-02-13T04:29:11.000Z
src/ProtoInput/ProtoInputHooks/FocusMessageLoop.cpp
zZeck/ProtoInput
dd29bf8d22349605d0e1950c1c5dc4893d72670e
[ "MIT" ]
4
2021-04-30T21:05:57.000Z
2022-02-07T06:12:00.000Z
#include "FocusMessageLoop.h" #include <cstdio> #include "HwndSelector.h" #include "GetKeyboardStateHook.h" namespace Proto { HANDLE FocusMessageLoop::loopThread = nullptr; bool FocusMessageLoop::running = false; int FocusMessageLoop::sleepMilliseconds = 5; FocusMessageLoop::ToSend FocusMessageLoop::messagesToSend{}...
23.486842
131
0.755182
Ilyaki
b80dbc9bc65dc167dd1d7bd7ac5fe89bb87decc0
278
cpp
C++
Muriel/MuGameComponent.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
1
2017-03-01T12:15:27.000Z
2017-03-01T12:15:27.000Z
Muriel/MuGameComponent.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
1
2017-03-01T12:19:17.000Z
2017-03-01T12:19:52.000Z
Muriel/MuGameComponent.cpp
MurielSoftware/Muriel
169ab5a96e1cf70b47f7892906a3dca2d6481ae3
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "MuGameComponent.h" namespace Muriel { GameComponent::GameComponent(GameObject* owner, GameComponentType gameComponentType) { _owner = owner; _gameComponentType = gameComponentType; } GameComponent::~GameComponent() { } }
17.375
86
0.715827
MurielSoftware
b80e5ab40697ac702326ed923d2215168117d30d
301
cc
C++
PP0501A.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2021-02-01T11:21:56.000Z
2021-02-01T11:21:56.000Z
PP0501A.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
null
null
null
PP0501A.cc
hkktr/POLSKI-SPOJ
59f7e0be99fca6532681c2ca01c8a7d97c6b5eed
[ "Unlicense" ]
1
2022-01-28T15:25:45.000Z
2022-01-28T15:25:45.000Z
// C++14 (gcc 8.3) #include <iostream> int GCD(int a, int b) { while (b != 0) { int temp{b}; b = a % b; a = temp; } return a; } int main() { int t; std::cin >> t; while (--t >= 0) { int a, b; std::cin >> a >> b; std::cout << GCD(a, b) << "\n"; } return 0; }
12.541667
35
0.415282
hkktr
b8118cdc334ea8f1bdbbfac518d8ff2948c1cf6f
4,064
hpp
C++
core/crypto/sr25519_types.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/crypto/sr25519_types.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
core/crypto/sr25519_types.hpp
igor-egorov/kagome
b2a77061791aa7c1eea174246ddc02ef5be1b605
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef KAGOME_CORE_CRYPTO_VRF_TYPES #define KAGOME_CORE_CRYPTO_VRF_TYPES extern "C" { #include <schnorrkel/schnorrkel.h> } #include <boost/multiprecision/cpp_int.hpp> #include <gsl/span> #include "common/blob.hpp" #...
28.619718
80
0.690207
igor-egorov
b812ae0e8b24d5eb11c8dbd65a9fc86065444c5a
16,102
cpp
C++
source/python/libpytimemory-profile.cpp
ocnkr/timemory
35c5e32b80db4ae30a10ae6f1ee08d24a2161b73
[ "MIT" ]
null
null
null
source/python/libpytimemory-profile.cpp
ocnkr/timemory
35c5e32b80db4ae30a10ae6f1ee08d24a2161b73
[ "MIT" ]
null
null
null
source/python/libpytimemory-profile.cpp
ocnkr/timemory
35c5e32b80db4ae30a10ae6f1ee08d24a2161b73
[ "MIT" ]
null
null
null
// MIT License // // Copyright (c) 2020, The Regents of the University of California, // through Lawrence Berkeley National Laboratory (subject to receipt of any // required approvals from the U.S. Dept. of Energy). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy...
39.273171
90
0.572972
ocnkr
b8130e30539af4f5a0fb4d36b613e3efdd28c662
2,536
cpp
C++
Box2D_Shapes/ModuleSceneIntro.cpp
rastabrandy02/Physics_2
bc4024409985d15ec6e1c5c00c78df062140fd6b
[ "MIT" ]
null
null
null
Box2D_Shapes/ModuleSceneIntro.cpp
rastabrandy02/Physics_2
bc4024409985d15ec6e1c5c00c78df062140fd6b
[ "MIT" ]
null
null
null
Box2D_Shapes/ModuleSceneIntro.cpp
rastabrandy02/Physics_2
bc4024409985d15ec6e1c5c00c78df062140fd6b
[ "MIT" ]
null
null
null
#include "Globals.h" #include "Application.h" #include "ModuleRender.h" #include "ModuleSceneIntro.h" #include "ModuleInput.h" #include "ModuleTextures.h" #include "ModulePhysics.h" ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled) { circle = box = rick = NULL; } M...
25.36
146
0.662461
rastabrandy02
b8160d5fd46184416deec3d0b6628a84c5f369a7
2,562
cc
C++
examples/KPRCA_00112/src/num_gen.cc
li-xin-yi/cgc-cbs
eda14dc564ab0e57b44dfcd38a77d95086fee96f
[ "MIT" ]
5
2019-06-11T13:06:42.000Z
2022-02-21T15:37:22.000Z
examples/KPRCA_00112/src/num_gen.cc
li-xin-yi/cgc-cbs
eda14dc564ab0e57b44dfcd38a77d95086fee96f
[ "MIT" ]
1
2021-11-20T03:46:09.000Z
2021-11-22T16:42:52.000Z
examples/KPRCA_00112/src/num_gen.cc
li-xin-yi/cgc-cbs
eda14dc564ab0e57b44dfcd38a77d95086fee96f
[ "MIT" ]
2
2020-11-06T23:16:00.000Z
2022-02-20T01:12:40.000Z
/* * Copyright (c) 2016 Kaprica Security, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
26.412371
80
0.663544
li-xin-yi
b8162541b1159cff29648cd252f7ea9ada4c3aae
6,483
cpp
C++
thirdparty/g2o/g2o/types/slam3d/edge_se3_lotsofxyz.cpp
xloem/xivo
a7dd2553aed28adeee6b6f4c69feb9ba760f12f2
[ "BSD-4-Clause-UC" ]
662
2019-09-01T02:16:59.000Z
2022-03-29T19:24:07.000Z
3rdPartLib/g2o/g2o/types/slam3d/edge_se3_lotsofxyz.cpp
JazzyFeng/FLVIS-gpu
74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b
[ "BSD-2-Clause" ]
38
2019-09-05T05:02:20.000Z
2022-03-30T02:59:49.000Z
3rdPartLib/g2o/g2o/types/slam3d/edge_se3_lotsofxyz.cpp
JazzyFeng/FLVIS-gpu
74dd8a136d1923592d2ca74d2408cc2c3bbb8c7b
[ "BSD-2-Clause" ]
104
2019-09-01T07:41:58.000Z
2022-03-27T16:24:54.000Z
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, H. Strasdat, W. Burgard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of sourc...
31.168269
133
0.643992
xloem
b81847b17289337adfafb3a95cac82de4b03607a
2,148
hpp
C++
component/oai-amf/src/ngap/ngapIEs/QosCharacteristics.hpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/ngap/ngapIEs/QosCharacteristics.hpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
component/oai-amf/src/ngap/ngapIEs/QosCharacteristics.hpp
kukkalli/oai-cn5g-fed
15634fac935ac8671b61654bdf75bf8af07d3c3a
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Publi...
34.095238
82
0.733706
kukkalli
b8185a74a008a1eaafb6f7dae672a2801d02cb25
704
cpp
C++
S05/PointToMeAndYou.cpp
stevekeol/-Thinking-in-Cpp-PracticeCode
5b147e704015bbda364ab069f1de58dcef7ab14a
[ "MIT" ]
2
2017-06-20T12:16:30.000Z
2021-11-12T12:06:57.000Z
S05/PointToMeAndYou.cpp
stevekeol/-Thinking-in-Cpp-PracticeCode
5b147e704015bbda364ab069f1de58dcef7ab14a
[ "MIT" ]
null
null
null
S05/PointToMeAndYou.cpp
stevekeol/-Thinking-in-Cpp-PracticeCode
5b147e704015bbda364ab069f1de58dcef7ab14a
[ "MIT" ]
null
null
null
//: S05:PointToMeAndYou.cpp // From "Thinking in C++, 2nd Edition, Volume 1, Annotated Solutions Guide" // by Chuck Allison, (c) 2001 MindView, Inc. all rights reserved // Available at www.BruceEckel.com. #include <iostream> using namespace std; class You; // Forward declaration class Me { public: voi...
19.027027
76
0.586648
stevekeol
b818f9ad3564f15010b76c28efad7831423b2a1e
1,694
cc
C++
src/BufferedInputStream.cc
RUNDSP/avro-nodejs
7136be348dbb6c57af27be387196254ca1711977
[ "Apache-2.0" ]
null
null
null
src/BufferedInputStream.cc
RUNDSP/avro-nodejs
7136be348dbb6c57af27be387196254ca1711977
[ "Apache-2.0" ]
null
null
null
src/BufferedInputStream.cc
RUNDSP/avro-nodejs
7136be348dbb6c57af27be387196254ca1711977
[ "Apache-2.0" ]
null
null
null
#include "BufferedInputStream.hh" namespace avronode { /** * Deconstructor for BufferedInputStream * destroy mutex and release the vector buffer */ BufferedInputStream::~BufferedInputStream(){ } /** * [BufferedInputStream::next description] * @param data [description] * @param len [description] * @return ...
19.471264
69
0.687721
RUNDSP
b8199a65347074f735e13a1f8de5d2380ed2aa8a
17,782
tpp
C++
src/hypro/util/matlab/reachability/@MHyProCondition/MCondition.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
22
2016-10-05T12:19:01.000Z
2022-01-23T09:14:41.000Z
src/hypro/util/matlab/reachability/@MHyProCondition/MCondition.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
23
2017-05-08T15:02:39.000Z
2021-11-03T16:43:39.000Z
src/hypro/util/matlab/reachability/@MHyProCondition/MCondition.tpp
hypro/hypro
52ae4ffe0a8427977fce8d7979fffb82a1bc28f6
[ "MIT" ]
12
2017-06-07T23:51:09.000Z
2022-01-04T13:06:21.000Z
#include "MCondition.h" void MCondition::new_empty( int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[] ) { if ( nlhs != 1 ) mexErrMsgTxt( "MCondition - new_empty: Expecting an output!" ); plhs[0] = convertPtr2Mat<hypro::Condition<double>>( new hypro::Condition<double>() ); } void MCondition::new_mat_vec( i...
37.834043
113
0.606119
hypro
b81a93562f703e3b27e31eb31f72a97f638705ba
243
cc
C++
exercises/ALLOC_DINAMICA/aaaaa.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
3
2021-11-05T16:25:50.000Z
2022-02-10T14:06:00.000Z
exercises/ALLOC_DINAMICA/aaaaa.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
null
null
null
exercises/ALLOC_DINAMICA/aaaaa.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
2
2018-10-31T14:53:40.000Z
2020-01-09T22:34:37.000Z
using namespace std; #include <iostream> int A[2][2] = {{1,2}, {3,4}}; int main () { cout << A << endl; cout << &(A[0]) << endl; cout << A[0] << endl; cout << A[1] << endl; cout << &(A[0][0]) << endl; cout << **A << endl; }
14.294118
29
0.444444
mfranzil
b81e15d2222e9bb1a5f039038038f92543cd97b8
1,025
cpp
C++
QSynthesis/Frontend/Tabs/Tuning/Graphics/GraphicsLifters/GraphicsLifter_Assist.cpp
SineStriker/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
3
2021-12-08T05:30:52.000Z
2021-12-18T10:46:49.000Z
QSynthesis/Frontend/Tabs/Tuning/Graphics/GraphicsLifters/GraphicsLifter_Assist.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
QSynthesis/Frontend/Tabs/Tuning/Graphics/GraphicsLifters/GraphicsLifter_Assist.cpp
QSynthesis/QSynthesis-Old
7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d
[ "MIT" ]
null
null
null
#include "../../Params/Areas/LiftersArea.h" #include "../../TuningGroup.h" #include "../GraphicsLifter.h" using namespace Qs::Panels; double GraphicsLifter::convertRatioToProp(Props prop, double ratio) { double result = 0; switch (prop) { case Intensity: result = ratio * 200; break; ca...
24.404762
98
0.54439
SineStriker
b81facccf3b95fd9fb848c9837b321efec2d60a0
8,956
cpp
C++
src/fonted/fonted.cpp
Zax37/hge
2bacee126c08c4d12f0d9d3c58ac5c2033a6e6e2
[ "Zlib" ]
null
null
null
src/fonted/fonted.cpp
Zax37/hge
2bacee126c08c4d12f0d9d3c58ac5c2033a6e6e2
[ "Zlib" ]
null
null
null
src/fonted/fonted.cpp
Zax37/hge
2bacee126c08c4d12f0d9d3c58ac5c2033a6e6e2
[ "Zlib" ]
null
null
null
/* ** Haaf's Game Engine 1.8 ** Copyright (C) 2003, Relish Games ** hge.relishgames.com ** ** Bitmap Font Builder */ #include "fonted.h" #include <cstdio> #include "fontlist.h" #include "hgeguictrls.h" #include "hgeguirange.h" HGE* hge = nullptr; hgeFont* fnt; hgeGUI* gui; HTEXTURE tex_gui; HTEXTURE tex_font = 0;...
30.256757
103
0.600603
Zax37
b8213c5419113fdbebac13a33d41858ca6ed6dd1
2,848
cpp
C++
gungi/src/tower.cpp
hkpeprah/gungi
adf04d2d3a67204101448605c3acd69204ae8160
[ "MIT" ]
1
2018-02-14T19:51:21.000Z
2018-02-14T19:51:21.000Z
gungi/src/tower.cpp
hkpeprah/gungi
adf04d2d3a67204101448605c3acd69204ae8160
[ "MIT" ]
null
null
null
gungi/src/tower.cpp
hkpeprah/gungi
adf04d2d3a67204101448605c3acd69204ae8160
[ "MIT" ]
2
2017-06-14T12:10:25.000Z
2018-05-24T19:57:57.000Z
// tower.cpp -*-C++-*- #include "tower.hpp" #include "gtypes.hpp" #include "posn.hpp" #include "unit.hpp" #include "util.hpp" #include <algorithm> #include <iterator> #include <memory> #include <utility> #include <vector> namespace gungi { // CREATORS Tower::...
18.374194
79
0.635885
hkpeprah
b82296653233f473b3b5d77c844dd2ecf9e5c80d
1,505
cpp
C++
src/basic_algorithm.cpp
mnikic777/myers-agrep
3db19846d2d582689629c9e96232332473ac823f
[ "MIT" ]
1
2021-03-04T01:05:13.000Z
2021-03-04T01:05:13.000Z
src/basic_algorithm.cpp
mnikic777/myers-agrep
3db19846d2d582689629c9e96232332473ac823f
[ "MIT" ]
1
2020-05-14T15:10:18.000Z
2020-05-14T15:57:02.000Z
src/basic_algorithm.cpp
mnikic777/myers-agrep
3db19846d2d582689629c9e96232332473ac823f
[ "MIT" ]
null
null
null
// // Created by Martin Gluhak. // /** * Basic version of Myers agrep which works when pattern length is <= size of machine word. */ #include <cstdio> #include <unistd.h> #include "basic_algorithm.hpp" #include "globals.hpp" using namespace std; uint64_t Peqb[SIGMA]; void basic_precompute(const char *pattern, i...
21.5
91
0.437874
mnikic777
b824e87521df22b85843afba4a79d8123e20c1c4
11,919
cpp
C++
src/custom_modules/custom.cpp
rheiland/gui4Ali
88f1b0a000382cce5193ad71609aad22ee3676cf
[ "BSD-3-Clause" ]
null
null
null
src/custom_modules/custom.cpp
rheiland/gui4Ali
88f1b0a000382cce5193ad71609aad22ee3676cf
[ "BSD-3-Clause" ]
null
null
null
src/custom_modules/custom.cpp
rheiland/gui4Ali
88f1b0a000382cce5193ad71609aad22ee3676cf
[ "BSD-3-Clause" ]
null
null
null
/* ############################################################################### # If you use PhysiCell in your project, please cite PhysiCell and the version # # number, such as below: # # ...
46.741176
123
0.601812
rheiland
b826e3af5b0b19ba11e6a020226140a493788c8c
18,806
cpp
C++
Mythology_Parade_Engine/Core/FoWManager.cpp
BernatCasanas/Mythology-Parade
e80ed76f0a0b17b7d1890e95563f1b0098acbe84
[ "MIT" ]
null
null
null
Mythology_Parade_Engine/Core/FoWManager.cpp
BernatCasanas/Mythology-Parade
e80ed76f0a0b17b7d1890e95563f1b0098acbe84
[ "MIT" ]
null
null
null
Mythology_Parade_Engine/Core/FoWManager.cpp
BernatCasanas/Mythology-Parade
e80ed76f0a0b17b7d1890e95563f1b0098acbe84
[ "MIT" ]
null
null
null
#include "FoWManager.h" #include "j1App.h" #include "j1Textures.h" #include "j1Map.h" #include "j1Render.h" #include "j1Input.h" FoWManager::FoWManager() { height = 0; width = 0; } FoWManager::~FoWManager() { CleanUp(); } bool FoWManager::Awake(pugi::xml_node&) { bool ret = true; active = false; return ret; ...
24.079385
158
0.656546
BernatCasanas
b8277a6cd9e39877bfd6aebad2f85c14e9c46d01
2,682
cpp
C++
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/WebCoreSupport/WebProgressTrackerClient.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
AppleOpenSource/WebKit2-7609.3.5.1.3/WebProcess/WebCoreSupport/WebProgressTrackerClient.cpp
lzackx/Zone
bf8a3d2b965c383a691a6e7b61d23db15ce11dba
[ "MIT" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Source/WebKit/WebProcess/WebCoreSupport/WebProgressTrackerClient.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2014 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
35.76
87
0.766965
lzackx
b827b4d40f40857b98701b8334e3079249e82e8d
4,913
hpp
C++
src/user/userDefined_base.hpp
bartvbw/MILO
334e9bdec954b0cb82da0576b339729e3f39afd0
[ "BSD-2-Clause" ]
3
2018-10-23T21:04:15.000Z
2020-01-03T21:49:05.000Z
src/user/userDefined_base.hpp
bartvbw/MILO
334e9bdec954b0cb82da0576b339729e3f39afd0
[ "BSD-2-Clause" ]
1
2018-11-27T23:41:57.000Z
2018-11-27T23:41:57.000Z
src/user/userDefined_base.hpp
bartvbw/MILO
334e9bdec954b0cb82da0576b339729e3f39afd0
[ "BSD-2-Clause" ]
1
2018-11-13T15:53:47.000Z
2018-11-13T15:53:47.000Z
/*********************************************************************** Multiscale/Multiphysics Interfaces for Large-scale Optimization (MILO) Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certai...
33.882759
141
0.454508
bartvbw
b8281298b6af6f3b67e4019012732876ef485078
1,790
cxx
C++
src/api/DynatraceOpenKitBuilder.cxx
Dynatrace/openkit-native
e072599196ea9086a2f9cfe67bae701d7d470fc0
[ "Apache-2.0" ]
8
2018-09-18T15:33:51.000Z
2022-02-20T12:19:03.000Z
src/api/DynatraceOpenKitBuilder.cxx
Dynatrace/openkit-native
e072599196ea9086a2f9cfe67bae701d7d470fc0
[ "Apache-2.0" ]
2
2018-09-19T07:15:36.000Z
2019-03-14T17:16:19.000Z
src/api/DynatraceOpenKitBuilder.cxx
Dynatrace/openkit-native
e072599196ea9086a2f9cfe67bae701d7d470fc0
[ "Apache-2.0" ]
15
2018-09-17T07:37:06.000Z
2020-10-02T11:47:47.000Z
/** * Copyright 2018-2021 Dynatrace LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
27.538462
122
0.782682
Dynatrace
b8286a4d2e57bafec1ae0b846a7ac8905cdf7fca
7,306
cpp
C++
framework/tarscpp/util/src/tc_openssl.cpp
hfcrwx/Tars-v2.4.20
b0782b3fad556582470cddaa4416874126bd105c
[ "BSD-3-Clause" ]
null
null
null
framework/tarscpp/util/src/tc_openssl.cpp
hfcrwx/Tars-v2.4.20
b0782b3fad556582470cddaa4416874126bd105c
[ "BSD-3-Clause" ]
null
null
null
framework/tarscpp/util/src/tc_openssl.cpp
hfcrwx/Tars-v2.4.20
b0782b3fad556582470cddaa4416874126bd105c
[ "BSD-3-Clause" ]
null
null
null
/** * Tencent is pleased to support the open source community by making Tars * available. * * Copyright (C) 2016THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use this * file except in compliance with the License. You may obtain ...
25.106529
90
0.623871
hfcrwx
b8298e5407f8347efe9e6ef690e958f60792671e
910
cpp
C++
code/graphs/kruskall.cpp
spaanse/TeamReferenceDocument
c78808c37de76a061645fac58c283e9537be6869
[ "MIT" ]
null
null
null
code/graphs/kruskall.cpp
spaanse/TeamReferenceDocument
c78808c37de76a061645fac58c283e9537be6869
[ "MIT" ]
5
2020-10-29T10:12:52.000Z
2020-10-29T21:03:00.000Z
code/graphs/kruskall.cpp
spaanse/TeamReferenceDocument
c78808c37de76a061645fac58c283e9537be6869
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <utility> #include <tuple> #include <algorithm> using namespace std; typedef vector<int> vi; typedef vector<vi> vvi; typedef pair<int,int> ii; typedef vector<ii> vii; typedef int64_t ll; struct uf { vi p; uf(int n) : p(n,-1) {} int find(int n){ return p[n]<0 ? n : p[n...
21.666667
41
0.606593
spaanse
b82b6ae4c3af75aa2f63051a78b4608d85cc2bf6
178
cc
C++
trial_targets/pic_on_pic.cc
adambreland/cpp-simple_bazel_cpp_toolchain
9530aad19a03b3ede56d51f6700b726249d51fe9
[ "MIT" ]
2
2021-08-29T00:21:49.000Z
2022-01-27T07:36:04.000Z
trial_targets/pic_on_pic.cc
adambreland/cpp-simple_bazel_cpp_toolchain
9530aad19a03b3ede56d51f6700b726249d51fe9
[ "MIT" ]
null
null
null
trial_targets/pic_on_pic.cc
adambreland/cpp-simple_bazel_cpp_toolchain
9530aad19a03b3ede56d51f6700b726249d51fe9
[ "MIT" ]
null
null
null
#include "pic_on_pic.h" #include <string> #include "pic1.h" std::string pic_on_pic_func() { std::string result {"pic_on_"}; result.append(pic1_func()); return result; }
13.692308
33
0.685393
adambreland
b82baa424c6e0b566e442ec826eea35ca3daa92c
302
cpp
C++
Ch7/7-2/Ch7-2.5.cpp
TaejuKwon/Cpp_practice
54e57cc2d4e610414c3a110663b6c0b477c2855c
[ "MIT" ]
null
null
null
Ch7/7-2/Ch7-2.5.cpp
TaejuKwon/Cpp_practice
54e57cc2d4e610414c3a110663b6c0b477c2855c
[ "MIT" ]
null
null
null
Ch7/7-2/Ch7-2.5.cpp
TaejuKwon/Cpp_practice
54e57cc2d4e610414c3a110663b6c0b477c2855c
[ "MIT" ]
null
null
null
// 파일 쓰기 #include <fstream> #include <iostream> #include <string> int main() { // 파일 쓰기 준비 // std::ofstream out("test.txt"); std::ofstream out("test.txt", std::ios::app); std::string s; if (out.is_open()) { // out << "이걸 쓰자~"; out << "덧붙이기"; } return 0; }
16.777778
49
0.506623
TaejuKwon
b82d11fa34899cf8d029b3e90d6a9ffd4d0346cd
20,040
cc
C++
whisperlib/net/rpc/lib/client/rpc_client_connection_tcp.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperlib/net/rpc/lib/client/rpc_client_connection_tcp.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
whisperlib/net/rpc/lib/client/rpc_client_connection_tcp.cc
cpopescu/whispercast
dd4ee1d4fa2e3436fc2387240eb3f5622749d944
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2009, Whispersoft s.r.l. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of cond...
33.794266
80
0.656936
cpopescu
b82ec6978705463775a978d33ecabde068205625
6,769
hpp
C++
src/hlxproxyd/ObjectControllerBasis.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
1
2021-05-21T21:10:09.000Z
2021-05-21T21:10:09.000Z
src/hlxproxyd/ObjectControllerBasis.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
12
2021-06-12T16:42:30.000Z
2022-02-01T18:44:42.000Z
src/hlxproxyd/ObjectControllerBasis.hpp
gerickson/openhlx
f23a825ca56ee226db393da14d81a7d4e9ae0b33
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Grant Erickson * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
47.335664
159
0.583395
gerickson
b830834cc962835d70908a69d285ca588a775681
672
cpp
C++
utils/resourcesound.cpp
dmitryrybakov/battleCity
b6aee9e792c74fc91e7eb1c977df75d6a2b42896
[ "Artistic-2.0" ]
3
2016-11-09T14:30:17.000Z
2016-12-09T20:32:46.000Z
utils/resourcesound.cpp
rdv0011/battleCity
b6aee9e792c74fc91e7eb1c977df75d6a2b42896
[ "Artistic-2.0" ]
null
null
null
utils/resourcesound.cpp
rdv0011/battleCity
b6aee9e792c74fc91e7eb1c977df75d6a2b42896
[ "Artistic-2.0" ]
1
2016-10-20T15:14:06.000Z
2016-10-20T15:14:06.000Z
#include <QFileInfo> #include <QDir> #include "resourcesound.h" ResourceSoundFile::ResourceSoundFile (const QString & respath, QObject *parent) : QFile (parent) { QFileInfo resource(respath); QDir files = QDir::current(); if (!files.cd(kResourceDir)) { files.mkdir(kResourceDir); } fi...
23.172414
79
0.577381
dmitryrybakov
b8331ac426cb96618f3f47f712cf6cae90e908f8
2,388
cpp
C++
src/mainwindow.cpp
bornjre/qtaria
1d44162cc728788c7b231279bce2bf381aade417
[ "MIT" ]
null
null
null
src/mainwindow.cpp
bornjre/qtaria
1d44162cc728788c7b231279bce2bf381aade417
[ "MIT" ]
null
null
null
src/mainwindow.cpp
bornjre/qtaria
1d44162cc728788c7b231279bce2bf381aade417
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); myDownloader = new qtwebhandler(); myDownloader->moveToThread(&worker); worker.start(); //connects connect(myDownloader,...
25.404255
118
0.757538
bornjre
b835e48d560b38f6e0672ffe56d151c74f9c569b
6,615
cpp
C++
libs/spirit/test/x3/char1.cpp
btzy/boost-1.72.0-mirror
defad0f34b0abc884032b57dd4eb93f18f679bf1
[ "BSL-1.0" ]
1
2020-03-01T03:04:05.000Z
2020-03-01T03:04:05.000Z
libs/spirit/test/x3/char1.cpp
btzy/boost-1.72.0-mirror
defad0f34b0abc884032b57dd4eb93f18f679bf1
[ "BSL-1.0" ]
null
null
null
libs/spirit/test/x3/char1.cpp
btzy/boost-1.72.0-mirror
defad0f34b0abc884032b57dd4eb93f18f679bf1
[ "BSL-1.0" ]
null
null
null
/*============================================================================= Copyright (c) 2001-2015 Joel de Guzman Copyright (c) 2001-2011 Hartmut Kaiser Copyright (c) 2019 Christian Mazakas Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt o...
33.241206
112
0.511867
btzy
b83b935f88dc8e388a70bf56c27b1856f83ddaa3
20,464
cpp
C++
OpenSim/Common/XMLDocument.cpp
justicelee/opensim-core
80ce7795b861a0d797bdac9202f71a2556d89969
[ "Apache-2.0" ]
2
2017-06-14T15:38:45.000Z
2019-01-25T05:40:09.000Z
OpenSim/Common/XMLDocument.cpp
justicelee/opensim-core
80ce7795b861a0d797bdac9202f71a2556d89969
[ "Apache-2.0" ]
null
null
null
OpenSim/Common/XMLDocument.cpp
justicelee/opensim-core
80ce7795b861a0d797bdac9202f71a2556d89969
[ "Apache-2.0" ]
1
2020-11-11T14:33:06.000Z
2020-11-11T14:33:06.000Z
/* -------------------------------------------------------------------------- * * OpenSim: XMLDocument.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
40.522772
135
0.59182
justicelee
cdc498bde12de94653762ea27c6c6153e51238bc
1,817
cpp
C++
src/ofp/rpc/rpcevents.cpp
byllyfish/libofp
5368b65d17d57286412478adcea84371ef5e4fc4
[ "MIT" ]
3
2015-07-04T18:12:09.000Z
2016-09-09T07:12:43.000Z
src/ofp/rpc/rpcevents.cpp
byllyfish/oftr
ac1e4ef09388376ea6fa7b460b6abe2ab3471624
[ "MIT" ]
20
2017-02-20T04:49:10.000Z
2019-07-09T05:32:54.000Z
src/ofp/rpc/rpcevents.cpp
byllyfish/libofp
5368b65d17d57286412478adcea84371ef5e4fc4
[ "MIT" ]
1
2019-07-16T00:21:42.000Z
2019-07-16T00:21:42.000Z
// Copyright (c) 2015-2018 William W. Fisher (at gmail dot com) // This file is distributed under the MIT License. #include "ofp/rpc/yrpcevents.h" #include "ofp/yaml/outputjson.h" namespace { /// Converts event to a JSON representation, terminated by event delimiter. template <class Type> std::string toJsonString(Ty...
23
75
0.718217
byllyfish
cdc4f09bb1c6f4a60d155c4811ce018f44335f39
1,731
cpp
C++
BCC221/semana05-stl/multiset.cpp
nicollecnunes/ufop
3f69a9743057bfe3264275d1e1dcfcc5c4183c41
[ "MIT" ]
null
null
null
BCC221/semana05-stl/multiset.cpp
nicollecnunes/ufop
3f69a9743057bfe3264275d1e1dcfcc5c4183c41
[ "MIT" ]
null
null
null
BCC221/semana05-stl/multiset.cpp
nicollecnunes/ufop
3f69a9743057bfe3264275d1e1dcfcc5c4183c41
[ "MIT" ]
null
null
null
#include <set> #include <algorithm> #include <iterator> #include <iostream> using namespace std; // define nome abreviado para o tipo multiset usado no programa typedef std::multiset<int, std::less<int>> lms; int main(){ const int SIZE =10; int a[SIZE] = {7,22,9,1,18,30,100,22,22,85}; lms intMultiset; ...
28.377049
76
0.619873
nicollecnunes
cdc717699bee27aa6ac19cc597671dff861749f9
6,141
hpp
C++
gamecommon/DLLGame.hpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
gamecommon/DLLGame.hpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
gamecommon/DLLGame.hpp
chiendarrendor/AlbertsGameMachine
29855669056bf23666791960dc2e79eab47f6a0b
[ "MIT" ]
null
null
null
#include "Game.hpp" #include "StateWalker.hpp" #include <fstream> #include <iostream> #include "ServerGameInfo.hpp" #include "OutputPort.hpp" #include "ActionParser.hpp" #include "Serialize.hpp" template<class T_GameSet,class T_DLLGameInfo> class DLLGame : public Game { public: DLLGame(const ServerGameInfo &i_rServe...
26.816594
108
0.736199
chiendarrendor
cdc874545f8ab5d00f65148d9038ca128a0b731f
3,344
cpp
C++
libc/utils/FPUtil/TestHelpers.cpp
acidburn0zzz/llvm-project
7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9
[ "Apache-2.0" ]
2
2019-04-11T16:25:43.000Z
2020-12-09T10:22:01.000Z
libc/utils/FPUtil/TestHelpers.cpp
acidburn0zzz/llvm-project
7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9
[ "Apache-2.0" ]
null
null
null
libc/utils/FPUtil/TestHelpers.cpp
acidburn0zzz/llvm-project
7ca7a2547f00e34f5ec91be776a1d0bbca74b7a9
[ "Apache-2.0" ]
null
null
null
//===-- TestMatchers.cpp ----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
30.4
80
0.612739
acidburn0zzz
cdc8dca92c96e5f84331ea61679cd84157be770e
2,469
cc
C++
elements/ip/decipttl.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
32
2017-11-02T12:33:21.000Z
2022-02-07T22:25:58.000Z
elements/ip/decipttl.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
2
2019-02-18T08:47:16.000Z
2019-05-24T14:41:23.000Z
elements/ip/decipttl.cc
MacWR/Click-changed-for-ParaGraph
18285e5da578fbb7285d10380836146e738dee6e
[ "Apache-2.0" ]
10
2018-06-13T11:54:53.000Z
2020-09-08T06:52:43.000Z
/* * decipttl.{cc,hh} -- element decrements IP packet's time-to-live * Eddie Kohler, Robert Morris * * Copyright (c) 1999-2000 Massachusetts Institute of Technology * Copyright (c) 2008 Meraki, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associate...
27.741573
100
0.685703
MacWR
cdcbaf5a86c5688a2356d50ac878ec758c019d13
1,112
hpp
C++
include/tdc/util/concepts.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
1
2021-05-06T13:39:22.000Z
2021-05-06T13:39:22.000Z
include/tdc/util/concepts.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
1
2020-03-07T08:05:20.000Z
2020-03-07T08:05:20.000Z
include/tdc/util/concepts.hpp
herlez/tdc
3b85ae183c21410e65f1e739736287df46c38d1d
[ "MIT" ]
2
2020-05-27T07:54:43.000Z
2021-11-18T13:29:14.000Z
#pragma once #include <concepts> #include <cstddef> #include <type_traits> #include <utility> namespace tdc { template<typename T> concept Arithmetic = std::is_arithmetic<T>::value; template<typename T> concept IndexAccess = requires(T a) { { a[std::declval<size_t>()] }; }; template<typename T> concept SizedIn...
21.384615
60
0.627698
herlez
cdcebe40886b87894c501a2bacb53934db6975ef
55,256
cpp
C++
services/src/peruser_session.cpp
openharmony/miscservices_inputmethod
7845a708efaa0aadba9f4bd6963ec1b39c156dee
[ "Apache-2.0" ]
1
2021-10-03T19:45:22.000Z
2021-10-03T19:45:22.000Z
services/src/peruser_session.cpp
openharmony/miscservices_inputmethod
7845a708efaa0aadba9f4bd6963ec1b39c156dee
[ "Apache-2.0" ]
null
null
null
services/src/peruser_session.cpp
openharmony/miscservices_inputmethod
7845a708efaa0aadba9f4bd6963ec1b39c156dee
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
41.514651
129
0.607246
openharmony
cdd05a6c3f7648a747d4e8459c4adffaebb29eee
5,390
cpp
C++
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcWindowPanelOperationEnum.cpp
vjeranc/ifcplusplus
215859fb84d5be484d454c2767571dd168612329
[ "MIT" ]
null
null
null
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcWindowPanelOperationEnum.cpp
vjeranc/ifcplusplus
215859fb84d5be484d454c2767571dd168612329
[ "MIT" ]
1
2019-03-06T08:59:24.000Z
2019-03-06T08:59:24.000Z
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcWindowPanelOperationEnum.cpp
Imerso3D/ifcplusplus
84d1a5f58db232e07f4f3d233a9efb035f3babd2
[ "MIT" ]
1
2021-04-26T14:56:09.000Z
2021-04-26T14:56:09.000Z
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include <map> #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/IFC4/include/IfcWind...
43.12
286
0.746011
vjeranc
cdd2ed9747197e5c655b1bb06fd56386a1f61019
5,619
cpp
C++
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-opsworks/source/model/ElasticLoadBalancer.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
2
2019-02-08T21:29:57.000Z
2021-07-27T06:59:19.000Z
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-opsworks/source/model/ElasticLoadBalancer.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
null
null
null
3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-opsworks/source/model/ElasticLoadBalancer.cpp
prateek-s/mesos
4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file...
26.504717
134
0.747286
prateek-s
cdd571dacc66b14eb5d76a784644595c33ba4293
15,916
cpp
C++
JUCE/modules/juce_gui_basics/native/juce_linux_headless_Windowing.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
9
2020-04-16T01:17:27.000Z
2022-02-25T14:13:10.000Z
JUCE/modules/juce_gui_basics/native/juce_linux_headless_Windowing.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
null
null
null
JUCE/modules/juce_gui_basics/native/juce_linux_headless_Windowing.cpp
romsom/HISE
73e0e299493ce9236e6fafa7938d3477fcc36a4a
[ "Intel" ]
6
2020-05-11T22:23:15.000Z
2022-02-24T16:52:44.000Z
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End...
41.774278
122
0.579982
romsom
cdd70e12bf46b7191a42e1d26eb5477a69b72da5
6,003
cpp
C++
Tests/cf_fasta_test.cpp
jmatak/CuckooFilter
da04c94f0d59e1a2cf4e870fda30bacecf3b61ef
[ "MIT" ]
4
2020-01-14T21:38:13.000Z
2020-06-24T17:53:17.000Z
Tests/cf_fasta_test.cpp
jmatak/CuckooFilter
da04c94f0d59e1a2cf4e870fda30bacecf3b61ef
[ "MIT" ]
null
null
null
Tests/cf_fasta_test.cpp
jmatak/CuckooFilter
da04c94f0d59e1a2cf4e870fda30bacecf3b61ef
[ "MIT" ]
1
2020-06-07T09:37:23.000Z
2020-06-07T09:37:23.000Z
#include "../ArgParser/cxxopts.hpp" #include "../FASTA/fasta_reader.h" #include "../FASTA/fasta_iterator.h" #include "../CF/cuckoo_filter.h" #include <chrono> #include <sstream> #include <fstream> template<typename element_type, size_t entries_per_bucket, size_t bits_per_fp, typename fp_type> int insertKmers(CuckooFi...
37.055556
137
0.641179
jmatak
cdd760379294c04690b6c2ea68392fe8672cc0e2
3,093
cpp
C++
core/lowering/passes/exception_elimination.cpp
svenchilton/Torch-TensorRT
95d2b6e003a0392fe08ce49520f015c230d4c750
[ "BSD-3-Clause" ]
1
2021-04-16T10:20:07.000Z
2021-04-16T10:20:07.000Z
core/lowering/passes/exception_elimination.cpp
svenchilton/Torch-TensorRT
95d2b6e003a0392fe08ce49520f015c230d4c750
[ "BSD-3-Clause" ]
1
2020-08-07T00:24:40.000Z
2020-08-07T00:24:40.000Z
core/lowering/passes/exception_elimination.cpp
svenchilton/Torch-TensorRT
95d2b6e003a0392fe08ce49520f015c230d4c750
[ "BSD-3-Clause" ]
null
null
null
#include "torch/csrc/jit/ir/alias_analysis.h" #include "torch/csrc/jit/jit_log.h" #include "torch/csrc/jit/passes/constant_propagation.h" #include "torch/csrc/jit/passes/dead_code_elimination.h" #include "torch/csrc/jit/passes/guard_elimination.h" #include "torch/csrc/jit/passes/peephole.h" #include "torch/csrc/jit/run...
28.638889
111
0.604914
svenchilton
cddb8468720f583991230254e1f74bc09805831f
8,993
cpp
C++
src/engine/graphics/I3dMixer.cpp
gregtour/tedge-cpp
45f47ec7017d2124463430f1e584d9fb0dc8bdd8
[ "Apache-2.0" ]
1
2016-10-31T15:02:32.000Z
2016-10-31T15:02:32.000Z
src/engine/graphics/I3dMixer.cpp
gregtour/tedge-cpp
45f47ec7017d2124463430f1e584d9fb0dc8bdd8
[ "Apache-2.0" ]
null
null
null
src/engine/graphics/I3dMixer.cpp
gregtour/tedge-cpp
45f47ec7017d2124463430f1e584d9fb0dc8bdd8
[ "Apache-2.0" ]
1
2021-02-22T22:03:49.000Z
2021-02-22T22:03:49.000Z
/*---------------------------------------------------------------------------- I3D MIXER.CPP Copyright (c) 2011 eV Interactive, LLC contact: Matthew Harmon Matt@MatthewHarmon.com */ #include "SysLib.h" // Matt's operating system library #include "I3dMixer.h" #include "I3dAni...
27.842105
122
0.421439
gregtour
cddc7d8d364725a991801cf57090ec813ce53841
1,528
cpp
C++
src/source/shader/ShadowMapProjectionTextureShader.cpp
Gregjksmith/Global-Illumination
c8a2c98f3f9b810df18c49956e723a2df9b27a40
[ "MIT" ]
null
null
null
src/source/shader/ShadowMapProjectionTextureShader.cpp
Gregjksmith/Global-Illumination
c8a2c98f3f9b810df18c49956e723a2df9b27a40
[ "MIT" ]
null
null
null
src/source/shader/ShadowMapProjectionTextureShader.cpp
Gregjksmith/Global-Illumination
c8a2c98f3f9b810df18c49956e723a2df9b27a40
[ "MIT" ]
null
null
null
#include "shader/ShadowMapProjectionTextureShader.h" ShadowMapProjectionTextureShader::ShadowMapProjectionTextureShader() { shaderType = SHADER_TYPE_SHADOW_MAP_PROJECTION_TEXTURE; addMain(SHADER_SOURCE_SHADOW_MAP_PROJECTION_TEXTURE_VERT, __shaderLinesVert); include(SHADER_MATERIAL_UTILS, __shaderLinesVert);...
35.534884
79
0.803665
Gregjksmith
cde236fce037def774b82631b1d65a788172032c
3,511
cpp
C++
src/CQChartsColumnCombo.cpp
SammyEnigma/CQCharts
56433e32c943272b6faaf6771d0652c0507f943e
[ "MIT" ]
14
2018-05-22T15:06:08.000Z
2022-01-20T12:18:28.000Z
src/CQChartsColumnCombo.cpp
SammyEnigma/CQCharts
56433e32c943272b6faaf6771d0652c0507f943e
[ "MIT" ]
6
2020-09-04T15:49:24.000Z
2022-01-12T19:06:45.000Z
src/CQChartsColumnCombo.cpp
SammyEnigma/CQCharts
56433e32c943272b6faaf6771d0652c0507f943e
[ "MIT" ]
9
2019-04-01T13:10:11.000Z
2022-01-22T01:46:27.000Z
#include <CQChartsColumnCombo.h> #include <CQChartsModelData.h> #include <CQChartsModelDetails.h> #include <CQChartsVariant.h> #include <CQChartsWidgetUtil.h> CQChartsColumnCombo:: CQChartsColumnCombo(QWidget *parent) : QComboBox(parent) { setObjectName("columnCombo"); setToolTip("Column Name"); connect(this,...
18.097938
90
0.676445
SammyEnigma
cde28c2219a8c4e42942ba829b2b2daed3897b37
18,531
cpp
C++
sketchbook/libraries/MRduinoWireless/mrduino.cpp
technoman72/BlocklyArduino_electrified
b91c1d37313ba5f5d0065e8cb264e7d7b45eb2e9
[ "MIT" ]
null
null
null
sketchbook/libraries/MRduinoWireless/mrduino.cpp
technoman72/BlocklyArduino_electrified
b91c1d37313ba5f5d0065e8cb264e7d7b45eb2e9
[ "MIT" ]
null
null
null
sketchbook/libraries/MRduinoWireless/mrduino.cpp
technoman72/BlocklyArduino_electrified
b91c1d37313ba5f5d0065e8cb264e7d7b45eb2e9
[ "MIT" ]
null
null
null
/** ****************************************************************************** * @file mrduino.cpp * @author Mace Robotics * @version 0.21 * @date 08/06/2017 * @brief lib for MRduino robot an MRduino Wireless * *******************************************************************************/ ...
20.098698
81
0.430954
technoman72
cde2a1d64cd7a4e5cc313d130f3f01c9951bbfe5
1,007
hpp
C++
Source/Core/Serialization/SerializationStandard.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
70
2020-10-19T15:17:36.000Z
2022-03-29T06:23:20.000Z
Source/Core/Serialization/SerializationStandard.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
90
2020-10-21T09:56:03.000Z
2022-02-19T18:36:37.000Z
Source/Core/Serialization/SerializationStandard.hpp
andraantariksa/PlasmaEngine
481ea008ed15b531476533a6f675bc9bfdfa7db2
[ "MIT" ]
13
2020-12-28T20:18:57.000Z
2022-01-20T08:43:29.000Z
// MIT Licensed (see LICENSE.md). #pragma once #include "Core/Support/SupportStandard.hpp" #include "PlatformStandard.hpp" #include "Core/Meta/MetaStandard.hpp" #include "Lightning/LightningCore/Precompiled.hpp" using namespace Lightning; namespace Plasma { // Serialization library class PlasmaNoImportExport Serial...
23.97619
81
0.792453
andraantariksa
cde473169f5d53f7299c0b3f88343247840005ad
3,390
cpp
C++
src/SDK/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
1
2021-11-12T21:28:50.000Z
2021-11-12T21:28:50.000Z
src/SDK/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
39
2021-01-18T19:28:41.000Z
2022-03-27T20:55:36.000Z
src/SDK/samples/Clients/DefaultC++/EnumInstances/EnumInstances.cpp
natronkeltner/openpegasus
e64f383c1ed37826041fc63e83b4e65fc1c679ae
[ "ICU", "Unlicense", "OpenSSL", "MIT" ]
4
2021-07-09T12:52:33.000Z
2021-12-21T15:05:59.000Z
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
40.357143
80
0.604425
natronkeltner
cde5352e2c988c741768b2a96ff4e99b38c49290
5,026
c++
C++
lib/toolkit/src/window.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
lib/toolkit/src/window.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
lib/toolkit/src/window.c++
maciek-27/Rgp
d28b5522e640e4c7b951f6861d97cbe52b0a35c9
[ "MIT" ]
null
null
null
#include "window.h++" using namespace Scr; using namespace Scr::Tk; Window::Window(Uint _height, Uint _width, const DisplayStyle & _style)throw() :Widget(_height, _width, _style) { activeWidget = elements.end(); } Screen& Window::GetScreen()throw(ParentNotDefined) { return GetParent().GetSc...
20.598361
71
0.656188
maciek-27
cde617490869999f37f7cf53a124b02323ef6260
7,905
hpp
C++
src/Frontends/FrontendShmemIPC.hpp
VANDAL/Sigil2
67e0762201d79575a25bdfe59eab257d206cff39
[ "BSD-3-Clause" ]
null
null
null
src/Frontends/FrontendShmemIPC.hpp
VANDAL/Sigil2
67e0762201d79575a25bdfe59eab257d206cff39
[ "BSD-3-Clause" ]
3
2016-10-17T21:17:10.000Z
2017-02-23T18:14:52.000Z
src/Frontends/FrontendShmemIPC.hpp
mdlui/Sigil2
67e0762201d79575a25bdfe59eab257d206cff39
[ "BSD-3-Clause" ]
null
null
null
#ifndef SIGIL2_FRONTEND_SHMEM_IPC_H #define SIGIL2_FRONTEND_SHMEM_IPC_H #include "Core/SigiLog.hpp" #include "Core/Frontends.hpp" #include "CommonShmemIPC.h" #include "Common.hpp" #include <thread> #include <fcntl.h> #include <sys/mman.h> /** * Sigil2 receives events from external tools via an array of * shared mem...
32.530864
107
0.603416
VANDAL
cde8ff172043d03a9b7c2943efde0a0353f2f62b
12,761
cpp
C++
3rdParty/Aria/src/ArPTZConnector.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
3rdParty/Aria/src/ArPTZConnector.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
3rdParty/Aria/src/ArPTZConnector.cpp
bellonemauro/myARIAtestApp
8223b5833ccf37cf9f503337858a46544d36a19c
[ "Linux-OpenIB" ]
null
null
null
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
38.905488
272
0.692579
bellonemauro
cdefa2cef984b38c33810cdfa503ed7fb34d8849
457
cpp
C++
ABC_202_B.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_202_B.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
ABC_202_B.cpp
kamlesh012/AtCoder-Editorials
d54e20da49317298096810a5a045253a810621a2
[ "Unlicense" ]
null
null
null
//Piece of Cake #include <bits/stdc++.h> #define int long long #define mod 1000000007 #define rep(i,n,s) for(int i=0;i<n;i+=s) using namespace std; void solve() { string str; cin >> str; int n = str.length(); reverse(str.begin(), str.end()); rep(i, str.length(), 1) { if (str[i] == '6')str[i] = '9'; else if (st...
16.925926
40
0.588621
kamlesh012
cdf245727f5093f09ec724f997e90ce38d22cb56
16,566
cpp
C++
Testing/lsqLeastSquare3DTest.cpp
carlosparaciari/LeastSquarePackage
811d48dd7e8ecd8972da44ea6c7210a3e5a1f343
[ "BSD-3-Clause" ]
null
null
null
Testing/lsqLeastSquare3DTest.cpp
carlosparaciari/LeastSquarePackage
811d48dd7e8ecd8972da44ea6c7210a3e5a1f343
[ "BSD-3-Clause" ]
null
null
null
Testing/lsqLeastSquare3DTest.cpp
carlosparaciari/LeastSquarePackage
811d48dd7e8ecd8972da44ea6c7210a3e5a1f343
[ "BSD-3-Clause" ]
null
null
null
/*============================================================================= LeastSquaresPackage: A software package for estimating the rotation and translation of rigid bodies. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without eve...
33.399194
124
0.714415
carlosparaciari
cdf8919d846c0fb7c12c8ac13438c3aa758097fd
20,355
cpp
C++
Src/VC/bcgcbpro/BCGPAppointmentStorage.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
null
null
null
Src/VC/bcgcbpro/BCGPAppointmentStorage.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
null
null
null
Src/VC/bcgcbpro/BCGPAppointmentStorage.cpp
iclosure/smartsoft
62eaed49efd8306642b928ef4f2d96e36aca6527
[ "MIT" ]
1
2020-05-11T05:36:49.000Z
2020-05-11T05:36:49.000Z
//******************************************************************************* // COPYRIGHT NOTES // --------------- // This is a part of BCGControlBar Library Professional Edition // Copyright (C) 1998-2012 BCGSoft Ltd. // All rights reserved. // // This source code can be used, distributed or modified // only unde...
18.725851
122
0.650602
iclosure
cdf9e30082176228e2f496b1301e53e3da082f1c
7,520
hpp
C++
3rdParty/iresearch/core/index/index_meta.hpp
elfringham/arangodb
5baaece1c7a5ce73fe016f07ed66255cc555e8cb
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
3rdParty/iresearch/core/index/index_meta.hpp
elfringham/arangodb
5baaece1c7a5ce73fe016f07ed66255cc555e8cb
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
3rdParty/iresearch/core/index/index_meta.hpp
elfringham/arangodb
5baaece1c7a5ce73fe016f07ed66255cc555e8cb
[ "BSL-1.0", "Apache-2.0" ]
1
2016-03-30T14:43:34.000Z
2016-03-30T14:43:34.000Z
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 by EMC Corporation, All Rights Reserved /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a...
29.147287
89
0.675399
elfringham
cdfa129216b352811b03fc2db057c23f8fc9d3f6
419
cpp
C++
hanse_ros/hanse_gamepad/src/flank_trigger.cpp
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
hanse_ros/hanse_gamepad/src/flank_trigger.cpp
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
hanse_ros/hanse_gamepad/src/flank_trigger.cpp
iti-luebeck/HANSE2012
fd2348823a6a51baf87cd493529f085fb22d65a7
[ "BSD-3-Clause" ]
null
null
null
#include "hanse_gamepad/flank_trigger.h" void FlankTrigger::setActual(std::vector<int32_t> buttons) { last_buttons_ = actual_buttons_; actual_buttons_ = buttons; if (last_buttons_.size() != actual_buttons_.size()) { last_buttons_.resize(actual_buttons_.size(), 0); } } bool FlankTrigger::...
22.052632
72
0.694511
iti-luebeck
cdfc86897a6f1bfc8914941ba52c01806cbe89bb
4,266
tcc
C++
src/include/nirtreedisk/nirtreedisk.tcc
bglasber/nir-tree
edfeb24ee65530a19abd5fd1d4dcb037c26ece28
[ "Apache-2.0" ]
2
2021-09-24T20:53:44.000Z
2022-02-08T08:43:08.000Z
src/include/nirtreedisk/nirtreedisk.tcc
bglasber/nir-tree
edfeb24ee65530a19abd5fd1d4dcb037c26ece28
[ "Apache-2.0" ]
1
2022-01-09T21:56:06.000Z
2022-01-09T21:56:06.000Z
src/include/nirtreedisk/nirtreedisk.tcc
bglasber/nir-tree
edfeb24ee65530a19abd5fd1d4dcb037c26ece28
[ "Apache-2.0" ]
1
2021-10-14T00:22:52.000Z
2021-10-14T00:22:52.000Z
// Copyright 2021 Kyle Langendoen // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in wr...
41.823529
120
0.72691
bglasber
cdfd45f5ef00b8ad9d98ce232be741b904874a4b
3,741
cpp
C++
demo/Whole-App-Acceleration/fall_detection/kernel_src/optical_flow_postprocess/AksOpticalFlowPostProcess.cpp
Carles-Figuerola/Vitis-AI
fc043ea4aca1f9fe4e18962e6a6ae397812bb34b
[ "Apache-2.0" ]
1
2021-04-01T06:38:48.000Z
2021-04-01T06:38:48.000Z
demo/Whole-App-Acceleration/fall_detection/kernel_src/optical_flow_postprocess/AksOpticalFlowPostProcess.cpp
cy333/Vitis-AI
611b82cfc32ea2fe04491432bf8feed1f378c9de
[ "Apache-2.0" ]
null
null
null
demo/Whole-App-Acceleration/fall_detection/kernel_src/optical_flow_postprocess/AksOpticalFlowPostProcess.cpp
cy333/Vitis-AI
611b82cfc32ea2fe04491432bf8feed1f378c9de
[ "Apache-2.0" ]
null
null
null
#include <iostream> #include <stdint.h> #include <vector> #include <boost/filesystem.hpp> #include <opencv2/core/core.hpp> #include <opencv2/imgcodecs.hpp> #include <aks/AksKernelBase.h> #include <aks/AksDataDescriptor.h> #include <aks/AksNodeParams.h> class OpticalFlowPostProcess : public AKS::KernelB...
31.70339
87
0.58487
Carles-Figuerola
a804ab0673092803b356c45d570da26c82f749d2
4,061
cpp
C++
src/main.cpp
MoochMcGee/IBM5150
6fd6d7dc24764881274c13a8a97739c314a9e9d0
[ "WTFPL" ]
5
2015-05-05T10:42:21.000Z
2019-07-21T06:40:20.000Z
src/main.cpp
MoochMcGee/IBM5150
6fd6d7dc24764881274c13a8a97739c314a9e9d0
[ "WTFPL" ]
null
null
null
src/main.cpp
MoochMcGee/IBM5150
6fd6d7dc24764881274c13a8a97739c314a9e9d0
[ "WTFPL" ]
null
null
null
#include <cstdio> #include <vector> #include <string> #include <functional> #include <chrono> #include <thread> #include "interface.h" #include "misc.h" enum { update_frame = 1, update_scanline = 2, update_pixel = 4, update_clock = 8 }; #include "cpu.h" #include "mda.h" #include "cga.h" #include "sav...
22.943503
87
0.526964
MoochMcGee
a8055450caa7f7747ad01698aeef293e2a9cd106
1,420
cpp
C++
AVR/DCMotor.cpp
rCorvidae/StepperAndDCMotorAVR
a0fbba28e089d0764bc9e089f52e303512d9c3f7
[ "MIT" ]
null
null
null
AVR/DCMotor.cpp
rCorvidae/StepperAndDCMotorAVR
a0fbba28e089d0764bc9e089f52e303512d9c3f7
[ "MIT" ]
null
null
null
AVR/DCMotor.cpp
rCorvidae/StepperAndDCMotorAVR
a0fbba28e089d0764bc9e089f52e303512d9c3f7
[ "MIT" ]
null
null
null
/* * DCMotor.cpp * * Created on: Dec 28, 2015 * Author: root */ #include "DCMotor.h" void DCMotor::configurePWM() { //pin PD5 - OC0B //pin PD6 - OC0A TCCR0A |= 1<<COM0A0 | 1<<COM0A1; //PD6 PWM in non-inverted mode TCCR0A |= 1<<COM0B0 | 1<<COM0B1; //PD5 PWM in non-inverted mode //fast pwm mode TCCR0A ...
16.904762
87
0.666901
rCorvidae
a807aec4272e67ba9268a7b095c2b113af19efa3
2,909
cc
C++
lite/kernels/xpu/transpose_compute.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
1,799
2019-08-19T03:29:38.000Z
2022-03-31T14:30:50.000Z
lite/kernels/xpu/transpose_compute.cc
714627034/Paddle-Lite
015ba88a4d639db0b73603e37f83e47be041a4eb
[ "Apache-2.0" ]
3,767
2019-08-19T03:36:04.000Z
2022-03-31T14:37:26.000Z
lite/kernels/xpu/transpose_compute.cc
yingshengBD/Paddle-Lite
eea59b66f61bb2acad471010c9526eeec43a15ca
[ "Apache-2.0" ]
798
2019-08-19T02:28:23.000Z
2022-03-31T08:31:54.000Z
// Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
33.825581
80
0.594362
714627034
a8089a013be4bf2a0072d136885348dc25b42fd6
1,581
cpp
C++
src/tracer/pin/utils.cpp
Manouchehri/Triton-docker
ce49ce9ba49965a5e7f814f2b46e50cc74b704de
[ "BSD-3-Clause" ]
1
2020-11-15T15:21:12.000Z
2020-11-15T15:21:12.000Z
src/tracer/pin/utils.cpp
Manouchehri/Triton-docker
ce49ce9ba49965a5e7f814f2b46e50cc74b704de
[ "BSD-3-Clause" ]
null
null
null
src/tracer/pin/utils.cpp
Manouchehri/Triton-docker
ce49ce9ba49965a5e7f814f2b46e50cc74b704de
[ "BSD-3-Clause" ]
1
2021-03-04T13:22:48.000Z
2021-03-04T13:22:48.000Z
//! \file /* ** Copyright (C) - Triton ** ** This program is under the terms of the BSD License. */ /* libTriton */ #include <api.hpp> #include <x86Specifications.hpp> /* pintool */ #include "utils.hpp" namespace tracer { namespace pintool { triton::__uint getBaseAddress(triton::__uint address) { RT...
19.280488
69
0.539532
Manouchehri
a808fe6ab437440bf0e851370987b10c6b0bc364
1,374
cpp
C++
11_CPP/06_CPP06/ex02/B.cpp
tderwedu/42cursus
2f56b87ce87227175e7a297d850aa16031acb0a8
[ "Unlicense" ]
null
null
null
11_CPP/06_CPP06/ex02/B.cpp
tderwedu/42cursus
2f56b87ce87227175e7a297d850aa16031acb0a8
[ "Unlicense" ]
null
null
null
11_CPP/06_CPP06/ex02/B.cpp
tderwedu/42cursus
2f56b87ce87227175e7a297d850aa16031acb0a8
[ "Unlicense" ]
null
null
null
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* B.cpp :+: :+: :+: ...
36.157895
80
0.173945
tderwedu
a80a1eb4d141371e4e17f28fc630b4523476ac99
1,863
cpp
C++
avc_navigation/src/pid_controller.cpp
masebet/avc_2019
3c2dbf344842d9ceb627d377f9d8100e258d01bd
[ "MIT" ]
null
null
null
avc_navigation/src/pid_controller.cpp
masebet/avc_2019
3c2dbf344842d9ceb627d377f9d8100e258d01bd
[ "MIT" ]
null
null
null
avc_navigation/src/pid_controller.cpp
masebet/avc_2019
3c2dbf344842d9ceb627d377f9d8100e258d01bd
[ "MIT" ]
1
2018-11-30T17:40:30.000Z
2018-11-30T17:40:30.000Z
//include header #include <pid_controller.hpp> //default constructor PIDController::PIDController(double kp, double ki, double kd, double min, double max, double dt) { //set class variable values to passed values this->_kp = kp; this->_ki = ki; this->_kd = kd; this->_min_output = min; this->_max_output =...
22.178571
96
0.716049
masebet
a80af17b05702e7fe3d8e93297c631f3ee9e076e
524
cc
C++
chromeos/services/device_sync/public/cpp/gcm_constants.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chromeos/services/device_sync/public/cpp/gcm_constants.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chromeos/services/device_sync/public/cpp/gcm_constants.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chromeos/services/device_sync/public/cpp/gcm_constants.h" namespace chromeos { namespace device_sync { const char kCryptAuthGcmAppId[] = "com...
29.111111
73
0.776718
zealoussnow
a80b8ae1c7e9766ff4327bd5202c4b5cac5f11c9
1,095
cpp
C++
chap14/Page585_multiple_conversion.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
50
2016-01-08T14:28:53.000Z
2022-01-21T12:55:00.000Z
chap14/Page585_multiple_conversion.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
2
2017-06-05T16:45:20.000Z
2021-04-17T13:39:24.000Z
chap14/Page585_multiple_conversion.cpp
sjbarigye/CPP_Primer
d9d31a73a45ca46909bae104804fc9503ab242f2
[ "Apache-2.0" ]
18
2016-08-17T15:23:51.000Z
2022-03-26T18:08:43.000Z
// Warning: this is for verification. It cannot compile. struct A { A(int = 0); // usually a bad idea to have two A(double); //conversions from arithmetic types operator int() const; // usually a bad idea to have two operator double() const; // conversions to arithmetic types // other memb...
35.322581
80
0.635616
sjbarigye
a80c5631b5ab783f4fb20d0e47dcd4d2d0a46c8d
713
cpp
C++
LongestCommonPrefix/LongestCommonPrefix.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
LongestCommonPrefix/LongestCommonPrefix.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
LongestCommonPrefix/LongestCommonPrefix.cpp
yergen/leetcode
7b6dac49ac44e0bf43a4ecb4795ea8cfe6afa4ab
[ "MIT" ]
null
null
null
#include<iostream> #include<string> #include<vector> #include<algorithm> using namespace::std; class Solution { public: string longestCommonPrefix(vector<string>& strs) { int n = strs.size(); if (n == 0) return ""; int minString = int(strs[0].size()); for (int i = 1; i < n; i++) minString = min(int(str...
17.390244
51
0.565217
yergen
a80df1f81aa18fc0fc67ea3d06bfc7d71e86a1ac
1,107
hpp
C++
etl/_functional/divides.hpp
tobanteEmbedded/tetl
fc3272170843bcab47971191bcd269a86c5b5101
[ "BSL-1.0" ]
4
2021-11-28T08:48:11.000Z
2021-12-14T09:53:51.000Z
etl/_functional/divides.hpp
tobanteEmbedded/tetl
fc3272170843bcab47971191bcd269a86c5b5101
[ "BSL-1.0" ]
null
null
null
etl/_functional/divides.hpp
tobanteEmbedded/tetl
fc3272170843bcab47971191bcd269a86c5b5101
[ "BSL-1.0" ]
null
null
null
/// \copyright Tobias Hienzsch 2019-2021 /// Distributed under the Boost Software License, Version 1.0. /// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt #ifndef TETL_FUNCTIONAL_DIVIDES_HPP #define TETL_FUNCTIONAL_DIVIDES_HPP #include "etl/_utility/forward.hpp" namespace etl { /// \brief...
29.918919
108
0.699187
tobanteEmbedded
a80e57eb1bd0f8ff23b77b57e412fce9edf2f8ab
7,342
cpp
C++
src/commands.cpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
4
2018-07-09T20:53:06.000Z
2018-07-12T07:10:19.000Z
src/commands.cpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
null
null
null
src/commands.cpp
averrin/lss
c2aa0486641fba15daceab3241122e387720c898
[ "MIT" ]
null
null
null
#include <sstream> #include <utility> #include "lss/commands.hpp" #include "lss/utils.hpp" #include "lss/game/events.hpp" #include "EventBus.hpp" using namespace std::string_literals; Command::Command(std::vector<std::string> a) : aliases(a) {} CommandEvent::CommandEvent(eb::ObjectPtr s) : eb::Event(s) {} MoveComm...
35.640777
80
0.695859
averrin
a80f528d248df0ee1b9ec2494d2f292c94092b97
2,825
cpp
C++
io/internal/StdioEx.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
3
2019-04-20T10:16:36.000Z
2021-03-21T19:51:38.000Z
io/internal/StdioEx.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
null
null
null
io/internal/StdioEx.cpp
Andrewich/deadjustice
48bea56598e79a1a10866ad41aa3517bf7d7c724
[ "BSD-3-Clause" ]
2
2020-04-18T20:04:24.000Z
2021-09-19T05:07:41.000Z
#include "StdioEx.h" #include <lang/String.h> #include <assert.h> #include "config.h" //---------------------------------------------------------------------------- using namespace lang; //---------------------------------------------------------------------------- namespace io { // Truncates strin...
23.739496
80
0.574159
Andrewich
a8177fe69b6af22c09905a628fca730c5711266c
3,675
cc
C++
libpfkthread/pk_filedescs.cc
flipk/pfkutils
d8f6c22720b6fcc44a882927c745a822282d1f69
[ "Unlicense" ]
4
2015-06-12T05:08:56.000Z
2017-11-13T11:34:27.000Z
libpfkthread/pk_filedescs.cc
flipk/pfkutils
d8f6c22720b6fcc44a882927c745a822282d1f69
[ "Unlicense" ]
null
null
null
libpfkthread/pk_filedescs.cc
flipk/pfkutils
d8f6c22720b6fcc44a882927c745a822282d1f69
[ "Unlicense" ]
1
2021-10-20T02:04:53.000Z
2021-10-20T02:04:53.000Z
/* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copy...
27.222222
75
0.67483
flipk
a818b28c5b2192ac31b58e9d1afafc1c6c22a764
956
cpp
C++
dynamic programming/416. Partition Equal Subset Sum.cpp
Constantine-L01/leetcode
1f1e3a8226fcec036370e75c1d69e823d1323392
[ "MIT" ]
1
2021-04-08T10:33:48.000Z
2021-04-08T10:33:48.000Z
dynamic programming/416. Partition Equal Subset Sum.cpp
Constantine-L01/leetcode
1f1e3a8226fcec036370e75c1d69e823d1323392
[ "MIT" ]
null
null
null
dynamic programming/416. Partition Equal Subset Sum.cpp
Constantine-L01/leetcode
1f1e3a8226fcec036370e75c1d69e823d1323392
[ "MIT" ]
1
2021-02-23T05:58:58.000Z
2021-02-23T05:58:58.000Z
Given a non-empty array nums containing only positive integers, find if the array can be partitioned into two subsets such that the sum of elements in both subsets is equal. Example 1: Input: nums = [1,5,11,5] Output: true Explanation: The array can be partitioned as [1, 5, 5] and [11]. class Solution { public: ...
24.512821
174
0.470711
Constantine-L01
a81b137cb4913858f66f0c370ff031693e542a40
22,523
cc
C++
components/autofill/content/browser/wallet/wallet_address_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2020-01-25T10:18:18.000Z
2021-01-23T15:29:56.000Z
components/autofill/content/browser/wallet/wallet_address_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2018-02-10T21:00:08.000Z
2018-03-20T05:09:50.000Z
components/autofill/content/browser/wallet/wallet_address_unittest.cc
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-27T11:15:39.000Z
2016-08-17T14:19:56.000Z
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/json/json_reader.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/strings/utf_string_conversions.h" #include...
37.538333
77
0.602096
kjthegod
a81cede09c643e75123a727946cb687c1c7468db
234
cpp
C++
firmware-latest/user/tests/unit/ipaddress.cpp
adeeshag/particle_project
0c2ab278cf902f97d2422c44c008978be58fe6b7
[ "Unlicense" ]
1
2019-02-24T07:13:51.000Z
2019-02-24T07:13:51.000Z
firmware-latest/user/tests/unit/ipaddress.cpp
adeeshag/particle_project
0c2ab278cf902f97d2422c44c008978be58fe6b7
[ "Unlicense" ]
1
2018-05-29T19:27:53.000Z
2018-05-29T19:27:53.000Z
firmware-latest/user/tests/unit/ipaddress.cpp
adeeshag/particle_project
0c2ab278cf902f97d2422c44c008978be58fe6b7
[ "Unlicense" ]
null
null
null
#include "catch.hpp" #include "spark_wiring_ipaddress.h" TEST_CASE("Can Construct From Uint32") { IPAddress ip(1<<24 | 2<<16 | 3<<8 | 4); CHECK(ip[3]==4); CHECK(ip[2]==3); CHECK(ip[1]==2); CHECK(ip[0]==1); }
14.625
43
0.564103
adeeshag
a81d0789097f698944baa0be926a6c99b5a4035c
6,706
cpp
C++
src/librt/primitives/epa/epa_brep.cpp
earl-ducaine/brlcad-mirror
402bd3542a10618d1f749b264cadf9b0bd723546
[ "BSD-4-Clause", "BSD-3-Clause" ]
1
2019-10-23T16:17:49.000Z
2019-10-23T16:17:49.000Z
src/librt/primitives/epa/epa_brep.cpp
pombredanne/sf.net-brlcad
fb56f37c201b51241e8f3aa7b979436856f43b8c
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/librt/primitives/epa/epa_brep.cpp
pombredanne/sf.net-brlcad
fb56f37c201b51241e8f3aa7b979436856f43b8c
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
/* E P A _ B R E P . C P P * BRL-CAD * * Copyright (c) 2008-2019 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1...
35.670213
89
0.64569
earl-ducaine
a82040e0d433ff52e3e0bf924d028b33b471a062
4,752
cpp
C++
test/LaneDetectionModuleTest.cpp
rohit517/Lane-Detection
4374934828e18236ad97ba032a718f8301a86ba9
[ "MIT" ]
3
2018-10-31T01:32:02.000Z
2021-03-16T10:12:52.000Z
test/LaneDetectionModuleTest.cpp
rohit517/Lane-Detection
4374934828e18236ad97ba032a718f8301a86ba9
[ "MIT" ]
null
null
null
test/LaneDetectionModuleTest.cpp
rohit517/Lane-Detection
4374934828e18236ad97ba032a718f8301a86ba9
[ "MIT" ]
1
2020-05-27T18:01:29.000Z
2020-05-27T18:01:29.000Z
/************************************************************************ MIT License Copyright (c) 2018 Harsh Kakashaniya,Rohitkrishna Nambiar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Softwar...
30.075949
79
0.710438
rohit517
a82124299a0181b8ebffece69a8a8b62adaadcf5
34,928
cpp
C++
thrift/compiler/test/fixtures/basic-structured-annotations/gen-cpp2/module_types.cpp
killight98/fbthrift
c28d5036f96f7eab67c30abadc5ddbe627a11ee3
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/basic-structured-annotations/gen-cpp2/module_types.cpp
killight98/fbthrift
c28d5036f96f7eab67c30abadc5ddbe627a11ee3
[ "Apache-2.0" ]
null
null
null
thrift/compiler/test/fixtures/basic-structured-annotations/gen-cpp2/module_types.cpp
killight98/fbthrift
c28d5036f96f7eab67c30abadc5ddbe627a11ee3
[ "Apache-2.0" ]
null
null
null
/** * Autogenerated by Thrift for src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @nocommit */ #include "thrift/compiler/test/fixtures/basic-structured-annotations/gen-cpp2/module_types.h" #include "thrift/compiler/test/fixtures/basic-structured-annotations/gen-...
36.727655
233
0.752749
killight98
a8214d72b4db7f1004f25880a7255870df734f43
16,146
cc
C++
src/CCA/Components/MPM/Materials/Diffusion/DiffusionModels/NonLinearDiff1.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/CCA/Components/MPM/Materials/Diffusion/DiffusionModels/NonLinearDiff1.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
src/CCA/Components/MPM/Materials/Diffusion/DiffusionModels/NonLinearDiff1.cc
abagusetty/Uintah
fa1bf819664fa6f09c5a7cd076870a40816d35c9
[ "MIT" ]
null
null
null
/* * The MIT License * * Copyright (c) 1997-2021 The University of Utah * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * right...
37.990588
137
0.596433
abagusetty
a8215df5c5a06a582b1f179f891859f7c160cc29
8,957
cpp
C++
private/shell/ext/intern/fshctmnu.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/intern/fshctmnu.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/intern/fshctmnu.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
#include "priv.h" #include "guids.h" //#include "stdafx.h" //#pragma hdrstop #define IDC_TESTMEN 0 static const TCHAR c_szGUID[] = TEXT(".{0AFACED1-E828-11D1-9187-B532F1E9575D}"); //static const TCHAR c_szGUID[] = TEXT(".bla"); STDAPI CFShortcutMenu_CreateInstance(IUnknown *punk, REFIID riid, void **pcpOut, ...
28.616613
113
0.568829
King0987654
a8233cfd0531f1ed4a7e144aa77cdcca265404c8
893
cpp
C++
src/MicrosoftSample/wpdapisample/cpp/WrapperClass/CPortableDeviceManager.cpp
christianpopescu/WindowsPortableDeviceApi
fc58fb749f1aeb34d87dac2a9ff13262889f9aeb
[ "MIT" ]
null
null
null
src/MicrosoftSample/wpdapisample/cpp/WrapperClass/CPortableDeviceManager.cpp
christianpopescu/WindowsPortableDeviceApi
fc58fb749f1aeb34d87dac2a9ff13262889f9aeb
[ "MIT" ]
null
null
null
src/MicrosoftSample/wpdapisample/cpp/WrapperClass/CPortableDeviceManager.cpp
christianpopescu/WindowsPortableDeviceApi
fc58fb749f1aeb34d87dac2a9ff13262889f9aeb
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "CPortableDeviceManager.h" CPortableDeviceManager::CPortableDeviceManager() { } std::unique_ptr<CPortableDeviceManager> CPortableDeviceManager::GetCPortableDeviceManager() { std::unique_ptr<CPortableDeviceManager> pCPortableDeviceManager = std::unique_ptr<CPortable...
28.806452
92
0.739082
christianpopescu
a82463005965822984f2d012aa7643702fa76502
2,071
cpp
C++
csrc/core/graph.cpp
aegis-rider/mmdeploy
230596bad92fafadb36cf0a69c57d80522cc7c60
[ "Apache-2.0" ]
1
2021-12-30T06:29:46.000Z
2021-12-30T06:29:46.000Z
csrc/core/graph.cpp
aegis-rider/mmdeploy
230596bad92fafadb36cf0a69c57d80522cc7c60
[ "Apache-2.0" ]
null
null
null
csrc/core/graph.cpp
aegis-rider/mmdeploy
230596bad92fafadb36cf0a69c57d80522cc7c60
[ "Apache-2.0" ]
1
2022-02-10T04:31:10.000Z
2022-02-10T04:31:10.000Z
// Copyright (c) OpenMMLab. All rights reserved. #include "core/graph.h" #include "archive/value_archive.h" namespace mmdeploy::graph { TaskGraph::Handle* TaskGraph::Add(TaskFunction fn) { function_.push_back(std::move(fn)); handle_.push_back(std::make_unique<Handle>()); return handle_.back().get(); } TaskGr...
26.21519
94
0.627233
aegis-rider
a824b440efad478e8f18db06a1b0925e08ccdf5e
2,863
hxx
C++
src/texture.hxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
16
2018-04-25T08:14:14.000Z
2022-01-29T06:19:16.000Z
src/texture.hxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
null
null
null
src/texture.hxx
DaWelter/NaiveTrace
a904785a0e13c394b2c221bc918cddb41bc8b175
[ "FSFAP" ]
null
null
null
#ifndef TEXTURE_HXX #define TEXTURE_HXX #include"image.hxx" #include"vec3f.hxx" #include"spectral.hxx" #include"util.hxx" namespace boost { namespace filesystem { class path; }} class Texture { ToyVector<std::uint8_t> data; int w, h; // Always 3 channels enum Type { BYTE, // 1 byte...
23.661157
91
0.584701
DaWelter
a8262b220ff96a06e1668763221021897d14dcf3
2,183
cpp
C++
cplusplus/src/HelloWorld/CharType.cpp
kniefliu/WinOSSamples
d6354db844cbc8edead678dd9ec75b5f368fcce6
[ "MIT" ]
null
null
null
cplusplus/src/HelloWorld/CharType.cpp
kniefliu/WinOSSamples
d6354db844cbc8edead678dd9ec75b5f368fcce6
[ "MIT" ]
null
null
null
cplusplus/src/HelloWorld/CharType.cpp
kniefliu/WinOSSamples
d6354db844cbc8edead678dd9ec75b5f368fcce6
[ "MIT" ]
null
null
null
#include "CharType.h" #include <ctype.h> /* set bit masks for the possible character types */ #define CharType_UPPER 0x1 /* upper case letter */ #define CharType_LOWER 0x2 /* lower case letter */ #define CharType_DIGIT 0x4 /* digit[0-9] */ #define CharType_SPACE 0x8 ...
25.682353
98
0.623454
kniefliu
a8263eb3def14e466f38b73292378f325f59d5c5
8,921
cpp
C++
src/input.cpp
IndianBoy42/nvui
ee139c1b1317dbc5ad408ce21871f2b1a92b295f
[ "MIT" ]
null
null
null
src/input.cpp
IndianBoy42/nvui
ee139c1b1317dbc5ad408ce21871f2b1a92b295f
[ "MIT" ]
null
null
null
src/input.cpp
IndianBoy42/nvui
ee139c1b1317dbc5ad408ce21871f2b1a92b295f
[ "MIT" ]
null
null
null
#include "input.hpp" #include <fmt/format.h> #include <fmt/core.h> #include <unordered_map> #include <string> #include <string_view> #include <QEvent> #include <QKeyEvent> #include <QString> std::string event_to_string(const QKeyEvent* event, bool* special) { *special = true; switch(event->key()) { case Qt::...
24.508242
88
0.604417
IndianBoy42
a82690d7915b913444a0c189e9685ec1854247e7
478
cpp
C++
experiments/ym2612/note.cpp
krismuad/TOWNSEMU
49c098ecb4686a506a208e01271ed135c0c3c482
[ "BSD-3-Clause" ]
124
2020-03-17T05:49:47.000Z
2022-03-27T00:11:33.000Z
experiments/ym2612/note.cpp
krismuad/TOWNSEMU
49c098ecb4686a506a208e01271ed135c0c3c482
[ "BSD-3-Clause" ]
40
2020-05-24T12:50:43.000Z
2022-02-22T05:32:18.000Z
experiments/ym2612/note.cpp
krismuad/TOWNSEMU
49c098ecb4686a506a208e01271ed135c0c3c482
[ "BSD-3-Clause" ]
11
2020-05-26T17:52:04.000Z
2021-07-31T01:07:31.000Z
// Does the formula on [2] pp.204 make sense? It doesn't. #include <iostream> int main(void) { for(unsigned int F_NUM=0; F_NUM<2048; F_NUM+=64) { unsigned int F10=((F_NUM>>10)&1); unsigned int F9= ((F_NUM>> 9)&1); unsigned int F8= ((F_NUM>> 8)&1); unsigned int F7=((F_NUM>>11)&1); unsigned int N3=(F10&(F...
23.9
78
0.569038
krismuad
a8275bcad3bc3486c61beb437407f2036822dcb7
17
cpp
C++
waf/playground/dynamic_recursive_tasks/truc.cpp
yankee14/reflow-oven-atmega328p
e6792143576f13f0a3a49edfd54dbb2ef851d95a
[ "Apache-2.0" ]
24
2019-08-13T02:39:01.000Z
2022-03-03T15:44:54.000Z
waf/playground/dynamic_recursive_tasks/truc.cpp
yankee14/reflow-oven-atmega328p
e6792143576f13f0a3a49edfd54dbb2ef851d95a
[ "Apache-2.0" ]
4
2020-11-16T02:03:09.000Z
2021-08-19T08:16:48.000Z
waf/playground/dynamic_recursive_tasks/truc.cpp
yankee14/reflow-oven-atmega328p
e6792143576f13f0a3a49edfd54dbb2ef851d95a
[ "Apache-2.0" ]
11
2019-07-28T09:11:40.000Z
2022-03-17T08:08:27.000Z
void truc() { }
4.25
13
0.470588
yankee14
a82849ff083bb74e9d99f3dbabbd140af8169085
540
cpp
C++
Sources/Utils/Windows/Daemon.cpp
cclauss/ds2
3d7c41e7b22c4184db6fe1328d1d28c9dc956fad
[ "NCSA" ]
225
2015-01-08T00:50:45.000Z
2020-01-15T04:49:42.000Z
Sources/Utils/Windows/Daemon.cpp
cclauss/ds2
3d7c41e7b22c4184db6fe1328d1d28c9dc956fad
[ "NCSA" ]
510
2015-02-02T11:13:29.000Z
2019-07-17T19:07:41.000Z
Sources/Utils/Windows/Daemon.cpp
cclauss/ds2
3d7c41e7b22c4184db6fe1328d1d28c9dc956fad
[ "NCSA" ]
66
2015-02-27T19:50:15.000Z
2019-12-20T07:35:16.000Z
// // Copyright (c) 2014-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the University of Illinois/NCSA Open // Source License found in the LICENSE file in the root directory of this // source tree. An additional grant of patent rights can be found in the // PATENTS file in the...
27
74
0.733333
cclauss
a8295c5de04e8b5d3f31168570e16bcbc659076e
11,467
cpp
C++
CSRMatrix.cpp
Mountiko/LinearSolvers
ffb4e18adc64951f730f9d1d5254ca55efc5d7ed
[ "MIT" ]
3
2020-07-29T10:45:32.000Z
2022-02-03T02:32:59.000Z
CSRMatrix.cpp
Mountiko/LinearSolvers
ffb4e18adc64951f730f9d1d5254ca55efc5d7ed
[ "MIT" ]
null
null
null
CSRMatrix.cpp
Mountiko/LinearSolvers
ffb4e18adc64951f730f9d1d5254ca55efc5d7ed
[ "MIT" ]
5
2020-08-04T14:44:17.000Z
2021-12-11T04:28:47.000Z
#include <iostream> #include <vector> #include <algorithm> #include <cmath> #include "CSRMatrix.h" using namespace std; // Constructor - using an initialisation list here template <class T> CSRMatrix<T>::CSRMatrix(int rows, int cols, int nnzs, bool preallocate):\ Matrix<T>(rows, cols, false), nnzs(nnzs) { // If ...
30.335979
81
0.547222
Mountiko
a82a51412f5e80e196b60776533499f799c02255
19,339
cpp
C++
src/test/interface/io/json/json_parser_test.cpp
jtimonen/cmdstan
8c1e014ed28b4ac3b0f8acc676a4508d07ab8f10
[ "BSD-3-Clause" ]
null
null
null
src/test/interface/io/json/json_parser_test.cpp
jtimonen/cmdstan
8c1e014ed28b4ac3b0f8acc676a4508d07ab8f10
[ "BSD-3-Clause" ]
null
null
null
src/test/interface/io/json/json_parser_test.cpp
jtimonen/cmdstan
8c1e014ed28b4ac3b0f8acc676a4508d07ab8f10
[ "BSD-3-Clause" ]
null
null
null
#include <cmdstan/io/json/json_data.hpp> #include <cmdstan/io/json/json_data_handler.hpp> #include <cmdstan/io/json/json_error.hpp> #include <cmdstan/io/json/json_handler.hpp> #include <cmdstan/io/json/rapidjson_parser.hpp> #include <gtest/gtest.h> class recording_handler : public cmdstan::json::json_handler { publi...
26.897079
80
0.475671
jtimonen
a82c7ea396d7b6d95faed5320cd7e530f53d2cc6
4,608
cpp
C++
searchlib/src/tests/memoryindex/compact_words_store/compact_words_store_test.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,054
2017-08-11T07:58:38.000Z
2022-03-31T22:32:15.000Z
searchlib/src/tests/memoryindex/compact_words_store/compact_words_store_test.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
4,854
2017-08-10T20:19:25.000Z
2022-03-31T19:04:23.000Z
searchlib/src/tests/memoryindex/compact_words_store/compact_words_store_test.cpp
Anlon-Burke/vespa
5ecd989b36cc61716bf68f032a3482bf01fab726
[ "Apache-2.0" ]
541
2017-08-10T18:51:18.000Z
2022-03-11T03:18:56.000Z
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/searchlib/memoryindex/compact_words_store.h> #include <vespa/vespalib/datastore/entryref.h> #include <vespa/vespalib/gtest/gtest.h> #include <vespa/vespalib/stllike/hash_map.hpp> #include <vespa/ves...
29.538462
149
0.678385
Anlon-Burke
a831b20a9360d9a34a5300391e57c5693a88eda5
2,992
cpp
C++
Src/27.cpp
ZHIHAO93/TAIS
0aab66f0dde965ed051a649b431d31941d136250
[ "MIT" ]
null
null
null
Src/27.cpp
ZHIHAO93/TAIS
0aab66f0dde965ed051a649b431d31941d136250
[ "MIT" ]
null
null
null
Src/27.cpp
ZHIHAO93/TAIS
0aab66f0dde965ed051a649b431d31941d136250
[ "MIT" ]
null
null
null
// TAIS 03, LUIS ARROYO Y ZHIHAO ZHENG #include <iostream> #include <fstream> #include <climits> #include <algorithm> #include "Matriz.h" #include <vector> using namespace std; struct Varilla{ int L; int C; }; void guardaVarillas(vector<Varilla> &varillas){ for (int i = 1; i < varillas.siz...
25.355932
121
0.610628
ZHIHAO93
a83270069c693e5f50418e8ee7e0dfb95b9e9912
2,173
cc
C++
mojo/core/invitation_dispatcher.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
mojo/core/invitation_dispatcher.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
mojo/core/invitation_dispatcher.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "mojo/core/invitation_dispatcher.h" #include "base/strings/string_piece.h" #include "mojo/core/core.h" namespace mojo { namespace core { Invit...
27.1625
77
0.740451
zealoussnow
a834c85d046203a3c7f788fbf22628fa9a8a6f6a
1,119
cpp
C++
Space Harrier Clone/Engine/BehavioursManager.cpp
BrunoAOR/Space-Harrier-Clone
35465ad2d421f69a75a02855627c8ea726b248c6
[ "MIT" ]
12
2018-12-07T16:05:02.000Z
2021-09-06T01:46:50.000Z
Potato Engine/Engine/BehavioursManager.cpp
BrunoAOR/Potato-Engine
7395f7b10c6a7537c7880194c4b61ee001dc8372
[ "MIT" ]
null
null
null
Potato Engine/Engine/BehavioursManager.cpp
BrunoAOR/Potato-Engine
7395f7b10c6a7537c7880194c4b61ee001dc8372
[ "MIT" ]
1
2020-06-03T03:37:27.000Z
2020-06-03T03:37:27.000Z
#include "BehavioursManager.h" #include "Behaviour.h" #include "ComponentType.h" #include "GameObject.h" BehavioursManager::BehavioursManager() { } BehavioursManager::~BehavioursManager() { } ComponentType BehavioursManager::managedComponentType() const { return ComponentType::BEHAVIOUR; } void BehavioursMana...
16.701493
108
0.716711
BrunoAOR
a836599047cd7fd5f731e55b3dd94ea9d8d8ad5e
3,238
cpp
C++
test/senml_parse.cpp
ivankravets/thingsml-c-library
91b51bb55c9d38f9ad0af3a9a03ca9a1f29cc7bf
[ "MIT" ]
5
2021-11-18T15:09:10.000Z
2022-01-23T13:50:33.000Z
test/senml_parse.cpp
ivankravets/thingsml-c-library
91b51bb55c9d38f9ad0af3a9a03ca9a1f29cc7bf
[ "MIT" ]
22
2020-03-30T08:08:04.000Z
2021-11-08T17:22:20.000Z
test/senml_parse.cpp
ivankravets/thingsml-c-library
91b51bb55c9d38f9ad0af3a9a03ca9a1f29cc7bf
[ "MIT" ]
6
2020-08-26T02:35:15.000Z
2022-01-22T11:48:02.000Z
/* _ __ ____ _ _ * | |/ / | _ \ | \ | | * | ' / | |_) | | \| | * | . \ | __/ | |\ | * |_|\_\ |_| |_| \_| * * (c) 2020 KPN * License: MIT License. * Author: Joseph Verburg * * tests to check the correct functioning of our senml/thingsml decoder. * */ #include "../src/thingsml.h" #includ...
29.706422
173
0.642372
ivankravets
a83a609acab3490579980b747d22bed131d98a8f
153
cpp
C++
sw02.cpp
luqmaanb/pxt-SW02
fc2743763bb1f47398ca163ddfec23aeef6b7481
[ "MIT" ]
null
null
null
sw02.cpp
luqmaanb/pxt-SW02
fc2743763bb1f47398ca163ddfec23aeef6b7481
[ "MIT" ]
null
null
null
sw02.cpp
luqmaanb/pxt-SW02
fc2743763bb1f47398ca163ddfec23aeef6b7481
[ "MIT" ]
null
null
null
#include "pxt.h" #include <cstdint> #include <math.h> using namespace pxt; namespace SW02 { //% uint8_t getID() { return 29; } }
10.2
21
0.568627
luqmaanb
a83b990caa313fea5f9ab35adcadfec4756ba9b8
5,221
cpp
C++
src/bin/dump_xml_compiler_result/dump_xml_compiler_result/main.cpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
src/bin/dump_xml_compiler_result/dump_xml_compiler_result/main.cpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
src/bin/dump_xml_compiler_result/dump_xml_compiler_result/main.cpp
gkb/Karabiner
f47307d4fc89a4c421d10157d059293c508f721a
[ "Unlicense" ]
null
null
null
#include <iostream> #include <boost/algorithm/string.hpp> #include "pqrs/xml_compiler.hpp" namespace { int total_identifier_count_ = 0; void escapeHTML(std::string& string) { boost::replace_all(string, "&", "&amp;"); boost::replace_all(string, "<", "&lt;"); boost::replace_all(string, ">", "&gt;"); } void dump_...
29.834286
118
0.587818
gkb