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
36108101864ac34d81ba74b20544631749d40515
4,059
cpp
C++
cpp/chinesePostman/chinesePostman.cpp
indy256/codelibrary-sandbox
fd49b2de1cf578084f222a087a472f0760a4fa4d
[ "Unlicense" ]
6
2018-04-20T22:58:22.000Z
2021-03-25T13:09:57.000Z
cpp/chinesePostman/chinesePostman.cpp
indy256/codelibrary-sandbox
fd49b2de1cf578084f222a087a472f0760a4fa4d
[ "Unlicense" ]
null
null
null
cpp/chinesePostman/chinesePostman.cpp
indy256/codelibrary-sandbox
fd49b2de1cf578084f222a087a472f0760a4fa4d
[ "Unlicense" ]
2
2018-06-05T18:30:17.000Z
2018-11-14T16:56:19.000Z
#include <cmath> #include <string> #include <vector> #include <map> #include <set> #include <cstring> #include <iostream> #include <cstdio> #include <cmath> #include <algorithm> #include <utility> #include <queue> #include <functional> #include <cstdlib> #include <climits> #include <sstream> #include <c...
27.80137
91
0.476472
indy256
361562e0e8986078bfb3d2ab5006396b2e907940
279
cpp
C++
src/Z/Z119.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Z/Z119.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
src/Z/Z119.cpp
wlhcode/lscct
7fd112a9d1851ddcf41886d3084381a52e84a3ce
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> #define ll long long using namespace std; int main(){ ios::sync_with_stdio(false); cin.tie(0); long double c,d,e,f,g; cin>>c>>d>>e>>f>>g; cout<<setprecision(0)<<fixed<<(0.75+0.25*(c+d+e+f+g))*(2000*c+2500*d+3000*e+3500*f+4000*g)<<endl; return 0; }
21.461538
98
0.637993
wlhcode
36182b2be400f2c21efb859ed5c4b448c3cd8acb
5,551
cpp
C++
src/utils.cpp
typcn/LeanClub
a10b8adc927e7977ac89fe09223d34d7a7a6ac33
[ "MIT" ]
263
2015-05-07T16:26:18.000Z
2022-03-14T13:34:25.000Z
src/utils.cpp
UnreliableBuilder/C-LeanClub
a10b8adc927e7977ac89fe09223d34d7a7a6ac33
[ "MIT" ]
16
2015-05-28T10:53:24.000Z
2016-01-27T08:54:30.000Z
src/utils.cpp
UnreliableBuilder/C-LeanClub
a10b8adc927e7977ac89fe09223d34d7a7a6ac33
[ "MIT" ]
61
2015-05-21T07:51:08.000Z
2022-01-28T11:52:42.000Z
// // utils.cpp // leanclub // // Created by TYPCN on 2015/5/1. // // #include "utils.h" #include "config.h" #include "restclient/restclient.h" #include "oauth/md5.h" #include "redis3m/include/redis3m/redis3m.hpp" #include <fstream> #include <boost/filesystem.hpp> #include <boost/thread/thread.hpp> #include <boos...
30.168478
163
0.615925
typcn
361c596d6d29a03461adeb08507ad930003bf0c4
2,729
hpp
C++
source/modus_core/scene/SceneTree.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/scene/SceneTree.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
source/modus_core/scene/SceneTree.hpp
Gurman8r/modus
5c97a89f77c1c5733793dddc20c5ce4afe1fd134
[ "MIT" ]
null
null
null
#ifndef _ML_SCENE_TREE_HPP_ #define _ML_SCENE_TREE_HPP_ #include <modus_core/detail/Duration.hpp> #include <modus_core/detail/Matrix.hpp> #include <modus_core/scene/Node.hpp> #include <modus_core/system/EventSystem.hpp> #include <entt/entt.hpp> namespace ml { struct entity; struct ML_CORE_API scene_tree : non_copy...
26.495146
88
0.532063
Gurman8r
361ec44caafd0e83f64d1e20577f767f9476eeab
1,249
cxx
C++
Applications/ColadaApp/StylePlugins/qColadaStylePlugin.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
Applications/ColadaApp/StylePlugins/qColadaStylePlugin.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
Applications/ColadaApp/StylePlugins/qColadaStylePlugin.cxx
TierraColada/Colada
c9d7ca30bfb5ec523722b35921c1e9e6a11a7914
[ "MIT" ]
null
null
null
// Colada includes #include "qColadaStylePlugin.h" #include "qColadaStyle.h" #include "qColadaDarkStyle.h" #include "qColadaLightStyle.h" // Qt includes #include <QStringList> #include <QStyle> // -------------------------------------------------------------------------- // qColadaStylePlugin methods //------------...
27.755556
79
0.472378
TierraColada
36215f8da755f7b074b410a6aa1ec73d18ffeef9
1,946
cc
C++
routines/test/latms.cc
luiscarbonell/nlapack
99d17f92f8f9bada17a89f72e8cc55486d848102
[ "MIT" ]
1
2019-05-24T21:31:59.000Z
2019-05-24T21:31:59.000Z
routines/test/latms.cc
luiscarbonell/nlapack
99d17f92f8f9bada17a89f72e8cc55486d848102
[ "MIT" ]
null
null
null
routines/test/latms.cc
luiscarbonell/nlapack
99d17f92f8f9bada17a89f72e8cc55486d848102
[ "MIT" ]
null
null
null
#include "routines.h" void dlatms(const v8::FunctionCallbackInfo<v8::Value>& info) { lapack_int m = info[0]->Uint32Value(); lapack_int n = info[1]->Uint32Value(); char dist = info[2]->Uint32Value(); lapack_int *iseed = reinterpret_cast<lapack_int*>(GET_CONTENTS(info[3].As<v8::Int32Array>())); char sym = info[4]...
40.541667
116
0.690647
luiscarbonell
362923b666a155565d1ac1073f28e047f628ff76
729
cpp
C++
class/friend_2clases.cpp
AAI1234S/cpp
b0037406694712e647ad55c01f5d73764e5a54b3
[ "MIT" ]
null
null
null
class/friend_2clases.cpp
AAI1234S/cpp
b0037406694712e647ad55c01f5d73764e5a54b3
[ "MIT" ]
null
null
null
class/friend_2clases.cpp
AAI1234S/cpp
b0037406694712e647ad55c01f5d73764e5a54b3
[ "MIT" ]
null
null
null
#include<iostream> class NUM2; //class forward declaration class NUM1 { int num1; public: void add_data() { std::cout<<"Enter the num:"<<std::endl; std::cin>>num1; } private: friend void sum(NUM1 , NUM2); //friend function declration to communicate with another class }; class NUM2 { int num2; public:...
15.510638
96
0.654321
AAI1234S
3629ad56b2919990b6ddd86188e3f75626c2c7e8
659
hpp
C++
SDK/ARKSurvivalEvolved_E_EnforcerClimbingState_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_E_EnforcerClimbingState_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_E_EnforcerClimbingState_structs.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Basic.hpp" namespace sdk { //--------------------------------------------------------------------------- //Enums //--------------------------------------------------------------------------- ...
19.969697
77
0.611533
2bite
362a30c2e786ff27c2b5e78f710402d6ef090f93
1,437
hpp
C++
src/continuousfusion.hpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
25
2019-06-19T11:55:53.000Z
2022-02-28T07:56:38.000Z
src/continuousfusion.hpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
1
2020-11-17T06:46:26.000Z
2021-11-04T11:49:38.000Z
src/continuousfusion.hpp
jhultman/continuous-fusion
1df1cc1488965fd5f101d66d1ca916a430d1dfd6
[ "MIT" ]
4
2020-07-16T01:59:47.000Z
2022-02-28T06:41:14.000Z
#ifndef CONTINUOUSFUSION_HPP #define CONTINUOUSFUSION_HPP #include <vector> #include <sensor_msgs/Image.h> #include <pcl_ros/point_cloud.h> #include <pcl/point_types.h> #include <image_transport/image_transport.h> #include <message_filters/synchronizer.h> #include <message_filters/subscriber.h> #include <message_filte...
35.925
118
0.746695
jhultman
362d21123b1ecce9329dbbaf7bc42b566e924cbc
17,691
cpp
C++
01_Develop/libXMFFmpeg/Source/libavcodec/tiffenc.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2017-08-03T07:15:00.000Z
2018-06-18T10:32:53.000Z
01_Develop/libXMFFmpeg/Source/libavcodec/tiffenc.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
null
null
null
01_Develop/libXMFFmpeg/Source/libavcodec/tiffenc.cpp
mcodegeeks/OpenKODE-Framework
d4382d781da7f488a0e7667362a89e8e389468dd
[ "MIT" ]
2
2019-03-04T22:57:42.000Z
2020-03-06T01:32:26.000Z
/* * TIFF image encoder * Copyright (c) 2007 Bartlomiej Wolowiec * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License,...
33.56926
153
0.562602
mcodegeeks
1566dfe1662d7236050250c509af08ad25e2522f
863
cpp
C++
QtMario_Youtube-master/Mario_Updated/notebox.cpp
Rossterrrr/Qt
3e5c2934ce19675390d2ad6d513a14964d8cbe50
[ "MIT" ]
3
2019-09-02T05:17:08.000Z
2021-01-07T11:21:34.000Z
notebox.cpp
hadimousavi79/Super_Mario
89e0656de26b561d3713c6265c8a4f8695e25d9b
[ "MIT" ]
null
null
null
notebox.cpp
hadimousavi79/Super_Mario
89e0656de26b561d3713c6265c8a4f8695e25d9b
[ "MIT" ]
null
null
null
/* * Author: equati0n * Date: December 2016 */ #include "notebox.h" #include <QPainter> NoteBox::NoteBox(int length,QGraphicsItem *parent): QGraphicsItem(parent) ,mCurrentFrame(), mLength(length) { setFlag(ItemClipsToShape); mPixmap10 = QPixmap(":images/notebox.png"); } void NoteBox::nextFrame(){ ...
19.177778
97
0.658169
Rossterrrr
156adb3eac6c007bd195d54680eb056a2296f8a6
2,100
cpp
C++
source/src/algorithms.cpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
source/src/algorithms.cpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
source/src/algorithms.cpp
ndoxx/wcore
8b24519e9a01b0397ba2959507e1e12ea3a3aa44
[ "Apache-2.0" ]
null
null
null
#include "algorithms.h" #include "math3d.h" namespace wcore { namespace math { // Previous power of 2 of x uint32_t pp2(uint32_t x) { x |= x >> 1; x |= x >> 2; x |= x >> 4; x |= x >> 8; x |= x >> 16; return x - (x >> 1); } // Next power of 2 of x uint32_t np2(uint32_t x) { --x; x |= x...
26.25
91
0.547619
ndoxx
156af671e5fbe397cd16d620101b8b320fd176c4
23,409
cxx
C++
main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/bridges/source/cpp_uno/msvc_win64_x86-64/except.cxx
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...
35.254518
145
0.588235
Grosskopf
1571fa5458aec8ea81539c697fc84c17befef09d
905
cc
C++
cc/tree/connect.cc
pchengma/acm
8bbbfa68b56580fcf503fab5409dd4a34ef804f2
[ "Apache-2.0" ]
1
2021-05-22T04:39:31.000Z
2021-05-22T04:39:31.000Z
cc/tree/connect.cc
pchengma/acm
8bbbfa68b56580fcf503fab5409dd4a34ef804f2
[ "Apache-2.0" ]
null
null
null
cc/tree/connect.cc
pchengma/acm
8bbbfa68b56580fcf503fab5409dd4a34ef804f2
[ "Apache-2.0" ]
null
null
null
// LeetCode: 116. Populating Next Right Pointers in Each Node (Medium) /* // Definition for a Node. class Node { public: int val; Node* left; Node* right; Node* next; Node() : val(0), left(NULL), right(NULL), next(NULL) {} Node(int _val) : val(_val), left(NULL), right(NULL), next(NULL) {} ...
23.815789
70
0.493923
pchengma
1576593238b3b2d7ecb2ff63a73d6d615b0b7b2a
2,240
cxx
C++
python/kwiver/vital/types/track.cxx
mwoehlke-kitware/kwiver
614a488bd2b7fe551ac75eec979766d882709791
[ "BSD-3-Clause" ]
176
2015-07-31T23:33:37.000Z
2022-03-21T23:42:44.000Z
python/kwiver/vital/types/track.cxx
mwoehlke-kitware/kwiver
614a488bd2b7fe551ac75eec979766d882709791
[ "BSD-3-Clause" ]
1,276
2015-05-03T01:21:27.000Z
2022-03-31T15:32:20.000Z
python/kwiver/vital/types/track.cxx
mwoehlke-kitware/kwiver
614a488bd2b7fe551ac75eec979766d882709791
[ "BSD-3-Clause" ]
85
2015-01-25T05:13:38.000Z
2022-01-14T14:59:37.000Z
// This file is part of KWIVER, and is distributed under the // OSI-approved BSD 3-Clause License. See top-level LICENSE file or // https://github.com/Kitware/kwiver/blob/master/LICENSE for details. #include <vital/types/track.h> #include <pybind11/operators.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h>...
32
104
0.679464
mwoehlke-kitware
15784a63fedae043b1001697730c2da316722d26
2,549
cpp
C++
include/lookup.cpp
jermp/sshash
480f1da593e4550422ce8ead6540b24485897641
[ "MIT" ]
44
2022-01-13T18:53:51.000Z
2022-03-03T12:38:16.000Z
include/lookup.cpp
jermp/sshash
480f1da593e4550422ce8ead6540b24485897641
[ "MIT" ]
2
2022-01-19T22:48:36.000Z
2022-03-10T14:32:57.000Z
include/lookup.cpp
jermp/sshash
480f1da593e4550422ce8ead6540b24485897641
[ "MIT" ]
2
2022-01-14T13:35:14.000Z
2022-03-03T12:38:19.000Z
#pragma once namespace sshash { uint64_t dictionary::lookup_uint64_regular_parsing(uint64_t uint64_kmer) const { uint64_t minimizer = util::compute_minimizer(uint64_kmer, m_k, m_m, m_seed); uint64_t bucket_id = m_minimizers.lookup(minimizer); if (m_skew_index.empty()) return m_buckets.lookup(bucket_id, u...
45.517857
98
0.717144
jermp
1578c32fefb79e85a0c5c7168be7b33053392c90
731
cpp
C++
src/YesNoAskerDialog.cpp
timre13/list-maker
ebedbfcefa626af98f746c16fd46f6dafa81d70b
[ "BSD-2-Clause" ]
null
null
null
src/YesNoAskerDialog.cpp
timre13/list-maker
ebedbfcefa626af98f746c16fd46f6dafa81d70b
[ "BSD-2-Clause" ]
null
null
null
src/YesNoAskerDialog.cpp
timre13/list-maker
ebedbfcefa626af98f746c16fd46f6dafa81d70b
[ "BSD-2-Clause" ]
null
null
null
#include "YesNoAskerDialog.h" YesNoAskerDialog::YesNoAskerDialog(const Glib::ustring &question, Gtk::ResponseType defaultButton/*=Gtk::ResponseType::RESPONSE_YES*/) : m_textLabel{std::make_unique<Gtk::Label>()} { get_vbox()->add(*m_textLabel); m_textLabel->set_text(question); add_button("Yes", Gtk::R...
31.782609
134
0.737346
timre13
157978a127f42892396c050c73c757c334608391
11,926
cpp
C++
Qt-GL-Simple-Scene-master/libgizmo/save/GizmoTransformRenderDX9.cpp
nacsa/Retopology
03c009462db3d73dbb73ea543952d421ecc1416e
[ "Apache-2.0" ]
107
2015-04-24T08:09:32.000Z
2022-02-21T16:57:18.000Z
Qt-GL-Simple-Scene-master/libgizmo/save/GizmoTransformRenderDX9.cpp
nacsa/Retopology
03c009462db3d73dbb73ea543952d421ecc1416e
[ "Apache-2.0" ]
1
2019-04-24T07:44:27.000Z
2019-05-14T09:18:53.000Z
Qt-GL-Simple-Scene-master/libgizmo/save/GizmoTransformRenderDX9.cpp
nacsa/Retopology
03c009462db3d73dbb73ea543952d421ecc1416e
[ "Apache-2.0" ]
34
2015-03-15T14:50:12.000Z
2022-01-23T07:18:05.000Z
/////////////////////////////////////////////////////////////////////////////////////////////////// // Zenith Engine // File Name : GizmoTransform.h // Creation : 12/07/2007 // Author : Cedric Guillemet // Description : // ////////////////////////////////////////////////////////////////////////////////////////////////...
34.368876
165
0.633909
nacsa
1579fe0fefe2671a307901bd63be785d42e902e0
18,664
cpp
C++
src/ui/qt5/mainwindow.cpp
chenyvehtung/Agenda
9e35c67b692bfcc9c4af31a5a4d43ba97e6f0f7a
[ "MIT" ]
3
2016-10-20T08:19:45.000Z
2017-06-18T04:34:53.000Z
src/ui/qt5/mainwindow.cpp
donydchen/Agenda
9e35c67b692bfcc9c4af31a5a4d43ba97e6f0f7a
[ "MIT" ]
null
null
null
src/ui/qt5/mainwindow.cpp
donydchen/Agenda
9e35c67b692bfcc9c4af31a5a4d43ba97e6f0f7a
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" #include "loginwindow.h" #include <QMessageBox> #include <QStandardItemModel> #include <Qt> #include <QAction> #include <QIcon> using std::string; using std::list; MainWindow::MainWindow(QWidget *parent) : ui(new Ui::MainWindow), QMainWindow(parent) { ui->set...
35.686424
140
0.635502
chenyvehtung
157a2b6659db6262f316bce087c4dc65ac464e90
107
cpp
C++
SerPrunesALot/SerPrunesALot/Move.cpp
DennisSoemers/SerPrunesALot
34f0277fec58cf1f837df8f31ed14c62a945811c
[ "MIT" ]
null
null
null
SerPrunesALot/SerPrunesALot/Move.cpp
DennisSoemers/SerPrunesALot
34f0277fec58cf1f837df8f31ed14c62a945811c
[ "MIT" ]
null
null
null
SerPrunesALot/SerPrunesALot/Move.cpp
DennisSoemers/SerPrunesALot
34f0277fec58cf1f837df8f31ed14c62a945811c
[ "MIT" ]
null
null
null
#include "Move.h" Move::Move(int from, int to, bool captured) : from(from), to(to), captured(captured) {}
21.4
43
0.672897
DennisSoemers
157d5b03d796cd7fa1e41784e4274ff88acedb5b
4,954
cpp
C++
src/Sense.cpp
danielkaldheim/sense-library
25e2786618d0ed5171d283e66e4bad25a2295570
[ "MIT" ]
null
null
null
src/Sense.cpp
danielkaldheim/sense-library
25e2786618d0ed5171d283e66e4bad25a2295570
[ "MIT" ]
null
null
null
src/Sense.cpp
danielkaldheim/sense-library
25e2786618d0ed5171d283e66e4bad25a2295570
[ "MIT" ]
null
null
null
#include "Sense.h" Preferences preferences; Sense::~Sense() { // preferences.end(); } Sense::Sense() { preferences.begin(PREFERENCES_KEY, false); } bool Sense::begin(void) { preferences.begin(PREFERENCES_KEY, false); return true; } String Sense::getChipName() { uint64_t chipid = ESP.getEfuseMac...
18.69434
69
0.690553
danielkaldheim
157d5dd525cb3f4b5f98390236e2a121add34777
685
cc
C++
P9 Data Structure (tuples)/P84786.cc
miquelt9/Problemes-PRO1
1bd5214ce75129e9a027728b93ad8354ec993e41
[ "Apache-2.0" ]
2
2021-09-01T10:52:32.000Z
2021-11-09T09:19:57.000Z
P9 Data Structure (tuples)/P84786.cc
miquelt9/Problemes-PRO1
1bd5214ce75129e9a027728b93ad8354ec993e41
[ "Apache-2.0" ]
null
null
null
P9 Data Structure (tuples)/P84786.cc
miquelt9/Problemes-PRO1
1bd5214ce75129e9a027728b93ad8354ec993e41
[ "Apache-2.0" ]
1
2021-09-24T20:00:41.000Z
2021-09-24T20:00:41.000Z
#include <typeinfo> #include <iostream> #include <string> #include <cmath> using namespace std; struct Punt { double x, y; }; struct Cercle { Punt centre; double radi; }; double distancia(const Punt& a, const Punt& b){ double x = abs(a.x - b.x); double y = abs(a.y - b.y); double dist = sqrt(pow(x, 2) + ...
17.564103
50
0.620438
miquelt9
157dedc0ab16822309615dede51157455c5f3fd2
11,995
cc
C++
src/iocontrollers/pcie_controller.cc
werneazc/mcpat
fcd4d650709423f24bdad8d3cc302001e10e1f7d
[ "Intel" ]
1
2020-05-25T00:34:01.000Z
2020-05-25T00:34:01.000Z
src/iocontrollers/pcie_controller.cc
werneazc/mcpat
fcd4d650709423f24bdad8d3cc302001e10e1f7d
[ "Intel" ]
15
2020-05-24T23:33:03.000Z
2020-06-24T17:54:59.000Z
src/iocontrollers/pcie_controller.cc
werneazc/mcpat
fcd4d650709423f24bdad8d3cc302001e10e1f7d
[ "Intel" ]
2
2021-01-26T02:02:27.000Z
2021-03-07T12:24:56.000Z
/***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * All Rights Reserved * * Redistribution and use in...
36.681957
85
0.647853
werneazc
15819bd3a1465c23d9bef99abfece6f69e9ebb11
883
cpp
C++
src/Router/lookup_service/src/thread_safe_map.cpp
JungyeonYoon/MicroSuite
acc75468a3568bb9504841978b887a337eba889c
[ "BSD-3-Clause" ]
12
2019-03-06T13:17:50.000Z
2022-02-20T21:27:25.000Z
src/Router/lookup_service/src/thread_safe_map.cpp
DCchico/MicroSuite
b8651e0f5b74461393140135b917243a2e853f3d
[ "BSD-3-Clause" ]
null
null
null
src/Router/lookup_service/src/thread_safe_map.cpp
DCchico/MicroSuite
b8651e0f5b74461393140135b917243a2e853f3d
[ "BSD-3-Clause" ]
3
2019-06-08T01:46:55.000Z
2020-05-18T01:40:38.000Z
#include <iostream> #include <mutex> // For std::unique_lock #include <shared_mutex> #include <thread> #include <map> class ThreadSafeMap { public: ThreadSafeMap() = default; // Multiple threads/readers can read the counter's value at the same time. std::string Get(std::string key) { ...
26.757576
82
0.554926
JungyeonYoon
158491f40e7d49938c0f5e062c97a940eeea8edc
4,012
cc
C++
source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc
recogni/blender
af830498016c01c4847f00b51246bc8e3c88f6f6
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-01-30T01:03:05.000Z
2020-01-30T01:03:05.000Z
source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc
recogni/blender
af830498016c01c4847f00b51246bc8e3c88f6f6
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc
recogni/blender
af830498016c01c4847f00b51246bc8e3c88f6f6
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
/* * 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; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
38.576923
99
0.725075
recogni
1587e46ebf7719f8a1f74a1dbc9321fbf6956610
2,198
cpp
C++
2D Arrays/sum_of_matrix_Q_queries.cpp
jahnvisrivastava100/CompetitiveProgrammingQuestionBank
0d72884ea5e0eb674a503b81ab65e444f5175cf4
[ "MIT" ]
931
2020-04-18T11:57:30.000Z
2022-03-31T15:15:39.000Z
2D Arrays/sum_of_matrix_Q_queries.cpp
jahnvisrivastava100/CompetitiveProgrammingQuestionBank
0d72884ea5e0eb674a503b81ab65e444f5175cf4
[ "MIT" ]
661
2020-12-13T04:31:48.000Z
2022-03-15T19:11:54.000Z
2D Arrays/sum_of_matrix_Q_queries.cpp
Mayuri-cell/CompetitiveProgrammingQuestionBank
eca2257d7da5346f45bdd7a351cc95bde6ed5c7d
[ "MIT" ]
351
2020-08-10T06:49:21.000Z
2022-03-25T04:02:12.000Z
// Problem - Print the sum of all submatrices of the given matrix for Q queries. // The coordinates (start and end index) of the submatrix is given as queries // the problem is to find the sum of those submatrices for given queries. // Sample Input - 1 // 3 3 // 1 1 1 // 1 1 1 // 1 1 1 // ...
18.165289
89
0.515469
jahnvisrivastava100
1588b394cb476cd9ee8462097d55ec36dd58ce9a
36,871
cpp
C++
private/shell/ext/netplwiz/ulistpg.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/shell/ext/netplwiz/ulistpg.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/shell/ext/netplwiz/ulistpg.cpp
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
/******************************************************** ulistpg.cpp User Manager user list property page History: 09/23/98: dsheldon created ********************************************************/ #include "stdafx.h" #include "resource.h" #include "ulistpg.h" #include "data.h" #include "unpa...
30.674709
157
0.613545
King0987654
1588e031341e4144b6340032e689b3f0fcaffa72
2,157
cpp
C++
src/Serialization/Serialize.cpp
mishazharov/caffeine
a1a8ad5bd2d69b5378d71d15ddec4658ea34f057
[ "MIT" ]
17
2021-03-04T01:10:22.000Z
2022-03-30T18:33:14.000Z
src/Serialization/Serialize.cpp
mishazharov/caffeine
a1a8ad5bd2d69b5378d71d15ddec4658ea34f057
[ "MIT" ]
320
2020-11-16T02:42:50.000Z
2022-03-31T16:43:26.000Z
src/Serialization/Serialize.cpp
mishazharov/caffeine
a1a8ad5bd2d69b5378d71d15ddec4658ea34f057
[ "MIT" ]
6
2020-11-10T02:37:10.000Z
2021-12-25T06:58:44.000Z
#include "caffeine/Serialization/Serialize.h" #include <algorithm> #include <capnp/message.h> #include <capnp/serialize-packed.h> #include "caffeine/Protos/testcase.capnp.h" namespace caffeine { namespace serialize { using caffeine::serialize::protos::Symbol; using caffeine::serialize::protos::TestCase; usi...
31.720588
80
0.67733
mishazharov
1589d94aafbd7694e8f8467ebe02f044119aa2bc
14,630
cxx
C++
fregl/exe/assign_signals.cxx
tostathaina/farsight
7e9d6d15688735f34f7ca272e4e715acd11473ff
[ "Apache-2.0" ]
8
2016-07-22T11:24:19.000Z
2021-04-10T04:22:31.000Z
fregl/exe/assign_signals.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
null
null
null
fregl/exe/assign_signals.cxx
YanXuHappygela/Farsight
1711b2a1458c7e035edd21fe0019a1f7d23fcafa
[ "Apache-2.0" ]
7
2016-07-21T07:39:17.000Z
2020-01-29T02:03:27.000Z
/*========================================================================= Copyright 2009 Rensselaer Polytechnic Institute 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/lice...
36.758794
114
0.633766
tostathaina
158acf182a8f6192a76ac708da7f2064ff8e228b
922
cpp
C++
emulator/ibusdevice.cpp
vcato/qt-quick-6502-emulator
6202e546efddc612f229da078238f829dd756e12
[ "Unlicense" ]
null
null
null
emulator/ibusdevice.cpp
vcato/qt-quick-6502-emulator
6202e546efddc612f229da078238f829dd756e12
[ "Unlicense" ]
3
2019-09-14T02:46:26.000Z
2020-12-22T01:07:08.000Z
emulator/ibusdevice.cpp
vcato/qt-quick-6502-emulator
6202e546efddc612f229da078238f829dd756e12
[ "Unlicense" ]
null
null
null
#include "ibusdevice.hpp" IBusDevice::IBusDevice(uint16_t lower_address, uint16_t upper_address, bool writable, bool readable, QObject *parent) : QObject(parent), _lower_address_range(lower_address), ...
23.641026
82
0.646421
vcato
158dd3ebbd21d128f0576e0bba60e5c1aaeb911f
857
cpp
C++
src/libs/tools/sc_basicmutex.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/tools/sc_basicmutex.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
src/libs/tools/sc_basicmutex.cpp
suggitpe/RPMS
7a12da0128f79b8b0339fd7146105ba955079b8c
[ "Apache-2.0" ]
null
null
null
//############################# #include "sc_basicmutex.hpp" #include "sx_mutex.hpp" using rpms::SC_BasicMutex; /////////////////////////////////////////// SC_BasicMutex::SC_BasicMutex( const std::string &aName ) : mName(aName) { ::pthread_mutex_init( &mLock, 0 ); } //////////////////////////////////////////...
20.902439
71
0.436406
suggitpe
15928d6460b238c4011c7c993b51c198d715db61
6,102
cpp
C++
test/src/direct_search_handler_test.cpp
Tobi2001/asr_direct_search_manager
d24847477a37e29a1224f7261a27f91d2a2faebf
[ "BSD-3-Clause" ]
null
null
null
test/src/direct_search_handler_test.cpp
Tobi2001/asr_direct_search_manager
d24847477a37e29a1224f7261a27f91d2a2faebf
[ "BSD-3-Clause" ]
null
null
null
test/src/direct_search_handler_test.cpp
Tobi2001/asr_direct_search_manager
d24847477a37e29a1224f7261a27f91d2a2faebf
[ "BSD-3-Clause" ]
2
2017-04-06T13:36:46.000Z
2019-12-19T18:54:01.000Z
/** Copyright (c) 2016, Borella Jocelyn, Karrenbauer Oliver, Meißner Pascal 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, thi...
37.900621
755
0.749754
Tobi2001
159ac049b5289bda5c24ce31fca4993168eedc71
760
cpp
C++
src/luogu/P3374/27261005_ua_70_36ms_784k_O2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/luogu/P3374/27261005_ua_70_36ms_784k_O2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/luogu/P3374/27261005_ua_70_36ms_784k_O2.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
#include <cstdio> using namespace std; const int MAXN = 1e5 + 5; int q,a[MAXN], n; #define foreach(i, a, b) for(int i = (a);i <= (b);++i) int lowbit(int x) { return x & (-x); } void add(int x, int val) { for (; x <= n; x += lowbit(x)) { a[x] += val; } } int query(int x) { int ret = 0; for (; x; x -= lowbit(...
19
59
0.45
lnkkerst
159be018d59e57473754590ad73ca61354607c8f
188
cpp
C++
281A_22.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
281A_22.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
281A_22.cpp
tihorygit/codeforces
0b60531dd3faa3e4fccf95847457ef823f803d1b
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; int main() { string s; cin >> s; if(s[0]>='a' && s[0]<='z') s[0]=(char)(s[0]-'a'+'A'); cout << s << endl; return 0; }
14.461538
34
0.446809
tihorygit
159cc110d8281cdbb00f79d34d0b09b95ba3c8e0
7,080
hpp
C++
general_decimal_arithmetic/libgdatest/test_file.hpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
5
2020-08-08T07:01:00.000Z
2022-03-05T02:45:05.000Z
general_decimal_arithmetic/libgdatest/test_file.hpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
6
2020-06-28T02:22:07.000Z
2021-04-01T20:14:29.000Z
general_decimal_arithmetic/libgdatest/test_file.hpp
GaryHughes/stddecimal
ebec00e6cdad29a978ee5b0d4998e8b484d8dce1
[ "MIT" ]
1
2021-02-05T08:59:49.000Z
2021-02-05T08:59:49.000Z
#ifndef stddecimal_general_decimal_arithmetic_test_runner_test_file_hpp #define stddecimal_general_decimal_arithmetic_test_runner_test_file_hpp #include <string> #include <vector> #include <fstream> #include "test_context.hpp" #include "test_line.hpp" #include "test_results.hpp" #include "tests.hpp" #include <iostream...
30.649351
129
0.491667
GaryHughes
159e64a6a9f23aa921f7ae181010b6a6f2b64219
2,025
hpp
C++
src/ngraph/frontend/onnx_import/core/model.hpp
srinivasputta/ngraph
7506133fff4a8e5c25914a8370a567c4da5b53be
[ "Apache-2.0" ]
null
null
null
src/ngraph/frontend/onnx_import/core/model.hpp
srinivasputta/ngraph
7506133fff4a8e5c25914a8370a567c4da5b53be
[ "Apache-2.0" ]
null
null
null
src/ngraph/frontend/onnx_import/core/model.hpp
srinivasputta/ngraph
7506133fff4a8e5c25914a8370a567c4da5b53be
[ "Apache-2.0" ]
null
null
null
//***************************************************************************** // Copyright 2017-2018 Intel Corporation // // 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://w...
33.196721
99
0.568395
srinivasputta
159ed5d5ed3ac8c68bab6c58b1d03f2c9976479e
2,711
cpp
C++
src/main/cpp/disenum/ProtocolFamily.cpp
Updownquark/DISEnumerations
6b90dd4fb4323d3daf5e1d282078d9c0ffe0545c
[ "BSD-2-Clause" ]
1
2022-03-04T16:17:47.000Z
2022-03-04T16:17:47.000Z
src/main/cpp/disenum/ProtocolFamily.cpp
Updownquark/DISEnumerations
6b90dd4fb4323d3daf5e1d282078d9c0ffe0545c
[ "BSD-2-Clause" ]
1
2020-03-11T04:12:32.000Z
2020-03-11T23:55:58.000Z
src/main/cpp/disenum/ProtocolFamily.cpp
Updownquark/DISEnumerations
6b90dd4fb4323d3daf5e1d282078d9c0ffe0545c
[ "BSD-2-Clause" ]
2
2020-03-09T15:25:08.000Z
2020-04-12T13:41:47.000Z
#include <sstream> #include <cstddef> #include <disenum/ProtocolFamily.h> namespace DIS { hashMap<int,ProtocolFamily*> ProtocolFamily::enumerations; ProtocolFamily ProtocolFamily::OTHER(0, "Other"); ProtocolFamily ProtocolFamily::ENTITY_INFORMATION_INTERACTION(1, "Entity Information/Interaction"); ProtocolFamily Pr...
33.8875
119
0.76872
Updownquark
159ee5cbf8ba53e95889d129e7d791cb43500182
1,514
cpp
C++
examples/miscellaneous/zelikovsky_11_per_6_example.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
examples/miscellaneous/zelikovsky_11_per_6_example.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
null
null
null
examples/miscellaneous/zelikovsky_11_per_6_example.cpp
Kommeren/AA
e537b58d50e93d4a72709821b9ea413008970c6b
[ "BSL-1.0" ]
1
2021-02-24T06:23:56.000Z
2021-02-24T06:23:56.000Z
//======================================================================= // Copyright (c) // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //====================================================================...
31.541667
77
0.616248
Kommeren
15a5da197e95f764348ae56df3a252f0e1221618
3,446
cpp
C++
TSDF/TSDFVolumeCPU.cpp
justanhduc/ray-casting
25ea97f3ff10d2b0cb3c9e935f1adb9201e42908
[ "MIT" ]
1
2021-09-08T22:38:06.000Z
2021-09-08T22:38:06.000Z
TSDF/TSDFVolumeCPU.cpp
justanhduc/ray-casting
25ea97f3ff10d2b0cb3c9e935f1adb9201e42908
[ "MIT" ]
1
2021-04-12T02:19:00.000Z
2021-04-26T02:46:41.000Z
TSDF/TSDFVolumeCPU.cpp
justanhduc/ray-casting
25ea97f3ff10d2b0cb3c9e935f1adb9201e42908
[ "MIT" ]
null
null
null
// // Created by justanhduc on 10/24/20. // #include "TSDFVolumeCPU.hpp" //#include "TSDF_utilities.hpp" /** * Constructor with specified number of voxels in each dimension * @param size * @param physical_size */ TSDFVolumeCPU::TSDFVolumeCPU( const UInt3& size, const Float3& physical_size ) : m_offset { 0.0, 0.0...
38.288889
246
0.660476
justanhduc
15a74f451822d2b1bdc3817204c5eae613421d84
18,956
cc
C++
CMC040/cmcfun/outp_line.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
1
2018-10-17T08:53:17.000Z
2018-10-17T08:53:17.000Z
CMC040/cmcfun/outp_line.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
CMC040/cmcfun/outp_line.cc
khandy21yo/aplus
3b4024a2a8315f5dcc78479a24100efa3c4a6504
[ "MIT" ]
null
null
null
//! \file //! \brief Handle Paging on Reports // %SBTTL "OUTP_LINE" // %IDENT "V3.6a Calico" // // Source: ../../CMC030/cmcfun/source/outp_line.bas // Translated from Basic to C++ using btran // on Wednesday, December 20, 2017 at 17:16:51 // #include <iostream> #include <cstdlib> #include <cstring> #include <unistd.h...
24.811518
175
0.605982
khandy21yo
15aa337ded8a2ac4f339de7496763b561defc935
3,126
cpp
C++
src/VDF/Sources/instancie_src_VDF_Sources.cpp
pledac/trust-code
46ab5c5da3f674185f53423090f526a38ecdbad1
[ "BSD-3-Clause" ]
1
2021-10-04T09:20:19.000Z
2021-10-04T09:20:19.000Z
src/VDF/Sources/instancie_src_VDF_Sources.cpp
pledac/trust-code
46ab5c5da3f674185f53423090f526a38ecdbad1
[ "BSD-3-Clause" ]
null
null
null
src/VDF/Sources/instancie_src_VDF_Sources.cpp
pledac/trust-code
46ab5c5da3f674185f53423090f526a38ecdbad1
[ "BSD-3-Clause" ]
null
null
null
// // Warning : DO NOT EDIT ! // To update this file, run: make depend // #include <verifie_pere.h> #include <ModPerm_Carman_Kozeny.h> #include <ModPerm_Cte.h> #include <ModPerm_ErgunPourDarcy.h> #include <ModPerm_ErgunPourForch.h> #include <Perte_Charge_Reguliere_VDF_Face.h> #include <Perte_Charge_Singuliere_VDF_Face....
45.970588
76
0.869162
pledac
15b5cb76cde69f2b70572fff8e2a457ef1b09306
827
cpp
C++
Leetcode/0562. Longest Line of Consecutive One in Matrix/0562.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0562. Longest Line of Consecutive One in Matrix/0562.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0562. Longest Line of Consecutive One in Matrix/0562.cpp
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution { public: int longestLine(vector<vector<int>>& mat) { const int m = mat.size(); const int n = mat[0].size(); int ans = 0; // dp[i][j][0] := horizontal // dp[i][j][1] := vertical // dp[i][j][2] := diagonal // dp[i][j][3] := anti-diagonal vector<vector<vector<int>>> dp(m,...
31.807692
78
0.412334
Next-Gen-UI
15be4ec551d4674edb68896fef3222e9bb0188a6
13,479
cc
C++
components/services/leveldb/leveldb_database_impl.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
components/services/leveldb/leveldb_database_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
components/services/leveldb/leveldb_database_impl.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2016 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 "components/services/leveldb/leveldb_database_impl.h" #include <inttypes.h> #include <algorithm> #include <map> #include <string> #include <util...
36.233871
80
0.668818
zipated
15bebeca817926b244b37b283193cebb83b5f002
103
hpp
C++
include/modprop/optim/optim.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
1
2017-11-10T00:54:53.000Z
2017-11-10T00:54:53.000Z
include/modprop/optim/optim.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
include/modprop/optim/optim.hpp
Humhu/modprop
0cff8240d5e1522f620de8004c22a74491a0c9fb
[ "AFL-3.0" ]
null
null
null
#pragma once #include "modprop/optim/GaussianLikelihoodModule.h" #include "modprop/optim/MeanModule.h"
25.75
51
0.815534
Humhu
15c08ce7c071ba50f4fa54b97c35a5e00807fa14
2,423
cpp
C++
src/umpire/util/Backtrace.cpp
bmhan12/Umpire
de82bcd066f153958aff2f68091cac2125d9c5bc
[ "MIT-0", "MIT" ]
null
null
null
src/umpire/util/Backtrace.cpp
bmhan12/Umpire
de82bcd066f153958aff2f68091cac2125d9c5bc
[ "MIT-0", "MIT" ]
null
null
null
src/umpire/util/Backtrace.cpp
bmhan12/Umpire
de82bcd066f153958aff2f68091cac2125d9c5bc
[ "MIT-0", "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016-20, Lawrence Livermore National Security, LLC and Umpire // project contributors. See the COPYRIGHT file for details. // // SPDX-License-Identifier: (MIT) ////////////////////////////////////////////////////////////////...
28.505882
110
0.606686
bmhan12
15c15f8a739fa8adbfe09234204cf52d613b4286
2,734
cpp
C++
UVa 1432 - Fire-Control System/sample/1432 - Fire-Control System.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 1432 - Fire-Control System/sample/1432 - Fire-Control System.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 1432 - Fire-Control System/sample/1432 - Fire-Control System.cpp
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
#include <stdio.h> #include <math.h> #include <algorithm> using namespace std; struct Pt { int x, y; int dist; double theta; bool operator<(const Pt &a) const { if(theta != a.theta) return theta < a.theta; return dist > a.dist; } }; Pt D[5005]; int mmR[5005]; const double...
31.790698
110
0.365399
tadvi
15c2497b52050a249901afd165f46573da689cb4
738
cpp
C++
SPOJ Solutions/BOGGLE.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
SPOJ Solutions/BOGGLE.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
SPOJ Solutions/BOGGLE.cpp
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
#include <stdio.h> #include <iostream> #include <string> #include <cstring> #include <map> #include <sstream> using namespace std; int main() { int n; int a[10]={0,1,1,1,1,2,3,5,11,11}; scanf("%d ",&n); string s[n+9]; int i; for(i=0;i<n;i++) getline(cin,s[i]); map<string , int >mp; map<string ,int >::iterator...
15.375
35
0.556911
UtkarshPathrabe
15c264868451a5d330f1bb6c9f8feb459bcce78f
2,823
cpp
C++
QtPredict/PredictKeyHandleUI.cpp
Kay01010101/PredictVersion
adde9de5dd39b2f22e103f3294d1beab4f327d62
[ "MIT" ]
null
null
null
QtPredict/PredictKeyHandleUI.cpp
Kay01010101/PredictVersion
adde9de5dd39b2f22e103f3294d1beab4f327d62
[ "MIT" ]
null
null
null
QtPredict/PredictKeyHandleUI.cpp
Kay01010101/PredictVersion
adde9de5dd39b2f22e103f3294d1beab4f327d62
[ "MIT" ]
null
null
null
/* Time : 2016/06/13 Author: Kay Yang (1025115216@qq.com) */ #ifndef CONSOLE #include "PredictKeyHandleUI.h" #include "PredictGeneratorKey.h" #include "PredictMainWindow.h" #include "QDebug" #include "PredictCheck.h" TextEditorThread::TextEditorThread() : mStopped(false) { } TextEditorThread::~TextEditorThread() { ...
20.911111
124
0.72051
Kay01010101
15c3b6f4f9e959fdc0a528612a4a8c50c32b543a
383
cpp
C++
basic exp/5. matrix-II & III/unit_test.cpp
ltg001/word_game
3b4e537f1b61b9523a8120a96627442d5558debe
[ "MIT" ]
null
null
null
basic exp/5. matrix-II & III/unit_test.cpp
ltg001/word_game
3b4e537f1b61b9523a8120a96627442d5558debe
[ "MIT" ]
null
null
null
basic exp/5. matrix-II & III/unit_test.cpp
ltg001/word_game
3b4e537f1b61b9523a8120a96627442d5558debe
[ "MIT" ]
null
null
null
#include "matrix.h" #include "matrix.hpp" #include <iostream> using namespace std; int main(int argc, char *argv[]) { Matrix<int> mat1(3, 4); Matrix<int> mat2(3, 4); cin >> mat1; cin >> mat2; cout << "load" << endl; cout << mat1 << mat2 << endl; cout << mat1 + mat2 << endl; cout << mat1...
20.157895
33
0.543081
ltg001
15c4b580075344e39dd02f308078a7d804cc75b3
918
cpp
C++
codeforces/1165d.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
1
2020-04-04T14:56:12.000Z
2020-04-04T14:56:12.000Z
codeforces/1165d.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
codeforces/1165d.cpp
sogapalag/problems
0ea7d65448e1177f8b3f81124a82d187980d659c
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void solve() { int T; cin >> T; while (T--) { int n; cin >> n; vector<long long> d(n); for (auto& x: d) { cin >> x; } sort(d.begin(), d.end()); long long res = d[0] * d[n-1]; bool flag = true; ...
20.863636
40
0.334423
sogapalag
15c68556997bff4a7ca8dc695b0e1edd9baa9e46
38,366
cpp
C++
src/ftl/x86/func.cpp
janweinstock/ftl
64b25fa821ab001384290a4a71fb1a7377d3b239
[ "Apache-2.0" ]
4
2019-05-22T18:27:14.000Z
2021-11-17T11:42:51.000Z
src/ftl/x86/func.cpp
janweinstock/ftl
64b25fa821ab001384290a4a71fb1a7377d3b239
[ "Apache-2.0" ]
null
null
null
src/ftl/x86/func.cpp
janweinstock/ftl
64b25fa821ab001384290a4a71fb1a7377d3b239
[ "Apache-2.0" ]
2
2019-11-14T08:51:52.000Z
2020-12-12T15:13:47.000Z
/****************************************************************************** * * * Copyright 2019 Jan Henrik Weinstock * * * ...
27.075512
80
0.504196
janweinstock
15c8014894e74be47912df906b2ec46574c05460
969
cpp
C++
lib/libCFG/src/EventManager.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
14
2021-05-03T16:03:22.000Z
2022-02-14T23:42:39.000Z
lib/libCFG/src/EventManager.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
1
2021-09-27T12:01:33.000Z
2021-09-27T12:01:33.000Z
lib/libCFG/src/EventManager.cpp
cyber-itl/citl-static-analysis
32ef8e519dac1c6a49ff41d902a62df8f5a8e948
[ "MIT" ]
null
null
null
#include <vector> #include <memory> #include "capstone/capstone.h" #include "glog/logging.h" #include "EventManager.hpp" class CpuState; struct Block; struct Symbol; void EventManager::register_event(std::unique_ptr<AnalyzerEvent> event) { m_events.push_back(std::move(event)); } void EventManager::run_events(e...
25.5
111
0.661507
cyber-itl
15c86cc428860a4cb7b800b221c2f84e7ff73eb2
329
cpp
C++
Ejercicios/Ejercicio2-mensaje/mensajes.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio2-mensaje/mensajes.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
Ejercicios/Ejercicio2-mensaje/mensajes.cpp
Maldanar201/LenguajeProgramacion1
5a53c51077c0e41deff8daf40dbe6f0778b41f9c
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(int argc, char const *argv[]) { string nombre; cout << " ingrese su nombre: "; cin >> nombre; cout <<"\n Hola mi nombre es " << nombre <<endl; cout << " Hola "<<nombre<<" Bienvenido a la Clase de Lenguaje de Programacion I "<< endl; ret...
19.352941
93
0.595745
Maldanar201
15c911684394101812f4ea2488ae2663af5ac441
3,012
hpp
C++
thirdparty/jni.hpp/include/jni/tagging.hpp
rh101/engine-x
17ad9829dd410c689857760b6ece89d99e877a95
[ "MIT" ]
76
2021-05-20T12:27:10.000Z
2022-03-23T15:27:42.000Z
thirdparty/jni.hpp/include/jni/tagging.hpp
rh101/engine-x
17ad9829dd410c689857760b6ece89d99e877a95
[ "MIT" ]
171
2021-05-18T11:07:25.000Z
2022-03-29T20:53:27.000Z
thirdparty/jni.hpp/include/jni/tagging.hpp
rh101/engine-x
17ad9829dd410c689857760b6ece89d99e877a95
[ "MIT" ]
42
2021-05-18T10:05:06.000Z
2022-03-22T05:40:56.000Z
#pragma once #include <jni/traits.hpp> #include <jni/unique.hpp> #include <type_traits> namespace jni { class ObjectBase; template < class Tag > class Object; template < class E, class = void > class Array; template < class > struct TypeSignature; struct ObjectTag { static con...
22.818182
79
0.551793
rh101
15ca1dd9280671a1ebf989edc6c2ae70928e8279
2,409
cc
C++
research/carls/base/thread_bundle.cc
srihari-humbarwadi/neural-structured-learning
345b8d644dd7745179263bf6dc9aeb8a921528f4
[ "Apache-2.0" ]
939
2019-08-28T06:50:30.000Z
2022-03-30T02:37:07.000Z
research/carls/base/thread_bundle.cc
srihari-humbarwadi/neural-structured-learning
345b8d644dd7745179263bf6dc9aeb8a921528f4
[ "Apache-2.0" ]
80
2019-09-01T19:47:30.000Z
2022-02-02T20:38:38.000Z
research/carls/base/thread_bundle.cc
srihari-humbarwadi/neural-structured-learning
345b8d644dd7745179263bf6dc9aeb8a921528f4
[ "Apache-2.0" ]
196
2019-09-01T19:38:53.000Z
2022-02-08T01:25:57.000Z
/*Copyright 2021 Google 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
26.766667
80
0.674554
srihari-humbarwadi
15ccd0fc98b06c5e61c55537bbc9f61e1f002480
68,063
cpp
C++
modules/tracktion_engine/3rd_party/airwindows/Monitoring/MonitoringProc.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
734
2018-11-16T09:39:40.000Z
2022-03-30T16:56:14.000Z
modules/tracktion_engine/3rd_party/airwindows/Monitoring/MonitoringProc.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
100
2018-11-16T18:04:08.000Z
2022-03-31T17:47:53.000Z
modules/tracktion_engine/3rd_party/airwindows/Monitoring/MonitoringProc.cpp
jbloit/tracktion_engine
b3fa7d6a3a404f64ae419abdf9c801d672cffb16
[ "MIT", "Unlicense" ]
123
2018-11-16T15:51:50.000Z
2022-03-29T12:21:27.000Z
/* ======================================== * Monitoring - Monitoring.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #ifndef __Monitoring_H #include "Monitoring.h" #endif void Monitoring::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames...
65.256951
140
0.569516
jbloit
15cfb5d87983ddf99b425ae960cbfe3584a0de92
13,750
cc
C++
RecoLocalMuon/RPCRecHit/test/RPCRecHitReader.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoLocalMuon/RPCRecHit/test/RPCRecHitReader.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoLocalMuon/RPCRecHit/test/RPCRecHitReader.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/* * Program to calculate the global and local efficiency of * RPC chambers using a software autotrigger and * a linear reconstruction of tracks. * * Author: R. Trentadue - Bari University */ #include "RPCRecHitReader.h" #include <memory> #include <fstream> #include <iostream> #include <string> #include ...
33.783784
117
0.614109
ckamtsikis
15d676c6180ce90376b5d3c6186a56672ded86c5
2,928
hpp
C++
filterbuf.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
filterbuf.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
null
null
null
filterbuf.hpp
hmito/hmLib
0f2515ba9c99c06d02e2fa633eeae73bcd793983
[ "MIT" ]
1
2015-09-22T03:32:11.000Z
2015-09-22T03:32:11.000Z
#ifndef HMLIB_FILTERBUF_INC #define HMLIB_FILTERBUF_INC 102 # /*===filterbuf=== filterbuf_v1_02/130101 hmIto iostreamに対応 */ #include<streambuf> #include<iostream> namespace hmLib{ template<class _Elem,class _Traits=std::char_traits<_Elem>> class basic_filterbuf{ protected: typedef std::basic_istream<_Elem,_Trait...
24.198347
64
0.682377
hmito
15db7a855b9baf11ffae5ba8058a1179edf08491
143
cpp
C++
hello-world/hello_world.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
hello-world/hello_world.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
hello-world/hello_world.cpp
akilram/exercism-cpp-answers
88d1247beb6ad003640efd5af87a05ad1a0d3a88
[ "MIT" ]
null
null
null
#include "hello_world.h" using namespace std; namespace hello_world { string hello() { return string("Hello, World!"); } }
11
34
0.622378
akilram
15ddc88593f6c838a589214d16593e10eff17a49
4,557
cpp
C++
ardupilot/libraries/AP_RangeFinder/AP_RangeFinder_PX4.cpp
quadrotor-IITKgp/emulate_GPS
3c888d5b27b81fb17e74d995370f64bdb110fb65
[ "MIT" ]
1
2021-07-17T11:37:16.000Z
2021-07-17T11:37:16.000Z
ardupilot/libraries/AP_RangeFinder/AP_RangeFinder_PX4.cpp
arl-kgp/emulate_GPS
3c888d5b27b81fb17e74d995370f64bdb110fb65
[ "MIT" ]
null
null
null
ardupilot/libraries/AP_RangeFinder/AP_RangeFinder_PX4.cpp
arl-kgp/emulate_GPS
3c888d5b27b81fb17e74d995370f64bdb110fb65
[ "MIT" ]
null
null
null
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /* 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, either version 3 of the License, or (at your option) any lat...
30.583893
120
0.686636
quadrotor-IITKgp
15e5947867da7a5c962299a141d2915102bcedf7
2,030
cpp
C++
bipedenv/cpp/Render/Shader.cpp
snumrl/DistributedDeepMimic
364d07dbdd5378b6d46d944e472e1632712ef5f6
[ "MIT" ]
null
null
null
bipedenv/cpp/Render/Shader.cpp
snumrl/DistributedDeepMimic
364d07dbdd5378b6d46d944e472e1632712ef5f6
[ "MIT" ]
null
null
null
bipedenv/cpp/Render/Shader.cpp
snumrl/DistributedDeepMimic
364d07dbdd5378b6d46d944e472e1632712ef5f6
[ "MIT" ]
null
null
null
#include "Render/Shader.h" static const std::string vertexShader = "./bipedenv/Shader/vertexshader.txt"; static const std::string fragShader = "./bipedenv/Shader/fragshader.txt"; namespace Shader{ GLuint program; void printShaderInfoLog(GLuint shader) { int len = 0; int charsWritten = 0; char* infoLog; glGe...
26.025641
80
0.683251
snumrl
15e88fd4d0070e0407162c0b14b44d71cf3ce069
6,917
cpp
C++
build/moc/moc_CameraSpec.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:53.000Z
2018-11-07T06:10:53.000Z
build/moc/moc_CameraSpec.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
null
null
null
build/moc/moc_CameraSpec.cpp
UNIST-ESCL/UNIST_GCS
f61f0c12bbb028869e4494f507ea8ab52c8c79c2
[ "Apache-2.0" ]
1
2018-11-07T06:10:47.000Z
2018-11-07T06:10:47.000Z
/**************************************************************************** ** Meta object code from reading C++ file 'CameraSpec.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.3) ** ** WARNING! All changes made in this file will be lost! **********************************************************...
33.741463
97
0.609802
UNIST-ESCL
15ebccd1e10788efac79dca03c3613f9be828fd4
6,866
cpp
C++
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagOutput/DxDiagOutput.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagOutput/DxDiagOutput.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
FPSLighting/Dependencies/DIRECTX/Samples/C++/Misc/DxDiagOutput/DxDiagOutput.cpp
billionare/FPSLighting
c7d646f51cf4dee360dcc7c8e2fd2821b421b418
[ "MIT" ]
null
null
null
//---------------------------------------------------------------------------- // File: DxDiagOutput.cpp // // Desc: Sample app to read info from dxdiagn.dll by enumeration // // Copyright (c) Microsoft Corp. All rights reserved. //----------------------------------------------------------------------------- #define IN...
35.760417
105
0.498689
billionare
15edd3fefada798892adcfe58e2b6f9f20e082b8
1,294
cpp
C++
cpp/0_libuv/uv_dynamic_so/load_library.cpp
ForrestSu/StudyNotes
7e823de2edbbdb1dc192dfa57c83b1776ef29836
[ "MIT" ]
null
null
null
cpp/0_libuv/uv_dynamic_so/load_library.cpp
ForrestSu/StudyNotes
7e823de2edbbdb1dc192dfa57c83b1776ef29836
[ "MIT" ]
1
2020-10-24T11:30:30.000Z
2020-10-24T11:30:32.000Z
cpp/0_libuv/uv_dynamic_so/load_library.cpp
ForrestSu/StudyNotes
7e823de2edbbdb1dc192dfa57c83b1776ef29836
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <uv.h> class Factory { public: virtual ~Factory() = default; virtual const char* GetMainService(const char *serviceName) = 0; }; typedef Factory* (*EntryGetServiceFactory)(); int main(int argc, char **argv) { /** str_so_name is utf-8 en...
28.755556
113
0.619011
ForrestSu
15eee06bdc7d3770f655b119ef81c9552c117089
5,815
cpp
C++
librtsp/test/rtsp-client-input-test.cpp
neonkingfr/MediaServer
8dc2fbf275628ab306a0976ac54533dd0e181f65
[ "MIT" ]
1
2022-03-25T03:09:10.000Z
2022-03-25T03:09:10.000Z
librtsp/test/rtsp-client-input-test.cpp
neonkingfr/MediaServer
8dc2fbf275628ab306a0976ac54533dd0e181f65
[ "MIT" ]
null
null
null
librtsp/test/rtsp-client-input-test.cpp
neonkingfr/MediaServer
8dc2fbf275628ab306a0976ac54533dd0e181f65
[ "MIT" ]
null
null
null
#if defined(_DEBUG) || defined(DEBUG) #include "sockutil.h" #include "rtsp-client.h" #include <assert.h> #include <stdlib.h> #include "sockpair.h" #include "cstringext.h" #include "sys/system.h" #include "cpm/unuse.h" #include "sdp.h" //#define UDP_MULTICAST_ADDR "239.0.0.2" extern "C" void rtp_receiver_tcp_input(ui...
28.504902
166
0.709028
neonkingfr
15f216ea7dba8896a70c427afb4ac7620c65a7f2
2,491
hpp
C++
include/codegen/include/Valve/VR/IVRExtendedDisplay__GetEyeOutputViewport.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
1
2021-11-12T09:29:31.000Z
2021-11-12T09:29:31.000Z
include/codegen/include/Valve/VR/IVRExtendedDisplay__GetEyeOutputViewport.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
null
null
null
include/codegen/include/Valve/VR/IVRExtendedDisplay__GetEyeOutputViewport.hpp
Futuremappermydud/Naluluna-Modifier-Quest
bfda34370764b275d90324b3879f1a429a10a873
[ "MIT" ]
2
2021-10-03T02:14:20.000Z
2021-11-12T09:29:36.000Z
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:12 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: System.MulticastDelegate #include "System/MulticastDelegate....
49.82
205
0.741871
Futuremappermydud
15f32244b1e1f5a8b5bbdf5323595a8ea8b29d5a
564
cpp
C++
c++/45 operator overload 04/src/coordinate.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
c++/45 operator overload 04/src/coordinate.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
c++/45 operator overload 04/src/coordinate.cpp
dev-go/hello-world
a99e6dfb2868cfc5f04ccab87888619c5c420d0a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2020, devgo.club // All rights reserved. #include <stdint.h> #include "coordinate.h" // Coordinate Coordinate::operator+(const Coordinate &coor) // { // Coordinate tmp; // tmp.x_ = x_ + coor.x_; // tmp.y_ = y_ + coor.y_; // return tmp; // } int32_t Coordinate::operator[](uint8_t ind...
17.625
76
0.602837
dev-go
15f3abc7d46fcce7e0010971d91995eb69cabba2
33,289
cc
C++
third_party/blink/renderer/modules/accessibility/inspector_accessibility_agent.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/accessibility/inspector_accessibility_agent.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/modules/accessibility/inspector_accessibility_agent.cc
mghgroup/Glide-Browser
6a4c1eaa6632ec55014fee87781c6bbbb92a2af5
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2021-01-05T23:43:46.000Z
2021-01-07T23:36:34.000Z
// Copyright 2014 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 "third_party/blink/renderer/modules/accessibility/inspector_accessibility_agent.h" #include <memory> #include "third_party/blink/renderer/core/a...
37.028921
91
0.697047
mghgroup
15f496114b018e5ff02915197ea3791a70a9b1fb
6,289
cc
C++
mindspore/lite/test/ut/src/runtime/kernel/opencl/caffe_prelu_tests.cc
Joejiong/mindspore
083fd6565cab1aa1d3114feeacccf1cba0d55e80
[ "Apache-2.0" ]
null
null
null
mindspore/lite/test/ut/src/runtime/kernel/opencl/caffe_prelu_tests.cc
Joejiong/mindspore
083fd6565cab1aa1d3114feeacccf1cba0d55e80
[ "Apache-2.0" ]
null
null
null
mindspore/lite/test/ut/src/runtime/kernel/opencl/caffe_prelu_tests.cc
Joejiong/mindspore
083fd6565cab1aa1d3114feeacccf1cba0d55e80
[ "Apache-2.0" ]
null
null
null
/** * Copyright 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 applicable law...
40.314103
120
0.694705
Joejiong
15f4d31f88ce67a62deb26ce1f292cf05281ec77
541
cpp
C++
src/complementary.cpp
nerstak/Finite-Automata---Math-CS
2ffefc63e664d7a625096b710d6897182d9bc226
[ "MIT" ]
null
null
null
src/complementary.cpp
nerstak/Finite-Automata---Math-CS
2ffefc63e664d7a625096b710d6897182d9bc226
[ "MIT" ]
null
null
null
src/complementary.cpp
nerstak/Finite-Automata---Math-CS
2ffefc63e664d7a625096b710d6897182d9bc226
[ "MIT" ]
null
null
null
#include "FA.h" FA* FA::complementarize() { if (_completed) { cout << "Complementary automate obtained from"; if (_minimized) { cout << " minimized version." << endl; } else { cout << " just completed version." << endl; } FA* complementary = new FA(*...
24.590909
56
0.521257
nerstak
15f99663419b68e51365c7952c1b5cbce2603ae7
2,846
cpp
C++
jetson/carControl/src/0.3/peripheral_driver/uart/test_uart1.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
1
2017-12-19T15:53:55.000Z
2017-12-19T15:53:55.000Z
jetson/carControl/src/0.3/peripheral_driver/uart/test_uart1.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
null
null
null
jetson/carControl/src/0.3/peripheral_driver/uart/test_uart1.cpp
thanhwins/DriveCarLessChallenge
716304f3e25b383781ade5f1560ef0d538fc634e
[ "MIT" ]
1
2019-11-27T03:01:55.000Z
2019-11-27T03:01:55.000Z
#include <string.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <termios.h> int main(int argc,char** argv) { struct termios tio; struct termios stdio; struct termios old_stdio; int tty_fd; unsigned char c='D'; tcgetattr(STDOUT_...
26.110092
90
0.457484
thanhwins
15fa858fc057c4c095ab3813186fba42856993a2
824
cpp
C++
libs/filesystem/src/filesystem/file_size.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/filesystem/src/filesystem/file_size.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/filesystem/src/filesystem/file_size.cpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <fcppt/const.hpp> #include <fcppt/filesystem/file_size.hpp> #include <fcppt/filesystem/op...
19.619048
61
0.686893
pmiddend
15fb708e0854b290dfdb1b737199793bfb7bcafe
5,074
cpp
C++
particleKernels/tst/twoBodyTest.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
null
null
null
particleKernels/tst/twoBodyTest.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
null
null
null
particleKernels/tst/twoBodyTest.cpp
lucaparisi91/qmc4
f1ad1b105568500c9a8259e509dd3e01a933a050
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" #include "twoBodyPotential.h" #include <random> #include <cmath> #include "timers.h" #include "testUtils.h" using Real = double; using namespace particleKernels; TEST(twoBodyPotential, evaluate) { const int N=100; const int T=10; constexpr int D = 1; Real l =1; std::ar...
26.020513
118
0.55203
lucaparisi91
15fead12ef5fd9b20de544e14e9babeb934ae2ad
866
hpp
C++
Web-Server/include/Server.hpp
marmal95/Web-Server
6f1fc5fe75d7ca516697a93149880a9c67933a2c
[ "MIT" ]
null
null
null
Web-Server/include/Server.hpp
marmal95/Web-Server
6f1fc5fe75d7ca516697a93149880a9c67933a2c
[ "MIT" ]
null
null
null
Web-Server/include/Server.hpp
marmal95/Web-Server
6f1fc5fe75d7ca516697a93149880a9c67933a2c
[ "MIT" ]
null
null
null
#pragma once #include "IServer.hpp" #include "RequestHandler.hpp" #include "ConnectionManager.hpp" #include "ResponseBuilder.hpp" #include "RequestParser.hpp" #include <string> #include <boost/asio/io_service.hpp> #include <boost/asio/ip/tcp.hpp> namespace web { using namespace boost::asio; using namespace boost::...
20.619048
77
0.748268
marmal95
c6008a802c6d22a4acb6acef6e2bf8db635ca5dc
400
cpp
C++
sum_values.cpp
lionkor/cpp-examples
6458ab8b1ae383215e4a2148e427bccbf7e27e41
[ "MIT" ]
null
null
null
sum_values.cpp
lionkor/cpp-examples
6458ab8b1ae383215e4a2148e427bccbf7e27e41
[ "MIT" ]
null
null
null
sum_values.cpp
lionkor/cpp-examples
6458ab8b1ae383215e4a2148e427bccbf7e27e41
[ "MIT" ]
null
null
null
#include <iostream> int main() { int numbers[10]; for (int i = 0; i < 10; ++i) { // i + 1 so that it's 1-10 instead of 0-9 std::cout << "Enter number (" << i + 1 << "/10): "; std::cin >> numbers[i]; } // now sum them up int sum = 0; for (int i = 0; i < 10; ++i) { ...
23.529412
59
0.435
lionkor
c603d09c1ccdd018fb99196aa32f1eaa159c4b14
3,605
cpp
C++
vm/compiler/codegen/x86/NcgHelper.cpp
leewp14/android_dalvik
c1202ff8b476a3445f3b844c795ffe47ab526313
[ "Apache-2.0" ]
1,306
2015-09-01T05:06:16.000Z
2022-03-10T07:13:10.000Z
dalvik/vm/compiler/codegen/x86/NcgHelper.cpp
cnrat/DexHunter
b8f46563c7f3aeb79cf40db09e1d231649f1a29a
[ "Apache-2.0" ]
11
2015-09-02T09:06:42.000Z
2020-12-26T04:59:34.000Z
dalvik/vm/compiler/codegen/x86/NcgHelper.cpp
cnrat/DexHunter
b8f46563c7f3aeb79cf40db09e1d231649f1a29a
[ "Apache-2.0" ]
598
2015-09-01T05:06:18.000Z
2022-03-27T07:59:49.000Z
/* * Copyright (C) 2012 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...
34.333333
86
0.639667
leewp14
c603f74b4fb65b5c383dc8289e2725dbba2dbe58
4,449
cpp
C++
demo/gpu_scatter_mpi/main.cpp
Excalibur-SLE/wave-fenics
2d3345c4cffecbe382acd1005a9dcc2bbc62ad1c
[ "MIT" ]
1
2022-02-27T23:36:14.000Z
2022-02-27T23:36:14.000Z
demo/gpu_scatter_mpi/main.cpp
Excalibur-SLE/wave-fenics
2d3345c4cffecbe382acd1005a9dcc2bbc62ad1c
[ "MIT" ]
5
2022-02-23T13:22:29.000Z
2022-03-01T12:40:10.000Z
demo/gpu_scatter_mpi/main.cpp
Excalibur-SLE/wave-fenics
2d3345c4cffecbe382acd1005a9dcc2bbc62ad1c
[ "MIT" ]
null
null
null
// Copyright (C) 2022 Chris Richardson and Athena Elafrou // SPDX-License-Identifier: MIT #include <basix/e-lagrange.h> #include <boost/program_options.hpp> #include <cmath> #include <dolfinx.h> #include <dolfinx/common/Timer.h> #include <dolfinx/common/log.h> #include <dolfinx/io/XDMFFile.h> #include <iostream> #i...
26.482143
76
0.613846
Excalibur-SLE
c606b9b63403c11c92230eed5ee8a047eb00ecd3
2,728
cpp
C++
searchlib/src/vespa/searchlib/memoryindex/field_index_collection.cpp
alexeyche/vespa
7585981b32937d2b13da1a8f94b42c8a0833a4c2
[ "Apache-2.0" ]
null
null
null
searchlib/src/vespa/searchlib/memoryindex/field_index_collection.cpp
alexeyche/vespa
7585981b32937d2b13da1a8f94b42c8a0833a4c2
[ "Apache-2.0" ]
null
null
null
searchlib/src/vespa/searchlib/memoryindex/field_index_collection.cpp
alexeyche/vespa
7585981b32937d2b13da1a8f94b42c8a0833a4c2
[ "Apache-2.0" ]
null
null
null
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "field_index_collection.h" #include "field_inverter.h" #include "ordered_field_index_inserter.h" #include <vespa/searchlib/bitcompression/posocccompression.h> #include <vespa/searchlib/index/i_field_length...
32.094118
123
0.718109
alexeyche
c6078ef854ae11e3009b24840b26c3d4d4277f1c
1,542
cpp
C++
Pener SDK/FEATURES/Fakewalk.cpp
younasiqw/Thulium-Beta
968591340449e65824458142a40c1f35ce17f3ac
[ "Apache-2.0" ]
null
null
null
Pener SDK/FEATURES/Fakewalk.cpp
younasiqw/Thulium-Beta
968591340449e65824458142a40c1f35ce17f3ac
[ "Apache-2.0" ]
null
null
null
Pener SDK/FEATURES/Fakewalk.cpp
younasiqw/Thulium-Beta
968591340449e65824458142a40c1f35ce17f3ac
[ "Apache-2.0" ]
1
2019-04-02T17:36:55.000Z
2019-04-02T17:36:55.000Z
#include "../includes.h" #include "../UTILS/interfaces.h" #include "../SDK/IEngine.h" #include "../SDK/CUserCmd.h" #include "../SDK/CBaseEntity.h" #include "../SDK/CClientEntityList.h" #include "../SDK/CTrace.h" #include "../SDK/CBaseWeapon.h" #include "../SDK/CGlobalVars.h" #include "../SDK/NetChannel.h" #include "../...
30.84
123
0.681582
younasiqw
c608bb0a31e9f235b918cf67acf16af88eba5e73
3,122
cpp
C++
llvm/lib/CodeGen/WinEHPrepare.cpp
impedimentToProgress/ratchet
4a0f4994ee7e16819849fc0a1a1dbb04921a25fd
[ "MIT" ]
4
2018-12-31T04:46:13.000Z
2021-02-04T15:11:03.000Z
llvm/lib/CodeGen/WinEHPrepare.cpp
impedimentToProgress/ratchet
4a0f4994ee7e16819849fc0a1a1dbb04921a25fd
[ "MIT" ]
null
null
null
llvm/lib/CodeGen/WinEHPrepare.cpp
impedimentToProgress/ratchet
4a0f4994ee7e16819849fc0a1a1dbb04921a25fd
[ "MIT" ]
3
2017-10-28T16:15:33.000Z
2021-11-16T05:11:43.000Z
//===-- WinEHPrepare - Prepare exception handling for code generation ---===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---------------------------------------------------------...
30.31068
80
0.688341
impedimentToProgress
c60aa953d8aabd149415ea1f7cbea98518ee6427
241
hpp
C++
src/game_window_opt_opengl.hpp
bggd/game_window
da9474472dd4988f4926fa2b50734b0ffa3b10af
[ "MIT" ]
null
null
null
src/game_window_opt_opengl.hpp
bggd/game_window
da9474472dd4988f4926fa2b50734b0ffa3b10af
[ "MIT" ]
null
null
null
src/game_window_opt_opengl.hpp
bggd/game_window
da9474472dd4988f4926fa2b50734b0ffa3b10af
[ "MIT" ]
null
null
null
namespace gwin { struct GameWindowOptionOpenGL { bool fullscreen; bool resizable; bool set_pos; int32_t x, y; uint32_t w, h; bool gles; uint8_t major; uint8_t minor; bool debug_ctx; bool vsync; }; } // namespace gwin
12.684211
31
0.684647
bggd
c60ab8ca2a3c1188b8057b04bed3cfb3d57375a5
80,781
cpp
C++
indra/newview/llfloatertools.cpp
SaladDais/LLUDP-Encryption
8a426cd0dd154e1a10903e0e6383f4deb2a6098a
[ "ISC" ]
1
2022-01-29T07:10:03.000Z
2022-01-29T07:10:03.000Z
indra/newview/llfloatertools.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
null
null
null
indra/newview/llfloatertools.cpp
bloomsirenix/Firestorm-manikineko
67e1bb03b2d05ab16ab98097870094a8cc9de2e7
[ "Unlicense" ]
1
2021-10-01T22:22:27.000Z
2021-10-01T22:22:27.000Z
/** * @file llfloatertools.cpp * @brief The edit tools, including move, position, land, etc. * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the...
33.380579
148
0.708285
SaladDais
c60b0bcfdfdd3c00b24091dd02708ea8a1ba4d7c
2,410
hpp
C++
raygun/ui/text.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
raygun/ui/text.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
raygun/ui/text.hpp
maggo007/Raygun
f6be537c835976a9d6cc356ebe187feba6592847
[ "MIT" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2019,2020 The Raygun Authors. // // 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...
33.943662
139
0.729461
maggo007
c60cc60ea1ac5e5c395514debfcdc3b911e171e2
530
cpp
C++
test/correctness/handle.cpp
mikeseven/Halide
739513cc290d0351b69cedd31829032788bc3a7e
[ "MIT" ]
1
2016-10-08T00:18:46.000Z
2016-10-08T00:18:46.000Z
test/correctness/handle.cpp
mikeseven/Halide
739513cc290d0351b69cedd31829032788bc3a7e
[ "MIT" ]
null
null
null
test/correctness/handle.cpp
mikeseven/Halide
739513cc290d0351b69cedd31829032788bc3a7e
[ "MIT" ]
null
null
null
#include <Halide.h> #include <stdio.h> using namespace Halide; HalideExtern_1(int, strlen, const char *); int main(int argc, char **argv) { const char *c_message = "Hello, world!"; Param<const char *> message; message.set(c_message); int result = evaluate<int>(strlen(message)); int correct = s...
20.384615
50
0.598113
mikeseven
c60f924d37abe13cbd69c6b69256a0274790d738
944
cc
C++
greedy/fractional_knapsack.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
greedy/fractional_knapsack.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
greedy/fractional_knapsack.cc
knguyenc/algorithms
4f61d692c986f6200eb1a52de022366a172aaa6f
[ "MIT" ]
null
null
null
#include "fractional_knapsack.h" #include <algorithm> namespace algorithm { namespace greedy { bool FractionalKnapsackItemComparator( const std::tuple<unsigned int, unsigned int> a, const std::tuple<unsigned int, unsigned int> b) { return (std::get<1>(a) / std::get<0>(a)) > (std::get<1>(b) / std::get<0>(b)...
26.222222
79
0.629237
knguyenc
c60fb9dbb1e4b8235ef275604a77ffb6b76ff501
2,801
cc
C++
src/qvi-group-mpi.cc
samuelkgutierrez/quo-vadis
2a93f1c2bbfece70a9cab4f1e2a2eb02a817560b
[ "BSD-3-Clause" ]
3
2021-12-09T19:16:02.000Z
2021-12-09T20:10:51.000Z
src/qvi-group-mpi.cc
samuelkgutierrez/quo-vadis
2a93f1c2bbfece70a9cab4f1e2a2eb02a817560b
[ "BSD-3-Clause" ]
14
2021-10-23T00:46:43.000Z
2022-03-15T20:53:04.000Z
src/qvi-group-mpi.cc
samuelkgutierrez/quo-vadis
2a93f1c2bbfece70a9cab4f1e2a2eb02a817560b
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2020-2022 Triad National Security, LLC * All rights reserved. * * Copyright (c) 2020-2021 Lawrence Livermore National Security, LLC * All rights reserved. * * This file is part of the quo-vadis project. See the LICENSE file at the * top-level di...
18.798658
74
0.637272
samuelkgutierrez
c6116c08f89617369f47b91304b38eb94548fe56
1,021
cpp
C++
src/Engine/Material/GGX.cpp
trygas/CGHomework
2dfff76f407b8a7ba87c5ba9d12a4428708ffbbe
[ "MIT" ]
594
2019-02-19T01:09:27.000Z
2022-03-31T07:47:11.000Z
src/Engine/Material/GGX.cpp
Ricahrd-Li/ASAP_ARAP_Parameterization
c12d83605ce9ea9cac29efbd991d21e2b363e375
[ "MIT" ]
12
2020-02-19T07:11:14.000Z
2021-08-07T06:41:27.000Z
src/Engine/Material/GGX.cpp
Ricahrd-Li/ASAP_ARAP_Parameterization
c12d83605ce9ea9cac29efbd991d21e2b363e375
[ "MIT" ]
249
2020-02-01T08:14:36.000Z
2022-03-30T14:52:58.000Z
#include <Engine/Material/GGX.h> #include <Engine/Material/SurfCoord.h> using namespace Ubpa; float GGX::D(const normalf & wh) const { if (SurfCoord::CosTheta(wh) < 0) return 0.f; float alpha2 = alpha * alpha; float cos2Theta = SurfCoord::Cos2Theta(wh); float t = (alpha2 - 1) * cos2Theta + 1; return alpha...
23.204545
70
0.666993
trygas
c615c427ac9dc4d4f6623732fccd9c00da134b8d
3,580
cpp
C++
examples/primitives/shuffle.cpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
1,327
2018-01-25T21:23:47.000Z
2020-04-03T09:39:30.000Z
examples/primitives/shuffle.cpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
583
2020-04-04T02:37:25.000Z
2022-03-31T00:12:03.000Z
examples/primitives/shuffle.cpp
JackAKirk/oneDNN
432c3f0c1c265a0fa96aa46c256d150ea670eb5a
[ "Apache-2.0" ]
365
2018-01-29T16:12:36.000Z
2020-04-03T08:32:27.000Z
/******************************************************************************* * Copyright 2020 Intel Corporation * * 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.o...
30.862069
80
0.659218
JackAKirk
c616ac7c50c630e1ec3184bb0247c6e7e6ee704e
768
cpp
C++
engine/calculators/source/unit_tests/TertiaryUnarmedCalculator_test.cpp
sidav/shadow-of-the-wyrm
747afdeebed885b1a4f7ab42f04f9f756afd3e52
[ "MIT" ]
1
2020-05-24T22:44:03.000Z
2020-05-24T22:44:03.000Z
engine/calculators/source/unit_tests/TertiaryUnarmedCalculator_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
engine/calculators/source/unit_tests/TertiaryUnarmedCalculator_test.cpp
cleancoindev/shadow-of-the-wyrm
51b23e98285ecb8336324bfd41ebf00f67b30389
[ "MIT" ]
null
null
null
#include "gtest/gtest.h" TEST(SW_Engine_Calculators_TertiaryUnarmedCalculator, calculate_knock_back_pct_chance) { CreaturePtr creature; TertiaryUnarmedCalculator tuc; EXPECT_EQ(0, tuc.calculate_knock_back_pct_chance(creature)); creature = CreaturePtr(new Creature()); Statistic str(1); creature->set_stren...
24.774194
86
0.78776
sidav
723fb724e670b01b7142fb4ae0730ced229aa59a
343
cpp
C++
Exec/AMR-zoom/Nyx_error.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
6
2021-02-18T09:13:17.000Z
2022-03-22T21:27:46.000Z
Exec/AMR-zoom/Nyx_error.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
1
2020-10-12T08:54:31.000Z
2020-10-12T08:54:31.000Z
Exec/AMR-zoom/Nyx_error.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
3
2020-09-04T10:26:25.000Z
2022-03-14T23:51:51.000Z
#include "Nyx.H" #include "Nyx_error_F.H" using namespace amrex; void Nyx::error_setup() { err_list.add("total_density",1,ErrorRec::UseAverage, BL_FORT_PROC_CALL(TAG_OVERDENSITY, tag_overdensity)); } void Nyx::manual_tags_placement (TagBoxArray& tags, const Vector...
18.052632
70
0.653061
Gosenca
7244c846c394c7c8464423375111a5a45874fa10
4,229
cpp
C++
src/goto-symex/slice.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
src/goto-symex/slice.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
src/goto-symex/slice.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
/*******************************************************************\ Module: Slicer for symex traces Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <goto-symex/slice.h> symex_slicet::symex_slicet(bool assume) : ignored(0), slice_...
23.364641
80
0.659021
shmarovfedor
7244f40eed6c6a3b8c266b20909fccc2cf89c9f3
51,858
cpp
C++
project/c++/mri/src/PI-slim-napa/db/MySqlRecdClient.cpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/PI-slim-napa/db/MySqlRecdClient.cpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/PI-slim-napa/db/MySqlRecdClient.cpp
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
/* * MySqlRecdClient.cpp * * Created on: Jan 4, 2011 * Author: DS\one55379 */ #include "MySqlRecdClient.h" #include "DbUtils.h" //#include <my_global.h> #include <errmsg.h> #include <sstream> #include <string.h> MySqlRecdClient::MySqlRecdClient() : mpMysql(0), mDBName("recd"), ...
36.778723
274
0.589263
jia57196
72450180039d2bd1361a5fb3aaa237aea7a5aad4
4,093
cpp
C++
snippets/simple_read/snippets/lib.cpp
dejbug/protocasm
87bfc7ab9b555111d889b606da0d344a7c28eb9f
[ "MIT" ]
null
null
null
snippets/simple_read/snippets/lib.cpp
dejbug/protocasm
87bfc7ab9b555111d889b606da0d344a7c28eb9f
[ "MIT" ]
null
null
null
snippets/simple_read/snippets/lib.cpp
dejbug/protocasm
87bfc7ab9b555111d889b606da0d344a7c28eb9f
[ "MIT" ]
null
null
null
#include "lib.h" #include <assert.h> #include <string.h> lib::typ::bytes::bytes() : data(nullptr), capacity(0), good(0) { } lib::typ::bytes::bytes(size_t capacity) : data(nullptr), capacity(0), good(0) { if (!capacity) throw common::make_error("lib::typ::bytes::ctor : capacity must be >0 in this ctor")...
23.65896
166
0.582946
dejbug
7245d5fa565d541d564a68836ad54cd451038cde
3,556
cpp
C++
Example/Pods/librlottie/rlottie/src/vector/vdrawable.cpp
dotlottie/dotlottieR-ios
0531aaa427c969f5d89fea79f2dc6294414ba379
[ "MIT" ]
null
null
null
Example/Pods/librlottie/rlottie/src/vector/vdrawable.cpp
dotlottie/dotlottieR-ios
0531aaa427c969f5d89fea79f2dc6294414ba379
[ "MIT" ]
null
null
null
Example/Pods/librlottie/rlottie/src/vector/vdrawable.cpp
dotlottie/dotlottieR-ios
0531aaa427c969f5d89fea79f2dc6294414ba379
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option)...
28
88
0.622328
dotlottie
7245e0d24c7d374058be5a7a3c5aa28bdb7ab7a9
3,667
hpp
C++
CmnIP/module/transform/inc/transform/color_normalization.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnIP/module/transform/inc/transform/color_normalization.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
CmnIP/module/transform/inc/transform/color_normalization.hpp
Khoronus/CmnUniverse
9cf9b4297f2fcb49330126aa1047b422144045e1
[ "MIT" ]
null
null
null
/* @file color_normalization.hpp * @brief Class to perform the color normalization of a source of data. * * @section LICENSE * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANT...
29.336
93
0.620125
Khoronus
7246e9569e3a4062fda7f7b4dccffbf85d88467d
18,353
cpp
C++
src/mongo/db/pipeline/expression_object_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/pipeline/expression_object_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/mongo/db/pipeline/expression_object_test.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/** * Copyright (C) 2019-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but W...
45.204433
100
0.634447
benety
724b2939661c2895555f9dce4843cf761f15b5c2
25,921
cpp
C++
libs/StartExe/StartExe.cpp
kit-transue/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
2
2015-11-24T03:31:12.000Z
2015-11-24T16:01:57.000Z
libs/StartExe/StartExe.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
null
null
null
libs/StartExe/StartExe.cpp
radtek/software-emancipation-discover
bec6f4ef404d72f361d91de954eae9a3bd669ce3
[ "BSD-2-Clause" ]
1
2019-05-19T02:26:08.000Z
2019-05-19T02:26:08.000Z
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
36.152022
200
0.521585
kit-transue
724ba9ffe8af322eb43cfdf327f9766188ee0bbe
5,167
cpp
C++
windows/feime/kor/ime2k/tip/fmode.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
windows/feime/kor/ime2k/tip/fmode.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
windows/feime/kor/ime2k/tip/fmode.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/**************************************************************************** FMODE.CPP : FMode class implementation which manage Full/Half shape mode button on the Cicero Toolbar History: 23-FEB-2000 CSLim Created ******************************************************************...
26.497436
106
0.444939
npocmaka
724c28ac4ffde7a6f6317182b5ba921c15074c2f
524
cpp
C++
GraphicsScene/Camera.cpp
Melody6149/Graphics-for-games-tutorial
8ad1ed15ab774c0bd93e87f5c937f1597d55509e
[ "MIT" ]
null
null
null
GraphicsScene/Camera.cpp
Melody6149/Graphics-for-games-tutorial
8ad1ed15ab774c0bd93e87f5c937f1597d55509e
[ "MIT" ]
null
null
null
GraphicsScene/Camera.cpp
Melody6149/Graphics-for-games-tutorial
8ad1ed15ab774c0bd93e87f5c937f1597d55509e
[ "MIT" ]
null
null
null
#include "Camera.h" #include <glm/ext.hpp> glm::mat4 Camera::getViewMatrix() { float yawRadians = glm::radians(m_yaw); float pitchRadians = glm::radians(m_pitch); glm::vec3 forward( cos(pitchRadians) * cos(yawRadians), sin(pitchRadians), cos(pitchRadians) * sin(yawRadians)); return glm::lookAt(m_position, m...
26.2
83
0.70229
Melody6149
724defd8aa59d5474aa655bb87ae3227417e9cc7
3,328
cc
C++
support/conf/options.cc
ahamez/pnmc
cee5f2e01edc2130278ebfc13f0f859230d65680
[ "BSD-2-Clause" ]
5
2015-02-05T20:56:20.000Z
2022-01-29T01:20:24.000Z
support/conf/options.cc
ahamez/pnmc
cee5f2e01edc2130278ebfc13f0f859230d65680
[ "BSD-2-Clause" ]
null
null
null
support/conf/options.cc
ahamez/pnmc
cee5f2e01edc2130278ebfc13f0f859230d65680
[ "BSD-2-Clause" ]
null
null
null
/// @file /// @copyright The code is licensed under the BSD License /// <http://opensource.org/licenses/BSD-2-Clause>, /// Copyright (c) 2013-2015 Alexandre Hamez. /// @author Alexandre Hamez #include <map> #include <string> #include <utility> #include <boost/algorithm/string/join.hpp> #include ...
29.981982
100
0.534555
ahamez