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
68b64f1f1b55fe5563887a5eb7da36008996dceb
347
cc
C++
src/commands/APC.cc
jhhuh/imgui-terminal
134f9cb6779738ecf00d6aba8315702986f71115
[ "MIT" ]
32
2017-09-19T07:25:29.000Z
2022-03-21T08:21:48.000Z
src/commands/APC.cc
jhhuh/imgui-terminal
134f9cb6779738ecf00d6aba8315702986f71115
[ "MIT" ]
1
2017-10-24T18:56:36.000Z
2017-10-24T18:56:36.000Z
src/commands/APC.cc
jhhuh/imgui-terminal
134f9cb6779738ecf00d6aba8315702986f71115
[ "MIT" ]
10
2017-10-18T05:08:14.000Z
2022-03-21T09:29:04.000Z
#include <terminal/Terminal.hh> #include <algorithm> // min, max namespace terminal { // Application Program Command // ECMA-48 8.3.2 bool Terminal::APC(const std::string &p) { if (m_verbose) log("APC"); // noop // APC : <lots> ST DECEKBD extended keyboard repo...
15.086957
70
0.570605
jhhuh
68bb49db9ed66b9268ba935756f86ba5534777f1
4,448
cpp
C++
test/feature/canvas_test.cpp
fuersten/sun_ray
b882d67cd9747f61b50def4c1414e7552ba917c0
[ "BSD-3-Clause" ]
2
2021-03-28T21:36:36.000Z
2021-08-10T14:44:04.000Z
test/feature/canvas_test.cpp
fuersten/sun_ray
b882d67cd9747f61b50def4c1414e7552ba917c0
[ "BSD-3-Clause" ]
null
null
null
test/feature/canvas_test.cpp
fuersten/sun_ray
b882d67cd9747f61b50def4c1414e7552ba917c0
[ "BSD-3-Clause" ]
null
null
null
// // tuple_test.cpp // sun_ray_test // // Created by Lars-Christian Fürstenberg on 25.12.19. // Copyright © 2019 Lars-Christian Fürstenberg. All rights reserved. // #include <sun_ray/feature/canvas.h> #include <sstream> #include <catch2/catch.hpp> TEST_CASE("create canvas", "[canvas]") { SECTION("create can...
28.151899
69
0.584982
fuersten
68bc1d3c85549ba8ed4d94583aa8ced473a5e2ef
3,983
cpp
C++
Test/SourceCppGen/WorkflowAttributesReflection.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
1
2018-10-17T16:00:38.000Z
2018-10-17T16:00:38.000Z
Test/SourceCppGen/WorkflowAttributesReflection.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
Test/SourceCppGen/WorkflowAttributesReflection.cpp
vczh2/Workflow
7ad7d53927ee66ae1df7d68b35e185ce9edcfcf1
[ "RSA-MD" ]
null
null
null
/*********************************************************************** !!!!!! DO NOT MODIFY !!!!!! Source: ../Resources/Codegen/WorkflowAttributes.txt This file is generated by Workflow compiler https://github.com/vczh-libraries ***********************************************************************/ #include "Wor...
33.470588
228
0.710269
vczh2
68c14f022c26651ea1f70f5ce4de7c503b8535da
3,435
cc
C++
src/somadicom/Container/DicomProxy.cc
charbeljc/soma-io
17548eb8eafdcb82d20ea6fba760856f279d7424
[ "CECILL-B" ]
3
2020-05-13T04:15:29.000Z
2021-08-28T18:13:35.000Z
src/somadicom/Container/DicomProxy.cc
charbeljc/soma-io
17548eb8eafdcb82d20ea6fba760856f279d7424
[ "CECILL-B" ]
15
2018-10-30T16:52:14.000Z
2022-02-15T12:34:00.000Z
src/somadicom/Container/DicomProxy.cc
charbeljc/soma-io
17548eb8eafdcb82d20ea6fba760856f279d7424
[ "CECILL-B" ]
3
2019-12-15T07:23:16.000Z
2021-10-05T14:09:09.000Z
#ifdef SOMA_IO_DICOM #include <soma-io/Container/DicomProxy.h> #else #include <Container/DicomProxy.h> #endif #include <cstring> #if defined( __SSE2__ ) && !defined( SOMA_IO_DICOM ) #include <immintrin.h> #endif #ifdef SOMA_IO_DICOM dcm::DicomProxy::DicomProxy( dcm::DataInfo* info ) : _buffer( 0 ), ...
14.806034
80
0.555167
charbeljc
68cc02f74f00261db4be9c2dbeaf8b4ea5a7a1f7
1,418
cpp
C++
src/test/05_inheritance/main.cpp
Ubpa/ULuaPP
87344bb1e3f163f5c3982213cafbc7979d9c9c18
[ "MIT" ]
21
2020-07-24T07:36:02.000Z
2021-11-24T06:32:47.000Z
src/test/05_inheritance/main.cpp
Ubpa/ULuaPP
87344bb1e3f163f5c3982213cafbc7979d9c9c18
[ "MIT" ]
1
2021-11-02T11:42:55.000Z
2021-11-03T07:44:09.000Z
src/test/05_inheritance/main.cpp
Ubpa/ULuaPP
87344bb1e3f163f5c3982213cafbc7979d9c9c18
[ "MIT" ]
3
2020-07-28T10:01:44.000Z
2021-05-13T02:13:22.000Z
#include <ULuaPP/ULuaPP.h> #include <iostream> using namespace Ubpa::USRefl; using namespace std; template<typename T> struct A { T a; }; struct B : A<bool> { float b; }; template<typename T> struct Ubpa::USRefl::TypeInfo<A<T>> : TypeInfoBase<A<T>> { #ifdef UBPA_USREFL_NOT_USE_NAMEOF // [!] all instance types hav...
20.852941
60
0.626234
Ubpa
68d1d68d62e66c71dab062a174349b57c097200f
530
hpp
C++
src/Node.hpp
wagnrd/SFMLApp
f24ca8c8d36ab928e847e2d2d929226a0e70505d
[ "Unlicense" ]
4
2019-12-12T14:30:46.000Z
2021-07-28T03:03:16.000Z
src/Node.hpp
wagnrd/SFMLApp
f24ca8c8d36ab928e847e2d2d929226a0e70505d
[ "Unlicense" ]
1
2021-02-11T17:10:29.000Z
2021-02-11T20:54:03.000Z
src/Node.hpp
wagnrd/SFMLApp
f24ca8c8d36ab928e847e2d2d929226a0e70505d
[ "Unlicense" ]
null
null
null
// // Created by Denis Wagner on 1/14/19. // #ifndef PONG_NODE_HPP #define PONG_NODE_HPP #include <SFML/Window/Event.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include "Application.hpp" class Node { protected: Application* application; Node * parent; public: void initChild( Application* appli...
20.384615
60
0.692453
wagnrd
68d31a940c3a7d673ee1ce9fe9742c2c659b4c72
191
cpp
C++
cpp/plus-equals-vector.cpp
lindsayad/misc_programming
60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e
[ "MIT" ]
null
null
null
cpp/plus-equals-vector.cpp
lindsayad/misc_programming
60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e
[ "MIT" ]
null
null
null
cpp/plus-equals-vector.cpp
lindsayad/misc_programming
60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e
[ "MIT" ]
null
null
null
#include <vector> using namespace std; int main() { vector<double> v{1., 2., 3.}; vector<double> w{4., 5., 6.}; w += v; for (auto &value : w) std::cout << value << std::endl; }
15.916667
36
0.539267
lindsayad
68d5acfae41b53ed4f58fc5808cdd56e1b19b57a
10,639
cpp
C++
Compressed.cpp
Rki009/RiscV-Fast
3c1e510f1c175cca7e7e43e854787726ba12a69c
[ "Unlicense" ]
null
null
null
Compressed.cpp
Rki009/RiscV-Fast
3c1e510f1c175cca7e7e43e854787726ba12a69c
[ "Unlicense" ]
null
null
null
Compressed.cpp
Rki009/RiscV-Fast
3c1e510f1c175cca7e7e43e854787726ba12a69c
[ "Unlicense" ]
null
null
null
//*************************************************************** // Compressed decoding //*************************************************************** #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <ctype.h> #include <string> #include "RiscVFast.h" #include "Cpu.h" Vliw* f...
20.901768
98
0.553999
Rki009
68d83ec2a8e0b3c44dd1fa091bb9ba7d0ff5ae96
4,116
cpp
C++
lib/lorawan_transceiver.cpp
BioBoost/lorawan-transceiver
043ab06784664c419a3366044d889bf4967979d1
[ "MIT" ]
null
null
null
lib/lorawan_transceiver.cpp
BioBoost/lorawan-transceiver
043ab06784664c419a3366044d889bf4967979d1
[ "MIT" ]
3
2019-01-10T19:48:15.000Z
2019-01-25T17:47:51.000Z
lib/lorawan_transceiver.cpp
BioBoost/lorawan-transceiver
043ab06784664c419a3366044d889bf4967979d1
[ "MIT" ]
null
null
null
#include "lorawan_transceiver.h" #include "lora_radio_helper.h" namespace IoT { namespace Communication { LoRaWANTransceiver::LoRaWANTransceiver(events::EventQueue * eventQueue) : lorawan(radio), eventQueue(eventQueue) { isConnected = false; initialize(); connect(); } Lo...
31.661538
113
0.601555
BioBoost
68d9d4298f8337d939dd12ba00968651aaa9bc0a
10,658
cpp
C++
src/add-ons/translators/wonderbrush/Layer.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/add-ons/translators/wonderbrush/Layer.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/add-ons/translators/wonderbrush/Layer.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2006, Haiku. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * Stephan Aßmus <superstippi@gmx.de> */ #include "Layer.h" #include <stdio.h> #include <Bitmap.h> #include <Catalog.h> #include <Message.h> #include "bitmap_compression.h" #include "blending.h" #i...
23.527594
71
0.528148
Kirishikesan
68deae044b1aeb13250aeb9aaa2464ae30e9ff10
4,470
cpp
C++
ros/src/detect_s/src/YoloDetect.cpp
wutianze/ComP
021440aa98aa03ee3b86ed3db196b95477b9f80b
[ "MIT" ]
3
2021-08-20T03:25:37.000Z
2022-03-31T02:47:28.000Z
ros/src/detect_s/src/YoloDetect.cpp
wutianze/ComP
021440aa98aa03ee3b86ed3db196b95477b9f80b
[ "MIT" ]
null
null
null
ros/src/detect_s/src/YoloDetect.cpp
wutianze/ComP
021440aa98aa03ee3b86ed3db196b95477b9f80b
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <image_transport/image_transport.h> #include <opencv2/highgui/highgui.hpp> #include <cv_bridge/cv_bridge.h> #include "detect_s/TestImage.h" #include "detect_s/YoloResult.h" #include <signal.h> //#include "yolo_v2_class.hpp" #include "detect_s/store.h" #include "darknet.h" ros::Publisher pu...
34.122137
166
0.714318
wutianze
68e03d82ed5e22be73f8b5c257df2782c004b84d
12,852
cc
C++
build/X86_MESI_Two_Level/python/m5/internal/param_EtherDevBase.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
build/X86_MESI_Two_Level/python/m5/internal/param_EtherDevBase.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
1
2020-08-20T05:53:30.000Z
2020-08-20T05:53:30.000Z
build/X86_MESI_Two_Level/python/m5/internal/param_EtherDevBase.py.cc
hoho20000000/gem5-fy
b59f6feed22896d6752331652c4d8a41a4ca4435
[ "BSD-3-Clause" ]
null
null
null
#include "sim/init.hh" namespace { const uint8_t data_m5_internal_param_EtherDevBase[] = { 120,156,237,90,221,83,28,199,17,239,217,59,14,14,56,56, 196,55,66,102,101,9,9,127,8,36,59,74,156,88,81,217, 178,100,71,174,8,171,14,87,36,147,84,109,45,183,115,176, 232,110,247,106,119,144,116,46,120,136,113,62,...
59.225806
93
0.666355
hoho20000000
68e4ac6414b8bafb3962aef4838a7758e7749866
352
cpp
C++
lec08/arrIO2.cpp
webturing/CProgrammingI_18CS123
8eb4facb201ca263dab40c7327efee94d7f0b36a
[ "MIT" ]
13
2018-09-28T00:07:35.000Z
2019-04-28T22:51:03.000Z
lec08/arrIO2.cpp
webturing/CProgrammingI_18CS123
8eb4facb201ca263dab40c7327efee94d7f0b36a
[ "MIT" ]
null
null
null
lec08/arrIO2.cpp
webturing/CProgrammingI_18CS123
8eb4facb201ca263dab40c7327efee94d7f0b36a
[ "MIT" ]
3
2018-11-27T02:09:50.000Z
2021-02-28T02:58:12.000Z
#include<bits/stdc++.h> using namespace std; int main() { int b[10]; cout << sizeof(b) << endl; int a[] = {1, 2, 3, 3, 3, 3, 2, 2, 2, 324, 234, 23, 42, 34, 3, 3, 2, 2, 2, 324, 234, 23, 42, 34,}; int n = sizeof(a) / sizeof(a[0]); for (int i = 0; i < n; i++) { cout << a[i] << " "; } ...
19.555556
102
0.4375
webturing
68e9543aa0e49abaecbbabe6497bb65ebf6432d5
358
cpp
C++
Hackerrank/10 Days of Statistics/Day 0: Weighted Mean.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
5
2021-02-14T17:48:21.000Z
2022-01-24T14:29:44.000Z
Hackerrank/10 Days of Statistics/Day 0: Weighted Mean.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
Hackerrank/10 Days of Statistics/Day 0: Weighted Mean.cpp
Sowmik23/All-Codes
212ef0d940fa84624bb2972a257768a830a709a3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main(){ int n; double sm=0, sum=0; cin>>n; int arr[n], weight[n]; for(int i=0;i<n;i++) cin>>arr[i]; for(int i=0;i<n;i++) { cin>>weight[i]; sm+=weight[i]; } for(int i=0;i<n;i++){ sum+=(arr[i]*weight[i]); } double ans = sum/sm; cout<<setprecision(1...
13.769231
41
0.553073
Sowmik23
68eb27a9b2cb327c2f978e68ef15f011c5d10517
64,364
cpp
C++
net/rras/cm/cmstp/common.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
net/rras/cm/cmstp/common.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
net/rras/cm/cmstp/common.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
//+---------------------------------------------------------------------------- // // File: common.cpp // // Module: CMSTP.EXE // // Synopsis: This source file contains functions common to several // different aspects of the CM profile installer (install, // uninstall, migration). /...
32.474268
198
0.53519
npocmaka
68f4601a4aeb1523be95b06737e1352a1413b7db
1,888
cc
C++
Modulation/daqana/slowdaq.cc
pumar/Projects
9d05c0fdf3dfc1b529f6fd3bd8318d5fc06c8a55
[ "MIT" ]
null
null
null
Modulation/daqana/slowdaq.cc
pumar/Projects
9d05c0fdf3dfc1b529f6fd3bd8318d5fc06c8a55
[ "MIT" ]
null
null
null
Modulation/daqana/slowdaq.cc
pumar/Projects
9d05c0fdf3dfc1b529f6fd3bd8318d5fc06c8a55
[ "MIT" ]
null
null
null
#include <string> #include <sstream> #include <cstdio> #include <cstdlib> #include <unistd.h> #include "driver.hh" #include "sdaq.hh" #include "sevent.hh" #include "srootdriver.hh" #include <TCanvas.h> using namespace std; // // MAIN program // int main(int argc, char **argv) { // switches int c = 0; stri...
27.362319
88
0.599576
pumar
68f4e547e0c764342b9d650c957e33c662b44244
728
cpp
C++
Binary trees/heightOfBT.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
2
2021-02-25T11:54:50.000Z
2021-02-25T11:54:54.000Z
Binary trees/heightOfBT.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
null
null
null
Binary trees/heightOfBT.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
1
2021-10-03T17:39:10.000Z
2021-10-03T17:39:10.000Z
/* Code : Height of Binary Tree Given a binary tree, find and return the height of given tree. Input format : Nodes in the level order form (separated by space). If any node does not have left or right child, take -1 in its place Output format : Height Constraints : 1 <= N <= 10^5 Sample Input : 10 9 4 -1 -1 5 ...
14.56
119
0.596154
PranavDherange
d0ffd2a59b1dfd41df67aac59edcc42f4e9fd2cf
1,325
hpp
C++
proj/KSP/src/Utilities.hpp
bananu7/Arduino
56769c0850a6da873c29a0ac78fa2e1133bb7cc7
[ "MIT" ]
1
2020-02-24T09:14:02.000Z
2020-02-24T09:14:02.000Z
proj/KSP/src/Utilities.hpp
bananu7/Arduino
56769c0850a6da873c29a0ac78fa2e1133bb7cc7
[ "MIT" ]
2
2016-11-20T18:43:59.000Z
2016-11-20T18:44:11.000Z
proj/KSP/src/Utilities.hpp
bananu7/Arduino
56769c0850a6da873c29a0ac78fa2e1133bb7cc7
[ "MIT" ]
null
null
null
#pragma once #include "Structure.h" /* inline void Indicators(VesselData const& VData) { int caution = 0; int warning = 0; caution += VData.G > GCAUTION; warning += VData.G > GWARN; caution += VData.LiquidFuelS/VData.LiquidFuelTotS*100 < FUELCAUTION; warning += VData.LiquidFuelS/VData.LiquidF...
21.721311
72
0.658113
bananu7
19023a59632b4f4a9de73bff7a5160c920f54d79
1,773
hpp
C++
include/OpenSpaceToolkit/Astrodynamics/Flight.hpp
oygx210/open-space-toolkit-astrodynamics
81b76d78bbe76719a34801778d4fb685cc67648f
[ "Apache-2.0" ]
13
2020-05-11T02:22:15.000Z
2022-01-27T09:42:18.000Z
include/OpenSpaceToolkit/Astrodynamics/Flight.hpp
oygx210/open-space-toolkit-astrodynamics
81b76d78bbe76719a34801778d4fb685cc67648f
[ "Apache-2.0" ]
10
2018-09-11T05:27:04.000Z
2020-01-06T03:48:28.000Z
include/OpenSpaceToolkit/Astrodynamics/Flight.hpp
open-space-collective/open-space-toolkit-astrodynamics
d709f5237f25e5ef40eafa5f87e39c00b8acbae1
[ "Apache-2.0" ]
4
2020-03-05T18:19:03.000Z
2021-06-24T04:25:05.000Z
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Open Space Toolkit ▸ Astrodynamics /// @file OpenSpaceToolkit/Astrodynamics/Flight.hpp /// @author Lucas Brémond <lucas@...
45.461538
160
0.250987
oygx210
1907a69bb7bba8c239fb313f1fcba7d10fee3ac0
1,550
cpp
C++
Hackerearth/Practice/Bob and Candies.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
4
2019-06-04T11:03:38.000Z
2020-06-19T23:37:32.000Z
Hackerearth/Practice/Bob and Candies.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
Hackerearth/Practice/Bob and Candies.cpp
coderanant/Competitive-Programming
45076af7894251080ac616c9581fbf2dc49604af
[ "MIT" ]
null
null
null
/*coderanant*/ #include <bits/stdc++.h> using namespace std; #define int long long #define ll long long #define f1(i,a,b) for(i=a;i<b;i++) #define f2(i,a,b) for(i=a;i>=b;i--) #define endl '\n' #define pb push_back #define gp " " #define ff first #define ss second #define mp make_pair const int mod=1000000007; vecto...
15.656566
82
0.523226
coderanant
1911a82123e59344e55ae4c7404994cf36443191
410
cpp
C++
Guerrero.cpp
trimarchi19/P3_Lab-9_DanielTrimarchi
f11a17327bc2d62dcbb69a6919a822cc895eb983
[ "MIT" ]
null
null
null
Guerrero.cpp
trimarchi19/P3_Lab-9_DanielTrimarchi
f11a17327bc2d62dcbb69a6919a822cc895eb983
[ "MIT" ]
null
null
null
Guerrero.cpp
trimarchi19/P3_Lab-9_DanielTrimarchi
f11a17327bc2d62dcbb69a6919a822cc895eb983
[ "MIT" ]
null
null
null
#include "Guerrero.h" Guerrero::Guerrero():Tropa(150,90,20,15,50,15,3,'F','G'){ ataque=20+10; defensa=15+10; ataque_neto= (ataque*(1 + (15/5)))+50*.15; //: neto = ataque*(1 + velocidad/5) +vida_oponente*0.15. S } Guerrero::~Guerrero(){ } void Guerrero::setNeto(int net){ ataque_neto=net; } int Guerr...
21.578947
60
0.636585
trimarchi19
1912c75c42d29f56b42fc8d7c75334aada01cddc
955
hpp
C++
apps/openmw/mwmechanics/autocalcspell.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwmechanics/autocalcspell.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
apps/openmw/mwmechanics/autocalcspell.hpp
Bodillium/openmw
5fdd264d0704e33b44b1ccf17ab4fb721f362e34
[ "Unlicense" ]
null
null
null
#ifndef OPENMW_AUTOCALCSPELL_H #define OPENMW_AUTOCALCSPELL_H #include <cfloat> #include <set> #include <components/esm/loadspel.hpp> #include <components/esm/loadskil.hpp> #include <components/esm/loadrace.hpp> namespace MWMechanics { /// Contains algorithm for calculating an NPC's spells based on stats /// @note ...
29.84375
123
0.781152
Bodillium
19140d889dc35d732742158cdf0a9bbe7bdf98c5
5,075
cpp
C++
testsrc/io_tests.cpp
sat-clique/cnfkit
280605ef29c95df3d5b349d54b2410451a2f5564
[ "X11" ]
null
null
null
testsrc/io_tests.cpp
sat-clique/cnfkit
280605ef29c95df3d5b349d54b2410451a2f5564
[ "X11" ]
null
null
null
testsrc/io_tests.cpp
sat-clique/cnfkit
280605ef29c95df3d5b349d54b2410451a2f5564
[ "X11" ]
null
null
null
#include <cnfkit/io.h> #include <cnfkit/io/io_buf.h> #include <cnfkit/io/io_libarchive.h> #include <cnfkit/io/io_stdstream.h> #include <cnfkit/io/io_zlib.h> #include "test_utils.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include <filesystem> #include <fstream> #include <memory> #include <sstream> #includ...
28.835227
100
0.731823
sat-clique
19194698392ffa0b61e8fbd0fec8d5b6185cb55f
201
cpp
C++
cardigan.cpp
kazunetakahashi/poh7
8ebf03f7b5a9db5277006678d23d1a0044e91c99
[ "MIT" ]
null
null
null
cardigan.cpp
kazunetakahashi/poh7
8ebf03f7b5a9db5277006678d23d1a0044e91c99
[ "MIT" ]
null
null
null
cardigan.cpp
kazunetakahashi/poh7
8ebf03f7b5a9db5277006678d23d1a0044e91c99
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <algorithm> using namespace std; int main() { int n; cin >> n; int x = 1; for (auto i = 1; i <= n; i++) { x *= i; } cout << x << endl; }
13.4
33
0.517413
kazunetakahashi
191f5f2f1b94bc9069767a0ce3573e45e54b6983
9,240
cpp
C++
Test/System/String.cpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-23T14:51:51.000Z
2022-01-23T14:51:51.000Z
Test/System/String.cpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
null
null
null
Test/System/String.cpp
SimmyPeet/Axis
a58c073d13f74d0224fbfca34a4dcd4b9d0c6726
[ "Apache-2.0" ]
1
2022-01-10T21:01:54.000Z
2022-01-10T21:01:54.000Z
#include <Axis/System> #include <doctest.h> using namespace Axis; using namespace Axis::System; DOCTEST_TEST_CASE("Axis string data structure : [Axis-System]") { DOCTEST_SUBCASE("`Axis::String` constructors") { DOCTEST_SUBCASE("Constructor") { // Default string (empty) ...
36.09375
105
0.606169
SimmyPeet
19202e50033e4084263066b97340c1e1f55a8198
3,333
cpp
C++
src/ir/pdf/PdfCFGVisitor.cpp
totorigolo/caramel
94c8a05c0a456be6b424d415cef19b7efdc3201b
[ "MIT" ]
null
null
null
src/ir/pdf/PdfCFGVisitor.cpp
totorigolo/caramel
94c8a05c0a456be6b424d415cef19b7efdc3201b
[ "MIT" ]
null
null
null
src/ir/pdf/PdfCFGVisitor.cpp
totorigolo/caramel
94c8a05c0a456be6b424d415cef19b7efdc3201b
[ "MIT" ]
null
null
null
/* * MIT License * * Copyright (c) 2018 insa.4if.hexanome_kalate * * 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 us...
35.457447
108
0.687069
totorigolo
1929904be94da08877b20a99828a66e40b39c52e
739
hpp
C++
includes/eeros/core/Fault.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
10
2015-02-17T15:27:50.000Z
2021-12-10T08:34:13.000Z
includes/eeros/core/Fault.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
6
2016-05-10T17:11:09.000Z
2022-03-31T07:52:11.000Z
includes/eeros/core/Fault.hpp
ClaudiaVisentin/eeros-framework
63739a2e33b0c5e9e573748fef675131c35181a6
[ "Apache-2.0" ]
13
2016-05-01T09:56:51.000Z
2022-03-28T09:27:49.000Z
#ifndef ORG_EEROS_CORE_FAULT_HPP #define ORG_EEROS_CORE_FAULT_HPP #include <string> #include <sstream> #include <exception> namespace eeros { /** * Base class for EEROS faults. */ class Fault : public std::exception { public: /** * Default constructor for a fault. */ Fault(); /** * Default con...
16.422222
69
0.649526
ClaudiaVisentin
192ba54326ea53473d483f1b6bc0546a16236938
6,677
cc
C++
orb_object_slam/src/MapObject.cc
Aceralon/cube_slam
1687e7cca6e77c96a507655c8dd6c1e7653535ae
[ "BSD-3-Clause" ]
619
2018-10-31T00:04:33.000Z
2022-03-28T13:25:41.000Z
orb_object_slam/src/MapObject.cc
Aceralon/cube_slam
1687e7cca6e77c96a507655c8dd6c1e7653535ae
[ "BSD-3-Clause" ]
48
2019-03-19T03:05:55.000Z
2022-01-20T03:57:44.000Z
orb_object_slam/src/MapObject.cc
Aceralon/cube_slam
1687e7cca6e77c96a507655c8dd6c1e7653535ae
[ "BSD-3-Clause" ]
207
2018-10-31T02:02:09.000Z
2022-03-30T08:25:36.000Z
#include "MapObject.h" #include "KeyFrame.h" #include "MapPoint.h" #include "Map.h" #include <Converter.h> #include "mutex" namespace ORB_SLAM2 { using namespace std; long int MapObject::nNextId = 0; mutex MapObject::mGlobalMutex; MapObject::MapObject(Map *pMap, bool update_index) : mbBad(false), mpMap(pMap) { if (...
23.510563
151
0.736409
Aceralon
192d55026d38a70a63b648738c265e63d52284cf
29,591
cpp
C++
codec/L2/demos/pikEnc/host/third_party/FiniteStateEntropy/lib/fse_compress.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
4
2019-02-15T20:11:18.000Z
2020-03-19T06:56:02.000Z
codec/L2/demos/pikEnc/host/third_party/FiniteStateEntropy/lib/fse_compress.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
null
null
null
codec/L2/demos/pikEnc/host/third_party/FiniteStateEntropy/lib/fse_compress.cpp
vmayoral/Vitis_Libraries
2323dc5036041e18242718287aee4ce66ba071ef
[ "Apache-2.0" ]
1
2020-03-19T06:56:04.000Z
2020-03-19T06:56:04.000Z
/* ****************************************************************** FSE : Finite State Entropy encoder Copyright (C) 2013-2015, Yann Collet. BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php) Redistribution and use in source and binary forms, with or without modification, are p...
36.622525
196
0.58163
vmayoral
193094f3d7f28da998e67b90526c3ce73af0766a
676
cpp
C++
ProyectoFinal-L1/cuenta.cpp
josedaviddubon/cpp
caa8db741065f3c6a7b9fc9dfddfb619a481c815
[ "MIT" ]
null
null
null
ProyectoFinal-L1/cuenta.cpp
josedaviddubon/cpp
caa8db741065f3c6a7b9fc9dfddfb619a481c815
[ "MIT" ]
null
null
null
ProyectoFinal-L1/cuenta.cpp
josedaviddubon/cpp
caa8db741065f3c6a7b9fc9dfddfb619a481c815
[ "MIT" ]
null
null
null
#include <iostream> #include "Includes/pinguino.h" using namespace std; void menu() { int opcion = 0; while(true) { system("cls"); cout << "******"; cout << "PINGUINO"; cout << "*****"; cout << endl; cout << endl; cout << endl; cout << "1- Agregar Precios y dividir cu...
13.795918
61
0.457101
josedaviddubon
19322d7c9099b125d5283a7afe2beaf77e8ca9d8
4,727
cpp
C++
School/Clasa a VIII-a/Ianuarie 2014/chibrituri/main.cpp
AbeleMM/Algorithmic-Problems
72a8014deeb20ba76189821b7428db06cd27a32e
[ "MIT" ]
2
2019-11-26T13:52:39.000Z
2022-03-09T16:52:39.000Z
School/Clasa a VIII-a/Ianuarie 2014/chibrituri/main.cpp
AbeleMM/Algorithmic-Problems
72a8014deeb20ba76189821b7428db06cd27a32e
[ "MIT" ]
null
null
null
School/Clasa a VIII-a/Ianuarie 2014/chibrituri/main.cpp
AbeleMM/Algorithmic-Problems
72a8014deeb20ba76189821b7428db06cd27a32e
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> using namespace std; ifstream in("chibrituri.in"); ofstream out("chibrituri.out"); int h,minz,hmax,mmax,hmin,mmin,n,m,nr,cv,co; int main() { nr=0; cv=0, co=0; in>>n>>m; for (minz=0;minz<=59;minz++) { if (minz%10==0) { ...
22.509524
45
0.204146
AbeleMM
19332881fe050bf5c08e69096921dcd490f9f6cd
1,169
cpp
C++
ee21/common/src/token.cpp
ygor-rezende/Expression-Evaluator
52868ff11ce72a4ae6fa9a4052005c02f8485b3c
[ "FTL" ]
null
null
null
ee21/common/src/token.cpp
ygor-rezende/Expression-Evaluator
52868ff11ce72a4ae6fa9a4052005c02f8485b3c
[ "FTL" ]
null
null
null
ee21/common/src/token.cpp
ygor-rezende/Expression-Evaluator
52868ff11ce72a4ae6fa9a4052005c02f8485b3c
[ "FTL" ]
null
null
null
/*! \file token.cpp \brief Token class implementation. \author Garth Santor \date 2021-10-29 \copyright Garth Santor, Trinh Han ============================================================= Implementation of the Token class. ============================================================= Revision History ----------...
27.186047
90
0.55432
ygor-rezende
1936566c10338a5818b53cc505c87fc559b366d0
11,779
cc
C++
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer_browsertest.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
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer_browsertest.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
chrome/browser/page_load_metrics/observers/javascript_frameworks_ukm_observer_browsertest.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 2020 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 "chrome/browser/page_load_metrics/observers/foreground_duration_ukm_observer.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/...
41.475352
88
0.70371
zealoussnow
19384c6e99ec3bded298e4dd00470b138b689c47
1,861
cpp
C++
Isetta/IsettaTestbed/KnightGame/Gameplay/FireballCircle.cpp
LukeMcCulloch/IsettaGameEngine
9f112d7d088623607a19175707824c5b65662e03
[ "MIT" ]
2
2018-09-05T17:51:47.000Z
2018-09-05T19:35:25.000Z
Isetta/IsettaTestbed/KnightGame/Gameplay/FireballCircle.cpp
LukeMcCulloch/IsettaGameEngine
9f112d7d088623607a19175707824c5b65662e03
[ "MIT" ]
null
null
null
Isetta/IsettaTestbed/KnightGame/Gameplay/FireballCircle.cpp
LukeMcCulloch/IsettaGameEngine
9f112d7d088623607a19175707824c5b65662e03
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Isetta */ #include "FireballCircle.h" #include "Enemy.h" #include "SpinAttack.h" using namespace Isetta; namespace KnightGame { void FireballCircle::Start() { particleSys = entity->GetComponent<ParticleSystemComponent>(); spin->SetCallback([&]() { SetActive(true); spin->SetActiv...
28.19697
78
0.621171
LukeMcCulloch
1939307ab598bc23f0a8a5891c75f10ef05429fe
1,803
hpp
C++
external/include/SFGUI/SFGUI.hpp
JevinJ/ConnectFour
3e131c9ff957c3ca108b6f79e8940ba3ae40e8d4
[ "MIT" ]
3
2018-09-09T01:50:13.000Z
2018-09-09T01:50:31.000Z
external/include/SFGUI/SFGUI.hpp
JevinJ/ConnectFour
3e131c9ff957c3ca108b6f79e8940ba3ae40e8d4
[ "MIT" ]
null
null
null
external/include/SFGUI/SFGUI.hpp
JevinJ/ConnectFour
3e131c9ff957c3ca108b6f79e8940ba3ae40e8d4
[ "MIT" ]
1
2021-04-30T13:49:57.000Z
2021-04-30T13:49:57.000Z
#pragma once #include <SFGUI/Config.hpp> #include <SFML/Config.hpp> namespace sf { class Window; class RenderWindow; class RenderTexture; } namespace sfg { class Renderer; /** A class to shield us from evil SFML and MSVC. */ class SFGUI_API SFGUI { public: /** Constructor. */ SFGUI(); /** Dtor. */ ...
26.130435
111
0.687188
JevinJ
194298e54aeac10a8493562905e9426592ffb067
2,158
cpp
C++
Days 091 - 100/Day 099/LongestSequence.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 091 - 100/Day 099/LongestSequence.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
Days 091 - 100/Day 099/LongestSequence.cpp
LucidSigma/Daily-Coding-Problems
21dc8f7e615edd535d7beb1f5d0e41dd3b4bcc1a
[ "MIT" ]
null
null
null
#include <algorithm> #include <cstddef> #include <functional> #include <iostream> #include <iterator> #include <unordered_map> #include <vector> struct Range { int start; int end; Range() noexcept = default; Range(int start, int end) noexcept : start(start), end(end) { } }; template <> struct std::hash<Range...
21.58
131
0.691844
LucidSigma
19434a0c00bc20f96bd4b74cf9856481faa1c72f
1,219
cpp
C++
PAT (Advanced Level) Practice/1153 Decode Registration Card of PAT (25).cpp
vuzway/PAT
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
5
2020-02-10T08:26:19.000Z
2020-07-09T00:11:16.000Z
PAT (Advanced Level) Practice/1153 Decode Registration Card of PAT (25).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
PAT (Advanced Level) Practice/1153 Decode Registration Card of PAT (25).cpp
Assassin2016/zju_data_structures_and_algorithms_in_MOOC
5db8ca9295b51ad9e99c815a46e4ac764d7d06c1
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <unordered_map> #include <algorithm> using namespace std; struct node { string id; int g; }; bool cmp(const node &a, const node &b) { return a.g != b.g ? a.g > b.g : a.id < b.id; } int main() { int n, k, num; string s; cin >> n >> k; vector<node> v(n); for (int i =...
25.395833
92
0.484003
vuzway
19437b2ad987589fa87de5fe225a9e16db5747d4
15,215
cpp
C++
pySPACE/tools/live/eegmanager/deps/xmlrpc++/XmlRpcClient.cpp
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
32
2015-02-20T09:03:09.000Z
2022-02-25T22:32:52.000Z
pySPACE/tools/live/eegmanager/deps/xmlrpc++/XmlRpcClient.cpp
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
5
2015-05-18T15:08:40.000Z
2020-03-05T19:18:01.000Z
pySPACE/tools/live/eegmanager/deps/xmlrpc++/XmlRpcClient.cpp
pyspace/pyspace
763e62c0e7fa7cfcb19ccee1a0333c4f7e68ae62
[ "BSD-3-Clause" ]
18
2015-09-28T07:16:38.000Z
2021-01-20T13:52:19.000Z
// // XmlRpc++ Copyright (c) 2002-2008 by Chris Morley // #include "XmlRpcClient.h" #include "XmlRpcSocket.h" #include "XmlRpc.h" #include "base64.h" // For HTTP authentication encoding #include <cstdio> #include <cstdlib> #include <cstring> #include <string> using namespace XmlRpc; using namesp...
28.707547
148
0.623464
pyspace
194a13063d656e908e4d4ddc449b5e9d4a57ae90
1,413
cpp
C++
events/create_plane_trigger_event.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
1
2020-01-24T01:14:04.000Z
2020-01-24T01:14:04.000Z
events/create_plane_trigger_event.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
null
null
null
events/create_plane_trigger_event.cpp
canuc/meow-engine
25f5396136d90691e4a4451f382a45da9fdcebc0
[ "BSD-3-Clause" ]
1
2020-06-05T07:00:16.000Z
2020-06-05T07:00:16.000Z
// // Created by julian on 3/30/16. // #include "events/create_plane_trigger_event.h" CreatePlaneTriggerEvent::CreatePlaneTriggerEvent(WorkQueue<LuaEvent> * promiseQueue): LuaPromiseEvent(promiseQueue, CREATE_PLANE_TRIGGER_EVENT_ID, CREATE_PLANE_TRIGGER_EVENT) { }; void CreatePlaneTriggerEvent::readEventData(lua_Sta...
32.860465
115
0.652512
canuc
1950fbf9d2383d5c34cbf772b124bde57828d968
1,220
hpp
C++
src/Shaders/ConeTraceShader.hpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
6
2019-06-30T20:20:52.000Z
2022-01-07T06:31:18.000Z
src/Shaders/ConeTraceShader.hpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
null
null
null
src/Shaders/ConeTraceShader.hpp
jaafersheriff/Clouds
00de0a33f6e6fe43c3287de5cba9228c70693110
[ "MIT" ]
3
2020-10-08T16:37:07.000Z
2022-01-07T06:31:22.000Z
#pragma once #ifndef _CONE_TRACE_SHADER_HPP_ #define _CONE_TRACE_SHADER_HPP_ #include "Shader.hpp" #include "CloudVolume.hpp" class ConeTraceShader : public Shader { public: ConeTraceShader(const std::string &r, const std::string &v, const std::string &f); void coneTrace(CloudVolume *); ...
25.957447
90
0.59918
jaafersheriff
19553e616a65ab492fc3c4ba8bf086b8022d5a24
813
cpp
C++
Deitel/Chapter16/examples/16.07/Integer.cpp
SebastianTirado/Cpp-Learning-Archive
fb83379d0cc3f9b2390cef00119464ec946753f4
[ "MIT" ]
19
2019-09-15T12:23:51.000Z
2020-06-18T08:31:26.000Z
Deitel/Chapter16/examples/16.07/Integer.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
15
2021-12-07T06:46:03.000Z
2022-01-31T07:55:32.000Z
Deitel/Chapter16/examples/16.07/Integer.cpp
eirichan/CppLearingArchive
07a4baf63f0765d41eb0cc6d32a4c9d2ae1d5bac
[ "MIT" ]
13
2019-06-29T02:58:27.000Z
2020-05-07T08:52:22.000Z
/* * ===================================================================================== * * Filename: * * Description: * * Version: 1.0 * Created: Thanks to github you know it * Revision: none * Compiler: g++ * * Author: Mahmut Erdem ÖZGEN m.erdemozgen...
25.40625
88
0.450185
SebastianTirado
1956dbf619ba9184cfdf49cf2ed088cb7a79b0cb
4,222
cpp
C++
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/utils/idbdatafile/IDBFactory.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/utils/idbdatafile/IDBFactory.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/utils/idbdatafile/IDBFactory.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
/* Copyright (C) 2014 InfiniDB, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but W...
31.044118
147
0.692563
zettadb
19581a6d361ff29a81886a9f963298482577d540
8,960
cpp
C++
misc/vtk/src/processors/vtkunstructuredgridtorectilineargrid.cpp
JochenJankowai/modules
20c5c2df6af4fe5faaa87a9a61432406a6d750e0
[ "BSD-2-Clause" ]
null
null
null
misc/vtk/src/processors/vtkunstructuredgridtorectilineargrid.cpp
JochenJankowai/modules
20c5c2df6af4fe5faaa87a9a61432406a6d750e0
[ "BSD-2-Clause" ]
null
null
null
misc/vtk/src/processors/vtkunstructuredgridtorectilineargrid.cpp
JochenJankowai/modules
20c5c2df6af4fe5faaa87a9a61432406a6d750e0
[ "BSD-2-Clause" ]
null
null
null
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017-2020 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
36.129032
97
0.636942
JochenJankowai
195a82fd13fa2b303499d647185f7b5d9a854399
9,902
hpp
C++
third-party/Empirical/include/emp/tools/TypeTracker.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/tools/TypeTracker.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
third-party/Empirical/include/emp/tools/TypeTracker.hpp
koellingh/empirical-p53-simulator
aa6232f661e8fc65852ab6d3e809339557af521b
[ "MIT" ]
null
null
null
/** * @note This file is part of Empirical, https://github.com/devosoft/Empirical * @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md * @date 2016-2018 * * @file TypeTracker.hpp * @brief Track class types abstractly to dynamically call correct function overloads. *...
37.507576
101
0.660675
koellingh
195a934f6a21088d3c3126ef013b810a5ed00544
1,369
cpp
C++
bark/world/evaluation/ltl/evaluator_right_overtake.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/evaluation/ltl/evaluator_right_overtake.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
bark/world/evaluation/ltl/evaluator_right_overtake.cpp
GAIL-4-BARK/bark
1cfda9ba6e9ec5318fbf01af6b67c242081b516e
[ "MIT" ]
null
null
null
// Copyright (c) 2020 fortiss GmbH // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "bark/world/evaluation/ltl/evaluator_right_overtake.hpp" #include "bark/world/evaluation/ltl/label_functions/behind_of_label_function.hpp" #include "bar...
39.114286
85
0.775749
GAIL-4-BARK
195ab728038284f416bbeb584d51a026ec676bd1
1,493
hpp
C++
RSDKv4/Ini.hpp
0xR00KIE/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
2
2022-01-15T05:05:39.000Z
2022-03-19T07:36:31.000Z
RSDKv4/Ini.hpp
LittlePlanetCD/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
null
null
null
RSDKv4/Ini.hpp
LittlePlanetCD/Decomp-for-S1F
c8ffedd211f25bb46803f9d637baf1b1fc635db0
[ "Unlicense" ]
null
null
null
#ifndef INI_H #define INI_H class IniParser { public: enum ItemType { INI_ITEM_STRING, INI_ITEM_INT, INI_ITEM_FLOAT, INI_ITEM_BOOL, INI_ITEM_COMMENT, }; struct ConfigItem { ConfigItem() { sprintf(section, "%s", ""); sprintf(ke...
29.86
78
0.607502
0xR00KIE
195bbb782ac80d21bd44124b820327574cc30632
4,785
cpp
C++
src/engine/keen/galaxy/ep6/ai/CRocket.cpp
vogonsorg/Commander-Genius
456703977d7e574af663fd03d4897728ede10058
[ "X11" ]
137
2015-01-01T21:04:51.000Z
2022-03-30T01:41:10.000Z
src/engine/keen/galaxy/ep6/ai/CRocket.cpp
vogonsorg/Commander-Genius
456703977d7e574af663fd03d4897728ede10058
[ "X11" ]
154
2015-01-01T16:34:39.000Z
2022-01-28T14:14:45.000Z
src/engine/keen/galaxy/ep6/ai/CRocket.cpp
vogonsorg/Commander-Genius
456703977d7e574af663fd03d4897728ede10058
[ "X11" ]
35
2015-03-24T02:20:54.000Z
2021-05-13T11:44:22.000Z
#include "CRocket.h" #include "../../common/ai/CPlayerBase.h" #include "../../common/dialog/CMessageBoxBitmapGalaxy.h" #include <base/utils/property_tree/property_tree.h> namespace galaxy { /* $1AEAW #Rocket needs card window [Best used on map] $1B08W #Rocket sit $1B26W #Rocket flying $1B44W #Rocket fly...
22.894737
93
0.649112
vogonsorg
195c6f8a5950f26994334bb2b5d77f53ea9ad523
1,015
cpp
C++
mmap_demo/main.cpp
xum07/small_demos
8e727cb7e005d7beb998419025cb1d47be9d0399
[ "BSD-3-Clause" ]
null
null
null
mmap_demo/main.cpp
xum07/small_demos
8e727cb7e005d7beb998419025cb1d47be9d0399
[ "BSD-3-Clause" ]
null
null
null
mmap_demo/main.cpp
xum07/small_demos
8e727cb7e005d7beb998419025cb1d47be9d0399
[ "BSD-3-Clause" ]
null
null
null
#include <string> #include <cstring> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include "mmap_utils.h" #include "utils.h" using std::string; bool WriteInMmap(string content, FileMmap *dstFileMmap) { if (EnlargeFileMmap(dstFileMmap, content.length()) == false) { PR...
24.166667
84
0.652217
xum07
195e399b868f63bf1b547c79b42d50c1adca4145
1,804
cpp
C++
src/windows/DiffWindowRastports.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
null
null
null
src/windows/DiffWindowRastports.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
7
2019-02-09T18:27:06.000Z
2021-07-13T09:47:18.000Z
src/windows/DiffWindowRastports.cpp
rosneru/ADiffView
5f7d6cf4c7b5c65ba1221370d272ba12c21f4911
[ "BSD-3-Clause", "MIT" ]
null
null
null
#ifdef __clang__ #include <clib/graphics_protos.h> #else #include <proto/graphics.h> #endif #include "DiffWindowRastports.h" DiffWindowRastports::DiffWindowRastports(struct Window* pIntuiWindow, const ADiffViewPens& pens) { SetAPen(pIntuiWindow->RPort, pens.NormalText()...
21.223529
69
0.748337
rosneru
195fcf5933d162d057aeb703df0b804b5386d481
596
cpp
C++
PXG3D/PXG3D/Subject.cpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
5
2020-02-13T08:54:46.000Z
2021-08-30T05:04:49.000Z
PXG3D/PXG3D/Subject.cpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
1
2020-02-11T11:46:37.000Z
2020-02-11T11:46:37.000Z
PXG3D/PXG3D/Subject.cpp
Developer-The-Great/Wooly
31619dec3baa165e7ae2b082aa026a467d1370ab
[ "Apache-2.0" ]
1
2020-03-19T13:05:22.000Z
2020-03-19T13:05:22.000Z
#include <vector> #include "Subject.h" #include "Subscriber.h" namespace PXG { void subject_base::notify(const event_t e) { for (subscriber_base* view : m_views) { view->onNotify(this, e); } } void subject_base::notifyFirst(const event_t e) { if (!m_views.empty()) m_views.front()->onNotify(this, e); ...
20.551724
61
0.671141
Developer-The-Great
19604b8b4b184db02c3f257f48a48cb8f5a6c3e6
3,322
cpp
C++
tests/depends/mmpa/src/mmpa_stub.cpp
fletcherjiang/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
169
2021-10-07T03:50:42.000Z
2021-12-20T01:55:51.000Z
tests/depends/mmpa/src/mmpa_stub.cpp
fletcherjiang/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
11
2021-10-09T01:53:49.000Z
2021-10-09T01:53:49.000Z
tests/depends/mmpa/src/mmpa_stub.cpp
JoeAnimation/ssm-alipay
d7cd911c72c2538859597b9ed3c96d02693febf2
[ "Apache-2.0" ]
56
2021-10-07T03:50:53.000Z
2021-10-12T00:41:59.000Z
/** * Copyright 2019-2020 Huawei Technologies 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 ...
21.712418
105
0.647803
fletcherjiang
1962c69dee531f67c312f6c2ae98d2b023ba966a
13,123
cpp
C++
test/world_tests.cpp
extramask93/RayTracer
ba7f46fb212971e47b296991a7a7e981fef50dda
[ "Unlicense" ]
null
null
null
test/world_tests.cpp
extramask93/RayTracer
ba7f46fb212971e47b296991a7a7e981fef50dda
[ "Unlicense" ]
null
null
null
test/world_tests.cpp
extramask93/RayTracer
ba7f46fb212971e47b296991a7a7e981fef50dda
[ "Unlicense" ]
null
null
null
// // Created by damian on 09.07.2020. // #include <catch2/catch.hpp> #include <world/World.h> #include <lights/PointLight.h> #include <Tuple.h> #include <Color.h> #include <shapes/Sphere.h> #include <misc/Computations.h> #include <misc/Shader.h> #include <shapes/Plane.h> #include <patterns/TestPattern.h> SCENARIO("Cre...
33.648718
114
0.588356
extramask93
196306a2a6e1591f147bca1c9ad51b7cd0cc8f44
73,079
cc
C++
gpl/nn/cascade.cc
vzaccaria/most
2b3b8768a960245e433a5a733cba6f08451e3fec
[ "Unlicense" ]
null
null
null
gpl/nn/cascade.cc
vzaccaria/most
2b3b8768a960245e433a5a733cba6f08451e3fec
[ "Unlicense" ]
null
null
null
gpl/nn/cascade.cc
vzaccaria/most
2b3b8768a960245e433a5a733cba6f08451e3fec
[ "Unlicense" ]
null
null
null
#define PRINT_STDOUT // macro che se definita permette di stampare a video i // risultati di cascade //#define PRINT_REPORT //macro che se definita permette di stampare un file di // report per ogni modello #define TRAINING_ALGORITHM \ FANN_TRA...
40.19747
113
0.653553
vzaccaria
196ac2543fd31bd2893b01fa002fadb19cd97a11
1,176
cpp
C++
Recursion 2/checkAB.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
2
2021-02-25T11:54:50.000Z
2021-02-25T11:54:54.000Z
Recursion 2/checkAB.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
null
null
null
Recursion 2/checkAB.cpp
PranavDherange/Data_Structures
9962b5145f6b42d9317e2c328c2b3124f028ca70
[ "MIT" ]
1
2021-10-03T17:39:10.000Z
2021-10-03T17:39:10.000Z
/*Problem Statement: Check AB Problem Level: MEDIUM Problem Description: Suppose you have a string, S, made up of only 'a's and 'b's. Write a recursive function that checks if the string was generated using the following rules: a. The string begins with an 'a' b. Each 'a' is followed by nothing or an 'a' or "bb" c. Eac...
19.6
154
0.605442
PranavDherange
196b329ba87ccb6226e99712fc9251f0bbd725b7
1,222
cpp
C++
laborator1/problema3/problema3/Source.cpp
aquamineralis/oop-2022
d49475a00cafc2b3b35286e741506341c0ec9702
[ "MIT" ]
null
null
null
laborator1/problema3/problema3/Source.cpp
aquamineralis/oop-2022
d49475a00cafc2b3b35286e741506341c0ec9702
[ "MIT" ]
null
null
null
laborator1/problema3/problema3/Source.cpp
aquamineralis/oop-2022
d49475a00cafc2b3b35286e741506341c0ec9702
[ "MIT" ]
null
null
null
#define _CRT_SECURE_NO_WARNINGS #include <cstdio> #include <cstring> void sortWords(char words[][100], int wordCount) { for (int i = 0; i < wordCount - 1; i++) for (int j = i + 1; j < wordCount; j++) { if (strlen(words[i]) < strlen(words[j])) { char temp[100]; st...
26.565217
62
0.467267
aquamineralis
196f35871bad52b67360666ef48654660c5724a2
13,853
cc
C++
runtime/arch/arm64/instruction_set_features_arm64.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
20
2021-06-24T16:38:42.000Z
2022-01-20T16:15:57.000Z
runtime/arch/arm64/instruction_set_features_arm64.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
null
null
null
runtime/arch/arm64/instruction_set_features_arm64.cc
Paschalis/android-llvm
317f7fd4b736a0511a2273a2487915c34cf8933e
[ "Apache-2.0" ]
4
2021-11-03T06:01:12.000Z
2022-02-24T02:57:31.000Z
/* * Copyright (C) 2014 The Android Open Source Project * * 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 app...
35.981818
100
0.592579
Paschalis
19704b337273146f979e8b832358338f1c80ce3a
242
hpp
C++
server/find_cmake.hpp
TyRoXx/buildserver
f1a44e3365fb61eb7b06883c4bad76fdfe364709
[ "MIT" ]
null
null
null
server/find_cmake.hpp
TyRoXx/buildserver
f1a44e3365fb61eb7b06883c4bad76fdfe364709
[ "MIT" ]
null
null
null
server/find_cmake.hpp
TyRoXx/buildserver
f1a44e3365fb61eb7b06883c4bad76fdfe364709
[ "MIT" ]
null
null
null
#ifndef BUILDSERVER_FIND_CMAKE_HPP #define BUILDSERVER_FIND_CMAKE_HPP #include <silicium/error_or.hpp> #include <ventura/absolute_path.hpp> namespace buildserver { Si::error_or<Si::optional<ventura::absolute_path>> find_cmake(); } #endif
18.615385
65
0.805785
TyRoXx
19742e387c48a7a7b600adf985511a65ee672d5d
141
hpp
C++
libSrc/Color/ColorModule.hpp
burkeac/MPS_Tool_Kit
0da53595118dfbee37c0ec91681fd134b6479264
[ "MIT" ]
null
null
null
libSrc/Color/ColorModule.hpp
burkeac/MPS_Tool_Kit
0da53595118dfbee37c0ec91681fd134b6479264
[ "MIT" ]
1
2020-06-11T20:45:25.000Z
2020-06-11T20:45:25.000Z
libSrc/Color/ColorModule.hpp
burkeac/MPS_Tool_Kit
0da53595118dfbee37c0ec91681fd134b6479264
[ "MIT" ]
null
null
null
// ColorModule.hpp // Adam C. Burke (adam.burke603@gmail.com) // June 1, 2020 #pragma once #include "ColorSpaces.hpp" #include "deltaE.hpp"
17.625
42
0.70922
burkeac
19770fd68a4007e11231043b2f5781f3b3f519ab
3,453
cpp
C++
Microsoft/SAMPLES/xrt/test/testapp.cpp
tig/Tigger
8e06d117a5b520c5fc9e37a710bf17aa51a9958c
[ "MIT", "Unlicense" ]
1
2021-08-02T01:36:43.000Z
2021-08-02T01:36:43.000Z
Microsoft/SAMPLES/xrt/test/testapp.cpp
mdileep/Tigger
8e06d117a5b520c5fc9e37a710bf17aa51a9958c
[ "MIT", "Unlicense" ]
null
null
null
Microsoft/SAMPLES/xrt/test/testapp.cpp
mdileep/Tigger
8e06d117a5b520c5fc9e37a710bf17aa51a9958c
[ "MIT", "Unlicense" ]
1
2022-01-04T21:13:01.000Z
2022-01-04T21:13:01.000Z
// testapp.cpp // // This is the WinMain module for the WOSA/XRT test app (Data User). // The source code that makes up most of this app (i.e. the dataobject viewer) // is shared between testapp.exe and xrttest.dll which is an Ole2View // Interface Viewer DLL. // // // Copyright (c) 1993 Microsoft Corporation,...
30.026087
119
0.556907
tig
198181b07a5f16250e6cdc50137b942e023ac448
2,679
cpp
C++
test/thread/source/TestThreadThreadPool.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
255
2019-06-11T07:05:51.000Z
2022-03-08T20:35:12.000Z
test/thread/source/TestThreadThreadPool.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
4
2019-08-10T21:35:17.000Z
2021-11-24T10:42:24.000Z
test/thread/source/TestThreadThreadPool.cpp
tlzyh/EAThread
b5e246fa86d8de5ddbcdb098df0a75f5e8839f5a
[ "BSD-3-Clause" ]
75
2019-07-08T00:16:33.000Z
2022-02-25T03:41:13.000Z
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// #include "TestThread.h" #include <EATest/EATest.h> #include <eathread/eathread_pool.h> #include <eat...
26.524752
133
0.677118
tlzyh
198290997275a037c5c00df0f1cd698578d85c99
5,156
hxx
C++
include/usb/platforms/atxmega256a3u/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
4
2021-06-20T02:20:03.000Z
2021-12-30T01:43:02.000Z
include/usb/platforms/atxmega256a3u/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
include/usb/platforms/atxmega256a3u/types.hxx
DX-MON/dragonUSB
e3b43d786f767577822ba5e777d01328cd92a80d
[ "BSD-3-Clause" ]
null
null
null
// SPDX-License-Identifier: BSD-3-Clause #ifndef USB_PLATFORMS_ATXMEGA256A3U_TYPES___HXX #define USB_PLATFORMS_ATXMEGA256A3U_TYPES___HXX #include <flash.hxx> #include "usb/descriptors.hxx" template<> struct flash_t<usb::descriptors::usbMultiPartDesc_t> final { private: using T = usb::descriptors::usbMultiPartDesc_t;...
27.72043
92
0.703064
DX-MON
1984b409e07c6b1dfffd53f0539a90b9e2d0e93a
49,119
cpp
C++
vkcomp/VulkanCompute.cpp
ElsevierSoftwareX/SOFTX_2020_86
b71dae95e882d5a605a64cddf00678b076bba3c5
[ "BSD-3-Clause" ]
2
2021-11-28T18:53:42.000Z
2022-03-20T15:06:35.000Z
vkcomp/VulkanCompute.cpp
ElsevierSoftwareX/SOFTX_2020_86
b71dae95e882d5a605a64cddf00678b076bba3c5
[ "BSD-3-Clause" ]
null
null
null
vkcomp/VulkanCompute.cpp
ElsevierSoftwareX/SOFTX_2020_86
b71dae95e882d5a605a64cddf00678b076bba3c5
[ "BSD-3-Clause" ]
null
null
null
/* VulkanCompute.cpp: This file is part of the vkpolybench test suite, See LICENSE.md for vkpolybench and other 3rd party licenses. */ #include "VulkanCompute.h" #include "stdafx.h" //LOOK AT ME WHEN YOU DON'T KNOW HOW OTHER HW WILL DO!!!! //http://vulkan.gpuinfo.org/ ////////////////////////////////////////////////...
35.18553
180
0.765712
ElsevierSoftwareX
19857f83691dbee20527c522354c4b6495379b62
532
cpp
C++
AcWing/LeetCode究极班/372.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
7
2019-02-25T13:15:00.000Z
2021-12-21T22:08:39.000Z
AcWing/LeetCode究极班/372.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
null
null
null
AcWing/LeetCode究极班/372.cpp
LauZyHou/-
66c047fe68409c73a077eae561cf82b081cf8e45
[ "MIT" ]
1
2019-04-03T06:12:46.000Z
2019-04-03T06:12:46.000Z
class Solution { public: const int mod = 1337; // 快速幂能够在logb的时间复杂度下求出a的b次方模p的值 int qmi(int a, int b, int p) { a %= p; int res = 1; while (b) { if (b & 1) res = res * a % p; a = a * a % p; b >>= 1; } return res; } int ...
21.28
67
0.421053
LauZyHou
1987368e55dfdf66e5c713e8a57c29913ba46eef
3,036
hpp
C++
bithorded/store/asset.hpp
zidz/bithorde
dbaa67eb0ddfa7d28e5325d87428c1b0225d598b
[ "Apache-2.0" ]
null
null
null
bithorded/store/asset.hpp
zidz/bithorde
dbaa67eb0ddfa7d28e5325d87428c1b0225d598b
[ "Apache-2.0" ]
null
null
null
bithorded/store/asset.hpp
zidz/bithorde
dbaa67eb0ddfa7d28e5325d87428c1b0225d598b
[ "Apache-2.0" ]
null
null
null
/* Copyright 2012 Ulrik Mikaelsson <email> 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 ...
26.867257
171
0.738801
zidz
1987e86ba760ec306b0a117367a42b8d081b7393
745
cpp
C++
src/util/tests/get_matches.t.cpp
cmburn/ope-c
208b2911ed0b7ffc0209bb4d5f9169a32e5433d8
[ "0BSD" ]
null
null
null
src/util/tests/get_matches.t.cpp
cmburn/ope-c
208b2911ed0b7ffc0209bb4d5f9169a32e5433d8
[ "0BSD" ]
null
null
null
src/util/tests/get_matches.t.cpp
cmburn/ope-c
208b2911ed0b7ffc0209bb4d5f9169a32e5433d8
[ "0BSD" ]
null
null
null
/* -*- mode: c++; c-default-style: "bsd"; -*- */ /* Copyright (c) 2020-2022 Charlie Burnett <burne251@umn.edu> */ /* SPDX-License-Identifier: ISC OR Apache-2.0 */ #include <gtest/gtest.h> #include "../util_hidden.h" TEST(get_matches, word) { auto m = ope::get_matches("foo", "foo"); auto count = ope::matches_get_co...
26.607143
64
0.66443
cmburn
198973e29154634e3d2bf173f4641b8078942af0
281
cpp
C++
learnQtCreator/MathFunctions/MathFunctions.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
learnQtCreator/MathFunctions/MathFunctions.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
learnQtCreator/MathFunctions/MathFunctions.cpp
BigWhiteCat/Qt-QML
7d601721db535167ea257e8baffc1de83cc0aa15
[ "MIT" ]
null
null
null
#include "MathFunctions.h" MathFunctions::MathFunctions() { } unsigned long MathFunctions::factorial(unsigned int n) { switch (n) { case 0: return 0; case 1: return 1; default: return n * factorial(n - 1); } }
17.5625
56
0.530249
BigWhiteCat
19897cab7eee829a1322b1590b14289e163be31e
51
hpp
C++
src/boost_thread_win32_interlocked_read.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_thread_win32_interlocked_read.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_thread_win32_interlocked_read.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/thread/win32/interlocked_read.hpp>
25.5
50
0.823529
miathedev
1989dbb700696524f4dedb864728d15573c38b09
3,288
cpp
C++
src/swift2d/gui/FullscreenGuiSpriteComponent.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/gui/FullscreenGuiSpriteComponent.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
src/swift2d/gui/FullscreenGuiSpriteComponent.cpp
Simmesimme/swift2d
147a862208dee56f972361b5325009e020124137
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // // This file is part of Swift2D. // // ...
36.94382
99
0.438564
Simmesimme
1989f9b5367e69ac41824af574e22b4cbbb9d21a
436
hpp
C++
TCCore/QuickGraphCut.hpp
SeaTurtle22/TinyCrayon-iOS-SDK
729c182c282c72d408902e4dd092b464e4904aed
[ "MIT" ]
null
null
null
TCCore/QuickGraphCut.hpp
SeaTurtle22/TinyCrayon-iOS-SDK
729c182c282c72d408902e4dd092b464e4904aed
[ "MIT" ]
null
null
null
TCCore/QuickGraphCut.hpp
SeaTurtle22/TinyCrayon-iOS-SDK
729c182c282c72d408902e4dd092b464e4904aed
[ "MIT" ]
null
null
null
// // QuickGraphCut.hpp // TinyCrayon // // Created by Xin Zeng on 11/14/15. // Copyright © 2015 Xin Zeng. All rights reserved. // #ifndef QuickGraphCut_hpp #define QuickGraphCut_hpp #import <opencv2/opencv.hpp> #import <opencv2/imgproc/imgproc_c.h> #include <stdio.h> #include "FGMM.hpp" #include "FGCGraph.hpp" ...
18.166667
61
0.722477
SeaTurtle22
198b4afac7899caee79a88cdfa8cc53a45018d49
433
cpp
C++
Engine/02_system/04_render/02_GL/01_Objects/GL_VBO.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
Engine/02_system/04_render/02_GL/01_Objects/GL_VBO.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
43
2020-03-01T12:55:12.000Z
2021-07-10T20:51:23.000Z
Engine/02_system/04_render/02_GL/01_Objects/GL_VBO.cpp
TB989/Fierce-Engine
4fa97b55fafdf97ee0b9eb72203425490b7a01c5
[ "Apache-2.0" ]
null
null
null
#include "GL_VBO.h" GL_VBO::GL_VBO(GLenum type){ m_type = type; glGenBuffers(1, &m_id); } GL_VBO::~GL_VBO(){ glDeleteBuffers(1, &m_id); } void GL_VBO::bind(){ glBindBuffer(m_type, m_id); } void GL_VBO::unbind(){ glBindBuffer(m_type, 0); } void GL_VBO::loadData(GLsizeiptr size,const void *data,GLenum usage){ ...
17.32
69
0.702079
TB989
198e588d41158b856f1489777ad472beb9cdf55d
546
hpp
C++
library/ATF/$CE1967C81C4C59269727E4AA1D2A6A5A.hpp
lemkova/Yorozuya
f445d800078d9aba5de28f122cedfa03f26a38e4
[ "MIT" ]
29
2017-07-01T23:08:31.000Z
2022-02-19T10:22:45.000Z
library/ATF/$CE1967C81C4C59269727E4AA1D2A6A5A.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
90
2017-10-18T21:24:51.000Z
2019-06-06T02:30:33.000Z
library/ATF/$CE1967C81C4C59269727E4AA1D2A6A5A.hpp
kotopes/Yorozuya
605c97d3a627a8f6545cc09f2a1b0a8afdedd33a
[ "MIT" ]
44
2017-12-19T08:02:59.000Z
2022-02-24T23:15:01.000Z
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <HBITMAP__.hpp> #include <HENHMETAFILE__.hpp> #include <IStorage.hpp> #include <IStream.hpp> START_ATF_NAMESPACE union $CE1967C81C4C59269727E4AA1D2A6A5A ...
22.75
108
0.692308
lemkova
198ebe984dd3473dd0f8c667cdbe517fcee687de
18,333
hxx
C++
main/svx/inc/svx/fmsrcimp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/svx/inc/svx/fmsrcimp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/svx/inc/svx/fmsrcimp.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
46.062814
205
0.719522
Grosskopf
19904b9a8cd3973ba4571a40c3f1bf13c35789f5
7,423
cpp
C++
sources/HybridDetector/VectorClock.cpp
onderkalaci/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
6
2018-01-11T01:47:01.000Z
2022-03-08T16:22:59.000Z
sources/HybridDetector/VectorClock.cpp
chakku000/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
1
2018-01-11T02:36:09.000Z
2018-01-12T03:32:41.000Z
sources/HybridDetector/VectorClock.cpp
chakku000/dyndatarace
8e916b11d2d4f6d812d4b0c5a2616387be4d6572
[ "Intel" ]
2
2018-01-15T02:37:50.000Z
2021-03-21T14:53:44.000Z
# # +--------------------------------------------------------------------------+ # |Copyright (C) 2014 Bogazici University | # | onderkalaci@gmail.com | # | | #...
25.596552
177
0.637748
onderkalaci
1990a265c67eb11080c8a309460d050821a9fd7b
4,614
cc
C++
RecoLocalCalo/HcalRecAlgos/src/HBHEStatusBitSetter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
RecoLocalCalo/HcalRecAlgos/src/HBHEStatusBitSetter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
RecoLocalCalo/HcalRecAlgos/src/HBHEStatusBitSetter.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
#include <cassert> #include "RecoLocalCalo/HcalRecAlgos/interface/HBHEStatusBitSetter.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" HBHEStatusBitSetter::HBHEStatusBitSetter() : frontEndMap_(nullptr) { nominalPedestal_=3.0; hitEnergyMinimum_=2.0; hitMultiplicityThreshold_=17; } HBHEStatusBitSetter...
36.619048
139
0.729085
nistefan
19924936fe13a0000c555cab6f9975bb41ea2314
2,459
cpp
C++
Server/Shared/src/RegionFamilies.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
4
2015-08-17T20:12:22.000Z
2020-05-30T19:53:26.000Z
Server/Shared/src/RegionFamilies.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
Server/Shared/src/RegionFamilies.cpp
wayfinder/Wayfinder-Server
a688546589f246ee12a8a167a568a9c4c4ef8151
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 condit...
54.644444
755
0.767385
wayfinder
19944baf85947f7100a708cb762e1e860fa600e5
1,052
cpp
C++
03/OperatorOverloadExample.cpp
memnoth/COMP3200CodeSamples
28c4921d9c2d5c6077cde2eb0e0e93cee7680ca4
[ "MIT" ]
60
2018-12-22T01:59:21.000Z
2022-02-16T07:34:51.000Z
03/OperatorOverloadExample.cpp
memnoth/COMP3200CodeSamples
28c4921d9c2d5c6077cde2eb0e0e93cee7680ca4
[ "MIT" ]
null
null
null
03/OperatorOverloadExample.cpp
memnoth/COMP3200CodeSamples
28c4921d9c2d5c6077cde2eb0e0e93cee7680ca4
[ "MIT" ]
32
2018-12-25T01:20:02.000Z
2022-01-16T01:59:33.000Z
#include <iostream> #include "OperatorOverloadExample.h" #include "Vector2.h" using namespace std; namespace samples { void OperatorOverloadExample() { cout << "+------------------------------+" << endl; cout << "| Operator Overloading Example |" << endl; cout << "+------------------------------+" << endl; ...
25.047619
53
0.565589
memnoth
1997f42758e867ce0c0d2f335681b590126ab221
1,315
cpp
C++
main.cpp
sl1pkn07/Phonon_Tester
05d3cf8f5ff4329234430f3cd925407d08d4539d
[ "BSD-3-Clause" ]
null
null
null
main.cpp
sl1pkn07/Phonon_Tester
05d3cf8f5ff4329234430f3cd925407d08d4539d
[ "BSD-3-Clause" ]
null
null
null
main.cpp
sl1pkn07/Phonon_Tester
05d3cf8f5ff4329234430f3cd925407d08d4539d
[ "BSD-3-Clause" ]
null
null
null
#include <QApplication> #include <QCommandLineParser> #include <KAboutData> #include <KLocalizedString> #include "mainwindow.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); KAboutData aboutData(QStringLiteral("PhononTester"), i18n("Phonon Tester. only Audio"), QStringLiteral("1.0"), ...
33.717949
114
0.612928
sl1pkn07
1998d5e4732f34012af5d1f223cf638c6cb4efa5
13,103
cpp
C++
clientwidget.cpp
GiadaTrevisani/SimpleBusinessManager
dec23378faffd4390befecfd52df8103a78b8523
[ "MIT" ]
2
2018-10-09T19:55:59.000Z
2019-05-10T09:11:51.000Z
clientwidget.cpp
GiadaTrevisani/SimpleBusinessManager
dec23378faffd4390befecfd52df8103a78b8523
[ "MIT" ]
null
null
null
clientwidget.cpp
GiadaTrevisani/SimpleBusinessManager
dec23378faffd4390befecfd52df8103a78b8523
[ "MIT" ]
null
null
null
#include "clientwidget.h" ClientWidget::ClientWidget(QWidget *parent) : QWidget(parent) { /* * in questa classe creiamo la window principale dei clienti, dove io mi trovo una line edit cerca * dove inserendo dei caratteri, con il connect posso cercarli dentro il mio database (guarda query * nel meto...
37.11898
135
0.695184
GiadaTrevisani
199b2ee2d0b1ca5a8f0de768563cafe1fa6586ba
758
cpp
C++
Tools/GUILayer/Exceptions.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
3
2015-12-04T09:16:53.000Z
2021-05-28T23:22:49.000Z
Tools/GUILayer/Exceptions.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
null
null
null
Tools/GUILayer/Exceptions.cpp
alexgithubber/XLE-Another-Fork
cdd8682367d9e9fdbdda9f79d72bb5b1499cec46
[ "MIT" ]
2
2015-03-03T05:32:39.000Z
2015-12-04T09:16:54.000Z
// Copyright 2016 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #include "Exceptions.h" #include "MarshalString.h" namespace GUILayer { System::Exception^ Marshal(const std::exception& e) { // note -- ...
31.583333
78
0.717678
alexgithubber
199d531524e20a4527e18545073a1b33d1b12d03
3,860
cpp
C++
src/ui/models/preferred_draw_systems_model.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
3
2019-04-26T17:48:24.000Z
2021-11-08T20:21:51.000Z
src/ui/models/preferred_draw_systems_model.cpp
svendcsvendsen/judoassistant
453211bff86d940c2b2de6f9eea2aabcdab830fa
[ "MIT" ]
90
2019-04-25T17:23:10.000Z
2022-02-12T19:49:55.000Z
src/ui/models/preferred_draw_systems_model.cpp
judoassistant/judoassistant
3b200d3e35d9aff16ba224e6071ee9d888a5a03c
[ "MIT" ]
null
null
null
#include "core/actions/change_draw_system_preference_identifier_action.hpp" #include "core/actions/change_draw_system_preference_limit_action.hpp" #include "ui/models/preferred_draw_systems_model.hpp" #include "ui/store_managers/store_manager.hpp" PreferredDrawSystemsModel::PreferredDrawSystemsModel(StoreManager &stor...
34.159292
136
0.683161
svendcsvendsen
19a0ad22386a642f275d2162f242effabe52ccd4
6,348
hpp
C++
emulador/src/common/nullpo.hpp
dattebayoonline/Dattebayo
09526566f63e76b9a5ce80f1f4e3d1918e26cf01
[ "DOC", "OLDAP-2.2.1" ]
1
2022-03-24T17:24:12.000Z
2022-03-24T17:24:12.000Z
emulador/src/common/nullpo.hpp
eluvju/Dattebayo
cc0fc92d8827f4890a8595bc3be0a71ef98767c1
[ "DOC" ]
null
null
null
emulador/src/common/nullpo.hpp
eluvju/Dattebayo
cc0fc92d8827f4890a8595bc3be0a71ef98767c1
[ "DOC" ]
null
null
null
// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef NULLPO_HPP #define NULLPO_HPP #include "cbasetypes.hpp" #define NLP_MARK __FILE__, __LINE__, __func__ // enabled by default on debug builds #if defined(DEBUG) && !defined(NULLPO_CHECK) #define...
30.085308
91
0.677221
dattebayoonline
19a133af76a8be3020aee1042c49c8cf79eb7377
1,910
cpp
C++
SDL2_Wrapper/Scene.cpp
andywm/Scenegraph-Demo
5d8a2904d36f4532aa4a0299b6d3e7a4812cae6d
[ "MIT" ]
null
null
null
SDL2_Wrapper/Scene.cpp
andywm/Scenegraph-Demo
5d8a2904d36f4532aa4a0299b6d3e7a4812cae6d
[ "MIT" ]
null
null
null
SDL2_Wrapper/Scene.cpp
andywm/Scenegraph-Demo
5d8a2904d36f4532aa4a0299b6d3e7a4812cae6d
[ "MIT" ]
null
null
null
#include <memory> #include <glm\glm.hpp> #include "Scene.h" namespace Render { namespace Scene { Scene::Scene() : mBackground(glm::vec4(0.5f,0.5f,0.5f, 1.0f)), mSceneRoot(new Graph::Group), mActiveCamera(0), mSpecialRenderMode(false), mShowStatistics(true) {} std::shared_ptr<Environment::Obj...
21.222222
69
0.64555
andywm
19a3dae7254989be5bda7fc77f7a9defd854d5d7
3,838
cpp
C++
src/test/cpp/ut/scheduler/SchedulerTest.cpp
lizhanhui/rocketmq-client-cpp
d2001836e40d4f1da29ae7b2848fdfe0077ed1bf
[ "Apache-2.0" ]
null
null
null
src/test/cpp/ut/scheduler/SchedulerTest.cpp
lizhanhui/rocketmq-client-cpp
d2001836e40d4f1da29ae7b2848fdfe0077ed1bf
[ "Apache-2.0" ]
null
null
null
src/test/cpp/ut/scheduler/SchedulerTest.cpp
lizhanhui/rocketmq-client-cpp
d2001836e40d4f1da29ae7b2848fdfe0077ed1bf
[ "Apache-2.0" ]
1
2021-09-16T06:31:07.000Z
2021-09-16T06:31:07.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
25.758389
120
0.684732
lizhanhui
19a5c7d22c19460571307732caeae47104e7551a
21,323
hpp
C++
gdfast/src/sparse_grid_dynamic.hpp
maartenbreddels/mab
112dcfbc4a74b07aff13d489b3776bca58fe9bdf
[ "MIT" ]
1
2018-12-01T04:10:34.000Z
2018-12-01T04:10:34.000Z
gdfast/src/sparse_grid_dynamic.hpp
maartenbreddels/mab
112dcfbc4a74b07aff13d489b3776bca58fe9bdf
[ "MIT" ]
null
null
null
gdfast/src/sparse_grid_dynamic.hpp
maartenbreddels/mab
112dcfbc4a74b07aff13d489b3776bca58fe9bdf
[ "MIT" ]
null
null
null
#include <stdio.h> #include <cmath> #include <assert.h> #undef SG_DEBUG class BasisTriangular {// : public BasisSet { public: BasisTriangular() {} int count(int level) { return level; } double center(int level, int i) { return 1./(level-1) * i; } bool inrange(int level, int i, double x) { return true; } ...
25.056404
150
0.518126
maartenbreddels
19a72e251ec8eb364caa14debb9fbbcd17979621
2,155
cpp
C++
Capilto_2/client_proj/client/source/main.cpp
dedogames/Curso_de_BoostAsio
3e9d9eb14136ef2f07c2d99ca476211c280f3f0a
[ "MIT" ]
2
2020-09-15T18:56:27.000Z
2021-01-06T23:45:20.000Z
Capilto_2/client_proj/client/source/main.cpp
dedogames/Curso_de_BoostAsio
3e9d9eb14136ef2f07c2d99ca476211c280f3f0a
[ "MIT" ]
null
null
null
Capilto_2/client_proj/client/source/main.cpp
dedogames/Curso_de_BoostAsio
3e9d9eb14136ef2f07c2d99ca476211c280f3f0a
[ "MIT" ]
null
null
null
// // main.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~ // // Developer: Gelson Rodrigues // geoldery@gmail.com // // Very simple client // // Basically , this app connects to a server // and print on screen one trade #include <boost/asio.hpp> #include <iostream> using namespace boost; std::string name; class Server { public:...
18.903509
87
0.642227
dedogames
19aaaf0ece5c8cb08b45bf48b8852e0db203c6c0
3,936
hpp
C++
packages/utility/core/src/Utility_ComparisonTraitsHelpers.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
10
2019-11-14T19:58:30.000Z
2021-04-04T17:44:09.000Z
packages/utility/core/src/Utility_ComparisonTraitsHelpers.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
43
2020-03-03T19:59:20.000Z
2021-09-08T03:36:08.000Z
packages/utility/core/src/Utility_ComparisonTraitsHelpers.hpp
bam241/FRENSIE
e1760cd792928699c84f2bdce70ff54228e88094
[ "BSD-3-Clause" ]
6
2020-02-12T17:37:07.000Z
2020-09-08T18:59:51.000Z
//---------------------------------------------------------------------------// //! //! \file Utility_ComparisonTraitsHelpers.hpp //! \author Alex Robinson //! \brief The comparison traits helper methods/classes declarations //! //---------------------------------------------------------------------------// #ifndef...
34.831858
147
0.573933
bam241
19acbd99e072306c1706abf3043d4c88e4415f1f
1,080
cpp
C++
gfx/gfx_colour_effect.cpp
astrellon/Rouge
088f55b331284238e807e0562b9cbbed6428c20f
[ "MIT" ]
null
null
null
gfx/gfx_colour_effect.cpp
astrellon/Rouge
088f55b331284238e807e0562b9cbbed6428c20f
[ "MIT" ]
null
null
null
gfx/gfx_colour_effect.cpp
astrellon/Rouge
088f55b331284238e807e0562b9cbbed6428c20f
[ "MIT" ]
null
null
null
#include "gfx_colour_effect.h" #include "gfx_renderable.h" namespace am { namespace gfx { ColourEffect::ColourEffect() : Effect() { } ColourEffect::ColourEffect(float effectLength, const util::Colour &startColour, const util::Colour &endColour) : Effect(effectLength), mStartColour(startColour), mEndColou...
17.419355
113
0.710185
astrellon
30acfc5732e2e6bf1a8b810d04d5b6f5b81fb09c
873
cpp
C++
spike/readBytes.cpp
Skalwalker/JVM
ac71e17cd224b5dee7ae421edc78ea1d186bdecf
[ "MIT" ]
1
2020-10-15T07:30:56.000Z
2020-10-15T07:30:56.000Z
spike/readBytes.cpp
Skalwalker/JVM
ac71e17cd224b5dee7ae421edc78ea1d186bdecf
[ "MIT" ]
27
2019-10-14T13:27:20.000Z
2019-12-04T19:43:32.000Z
spike/readBytes.cpp
Skalwalker/JVM
ac71e17cd224b5dee7ae421edc78ea1d186bdecf
[ "MIT" ]
null
null
null
#include <fstream> #include <cstdint> #include <iostream> using namespace std; template<typename T> T littleEndianToBigendian(T val) {} template <> uint16_t littleEndianToBigendian<uint16_t>(uint16_t val) { return (val << 8) | (val >> 8); } template <> uint32_t littleEndianToBigendian<uint32_t>(uint32_t val) { ...
21.292683
62
0.631157
Skalwalker
30ad224bb6533eed14a0295a15c4805d39723d48
212
cpp
C++
Codechef add two nos.cpp
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
Codechef add two nos.cpp
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
Codechef add two nos.cpp
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int main() { long long int T,A,B; cin>>T; while (T--){ cin>>A; cin>>B; cout<<A+B<<"\n"; } return 0; }
16.307692
28
0.40566
zoya-0509
30b049187e19c071dafd49c1186a184009f8f368
4,588
cpp
C++
src/GLDebug.cpp
dariost/arpeggio
cdd5a8f811f91b4735f74afac72a728320af15f6
[ "Apache-2.0" ]
1
2020-07-09T08:35:16.000Z
2020-07-09T08:35:16.000Z
src/GLDebug.cpp
dariost/arpeggio
cdd5a8f811f91b4735f74afac72a728320af15f6
[ "Apache-2.0" ]
null
null
null
src/GLDebug.cpp
dariost/arpeggio
cdd5a8f811f91b4735f74afac72a728320af15f6
[ "Apache-2.0" ]
null
null
null
/* * Copyright © [2016; 2017] | Dario Ostuni <dario.ostuni@gmail.com> * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file ...
38.881356
106
0.686574
dariost
30b4503b472fd0207c4bb53fa64bdc0fdbaa700b
4,602
cpp
C++
sta-src/Astro-Core/propagateTHREEbody.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
6
2018-09-05T12:41:59.000Z
2021-07-01T05:34:23.000Z
sta-src/Astro-Core/propagateTHREEbody.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-02-07T19:09:21.000Z
2015-08-14T03:15:42.000Z
sta-src/Astro-Core/propagateTHREEbody.cpp
hoehnp/SpaceDesignTool
9abd34048274b2ce9dbbb685124177b02d6a34ca
[ "IJG" ]
2
2015-03-25T15:50:31.000Z
2017-12-06T12:16:47.000Z
/* This program is free software; you can redistribute it and/or modify it under the terms of the European Union Public Licence - EUPL v.1.1 as published by the European Commission. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of...
38.672269
165
0.538896
hoehnp
30b501048b7b0cd47fa3324c0d6a7690482e8eda
1,172
cpp
C++
Simplify Path.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
2
2020-06-25T12:46:13.000Z
2021-07-06T06:34:33.000Z
Simplify Path.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
null
null
null
Simplify Path.cpp
durgirajesh/Leetcode
18b11cd90e8a5ce33f4029d5b7edf9502273bc76
[ "MIT" ]
null
null
null
class Solution { public: string simplifyPath(string path) { int l=path.length(); stack<string> vec; string res; res.append("/"); for(int i=0;i<l;i++){ string str; while(path[i]=='/'){ i++; } ...
22.538462
51
0.294369
durgirajesh
30b69bb0e2c50e95d9b57361acd7e544a8159f57
4,800
cpp
C++
Assignments/Ray-Tracing/src/SceneFile.cpp
prince-chrismc/Computer-Graphics
6901c8dbe66fce5e1500bab3c1e0dd290eb9e160
[ "MIT" ]
null
null
null
Assignments/Ray-Tracing/src/SceneFile.cpp
prince-chrismc/Computer-Graphics
6901c8dbe66fce5e1500bab3c1e0dd290eb9e160
[ "MIT" ]
19
2017-09-21T14:15:48.000Z
2018-11-05T17:15:32.000Z
Assignments/Ray-Tracing/src/SceneFile.cpp
prince-chrismc/Computer-Graphics
6901c8dbe66fce5e1500bab3c1e0dd290eb9e160
[ "MIT" ]
1
2018-11-15T20:38:39.000Z
2018-11-15T20:38:39.000Z
/* MIT License Copyright (c) 2017 Chris McArthur, prince.chrismc(at)gmail(dot)com 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 u...
31.372549
119
0.658125
prince-chrismc
30bc0cd47f5729667ed63a1a3a46985ffad228b9
2,001
cpp
C++
dev/path.cpp
depp/terrestrial-collection-machine
54b4f2906bd733d2f5b62622cfcbb7508674bc98
[ "MIT" ]
null
null
null
dev/path.cpp
depp/terrestrial-collection-machine
54b4f2906bd733d2f5b62622cfcbb7508674bc98
[ "MIT" ]
null
null
null
dev/path.cpp
depp/terrestrial-collection-machine
54b4f2906bd733d2f5b62622cfcbb7508674bc98
[ "MIT" ]
null
null
null
// path.cpp - Path utilities. #include "dev/path.hpp" #include "dev/log.hpp" #include <algorithm> #include <cstdlib> #include <dirent.h> #include <errno.h> #include <sys/stat.h> namespace tcm { PathTemplate::PathTemplate(std::string dir, std::string prefix, std::string suffix) : did_...
23.821429
71
0.510245
depp
30be0ac22e9980e75f716c650f65ac75a19b8e74
7,223
cpp
C++
lib/circular_buffer.cpp
guruofquality/gras
a93956bfc9884f9a1c53a16e12cd7e7cd86584c4
[ "BSL-1.0" ]
9
2015-07-24T15:10:14.000Z
2021-11-08T13:18:20.000Z
lib/circular_buffer.cpp
guruofquality/gras
a93956bfc9884f9a1c53a16e12cd7e7cd86584c4
[ "BSL-1.0" ]
3
2015-02-02T01:57:26.000Z
2018-07-20T04:52:09.000Z
lib/circular_buffer.cpp
guruofquality/gras
a93956bfc9884f9a1c53a16e12cd7e7cd86584c4
[ "BSL-1.0" ]
4
2015-01-12T23:12:49.000Z
2021-09-23T18:10:58.000Z
// Copyright (C) by Josh Blum. See LICENSE.txt for licensing information. #include <gras/buffer_queue.hpp> #include <gras_impl/debug.hpp> #include <boost/format.hpp> #include <boost/bind.hpp> #include <boost/interprocess/shared_memory_object.hpp> #include <boost/interprocess/anonymous_shared_memory.hpp> #include <boos...
34.232227
103
0.574969
guruofquality
30bebef1f2f540bb004eb6ee58aefd9d795f8434
13,149
cpp
C++
shell/ext/dsui/dsquery/qf_dmctl.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
shell/ext/dsui/dsquery/qf_dmctl.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
shell/ext/dsui/dsquery/qf_dmctl.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "pch.h" #pragma hdrstop #include "atlbase.h" extern CComModule _Module; #include "atlcom.h" #include <ntdsapi.h> #include <string> #include <set> #include "enumNCs.hpp" using namespace std; /*----------------------------------------------------------------------------- / Local functions / data...
29.090708
120
0.538444
npocmaka
30c54f0e0d93780f939d237b0eeb7a2547864237
1,710
cpp
C++
src/kriti/render/TextureContext.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
2
2015-10-05T19:33:19.000Z
2015-12-08T08:39:17.000Z
src/kriti/render/TextureContext.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
1
2017-04-30T16:26:08.000Z
2017-05-01T03:00:42.000Z
src/kriti/render/TextureContext.cpp
etherealvisage/kriti
6397c4d20331d9f5ce07460df08bbac9653ffa8b
[ "BSD-3-Clause" ]
null
null
null
#include "../ogl.h" #include "TextureContext.h" #include "Texture.h" #include "ErrorTracker.h" #include "../MessageSystem.h" namespace Kriti { namespace Render { TextureContext::TextureContext() { ErrorTracker::trackFrom("Texture context constructor (before all)"); GLint count; gl::GetIntegerv(gl::MAX_C...
27.142857
79
0.629825
etherealvisage
30c651104996d3170dd9378b0eebcb90656fe273
1,688
hpp
C++
ccec/include/ccec/Operand.hpp
rdkcmf/rdk-hdmicec
a46b0f30031344c8d2dcdfe1b82c543d885c8394
[ "Apache-2.0" ]
1
2018-09-04T05:48:09.000Z
2018-09-04T05:48:09.000Z
ccec/include/ccec/Operand.hpp
rdkcmf/rdk-hdmicec
a46b0f30031344c8d2dcdfe1b82c543d885c8394
[ "Apache-2.0" ]
null
null
null
ccec/include/ccec/Operand.hpp
rdkcmf/rdk-hdmicec
a46b0f30031344c8d2dcdfe1b82c543d885c8394
[ "Apache-2.0" ]
1
2018-08-16T20:46:53.000Z
2018-08-16T20:46:53.000Z
/* * If not stated otherwise in this file or this component's Licenses.txt file the * following copyright and licenses apply: * * Copyright 2016 RDK Management * * 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 ...
20.839506
85
0.672393
rdkcmf
30c7a67f6c1a892da13fe734de6313beb2f54544
10,314
cpp
C++
src/uFldFlagManagerAgent/FlagManager_Info.cpp
Joe-Doyle/moos-ivp-agent
164d590808bcac6242dd22d1f25aa4248f7d9c2d
[ "MIT" ]
1
2021-11-22T00:20:18.000Z
2021-11-22T00:20:18.000Z
src/uFldFlagManagerAgent/FlagManager_Info.cpp
Joe-Doyle/moos-ivp-agent
164d590808bcac6242dd22d1f25aa4248f7d9c2d
[ "MIT" ]
15
2021-08-09T05:38:26.000Z
2021-11-11T17:16:48.000Z
src/uFldFlagManagerAgent/FlagManager_Info.cpp
Joe-Doyle/moos-ivp-agent
164d590808bcac6242dd22d1f25aa4248f7d9c2d
[ "MIT" ]
3
2021-08-09T23:55:51.000Z
2021-11-11T01:29:37.000Z
/************************************************************/ /* NAME: Mike Benjamin */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: FlagManager.h */ /* DATE: August 18th, 2015 */ /****...
56.983425
74
0.32897
Joe-Doyle
30c918cc834e7604fe31ea9145a66f80d9162473
1,162
cpp
C++
clang/test/Refactor/Rename/rename-initiate.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
793
2015-12-03T16:45:26.000Z
2022-02-12T20:14:20.000Z
clang/test/Refactor/Rename/rename-initiate.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
clang/test/Refactor/Rename/rename-initiate.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
// Note: the run lines follow their respective tests, since line/column // matter in this test class Test { // CHECK: rename [[@LINE]]:7 -> [[@LINE]]:11 public: Test() { } // CHECK: rename [[@LINE]]:3 -> [[@LINE]]:7 ~Test() { } // CHECK: rename [[@LINE]]:4 -> [[@LINE]]:8 void doSomething() { return; } };...
41.5
124
0.650602
medismailben