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
86dff121a4ec4b6e167c4a3c5bc9ebaa9800f091
32,540
cc
C++
asv_wave_sim_gazebo_plugins/src/HydrodynamicsPlugin.cc
minzlee/asv_wave_sim
d9426e1b7b75d43f0c1bd3201e6ba62e54af968f
[ "Apache-2.0" ]
25
2019-05-29T04:55:19.000Z
2022-03-18T19:07:07.000Z
asv_wave_sim_gazebo_plugins/src/HydrodynamicsPlugin.cc
minzlee/asv_wave_sim
d9426e1b7b75d43f0c1bd3201e6ba62e54af968f
[ "Apache-2.0" ]
12
2019-02-14T16:26:57.000Z
2022-03-30T19:44:33.000Z
asv_wave_sim_gazebo_plugins/src/HydrodynamicsPlugin.cc
minzlee/asv_wave_sim
d9426e1b7b75d43f0c1bd3201e6ba62e54af968f
[ "Apache-2.0" ]
11
2019-05-29T04:55:22.000Z
2022-02-23T11:55:32.000Z
// Copyright (C) 2019 Rhys Mainwaring // // 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 later version. // // This program is dist...
35.837004
111
0.619852
minzlee
86e0b4c1b97c1c8ba62c9f80f7a981c8a15b2a9b
6,431
cpp
C++
src/Libraries/Analytics.FaceAnalyzer/FaceAnalyzer.cpp
digitalmacgyver/viblio_faces
a1066a59bf2f7dba434013588519f2486eac976d
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
src/Libraries/Analytics.FaceAnalyzer/FaceAnalyzer.cpp
digitalmacgyver/viblio_faces
a1066a59bf2f7dba434013588519f2486eac976d
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
src/Libraries/Analytics.FaceAnalyzer/FaceAnalyzer.cpp
digitalmacgyver/viblio_faces
a1066a59bf2f7dba434013588519f2486eac976d
[ "Xnet", "Linux-OpenIB", "X11" ]
null
null
null
/* The entry point into the application. Parses command line options (or config files) and sets up the program flow based on said options Date: 01/07/2013 Author: Jason Catchpole (jason@viblio.com) */ #include "FaceAnalyzer.h" #include "FaceAnalyzerConfiguration.h" #include "TrackingController.h" ...
33.321244
176
0.735033
digitalmacgyver
86e7afa82e18b86e1b68a3d1ca0e4161a7aaccf2
3,019
hpp
C++
src/auth.hpp
planetbeing/cpp-driver
90b683cb7fce9ab480765f8ed50185af53df791c
[ "Apache-2.0" ]
null
null
null
src/auth.hpp
planetbeing/cpp-driver
90b683cb7fce9ab480765f8ed50185af53df791c
[ "Apache-2.0" ]
null
null
null
src/auth.hpp
planetbeing/cpp-driver
90b683cb7fce9ab480765f8ed50185af53df791c
[ "Apache-2.0" ]
null
null
null
/* Copyright (c) 2015 DataStax Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
26.955357
84
0.741968
planetbeing
86e8170aa89ead1bc561f5d3049344f1d5b59f38
2,464
cc
C++
src/engine/json/test/TestEnumMapLoader.cc
aburgm/freeisle
5175897b31e471b4cf9bc2a9be7a88f8b4201d2a
[ "MIT" ]
1
2021-05-24T00:31:20.000Z
2021-05-24T00:31:20.000Z
src/engine/json/test/TestEnumMapLoader.cc
aburgm/freeisle
5175897b31e471b4cf9bc2a9be7a88f8b4201d2a
[ "MIT" ]
null
null
null
src/engine/json/test/TestEnumMapLoader.cc
aburgm/freeisle
5175897b31e471b4cf9bc2a9be7a88f8b4201d2a
[ "MIT" ]
null
null
null
#include "core/EnumMap.hh" #include "json/LoadUtil.hh" #include "json/Loader.hh" #include "core/test/util/Util.hh" #include <gtest/gtest.h> namespace { enum class TestEnum { Enum1, Enum2, Enum3, Num }; constexpr freeisle::core::EnumEntry<TestEnum> entries[] = { {TestEnum::Enum1, "Enum1"}, {TestEnum::Enum2,...
26.494624
78
0.662744
aburgm
86f0d8ec95ee742ecac5506bdedfed5bb6db6d64
611
cpp
C++
Adim1_Ornekler/18_Switch_Case/src/main.cpp
KMACEL/TR-Cpp
dac7bebd1d5fd2d69a76be5a9809417333f01817
[ "Apache-2.0" ]
1
2021-05-25T22:11:13.000Z
2021-05-25T22:11:13.000Z
Adim1_Ornekler/18_Switch_Case/src/main.cpp
KMACEL/TR-Cpp
dac7bebd1d5fd2d69a76be5a9809417333f01817
[ "Apache-2.0" ]
null
null
null
Adim1_Ornekler/18_Switch_Case/src/main.cpp
KMACEL/TR-Cpp
dac7bebd1d5fd2d69a76be5a9809417333f01817
[ "Apache-2.0" ]
null
null
null
//============================================================================ // İsim : 18_Switch_Case // Yazan : Mert AceL // Version : 1.0 // Copyright : AceL // Açıklama : Switch Case //============================================================================ #include<iostream> using namesp...
21.068966
78
0.332242
KMACEL
86f5ad4eb2ce4ea6d1bcb85d08e85de2048dace3
2,193
cpp
C++
2018/day12/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2018/day12/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
2018/day12/main.cpp
batduck27/Advent_of_code
6b2dadf28bebd2301464c864f5112dccede9762b
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <map> const std::string INIT = "initial state: "; const std::string SEP = " => "; const int WSIZE = 5; const int PART1 = 20; const long long PART2 = 50000000000; std::map <std::string, char> M; std::map <std::string, int> seen; int potSum(std::string str, int first...
25.206897
119
0.481532
batduck27
86fe02cf2bca1e0ba3340f5be92d9e9a13733bd8
1,075
cpp
C++
code/970.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
23
2020-03-30T05:44:56.000Z
2021-09-04T16:00:57.000Z
code/970.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
1
2020-05-10T15:04:05.000Z
2020-06-14T01:21:44.000Z
code/970.cpp
Nightwish-cn/my_leetcode
40f206e346f3f734fb28f52b9cde0e0041436973
[ "MIT" ]
6
2020-03-30T05:45:04.000Z
2020-08-13T10:01:39.000Z
#include <bits/stdc++.h> #define INF 2000000000 using namespace std; typedef long long ll; int read(){ int f = 1, x = 0; char c = getchar(); while(c < '0' || c > '9'){if(c == '-') f = -f; c = getchar();} while(c >= '0' && c <= '9')x = x * 10 + c - '0', c = getchar(); return f * x; } class Solution { public: v...
23.369565
64
0.452093
Nightwish-cn
86fe1ebedf55725c4731b2ee88f421843c65a244
4,626
cpp
C++
effectNodes-for-cocos2dx-3x/code/splash/layer_splash.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
2
2016-08-07T01:38:56.000Z
2016-11-03T04:27:21.000Z
effectNodes-for-cocos2dx-3x/code/splash/layer_splash.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
null
null
null
effectNodes-for-cocos2dx-3x/code/splash/layer_splash.cpp
songxiaopeng/EffectNodes-for-cocos2dx
905694e6a0c3063f62f2424e22e0e8c1e8b5586c
[ "MIT" ]
4
2016-05-04T05:47:55.000Z
2020-05-27T07:40:38.000Z
// // layer_splash.cpp // HelloWorld // // Created by yang chao (wantnon) on 14/12/15. // // #include "layer_splash.h" #include "chooseScene.h" void Clayer_splash::controlButtonEvent_back(Ref *senderz, Control::EventType controlEvent){ CchooseScene*scene=new CchooseScene(); scene->autorelease(); scene-...
29.464968
162
0.601167
songxiaopeng
8102ee3d833dbb863456b2a29b78b8785802ff8d
2,983
hpp
C++
inst/include/geometries/utils/rleid/rleid.hpp
dcooley/geometries
2ffd841a5b4204d2460c278fe1430ac8f309fa01
[ "MIT" ]
27
2020-04-27T12:31:55.000Z
2021-07-16T18:14:37.000Z
inst/include/geometries/utils/rleid/rleid.hpp
dcooley/geometries
2ffd841a5b4204d2460c278fe1430ac8f309fa01
[ "MIT" ]
16
2020-04-27T14:17:02.000Z
2021-05-04T22:42:46.000Z
inst/include/geometries/utils/rleid/rleid.hpp
dcooley/geometries
2ffd841a5b4204d2460c278fe1430ac8f309fa01
[ "MIT" ]
1
2020-04-27T12:32:55.000Z
2020-04-27T12:32:55.000Z
#ifndef R_GEOMETRIES_UTILS_RLEID_H #define R_GEOMETRIES_UTILS_RLEID_H namespace geometries { namespace utils { // from data.table // https://github.com/Rdatatable/data.table/blob/8b93bb22715b45d38acf185f40d573bda8748cb4/src/uniqlist.c#L164 inline Rcpp::IntegerVector rleid( Rcpp::DataFrame& df, Rcpp::IntegerVect...
25.495726
111
0.507543
dcooley
8104741d655e13d449fb5320366c002ab5eba050
20,556
cpp
C++
tools/CodePolygons/src/Utils/GManager.cpp
wallarelvo/CRoPS
12ecd0afefa6528fc8b2c7d2667ed3b73301d5ec
[ "Apache-2.0" ]
null
null
null
tools/CodePolygons/src/Utils/GManager.cpp
wallarelvo/CRoPS
12ecd0afefa6528fc8b2c7d2667ed3b73301d5ec
[ "Apache-2.0" ]
null
null
null
tools/CodePolygons/src/Utils/GManager.cpp
wallarelvo/CRoPS
12ecd0afefa6528fc8b2c7d2667ed3b73301d5ec
[ "Apache-2.0" ]
null
null
null
#include "Utils/GManager.hpp" #include "Utils/GDraw.hpp" #include "Utils/PrintMsg.hpp" #include "Utils/Constants.hpp" #include "Utils/PseudoRandom.hpp" #include <cstdlib> #include <cmath> namespace Abetare { GManager *m_gManager = NULL; void GManager::CallbackEventOnActiveMouseMove(int x, int y) { if...
28.870787
94
0.652121
wallarelvo
8109953b83c24dc2568bc0fa2944ed4e50e32288
5,875
cxx
C++
resip/dum/DumTimeout.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
1
2019-04-15T14:10:58.000Z
2019-04-15T14:10:58.000Z
resip/dum/DumTimeout.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
null
null
null
resip/dum/DumTimeout.cxx
dulton/reSipServer
ac4241df81c1e3eef2e678271ffef4dda1fc6747
[ "Apache-2.0" ]
2
2019-10-31T09:11:09.000Z
2021-09-17T01:00:49.000Z
#include <cassert> #include "DumTimeout.hxx" #include "rutil/WinLeakCheck.hxx" #include "resip/dum/BaseUsage.hxx" using namespace resip; DumTimeout::DumTimeout(Type type, unsigned long duration, BaseUsageHandle targetBu, unsigned int seq, ...
27.453271
86
0.630638
dulton
810df11717669e7c77c48499a802e6b3013e6518
2,552
hpp
C++
include/eagine/sslplus/api/result.hpp
matus-chochlik/eagine-sslplus
c136220a5f2dafdcecf847e517728f8fa8e43959
[ "BSL-1.0" ]
null
null
null
include/eagine/sslplus/api/result.hpp
matus-chochlik/eagine-sslplus
c136220a5f2dafdcecf847e517728f8fa8e43959
[ "BSL-1.0" ]
null
null
null
include/eagine/sslplus/api/result.hpp
matus-chochlik/eagine-sslplus
c136220a5f2dafdcecf847e517728f8fa8e43959
[ "BSL-1.0" ]
null
null
null
/// @file /// /// Copyright Matus Chochlik. /// 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 /// #ifndef EAGINE_SSLPLUS_API_RESULT_HPP #define EAGINE_SSLPLUS_API_RESULT_HPP #include "config.hpp" #include <eagin...
31.9
80
0.535658
matus-chochlik
8110fe1adfcaf3ed9036cf16f4d9f8c9994b1ffc
11,154
inl
C++
include/LinearAlgebra/tmlVector4.inl
mbatc/Template-Math-Library
66aa61edbe8c16e636b28a355be0fe5e9989742f
[ "MIT" ]
null
null
null
include/LinearAlgebra/tmlVector4.inl
mbatc/Template-Math-Library
66aa61edbe8c16e636b28a355be0fe5e9989742f
[ "MIT" ]
null
null
null
include/LinearAlgebra/tmlVector4.inl
mbatc/Template-Math-Library
66aa61edbe8c16e636b28a355be0fe5e9989742f
[ "MIT" ]
null
null
null
template<typename T> inline tmlVector4<T>::tmlVector4() : x(0) , y(0) , z(0) , w(0) {} template<typename T> inline tmlVector4<T>::tmlVector4(T val) : x(val) , y(val) , z(val) , w(val) {} template<typename T> inline tmlVector4<T>::tmlVector4(T _x, T _y, T _z, T _w) : x(_x) , y(_y) , z(_z) , w(...
19.671958
119
0.659674
mbatc
8113150dfb348382492944415f1bc06d7286c299
4,363
cpp
C++
src/tests/containerizer/composing_containerizer_tests.cpp
NinthDecimal/mesos
601c3cd3dfaa8e353a1f404676bf779bd2989843
[ "Apache-2.0" ]
null
null
null
src/tests/containerizer/composing_containerizer_tests.cpp
NinthDecimal/mesos
601c3cd3dfaa8e353a1f404676bf779bd2989843
[ "Apache-2.0" ]
null
null
null
src/tests/containerizer/composing_containerizer_tests.cpp
NinthDecimal/mesos
601c3cd3dfaa8e353a1f404676bf779bd2989843
[ "Apache-2.0" ]
null
null
null
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
25.219653
75
0.691955
NinthDecimal
8115d66462ee123dc86f5ff58d206fb39b2c7f99
1,094
cpp
C++
239. Sliding Window Maximum/main.cpp
shenzheyu/LeetCode
08478996f9c41a526ea8560233b4e91ed04c9682
[ "MIT" ]
6
2018-04-20T14:43:06.000Z
2021-01-17T21:51:22.000Z
239. Sliding Window Maximum/main.cpp
shenzheyu/LeetCode
08478996f9c41a526ea8560233b4e91ed04c9682
[ "MIT" ]
1
2018-04-29T13:10:02.000Z
2018-04-29T14:47:44.000Z
239. Sliding Window Maximum/main.cpp
shenzheyu/LeetCode
08478996f9c41a526ea8560233b4e91ed04c9682
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <deque> using namespace std; class MonotonicQueue { public: // push element n at back void push(int n) { while (!data.empty() && data.back() < n) { data.pop_back(); } data.push_back(n); } // return the max value in que...
19.535714
60
0.474406
shenzheyu
8117495cdf7132a902636fce0b5868cf605663bb
2,195
cpp
C++
src/library/tactic/check_expr_tactic.cpp
javra/lean
cc70845332e63a1f1be21dc1f96d17269fc85909
[ "Apache-2.0" ]
130
2016-12-02T22:46:10.000Z
2022-03-22T01:09:48.000Z
src/library/tactic/check_expr_tactic.cpp
soonhokong/lean
38607e3eb57f57f77c0ac114ad169e9e4262e24f
[ "Apache-2.0" ]
8
2017-05-03T01:21:08.000Z
2020-02-25T11:38:05.000Z
src/library/tactic/check_expr_tactic.cpp
soonhokong/lean
38607e3eb57f57f77c0ac114ad169e9e4262e24f
[ "Apache-2.0" ]
28
2016-12-02T22:46:20.000Z
2022-03-18T21:28:20.000Z
/* Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <string> #include "util/fresh_name.h" #include "library/constants.h" #include "library/reducible.h" #include "library/flycheck.h" #include "library...
41.415094
107
0.561731
javra
8118a3bbdbc29795c14623c592d641eb8f0fc21e
3,328
cpp
C++
Source/ProjectX/Character/AI/EnemyAI/EnemyAIController.cpp
pz64/project-x-college
fb269fb343db2d532cb205b691ee143207d75bdb
[ "Apache-2.0" ]
1
2019-04-16T17:40:51.000Z
2019-04-16T17:40:51.000Z
Source/ProjectX/Character/AI/EnemyAI/EnemyAIController.cpp
pz64/project-x-college
fb269fb343db2d532cb205b691ee143207d75bdb
[ "Apache-2.0" ]
null
null
null
Source/ProjectX/Character/AI/EnemyAI/EnemyAIController.cpp
pz64/project-x-college
fb269fb343db2d532cb205b691ee143207d75bdb
[ "Apache-2.0" ]
null
null
null
// Fill out your copyright notice in the Description page of Project Settings. #include "EnemyAIController.h" #include "BehaviorTree/BehaviorTreeComponent.h" #include "BehaviorTree/BlackboardComponent.h" #include "BehaviorTree/Blackboard/BlackboardKeyAllTypes.h" #include "BehaviorTree/BehaviorTree.h" #include "...
29.714286
110
0.746695
pz64
811c3c9d52df9cab749f26292de6aadaa7357c49
80
cpp
C++
test/llvm_test_code/constness/basic/basic_03.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
581
2018-06-10T10:37:55.000Z
2022-03-30T14:56:53.000Z
test/llvm_test_code/constness/basic/basic_03.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
172
2018-06-13T12:33:26.000Z
2022-03-26T07:21:41.000Z
test/llvm_test_code/constness/basic/basic_03.cpp
flix-/phasar
85b30c329be1766136c8cbc6f925cb4fd1bafd27
[ "BSL-1.0" ]
137
2018-06-10T10:31:14.000Z
2022-03-06T11:53:56.000Z
/* i | %2 (ID: 1) */ int main() { int i = 10; int j = 14; i = j; return 0; }
11.428571
20
0.4125
flix-
812221fc845508a99f8b91e2a2f8091e63516a26
19,580
hpp
C++
source/backend/cpu/x86_x64/avx512/Gemm48_8.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
1
2021-09-17T03:22:16.000Z
2021-09-17T03:22:16.000Z
source/backend/cpu/x86_x64/avx512/Gemm48_8.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
null
null
null
source/backend/cpu/x86_x64/avx512/Gemm48_8.hpp
JujuDel/MNN
8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a
[ "Apache-2.0" ]
null
null
null
#ifndef __AVX512_GEMM48_8_HPP__ #define __AVX512_GEMM48_8_HPP__ #define MNNAVXFMA _mm256_fmadd_ps #define MNNAVX512FMA _mm512_fmadd_ps #define INIT_MAIN_4_8 \ auto s0 = _mm256_loadu_ps(weight + 0 * 8); \ auto w0 = _mm256_broadcast_ss(A + 0 * aStri...
58.975904
78
0.416701
JujuDel
8126b2edf7e4822264b46a28debcf5b97c40d736
5,299
hpp
C++
src/model/CoilCoolingDXVariableRefrigerantFlow.hpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
354
2015-01-10T17:46:11.000Z
2022-03-29T10:00:00.000Z
src/model/CoilCoolingDXVariableRefrigerantFlow.hpp
muehleisen/OpenStudio
3bfe89f6c441d1e61e50b8e94e92e7218b4555a0
[ "blessing" ]
3,243
2015-01-02T04:54:45.000Z
2022-03-31T17:22:22.000Z
src/model/CoilCoolingDXVariableRefrigerantFlow.hpp
jmarrec/OpenStudio
5276feff0d8dbd6c8ef4e87eed626bc270a19b14
[ "blessing" ]
157
2015-01-07T15:59:55.000Z
2022-03-30T07:46:09.000Z
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
41.398438
147
0.758256
muehleisen
812874564e4064e32a54583b67e77fbb410fcfe6
303
cpp
C++
C++/Programming_Principles_and_Practice_Using_C++/Chapter3/input_type.cpp
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
C++/Programming_Principles_and_Practice_Using_C++/Chapter3/input_type.cpp
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
C++/Programming_Principles_and_Practice_Using_C++/Chapter3/input_type.cpp
MaRauder111/Cplusplus
9b18f95b5aee67f67c6e579ba7f3e80d3a3c68a5
[ "MIT" ]
null
null
null
#include <iostream> int main() { std::cout << "Enter you name and age : "; std::string first_name; std::cin >> first_name; double age = 0; std::cin >> age; int months = age * 12; std::cout << "First name " << first_name << " age is " << months << std::endl; return 0; }
21.642857
82
0.547855
MaRauder111
8128b3efd57e9e20211f08cbc63a7e9e3367762d
2,916
cpp
C++
src/rx/render/frontend/timer.cpp
DethRaid/rex
21ba92d38398240faa45a402583c11f8c72e6e41
[ "MIT" ]
2
2020-06-13T11:39:46.000Z
2021-03-10T01:03:03.000Z
src/rx/render/frontend/timer.cpp
DethRaid/rex
21ba92d38398240faa45a402583c11f8c72e6e41
[ "MIT" ]
null
null
null
src/rx/render/frontend/timer.cpp
DethRaid/rex
21ba92d38398240faa45a402583c11f8c72e6e41
[ "MIT" ]
1
2021-01-06T03:47:08.000Z
2021-01-06T03:47:08.000Z
#include "rx/render/frontend/timer.h" #include "rx/core/math/abs.h" #include "rx/core/time/qpc.h" #include "rx/core/time/delay.h" namespace Rx::Render::Frontend { FrameTimer::FrameTimer() : m_frequency{Time::qpc_frequency()} , m_resolution{1.0 / m_frequency} , m_max_frame_ticks{0.0f} , m_last_second_ticks{0...
28.871287
102
0.705418
DethRaid
812933dd664995465fa398aabcb94905bebc5df9
1,230
cpp
C++
test/next_power_of_2.cpp
jgmbenoit/primecount
1c39ff8daeb149d100108d1cb364d20f20f48009
[ "BSD-2-Clause" ]
259
2015-01-31T15:44:26.000Z
2022-03-31T07:09:13.000Z
test/next_power_of_2.cpp
jgmbenoit/primecount
1c39ff8daeb149d100108d1cb364d20f20f48009
[ "BSD-2-Clause" ]
36
2016-05-14T22:13:16.000Z
2022-02-14T07:27:50.000Z
test/next_power_of_2.cpp
jgmbenoit/primecount
1c39ff8daeb149d100108d1cb364d20f20f48009
[ "BSD-2-Clause" ]
44
2015-02-03T17:37:42.000Z
2022-03-02T21:01:36.000Z
/// /// @file next_power_of_2.cpp /// @brief Round up to nearest power of 2. /// /// Copyright (C) 2017 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <imath.hpp> #include <stdint.h> #include <iostream> ...
19.83871
67
0.527642
jgmbenoit
8129afc07a2dd40d10bfdafb9163f25678886f98
498
cpp
C++
test/main_test.cpp
connectivecpp/utility-rack
5ff69a2258726d56da15248f70be65817bed8f1e
[ "BSL-1.0" ]
3
2019-04-30T02:42:21.000Z
2020-05-14T16:35:43.000Z
test/main_test.cpp
connectivecpp/utility-rack
5ff69a2258726d56da15248f70be65817bed8f1e
[ "BSL-1.0" ]
10
2019-03-12T07:31:56.000Z
2020-03-09T21:39:33.000Z
test/main_test.cpp
connectivecpp/utility-rack
5ff69a2258726d56da15248f70be65817bed8f1e
[ "BSL-1.0" ]
1
2019-05-21T02:12:43.000Z
2019-05-21T02:12:43.000Z
/** @file * * @defgroup test_module Unit tests for the various Chops Utility Rack components. * * @ingroup test_module * * @brief Source file for combining (i.e. linking) all Chops tests together. * * @author Cliff Green * * Copyright (c) 2017-2019 by Cliff Green * * Distributed under the Boost Softwa...
22.636364
87
0.702811
connectivecpp
813152d1d59a570600bbae97b80e0ea3af93a9ec
5,331
cpp
C++
bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonDocument/MemberProxy.cpp
adrienlacombe-ledger/bitcoinPoS
2a4701c445c7eeec88c8abc2bd7940916899e79c
[ "MIT" ]
81
2022-01-22T17:35:01.000Z
2022-03-08T09:59:02.000Z
bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonDocument/MemberProxy.cpp
adrienlacombe-ledger/bitcoinPoS
2a4701c445c7eeec88c8abc2bd7940916899e79c
[ "MIT" ]
6
2022-01-25T20:23:08.000Z
2022-03-07T23:50:32.000Z
bitcoinPoSTdisplay/libraries/ArduinoJson/extras/tests/JsonDocument/MemberProxy.cpp
adrienlacombe-ledger/bitcoinPoS
2a4701c445c7eeec88c8abc2bd7940916899e79c
[ "MIT" ]
14
2022-01-22T18:16:11.000Z
2022-03-07T21:32:41.000Z
// ArduinoJson - https://arduinojson.org // Copyright © 2014-2022, Benoit BLANCHON // MIT License #include <ArduinoJson.h> #include <catch.hpp> using namespace ARDUINOJSON_NAMESPACE; TEST_CASE("MemberProxy::add()") { DynamicJsonDocument doc(4096); MemberProxy<JsonDocument &, const char *> mp = doc["hello"]; S...
21.495968
80
0.5423
adrienlacombe-ledger
813559f2544ebe9ca6c74895f0b942a5c71e3155
946
cpp
C++
test/test-base/FakeLauncher.cpp
azubieta/appimage-appsdir
76da0cac1542fe8159a63615b4614de2a1486b8c
[ "MIT" ]
1
2019-08-19T16:52:41.000Z
2019-08-19T16:52:41.000Z
test/test-base/FakeLauncher.cpp
azubieta/appimage-appsfolder
76da0cac1542fe8159a63615b4614de2a1486b8c
[ "MIT" ]
1
2019-08-21T07:31:46.000Z
2019-08-21T07:31:46.000Z
test/test-base/FakeLauncher.cpp
azubieta/appimage-appsfolder
76da0cac1542fe8159a63615b4614de2a1486b8c
[ "MIT" ]
null
null
null
#include "FakeLauncher.h" void FakeLauncher::launch(const QString& command, const QStringList& args) { launchCalled = true; } bool FakeLauncher::wasLaunchCalled() const { return launchCalled; } bool FakeLauncher::registerApp(const QString& appImagePath) { registerAppCalled = true; return true; } boo...
20.565217
76
0.729387
azubieta
81357d128906824f6fb6f52e722c5fb7168774d3
1,339
cc
C++
average-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
average-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
average-pv.cc
lemrobotry/thesis
14ad489e8f04cb957707b89c454ee7d81ec672ad
[ "MIT" ]
null
null
null
#include "Application.hh" #include "PV.hh" APPLICATION using namespace Permute; // Accepts many model files on the command line and outputs the model with the // average feature weight. class AveragePV : public Application { public: AveragePV () : Application ("average-pv") {} int main (const std::vector ...
24.345455
78
0.59522
lemrobotry
8138b1367fe48b9431a737f88da8d5009ed23dec
18,605
hh
C++
extra/witre.old/WitreGraph.hh
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
extra/witre.old/WitreGraph.hh
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
extra/witre.old/WitreGraph.hh
miatauro/trex2-agent
d896f8335f3194237a8bba49949e86f5488feddb
[ "BSD-3-Clause" ]
null
null
null
#ifndef WITREGRAPH #define WITREGRAPH #include<Wt/WPaintedWidget> #include<Wt/WPainter> #include<Wt/WPaintDevice> #include<Wt/WPointF> #include <Wt/WRectArea> #include "WitreServer.hh" #include <trex/transaction/TeleoReactor.hh> # if defined(__clang__) // clang annoys me by putting plenty of warnings on unused vari...
37.969388
134
0.40172
miatauro
8138e46fcfb2ab5ad3e428a8d389b9e3c2a99aa2
179
cpp
C++
projects/PathosEngine/src/pathos/named_object.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
11
2016-08-30T12:01:35.000Z
2021-12-29T15:34:03.000Z
projects/PathosEngine/src/pathos/named_object.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
9
2016-05-19T03:14:22.000Z
2021-01-17T05:45:52.000Z
projects/PathosEngine/src/pathos/named_object.cpp
codeonwort/pathosengine
ea568afeac9af3ebe3f2e53cc5abeecb40714466
[ "MIT" ]
null
null
null
#include "named_object.h" namespace pathos { const std::string& NamedObject::getName() const { return name; } void NamedObject::setName(const std::string& n) { name = n; } }
19.888889
65
0.692737
codeonwort
81417438e047999b33f80bf24cd746d7630711bd
17,049
cpp
C++
gui/main_window/settings/SettingsTab.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
1
2021-03-18T20:00:07.000Z
2021-03-18T20:00:07.000Z
gui/main_window/settings/SettingsTab.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
null
null
null
gui/main_window/settings/SettingsTab.cpp
Vavilon3000/icq
9fe7a3c42c07eb665d2e3b0ec50052de382fd89c
[ "Apache-2.0" ]
null
null
null
#include "stdafx.h" #include "SettingsTab.h" #include "../contact_list/Common.h" #include "../../core_dispatcher.h" #include "../../gui_settings.h" #include "../../utils/utils.h" #include "../../utils/InterConnector.h" #include "../../utils/gui_coll_helper.h" #include "../../controls/CustomButton.h" #include "../../co...
52.783282
166
0.704206
Vavilon3000
814bcac929e8933dd5252a86359de0e02343b476
2,303
cpp
C++
src/d3d12/ResourceHeapAllocatorD3D12.cpp
bbernhar/GPGMM
82618e725c33ddd49680684a9ed90040dda55e0e
[ "Apache-2.0" ]
null
null
null
src/d3d12/ResourceHeapAllocatorD3D12.cpp
bbernhar/GPGMM
82618e725c33ddd49680684a9ed90040dda55e0e
[ "Apache-2.0" ]
null
null
null
src/d3d12/ResourceHeapAllocatorD3D12.cpp
bbernhar/GPGMM
82618e725c33ddd49680684a9ed90040dda55e0e
[ "Apache-2.0" ]
null
null
null
// Copyright 2019 The Dawn Authors // Copyright 2021 The GPGMM Authors // // 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 re...
42.648148
98
0.625271
bbernhar
814f894e431b2d108e977d40ce9f0ec1cd13640e
9,039
cpp
C++
Gamepad.cpp
Raattis/SFML_GamepadSupport
73e35a315037fbba0d8789b6652065e187fda71b
[ "MIT" ]
null
null
null
Gamepad.cpp
Raattis/SFML_GamepadSupport
73e35a315037fbba0d8789b6652065e187fda71b
[ "MIT" ]
null
null
null
Gamepad.cpp
Raattis/SFML_GamepadSupport
73e35a315037fbba0d8789b6652065e187fda71b
[ "MIT" ]
null
null
null
#include "Gamepad.h" #include <SFML/Graphics.hpp> #include <string> #include <fstream> #include <iostream> /// XInput #include "Windows.h" #include "Xinput.h" #pragma comment(lib,"XInput.lib") // include libraries #pragma comment(lib,"Xinput9_1_0.lib") // include libraries Gamepad::Gamepad(int number, bool XInput) :...
29.442997
102
0.664897
Raattis
8151a76754506bee9852f224111f50244b999c55
2,614
cpp
C++
gym/100518/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
1
2021-07-16T19:59:39.000Z
2021-07-16T19:59:39.000Z
gym/100518/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
gym/100518/E.cpp
albexl/codeforces-gym-submissions
2a51905c50fcf5d7f417af81c4c49ca5217d0753
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #define endl '\n' typedef long long ll; typedef pair<ll, ll> pii; const int maxn = 300 + 5; int n; vector<int> g[maxn]; bool visited[maxn]; int cnt = 0; bool ok = false; vector<int> path, comb; void print(){ for(int i = 0; i < (int)path.size(); i++) cout << path...
14.768362
58
0.466335
albexl
8152aee6b8f10a4e5a78477f105e4548c53f0eea
32,524
cpp
C++
src/context.cpp
winsider/libsass
a3e4df0ea5bdf2728a663294b8b84a3c7574be29
[ "MIT" ]
null
null
null
src/context.cpp
winsider/libsass
a3e4df0ea5bdf2728a663294b8b84a3c7574be29
[ "MIT" ]
null
null
null
src/context.cpp
winsider/libsass
a3e4df0ea5bdf2728a663294b8b84a3c7574be29
[ "MIT" ]
null
null
null
// sass.hpp must go before all system headers to get the // __EXTENSIONS__ fix on Solaris. #include "sass.hpp" #include "ast.hpp" #include "remove_placeholders.hpp" #include "sass_functions.hpp" #include "check_nesting.hpp" #include "fn_selectors.hpp" #include "fn_strings.hpp" #include "fn_numbers.hpp" #include "fn_co...
37.774681
173
0.661727
winsider
8152dc0356a4de52efab6d2494348c83e5e59bde
306
hpp
C++
test/game/sudoku_test.hpp
edwinkepler/sudoku
d227f5ce49dfb2467ec693693a9ec6db648dff8a
[ "MIT" ]
null
null
null
test/game/sudoku_test.hpp
edwinkepler/sudoku
d227f5ce49dfb2467ec693693a9ec6db648dff8a
[ "MIT" ]
null
null
null
test/game/sudoku_test.hpp
edwinkepler/sudoku
d227f5ce49dfb2467ec693693a9ec6db648dff8a
[ "MIT" ]
null
null
null
/* * @copyright 2017 Edwin Kepler * @license MIT */ #ifndef SUDOKU_TEST_HPP #define SUDOKU_TEST_HPP #include "game/sudoku.hpp" #define BOOST_TEST_MAIN #include <boost/test/unit_test.hpp> using namespace std; BOOST_AUTO_TEST_CASE(test) { BOOST_REQUIRE_EQUAL(1, 1); } #endif // SUDOKU_TEST_HPP
13.304348
35
0.74183
edwinkepler
81576d063e89e2bd2fbb87c1659fb599a2cb7e7b
1,679
hpp
C++
a3/map_metadata_f/Tanoa/ferry01.hpp
tom4897/a3_map_metadata_f
bcb23baa3b1111629077e2d6b56faa5cd9ccd741
[ "AAL" ]
null
null
null
a3/map_metadata_f/Tanoa/ferry01.hpp
tom4897/a3_map_metadata_f
bcb23baa3b1111629077e2d6b56faa5cd9ccd741
[ "AAL" ]
null
null
null
a3/map_metadata_f/Tanoa/ferry01.hpp
tom4897/a3_map_metadata_f
bcb23baa3b1111629077e2d6b56faa5cd9ccd741
[ "AAL" ]
null
null
null
/* [2017,10,10,13,52] */ /* CfgWorlds >> Tanoa >> Names >> ferry01 */ areaPosition[]={4609.91, 5239.02}; // Position x, y areaRadiusA=105.64; // radius A of the location areaRadiusB=110.88; // radius B of the location areaAngle=21.54; // Rotation of the location demography=CIV; // Demography accessPoints[] = // Typ...
36.5
114
0.656343
tom4897
8159941cbc55bd7630e79388944dee599eb34ae5
2,867
cpp
C++
bindings/python/src/LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp
cowlicks/library-mathematics
f1ff3257bb2da5371a9eacfcec538b2c00871696
[ "Apache-2.0" ]
null
null
null
bindings/python/src/LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp
cowlicks/library-mathematics
f1ff3257bb2da5371a9eacfcec538b2c00871696
[ "Apache-2.0" ]
null
null
null
bindings/python/src/LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp
cowlicks/library-mathematics
f1ff3257bb2da5371a9eacfcec538b2c00871696
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Library/Mathematics /// @file LibraryMathematicsPy/Geometry/3D/Objects/Segment.cpp /// @author Lucas Brémond <lucas@loft...
50.298246
160
0.506104
cowlicks
815a08991af598df07f46ae0567d4d381bbe3fca
5,165
cpp
C++
core/test/base/exception.cpp
prinz7/ginkgo
de51ee9a4fbec45d4af99c877a3a49ab94c8cdb5
[ "BSD-3-Clause" ]
null
null
null
core/test/base/exception.cpp
prinz7/ginkgo
de51ee9a4fbec45d4af99c877a3a49ab94c8cdb5
[ "BSD-3-Clause" ]
null
null
null
core/test/base/exception.cpp
prinz7/ginkgo
de51ee9a4fbec45d4af99c877a3a49ab94c8cdb5
[ "BSD-3-Clause" ]
null
null
null
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2019, the Ginkgo authors 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 co...
34.66443
80
0.690416
prinz7
815b14b485089a156761b4770017dfe945773353
1,766
hpp
C++
src/parser.hpp
Grypesl/ccloxx
44d1414152ef0c5418247e8f9819c74e68393979
[ "MIT" ]
5
2020-04-08T08:58:22.000Z
2020-09-02T07:49:03.000Z
src/parser.hpp
Gryphnl/ccloxx
44d1414152ef0c5418247e8f9819c74e68393979
[ "MIT" ]
null
null
null
src/parser.hpp
Gryphnl/ccloxx
44d1414152ef0c5418247e8f9819c74e68393979
[ "MIT" ]
null
null
null
#ifndef PARSER_HPP #define PARSER_HPP #include <vector> #include "scanner.hpp" #include "ast.hpp" namespace lox { using ExprPtr = std::shared_ptr<Expr>; using StmtPtr = std::shared_ptr<Stmt>; using ExprList = std::vector<ExprPtr>; using StmtList = std::vector<StmtPtr>; class Parser { pr...
17.66
100
0.583239
Grypesl
815ba3b2bec22c716492e7752abe98c543a0043b
839
cpp
C++
kernel/lib/rand.cpp
panix-os/Panix
1047fc384696684a7583bda035fa580da4adbd5b
[ "MIT" ]
68
2020-10-10T03:56:04.000Z
2021-07-22T19:15:47.000Z
kernel/lib/rand.cpp
panix-os/Panix
1047fc384696684a7583bda035fa580da4adbd5b
[ "MIT" ]
88
2020-10-01T23:36:44.000Z
2021-07-22T03:11:43.000Z
kernel/lib/rand.cpp
panix-os/Panix
1047fc384696684a7583bda035fa580da4adbd5b
[ "MIT" ]
5
2021-06-25T16:56:46.000Z
2021-07-21T02:38:41.000Z
/** * @file rand.cpp * @author Brian Kernighan, Dennis Ritchie (C Standard Authors) * Michel (JMallone) Gomes (michels@utfpr.edu.br) * @brief Portable implementation of rand and srand as according to the * C standard implementation by K&R. * @version 0.1 * @date 2021-07-20 * * @copyright C Programming Language...
25.424242
78
0.716329
panix-os
815c6a2665777855d0e1224dde4bc22039fa7eb0
3,515
cpp
C++
Solution.cpp
allenbrubaker/guided-local-search
22b882a3677d445393ecd2d33bf5b8f337db2c37
[ "MIT" ]
1
2017-07-25T19:12:12.000Z
2017-07-25T19:12:12.000Z
Solution.cpp
allenbrubaker/guided-local-search
22b882a3677d445393ecd2d33bf5b8f337db2c37
[ "MIT" ]
null
null
null
Solution.cpp
allenbrubaker/guided-local-search
22b882a3677d445393ecd2d33bf5b8f337db2c37
[ "MIT" ]
2
2019-07-28T02:46:25.000Z
2020-08-05T02:38:53.000Z
#pragma once #include "Instance.cpp" #include "Global.cpp" #include "Permutation.cpp" class Solution : public Permutation { private: double *Fitness; int LastSwap[2]; public: double *LastSwapCost; const Instance& Problem; Solution(const Instance& instance) : Permutation(instance.Size), Problem(instance), LastSw...
26.832061
134
0.599147
allenbrubaker
815d3004c3670acaeedb4c7ba93a4bebaf0cdc7d
2,860
cpp
C++
src/Graphical/GUI/MainMenu.cpp
Khsime-Marwane/indie_studio
75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc
[ "MIT" ]
null
null
null
src/Graphical/GUI/MainMenu.cpp
Khsime-Marwane/indie_studio
75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc
[ "MIT" ]
null
null
null
src/Graphical/GUI/MainMenu.cpp
Khsime-Marwane/indie_studio
75a84dd70f33a655a4f15ea7a9a3b8845bd39dfc
[ "MIT" ]
null
null
null
#include "Common/GUI.hpp" std::vector<std::unique_ptr<indie::IComponent>> indie::GUI::loadMenu() { std::vector<std::unique_ptr<indie::IComponent>> res; _posBackground = 0; ///Load menu components res.push_back(createComponent(SpriteId::MAIN_MENU_GUI, 0.0f, 0.0f, 1.0f, 1.0f, indie::Color::White, indie...
30.105263
126
0.570979
Khsime-Marwane
815f3a045551cf11a4f03fb6ef7c677b75e82324
5,432
cpp
C++
deps/lld/ELF/Target.cpp
coypoop/zig
f57182456d52615ece1133db9c33ef57e3ae187b
[ "MIT" ]
3
2019-12-24T08:57:11.000Z
2020-12-01T06:51:10.000Z
deps/lld/ELF/Target.cpp
coypoop/zig
f57182456d52615ece1133db9c33ef57e3ae187b
[ "MIT" ]
1
2020-10-30T18:22:23.000Z
2020-10-30T21:50:34.000Z
deps/lld/ELF/Target.cpp
coypoop/zig
f57182456d52615ece1133db9c33ef57e3ae187b
[ "MIT" ]
1
2019-05-13T17:35:42.000Z
2019-05-13T17:35:42.000Z
//===- Target.cpp ---------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
29.846154
80
0.651141
coypoop
8162eb8581cb71494518fd0b34458ae2c5ded592
838
cpp
C++
c++/.leetcode/701.insert-into-a-binary-search-tree.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
c++/.leetcode/701.insert-into-a-binary-search-tree.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
c++/.leetcode/701.insert-into-a-binary-search-tree.cpp
ming197/MyLeetCode
eba575765976b12db07be0857faad85b9c60d723
[ "Apache-2.0" ]
null
null
null
/* * @lc app=leetcode id=701 lang=cpp * * [701] Insert into a Binary Search Tree */ // @lc code=start /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeN...
22.648649
94
0.571599
ming197
8164f1def063371e5f58cffa2d827be8c84e2e52
256
cpp
C++
exemplos/4_Condicionais/impar.cpp
danielgs83/cpe-unb
f958d2a4899a8d4d5c1465637d1d1b10610661e4
[ "CC0-1.0" ]
1
2022-02-04T17:16:50.000Z
2022-02-04T17:16:50.000Z
exemplos/4_Condicionais/impar.cpp
danielgs83/cpe-unb
f958d2a4899a8d4d5c1465637d1d1b10610661e4
[ "CC0-1.0" ]
null
null
null
exemplos/4_Condicionais/impar.cpp
danielgs83/cpe-unb
f958d2a4899a8d4d5c1465637d1d1b10610661e4
[ "CC0-1.0" ]
null
null
null
#include <iostream> using namespace std; int main(){ int a; cin >> a; if((a%2) == 0) cout << "O valor e par.\n"; else cout << "O valor e impar.\n"; return 0; }
14.222222
51
0.371094
danielgs83
816ed5161ff3760309159aecfa482e7d8d98d99a
4,222
cpp
C++
samples/common/postprocess/postprocess_classification.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
172
2019-08-24T10:05:14.000Z
2022-03-29T07:45:18.000Z
samples/common/postprocess/postprocess_classification.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
27
2019-09-01T11:04:45.000Z
2022-01-17T09:27:07.000Z
samples/common/postprocess/postprocess_classification.cpp
HFauto/CNStream
1d4847327fff83eedbc8de6911855c5f7bb2bf22
[ "Apache-2.0" ]
72
2019-08-24T10:13:06.000Z
2022-03-28T08:26:05.000Z
/************************************************************************* * Copyright (C) [2019] by Cambricon, Inc. 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 a...
37.035088
118
0.648271
HFauto
8173d5c1184cbc7093297f9866d086e3c429948c
3,311
cpp
C++
test/filtering/segmentation_test.cpp
bradparks/Restore__3d_model_from_pics_2d_multiple_images
58f935130693e6eba2db133ce8dec3fd6a3d3dd0
[ "MIT" ]
21
2018-07-17T02:35:43.000Z
2022-02-25T00:45:09.000Z
test/filtering/segmentation_test.cpp
bradparks/Restore__3d_model_from_pics_2d_multiple_images
58f935130693e6eba2db133ce8dec3fd6a3d3dd0
[ "MIT" ]
null
null
null
test/filtering/segmentation_test.cpp
bradparks/Restore__3d_model_from_pics_2d_multiple_images
58f935130693e6eba2db133ce8dec3fd6a3d3dd0
[ "MIT" ]
11
2018-09-06T17:29:36.000Z
2022-01-29T12:20:59.000Z
// Copyright (c) 2015-2016, Kai Wolf // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish...
39.416667
80
0.702205
bradparks
8176bc277fa038fca15ad0423c08d15b301a2379
31,595
hpp
C++
sdk/include/XEvt1.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/XEvt1.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
sdk/include/XEvt1.hpp
qianxj/XExplorer
00e326da03ffcaa21115a2345275452607c6bab5
[ "MIT" ]
null
null
null
#define WM_NULL 0x0000 #define WM_CREATE 0x0001 #define WM_DESTROY 0x0002 #define WM_MOVE 0x0003 #define WM_SIZE 0x0005 #define WM_ACTIVATE 0x0006 #define WM_SETFOCUS ...
36.067352
128
0.585061
qianxj
40be5d932f39af6bb9ef75177c111f5a14254c39
1,274
cpp
C++
src/common/persistence/base/Save.cpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
12
2017-02-17T10:33:51.000Z
2022-03-01T02:48:10.000Z
src/common/persistence/base/Save.cpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
28
2017-10-17T20:23:52.000Z
2021-03-04T16:07:13.000Z
src/common/persistence/base/Save.cpp
dataliz9r/MDE4CPP
9c5ce01c800fb754c371f1a67f648366eeabae49
[ "MIT" ]
22
2017-03-24T19:03:58.000Z
2022-03-31T12:10:07.000Z
/* * Save.cpp * * Created on: 29.05.2017 * Author: Alexander */ #include "persistence/base/Save.hpp" #include "PersistenceDefine.hpp" #include <iostream> #include "ecore/EClass.hpp" #include "ecore/EObject.hpp" #include "ecore/EPackage.hpp" #include "persistence/base/SaveHandler.hpp" using namespace pers...
24.037736
149
0.716641
dataliz9r
40c450720b3a5058eb1a32c7295502c7f29aa13b
6,445
cpp
C++
dp/third-party/hyperscan/unit/hyperscan/allocators.cpp
jtravee/neuvector
a88b9363108fc5c412be3007c3d4fb700d18decc
[ "Apache-2.0" ]
2,868
2017-10-26T02:25:23.000Z
2022-03-31T23:24:16.000Z
unit/hyperscan/allocators.cpp
kuangxiaohong/phytium-hyperscan
ae1932734859906278dba623b77f99bba1010d5c
[ "BSD-2-Clause", "BSD-3-Clause" ]
270
2017-10-30T19:53:54.000Z
2022-03-30T22:03:17.000Z
unit/hyperscan/allocators.cpp
kuangxiaohong/phytium-hyperscan
ae1932734859906278dba623b77f99bba1010d5c
[ "BSD-2-Clause", "BSD-3-Clause" ]
403
2017-11-02T01:18:22.000Z
2022-03-14T08:46:20.000Z
/* * Copyright (c) 2015-2016, Intel Corporation * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the f...
32.550505
80
0.729247
jtravee
40c6f54b09a261ce5d9cc090bf9027d6d8db7a07
2,333
cpp
C++
modules/largest-subseq/src/largest_subseq.cpp
gurylev-nikita/devtools-course-practice
bab6ba4e39f04940e27c9ac148505eb152c05d17
[ "CC-BY-4.0" ]
null
null
null
modules/largest-subseq/src/largest_subseq.cpp
gurylev-nikita/devtools-course-practice
bab6ba4e39f04940e27c9ac148505eb152c05d17
[ "CC-BY-4.0" ]
3
2021-04-22T17:12:19.000Z
2021-05-14T12:16:25.000Z
modules/largest-subseq/src/largest_subseq.cpp
taktaev-artyom/devtools-course-practice
7cf19defe061c07cfb3ebb71579456e807430a5d
[ "CC-BY-4.0" ]
null
null
null
// Copyright 2021 Kirillov Konstantin #include "include/largest_subseq.h" #include <vector> #include <limits> #include <algorithm> #include <string> Sequential::Sequential(std::vector <int> seq) : m_seq(seq) { } std::vector<int> Sequential::findLargSubseqNlogN(std::vector <int> fSec) { int n = fSec.size()...
24.051546
74
0.474068
gurylev-nikita
40ca2c120728ebbe9e5be0b6a999262a9be1af5e
7,215
cpp
C++
x3daudio1_7/xaudio2-hook/XAPO/HrtfEffect.cpp
kosumosu/x3daudio1_7_hrtf
28cd541ee2cfee91f69b5099e202272d0710e4c8
[ "Unlicense" ]
239
2015-07-25T21:12:51.000Z
2022-02-25T23:22:43.000Z
x3daudio1_7/xaudio2-hook/XAPO/HrtfEffect.cpp
kosumosu/x3daudio1_7_hrtf
28cd541ee2cfee91f69b5099e202272d0710e4c8
[ "Unlicense" ]
28
2017-06-05T06:11:52.000Z
2022-02-21T07:09:31.000Z
x3daudio1_7/xaudio2-hook/XAPO/HrtfEffect.cpp
kosumosu/x3daudio1_7_hrtf
28cd541ee2cfee91f69b5099e202272d0710e4c8
[ "Unlicense" ]
25
2016-08-13T22:01:12.000Z
2021-12-01T05:40:25.000Z
#include "stdafx.h" #include "HrtfEffect.h" #include "logger.h" #include <algorithm> #include <numeric> #include <utility> constexpr UINT32 OutputChannelCount = 2; XAPO_REGISTRATION_PROPERTIES HrtfXapoEffect::_regProps = { __uuidof(HrtfXapoEffect), L"HRTF Effect", L"Copyright (C)2015 Roman Zavalov", 1, 0, XAPO...
33.873239
248
0.752737
kosumosu
40cb83bb7071f5999098b4efb86f0ebc364d9363
10,204
hpp
C++
include/optimizer.hpp
lefticus/x86-to-6502
165c63701a7af0a1302dfa7c6415b7d8524b922d
[ "Unlicense" ]
200
2016-07-07T14:25:14.000Z
2021-05-04T15:54:57.000Z
include/optimizer.hpp
lefticus/6502-cpp
165c63701a7af0a1302dfa7c6415b7d8524b922d
[ "Unlicense" ]
8
2016-07-13T01:33:28.000Z
2018-10-02T15:51:07.000Z
include/optimizer.hpp
lefticus/x86-to-6502
165c63701a7af0a1302dfa7c6415b7d8524b922d
[ "Unlicense" ]
28
2016-10-01T18:28:51.000Z
2021-01-25T16:49:58.000Z
#ifndef INC_6502_CPP_OPTIMIZER_HPP #define INC_6502_CPP_OPTIMIZER_HPP #include "6502.hpp" #include "personality.hpp" #include <span> #include <vector> constexpr bool consume_directives(auto &begin, const auto &end) { if (begin != end && begin->type == ASMLine::Type::Directive) { ++begin; return true; } ...
33.788079
117
0.588887
lefticus
40cdafcb3b49a493545e423051ddbe81f6f708d1
11,392
cc
C++
flare/base/net/endpoint.cc
AriCheng/flare
b2c84588fe4ac52f0875791d22284d7e063fd057
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
868
2021-05-28T04:00:22.000Z
2022-03-31T08:57:14.000Z
flare/base/net/endpoint.cc
AriCheng/flare
b2c84588fe4ac52f0875791d22284d7e063fd057
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
33
2021-05-28T08:44:47.000Z
2021-09-26T13:09:21.000Z
flare/base/net/endpoint.cc
AriCheng/flare
b2c84588fe4ac52f0875791d22284d7e063fd057
[ "CC-BY-3.0", "BSD-2-Clause", "BSD-3-Clause" ]
122
2021-05-28T08:22:23.000Z
2022-03-29T09:52:09.000Z
// Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clause // // Unless req...
30.378667
80
0.62658
AriCheng
40d027beb002931d2e47bc43e282154a2a0755be
2,050
cpp
C++
Sudoku/Solvers/C++/Dynamic/alg06d/dynamic6.cpp
oddbear/Algorithms
f229be3e96899def1f662d0c8a16955097b8acea
[ "MIT" ]
null
null
null
Sudoku/Solvers/C++/Dynamic/alg06d/dynamic6.cpp
oddbear/Algorithms
f229be3e96899def1f662d0c8a16955097b8acea
[ "MIT" ]
null
null
null
Sudoku/Solvers/C++/Dynamic/alg06d/dynamic6.cpp
oddbear/Algorithms
f229be3e96899def1f662d0c8a16955097b8acea
[ "MIT" ]
null
null
null
/* * A version that does support dynamic sizes of the board. */ #include "dynamic6.h" using namespace std; namespace d6 { int LWIDTH; int LHEIGHT; int COLUMNS; int SIZE; int FindUsedForLocal(int n, int s[]); bool find_solution(int n, int s[]); void find_solution(int arr[], int x, int y) { LWIDTH = x; ...
27.333333
109
0.616098
oddbear
40d6b2c4987daea6ad6b94ba5ff9a370eeeb5100
53
cpp
C++
msvc/gloop/dummy.cpp
practisebody/gloop
ff34fb821fc8d35b29d831ba2fcce430b09095f8
[ "MIT" ]
null
null
null
msvc/gloop/dummy.cpp
practisebody/gloop
ff34fb821fc8d35b29d831ba2fcce430b09095f8
[ "MIT" ]
null
null
null
msvc/gloop/dummy.cpp
practisebody/gloop
ff34fb821fc8d35b29d831ba2fcce430b09095f8
[ "MIT" ]
null
null
null
#include <gloop/gloop.hpp> int main() { return 0; }
8.833333
26
0.641509
practisebody
40dbbf8cf248e09243532432f140e226da93f8fa
1,167
cc
C++
src/RTT_Format_Reader/Flags.cc
keadyk/Draco
129fbff1d74a3f5498670e952b7d4142f37b2aac
[ "BSD-3-Clause-Open-MPI" ]
1
2020-03-19T07:05:08.000Z
2020-03-19T07:05:08.000Z
src/RTT_Format_Reader/Flags.cc
5l1v3r1/Draco
0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
src/RTT_Format_Reader/Flags.cc
5l1v3r1/Draco
0480d4c7c1ff7f40e0aece3be785dc0e4e23ece1
[ "BSD-3-Clause-Open-MPI" ]
null
null
null
//----------------------------------*-C++-*--------------------------------// /*! * \file RTT_Format_Reader/Flags.cc * \author B.T. Adams * \date Wed Jun 7 10:33:26 2000 * \brief Implementation file for RTT_Format_Reader/Flags class. * \note Copyright (C) 2016-2020 Triad National Security, LLC. * A...
33.342857
80
0.448158
keadyk
40de6017e3bbbbd1d28fa1b4ef4fb338beb91475
410
cpp
C++
Problems/Problem_005/main.cpp
AriaaRy/Project-Euler
6d40f9e0b2ea877773bfef3370d39858a0c13e85
[ "MIT" ]
2
2020-09-11T17:17:46.000Z
2020-11-19T05:29:20.000Z
Problems/Problem_005/main.cpp
AriaaRy/Project-Euler
6d40f9e0b2ea877773bfef3370d39858a0c13e85
[ "MIT" ]
null
null
null
Problems/Problem_005/main.cpp
AriaaRy/Project-Euler
6d40f9e0b2ea877773bfef3370d39858a0c13e85
[ "MIT" ]
1
2020-09-23T18:44:07.000Z
2020-09-23T18:44:07.000Z
#include <iostream> int main() { int range = 20; long number = 1; while(true) { bool isMine = true; for (int i = 1; i <= range; i++) { if (number % i) { isMine = false; break; } } if (isMine) { std::cout << ...
18.636364
45
0.370732
AriaaRy
40dfb684fca0f5a4ac0256df744b91116d0d0717
5,724
hh
C++
src/outlinertypes.hh
jariarkko/cave-outliner
2077a24627881f45a27aec3eb4e5b4855f6b7fec
[ "BSD-3-Clause" ]
4
2021-09-02T16:52:23.000Z
2022-02-07T16:39:50.000Z
src/outlinertypes.hh
jariarkko/cave-outliner
2077a24627881f45a27aec3eb4e5b4855f6b7fec
[ "BSD-3-Clause" ]
87
2021-09-12T06:09:57.000Z
2022-02-15T00:05:43.000Z
src/outlinertypes.hh
jariarkko/cave-outliner
2077a24627881f45a27aec3eb4e5b4855f6b7fec
[ "BSD-3-Clause" ]
1
2021-09-28T21:38:30.000Z
2021-09-28T21:38:30.000Z
/////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////////// // // CCC AAA V V ...
60.252632
133
0.306254
jariarkko
40e254e80a5927fcc65287581d1b4c066430e8c8
1,183
cpp
C++
unittests/ObjectPoolTest.cpp
zavadovsky/stingraykit
33e6587535325f08769bd8392381d70d4d316410
[ "0BSD" ]
24
2015-03-04T16:30:03.000Z
2022-02-04T15:03:42.000Z
unittests/ObjectPoolTest.cpp
zavadovsky/stingraykit
33e6587535325f08769bd8392381d70d4d316410
[ "0BSD" ]
null
null
null
unittests/ObjectPoolTest.cpp
zavadovsky/stingraykit
33e6587535325f08769bd8392381d70d4d316410
[ "0BSD" ]
7
2015-04-08T12:22:58.000Z
2018-06-14T09:58:45.000Z
#include <stingraykit/thread/Thread.h> #include <stingraykit/time/ElapsedTime.h> #include <stingraykit/ObjectPool.h> #include <gtest/gtest.h> using namespace stingray; namespace { class SomeObject { private: bool& _threadNameError; std::string _threadName; public: SomeObject(bool& threadNameError, con...
18.2
90
0.724429
zavadovsky
40e754945536704df2a5c9ba1e81ab58c5fec024
1,517
hh
C++
cc/report.hh
acorg/hidb-make
3db8e408d548eda83070f793d1e5d94b71e6c562
[ "MIT" ]
null
null
null
cc/report.hh
acorg/hidb-make
3db8e408d548eda83070f793d1e5d94b71e6c562
[ "MIT" ]
null
null
null
cc/report.hh
acorg/hidb-make
3db8e408d548eda83070f793d1e5d94b71e6c562
[ "MIT" ]
null
null
null
#pragma once #include "hidb-5/hidb.hh" // ---------------------------------------------------------------------- namespace hidb { enum class report_tables { none, all, oldest, recent }; void report_antigens(const hidb::HiDb& hidb, const AntigenIndexList& aIndexes, report_tables aReportTables, std::string_vie...
63.208333
215
0.669743
acorg
40ec6fcce57904e044d6ec9dfe5aa77b2e2a7123
4,237
cpp
C++
Anim/AnimSet.cpp
gildor2/SkelEdit
7e413703962e3618b2c52f2a08bf6a0da46e3ab9
[ "BSD-3-Clause" ]
41
2020-02-19T12:37:29.000Z
2021-11-18T22:39:55.000Z
Anim/AnimSet.cpp
gildor2/SkelEdit
7e413703962e3618b2c52f2a08bf6a0da46e3ab9
[ "BSD-3-Clause" ]
null
null
null
Anim/AnimSet.cpp
gildor2/SkelEdit
7e413703962e3618b2c52f2a08bf6a0da46e3ab9
[ "BSD-3-Clause" ]
7
2020-02-27T08:11:21.000Z
2022-02-12T13:11:38.000Z
#include "Core.h" #include "AnimClasses.h" /*----------------------------------------------------------------------------- CMeshAnimSeq class -----------------------------------------------------------------------------*/ #define MAX_LINEAR_KEYS 4 // debugging staff ... //#define DEBUG_BIN_SEARCH 1 #if 0 # defi...
21.728205
111
0.548501
gildor2
40ed214d96d422eafbe2cfc3d6b03b4c090f5aee
4,413
hpp
C++
include/adapters/net.hpp
jamespeapen/polybar
1ee11f7c9e72719f62981167a24fe7239774fa69
[ "MIT" ]
4,807
2016-11-19T05:17:55.000Z
2019-05-05T16:41:43.000Z
include/adapters/net.hpp
jamespeapen/polybar
1ee11f7c9e72719f62981167a24fe7239774fa69
[ "MIT" ]
1,482
2016-11-19T15:48:40.000Z
2019-05-05T12:47:25.000Z
include/adapters/net.hpp
jamespeapen/polybar
1ee11f7c9e72719f62981167a24fe7239774fa69
[ "MIT" ]
392
2016-11-21T01:41:42.000Z
2019-05-04T14:42:02.000Z
#pragma once #include <arpa/inet.h> #include <ifaddrs.h> #include <chrono> #include <cstdlib> #include "common.hpp" #include "components/logger.hpp" #include "errors.hpp" #include "settings.hpp" #include "utils/math.hpp" #if WITH_LIBNL #include <net/if.h> struct nl_msg; struct nlattr; #else #include <iwlib.h> /* ...
22.984375
105
0.677317
jamespeapen
40f42109804cf6df38aebdf0264f592d1509ae45
4,027
hpp
C++
include/GlobalNamespace/RandomAnimatorStartTime.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/RandomAnimatorStartTime.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
include/GlobalNamespace/RandomAnimatorStartTime.hpp
Fernthedev/BeatSaber-Quest-Codegen
716e4ff3f8608f7ed5b83e2af3be805f69e26d9e
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: UnityEngine.MonoBehav...
47.376471
175
0.735783
Fernthedev
40f495d41a93bf3646c6efdfa69a67f567bf4b7e
7,721
hpp
C++
include/cppdevtk/base/any.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/any.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
include/cppdevtk/base/any.hpp
CoSoSys/cppdevtk
99d6c3d328c05a55dae54e82fcbedad93d0cfaa0
[ "BSL-1.0", "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// \file /// /// \copyright Copyright (C) 2015 - 2020 CoSoSys Ltd <info@cososys.com>\n /// Licensed under the Apache License, Version 2.0 (the "License");\n /// you may not use this file e...
30.397638
155
0.666364
CoSoSys
40f57cfb922844131b2059f14c4b0551b0eb06b7
517
cpp
C++
external/RNAlib/plot/forceclass.cpp
tsznxx/rsq
8c2da449445445c55a1b07c21644b380f0809781
[ "CNRI-Python" ]
null
null
null
external/RNAlib/plot/forceclass.cpp
tsznxx/rsq
8c2da449445445c55a1b07c21644b380f0809781
[ "CNRI-Python" ]
null
null
null
external/RNAlib/plot/forceclass.cpp
tsznxx/rsq
8c2da449445445c55a1b07c21644b380f0809781
[ "CNRI-Python" ]
null
null
null
#include "forceclass.h" // forceclass encapsulates a large 2-d arrays of char used by the // dynamic algorithm to enforce folding constraints forceclass::forceclass(int size) { Size = size; register int i,j; dg = new char *[size+1]; for (i=0;i<=(size);i++) { dg[i] = new char [size+1]; } for (i=0;...
16.15625
65
0.539652
tsznxx
40fa8716676ed52d0d6cfc067b77a96d6744c125
10,087
hpp
C++
src/media.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/media.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
src/media.hpp
rainstormstudio/TetrisD3
5079a33781e08b00eac2e01a3149a1d2b10b9e36
[ "MIT" ]
null
null
null
/** * @file media.hpp * @author Daneil Hongyu Ding * @brief This is a simple media port using SDL2 * @version 0.5 * @date 2020-08-18 * * @copyright Copyright (c) 2020 * */ #ifndef MEDIA_HPP #define MEDIA_HPP #ifdef __linux__ #include "SDL2/SDL.h" #include "SDL2/SDL_image.h" #include "SDL2/SDL_mixer.h" #inc...
28.414085
139
0.614256
rainstormstudio
40fcdab0cdfefac160088ec0bf51ab8f35c5e8f8
790
cxx
C++
examples/HasNegativeCycle.cxx
razmikTovmas/Graph
895404f72b33755d02374dd6ff428014635f79a5
[ "MIT" ]
1
2021-09-23T14:14:33.000Z
2021-09-23T14:14:33.000Z
examples/HasNegativeCycle.cxx
razmikTovmas/Graph
895404f72b33755d02374dd6ff428014635f79a5
[ "MIT" ]
null
null
null
examples/HasNegativeCycle.cxx
razmikTovmas/Graph
895404f72b33755d02374dd6ff428014635f79a5
[ "MIT" ]
null
null
null
#include <iostream> #include "core/graph.hpp" int main() { impl::graph g; g.add_edge("A", "B", -1); g.add_edge("A", "C", 4); g.add_edge("B", "C", 3); g.add_edge("B", "D", 2); g.add_edge("A", "E", 2); g.add_edge("D", "C", 5); g.add_edge("D", "B", 1); g.add_edge("E", "D", -3); ...
23.235294
71
0.5
razmikTovmas
dc089aa8fe8e93698c2e10dc56b81bc7a564f721
24,648
cpp
C++
src/powerful.cpp
patrick-schwarz/HElib
cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59
[ "Apache-2.0" ]
1
2020-12-01T07:18:47.000Z
2020-12-01T07:18:47.000Z
src/powerful.cpp
wangjinglin0721/HElib
cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59
[ "Apache-2.0" ]
null
null
null
src/powerful.cpp
wangjinglin0721/HElib
cd267e2ddc6e92886b89f3aa51c416d5c1d2dc59
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2012-2019 IBM Corp. * This program is Licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or a...
31.042821
110
0.581954
patrick-schwarz
dc097bd611910a7220604f3f0b96b9acdac5aea5
1,815
cpp
C++
regression/esbmc-cpp/inheritance/ch22_4/derived.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
143
2015-06-22T12:30:01.000Z
2022-03-21T08:41:17.000Z
regression/esbmc-cpp/inheritance/ch22_4/derived.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
542
2017-06-02T13:46:26.000Z
2022-03-31T16:35:17.000Z
regression/esbmc-cpp/inheritance/ch22_4/derived.cpp
shmarovfedor/esbmc
3226a3d68b009d44b9535a993ac0f25e1a1fbedd
[ "BSD-3-Clause" ]
81
2015-10-21T22:21:59.000Z
2022-03-24T14:07:55.000Z
// Fig. 22.17: derived.cpp // Member function definitions for class Derived #include "derived.h" // constructor for Derived calls constructors for // class Base1 and class Base2. // use member initializers to call base-class constructors Derived::Derived( int integer, char character, double double1 ) : Base1( integ...
46.538462
75
0.579063
shmarovfedor
dc0aa4d8cbd81f32d58f0fcce5e51a839829d98e
2,504
cpp
C++
src/utility/SuspendMonitor.cpp
d4ddi0/uldaq
cf0445561d9b511e42c10bb04a61289887b51aee
[ "MIT" ]
73
2018-05-11T02:36:01.000Z
2022-03-24T22:41:51.000Z
src/utility/SuspendMonitor.cpp
d4ddi0/uldaq
cf0445561d9b511e42c10bb04a61289887b51aee
[ "MIT" ]
35
2018-06-05T13:04:11.000Z
2022-03-31T17:38:56.000Z
src/utility/SuspendMonitor.cpp
d4ddi0/uldaq
cf0445561d9b511e42c10bb04a61289887b51aee
[ "MIT" ]
30
2018-06-21T21:07:04.000Z
2022-03-30T21:13:37.000Z
/* * SuspendMonitor.cpp * * Author: Measurement Computing Corporation */ #include <unistd.h> #include <stdint.h> #include <sys/resource.h> #include "SuspendMonitor.h" #include "FnLog.h" namespace ul { SuspendMonitor::SuspendMonitor() { mSuspendDetectionThread = 0; mTerminateSuspendDetectionThread = false;...
21.964912
124
0.740815
d4ddi0
dc123bc43140a1398a1eac4b30944d99543e193d
6,294
hpp
C++
OREData/ored/configuration/capfloorvolcurveconfig.hpp
nvolfango/Engine
a5ee0fc09d5a50ab36e50d55893b6e484d6e7004
[ "BSD-3-Clause" ]
1
2021-03-30T17:24:17.000Z
2021-03-30T17:24:17.000Z
OREData/ored/configuration/capfloorvolcurveconfig.hpp
zhangjiayin/Engine
a5ee0fc09d5a50ab36e50d55893b6e484d6e7004
[ "BSD-3-Clause" ]
null
null
null
OREData/ored/configuration/capfloorvolcurveconfig.hpp
zhangjiayin/Engine
a5ee0fc09d5a50ab36e50d55893b6e484d6e7004
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2016 Quaternion Risk Management Ltd All rights reserved. This file is part of ORE, a free-software/open-source library for transparent pricing and risk analysis - http://opensourcerisk.org ORE is free software: you can redistribute it and/or modify it under the terms of the Modified BSD License...
43.109589
120
0.739276
nvolfango
dc16068a80592b1b0fe1cbaee5c28166a1c707b1
6,128
cpp
C++
redis/src/v20180412/model/InstanceParamHistory.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
43
2019-08-14T08:14:12.000Z
2022-03-30T12:35:09.000Z
redis/src/v20180412/model/InstanceParamHistory.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
12
2019-07-15T10:44:59.000Z
2021-11-02T12:35:00.000Z
redis/src/v20180412/model/InstanceParamHistory.cpp
suluner/tencentcloud-sdk-cpp
a56c73cc3f488c4d1e10755704107bb15c5e000d
[ "Apache-2.0" ]
28
2019-07-12T09:06:22.000Z
2022-03-30T08:04:18.000Z
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
28.239631
149
0.691743
suluner
dc18858c7b4de0402fd268f26309f7d6c9c6a182
24,089
cpp
C++
OpenCLMocker/src/API.cpp
DrizztDoUrden/OpenCLMocker
f3382ce780483f2af9c44b112ee76a2d374f097c
[ "MIT" ]
null
null
null
OpenCLMocker/src/API.cpp
DrizztDoUrden/OpenCLMocker
f3382ce780483f2af9c44b112ee76a2d374f097c
[ "MIT" ]
null
null
null
OpenCLMocker/src/API.cpp
DrizztDoUrden/OpenCLMocker
f3382ce780483f2af9c44b112ee76a2d374f097c
[ "MIT" ]
null
null
null
#include <OpenCLMocker/Buffer.hpp> #include <OpenCLMocker/Context.hpp> #include <OpenCLMocker/Device.hpp> #include <OpenCLMocker/Event.hpp> #include <OpenCLMocker/Kernel.hpp> #include <OpenCLMocker/Platform.hpp> #include <OpenCLMocker/Program.hpp> #include <OpenCLMocker/Queue.hpp> #include <CL/cl.h> #include <algori...
34.911594
343
0.752916
DrizztDoUrden
dc19742bfcb720ab23dcf47060eea87b6feb27b6
11,184
cpp
C++
src/utils/socket_client_udp.cpp
evaesteban/brainflow
4310cdd61903992e06f855d65a6f6f42c2970757
[ "MIT" ]
1
2021-01-26T07:08:00.000Z
2021-01-26T07:08:00.000Z
src/utils/socket_client_udp.cpp
TimurGolovinov/brainflow
1199dd38438b32aefb6d91352832f54c306ef687
[ "MIT" ]
5
2021-02-08T14:35:32.000Z
2021-04-24T00:37:08.000Z
src/utils/socket_client_udp.cpp
xloem/brainflow
b8faafc84df6eb728f94e3dbf102289633756adb
[ "MIT" ]
2
2021-01-10T18:18:15.000Z
2022-02-01T16:44:33.000Z
#include <string.h> #include "socket_client_udp.h" /////////////////////////////// /////////// WINDOWS /////////// ////////////////////////////// #ifdef _WIN32 #pragma comment(lib, "Ws2_32.lib") #pragma comment(lib, "Mswsock.lib") #pragma comment(lib, "AdvApi32.lib") int SocketClientUDP::get_local_ip_addr (const c...
28.676923
129
0.638501
evaesteban
dc1c7e66b98a377fb74b1dfa4e498861406b3717
1,258
cpp
C++
Firmware/commonSrc/Commands.cpp
usatiuk/EggbotWireless
4b46fc080c91d4d2b4c5d9c5d559a33500e68c56
[ "MIT" ]
1
2021-09-24T14:39:28.000Z
2021-09-24T14:39:28.000Z
Firmware/commonSrc/Commands.cpp
usatiuk/EggbotWireless
4b46fc080c91d4d2b4c5d9c5d559a33500e68c56
[ "MIT" ]
4
2020-12-06T14:25:52.000Z
2021-11-15T19:50:37.000Z
Firmware/commonSrc/Commands.cpp
usatiuk/EggbotWireless
4b46fc080c91d4d2b4c5d9c5d559a33500e68c56
[ "MIT" ]
null
null
null
#include <Arduino.h> #include "common/Commands.h" Command::Command(CommandType type, float arg1, float arg2, float arg3, float arg4, float arg5, float arg6) : type(type), arg1(arg1), arg2(arg2), arg3(arg3), arg4(arg4), arg5(arg5), arg6(arg6){}; Command::Comman...
23.296296
70
0.5938
usatiuk
dc1f0e9af2e01b39ad6e826398f23288e833e54e
62,420
cpp
C++
test/test.cpp
calzakk/CyoArguments
85e572a4648793ede087162fe3c13869ebb28d5d
[ "MIT" ]
3
2015-11-16T15:54:17.000Z
2021-08-18T22:14:09.000Z
test/test.cpp
calzakk/CyoArguments
85e572a4648793ede087162fe3c13869ebb28d5d
[ "MIT" ]
null
null
null
test/test.cpp
calzakk/CyoArguments
85e572a4648793ede087162fe3c13869ebb28d5d
[ "MIT" ]
null
null
null
/* [CyoArguments] test.cpp The MIT License (MIT) Copyright (c) 2015-2016 Graham Bull 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 ...
30.977667
110
0.409676
calzakk
dc210888e9eb81678386ff7528a0a15d8cb4394f
16,143
cpp
C++
Util/SUNDIALS_serial_test/main.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
6
2021-02-18T09:13:17.000Z
2022-03-22T21:27:46.000Z
Util/SUNDIALS_serial_test/main.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
1
2020-10-12T08:54:31.000Z
2020-10-12T08:54:31.000Z
Util/SUNDIALS_serial_test/main.cpp
Gosenca/axionyx_1.0
7e2a723e00e6287717d6d81b23db32bcf6c3521a
[ "BSD-3-Clause-LBNL" ]
3
2020-09-04T10:26:25.000Z
2022-03-14T23:51:51.000Z
#include <fstream> #include <iomanip> #include <AMReX_ParmParse.H> #include <AMReX_Geometry.H> #include <AMReX_MultiFab.H> #include <AMReX_Print.H> #include <AMReX_PlotFileUtil.H> #include <AMReX_BLFort.H> #include <cvode/cvode.h> /* prototypes for CVODE fcts., consts. */ #include <sunlinsol/sunlinsol_...
33.842767
110
0.604782
Gosenca
dc24c91937ee39b8eb08090a22fc4d707c98c20e
13,024
cpp
C++
src/ccd_vf.cpp
ricortiz/SCCD
35ee94736c9337164732591aa8b053bad60a9f09
[ "BSD-4-Clause-UC" ]
7
2017-04-01T08:09:26.000Z
2021-08-06T03:29:15.000Z
src/ccd_vf.cpp
deberle2/CD
35ee94736c9337164732591aa8b053bad60a9f09
[ "BSD-4-Clause-UC" ]
null
null
null
src/ccd_vf.cpp
deberle2/CD
35ee94736c9337164732591aa8b053bad60a9f09
[ "BSD-4-Clause-UC" ]
2
2016-03-03T16:55:50.000Z
2020-06-16T03:33:16.000Z
/*************************************************************************\ Copyright 2010 The University of North Carolina at Chapel Hill. All Rights Reserved. Permission to use, copy, modify and distribute this software and its documentation for educational, research and non-profit purposes, without ...
28.687225
174
0.616554
ricortiz
dc2cb418923e36b791d69f3f5a94cba588cb6244
328
cpp
C++
RenderQueuePass.cpp
TheHolyBell/Hardware3D
1879c498645dfec874ab25497d1c830482bbf0c7
[ "MIT" ]
null
null
null
RenderQueuePass.cpp
TheHolyBell/Hardware3D
1879c498645dfec874ab25497d1c830482bbf0c7
[ "MIT" ]
null
null
null
RenderQueuePass.cpp
TheHolyBell/Hardware3D
1879c498645dfec874ab25497d1c830482bbf0c7
[ "MIT" ]
null
null
null
#include "RenderQueuePass.h" namespace RenderGraph { void RenderQueuePass::Accept(Job job) noexcept { m_Jobs.push_back(job); } void RenderQueuePass::Execute(Graphics& gfx) const noxnd { BindAll(gfx); for (const auto& j : m_Jobs) j.Execute(gfx); } void RenderQueuePass::Reset() noxnd { m_Jobs.clear...
14.909091
57
0.692073
TheHolyBell
dc328e504f20ad3452b559b3d9e3a0a49da4c2f7
3,357
hpp
C++
include/instructions/math.hpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
null
null
null
include/instructions/math.hpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
24
2022-03-12T18:38:22.000Z
2022-03-28T00:29:03.000Z
include/instructions/math.hpp
luizschonarth/JVM-8
b828d1e12072b71cbadeb924b7b13661d300f798
[ "MIT" ]
null
null
null
/** * @file math.hpp * @brief Declaration of the instructions of type math */ #ifndef _MATH_HPP #define _MATH_HPP #include "../frame.hpp" #include "../constant_pool_info.hpp" void dadd(cp_info_vector &constant_pool, bytestream &code, stack<frame_t> *stack_f); void fadd(cp_info_vector &constant_pool, bytestream &c...
55.95
85
0.79148
luizschonarth
dc32947e2a1738f32cda886493ed8a21d79216f8
1,667
cpp
C++
cmdstan/stan/lib/stan_math/test/unit/math/fwd/scal/fun/log1m_exp_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/scal/fun/log1m_exp_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/lib/stan_math/test/unit/math/fwd/scal/fun/log1m_exp_test.cpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/fwd/scal.hpp> #include <gtest/gtest.h> #include <test/unit/math/fwd/scal/fun/nan_util.hpp> #include <cmath> TEST(AgradFwdLog1mExp,Fvar) { using stan::math::fvar; using stan::math::log1m_exp; using std::exp; using std::log; fvar<double> x(-0.5); fvar<double> y(-1.0); x.d_ = 1.0; y.d...
23.814286
61
0.652669
yizhang-cae
dc331e0cd220e98a12cdf866a0a6dc3719981b29
571
cpp
C++
p179/p179.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p179/p179.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p179/p179.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
class Solution { public: string largestNumber(vector<int>& nums) { int n = nums.size(); vector<string> s(n,""); for (int i = 0; i < n; ++i) s[i] = to_string(nums[i]); sort(s.begin(),s.end(),my_cmp); string res; for (int i = 0; i < n; ++i) res += s[...
21.148148
55
0.455342
suzyz
dc37141e96af6a2ee36af9e126f40f5177e5b62d
582
cpp
C++
task1/source/bvh.cpp
barblin/ray-tracer
c8023fa32f27ca642e1acb0c3052abbb6307da18
[ "MIT" ]
null
null
null
task1/source/bvh.cpp
barblin/ray-tracer
c8023fa32f27ca642e1acb0c3052abbb6307da18
[ "MIT" ]
null
null
null
task1/source/bvh.cpp
barblin/ray-tracer
c8023fa32f27ca642e1acb0c3052abbb6307da18
[ "MIT" ]
null
null
null
struct BVH { uint32_t SceneTriangleCount; uint32_t BVHNodeCount; BVH() { } void GenerateBVH(Scene* scene) { SceneTriangleCount = 0; BVHNodeCount = 0; } void Draw(int maxNodeLevel) { // maxNodeLevel should restrict the depth of the rendered nodes to a cer...
25.304348
91
0.608247
barblin
dc371b9cf565f74dc291e9a1fb0e8f252ee72b8c
2,319
cpp
C++
src/usi-engine/Zobrist.cpp
bleu48/aobazero
c805b80d9ed8d27ce507fc2b74fb7609d75b2426
[ "Unlicense" ]
43
2019-05-10T05:50:23.000Z
2022-01-03T02:46:00.000Z
src/usi-engine/Zobrist.cpp
bleu48/aobazero
c805b80d9ed8d27ce507fc2b74fb7609d75b2426
[ "Unlicense" ]
34
2019-05-07T15:22:44.000Z
2021-09-21T04:34:39.000Z
src/usi-engine/Zobrist.cpp
kobanium/aoba-zero
dd6eb185e22c57b72663859e678fff79f7f425a5
[ "Unlicense" ]
13
2019-05-10T02:11:45.000Z
2021-10-05T12:28:03.000Z
/* This file is part of Leela Zero. Copyright (C) 2017-2019 Gian-Carlo Pascutto and contributors Leela Zero 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 ...
38.65
92
0.658905
bleu48
dc3cca350deeffe8ceb4b5401f7e12e77b30f28d
1,848
cc
C++
src/msgpack/rpc/reqtable.cc
shayanalia/msgpack-rpc-cpp
3fd73f9a58b899774dca13a1c478fad7924dd8fd
[ "Apache-2.0" ]
28
2015-01-15T13:50:05.000Z
2022-03-01T13:41:33.000Z
src/msgpack/rpc/reqtable.cc
shayanalia/msgpack-rpc-cpp
3fd73f9a58b899774dca13a1c478fad7924dd8fd
[ "Apache-2.0" ]
1
2016-10-03T22:45:49.000Z
2016-10-04T01:11:57.000Z
src/msgpack/rpc/reqtable.cc
shayanalia/msgpack-rpc-cpp
3fd73f9a58b899774dca13a1c478fad7924dd8fd
[ "Apache-2.0" ]
13
2015-11-27T15:30:59.000Z
2020-09-30T20:43:00.000Z
// // msgpack::rpc::reqtable - Cluster Communication Framework // // Copyright (C) 2009-2010 FURUHASHI Sadayuki // // 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:...
23.692308
78
0.688312
shayanalia
dc418ffb17fffddc5ffa0a498c5776e56c9f09ad
1,509
hpp
C++
include/game/skirmish/gui/mapeditortoolbar.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
3
2015-03-28T02:51:58.000Z
2018-11-08T16:49:53.000Z
include/game/skirmish/gui/mapeditortoolbar.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
39
2015-05-18T08:29:16.000Z
2020-07-18T21:17:44.000Z
include/game/skirmish/gui/mapeditortoolbar.hpp
namelessvoid/qrwar
bbc4036cd3bab6b0edcaccbc95286379ef51f12b
[ "MIT" ]
null
null
null
#ifndef QRW_MAPEDITORTOOLBAR_HPP #define QRW_MAPEDITORTOOLBAR_HPP #include "gui/ng/tabwidget.hpp" #include "engine/terraintypes.hpp" #include "game/skirmish/structure.hpp" namespace namelessgui { class Window; class LineInput; } namespace qrw { class MapEditorToolBar : public namelessgui::TabWidget { public: MapE...
27.944444
111
0.817097
namelessvoid
dc41fd851fb3d9a94fbc9c94d5b0b1a240e89e5c
1,075
hpp
C++
include/tone_mapping.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/tone_mapping.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
include/tone_mapping.hpp
ecarpita93/HPC_projet_1
a2c00e056c03227711c43cf2ad23d75c6afbe698
[ "Xnet", "X11" ]
null
null
null
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed ...
27.564103
67
0.8
ecarpita93
dc47eda91c7feef53ea3f31437a01afb4b2f2e59
3,123
c++
C++
chua/chuaHand.c++
camilleg/vss
27f1c8f73f8d7ef2d4e5de077e4b2ed7e4f72803
[ "MIT" ]
null
null
null
chua/chuaHand.c++
camilleg/vss
27f1c8f73f8d7ef2d4e5de077e4b2ed7e4f72803
[ "MIT" ]
null
null
null
chua/chuaHand.c++
camilleg/vss
27f1c8f73f8d7ef2d4e5de077e4b2ed7e4f72803
[ "MIT" ]
null
null
null
#include "chua.h" //=========================================================================== // construction // chuaHand::chuaHand(chuaAlg * alg): VHandler( alg ) { setTypeName("chuaHand"); } //=========================================================================== // receiveMessage // int chuaHand::rece...
17.544944
90
0.574448
camilleg
dc4dd1985196010d42575e37e3742f67d91aa056
5,615
hpp
C++
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/CollapsibleMenu.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/CollapsibleMenu.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
Tools/STM32FW/STM32Cube_FW_F7_V1.16.2/Projects/STM32756G_EVAL/Demonstrations/TouchGFX/Gui/gui/include/gui/common/CollapsibleMenu.hpp
ramkumarkoppu/NUCLEO-F767ZI-ESW
85e129d71ee8eccbd0b94b5e07e75b6b91679ee8
[ "MIT" ]
null
null
null
/** ****************************************************************************** * This file is part of the TouchGFX 4.10.0 distribution. * * @attention * * Copyright (c) 2018 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file ...
27.52451
129
0.654853
ramkumarkoppu
dc4ee9c7f164aac61a34a7a623e1831aa3b92000
3,120
cpp
C++
Source/JavaScriptCore/runtime/ProxyRevoke.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/JavaScriptCore/runtime/ProxyRevoke.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/JavaScriptCore/runtime/ProxyRevoke.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2016 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
35.454545
123
0.741346
ijsf
dc51289cbdcf103f28b73f64e112d42f76a95bad
3,521
cc
C++
sstmac/software/launch/hostname_task_mapper.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
20
2017-01-26T09:28:23.000Z
2022-01-17T11:31:55.000Z
sstmac/software/launch/hostname_task_mapper.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
542
2016-03-29T22:50:58.000Z
2022-03-22T20:14:08.000Z
sstmac/software/launch/hostname_task_mapper.cc
jpkenny/sst-macro
bcc1f43034281885104962586d8b104df84b58bd
[ "BSD-Source-Code" ]
36
2016-03-10T21:33:54.000Z
2021-12-01T07:44:12.000Z
/** Copyright 2009-2021 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
32.906542
85
0.753763
jpkenny
dc5261caa2a7fd200bbd53025794ad1ab7d34039
4,916
cc
C++
src/OpenVolumeMesh/Mesh/TetrahedralMeshIterators.cc
Rupemgera/VtkMeshFrame
abcaf84639d186756c06de73f1d6b4664566da14
[ "MIT" ]
null
null
null
src/OpenVolumeMesh/Mesh/TetrahedralMeshIterators.cc
Rupemgera/VtkMeshFrame
abcaf84639d186756c06de73f1d6b4664566da14
[ "MIT" ]
null
null
null
src/OpenVolumeMesh/Mesh/TetrahedralMeshIterators.cc
Rupemgera/VtkMeshFrame
abcaf84639d186756c06de73f1d6b4664566da14
[ "MIT" ]
null
null
null
/*===========================================================================*\ * * * OpenVolumeMesh * * Copyright (C) 2011 by Computer Graphics Group, RWTH Aachen * * ...
39.645161
98
0.487185
Rupemgera
dc56e9942a39babd11a255c4802fd9ce4388af59
744
cpp
C++
10339 Watching Watches.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
10339 Watching Watches.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
10339 Watching Watches.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <cstdio> const unsigned int FullDaySeconds = 86400; const unsigned int HalfDaySeconds = 43200; const unsigned int SecondsInMin = 60; const unsigned int SecondsInHour = 3600; const unsigned int HalfDayMin = HalfDaySeconds / SecondsInMin; int main() { int k, m; while (scanf("%d%d", &k, &m) == 2) ...
28.615385
94
0.608871
zihadboss
dc58114319770ef4ff7ceeea772ad9ecac01e37a
72
cpp
C++
tests/Issue223.cpp
galorojo/cppinsights
52ecab4ddd8e36fb99893551cf0fb8b5d58589f2
[ "MIT" ]
1,853
2018-05-13T21:49:17.000Z
2022-03-30T10:34:45.000Z
tests/Issue223.cpp
tiandaoafei/cppinsights
af78ac299121354101a5e506dafccaac95d27a77
[ "MIT" ]
398
2018-05-15T14:48:51.000Z
2022-03-24T12:14:33.000Z
tests/Issue223.cpp
SammyEnigma/cppinsights
c984b8e68139bbcc244c094fd2463eeced8fd997
[ "MIT" ]
104
2018-05-15T04:00:59.000Z
2022-03-17T02:04:15.000Z
#include <cstdio> int main() { float f = (float)(3.0); return f; }
9
25
0.555556
galorojo
dc58bf4b426ca4640685fbcc690bb6970943c3db
3,922
cpp
C++
Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
dykatz/serenity
3ad6d87a4518732c8e181c0cf1edfab35716b92f
[ "BSD-2-Clause" ]
null
null
null
Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
dykatz/serenity
3ad6d87a4518732c8e181c0cf1edfab35716b92f
[ "BSD-2-Clause" ]
1
2020-06-21T23:22:11.000Z
2020-06-21T23:22:11.000Z
Userland/Libraries/LibWeb/WebAssembly/WebAssemblyTableConstructor.cpp
dykatz/serenity
3ad6d87a4518732c8e181c0cf1edfab35716b92f
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2021, Ali Mohammad Pur <mpfard@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/TypedArray.h> #include <LibWeb/Bindings/WindowObject.h> #include <LibWeb/WebAssembly/WebAssemblyObject.h> #include <LibWeb/WebAssembly/WebAs...
34.707965
146
0.708312
dykatz
dc594676001d1b5a27d58df6d29f5079a28d674a
6,145
cc
C++
mediapipe/calculators/tensor/image_to_tensor_utils.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
2
2021-12-02T02:14:31.000Z
2021-12-02T02:16:24.000Z
mediapipe/calculators/tensor/image_to_tensor_utils.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
null
null
null
mediapipe/calculators/tensor/image_to_tensor_utils.cc
Ensteinjun/mediapipe
38be2ec58f2a1687f4ffca287094c7bbd7791f58
[ "Apache-2.0" ]
3
2021-01-19T14:40:59.000Z
2021-06-09T13:43:49.000Z
// Copyright 2020 The MediaPipe Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
34.717514
80
0.603417
Ensteinjun
dc5b279e90390b6256d859ceabe114a2e22cfbb3
4,562
cpp
C++
src/libtrio/tabix_streamer.cpp
StephenTanner/gvcftools
5702a67fe5e744065b5462760b6c0bba38d8d9ea
[ "BSL-1.0" ]
26
2015-11-30T18:53:11.000Z
2021-11-12T07:48:37.000Z
src/libtrio/tabix_streamer.cpp
StephenTanner/gvcftools
5702a67fe5e744065b5462760b6c0bba38d8d9ea
[ "BSL-1.0" ]
5
2015-08-06T18:32:55.000Z
2020-03-08T18:13:22.000Z
src/libtrio/tabix_streamer.cpp
ctsa/gvcftools
7e854392c94c63410a846d29a97b95a6f1435576
[ "BSL-1.0" ]
8
2015-07-20T09:53:07.000Z
2018-06-10T09:55:31.000Z
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2009-2012 Illumina, Inc. // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limit...
23.040404
85
0.62363
StephenTanner
dc5baa217b6b6c04b298f8ca44a665c410516f71
1,893
cpp
C++
OsakaEngine/RPGFactory.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
2
2016-04-04T06:00:28.000Z
2016-04-18T15:39:38.000Z
OsakaEngine/RPGFactory.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
null
null
null
OsakaEngine/RPGFactory.cpp
osakahq/OsakaEngine
47dd0ec5b67a176c552441a25168ecb48b52e14b
[ "Zlib", "MIT" ]
null
null
null
#include "stdafx.h" #include "GameData.h" #include "GameDataParams.h" #include "GameSession.h" #include "GameSessionManager.h" #include "RPGApplication.h" #include "SDLLib.h" #include "Debug.h" #include "TextureManager.h" #include "Factory.h" #include "Image.h" #include "FadeInFadeOutEffect.h" #include "F...
28.681818
102
0.684099
osakahq
dc622070c2647bf6b946adf8810e8776cca90a3e
7,592
cpp
C++
core/CU/CodeDiscovery.cpp
RL-Bin/RLBin
621305a1c8149728e8b5d6ded75dbd81e00d7037
[ "BSD-3-Clause" ]
null
null
null
core/CU/CodeDiscovery.cpp
RL-Bin/RLBin
621305a1c8149728e8b5d6ded75dbd81e00d7037
[ "BSD-3-Clause" ]
null
null
null
core/CU/CodeDiscovery.cpp
RL-Bin/RLBin
621305a1c8149728e8b5d6ded75dbd81e00d7037
[ "BSD-3-Clause" ]
null
null
null
/** * @file CodeDiscovery.cpp * @brief Defines the functions used to handle discovery of new code. */ #include "..\include\CU\CU.h" #include "..\include\TMU\TMU.h" #include "..\include\IMU\IMU.h" #include "..\include\SubUnits\Modules\Modules.h" #include "..\include\DataStructs\DisTable\DisTable.h" #include "..\i...
31.242798
185
0.674262
RL-Bin