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
109
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
48.5k
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
7dc421ed0553f5118c761c5286736d0e7c85fe15
574
cpp
C++
cytofpipe/v1.3/Rlibs/Rclusterpp/skeleton/rclusterpp_hello_world.cpp
UCL-BLIC/legion-buildscripts
5fd6c4e2a36b5ca35fa06577b2face58174a7d78
[ "MIT" ]
null
null
null
cytofpipe/v1.3/Rlibs/Rclusterpp/skeleton/rclusterpp_hello_world.cpp
UCL-BLIC/legion-buildscripts
5fd6c4e2a36b5ca35fa06577b2face58174a7d78
[ "MIT" ]
null
null
null
cytofpipe/v1.3/Rlibs/Rclusterpp/skeleton/rclusterpp_hello_world.cpp
UCL-BLIC/legion-buildscripts
5fd6c4e2a36b5ca35fa06577b2face58174a7d78
[ "MIT" ]
null
null
null
#include "rclusterpp_hello_world.h" RcppExport SEXP rclusterpp_hello_world(){ BEGIN_RCPP using namespace Rcpp; using namespace Rclusterpp; // Performing Ward's method clustering on stored data representation. We // use clusters that maintain a "center"... typedef NumericCluster::center cluster_type; Eigen::N...
23.916667
74
0.775261
UCL-BLIC
7dc8442e9c5cc3787b2ae260d7b4b55e10b5195a
658
cpp
C++
solved/10324 Zeros and Ones.cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/10324 Zeros and Ones.cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
solved/10324 Zeros and Ones.cpp
goutomroy/uva.onlinejudge
5ce09d9e370ad78eabd0fd500ef77ce804e2d0f2
[ "MIT" ]
null
null
null
#include<stdio.h> #include<string.h> #define sz 1000003 char str[sz], c; long ara[sz]; void main() { //freopen("a.in","r",stdin); long i, j, k, queri, tcase, len, temp ; for(tcase =1; scanf("%[^\n] ",str)==1; tcase++) { scanf("%ld ",&queri); len = strlen(str); ara[0] = str[0]- '0' ; for(i=1;i<len;i...
13.428571
49
0.463526
goutomroy
7dcc6d5b4da376bb660c795f2c66a1f67b11d23f
2,700
cpp
C++
chess/src/widgets/mainwindow.cpp
comaralex/Chess2k17
0c90ad1ec6416d4881932ca6588551d76ae3b8ac
[ "BSD-2-Clause" ]
1
2020-07-23T11:58:12.000Z
2020-07-23T11:58:12.000Z
chess/src/widgets/mainwindow.cpp
comaralex/Chess2k17
0c90ad1ec6416d4881932ca6588551d76ae3b8ac
[ "BSD-2-Clause" ]
null
null
null
chess/src/widgets/mainwindow.cpp
comaralex/Chess2k17
0c90ad1ec6416d4881932ca6588551d76ae3b8ac
[ "BSD-2-Clause" ]
1
2020-07-24T14:39:47.000Z
2020-07-24T14:39:47.000Z
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QDesktopWidget> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), m_timer() { styleSheetOptions(); ui->setupUi(this); uiOptions = new Options(); m_timer = new QTimer(this); m_timer->setI...
23.893805
73
0.621852
comaralex
7dcd9ae865968428c1ac100a74841e79968c8795
2,563
cpp
C++
ipass_demo/main.cpp
NathanHoekstra/NRF24L01
ba7e0ed5afec3cfd0dfd0baf49ac552c1efc3b9f
[ "BSL-1.0" ]
null
null
null
ipass_demo/main.cpp
NathanHoekstra/NRF24L01
ba7e0ed5afec3cfd0dfd0baf49ac552c1efc3b9f
[ "BSL-1.0" ]
null
null
null
ipass_demo/main.cpp
NathanHoekstra/NRF24L01
ba7e0ed5afec3cfd0dfd0baf49ac552c1efc3b9f
[ "BSL-1.0" ]
null
null
null
#include "hwlib.hpp" #include "rf24.hpp" #include "nrf24l01.hpp" #include "rf_test.hpp" int main( void ){ // kill the watchdog WDT->WDT_MR = WDT_MR_WDDIS; namespace target = hwlib::target; // Chip 1 definition auto MISO = target::pin_in(target::pins::miso); auto MOSI = target::pin_out(target::pin...
26.42268
74
0.653921
NathanHoekstra
7dd0f2c58836421d4649072fde5864d12f3e97bf
6,044
cpp
C++
D&D Wrath of Silumgar/Motor2D/trollLeaders.cpp
Wilhelman/DD-Shadow-over-Mystara
d4303ad87cc442414c0facb71ce9cd5564b51039
[ "MIT" ]
3
2019-06-21T04:40:16.000Z
2020-07-07T13:09:53.000Z
D&D Wrath of Silumgar/Motor2D/trollLeaders.cpp
Wilhelman/DD-Shadow-over-Mystara
d4303ad87cc442414c0facb71ce9cd5564b51039
[ "MIT" ]
56
2018-05-07T10:30:08.000Z
2018-05-15T08:27:06.000Z
D&D Wrath of Silumgar/Motor2D/trollLeaders.cpp
Wilhelman/DD-Shadow-over-Mystara
d4303ad87cc442414c0facb71ce9cd5564b51039
[ "MIT" ]
3
2019-01-03T17:24:57.000Z
2019-05-04T08:49:12.000Z
#include "ctDefs.h" #include "ctLog.h" #include "ctApp.h" #include "ctInput.h" #include "ctRender.h" #include "ctTextures.h" #include "ctFadeToBlack.h" #include "ctAudio.h" #include "ctEntities.h" #include "ctCombat.h" #include "ctTaskManager.h" #include "trollLeaders.h" TrollLeaders::TrollLeaders(int x, int y, Enti...
28.780952
160
0.72634
Wilhelman
7dd408f3d41a1347f27b854380f51f18d55da1d5
417
hpp
C++
src/parser_nodes/or_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/or_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/or_parser_node_pre.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
// // Copyright (c) 2020 Erwin Rol <erwin@erwinrol.com> // // SPDX-License-Identifier: MIT // #ifndef NEDERROCK_SRC_OR_PARSER_NODE_PRE_HPP #define NEDERROCK_SRC_OR_PARSER_NODE_PRE_HPP #include <memory> #include <vector> class Or_Parser_Node; using Or_Parser_Node_Ptr = std::shared_ptr<Or_Parser_Node>; using Or_Parse...
21.947368
62
0.803357
lowlander
7dd552dd70e00298ee55d46bdc4c9a72be2e6d99
569
hpp
C++
src/parser/types/parameter_type.hpp
dondieselkopf/tmp-parser
50a9a6238bb67e6998404825572d5d7f915db841
[ "MIT" ]
null
null
null
src/parser/types/parameter_type.hpp
dondieselkopf/tmp-parser
50a9a6238bb67e6998404825572d5d7f915db841
[ "MIT" ]
null
null
null
src/parser/types/parameter_type.hpp
dondieselkopf/tmp-parser
50a9a6238bb67e6998404825572d5d7f915db841
[ "MIT" ]
null
null
null
/* * parameter_type.hpp * * Created on: 08.11.2015 * Author: sohrmann */ #ifndef PARAMETER_TYPE_HPP_ #define PARAMETER_TYPE_HPP_ namespace parser { /// stack will be collapsed and appended to parameter list template <typename T> struct parameter_type { template <typename ParserType> static bool match(Pa...
18.354839
58
0.725835
dondieselkopf
7ddb37b2e37da123cca810fa1074166593911265
1,113
cpp
C++
EunoiaProjects/Polyforged/Src/Polyforged_Generated.cpp
EunoiaGames/Eunoia-Dev
94edea774d1de05dc6a0c24ffdd3bb91b91a3346
[ "Apache-2.0" ]
null
null
null
EunoiaProjects/Polyforged/Src/Polyforged_Generated.cpp
EunoiaGames/Eunoia-Dev
94edea774d1de05dc6a0c24ffdd3bb91b91a3346
[ "Apache-2.0" ]
null
null
null
EunoiaProjects/Polyforged/Src/Polyforged_Generated.cpp
EunoiaGames/Eunoia-Dev
94edea774d1de05dc6a0c24ffdd3bb91b91a3346
[ "Apache-2.0" ]
null
null
null
#include <Eunoia\Eunoia.h> #include "Polyforged.h" template<> EU_PROJ metadata_typeid Metadata::GetTypeID < ThirdPersonCameraComponent > () { return Eunoia::Metadata::LastEngineTypeID + 1; } template<> MetadataInfo Metadata::ConstructMetadataInfo<ThirdPersonCameraComponent>() { MetadataInfo info; info.id = E...
34.78125
129
0.755615
EunoiaGames
7de38a8f9de6ce4250e4557702a66aabdb638780
306
hpp
C++
src/gameworld/gameworld/global/activity/impl/activityxingzuoyiji.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/global/activity/impl/activityxingzuoyiji.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/global/activity/impl/activityxingzuoyiji.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __ACTIVITY_XINGZUOYIJI_HPP__ #define __ACTIVITY_XINGZUOYIJI_HPP__ #include "global/activity/activity.hpp" class ActivityXingzuoYiji : public Activity { public: ActivityXingzuoYiji(ActivityManager *activity_manager); virtual ~ActivityXingzuoYiji(); }; #endif // __ACTIVITY_XINGZUOYIJI_HPP__
18
56
0.826797
mage-game
7de56a95e57fbffc3fb3f28a56e853f9c6bf4673
2,976
cpp
C++
src/essaMEM/fasta.cpp
bredelings/mummer
e084d9b32613ebb1841c60e47a11ff6b1928450a
[ "Artistic-2.0" ]
284
2017-06-12T18:44:09.000Z
2022-03-29T13:22:00.000Z
ext/essaMEM/fasta.cpp
AT-CG/ChainX
2b4c902a8981eceda17e72dc7409f744ad3a0bc3
[ "Apache-2.0" ]
167
2017-06-09T12:33:21.000Z
2022-03-29T15:45:19.000Z
ext/essaMEM/fasta.cpp
AT-CG/ChainX
2b4c902a8981eceda17e72dc7409f744ad3a0bc3
[ "Apache-2.0" ]
114
2017-07-03T07:39:33.000Z
2022-02-23T06:27:26.000Z
#include <fstream> #include <iostream> #include <algorithm> #include <vector> #include <cassert> #include <mummer/fasta.hpp> // Return the reverse complement of sequence. This allows searching // the plus strand of instances on the minus strand. void reverse_complement(std::string &seq_rc, bool nucleotides_only) { ...
33.818182
124
0.566196
bredelings
7de56eeb23a03006a545a687c6646c9e4fad5173
404
cpp
C++
20190406_ABC123/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20190406_ABC123/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
20190406_ABC123/b.cpp
miyalab/AtCoder
a57c8a6195463a9a8edd1c3ddd36cc56f145c60d
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int set=0; int max=10; vector<int> a(5); for(int i=0;i<5;i++){ cin >> a[i]; if(max>a[i]%10 && a[i]%10!=0){ max=a[i]%10; set=i; } } int ans=0; for(int i=0;i<5;i++){ if(i!=set ...
16.16
49
0.398515
miyalab
7de7678b30c231dc0ab9128e3930eda47019cea6
3,997
hpp
C++
include/nbla/computation_graph/variable.hpp
PAC-P2P/nnabla
bb7e7d52555a5bc145ec3c9a2e152fa5b11574de
[ "Apache-2.0" ]
null
null
null
include/nbla/computation_graph/variable.hpp
PAC-P2P/nnabla
bb7e7d52555a5bc145ec3c9a2e152fa5b11574de
[ "Apache-2.0" ]
null
null
null
include/nbla/computation_graph/variable.hpp
PAC-P2P/nnabla
bb7e7d52555a5bc145ec3c9a2e152fa5b11574de
[ "Apache-2.0" ]
1
2020-08-19T08:32:51.000Z
2020-08-19T08:32:51.000Z
// Copyright (c) 2017 Sony Corporation. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
27.006757
80
0.694021
PAC-P2P
8fbf8a547d578e01f2f24494a24fa6ad760c886a
929
cpp
C++
AssetManager.cpp
Adilyaa/Flappy_bird_cpp
cc8303278f8ca6f84204ff42b9ed6fcd7dc04358
[ "MIT" ]
null
null
null
AssetManager.cpp
Adilyaa/Flappy_bird_cpp
cc8303278f8ca6f84204ff42b9ed6fcd7dc04358
[ "MIT" ]
null
null
null
AssetManager.cpp
Adilyaa/Flappy_bird_cpp
cc8303278f8ca6f84204ff42b9ed6fcd7dc04358
[ "MIT" ]
null
null
null
#include <SFML/Graphics.hpp> #include "AssetManager.hpp" namespace Sonar { void AssetManager::LoadTexture(std::string name, std::string filename ) { sf::Texture tex; if ( tex.loadFromFile( filename ) ) { // add it to the map of textures that we already have ...
19.354167
79
0.555436
Adilyaa
8fd2af81f564d3a9a8baa937e78126060e669c47
291
cpp
C++
source/engine.cpp
vitodtagliente/vdtecs
b61ae3c64562864d6f5c35c1d9a1860bf3e9efaa
[ "MIT" ]
null
null
null
source/engine.cpp
vitodtagliente/vdtecs
b61ae3c64562864d6f5c35c1d9a1860bf3e9efaa
[ "MIT" ]
null
null
null
source/engine.cpp
vitodtagliente/vdtecs
b61ae3c64562864d6f5c35c1d9a1860bf3e9efaa
[ "MIT" ]
null
null
null
#include <vdtecs/engine.h> #include <vdtecs/isystem.h> namespace ecs { void Engine::update(const float delta_time) { // update all systems for (ISystem* const system : ISystem::manager()) { system->update(delta_time); } // flush pending data Entity::manager().flush(); } }
18.1875
50
0.67354
vitodtagliente
8fe2502d110579becf02004dd418aa71a9a6aa93
343
cpp
C++
leetcode/shivang/maths/168. Excel Sheet Column Title.cpp
Jai-Gaur-26/dumbbell
cc9abbae090e1a353320ccd3291cd365f199c409
[ "MIT" ]
1
2021-08-10T11:49:38.000Z
2021-08-10T11:49:38.000Z
leetcode/shivang/maths/168. Excel Sheet Column Title.cpp
Jai-Gaur-26/dumbbell
cc9abbae090e1a353320ccd3291cd365f199c409
[ "MIT" ]
3
2021-09-20T08:57:52.000Z
2022-01-02T05:38:32.000Z
leetcode/shivang/maths/168. Excel Sheet Column Title.cpp
Jai-Gaur-26/dumbbell
cc9abbae090e1a353320ccd3291cd365f199c409
[ "MIT" ]
2
2021-10-01T09:26:20.000Z
2021-10-01T11:06:46.000Z
class Solution { public: string convertToTitle(int columnNumber) { string ans; while (columnNumber) { // cout << n%26 << " "; ans.insert(ans.begin(), 'A' + (columnNumber - 1) % 26); columnNumber = (columnNumber - 1) / 26; } // cout << endl; ...
22.866667
67
0.478134
Jai-Gaur-26
8fe604ec222ec47ea206b3cda33c82996f5a67ab
3,549
cc
C++
tests/fdb_anomaly_test.cc
ceejatec/forestdb
d4ae7489349884c405f8ae4650d6f04c3c708e3c
[ "Apache-2.0" ]
null
null
null
tests/fdb_anomaly_test.cc
ceejatec/forestdb
d4ae7489349884c405f8ae4650d6f04c3c708e3c
[ "Apache-2.0" ]
null
null
null
tests/fdb_anomaly_test.cc
ceejatec/forestdb
d4ae7489349884c405f8ae4650d6f04c3c708e3c
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 Couchbase, Inc * * 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 * * h...
27.726563
86
0.663004
ceejatec
8fe7d2424c45a676945683b40659e221d101f03c
1,897
cpp
C++
3Sum/solution.cpp
gZeyu/LeetCode
850fbe3c090cf63bf4c48a8e459d4ab75d7dead2
[ "MIT" ]
null
null
null
3Sum/solution.cpp
gZeyu/LeetCode
850fbe3c090cf63bf4c48a8e459d4ab75d7dead2
[ "MIT" ]
null
null
null
3Sum/solution.cpp
gZeyu/LeetCode
850fbe3c090cf63bf4c48a8e459d4ab75d7dead2
[ "MIT" ]
null
null
null
/* * [15] 3Sum * * https://leetcode.com/problems/3sum/description/ * * algorithms * Medium (21.79%) * Total Accepted: 314.7K * Total Submissions: 1.4M * Testcase Example: '[-1,0,1,2,-1,-4]' * * Given an array S of n integers, are there elements a, b, c in S such that a * + b + c = 0? Find all unique tri...
23.419753
78
0.381655
gZeyu
8feb93cf0cad155cf05834a764857af7ac61828e
1,670
hpp
C++
include/canard/net/ofp/v13/instruction/meter.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
include/canard/net/ofp/v13/instruction/meter.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
8
2016-07-21T11:29:13.000Z
2016-12-03T05:16:42.000Z
include/canard/net/ofp/v13/instruction/meter.hpp
amedama41/bulb
2e9fd8a8c35cfc2be2ecf5f747f83cf36ffbbdbb
[ "BSL-1.0" ]
null
null
null
#ifndef CANARD_NET_OFP_V13_INSTRUCTIONS_METER_HPP #define CANARD_NET_OFP_V13_INSTRUCTIONS_METER_HPP #include <cstdint> #include <stdexcept> #include <canard/net/ofp/v13/detail/basic_fixed_length_instruction.hpp> #include <canard/net/ofp/v13/openflow.hpp> namespace canard { namespace net { namespace ofp { namespace v1...
22.876712
72
0.70479
amedama41
8fef30bb3218d9068de9664f513f14eae4107200
216
cpp
C++
cppprimer_anwser/1.16.cpp
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
cppprimer_anwser/1.16.cpp
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
cppprimer_anwser/1.16.cpp
iusyu/c_practic
7428b8d37df09cb27bc9d66d1e34c81a973b6119
[ "MIT" ]
null
null
null
#include <iostream> #include <string> int main(int argc, char* argv[]) { double tmp; double sum = 0; while ( std::cin >> tmp ) { sum += tmp; } std::cout<< "sum of all is : "<< sum <<std::endl; return 0; }
14.4
50
0.569444
iusyu
8ff0a8ae3c14663f88b63a7269537699f6edcf2a
1,948
hpp
C++
runtime.Kokkos.NET/Geometry/ObjectBoundingBoxHierarchy.hpp
trmcnealy/Kokkos.NET
d81aa03d720c7d8a089fdb42da18b240f127758c
[ "MIT" ]
null
null
null
runtime.Kokkos.NET/Geometry/ObjectBoundingBoxHierarchy.hpp
trmcnealy/Kokkos.NET
d81aa03d720c7d8a089fdb42da18b240f127758c
[ "MIT" ]
null
null
null
runtime.Kokkos.NET/Geometry/ObjectBoundingBoxHierarchy.hpp
trmcnealy/Kokkos.NET
d81aa03d720c7d8a089fdb42da18b240f127758c
[ "MIT" ]
null
null
null
#pragma once #include <runtime.Kokkos/ViewTypes.hpp> namespace Geometry { template<typename BoxType> struct ObjectBoundingBoxHierarchy { int right_child_offset; BoxType m_box; KOKKOS_FORCEINLINE_FUNCTION ObjectBoundingBoxHierarchy(const int right_child_offset, const BoxType& ...
39.755102
172
0.666838
trmcnealy
8ff0cffe2df06d6b25c1844ce669cbc2db159852
16,036
hpp
C++
resource/default_res.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
resource/default_res.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
null
null
null
resource/default_res.hpp
szk/reprize
a827aa0247f7954f9f36ae573f97db1397645bf5
[ "BSD-2-Clause" ]
1
2019-03-11T20:58:41.000Z
2019-03-11T20:58:41.000Z
#ifndef DEFAULT_RES_HPP_ #define DEFAULT_RES_HPP_ namespace reprize { namespace res { namespace def { // General const static uInt32 def_breadth = 8; const static uInt64 def_bit[] = { (uInt64)0xffULL, (uInt64)0x81ULL, (uInt64)0x81ULL, (uInt64)0x81ULL, (uInt64)0x81ULL, (uInt64)0x81ULL, (uIn...
27.365188
65
0.642367
szk
8ff25f0c2a26b4441bc13a3f856ab5cefe2b00c3
11,471
cpp
C++
gui/main_window/history_control/corner_menu/CornerMenu.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
81
2019-09-18T13:53:17.000Z
2022-03-19T00:44:20.000Z
gui/main_window/history_control/corner_menu/CornerMenu.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
4
2019-10-03T15:17:00.000Z
2019-11-03T01:05:41.000Z
gui/main_window/history_control/corner_menu/CornerMenu.cpp
mail-ru-im/im-desktop
d6bb606650ad84b31046fe39b81db1fec4e6050b
[ "Apache-2.0" ]
25
2019-09-27T16:56:02.000Z
2022-03-14T07:11:14.000Z
#include "stdafx.h" #include "CornerMenu.h" #include "main_window/history_control/HistoryControlPageItem.h" #include "main_window/history_control/MessageStyle.h" #include "utils/graphicsEffects.h" #include "styles/ThemeParameters.h" namespace { int getMargin() { return Utils::scale_value(2); } ...
28.184275
109
0.613983
mail-ru-im
8ff2fadb2b8de62e72d6d200bd778decfa2186e3
10,776
cpp
C++
cheats/lagcompensation/resolver.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
null
null
null
cheats/lagcompensation/resolver.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
null
null
null
cheats/lagcompensation/resolver.cpp
PhoenixAceVFX/Illenium
61408a9d26c7f2ee8f852a73e037d8bb4761575d
[ "Unlicense" ]
null
null
null
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include "animation_system.h" #include "..\ragebot\aim.h" void resolver::initialize(player_t* e, adjust_data* record, const float& goal_fee...
25.475177
172
0.685412
PhoenixAceVFX
8ff5ceca73747af55929c70af62493c8aa346de6
1,718
cpp
C++
test/training_data/plag_original_codes/01_001_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
13
2021-01-20T19:53:16.000Z
2021-11-14T16:30:32.000Z
test/training_data/plag_original_codes/01_001_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
test/training_data/plag_original_codes/01_001_plag.cpp
xryuseix/SA-Plag
167f7a2b2fa81ff00fd5263772a74c2c5c61941d
[ "MIT" ]
null
null
null
// 引用元 : https://atcoder.jp/contests/abc087/submissions/5998009 // 得点 : 400 // コード長 : 1575 // 実行時間 : 205 #include<bits/stdc++.h> #define vi vector<int> #define vvi vector<vector<int> > #define vl vector<ll> #define vvl vector<vector<ll>> #define vb vector<bool> #define vc vector<char> #define vs vector<s...
29.62069
80
0.552969
xryuseix
8ff85004c24b9bb464d8c8f91a6b808a66112de4
9,386
cpp
C++
src/solve_0_step.cpp
jmirabel/hpp-bezier-com-traj
b6484f4538ee774c815133fae919784e5df08674
[ "BSD-2-Clause" ]
null
null
null
src/solve_0_step.cpp
jmirabel/hpp-bezier-com-traj
b6484f4538ee774c815133fae919784e5df08674
[ "BSD-2-Clause" ]
null
null
null
src/solve_0_step.cpp
jmirabel/hpp-bezier-com-traj
b6484f4538ee774c815133fae919784e5df08674
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright 2017, LAAS-CNRS * Author: Steve Tonneau */ #include <hpp/bezier-com-traj/solve.hh> #include <hpp/bezier-com-traj/utils.hh> #include <hpp/bezier-com-traj/common_solve_methods.hh> using namespace bezier_com_traj; namespace bezier_com_traj { waypoint6_t w0(point_t_tC p0, point_t_tC p1, point_t_tC g, co...
34.762963
212
0.641061
jmirabel
8ffe9fa979e31e93b30a22f87e54ac3ca6baaa5e
1,778
cpp
C++
test/unit/parser.cpp
samd2/http_proto
486729f1a68b7611f143e18c7bae8df9b908e9aa
[ "BSL-1.0" ]
6
2021-11-17T03:23:50.000Z
2021-11-25T15:58:02.000Z
test/unit/parser.cpp
CPPAlliance/http_proto
6644d04a82de2c5d86904369e463ed509a9fef81
[ "BSL-1.0" ]
6
2021-11-17T16:13:52.000Z
2022-01-31T04:17:47.000Z
test/unit/parser.cpp
samd2/http_proto
486729f1a68b7611f143e18c7bae8df9b908e9aa
[ "BSL-1.0" ]
3
2021-11-17T03:01:12.000Z
2021-11-17T14:14:45.000Z
// // Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) // // 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) // // Official repository: https://github.com/CPPAlliance/http_proto // // Test that header file is ...
22.794872
79
0.628796
samd2
89006b4feea67e05d9c48b61d1d582cebedcaba3
20,781
cpp
C++
src/ScummFont/scummfont.cpp
dwatteau/scummtr
3b0fe4b39d2182cccba9f31268284f0bcaec2ac2
[ "MIT" ]
9
2022-02-03T08:44:54.000Z
2022-03-11T00:46:00.000Z
src/ScummFont/scummfont.cpp
dwatteau/scummtr
3b0fe4b39d2182cccba9f31268284f0bcaec2ac2
[ "MIT" ]
15
2022-02-05T19:37:39.000Z
2022-03-26T08:57:15.000Z
src/ScummFont/scummfont.cpp
dwatteau/scummtr
3b0fe4b39d2182cccba9f31268284f0bcaec2ac2
[ "MIT" ]
1
2022-03-06T06:40:08.000Z
2022-03-06T06:40:08.000Z
/* * SPDX-License-Identifier: MIT * * Copyright (c) 2003-2004 Thomas Combeleran * * 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 ...
29.560455
145
0.621096
dwatteau
8901e3d30e68f7a9420139ce05b0efc85e14b07d
773
hpp
C++
src/Atm_command.hpp
delmosaurio/Automaton
3d03ac9984dc416dbdcc42164487fa921253f181
[ "MIT" ]
352
2015-09-28T15:18:36.000Z
2022-03-02T18:37:07.000Z
src/Atm_command.hpp
delmosaurio/Automaton
3d03ac9984dc416dbdcc42164487fa921253f181
[ "MIT" ]
86
2015-11-02T19:21:47.000Z
2022-01-30T15:02:54.000Z
src/Atm_command.hpp
delmosaurio/Automaton
3d03ac9984dc416dbdcc42164487fa921253f181
[ "MIT" ]
65
2015-11-05T17:43:30.000Z
2022-03-09T11:09:09.000Z
#pragma once #include <Automaton.h> class Atm_command : public Machine { public: enum { IDLE, READCHAR, SEND }; enum { EVT_INPUT, EVT_EOL, ELSE }; Atm_command( void ) : Machine(){}; Atm_command& begin( Stream& stream, char buffer[], int size ); Atm_command& trace( Stream& stream ); Atm_command& onComman...
23.424242
64
0.675291
delmosaurio
89029bee59d0333c6f0c1896711f9b30ce9da9dd
6,611
cpp
C++
src/ble_wifi_setup_manager.cpp
Dan-Kouba/ble-wifi-setup-manager
a771161d51123b76aec11909fc124c9cfd9ee2cf
[ "MIT" ]
2
2021-06-08T03:10:47.000Z
2021-07-26T22:23:12.000Z
src/ble_wifi_setup_manager.cpp
Dan-Kouba/ble-wifi-setup-manager
a771161d51123b76aec11909fc124c9cfd9ee2cf
[ "MIT" ]
1
2021-06-12T19:36:57.000Z
2021-06-12T19:36:57.000Z
src/ble_wifi_setup_manager.cpp
Dan-Kouba/ble-wifi-setup-manager
a771161d51123b76aec11909fc124c9cfd9ee2cf
[ "MIT" ]
1
2021-07-24T07:14:35.000Z
2021-07-24T07:14:35.000Z
#include "ble_wifi_setup_manager.h" #if PLATFORM_ID != 12 // Argon #error "This library only works on the Argon!" #else Logger BLEWiFiSetupManagerLogger("app.BLEWiFiSetupManager"); static const char * const security_strings[] = { "Unsecured", "WEP", "WPA", "WPA2", "WPA Enterprise", "WPA2 ...
37.350282
138
0.602329
Dan-Kouba
89043dbf1f38bae8210e8175078264b9da32b5f8
45,909
cpp
C++
thirdparty/ULib/src/ulib/file.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/file.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
thirdparty/ULib/src/ulib/file.cpp
liftchampion/nativejson-benchmark
6d575ffa4359a5c4230f74b07d994602a8016fb5
[ "MIT" ]
null
null
null
// ============================================================================ // // = LIBRARY // ULib - c++ library // // = FILENAME // file.cpp // // = AUTHOR // Stefano Casazza // // ============================================================================ #include <ulib/file.h> #include <ulib/tokenize...
25.95195
176
0.604326
liftchampion
890d5476cecb729bca2736c3f3ab450520e9ba7c
5,402
cpp
C++
artifact/storm/src/storm/logic/OperatorFormula.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/logic/OperatorFormula.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
null
null
null
artifact/storm/src/storm/logic/OperatorFormula.cpp
glatteis/tacas21-artifact
30b4f522bd3bdb4bebccbfae93f19851084a3db5
[ "MIT" ]
1
2022-02-05T12:39:53.000Z
2022-02-05T12:39:53.000Z
#include "storm/logic/OperatorFormula.h" #include "storm/adapters/RationalFunctionAdapter.h" #include "storm/exceptions/InvalidOperationException.h" namespace storm { namespace logic { OperatorInformation::OperatorInformation(boost::optional<storm::solver::OptimizationDirection> const& optimizationDirect...
43.918699
257
0.640133
glatteis
890f525a3cf7c1344787514185878473ed8cef74
7,055
cpp
C++
libs/sge_core/src/sge_core/model/EvaluatedModel.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
34
2021-06-15T10:24:49.000Z
2022-03-22T19:20:23.000Z
libs/sge_core/src/sge_core/model/EvaluatedModel.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
null
null
null
libs/sge_core/src/sge_core/model/EvaluatedModel.cpp
ongamex/SGEEngine
de17c10bd880e8175ea01588eeefeb70abfbc3d0
[ "MIT" ]
2
2021-12-29T01:15:22.000Z
2022-02-01T10:53:15.000Z
#include <functional> #include "sge_core/AssetLibrary/AssetLibrary.h" #include "sge_core/ICore.h" #include "sge_utils/math/transform.h" #include "sge_utils/utils/range_loop.h" #include "sge_core/materials/DefaultPBRMtl/DefaultPBRMtl.h" #include "EvaluatedModel.h" #include "Model.h" namespace sge { void EvaluatedMo...
36.554404
127
0.758044
ongamex
8912a0823e4a52fbc54131aef5aafc22c10407ec
770
hh
C++
include/a0/internal/test_util.hh
macmason/alephzero
9fbad46ca6ccb64f2d3c4ce5dea42910cefe761e
[ "Unlicense" ]
null
null
null
include/a0/internal/test_util.hh
macmason/alephzero
9fbad46ca6ccb64f2d3c4ce5dea42910cefe761e
[ "Unlicense" ]
null
null
null
include/a0/internal/test_util.hh
macmason/alephzero
9fbad46ca6ccb64f2d3c4ce5dea42910cefe761e
[ "Unlicense" ]
null
null
null
#pragma once #include <a0/common.h> #include <a0/internal/stream_tools.hh> #include <mutex> #include <set> #include <string> inline std::string str(a0_buf_t buf) { return std::string((char*)buf.ptr, buf.size); } inline std::string str(a0_stream_frame_t frame) { return str(a0::buf(frame)); } inline a0_buf_t bu...
19.74359
49
0.663636
macmason
8914ce413e9a5ae717ea8d30fcda918bdaef323f
1,318
hpp
C++
src/frameRouter.hpp
vashero/tachyon-game
5fc2daac314c0b3b19b7336f8eb29d81a5e05729
[ "BSD-3-Clause" ]
null
null
null
src/frameRouter.hpp
vashero/tachyon-game
5fc2daac314c0b3b19b7336f8eb29d81a5e05729
[ "BSD-3-Clause" ]
null
null
null
src/frameRouter.hpp
vashero/tachyon-game
5fc2daac314c0b3b19b7336f8eb29d81a5e05729
[ "BSD-3-Clause" ]
null
null
null
/*============================================================== * Copyright (c) 2009 Blake Fisher. All Rights Reserved. * * This software is released under the BSD License * <http://www.opensource.org/licenses/bsd-license.php> *============================================================== */ #pragma onc...
23.122807
65
0.592564
vashero
8920e011896e477d83c31cb60e5175c653894f61
1,065
cpp
C++
solutions/388.longest-absolute-file-path.368677880.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
78
2020-10-22T11:31:53.000Z
2022-02-22T13:27:49.000Z
solutions/388.longest-absolute-file-path.368677880.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
null
null
null
solutions/388.longest-absolute-file-path.368677880.ac.cpp
satu0king/Leetcode-Solutions
2edff60d76c2898d912197044f6284efeeb34119
[ "MIT" ]
26
2020-10-23T15:10:44.000Z
2021-11-07T16:13:50.000Z
pair<int, bool> getLength(string &file, int &i) { if (file[i] == '\n') i++; while (file[i] == '\t') i++; int l = 0; bool flag = false; while (i < file.length() && file[i] != '\n') { l++; if (file[i++] == '.') flag = true; } return {l, flag}; } int getLevel(string &file, int i) { i...
19.363636
53
0.453521
satu0king
8923ac6629e0dff5d2cdc6822f8a74b017234c26
7,250
cpp
C++
N-ary_Trie/code/trie.cpp
AjdeDjokovic/DataStructureCourseDesign
ea8c1cd422714ca39f8100927f044159c58fc74e
[ "MIT" ]
3
2020-05-15T20:33:54.000Z
2021-11-25T02:25:17.000Z
N-ary_Trie/code/trie.cpp
AjdeDjokovic/DataStructureCourseDesign
ea8c1cd422714ca39f8100927f044159c58fc74e
[ "MIT" ]
null
null
null
N-ary_Trie/code/trie.cpp
AjdeDjokovic/DataStructureCourseDesign
ea8c1cd422714ca39f8100927f044159c58fc74e
[ "MIT" ]
1
2022-03-10T13:48:45.000Z
2022-03-10T13:48:45.000Z
#include "trie.h" Trie::Trie() { pRoot = new TrieNode();//注意字典树的根不存放字符 } Trie::~Trie() { Destory(pRoot); pRoot = NULL; } /*插入一个单词*/ void Trie::Insert(const char* str,int row) { assert(NULL != str); int index; TrieNode* pLoc = pRoot; for (int i = 0;str[i];i++) { index = str[i]...
21.641791
73
0.458345
AjdeDjokovic
8924006c61e923ee862e99d0dc9eecc2fa1cff33
816
cpp
C++
src/core/lucky_rocket.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
3
2015-02-22T20:34:28.000Z
2020-03-04T08:55:25.000Z
src/core/lucky_rocket.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
22
2015-12-13T16:29:40.000Z
2017-03-04T15:45:44.000Z
src/core/lucky_rocket.cpp
Reaping2/Reaping2
0d4c988c99413e50cc474f6206cf64176eeec95d
[ "MIT" ]
14
2015-11-23T21:25:09.000Z
2020-07-17T17:03:23.000Z
#include "core/lucky_rocket.h" #include <portable_iarchive.hpp> #include <portable_oarchive.hpp> #include "platform/game_clock.h" LuckyRocket::LuckyRocket( int32_t Id ) : Weapon( Id ) { } LuckyRocket::LuckyRocket() : Weapon( -1 ) { } glm::vec3 LuckyRocket::GetMouseColor() const { double t = platform::Clo...
20.923077
125
0.654412
MrPepperoni
892550d90140f6542cec33fe21db8a85365de829
448
cpp
C++
src/engine/subsystems/graphics/graphics_subsystem.cpp
ukrainskiysergey/BallMaze
84d211ec0733fff7d2b13d5ffce707fb1813fe4e
[ "MIT" ]
null
null
null
src/engine/subsystems/graphics/graphics_subsystem.cpp
ukrainskiysergey/BallMaze
84d211ec0733fff7d2b13d5ffce707fb1813fe4e
[ "MIT" ]
null
null
null
src/engine/subsystems/graphics/graphics_subsystem.cpp
ukrainskiysergey/BallMaze
84d211ec0733fff7d2b13d5ffce707fb1813fe4e
[ "MIT" ]
null
null
null
#include "engine/subsystems/graphics/graphics_subsystem.h" void GraphicsSubSystem::addToRenderQueue(const std::weak_ptr<MeshRenderer>& meshRenderer) { renderQueue.push_back(meshRenderer); } void GraphicsSubSystem::addSpriteToRenderQueue(const std::weak_ptr<Sprite>& sprite) { spriteRenderQueue.push_back(sprite); } ...
26.352941
89
0.819196
ukrainskiysergey
892e14f04632d7279f9a48a75f47201216dbcebd
3,811
cpp
C++
RemoteControlGalileo/AV Capture/Kernel/Hardware.cpp
gurumobile/RemoteControlGalileoExam
f9c2ce62091a5a7076020a4375475a8d70079cb3
[ "MIT" ]
13
2015-06-03T13:58:35.000Z
2021-06-08T16:24:23.000Z
RemoteControlGalileo/AV Capture/Kernel/Hardware.cpp
gurumobile/RemoteControlGalileoExam
f9c2ce62091a5a7076020a4375475a8d70079cb3
[ "MIT" ]
null
null
null
RemoteControlGalileo/AV Capture/Kernel/Hardware.cpp
gurumobile/RemoteControlGalileoExam
f9c2ce62091a5a7076020a4375475a8d70079cb3
[ "MIT" ]
7
2015-08-28T14:00:21.000Z
2018-08-24T01:44:06.000Z
// // Copyright (c) 2013 Bohdan Marchuk. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, co...
34.963303
80
0.540278
gurumobile
892e323d26e73a1dff01db37106db5b2e3f9c9b0
16,047
cpp
C++
src/Mesh/OBJParser.cpp
jonaszell97/Mineshaft
0471445c0968987aabc7c7adec8f3c8747e66882
[ "MIT" ]
null
null
null
src/Mesh/OBJParser.cpp
jonaszell97/Mineshaft
0471445c0968987aabc7c7adec8f3c8747e66882
[ "MIT" ]
null
null
null
src/Mesh/OBJParser.cpp
jonaszell97/Mineshaft
0471445c0968987aabc7c7adec8f3c8747e66882
[ "MIT" ]
null
null
null
#include "OBJParser.h" #include "utils.h" #include <llvm/ADT/StringMap.h> #include <llvm/ADT/StringSwitch.h> #include <llvm/Support/FileSystem.h> #include <llvm/Support/MemoryBuffer.h> #include <llvm/Support/SaveAndRestore.h> #include <unordered_map> namespace { class OBJParser { /// Memory buffer of the object ...
24.574273
80
0.560042
jonaszell97
89318d142ff39d19edf90f327342f2b4a865792f
8,259
cpp
C++
examples/HelloPangolin/rosui_main.cpp
mocapNCTU/UI_Pangolin
fd2831112d504762b5f10973492758b1aa8380ed
[ "MIT" ]
null
null
null
examples/HelloPangolin/rosui_main.cpp
mocapNCTU/UI_Pangolin
fd2831112d504762b5f10973492758b1aa8380ed
[ "MIT" ]
1
2017-02-28T09:38:46.000Z
2017-04-24T05:36:03.000Z
examples/HelloPangolin/rosui_main.cpp
mocapNCTU/UI_Pangolin
fd2831112d504762b5f10973492758b1aa8380ed
[ "MIT" ]
null
null
null
#include <pangolin/pangolin.h> #include <pangolin/scene/axis.h> #include <pangolin/scene/scenehandler.h> #include <glm/glm.hpp> #include <glm/vec3.hpp> #include <iostream> // y // |_ x // / // z enum UI_option{ simulate3D=1,camview=2 }; int UI...
29.287234
140
0.635307
mocapNCTU
8934e3f86bde8a34d5dad8c8e4005d5acb3eb75c
642
cpp
C++
src/cpp/arbitrary/pattern1.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
1
2021-02-08T14:50:50.000Z
2021-02-08T14:50:50.000Z
src/cpp/arbitrary/pattern1.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
src/cpp/arbitrary/pattern1.cpp
ajaybiswas22/gfg-coding-problems
9484ff82f7fb7f663a15bc6058bc0bc24cd13015
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; void diamond(int rows) { int n = rows; //upper triangle for(int i=0;i<n;i++) { // left spaces for(int j=i;j<n;j++) { cout<<" "; } // stars for(int j=0;j<i*2 - 1;j++) { cout<<"*...
14.266667
34
0.356698
ajaybiswas22
8935cd98c56dae7f1dbc5abbaafac16987aa3082
905
cpp
C++
Week1/binarySearch.cpp
SukalpVishnoi/DAA-PRACTICL
fee6b3f42a90d96de01ccf6af417d7ed29dc30f5
[ "MIT" ]
null
null
null
Week1/binarySearch.cpp
SukalpVishnoi/DAA-PRACTICL
fee6b3f42a90d96de01ccf6af417d7ed29dc30f5
[ "MIT" ]
null
null
null
Week1/binarySearch.cpp
SukalpVishnoi/DAA-PRACTICL
fee6b3f42a90d96de01ccf6af417d7ed29dc30f5
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int binarySearch(int a[], int l, int k) { int b = 0, e = l - 1, no_of_comparison = 0; while (b <= e) { ++no_of_comparison; int mid = (b + e) / 2; if (a[mid] == k) { cout << "Present " << no_of_comparison << endl; ...
19.673913
59
0.426519
SukalpVishnoi
8937f6c7e030ebd594fc9f4f01ec9d9693dc2aee
8,962
cpp
C++
libs/sge_renderer/src/sge_renderer/gl/FrameTarget_gl.cpp
Alekssasho/sge_source
2db4ae08f7b3434d32dd9767fe1136234cb70b83
[ "MIT" ]
34
2021-06-15T10:24:49.000Z
2022-03-22T19:20:23.000Z
libs/sge_renderer/src/sge_renderer/gl/FrameTarget_gl.cpp
Alekssasho/sge_source
2db4ae08f7b3434d32dd9767fe1136234cb70b83
[ "MIT" ]
9
2021-03-04T21:34:03.000Z
2021-05-04T18:33:47.000Z
libs/sge_renderer/src/sge_renderer/gl/FrameTarget_gl.cpp
Alekssasho/sge_source
2db4ae08f7b3434d32dd9767fe1136234cb70b83
[ "MIT" ]
2
2021-12-29T01:15:22.000Z
2022-02-01T10:53:15.000Z
#include "GraphicsCommon_gl.h" #include "GraphicsInterface_gl.h" #include "Texture_gl.h" #include "FrameTarget_gl.h" namespace sge { //--------------------------------------------------------------- // FrameTargetGL //--------------------------------------------------------------- bool FrameTargetGL::create() { ret...
33.192593
136
0.719594
Alekssasho
893933d3ce19088a78a7019d9af26cf832a7b11d
2,594
cpp
C++
Emuall/gui/debugger/DebuggerNotebook.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
1
2021-03-04T03:52:39.000Z
2021-03-04T03:52:39.000Z
Emuall/gui/debugger/DebuggerNotebook.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
null
null
null
Emuall/gui/debugger/DebuggerNotebook.cpp
robojan/EmuAll
0a589136df9fefbfa142e605e1d3a0c94f726bad
[ "Apache-2.0" ]
null
null
null
#include "DebuggerNotebook.h" #include "DebuggerManager.h" #include "../../util/log.h" using namespace Debugger; DebuggerNotebook::DebuggerNotebook(Emulator *emu, const pugi::xml_node &node) : _emu(emu), _widget(NULL) { wxASSERT(strcmp(node.name(), "notebook") == 0); wxASSERT(emu != NULL); pugi::xml_object_range<...
26.469388
106
0.664996
robojan
8939a5d4f9042833445a566bfe6481764ff05dcb
982
hpp
C++
SDK/ARKSurvivalEvolved_PrimalItemConsumable_Seed_Mejoberry_SpeedHack_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_PrimalItemConsumable_Seed_Mejoberry_SpeedHack_classes.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_PrimalItemConsumable_Seed_Mejoberry_SpeedHack_classes.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_PrimalItemConsumable_Seed_Mejoberry_SpeedHack_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //---------------------------...
25.179487
160
0.705703
2bite
9f1374329d868a88bde82b81590dabfa9d1ea7fe
29,852
cpp
C++
Reseed.cpp
kytvi2p/i2pd
73d402525636276ac78aa92ea88535911e21928c
[ "BSD-3-Clause" ]
4
2015-09-28T16:01:55.000Z
2021-04-08T19:26:50.000Z
Reseed.cpp
kytvi2p/i2pd
73d402525636276ac78aa92ea88535911e21928c
[ "BSD-3-Clause" ]
null
null
null
Reseed.cpp
kytvi2p/i2pd
73d402525636276ac78aa92ea88535911e21928c
[ "BSD-3-Clause" ]
null
null
null
#include <string.h> #include <fstream> #include <sstream> #include <boost/regex.hpp> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <cryptopp/asn.h> #include <cryptopp/base64.h> #include <cryptopp/crc.h> #include <cryptopp/hmac.h> #include <cryptopp/zinflate.h> #define CRYPTOPP_ENABLE_NAMESP...
31.995713
134
0.659621
kytvi2p
9f18faf3358ee6a2ca33861fba38d4caa38aaa07
637
hh
C++
src/MQSensor.hh
wonder-engineering/diy_air_sensor
828f531bac4f6fc480e91b859cbf9f83be8814f8
[ "MIT" ]
null
null
null
src/MQSensor.hh
wonder-engineering/diy_air_sensor
828f531bac4f6fc480e91b859cbf9f83be8814f8
[ "MIT" ]
null
null
null
src/MQSensor.hh
wonder-engineering/diy_air_sensor
828f531bac4f6fc480e91b859cbf9f83be8814f8
[ "MIT" ]
null
null
null
// Copyright 2020 Brett M. Leedy /* MQSensor class This class implements the Sensor interface. It is instantiated by DiyAirSensor and managed in a SensorArray. See Sensor.hh for all public methods. */ #ifndef SRC_MQSENSOR_HH_ #define SRC_MQSENSOR_HH_ #include "Sensor.hh" class MQSensor : public Sensor...
21.965517
79
0.717425
wonder-engineering
9f1b4d7c795bd31bd8bdfc13f5219fb8c80a0e3c
310
cpp
C++
chapter03/ex02_m_to_k.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
124
2018-06-23T10:16:56.000Z
2022-03-19T15:16:12.000Z
chapter03/ex02_m_to_k.cpp
therootfolder/stroustrup-ppp
b1e936c9a67b9205fdc9712c42496b45200514e2
[ "MIT" ]
23
2018-02-08T20:57:46.000Z
2021-10-08T13:58:29.000Z
chapter03/ex02_m_to_k.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
65
2019-05-27T03:05:56.000Z
2022-03-26T03:43:05.000Z
#include "../text_lib/std_lib_facilities.h" int main() { cout << "Enter a measurement in miles to convert to kilometers:\n"; double miles; cin >> miles; double kilometers = miles * 1.609; cout << "There are " << kilometers << " kilometers in " << miles << " miles.\n"; }
23.846154
71
0.580645
ClassAteam
9f21122008ddfc683b1c7b5ea80d1b3c6046c06c
4,820
hpp
C++
include/Bubblewrap/Base/Entity.hpp
Dezzles/bubblewrap
d8a4c2e56c4253063e5dc5d6142e5c1de3e356cf
[ "MIT" ]
3
2015-04-13T22:59:34.000Z
2016-07-23T23:20:42.000Z
include/Bubblewrap/Base/Entity.hpp
Dezzles/bubblewrap
d8a4c2e56c4253063e5dc5d6142e5c1de3e356cf
[ "MIT" ]
4
2015-04-10T01:20:14.000Z
2015-05-20T01:23:15.000Z
include/Bubblewrap/Base/Entity.hpp
Dezzles/bubblewrap
d8a4c2e56c4253063e5dc5d6142e5c1de3e356cf
[ "MIT" ]
null
null
null
#ifndef BUBBLEWRAP_BASE_ENTITY_HPP #define BUBBLEWRAP_BASE_ENTITY_HPP #include "Bubblewrap/Base/Base.hpp" #include "Bubblewrap/Base/Defines.hpp" #include "Bubblewrap/Math/Vector3.hpp" #include "json/json.h" namespace Bubblewrap { namespace Events { class EventManager; } namespace Base { EMPTY_POINTER( Entit...
29.753086
112
0.663278
Dezzles
9f256bdb01809ddb23943ac0446102a9018d4526
3,210
hpp
C++
c/src/xkms/impl/XKMSCompoundRequestImpl.hpp
douglascrp/xmlsec-mityc-sinadura
cf63024481914be33ae3a06ef1cc7629dd59aa0f
[ "Apache-2.0" ]
null
null
null
c/src/xkms/impl/XKMSCompoundRequestImpl.hpp
douglascrp/xmlsec-mityc-sinadura
cf63024481914be33ae3a06ef1cc7629dd59aa0f
[ "Apache-2.0" ]
null
null
null
c/src/xkms/impl/XKMSCompoundRequestImpl.hpp
douglascrp/xmlsec-mityc-sinadura
cf63024481914be33ae3a06ef1cc7629dd59aa0f
[ "Apache-2.0" ]
2
2018-08-10T18:54:23.000Z
2018-08-10T18:56:27.000Z
/* * Copyright 2004-2005 The Apache Software Foundation. * * 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...
25.887097
75
0.774766
douglascrp
9f2629e3a76ff3d422b45d2a4e22d9e492afc920
11,169
cpp
C++
src/solid/face.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:20.000Z
2021-03-05T17:35:20.000Z
src/solid/face.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
null
null
null
src/solid/face.cpp
tjayrush/vraniml
62d78d5ea5eb34ffacc08c22e92fa86a02096ccb
[ "MIT" ]
1
2021-03-05T17:35:35.000Z
2021-03-05T17:35:35.000Z
//------------------------------------------------------------------------- // Copyright (c) 1997-1998 Great Hill Corporation // All Rights Reserved. //------------------------------------------------------------------------- #include "Kramer.h" #include "Solid.h" #include "Face.h" #include "Vertex.h" SFBoo...
20.197107
84
0.555466
tjayrush
9f2a08519ca8152cf040f5a681de0e50ccb4ae2e
18,524
cpp
C++
uwsim_resources/uwsim_osgworks/tests/decimationdebugviewer/decimationdebugviewer.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
1
2020-11-30T09:55:33.000Z
2020-11-30T09:55:33.000Z
uwsim_resources/uwsim_osgworks/tests/decimationdebugviewer/decimationdebugviewer.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
null
null
null
uwsim_resources/uwsim_osgworks/tests/decimationdebugviewer/decimationdebugviewer.cpp
epsilonorion/usv_lsa_sim_copy
d189f172dc1d265b7688c7dc8375a65ac4a9c048
[ "Apache-2.0" ]
2
2020-11-21T19:50:54.000Z
2020-12-27T09:35:29.000Z
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * osgWorks is (C) Copyright 2009-2012 by Kenneth Mark Bryden * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1 as published by the Fr...
37.650407
318
0.598413
epsilonorion
9f2c9e0d05bb58171c5c0161901595fbda73d436
4,296
cpp
C++
.RemoteTalk/Plugin/RemoteTalkSAPI/rtspTalkServer.cpp
i-saint/RemoteTalk
3ac2528ab66ed923cb9c56596944effdeaecee50
[ "MIT" ]
36
2018-12-18T22:33:36.000Z
2021-10-31T07:03:15.000Z
.RemoteTalk/Plugin/RemoteTalkSAPI/rtspTalkServer.cpp
i-saint/RemoteTalk
3ac2528ab66ed923cb9c56596944effdeaecee50
[ "MIT" ]
1
2020-04-04T16:13:43.000Z
2020-04-05T05:08:17.000Z
.RemoteTalk/Plugin/RemoteTalkSAPI/rtspTalkServer.cpp
i-saint/RemoteTalk
3ac2528ab66ed923cb9c56596944effdeaecee50
[ "MIT" ]
3
2019-04-12T17:37:23.000Z
2020-09-30T15:50:31.000Z
#include "pch.h" #include "rtspHookHandler.h" #include "rtspTalkServer.h" namespace rtsp { TalkServer::TalkServer() { HRESULT hr = m_voice.CoCreateInstance(CLSID_SpVoice); if (FAILED(hr)) { return; } rt::OverrideWaveOutIAT(::GetModuleHandleA("sapi.dll")); auto& wo = WaveOutHandler::getIns...
23.866667
90
0.594041
i-saint
9f2cfc36e61f52d1f5cdd0cc1ca1ade63b11bddd
1,823
cpp
C++
ui/widget/panel/PathPanelWidget.cpp
shinehanx/openphoto
e4466e5e80829385d2aa84813f2d5a8960053845
[ "Apache-2.0" ]
5
2021-03-11T00:30:25.000Z
2021-07-28T00:31:20.000Z
ui/widget/panel/PathPanelWidget.cpp
shinehanx/openphoto
e4466e5e80829385d2aa84813f2d5a8960053845
[ "Apache-2.0" ]
null
null
null
ui/widget/panel/PathPanelWidget.cpp
shinehanx/openphoto
e4466e5e80829385d2aa84813f2d5a8960053845
[ "Apache-2.0" ]
1
2021-09-14T16:28:26.000Z
2021-09-14T16:28:26.000Z
#include "PathPanelWidget.h" #define PATHPANELWIDGET_HPANELWIDGET_MARGIN 1 #define PATHPANELWIDGET_HPANELWIDGET_W 50 #define PATHPANELWIDGET_HPANELWIDGET_ITEM_MARGIN 8 #define PATHPANELWIDGET_HPANELWIDGET_ITEM_HT 28 #define PATHPANELWIDGET_HPANELWIDGET_ITEM_WT 30 #define PATHWIDGET_HT 90 #define CHROMATOGRAMWIDGET_HT...
32.553571
117
0.747669
shinehanx
9f2db98150bbce8cc05387b716b10514bbdb8f09
2,074
cpp
C++
src/msspeech-gbridge-cli.cpp
technicianted/msspeech-gbridge
523ad53cd8f2ddd78faa80024b04f6b911241c4a
[ "MIT" ]
2
2018-02-20T08:45:43.000Z
2018-02-27T03:33:25.000Z
src/msspeech-gbridge-cli.cpp
technicianted/msspeech-gbridge
523ad53cd8f2ddd78faa80024b04f6b911241c4a
[ "MIT" ]
null
null
null
src/msspeech-gbridge-cli.cpp
technicianted/msspeech-gbridge
523ad53cd8f2ddd78faa80024b04f6b911241c4a
[ "MIT" ]
1
2021-05-05T01:06:08.000Z
2021-05-05T01:06:08.000Z
#include <getopt.h> #include <stdlib.h> #include <string> #include <iostream> std::string logLevel = "info"; std::string subscriptionKey; std::string gstTransformerEndpoint; std::string listenEndpoint; int maxSessions = 0; int parse_opt(int argc, char **argv) { char *value = getenv("MSSPEECH_SUBSCRIPTION_KEY"); ...
28.027027
109
0.577628
technicianted
9f3a800372475d78d5ee5bddad61812cd6bd875a
534
cpp
C++
Actalogic/Actalogic/EntityWireDown.cpp
iwa-yuki/Actalogic
5872bd4b2c107c2a210a91c1b296ef978777dd6e
[ "MIT" ]
null
null
null
Actalogic/Actalogic/EntityWireDown.cpp
iwa-yuki/Actalogic
5872bd4b2c107c2a210a91c1b296ef978777dd6e
[ "MIT" ]
null
null
null
Actalogic/Actalogic/EntityWireDown.cpp
iwa-yuki/Actalogic
5872bd4b2c107c2a210a91c1b296ef978777dd6e
[ "MIT" ]
null
null
null
#include "pch.h" #include "EntityWireDown.h" EntityWireDown::EntityWireDown() : EntityWireDown({ 0, 0 }) { } EntityWireDown::EntityWireDown(const POINT &pt, bool removable) : EntityActalogicCell(pt, ActalogicCellType::WIRE_DOWN, removable) { } EntityWireDown::~EntityWireDown() { } void EntityWireDown::OnPreRender(...
20.538462
74
0.769663
iwa-yuki
9f3afa7187a7b5d7de1d635f160e53578a4524f0
1,692
hpp
C++
core/os/libs/pthreads/cogs/os/sync/semaphore.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
5
2019-02-08T15:59:14.000Z
2022-01-22T19:12:33.000Z
core/os/libs/pthreads/cogs/os/sync/semaphore.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
1
2019-12-03T03:11:34.000Z
2019-12-03T03:11:34.000Z
core/os/libs/pthreads/cogs/os/sync/semaphore.hpp
cogmine/cogs
ef1c369a36a4f811704e0ced0493c3a6f8eca821
[ "MIT" ]
null
null
null
// // Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC // // Status: Good #ifndef COGS_HEADER_OS_SYNC_SEMAPHORE #define COGS_HEADER_OS_SYNC_SEMAPHORE #include <errno.h> #include <pthread.h> #include <semaphore.h> #include <time.h> #include "cogs/env.hpp" #i...
16.588235
92
0.596927
cogmine
9f3f100c68bec3ad995b799521a4819d0c9e37bd
7,998
cpp
C++
graffiti/src/application.cpp
mugulmd/glez
661b14e897ee940ce21ff2ffc5878db0c25aecf4
[ "MIT" ]
null
null
null
graffiti/src/application.cpp
mugulmd/glez
661b14e897ee940ce21ff2ffc5878db0c25aecf4
[ "MIT" ]
null
null
null
graffiti/src/application.cpp
mugulmd/glez
661b14e897ee940ce21ff2ffc5878db0c25aecf4
[ "MIT" ]
null
null
null
#include "GL/glew.h" #include "GLFW/glfw3.h" #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include <iostream> #include <string> #include "glez.h" #include "graffiti_scene.h" #include <glm/vec2.hpp> #include <glm/vec4.hpp> /* Core program */ enum class Activity { Select, Pai...
28.361702
91
0.580395
mugulmd
9f3ff9ca20f6d860fe85db311f54a4e21aa66260
2,120
cc
C++
Files/Chamber.cc
RebeccaSue/cc3k
17c3cc021d31e095059873ba5f55a32bbb988574
[ "Unlicense" ]
1
2021-03-05T22:56:06.000Z
2021-03-05T22:56:06.000Z
Files/Chamber.cc
RebeccaSue/cc3k
17c3cc021d31e095059873ba5f55a32bbb988574
[ "Unlicense" ]
null
null
null
Files/Chamber.cc
RebeccaSue/cc3k
17c3cc021d31e095059873ba5f55a32bbb988574
[ "Unlicense" ]
null
null
null
#include <iostream> #include "Chamber.h" #include "Floor.h" using namespace std; Chamber::Chamber(int chamberId, Floor* theFloor): chamberId{chamberId}, theFloor{theFloor} { switch(chamberId) { case 0: //Top left chamber topRow = 3; leftCol = 3; rowSpan = 26; colSpa...
22.795699
120
0.524528
RebeccaSue
9f42eea2e1488c2fd6c3d2dc658c011400395963
7,796
cpp
C++
data/509.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/509.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
data/509.cpp
TianyiChen/rdcpp-data
75c6868c876511e3ce143fdc3c08ddd74c7aa4ea
[ "MIT" ]
null
null
null
int qXO,EDDl , KlH1,j8D , RakqRZ , nZY ,// Tx,iI8//FTj ,GSq , Yd ,n5 ,Qc ,ncj // ,// r1wD/*E*//*OXC*/, k5 , s6Ov2 ,aM,oaNSq ,rhu , gX , H1 /**/ , A7w , AvQXj , zS , uRL ,t8X/*i1*/ ,Q6 , IL,uk; void f_f0(){ int mhB3;volatile int mOaQ ,HQ , gy, wQ6H4,TmF ,VMnBK , O ; //Ca ;mhB3 = O + mOaQ +/*ek4...
10.873082
59
0.443176
TianyiChen
9f46299b5310c011d9d1b018da294c67c5aaaf56
410
cpp
C++
GDP_Feeney_201718/cAnimationState.cpp
bharodiyadhaval/Animation_Project_01
59a0d8971ca04f21320d1a643ceb31f5d44f89d0
[ "Apache-2.0" ]
null
null
null
GDP_Feeney_201718/cAnimationState.cpp
bharodiyadhaval/Animation_Project_01
59a0d8971ca04f21320d1a643ceb31f5d44f89d0
[ "Apache-2.0" ]
null
null
null
GDP_Feeney_201718/cAnimationState.cpp
bharodiyadhaval/Animation_Project_01
59a0d8971ca04f21320d1a643ceb31f5d44f89d0
[ "Apache-2.0" ]
null
null
null
#include "cAnimationState.h" // Returns true if time had to be reset // (for checking to see if the animation has finished or not) bool cAnimationState::sStateDetails::IncrementTime(bool bResetToZero /*=true*/) { bool bDidWeReset = false; this->currentTime += this->frameStepTime; if ( this->currentTime >= this->to...
22.777778
79
0.719512
bharodiyadhaval
9f6275ed0e6e539a4873e633001de397a8312c59
4,191
hpp
C++
src/misc/type-helpers.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/misc/type-helpers.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/misc/type-helpers.hpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. As long as you retain this notice you // can do whatever you want with this stuff. If we meet some day, and you think // this stuff is worth it, you can buy me...
32.742188
97
0.645192
tilnewman
9f64af02e6986ca07de8b63fc5278e74dd9233a9
11,185
cpp
C++
third_party/llvm-10.0/llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
sunnycase/swiftshader
592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc
[ "Apache-2.0" ]
1,570
2016-06-30T10:40:04.000Z
2022-03-31T01:47:33.000Z
third_party/llvm-10.0/llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
sunnycase/swiftshader
592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc
[ "Apache-2.0" ]
59
2019-02-26T18:57:27.000Z
2020-08-04T20:49:55.000Z
third_party/llvm-10.0/llvm/lib/Target/ARM/MVEGatherScatterLowering.cpp
sunnycase/swiftshader
592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc
[ "Apache-2.0" ]
253
2016-06-30T18:57:10.000Z
2022-03-25T03:57:40.000Z
//===- MVEGatherScatterLowering.cpp - Gather/Scatter lowering -------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
37.036424
80
0.658561
sunnycase
9f675d15da87ce300849d540fc67c3c6644295cb
66
hh
C++
pantry/egg/include/egg/apply.hh
nacl/CMakeCooking
4f6f6c266310026580331b0732239cfd1d76f72f
[ "Apache-2.0" ]
1
2021-07-01T09:25:41.000Z
2021-07-01T09:25:41.000Z
pantry/egg/include/egg/apply.hh
nacl/CMakeCooking
4f6f6c266310026580331b0732239cfd1d76f72f
[ "Apache-2.0" ]
null
null
null
pantry/egg/include/egg/apply.hh
nacl/CMakeCooking
4f6f6c266310026580331b0732239cfd1d76f72f
[ "Apache-2.0" ]
1
2019-02-09T17:29:59.000Z
2019-02-09T17:29:59.000Z
#pragma once namespace egg { int apply(int); } // namespace egg
9.428571
18
0.681818
nacl
9f71a572aeeb65c7c6819cf81b1f4a91c0f70dd2
478
cpp
C++
actividades/sesion5/EstebanVidiella/ejercicio6.cpp
GonzaCDZ/Programacion-I
860a39de6b6f337829358881bec5111f9ae25bad
[ "MIT" ]
1
2019-01-12T18:13:54.000Z
2019-01-12T18:13:54.000Z
actividades/sesion5/EstebanVidiella/ejercicio6.cpp
GonzaCDZ/Programacion-I
860a39de6b6f337829358881bec5111f9ae25bad
[ "MIT" ]
1
2018-10-14T18:12:28.000Z
2018-10-14T18:12:28.000Z
actividades/sesion5/EstebanVidiella/ejercicio6.cpp
GonzaCDZ/Programacion-I
860a39de6b6f337829358881bec5111f9ae25bad
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main(void) { int a, suma, opc; suma=0; opc=0; while(opc!=1 ){ opc=0; cout << "\nIntroduzca un numero entero: " << endl; cin >> a; suma=suma+a; cout << "Desea introducir otro numero? Si desea parar introduzca 1, sino...
17.071429
111
0.550209
GonzaCDZ
9f73c1db2b9902f79c18d17eaeee4200f62a666f
3,180
cpp
C++
Userland/Utilities/tee.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
2
2022-02-16T02:12:38.000Z
2022-02-20T18:40:41.000Z
Userland/Utilities/tee.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
Userland/Utilities/tee.cpp
densogiaichned/serenity
99c0b895fed02949b528437d6b450d85befde7a5
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2022, Kenneth Myhra <kennethmyhra@gmail.com> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/Vector.h> #include <LibCore/ArgsParser.h> #include <LibCore/System.h> #include <LibMain/Main.h> #include <fcntl.h> #include <sig...
28.648649
113
0.591824
densogiaichned
9f77fb9ce968f93eafe176062c7451241e1f0b35
17,131
cpp
C++
app/sources/SearchBar.cpp
jmigot/films_kollection
02b696561098a9263a6d57e4ba10634a887de19a
[ "MIT" ]
null
null
null
app/sources/SearchBar.cpp
jmigot/films_kollection
02b696561098a9263a6d57e4ba10634a887de19a
[ "MIT" ]
null
null
null
app/sources/SearchBar.cpp
jmigot/films_kollection
02b696561098a9263a6d57e4ba10634a887de19a
[ "MIT" ]
null
null
null
/** * QToolBar to propose a search engine for films informations * * @date April 2011 * @author Jean-Luc Migot (jean-luc.migot@filmskollection.org) * * * Copyright (C) 2011 Jean-Luc Migot * * This file is part of FilmsKollection. * * FilmsKollection is free software: you can redistribute it and/or modify *...
25.956061
162
0.601424
jmigot
9f78a7a8b1c88e699e7ef8714d0a104e0aac2df4
748
cpp
C++
test/test_handler/test_enhancer.cpp
authenticateduserdata/RobustPalmRoi
b17c058fae6c1f2f600aff2ecdf5b1e4e6508eb3
[ "MIT" ]
15
2018-10-07T05:28:25.000Z
2022-02-24T09:18:34.000Z
test/test_handler/test_enhancer.cpp
authenticateduserdata/RobustPalmRoi
b17c058fae6c1f2f600aff2ecdf5b1e4e6508eb3
[ "MIT" ]
16
2018-10-08T13:11:31.000Z
2020-12-22T11:36:42.000Z
test/test_handler/test_enhancer.cpp
authenticateduserdata/RobustPalmRoi
b17c058fae6c1f2f600aff2ecdf5b1e4e6508eb3
[ "MIT" ]
5
2019-06-21T06:27:00.000Z
2021-11-09T11:13:47.000Z
// Copyright (c) 2018 leosocy. All rights reserved. // Use of this source code is governed by a MIT-style license // that can be found in the LICENSE file. #include "test_base.h" #include "handler/handler.h" namespace { using cv::Mat; using rpr::Status; class EnhancerTestFixture : public RobustPalmRoiTestFixtureBa...
24.933333
80
0.747326
authenticateduserdata
9f7d6894a2d2f502710e18a637e2ccd1dfa73eaf
9,096
cpp
C++
src/eval.cpp
brainboxdotcc/evalbot
b060fdaf29288512e8de1c87940e576d1ec1141f
[ "Apache-2.0" ]
1
2022-02-09T19:01:47.000Z
2022-02-09T19:01:47.000Z
src/eval.cpp
brainboxdotcc/evalbot
b060fdaf29288512e8de1c87940e576d1ec1141f
[ "Apache-2.0" ]
null
null
null
src/eval.cpp
brainboxdotcc/evalbot
b060fdaf29288512e8de1c87940e576d1ec1141f
[ "Apache-2.0" ]
null
null
null
/** * D++ eval command example. * This is dangerous and for educational use only, here be dragons! */ #include <dpp/dpp.h> #include <dpp/nlohmann/json.hpp> #include <dpp/fmt/format.h> #include <fstream> #include <iostream> /* We have to define this to make certain functions visible */ #ifndef _GNU_SOURCE #d...
36.384
151
0.668755
brainboxdotcc
9f7da0c3daca7d747dc5df03207dbeaf1dd59b00
1,110
cpp
C++
DDOCP/WeaponGroup.cpp
shortydude/DDOBuilder-learning
e71162c10b81bb4afd0365e61088437353cc4607
[ "MIT" ]
null
null
null
DDOCP/WeaponGroup.cpp
shortydude/DDOBuilder-learning
e71162c10b81bb4afd0365e61088437353cc4607
[ "MIT" ]
null
null
null
DDOCP/WeaponGroup.cpp
shortydude/DDOBuilder-learning
e71162c10b81bb4afd0365e61088437353cc4607
[ "MIT" ]
null
null
null
// WeaponGroup.cpp // #include "stdafx.h" #include "WeaponGroup.h" WeaponGroup::WeaponGroup( const std::string & name) : m_groupName(name) { } WeaponGroup::~WeaponGroup() { } const std::string WeaponGroup::Name() const { return m_groupName; } bool WeaponGroup::HasWeapon(WeaponType wt) const { //...
19.821429
72
0.601802
shortydude
9f8f5fcaa9cc7ba7be80f63f02452122739adce2
350
hpp
C++
Source/StartupLevel.hpp
MadLadSquad/UVKSpaceInvaders
aa9d3ae0173aac36064038acc47054c2cee90699
[ "MIT" ]
null
null
null
Source/StartupLevel.hpp
MadLadSquad/UVKSpaceInvaders
aa9d3ae0173aac36064038acc47054c2cee90699
[ "MIT" ]
null
null
null
Source/StartupLevel.hpp
MadLadSquad/UVKSpaceInvaders
aa9d3ae0173aac36064038acc47054c2cee90699
[ "MIT" ]
null
null
null
#pragma once #include "Game.hpp" namespace UVK { class StartupLevel : public UVK::Level { public: StartupLevel() { } virtual void endPlay() override; virtual void beginPlay() override; virtual void tick(float deltaTime) override; virtual ~Start...
18.421053
52
0.58
MadLadSquad
9f95564d8f275ed7b0f34f6e9a4987b1df666bbb
1,999
cpp
C++
expr1.cpp
t3nsor/SPOJ
f229b4ffa7b32aebd8cd29f19bc213a2b640fe1f
[ "Unlicense" ]
264
2015-01-08T10:07:01.000Z
2022-03-26T04:11:51.000Z
expr1.cpp
t3nsor/SPOJ
f229b4ffa7b32aebd8cd29f19bc213a2b640fe1f
[ "Unlicense" ]
17
2016-04-15T03:38:07.000Z
2020-10-30T00:33:57.000Z
expr1.cpp
t3nsor/SPOJ
f229b4ffa7b32aebd8cd29f19bc213a2b640fe1f
[ "Unlicense" ]
127
2015-01-08T04:56:44.000Z
2022-02-25T18:40:37.000Z
// 2021-10-10 #include <algorithm> #include <iostream> #include <string> #include <vector> using namespace std; void do_testcase() { int n, k; cin >> n >> k; n /= 2; string expr; cin >> expr; // dp[i][j][m]: minimum number of left parens required to get a sum of m, // assuming that we've used the first ...
32.241935
78
0.418209
t3nsor
7a08955bf1a619b189a6687e25b10ea4199eab27
1,393
cc
C++
src/core/formatters/text_formatter.cc
zhangsu/ccspec
bec1e7972e2cac7cf239983d86d8373026809abe
[ "MIT" ]
29
2015-01-13T14:17:13.000Z
2021-07-17T19:13:53.000Z
src/core/formatters/text_formatter.cc
zhangsu/ccspec
bec1e7972e2cac7cf239983d86d8373026809abe
[ "MIT" ]
7
2015-06-21T20:12:04.000Z
2017-05-17T15:18:00.000Z
src/core/formatters/text_formatter.cc
zhangsu/ccspec
bec1e7972e2cac7cf239983d86d8373026809abe
[ "MIT" ]
11
2015-01-16T15:58:21.000Z
2018-07-25T13:15:14.000Z
#include <iostream> #include "ccspec/core/formatters/text_formatter.h" namespace ccspec { namespace core { namespace formatters { using std::endl; using std::exception; using std::exception_ptr; using std::list; using std::ostream; using std::rethrow_exception; // Public methods. void TextFormatter::afterEachHookFa...
24.017241
77
0.718593
zhangsu
7a0dd4853bba451419a788c97af20a2a924b5c45
523
cpp
C++
src/clock.cpp
jmscreation/GameAPIs
c2415c01bbfc54a32c03e860af810cb87a94bda5
[ "MIT" ]
null
null
null
src/clock.cpp
jmscreation/GameAPIs
c2415c01bbfc54a32c03e860af810cb87a94bda5
[ "MIT" ]
null
null
null
src/clock.cpp
jmscreation/GameAPIs
c2415c01bbfc54a32c03e860af810cb87a94bda5
[ "MIT" ]
null
null
null
#include "clock.h" Clock::Clock() { restart(); } double Clock::getSeconds() const { return getMilliseconds() / 1000.0; } double Clock::getMilliseconds() const { return double(std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now() - start).count()) / 1000.0; } void Clock::...
22.73913
132
0.669216
jmscreation
7a10dd5d4e1c4f3816292e8bbce703979cee1d2d
1,559
hpp
C++
include/lastfmpp/detail/deserialise_image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
include/lastfmpp/detail/deserialise_image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
include/lastfmpp/detail/deserialise_image.hpp
chrismanning/lastfmpp
59439e62d2654359a48f8244a4b69b95d398beb3
[ "MIT" ]
null
null
null
/************************************************************************** ** Copyright (C) 2015 Christian Manning ** ** This software may be modified and distributed under the terms ** of the MIT license. See the LICENSE file for details. **************************************************************************/ #...
35.431818
108
0.604233
chrismanning
7a160aec100668d186e00ffc4416f28d29950af3
5,579
cpp
C++
src/Enemy.cpp
baschermann/BlackCrow
df36c6f9ce5c2a57d6fb0e7bde9729b402f810cc
[ "Apache-2.0" ]
7
2017-03-16T03:48:05.000Z
2017-09-07T00:27:41.000Z
src/Enemy.cpp
baschermann/BlackCrow
df36c6f9ce5c2a57d6fb0e7bde9729b402f810cc
[ "Apache-2.0" ]
1
2017-03-17T13:56:31.000Z
2017-03-17T13:56:31.000Z
src/Enemy.cpp
baschermann/BlackCrow
df36c6f9ce5c2a57d6fb0e7bde9729b402f810cc
[ "Apache-2.0" ]
1
2017-03-17T07:28:56.000Z
2017-03-17T07:28:56.000Z
#include "Enemy.h" #include "EnemyUnit.h" #include <assert.h> #include <BWEM/bwem.h> #include "BlackCrow.h" #include "Map.h" namespace BlackCrow { using namespace BWAPI; using namespace Filter; Enemy::Enemy(BlackCrow &parent) : bc(parent) {} void Enemy::onStart() {} void Enemy::enemyDiscovered(BWAPI::Unit uni...
29.675532
134
0.635419
baschermann
7a1e36c57f59a5c8e2997ba2446751034fea39fb
4,497
cpp
C++
src/LogReceiverServer.cpp
md-w/httpserver
41645e5632f17dd931ee3ba4f1947e78ae9f3172
[ "MIT" ]
null
null
null
src/LogReceiverServer.cpp
md-w/httpserver
41645e5632f17dd931ee3ba4f1947e78ae9f3172
[ "MIT" ]
null
null
null
src/LogReceiverServer.cpp
md-w/httpserver
41645e5632f17dd931ee3ba4f1947e78ae9f3172
[ "MIT" ]
null
null
null
#include "LogReceiverServer.h" #include <Poco/Net/NetException.h> #include <Poco/Net/SocketAddress.h> #include <Poco/Net/SocketStream.h> #include <Poco/Net/StreamSocket.h> #include <logging.h> #include "CentralDataRepo.h" #include "interfaces/status.pb.h" #define FUNC_TYPE_DATA 1 #define FUNC_TYPE_EOF 2 enum class ...
28.826923
100
0.586836
md-w
7a25229e03588f8c7169b2b6d6e506c76d64f9a1
224
cxx
C++
dep/res/res/triangle_vert_spv_decl.cxx
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
2
2019-05-04T19:33:26.000Z
2019-06-29T13:19:33.000Z
dep/res/res/triangle_vert_spv_decl.cxx
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
13
2019-05-05T12:40:54.000Z
2020-02-29T20:32:11.000Z
dep/res/res/triangle_vert_spv_decl.cxx
phoenix-engine/phoenix
c3285482ee507b566a1c38da071439dab507a877
[ "MIT" ]
4
2018-09-15T21:59:08.000Z
2019-05-04T20:19:07.000Z
#include "mapper.hpp" namespace res { const size_t Mapper::triangle_vert_spv_len = 1468; const unsigned char Mapper::triangle_vert_spv[] = { #include "triangle_vert_spv_real.cxx" }; }; // namespace res
24.888889
61
0.6875
phoenix-engine
7a254b2bc7bb1861fd7116486a9b5d1c76372725
24,547
cpp
C++
tests/suite/src/lia/testVector.cpp
jegabe/libacross
2e2bea3ac15087bf7477c8bc7a278cdf601d694e
[ "Unlicense", "MIT" ]
2
2019-09-06T08:25:10.000Z
2019-09-06T08:25:35.000Z
tests/suite/src/lia/testVector.cpp
jegabe/libacross
2e2bea3ac15087bf7477c8bc7a278cdf601d694e
[ "Unlicense", "MIT" ]
null
null
null
tests/suite/src/lia/testVector.cpp
jegabe/libacross
2e2bea3ac15087bf7477c8bc7a278cdf601d694e
[ "Unlicense", "MIT" ]
null
null
null
/* +-----------------------------------+ | | | A | | A A | | A A | | A A | | # AAAAAAAAAAAAAAAAAAAAAAAAA # | | ### A A ### | | ###### A...
31.430218
100
0.649407
jegabe
7a28192aa504e69990244df0fdf4ce2efe43355a
4,953
cpp
C++
Threading/A4_Timed_Mutex.cpp
azippay/A4_Lib
371a729bbe515599c586a58a5cdb74106d31592c
[ "MIT" ]
null
null
null
Threading/A4_Timed_Mutex.cpp
azippay/A4_Lib
371a729bbe515599c586a58a5cdb74106d31592c
[ "MIT" ]
null
null
null
Threading/A4_Timed_Mutex.cpp
azippay/A4_Lib
371a729bbe515599c586a58a5cdb74106d31592c
[ "MIT" ]
null
null
null
/** * \brief Wrapper around std::timed_mutex to 1) normalize errors, flag common errors * \author a. zippay * 2017..2020 * \file A4_Timed_Mutex.cpp * * * * Copyright 1995..2020 a. zippay * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docum...
37.522727
217
0.704825
azippay
7a29bfe86a399751a34978f4e23a88b676cca7a5
1,505
cpp
C++
src/algorithmes/BestFit.cpp
shawnvosburg/BinPacking
20d12e2bc018e1687ac03f27cac65a59665413f2
[ "BSL-1.0" ]
null
null
null
src/algorithmes/BestFit.cpp
shawnvosburg/BinPacking
20d12e2bc018e1687ac03f27cac65a59665413f2
[ "BSL-1.0" ]
null
null
null
src/algorithmes/BestFit.cpp
shawnvosburg/BinPacking
20d12e2bc018e1687ac03f27cac65a59665413f2
[ "BSL-1.0" ]
null
null
null
#include <algorithm> #include "BestFit.hpp" BestFit::BestFit(/* args */) { nomAlgo = "Best Fit"; } BestFit::~BestFit() { } /* Implémentation de l'algorithme */ void BestFit::faireBinpacking(std::vector<Conteneur*>& sortie, std::vector<float> items) { // Iteration sur les N items for(auto item: items...
25.508475
135
0.550831
shawnvosburg
7a2a3ed936881b4b9ddc3a680b478fbdef148985
3,266
cpp
C++
programs/cryfuture/main.cpp
chain2future-os/future-core
030a2be7be92f205439334bd9a848843b0922cb0
[ "MIT" ]
null
null
null
programs/cryfuture/main.cpp
chain2future-os/future-core
030a2be7be92f205439334bd9a848843b0922cb0
[ "MIT" ]
null
null
null
programs/cryfuture/main.cpp
chain2future-os/future-core
030a2be7be92f205439334bd9a848843b0922cb0
[ "MIT" ]
null
null
null
#include <fc/crypto/aes.hpp> #include <fc/crypto/hex.hpp> #include <string.h> #include <openssl/md5.h> int main(int argc, char** argv) { /* usage: ./cryfuture [-ed] key [plain | cipher] */ const char* usage = "usage: ./cryfuture [-ed] key [plain | cipher]\nencrypt example: ./cryfuture -e future888 ugas12345678\...
32.336634
130
0.515615
chain2future-os
7a310d235eab68001bc84eb17972b4189989a3c5
4,016
cpp
C++
Chapter 16/16.9_vect3.cpp
Reavolt/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
3
2021-10-04T11:59:10.000Z
2022-01-05T22:26:12.000Z
Chapter 16/16.9_vect3.cpp
Hitoku/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
null
null
null
Chapter 16/16.9_vect3.cpp
Hitoku/Cpp-Primer-Plus
491876ca0808d55cb688d575ec4688b087387810
[ "Unlicense" ]
3
2018-11-22T17:34:42.000Z
2020-09-19T09:39:19.000Z
//vect3.cpp — использование функций STL //#include "stdafx.h" --- Visual Studio --- precompiled headers #include <iostream> #include <string> #include <vector> #include <algorithm> //------------------------------------------------------------------------------------------------- struct Review { std::string title; ...
30.656489
99
0.536604
Reavolt
7a3b4a78f0da8a4d2e610f20cb5633e091320553
821
hpp
C++
userinterface.hpp
synap5e/comp-308-project
77a8f8ccb308f2e27d3ab13049f0f7420ed6d9c4
[ "MIT" ]
2
2015-01-22T21:23:50.000Z
2017-08-25T03:06:44.000Z
userinterface.hpp
synap5e/comp-308-project
77a8f8ccb308f2e27d3ab13049f0f7420ed6d9c4
[ "MIT" ]
null
null
null
userinterface.hpp
synap5e/comp-308-project
77a8f8ccb308f2e27d3ab13049f0f7420ed6d9c4
[ "MIT" ]
null
null
null
#pragma once //#include "node.hpp" //#include "stem.hpp" /*#include "shader.hpp" #include "tree.hpp" #include "treerenderer.hpp"*/ #define GLM_FORCE_RADIANS #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> class UserInterface { private: float xrot = 90; float yrot = 90; float radius = 400; glm::vec...
17.468085
63
0.71011
synap5e
7a3eaca8f72e2ac32097fcf98b74cb3e90a4ba8c
27
cpp
C++
Build/src/src/Scene/Terrain.cpp
maz8569/OpenGLPAG
3c470a6824c0d3169fdc65691f697c2af39a6442
[ "MIT" ]
null
null
null
Build/src/src/Scene/Terrain.cpp
maz8569/OpenGLPAG
3c470a6824c0d3169fdc65691f697c2af39a6442
[ "MIT" ]
null
null
null
Build/src/src/Scene/Terrain.cpp
maz8569/OpenGLPAG
3c470a6824c0d3169fdc65691f697c2af39a6442
[ "MIT" ]
null
null
null
#include "Scene/Terrain.h"
13.5
26
0.740741
maz8569
7a41627d0963e604397de7ec780d8930533552f4
3,658
hpp
C++
libraries/chain/include/playchain/chain/schema/room_rating_object.hpp
totalgames/playchain-core
f543df51d78dafca09c56fbb7b9912ad550a9404
[ "MIT" ]
1
2019-07-05T14:37:30.000Z
2019-07-05T14:37:30.000Z
libraries/chain/include/playchain/chain/schema/room_rating_object.hpp
totalgames/playchain-core
f543df51d78dafca09c56fbb7b9912ad550a9404
[ "MIT" ]
null
null
null
libraries/chain/include/playchain/chain/schema/room_rating_object.hpp
totalgames/playchain-core
f543df51d78dafca09c56fbb7b9912ad550a9404
[ "MIT" ]
null
null
null
/* * Copyright (c) 2018 Total Games LLC and contributors. * * The MIT License * * 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 ri...
36.217822
137
0.670038
totalgames
7a45f72a01af8590d74d55c662294e68ca711241
3,996
cpp
C++
library/library.cpp
Sanlovty/lab-home-library
98a2a28563325d1187c86d9303d07fa25afa6843
[ "Apache-2.0" ]
1
2021-12-22T20:39:01.000Z
2021-12-22T20:39:01.000Z
library/library.cpp
Sanlovty/lab-home-library
98a2a28563325d1187c86d9303d07fa25afa6843
[ "Apache-2.0" ]
null
null
null
library/library.cpp
Sanlovty/lab-home-library
98a2a28563325d1187c86d9303d07fa25afa6843
[ "Apache-2.0" ]
null
null
null
#include "library.h" void Library::checkIndex_(const size_t& index) const { if (index >= size()) { throw exception("Index of the book is out of range"); } } bool Library::compareBooksName_(const Book& first, const Book& second) { return first.getName().compare(second.getName()) < 0; } bool Library::compareBook...
19.398058
81
0.715465
Sanlovty
7a4688150bab5318cf5bbb361d7f4c4900406fce
1,060
cpp
C++
cpp/EvaluateReversePolishNotation.cpp
sizeoftank/leetcode-solutions
ccf27cdf4eeb816175c51ac67a5d79c8cbfd5beb
[ "MIT" ]
null
null
null
cpp/EvaluateReversePolishNotation.cpp
sizeoftank/leetcode-solutions
ccf27cdf4eeb816175c51ac67a5d79c8cbfd5beb
[ "MIT" ]
null
null
null
cpp/EvaluateReversePolishNotation.cpp
sizeoftank/leetcode-solutions
ccf27cdf4eeb816175c51ac67a5d79c8cbfd5beb
[ "MIT" ]
null
null
null
class Solution { public: static int evalRPN(vector<string> &tokens) { stack<int> stk; int retval; for (int idx=0; idx < tokens.size(); idx++){ if (tokens[idx].compare("+")==0 || tokens[idx].compare("-")==0 || tokens[idx].compare("*")==0 || tokens[idx].compare("/"...
29.444444
80
0.324528
sizeoftank
7a4805fa3b1855c489fb18a385ed1ec442540ca3
1,650
cpp
C++
CoDesign/CoDesign/iframe/XTEAM_SimGen.cpp
ronia/flame-adaptor
5da5dd6503a5f2af1c7701018d61726cebddea86
[ "MIT" ]
null
null
null
CoDesign/CoDesign/iframe/XTEAM_SimGen.cpp
ronia/flame-adaptor
5da5dd6503a5f2af1c7701018d61726cebddea86
[ "MIT" ]
null
null
null
CoDesign/CoDesign/iframe/XTEAM_SimGen.cpp
ronia/flame-adaptor
5da5dd6503a5f2af1c7701018d61726cebddea86
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "XTEAM_SimGen.h" namespace XTEAM { void XTEAM_Sim_Generator::initialize (Architecture arch) { } void XTEAM_Sim_Generator::generate (Architecture arch) { } void XTEAM_Sim_Generator::architecture_include (std::ofstream& file) { } void XTEAM_Sim_Generator::element_include (std::ofstream& ...
24.264706
136
0.787879
ronia
7a4c9ecc177693fc2cf33f17f1172bdf92a21e4d
1,027
cpp
C++
Algorithms/1784.CheckBinStrHasAtMostOneSegmentOnes/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1784.CheckBinStrHasAtMostOneSegmentOnes/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
Algorithms/1784.CheckBinStrHasAtMostOneSegmentOnes/solution.cpp
stdstring/leetcode
84e6bade7d6fc1a737eb6796cb4e2565440db5e3
[ "MIT" ]
null
null
null
#include <string> #include "gtest/gtest.h" namespace { class Solution { public: bool checkOnesSegment(std::string const &s) const { bool hasOneFinish = false; for (char ch : s) { switch (ch) { case '0': hasOneFinish = true; ...
20.959184
67
0.566699
stdstring
7a4de6e4f0073ff7d1df16c6b750564a7edd6d9b
3,972
hpp
C++
include/Newtonsoft/Json/Serialization/CamelCasePropertyNamesContractResolver.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Newtonsoft/Json/Serialization/CamelCasePropertyNamesContractResolver.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
include/Newtonsoft/Json/Serialization/CamelCasePropertyNamesContractResolver.hpp
RedBrumbler/BeatSaber-Quest-Codegen
73dda50b5a3e51f10d86b766dcaa24b0c6226e25
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "beatsaber-hook/shared/utils/typedefs.h" #include "beatsaber-hook/shared/utils/byref.hpp" // Including type: Newtonsoft.Json.Serialization.Defau...
61.107692
265
0.783736
RedBrumbler
7a52742acc280870c28382e22f555cfd860ee27f
350
cpp
C++
microsoft/14.cpp
19yetnoob/-6Companies30days
93f8dc6370cae7a8907d02b3ac8de610b73b8d9f
[ "MIT" ]
null
null
null
microsoft/14.cpp
19yetnoob/-6Companies30days
93f8dc6370cae7a8907d02b3ac8de610b73b8d9f
[ "MIT" ]
null
null
null
microsoft/14.cpp
19yetnoob/-6Companies30days
93f8dc6370cae7a8907d02b3ac8de610b73b8d9f
[ "MIT" ]
null
null
null
int minSteps(int D){ int steps = 0, sum = 0; while(true){ sum = sum + steps; steps++; if(sum == D){ return steps-1; } if(sum > D and (sum-D)%2 == 0){ return steps-1; ...
23.333333
44
0.28
19yetnoob
7a5463dd4cae0705eca511d48b3c2f9e51360e63
1,389
cpp
C++
raytracer/catch/chapter9.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
24
2019-06-29T07:44:24.000Z
2021-05-27T11:11:49.000Z
raytracer/catch/chapter9.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
1
2020-12-02T22:54:02.000Z
2021-01-29T08:47:32.000Z
raytracer/catch/chapter9.cpp
tobiasmarciszko/qt_raytracer_challenge
188bf38211e30cb0655577a101c82f6ee8ae2ab8
[ "MIT" ]
7
2020-01-29T15:01:19.000Z
2021-05-28T02:34:34.000Z
#include "catch.hpp" #include "plane.h" #include "equal.h" TEST_CASE("The normal of a plane is constant everywhere") { const Plane p; const auto n1 = p.local_normal_at(Point(0, 0, 0)); const auto n2 = p.local_normal_at(Point(10, 0, -0)); const auto n3 = p.local_normal_at(Point(-5, 0, 150)); REQUI...
22.047619
57
0.601152
tobiasmarciszko
7a54ab826c30c499806abbe5efd181565208d9b8
1,743
hpp
C++
include/tools/counter.hpp
Kartonagnick/tools
5e4027d9e734adff375b6d56092ffb80364a0389
[ "MIT" ]
null
null
null
include/tools/counter.hpp
Kartonagnick/tools
5e4027d9e734adff375b6d56092ffb80364a0389
[ "MIT" ]
37
2021-02-20T15:48:59.000Z
2021-03-17T20:34:52.000Z
include/tools/counter.hpp
Kartonagnick/tools
5e4027d9e734adff375b6d56092ffb80364a0389
[ "MIT" ]
null
null
null
// [2021y-02m-21d][15:47:06] Idrisov Denis R. #pragma once #ifndef dTOOLS_COUNTER_USED_ #define dTOOLS_COUNTER_USED_ 100 #include <tools/features.hpp> //================================================================================ //================================================================================ ...
20.505882
82
0.44062
Kartonagnick
7a5513e86a438ef62691d1f32f5113e43a9b2584
4,182
cpp
C++
main/source/scriptengine/AvHLUATime.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
27
2015-01-05T19:25:14.000Z
2022-03-20T00:34:34.000Z
main/source/scriptengine/AvHLUATime.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
9
2015-01-14T06:51:46.000Z
2021-03-19T12:07:18.000Z
main/source/scriptengine/AvHLUATime.cpp
fmoraw/NS
6c3ae93ca7f929f24da4b8f2d14ea0602184cf08
[ "Unlicense" ]
5
2015-01-11T10:31:24.000Z
2021-01-06T01:32:58.000Z
extern "C" { #include <lua.h> #include <lualib.h> #include <lauxlib.h> } #include "scriptengine/AvHLUA.h" #include "scriptengine/AvHLUAUtil.h" #ifdef AVH_CLIENT extern double gClientTimeLastUpdate; #endif // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static i...
25.5
127
0.560019
fmoraw
7a565d44ff31899f9bbf07909fceed9930f29778
2,161
cpp
C++
homework/Pashchenko/06/hw06.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
12
2018-02-20T15:25:12.000Z
2022-02-15T03:31:55.000Z
homework/Pashchenko/06/hw06.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
1
2018-02-26T12:40:47.000Z
2018-02-26T12:40:47.000Z
homework/Pashchenko/06/hw06.cpp
nkotelevskii/msu_cpp_spring_2018
b5d84447f9b8c7f3615b421c51cf4192f1b90342
[ "MIT" ]
33
2018-02-20T15:25:11.000Z
2019-02-13T22:33:36.000Z
#include <algorithm> #include <stdexcept> #include <iostream> class division_by_zero: public std::exception {}; class wrong_operation: public std::exception {}; template <class T> class Calculator { private: std::string str{}; size_t index = 0; T get_number(); T get_operator() { T value...
21.186275
78
0.481259
nkotelevskii
7a57bd51a9826642626c6798c77c08b01b7e6289
244
cpp
C++
08-Creando, Aterrizando y destruyendo punteros/nullpointer.cpp
vialrogo/TutorialCPP
f0b44dcc0f58eb54ce5d48a069923f5963eb545f
[ "CC0-1.0" ]
null
null
null
08-Creando, Aterrizando y destruyendo punteros/nullpointer.cpp
vialrogo/TutorialCPP
f0b44dcc0f58eb54ce5d48a069923f5963eb545f
[ "CC0-1.0" ]
null
null
null
08-Creando, Aterrizando y destruyendo punteros/nullpointer.cpp
vialrogo/TutorialCPP
f0b44dcc0f58eb54ce5d48a069923f5963eb545f
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; void funcion(int* entrada) { if(entrada==0) cout<<"null"<<endl; else cout<<"no null"<<endl; } int main() { int * puntero=0; funcion(puntero); puntero= new int[10]; funcion(puntero); }
10.166667
26
0.631148
vialrogo
7a5b31b3dd50c7dd81fb321ed9b3cd3102b83ce3
462
cpp
C++
lecture5/task_3.cpp
zaneta-skiba/cpp
b02ce4252f9cf894370358fded7cfbfa3a317ead
[ "MIT" ]
null
null
null
lecture5/task_3.cpp
zaneta-skiba/cpp
b02ce4252f9cf894370358fded7cfbfa3a317ead
[ "MIT" ]
null
null
null
lecture5/task_3.cpp
zaneta-skiba/cpp
b02ce4252f9cf894370358fded7cfbfa3a317ead
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main() { double array[5]; double sum = 0; cout << "Enter 5 values and I will calculate the average \n"; for (int i = 0; i < 5; i++) { cout << "Value[" << i + 1 << "] = "; cin >> array[i]; if (cin.good() == false) { cout << "Incor...
16.5
65
0.469697
zaneta-skiba
7a67739f0baec3d80d606c5ade44b6ae0dfaa019
1,075
cpp
C++
client/include/game/CAnimBlendStaticAssociation.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
97
2019-01-13T20:19:19.000Z
2022-02-27T18:47:11.000Z
client/include/game/CAnimBlendStaticAssociation.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
92
2019-01-23T23:02:31.000Z
2022-03-23T19:59:40.000Z
client/include/game/CAnimBlendStaticAssociation.cpp
MayconFelipeA/sampvoiceatt
3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff
[ "MIT" ]
69
2019-01-13T22:01:40.000Z
2022-03-09T00:55:49.000Z
/* Plugin-SDK (Grand Theft Auto San Andreas) header file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CAnimBlendStaticAssociation.h" // Converted from thiscall void CAnimBlendStaticAssociation::AllocateSequenceArray(i...
44.791667
128
0.821395
MayconFelipeA