hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
3a8d99afc16a7f74affe9733ea3657ef04d0c661
572
cc
C++
src/snakebird/level10.cc
jsnell/snakebird
ceba0c40dbd854c4a2eadc9da63b18b636397601
[ "MIT" ]
null
null
null
src/snakebird/level10.cc
jsnell/snakebird
ceba0c40dbd854c4a2eadc9da63b18b636397601
[ "MIT" ]
null
null
null
src/snakebird/level10.cc
jsnell/snakebird
ceba0c40dbd854c4a2eadc9da63b18b636397601
[ "MIT" ]
null
null
null
#include "main.h" int main() { const char* base_map = ".............." ". ... ." ". .... * ." ". . ." ". O . v.. ." ". R<<. ." ". .... .. ." ". ... . ." ". . O ." ". . .. ." ". ...
20.428571
45
0.22028
jsnell
3a8e00104759b41dfbebad693f692bd1a1dc9860
708
cpp
C++
lldb/unittests/Utility/ProcessInfoTest.cpp
dan-zheng/llvm-project
6b792850da0345274758c9260fda5df5e57ab486
[ "Apache-2.0" ]
765
2015-12-03T16:44:59.000Z
2022-03-07T12:41:10.000Z
lldb/unittests/Utility/ProcessInfoTest.cpp
dan-zheng/llvm-project
6b792850da0345274758c9260fda5df5e57ab486
[ "Apache-2.0" ]
1,815
2015-12-11T23:56:05.000Z
2020-01-10T19:28:43.000Z
lldb/unittests/Utility/ProcessInfoTest.cpp
dan-zheng/llvm-project
6b792850da0345274758c9260fda5df5e57ab486
[ "Apache-2.0" ]
284
2015-12-03T16:47:25.000Z
2022-03-12T05:39:48.000Z
//===-- ProcessInfoTest.cpp -------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
35.4
80
0.594633
dan-zheng
3a8e24ab21159768ef197defeae37a919d12830a
11,677
cpp
C++
Server_Msg/MdfFileManager.cpp
suzhengquan/MBCAF
6da9e994a30c1c228961328d19e71493f1fa7726
[ "BSD-3-Clause" ]
2
2020-10-24T15:44:31.000Z
2021-05-31T03:22:02.000Z
Server_Msg/MdfFileManager.cpp
suzhengquan/MBCAF
6da9e994a30c1c228961328d19e71493f1fa7726
[ "BSD-3-Clause" ]
null
null
null
Server_Msg/MdfFileManager.cpp
suzhengquan/MBCAF
6da9e994a30c1c228961328d19e71493f1fa7726
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) "2018-2019", Shenzhen Mindeng Technology Co., Ltd(www.niiengine.com), Mindeng Base Communication Application Framework All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redi...
40.686411
124
0.548429
suzhengquan
3a9214a83e6cc62137686ba75998bc6fdb1d21d1
2,303
cpp
C++
Renderer/phong_shader.cpp
ZoonLogonEchon/SimpleSceneRenderer
500fff6d1aca5d8fd293f96cc952db23175dfa0e
[ "MIT" ]
null
null
null
Renderer/phong_shader.cpp
ZoonLogonEchon/SimpleSceneRenderer
500fff6d1aca5d8fd293f96cc952db23175dfa0e
[ "MIT" ]
null
null
null
Renderer/phong_shader.cpp
ZoonLogonEchon/SimpleSceneRenderer
500fff6d1aca5d8fd293f96cc952db23175dfa0e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <random> #include <string> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include "phong_shader.hpp" #include "Shaders/shaders.hpp" PhongShader::PhongShader() { std::string vSSrc = Shaders::getVertexShader(); std::string fSSrc = Shaders::getFragmentSha...
29.151899
90
0.775076
ZoonLogonEchon
3a966748ab81325074627b082b498a7023372bc4
688
hpp
C++
include/gridtools/stencil/core/cache_info.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
36
2019-04-05T15:54:48.000Z
2022-03-31T13:25:40.000Z
include/gridtools/stencil/core/cache_info.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
411
2019-04-05T18:51:57.000Z
2022-03-28T11:52:40.000Z
include/gridtools/stencil/core/cache_info.hpp
afanfa/gridtools
6b1fd1f916d291f9a1cab1d27b48aa0282097d68
[ "BSD-3-Clause" ]
23
2019-04-05T15:48:26.000Z
2021-09-28T16:54:24.000Z
/* * GridTools * * Copyright (c) 2014-2021, ETH Zurich * All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include "../../meta/list.hpp" namespace gridtools { namespace stencil { namespace core { t...
26.461538
103
0.601744
afanfa
3a969ae2733d247d466afff9b84b0edbe343b34f
1,532
cpp
C++
Christmas_Training_2011/Contest_2/GRANICA/granica.cpp
Zubieta/CPP
fb4a3cbf2e4edcc590df15663cd28fb9ecab679c
[ "MIT" ]
8
2017-03-02T07:56:45.000Z
2021-08-07T20:20:19.000Z
Christmas_Training_2011/Contest_2/GRANICA/granica.cpp
zubie7a/Algorithms
fb4a3cbf2e4edcc590df15663cd28fb9ecab679c
[ "MIT" ]
null
null
null
Christmas_Training_2011/Contest_2/GRANICA/granica.cpp
zubie7a/Algorithms
fb4a3cbf2e4edcc590df15663cd28fb9ecab679c
[ "MIT" ]
1
2021-08-07T20:20:20.000Z
2021-08-07T20:20:20.000Z
#include <iostream> #include <numeric> #include <fstream> #include <climits> #include <cstring> #include <cstdio> #include <cmath> #include <queue> #include <list> #include <map> #include <set> #include <stack> #include <deque> #include <vector> #include <string> #include <cstdlib> #include <cassert> #include <sstream>...
17.609195
39
0.528068
Zubieta
3a9714ebd6d3d4cf174b8e8d3546cdfdf910ad69
8,527
cpp
C++
ugene/src/plugins/genome_aligner/src/GenomeAlignerSettingsWidget.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/genome_aligner/src/GenomeAlignerSettingsWidget.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/genome_aligner/src/GenomeAlignerSettingsWidget.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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...
40.412322
220
0.705055
iganna
3a97da9892b03ccef4769225e3cead0e9d12c85f
1,891
cpp
C++
src/telecom/src/telecomTest.cpp
GOFIRST-Robotics/NASA-Lunabotics-2022
6b9a2f8fa6e6a025274b3c5b305ef8bb07a42aa5
[ "MIT" ]
3
2021-11-05T22:05:40.000Z
2022-01-25T23:58:40.000Z
src/telecom/src/telecomTest.cpp
GOFIRST-Robotics/NASA-Lunabotics-2022
6b9a2f8fa6e6a025274b3c5b305ef8bb07a42aa5
[ "MIT" ]
35
2019-10-12T15:34:30.000Z
2020-10-07T23:45:03.000Z
src/telecom/src/telecomTest.cpp
GOFIRST-Robotics/NASA-RMC-2020-NorthstarRobotics
fd69e48baba53990fa60624005707b5edfb65741
[ "MIT" ]
2
2021-11-05T23:42:32.000Z
2021-11-05T23:59:55.000Z
#include <cstdio> #include <cstring> #include <string> //http://wjwwood.io/serial/doc/1.1.0/classserial_1_1_serial.html #include "telecom/telecom.h" #define ERR_CHECK \ do { if (com.status() != 0){ \ fprintf(stdout, "Error: %s\n", com.verboseStatus().c_str()); \ return com.status(); \ } } while(0) int main...
23.936709
83
0.584876
GOFIRST-Robotics
3a981a399776b3a9d0d67b986dff21ebb8eca481
989
cpp
C++
06-class-design/readerEx.06.05/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
81
2018-11-15T21:23:19.000Z
2022-03-06T09:46:36.000Z
06-class-design/readerEx.06.05/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
null
null
null
06-class-design/readerEx.06.05/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
41
2018-11-15T21:23:24.000Z
2022-02-24T03:02:26.000Z
// // main.cpp // // Exercises the calendar class. // // -------------------------------------------------------------------------- // Attribution: "Programming Abstractions in C++" by Eric Roberts // Chapter 6, Exercise 5 // Stanford University, Autumn Quarter 2012 // http://web.stanford.edu/class/archive/cs/cs106b/cs...
29.969697
91
0.570273
heavy3
3a993c8a2f338804af21fad468bb1c62b8bdad4b
1,346
cpp
C++
src/0019_RemoveNthNodeFromEndofList/solution.cpp
hustzxd/leetcode
83828602183e4709a6f20f163951e10b66f26935
[ "MIT" ]
null
null
null
src/0019_RemoveNthNodeFromEndofList/solution.cpp
hustzxd/leetcode
83828602183e4709a6f20f163951e10b66f26935
[ "MIT" ]
null
null
null
src/0019_RemoveNthNodeFromEndofList/solution.cpp
hustzxd/leetcode
83828602183e4709a6f20f163951e10b66f26935
[ "MIT" ]
null
null
null
#include "../../include/solution.h" class Solution { public: ListNode* removeNthFromEnd(ListNode* head, int n) { int len = 0; auto tail = head; while (tail) { len++; tail = tail->next; } int id = 0; ListNode* fake_head = new ListNode(0); ...
24.925926
62
0.478455
hustzxd
3a9aab6dd9ef4684f24f77565cb943b6ef268c29
2,100
cpp
C++
Sources/AGEngine/Skinning/AnimationChannel.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
47
2015-03-29T09:44:25.000Z
2020-11-30T10:05:56.000Z
Sources/AGEngine/Skinning/AnimationChannel.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
313
2015-01-01T18:16:30.000Z
2015-11-30T07:54:07.000Z
Sources/AGEngine/Skinning/AnimationChannel.cpp
Another-Game-Engine/AGE
d5d9e98235198fe580a43007914f515437635830
[ "MIT" ]
9
2015-06-07T13:21:54.000Z
2020-08-25T09:50:07.000Z
#include "AnimationChannel.hpp" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtx/quaternion.hpp> #include <glm/gtc/quaternion.hpp> #include <glm/gtx/matrix_interpolation.hpp> #include <Utils/Serialization/SerializationArchives.hpp> namespace AGE{ void AnimationChannel::fin...
25.925926
285
0.618571
Another-Game-Engine
3a9ae9d17e1f973d051482a903d48ef8b5303db3
2,380
cpp
C++
tcbn/cplus/create/tcbn_create.cpp
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
3
2015-05-12T16:44:27.000Z
2021-02-09T00:39:24.000Z
tcbn/cplus/create/tcbn_create.cpp
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
tcbn/cplus/create/tcbn_create.cpp
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
// -------------------------------------------------------------------- /* tcbn_create.cpp Dec/27/2011 */ // -------------------------------------------------------------------- #include <iostream> #include <cstring> #include <map> #include <tcbdb.h> using namespace std; // ----------------------------------...
26.153846
71
0.515126
ekzemplaro
3a9b4ced3ebb2d74b1cb8a18b6e42f117ba63d10
2,229
hpp
C++
randomprime/nod_wrapper/nod/include/nod/IFileIO.hpp
MeriKatt/metroid-prime-randomizer-custom
c431358af2ce3159909c1ae26034547053560fc6
[ "MIT" ]
null
null
null
randomprime/nod_wrapper/nod/include/nod/IFileIO.hpp
MeriKatt/metroid-prime-randomizer-custom
c431358af2ce3159909c1ae26034547053560fc6
[ "MIT" ]
null
null
null
randomprime/nod_wrapper/nod/include/nod/IFileIO.hpp
MeriKatt/metroid-prime-randomizer-custom
c431358af2ce3159909c1ae26034547053560fc6
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <functional> #include <cstdlib> #include "IDiscIO.hpp" #include "Util.hpp" namespace nod { class IFileIO { public: virtual ~IFileIO() = default; virtual bool exists() = 0; virtual uint64_t size() = 0; struct IWriteStream : nod::IWriteStream { uint64_t copyFromDisc...
30.958333
109
0.631225
MeriKatt
3a9b949a19b0a3b27a2ae6c287d8caa4d4e2a04d
633
cpp
C++
tests/101-150/test_problem106.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
1
2019-12-25T10:17:15.000Z
2019-12-25T10:17:15.000Z
tests/101-150/test_problem106.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
tests/101-150/test_problem106.cpp
abeccaro/project-euler
c3b124bb973dc3a1cf29e8c96c3e70c8816d5fa3
[ "MIT" ]
null
null
null
// // Created by Alex Beccaro on 03/12/18. // #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include "../../src/problems/101-150/106/problem106.hpp" BOOST_AUTO_TEST_SUITE( Problem106 ) BOOST_AUTO_TEST_CASE( Example1 ) { auto res = problems::problem106::solve(4); BOOST_CHECK_EQUA...
24.346154
56
0.665087
abeccaro
3a9ba823687c515f5d6f983ecc6e237fcc37bf80
5,030
cpp
C++
lib/tw/authenticator.cpp
frolv/lynxbot
e9c2e9ba23eca8918d69215850bd094488b9a33a
[ "MIT" ]
3
2016-07-12T21:42:09.000Z
2016-08-31T05:49:40.000Z
lib/tw/authenticator.cpp
frolv/osrs-twitch-bot
e9c2e9ba23eca8918d69215850bd094488b9a33a
[ "MIT" ]
null
null
null
lib/tw/authenticator.cpp
frolv/osrs-twitch-bot
e9c2e9ba23eca8918d69215850bd094488b9a33a
[ "MIT" ]
1
2016-05-26T14:59:11.000Z
2016-05-26T14:59:11.000Z
#include <algorithm> #include <ctime> #include <fstream> #include <iostream> #include <sstream> #include <openssl/hmac.h> #include <tw/authenticator.h> #include <tw/base64.h> #include <tw/oauth.h> #include <utils.h> static const char *INSTRUCTIONS = "In order to allow LynxBot to use your " "Twitter account, you must r...
28.418079
81
0.677932
frolv
3a9c2c8ace80b2c950d73f03b17e79f60d49363e
6,685
cpp
C++
Schweizer-Messer/sm_kinematics/test/UncertainTransformationTests.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
2,690
2015-01-07T03:50:23.000Z
2022-03-31T20:27:01.000Z
Schweizer-Messer/sm_kinematics/test/UncertainTransformationTests.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
481
2015-01-27T10:21:00.000Z
2022-03-31T14:02:41.000Z
Schweizer-Messer/sm_kinematics/test/UncertainTransformationTests.cpp
PushyamiKaveti/kalibr
d8bdfc59ee666ef854012becc93571f96fe5d80c
[ "BSD-4-Clause" ]
1,091
2015-01-26T21:21:13.000Z
2022-03-30T01:55:33.000Z
// Bring in gtest #include <gtest/gtest.h> #include <boost/cstdint.hpp> // Helpful functions from libsm #include <sm/eigen/gtest.hpp> #include <sm/kinematics/quaternion_algebra.hpp> #include <sm/kinematics/UncertainTransformation.hpp> TEST(UncertainTransformationTestSuite, testConstructor) { using namespace sm::k...
26.84739
144
0.702319
PushyamiKaveti
3a9dcb315724e01fdcce58267d5beb2fcc655e93
885
cpp
C++
Codeforces/DiagramsAndTableaux.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Codeforces/DiagramsAndTableaux.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Codeforces/DiagramsAndTableaux.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <bits/stdc++.h> using namespace std; int N, V; int K[10]; vector<int> C[10]; int ans; void func(int r, int c) { if (r == N) { ans += 1; } else if (c >= (int) C[r].size()) { func(r + 1, 0); } else { int curr = 1; if (c - 1 >= 0) { curr = max(curr, ...
17.019231
46
0.316384
aajjbb
3a9e726e49ad4e7c4d31553e219b2c382afc11ff
9,414
cc
C++
src/db_logger.cc
sunnyxhuang/2D-Placement
53310fa7336430a1b82b3ed3fa98409ab5d4b7d5
[ "Apache-2.0" ]
4
2017-09-01T14:43:01.000Z
2017-09-02T04:58:55.000Z
src/db_logger.cc
little-by/2D-Placement
53310fa7336430a1b82b3ed3fa98409ab5d4b7d5
[ "Apache-2.0" ]
null
null
null
src/db_logger.cc
little-by/2D-Placement
53310fa7336430a1b82b3ed3fa98409ab5d4b7d5
[ "Apache-2.0" ]
3
2017-09-21T08:24:51.000Z
2018-10-30T04:46:15.000Z
#include <unistd.h> #include "db_logger.h" #include "util.h" // static bool DbLogger::LOG_FLOW_INFO_ = false; bool DbLogger::Connect() { // return true; } DbLogger::DbLogger(string table_subfix) : table_subfix_(table_subfix) { if (!Connect()) { exit(-1); } has_init_coflow_info_table_ = false; if (L...
41.10917
81
0.533142
sunnyxhuang
3a9e8d3a248148df68aad154296185f0fdb0aa88
3,497
cpp
C++
Fantasyroguegame/Fantasy rogue game/Game.cpp
RichardsonDaniel/BSc-University-Coursework
f66351152826cafd4d0064c26efb7dc9c74f6ce6
[ "MIT" ]
null
null
null
Fantasyroguegame/Fantasy rogue game/Game.cpp
RichardsonDaniel/BSc-University-Coursework
f66351152826cafd4d0064c26efb7dc9c74f6ce6
[ "MIT" ]
null
null
null
Fantasyroguegame/Fantasy rogue game/Game.cpp
RichardsonDaniel/BSc-University-Coursework
f66351152826cafd4d0064c26efb7dc9c74f6ce6
[ "MIT" ]
null
null
null
//sets up the game and starts the main loop #include "Game.h" int Game::instances = 0; void Game::run() { bool running = true; //set running to true SDL_Event sdlEvent; std::cout << "Progress: About to enter main loop" << std::endl; while (running) { while (SDL_PollEvent(&sdlEvent)) { if (sdlEvent.type...
28.900826
96
0.720046
RichardsonDaniel
3aa08ecdc21572485cd6784378357e823e2fc9a4
3,206
cpp
C++
Helper/Source/HelperApp.cpp
williamih/asset-pipeline
077a50442e780f72c238c22d1eec8ab1b99e72f7
[ "BSD-3-Clause" ]
null
null
null
Helper/Source/HelperApp.cpp
williamih/asset-pipeline
077a50442e780f72c238c22d1eec8ab1b99e72f7
[ "BSD-3-Clause" ]
null
null
null
Helper/Source/HelperApp.cpp
williamih/asset-pipeline
077a50442e780f72c238c22d1eec8ab1b99e72f7
[ "BSD-3-Clause" ]
null
null
null
#include "HelperApp.h" #include <vector> #include <QApplication> #include <QHostAddress> #include <Core/Macros.h> HelperApp::HelperApp(u16 port, QObject* parent) : QObject(parent) , m_menu() , m_tcpSocket() , m_socketReadData() , m_dbConn() , m_projectsWindow(m_dbConn) , m_errorsWindow(m_d...
29.412844
81
0.66126
williamih
3aa138cd9d6192437137ad3ab0b3258a2208b03c
499
cpp
C++
cameranorotation.cpp
AndersonMarco/trabalhoFinalParaADisciplinaDeCGDaUFABC
83aacfad40db72d5fac7fca0b8c71a2b96bf24ba
[ "Apache-2.0" ]
null
null
null
cameranorotation.cpp
AndersonMarco/trabalhoFinalParaADisciplinaDeCGDaUFABC
83aacfad40db72d5fac7fca0b8c71a2b96bf24ba
[ "Apache-2.0" ]
null
null
null
cameranorotation.cpp
AndersonMarco/trabalhoFinalParaADisciplinaDeCGDaUFABC
83aacfad40db72d5fac7fca0b8c71a2b96bf24ba
[ "Apache-2.0" ]
null
null
null
#include "cameranorotation.h" CameraNoRotation::CameraNoRotation() { } void CameraNoRotation::mouseMove(const QPointF &p) { if(firstPassInMouseMove){ lastPos3D=mousePosTo3D(p); firstPassInMouseMove=false; return; } QTime currentTime = QTime::currentTime(); vp = mousePosTo3D(...
18.481481
72
0.675351
AndersonMarco
3aa1a076d877d5556c3738d2229ea097eaef5a92
3,094
cc
C++
src/parameters_parser.cc
krackers/kakoune
7672387738ae1a2f38b843fe4b490a6ad882d94f
[ "Unlicense" ]
10
2018-03-22T09:39:19.000Z
2021-02-17T19:24:19.000Z
src/parameters_parser.cc
krackers/kakoune
7672387738ae1a2f38b843fe4b490a6ad882d94f
[ "Unlicense" ]
null
null
null
src/parameters_parser.cc
krackers/kakoune
7672387738ae1a2f38b843fe4b490a6ad882d94f
[ "Unlicense" ]
null
null
null
#include "parameters_parser.hh" #include "flags.hh" namespace Kakoune { String generate_switches_doc(const SwitchMap& switches) { String res; if (switches.empty()) return res; auto switch_len = [](auto& sw) { return sw.key.column_length() + (sw.value.takes_arg ? 5 : 0); }; auto switches_len ...
33.268817
101
0.572721
krackers
3aa1d4028df1976ffaada9f8cd536e5188443eaf
3,202
cpp
C++
sdktools/apimon/apimon/apimonwn.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
sdktools/apimon/apimon/apimonwn.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
sdktools/apimon/apimon/apimonwn.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1995 Microsoft Corporation Module Name: apimonwin.h Abstract: Implemenation for the base ApiMon child window class. Author: Wesley Witt (wesw) Dec-9-1995 Environment: User Mode --*/ #include "apimonp.h" #pragma hdrstop #include "apimonwn.h" A...
17.888268
74
0.527483
npocmaka
3aa1eb9ba9ba7eae43f867c0b1bfacbd702d6d77
500
cpp
C++
Control Work 2021.11.15/Project4/Source.cpp
ElitProffi/HW2021-2022
375abed060ad5a79e6486af0af367725294730d8
[ "Apache-2.0" ]
null
null
null
Control Work 2021.11.15/Project4/Source.cpp
ElitProffi/HW2021-2022
375abed060ad5a79e6486af0af367725294730d8
[ "Apache-2.0" ]
null
null
null
Control Work 2021.11.15/Project4/Source.cpp
ElitProffi/HW2021-2022
375abed060ad5a79e6486af0af367725294730d8
[ "Apache-2.0" ]
null
null
null
#include<iostream> using namespace std; int main(int argc, char* argv[]) { int n = 0; cin >> n; int* o = new int[n] {0}; for (int i = 0; i < n; ++i) { cin >> o[i]; } int max = o[0]; int min = o[0]; for (int i = 0; i < n; ++i) { if (o[i] < min) { min = o[i]; } if (o[i] > max) { max = o[i];...
11.904762
32
0.414
ElitProffi
3aa2208960d7e1d9b1ef35c8b5979e8090a2c3d9
2,961
cpp
C++
turnpike/src/SED.cpp
shuai-huang/turnpike-beltway
20b68a48b68c2daad02346b1c076c0dce99c4431
[ "Apache-2.0" ]
null
null
null
turnpike/src/SED.cpp
shuai-huang/turnpike-beltway
20b68a48b68c2daad02346b1c076c0dce99c4431
[ "Apache-2.0" ]
null
null
null
turnpike/src/SED.cpp
shuai-huang/turnpike-beltway
20b68a48b68c2daad02346b1c076c0dce99c4431
[ "Apache-2.0" ]
1
2020-01-06T17:17:17.000Z
2020-01-06T17:17:17.000Z
#include "SED.h" // Could remove the columns that are all zeros and speed up the computation SED::SED(){} void SED::ComputeObjFunMuti( vector<int> all_distance_block, VectorXd* smp_vec_muti, vector<double>* obj_seq_pt, int val_idx ) { double obj_tmp = 0; for (int i=0; i<all_distance_block.size(); i++) {...
32.9
132
0.638973
shuai-huang
3aa43366f0b6c9c5b4429d04da437f9900db610e
5,652
cc
C++
usr/src/cmd/audio/utilities/Fir.cc
AsahiOS/gate
283d47da4e17a5871d9d575e7ffb81e8f6c52e51
[ "MIT" ]
null
null
null
usr/src/cmd/audio/utilities/Fir.cc
AsahiOS/gate
283d47da4e17a5871d9d575e7ffb81e8f6c52e51
[ "MIT" ]
null
null
null
usr/src/cmd/audio/utilities/Fir.cc
AsahiOS/gate
283d47da4e17a5871d9d575e7ffb81e8f6c52e51
[ "MIT" ]
1
2020-12-30T00:04:16.000Z
2020-12-30T00:04:16.000Z
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
21.992218
73
0.655343
AsahiOS
3aa833e12e577cec543cb98e218b4b660b0a1cd7
3,366
cc
C++
test/test_kjv.cc
yhirose/cpp-searchlib
dd9102bbf0f3a22e77a0bacb8ab2a510ce96890e
[ "MIT" ]
15
2021-08-13T06:28:15.000Z
2022-03-14T06:43:53.000Z
test/test_kjv.cc
yhirose/cpp-searchlib
dd9102bbf0f3a22e77a0bacb8ab2a510ce96890e
[ "MIT" ]
null
null
null
test/test_kjv.cc
yhirose/cpp-searchlib
dd9102bbf0f3a22e77a0bacb8ab2a510ce96890e
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <searchlib.h> #include <filesystem> #include <fstream> #include "test_utils.h" using namespace searchlib; const auto KJV_PATH = "../../test/t_kjv.tsv"; auto normalizer = [](auto sv) { return unicode::to_lowercase(sv); }; static auto kjv_index() { InMemoryInvertedIndex<TextRang...
31.754717
69
0.663102
yhirose
3aa9b603dfa74501ee025bf697e11c316aba7f96
3,405
cpp
C++
src/Generic/theories/Region.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Generic/theories/Region.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Generic/theories/Region.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright 2009 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" #include "Generic/theories/Region.h" #include "Generic/common/LocatedString.h" #include "Generic/common/OutputUtil.h" #include "Generic/common/InternalInconsistencyException.h" #include <wchar.h> #...
33.712871
96
0.727166
BBN-E
3aac997c8c7811035e9e2501c962c99e6a0f7bdf
4,048
cpp
C++
server/src/lidar_controller.cpp
jenny5-robot/jenny5-html5-controller
b23ab10d6a0896cbf8d7c5728fa6fdb4b4327e9c
[ "MIT" ]
1
2020-06-02T02:18:32.000Z
2020-06-02T02:18:32.000Z
server/src/lidar_controller.cpp
jenny5-robot/jenny5-html5
b23ab10d6a0896cbf8d7c5728fa6fdb4b4327e9c
[ "MIT" ]
null
null
null
server/src/lidar_controller.cpp
jenny5-robot/jenny5-html5
b23ab10d6a0896cbf8d7c5728fa6fdb4b4327e9c
[ "MIT" ]
null
null
null
// Author: Mihai Oltean, https://mihaioltean.github.io, mihai.oltean@gmail.com // More details: https://jenny5.org, https://jenny5-robot.github.io/ // Source code: github.com/jenny5-robot // License: MIT // --------------------------------------------------------------------------- #include "lidar_controller.h" #includ...
32.126984
136
0.629447
jenny5-robot
3aaf692c7179baf6517b461469f942f7e5ef3a2c
60
cpp
C++
java projects/jtop/jtopas/versions.alt/seeded/v3/src/de/susebox/jtopas/spi/PaxHeaders.74544/KeywordHandler.cpp
NazaninBayati/SMBFL
999c4bca166a32571e9f0b1ad99085a5d48550eb
[ "MIT" ]
3
2019-08-31T06:18:29.000Z
2020-09-07T12:36:38.000Z
java projects/jtop/jtopas/versions.alt/seeded/v3/src/de/susebox/jtopas/spi/PaxHeaders.74544/KeywordHandler.cpp
NazaninBayati/SMBFL
999c4bca166a32571e9f0b1ad99085a5d48550eb
[ "MIT" ]
null
null
null
java projects/jtop/jtopas/versions.alt/seeded/v3/src/de/susebox/jtopas/spi/PaxHeaders.74544/KeywordHandler.cpp
NazaninBayati/SMBFL
999c4bca166a32571e9f0b1ad99085a5d48550eb
[ "MIT" ]
null
null
null
30 atime=1476297919.065719166 30 ctime=1476297919.066923277
20
29
0.866667
NazaninBayati
3aafb630c90d53761ba8fef9bf2339b92ff7bf43
13,547
hpp
C++
include/lvr2/io/ChannelManager.hpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
1
2019-08-07T03:55:27.000Z
2019-08-07T03:55:27.000Z
include/lvr2/io/ChannelManager.hpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
null
null
null
include/lvr2/io/ChannelManager.hpp
jtpils/lvr2
b1010dfcc930d9ae0ff5cfa5c88d0810d65368ce
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (c) 2018, University Osnabrück * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this li...
29.386117
119
0.634679
jtpils
3ab0a6b9c8ddbdd037e4722c75ea71ba10b1e211
11,113
cpp
C++
DT3Windows8/DeviceGraphicsDX11Shader.cpp
9heart/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
3
2018-10-05T15:03:27.000Z
2019-03-19T11:01:56.000Z
DT3Windows8/DeviceGraphicsDX11Shader.cpp
pakoito/DT3
4ba8fd2af3aebb5c0d77036ac3941e83cd4d1c7e
[ "MIT" ]
1
2016-01-28T14:39:49.000Z
2016-01-28T22:12:07.000Z
DT3Windows8/DeviceGraphicsDX11Shader.cpp
adderly/DT3
e2605be091ec903d3582e182313837cbaf790857
[ "MIT" ]
3
2016-01-25T16:44:51.000Z
2021-01-29T19:59:45.000Z
//============================================================================== /// /// File: DeviceGraphicsDX11Shader.cpp /// /// Copyright (C) 2000-2013 by Smells Like Donkey, Inc. All rights reserved. /// /// This file is subject to the terms and conditions defined in /// file 'LICENSE.txt', which is part of this...
39.407801
154
0.541528
9heart
3ab212d5c0c143d3fd822e31fe379b44bab6f909
1,162
cpp
C++
library/math/longestArithmeticSubsequence.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
40
2017-11-26T05:29:18.000Z
2020-11-13T00:29:26.000Z
library/math/longestArithmeticSubsequence.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
101
2019-02-09T06:06:09.000Z
2021-12-25T16:55:37.000Z
library/math/longestArithmeticSubsequence.cpp
bluedawnstar/algorithm_library
4c7f64ec61fc2ba059b64ad7ba20fcb5b838ced6
[ "Unlicense" ]
6
2017-01-03T14:17:58.000Z
2021-01-22T10:37:04.000Z
#include <vector> #include <algorithm> using namespace std; #include "longestArithmeticSubsequence.h" /////////// For Testing /////////////////////////////////////////////////////// #include <time.h> #include <cassert> #include <string> #include <iostream> #include "../common/iostreamhelper.h" void testLongestArit...
29.794872
81
0.589501
bluedawnstar
3ab21f975dd3dca35081fbc3c4746cd6bab45d4b
775
cc
C++
examples/pxScene2d/external/libnode-v10.15.3/deps/v8/src/builtins/builtins-reflect-gen.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
5,964
2016-09-27T03:46:29.000Z
2022-03-31T16:25:27.000Z
examples/pxScene2d/external/libnode-v10.15.3/deps/v8/src/builtins/builtins-reflect-gen.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/libnode-v10.15.3/deps/v8/src/builtins/builtins-reflect-gen.cc
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,006
2016-09-27T05:17:27.000Z
2022-03-30T02:46:51.000Z
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/builtins/builtins-utils-gen.h" #include "src/builtins/builtins.h" #include "src/code-stub-assembler.h" namespace v8 { namespace internal ...
29.807692
76
0.727742
madanagopaltcomcast
3ab294441d0e1679bc7ee95e342b65aa3d7af470
19,705
cc
C++
third_party/blink/renderer/core/animation/timing_input_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/animation/timing_input_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/blink/renderer/core/animation/timing_input_test.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/animation/timing_input.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/b...
43.212719
106
0.666227
sarang-apps
3ab3a9ccf58887f4ab68196cd4b1f5b8ba487aec
294
cpp
C++
patterns/floyds_pattern.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
patterns/floyds_pattern.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
patterns/floyds_pattern.cpp
neerajsingh869/data-structures-and-algorithms
96087e68fdce743f90f75228af1c7d111f6b92b7
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int main(){ // Floyd's Pattern int n; cin>>n; int count = 0; for(int i=1; i<=n; i++){ for(int j=1; j<=i; j++){ cout<<count+1<<" "; count = count + 1; } cout<<endl; } return 0; }
17.294118
32
0.431973
neerajsingh869
3ab45abf91c927889ac85ae800ae6cf75c6e1dd8
124,497
cpp
C++
Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebKit/UIProcess/API/glib/WebKitSettings.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2011 Motorola Mobility, 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: * * Redistributions of source code must retain the above copyright notice, * this list of cond...
38.03758
147
0.680129
ijsf
3ab967d72f4e80ea5ef374a7ab3eccdd5bbfa3df
3,283
hpp
C++
src/xercesc/dom/deprecated/DOM_RangeException.hpp
ksmyth/xerces-c
245d0f626041add542ab7deabd6ba9c3e4641f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/dom/deprecated/DOM_RangeException.hpp
ksmyth/xerces-c
245d0f626041add542ab7deabd6ba9c3e4641f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/xercesc/dom/deprecated/DOM_RangeException.hpp
ksmyth/xerces-c
245d0f626041add542ab7deabd6ba9c3e4641f6d
[ "ECL-2.0", "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...
30.971698
80
0.670423
ksmyth
3ab99c7d949f1bb73acdc49237737b2dc417a183
7,976
hh
C++
Chaos/Utility/ContextRef.hh
ASMlover/Chaos
06afc6a729204f4c7e6883606b4576987e050fb3
[ "BSD-2-Clause" ]
4
2016-12-03T18:58:45.000Z
2020-08-29T05:09:54.000Z
Chaos/Utility/ContextRef.hh
ASMlover/Chaos
06afc6a729204f4c7e6883606b4576987e050fb3
[ "BSD-2-Clause" ]
null
null
null
Chaos/Utility/ContextRef.hh
ASMlover/Chaos
06afc6a729204f4c7e6883606b4576987e050fb3
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2016 ASMlover. All rights reserved. // // ____ __ // /\ _`\ /\ \ // \ \ \/\_\\ \ \___ __ ___ ____ // \ \ \/_/_\ \ _ `\ /'__`\ / __`\ /',__\ // \ \ \L\ \\ \ \ \ \/\ \L\.\_/\ \L\ \/\__, `\ // \ \____/ \ \_\ \_\ \__/.\_\ \____/\/\____/ // \/___/ \/_/\/_/\/__/\/_/\/___...
26.945946
80
0.660607
ASMlover
3abcd5f2313c1b03d646c267736efd357596a537
3,100
cc
C++
modules/prediction/common/validation_checker.cc
seeclong/apollo
99c8afb5ebcae2a3c9359a156a957ff03944b27b
[ "Apache-2.0" ]
22,688
2017-07-04T23:17:19.000Z
2022-03-31T18:56:48.000Z
modules/prediction/common/validation_checker.cc
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
4,804
2017-07-04T22:30:12.000Z
2022-03-31T12:58:21.000Z
modules/prediction/common/validation_checker.cc
Songjiarui3313/apollo
df9113ae656e28e5374db32529d68e59455058a0
[ "Apache-2.0" ]
9,985
2017-07-04T22:01:17.000Z
2022-03-31T14:18:16.000Z
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
39.74359
80
0.677097
seeclong
3ac3a182940b0e79008ca76a10863f6924418311
2,177
cpp
C++
rosbag2_cpp/src/rosbag2_cpp/cache/cache_consumer.cpp
youliangtan/rosbag2
140169befa6f7179a49a6cfd312f48db47094a23
[ "Apache-2.0" ]
null
null
null
rosbag2_cpp/src/rosbag2_cpp/cache/cache_consumer.cpp
youliangtan/rosbag2
140169befa6f7179a49a6cfd312f48db47094a23
[ "Apache-2.0" ]
14
2021-11-30T00:30:00.000Z
2022-03-22T14:06:55.000Z
rosbag2_cpp/src/rosbag2_cpp/cache/cache_consumer.cpp
youliangtan/rosbag2
140169befa6f7179a49a6cfd312f48db47094a23
[ "Apache-2.0" ]
3
2022-01-25T15:02:52.000Z
2022-03-13T22:51:04.000Z
// Copyright 2020, Robotec.ai sp. z o.o. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
26.876543
77
0.734497
youliangtan
3ac3f0c2fed63182b0b49f0cd779a79f7eef3b61
8,742
cpp
C++
src/frameworks/wilhelm/src/itf/IRecord.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
src/frameworks/wilhelm/src/itf/IRecord.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
null
null
null
src/frameworks/wilhelm/src/itf/IRecord.cpp
dAck2cC2/m3e
475b89b59d5022a94e00b636438b25e27e4eaab2
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
26.981481
90
0.676847
dAck2cC2
3ac3ffc9ebbcf65fd7f24f104a98d7264c0f13c4
4,302
cpp
C++
gtsam/discrete/tests/testDiscreteConditional.cpp
xxiao-1/gtsam
8b1516f43ffdf6b5098fc282b566f2ee1edb50f6
[ "BSD-3-Clause" ]
1,402
2017-03-28T00:18:11.000Z
2022-03-30T10:28:32.000Z
gtsam/discrete/tests/testDiscreteConditional.cpp
xxiao-1/gtsam
8b1516f43ffdf6b5098fc282b566f2ee1edb50f6
[ "BSD-3-Clause" ]
851
2017-11-27T15:09:56.000Z
2022-03-31T22:26:38.000Z
gtsam/discrete/tests/testDiscreteConditional.cpp
xxiao-1/gtsam
8b1516f43ffdf6b5098fc282b566f2ee1edb50f6
[ "BSD-3-Clause" ]
565
2017-11-30T16:15:59.000Z
2022-03-31T02:53:04.000Z
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
37.086207
80
0.574152
xxiao-1
3ac49573cdbed32e06553d8e384dfac8e470d59c
2,063
cpp
C++
torch/inference/ptb_lm_torch.cpp
Joejiong/Inference_benchmark
eb208e8f80b124e99a4f9461a6db2106ec857f62
[ "Apache-2.0" ]
null
null
null
torch/inference/ptb_lm_torch.cpp
Joejiong/Inference_benchmark
eb208e8f80b124e99a4f9461a6db2106ec857f62
[ "Apache-2.0" ]
null
null
null
torch/inference/ptb_lm_torch.cpp
Joejiong/Inference_benchmark
eb208e8f80b124e99a4f9461a6db2106ec857f62
[ "Apache-2.0" ]
null
null
null
#include <torch/script.h> // One-stop header. #include <torch/torch.h> #include <chrono> #include <iostream> #include <memory> using Time = decltype(std::chrono::high_resolution_clock::now()); Time time() {return std::chrono::high_resolution_clock::now();}; double time_diff(Time t1, Time t2) { typedef std::chr...
29.898551
143
0.600582
Joejiong
3ac52abc9531315ab99458ea582d5ea35e025d9f
12,580
hpp
C++
src/xpcc/architecture/platform/driver/adc/lpc/adc.hpp
roboterclubaachen/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
161
2015-01-13T15:52:06.000Z
2020-02-13T01:26:04.000Z
src/xpcc/architecture/platform/driver/adc/lpc/adc.hpp
salkinium/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
281
2015-01-06T12:46:40.000Z
2019-01-06T13:06:57.000Z
src/xpcc/architecture/platform/driver/adc/lpc/adc.hpp
salkinium/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
51
2015-03-03T19:56:12.000Z
2020-03-22T02:13:36.000Z
#ifndef XPCC_LPC111X__ADC_HPP #define XPCC_LPC111X__ADC_HPP #include "../device.h" /* ---------- ADC Data Register bit names --------------------*/ #define ADC_GDR_DONE (1 << 31) #define ADC_DR_DONE ADC_GDR_DONE /* ---------- ADC Control Register bit names ------------------*/ #define ADC_CR_SEL_MASK (0xff << 0) ...
30.167866
134
0.64372
roboterclubaachen
3ac5f4c99e4f14bbff71d760129abf7f22f09de3
147
cpp
C++
assets/listings/item42-2.cpp
feserr/ResumenEffectiveCpp
8c535b2c9acc53fc117d38e35e1dd2cb7c8750fc
[ "BSD-2-Clause" ]
null
null
null
assets/listings/item42-2.cpp
feserr/ResumenEffectiveCpp
8c535b2c9acc53fc117d38e35e1dd2cb7c8750fc
[ "BSD-2-Clause" ]
null
null
null
assets/listings/item42-2.cpp
feserr/ResumenEffectiveCpp
8c535b2c9acc53fc117d38e35e1dd2cb7c8750fc
[ "BSD-2-Clause" ]
null
null
null
template<typename C> void print2nd(const C& container) { if (container.size() > 2) { C::const_iterator iter(container.begin()); ... } }
21
46
0.632653
feserr
3ac637de6c0ff0e9fef3fe12e8118a0cca33519a
10,305
cpp
C++
src/renderer/src/SimpleRenderModeFactory.cpp
Ashimaru/narnia_engine
66419b9e19a05546616b4450b12cb5f426dd6be7
[ "MIT" ]
null
null
null
src/renderer/src/SimpleRenderModeFactory.cpp
Ashimaru/narnia_engine
66419b9e19a05546616b4450b12cb5f426dd6be7
[ "MIT" ]
null
null
null
src/renderer/src/SimpleRenderModeFactory.cpp
Ashimaru/narnia_engine
66419b9e19a05546616b4450b12cb5f426dd6be7
[ "MIT" ]
null
null
null
#include "SimpleRenderModeFactory.h" #include "LoggerAPI.h" #include "Vertex.h" #include <array> #include <cassert> using std::array; SimpleRenderModeFactory::SimpleRenderModeFactory(GPUPtr &gpu, const ScenePtr &scene) : m_gpu(gpu), m_scene(scene) { } SimpleRenderMode SimpleRenderModeFactory::crea...
36.803571
171
0.787579
Ashimaru
3ac652eda4f48a1019464c983ff25cd02ef7cc8f
1,522
cpp
C++
src/tracker/src/track.cpp
apennisi/mctracker
29a89046f796f84eac922b2dc9cf4cd6c7aebb6b
[ "MIT" ]
16
2019-08-04T04:29:12.000Z
2022-03-07T02:18:49.000Z
src/tracker/src/track.cpp
apennisi/mctracker
29a89046f796f84eac922b2dc9cf4cd6c7aebb6b
[ "MIT" ]
3
2020-06-03T02:15:08.000Z
2021-01-07T03:31:10.000Z
src/tracker/src/track.cpp
apennisi/mctracker
29a89046f796f84eac922b2dc9cf4cd6c7aebb6b
[ "MIT" ]
1
2021-01-06T03:33:05.000Z
2021-01-06T03:33:05.000Z
#include "track.h" using namespace mctracker::tracker; Track ::Track(const float& _x, const float& _y, const KalmanParam& _param, const cv::Mat& h, const int cameraNum) : Entity(), hist(h) { kf = std::shared_ptr<KalmanFilter>(new KalmanFilter(_x, _y, _param.getDt())); ntimes_propagated = 0; freezed = ...
21.138889
108
0.604468
apennisi
3ac797c7ee8a0f28d17a4cc5c7905430bba2e3be
20,848
cc
C++
src/mem/ruby/network/orion/sleep_model/cacti_area_sleep/parameter.cc
pnkfb9/gem5_priority
fbf766277df78a470758cf7d798d12fb1e7c51c4
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/network/orion/sleep_model/cacti_area_sleep/parameter.cc
pnkfb9/gem5_priority
fbf766277df78a470758cf7d798d12fb1e7c51c4
[ "BSD-3-Clause" ]
null
null
null
src/mem/ruby/network/orion/sleep_model/cacti_area_sleep/parameter.cc
pnkfb9/gem5_priority
fbf766277df78a470758cf7d798d12fb1e7c51c4
[ "BSD-3-Clause" ]
null
null
null
/*------------------------------------------------------------ * CACTI 6.5 * Copyright 2008 Hewlett-Packard Development Corporation * All Rights Reserved * * Permission to use, copy, and modify this software and its documentation is * hereby granted onl...
37.563964
149
0.59387
pnkfb9
3aca6ffb1e33d1985823da482e25a1befeb417b7
556
hpp
C++
include/Table.hpp
DeynegaEkaterina/lab_01
60f6621f48a4ca2beb1a635c8d162631852f4877
[ "MIT" ]
null
null
null
include/Table.hpp
DeynegaEkaterina/lab_01
60f6621f48a4ca2beb1a635c8d162631852f4877
[ "MIT" ]
null
null
null
include/Table.hpp
DeynegaEkaterina/lab_01
60f6621f48a4ca2beb1a635c8d162631852f4877
[ "MIT" ]
null
null
null
// // Created by ekaterina on 08.10.2020. // // Copyright 2020 Your Name <ekaterina> #ifndef INCLUDE_HEADER_HPP_ #define INCLUDE_HEADER_HPP_ #include <vector> #include <string> #include "Student.hpp" class Table { public: explicit Table(const json& j); ~Table(); static Table parseFile(const std::string& s);...
18.533333
49
0.719424
DeynegaEkaterina
3acbe8e00fec917d08f548a155df54140c293df0
53,068
cpp
C++
src/tests/relay/t_relay_io_hdf5.cpp
aaroncblack/conduit
f54f834eb8aaff4fc97613e04cfdb360997867be
[ "BSD-3-Clause" ]
null
null
null
src/tests/relay/t_relay_io_hdf5.cpp
aaroncblack/conduit
f54f834eb8aaff4fc97613e04cfdb360997867be
[ "BSD-3-Clause" ]
null
null
null
src/tests/relay/t_relay_io_hdf5.cpp
aaroncblack/conduit
f54f834eb8aaff4fc97613e04cfdb360997867be
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) Lawrence Livermore National Security, LLC and other Conduit // Project developers. See top-level LICENSE AND COPYRIGHT files for dates and // other details. No copyright assignment is required to contribute to Conduit. //----------------------------------------------------------------------------- ///...
27.496373
104
0.572548
aaroncblack
3accd4ecf9d7168deee13dfd0f91a40e2270d982
721
cpp
C++
Painting Fence Algorithm/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-01-31T10:22:29.000Z
2021-08-29T08:25:12.000Z
Painting Fence Algorithm/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
6
2020-09-30T19:01:49.000Z
2020-12-17T15:10:54.000Z
Painting Fence Algorithm/code_1.cpp
Jatin-Goyal5/Data-Structures-and-Algorithms
f6bd0f77e5640c2e0568f3fffc4694758e77af96
[ "MIT" ]
27
2019-09-21T14:19:32.000Z
2021-09-15T03:06:41.000Z
// // code_1.cpp // Algorithm // // Created by Mohd Shoaib Rayeen on 23/11/18. // Copyright © 2018 Shoaib Rayeen. All rights reserved. // #include <iostream> using namespace std; long countWays(int n, int k) { long dp[n + 1]; memset(dp, 0, sizeof(dp)); int mod = 1000000007; dp[1] = k; long ...
18.025
62
0.496533
Jatin-Goyal5
3acdf001bfc1070540e2bab81a7d5715a5784b1f
7,723
cpp
C++
Control_movement/chassis/Src/CrosshairDrawer.cpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-31T09:27:00.000Z
2021-12-31T09:27:00.000Z
Control_movement/chassis/Src/CrosshairDrawer.cpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
null
null
null
Control_movement/chassis/Src/CrosshairDrawer.cpp
PhilosopheAM/21_Fall_project_gabbishSorting
15ef612d9e483ad72f9e37953875a7303f94b38e
[ "MIT" ]
1
2021-12-22T03:34:04.000Z
2021-12-22T03:34:04.000Z
#include "CrosshairDrawer.hpp" #include "Dr16.hpp" #include "math.h" #include "BoardPacket.hpp" void CrosshairDrawner::Init() { SetDefaultTicksToUpdate(550); m_pGimbalController = (GimbalController*)GetOwner()->GetEntity(ECT_GimbalController); m_rpcIndex = 255; BoardPacketManager::Instance()->GetTes...
31.913223
129
0.628512
PhilosopheAM
3acdf07a1776d4219021b43bdc75de37c973b8e1
1,701
cpp
C++
src/sst/elements/VaultSimC/app.cpp
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
58
2015-10-05T15:22:27.000Z
2022-03-31T01:58:36.000Z
src/sst/elements/VaultSimC/app.cpp
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
1,453
2015-10-07T14:51:06.000Z
2022-03-31T22:22:28.000Z
src/sst/elements/VaultSimC/app.cpp
sudhanshu2/sst-elements
d658e5e4b26e5725488f9e93528506ddb22072ee
[ "BSD-3-Clause" ]
109
2015-10-16T22:03:10.000Z
2022-03-22T23:21:32.000Z
// Copyright 2009-2021 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2021, NTESS // All rights reserved. // // Portions are copyright of other developers: // See the file CONTRIBUTORS.TXT in the top level directory...
24.652174
76
0.627866
sudhanshu2
3ace271a087f904c18f6fc8def9e716a452047b4
248
cpp
C++
CodeForces/Complete/700-799/750A-NewYearAndHurry.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
CodeForces/Complete/700-799/750A-NewYearAndHurry.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
CodeForces/Complete/700-799/750A-NewYearAndHurry.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <cstdio> int main(){ int n, k; scanf("%d %d", &n, &k); int t = 240 - k; int count(0); while(t >= 5 * (count + 1)){++count; t -= 5 * count;} count = (n < count) ? n : count; printf("%d\n", count); return 0; }
17.714286
57
0.455645
Ashwanigupta9125
3ace55404cef53142c74d770448f7e0c120997ca
13,990
hh
C++
src/vp8/decoder/boolreader.hh
interiorem/lepton
8435d22b1f0ee9180b8b99610f8823589d7cb982
[ "Apache-2.0" ]
4
2018-10-29T20:11:40.000Z
2018-11-01T11:10:47.000Z
src/vp8/decoder/boolreader.hh
interiorem/lepton
8435d22b1f0ee9180b8b99610f8823589d7cb982
[ "Apache-2.0" ]
4
2018-11-08T14:11:42.000Z
2018-12-18T17:03:52.000Z
src/vp8/decoder/boolreader.hh
interiorem/lepton
8435d22b1f0ee9180b8b99610f8823589d7cb982
[ "Apache-2.0" ]
1
2018-12-13T08:34:54.000Z
2018-12-13T08:34:54.000Z
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE banner below * An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may *...
33.549161
755
0.573838
interiorem
3acf0979eed3861f923b342aae77dc26dbfba0f3
310
cpp
C++
Tests/LinearSolvers/CellEB2/main.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tests/LinearSolvers/CellEB2/main.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
null
null
null
Tests/LinearSolvers/CellEB2/main.cpp
ylunalin/amrex
5715b2fc8a77e0db17bfe7907982e29ec44811ca
[ "BSD-3-Clause-LBNL" ]
1
2020-01-17T05:00:26.000Z
2020-01-17T05:00:26.000Z
#include <AMReX.H> #include "MyTest.H" int main (int argc, char* argv[]) { amrex::Initialize(argc, argv); { BL_PROFILE("main"); MyTest mytest; for (int i = 0; i < 1; ++i) { mytest.solve(); } mytest.writePlotfile(); } amrex::Finalize(); }
15.5
37
0.490323
ylunalin
3ad2fa631e1b001886c4bd5911ef229e87d4de44
14,056
cpp
C++
gen/blink/bindings/core/v8/V8TouchEvent.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
8
2019-05-05T16:38:05.000Z
2021-11-09T11:45:38.000Z
gen/blink/bindings/core/v8/V8TouchEvent.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
null
null
null
gen/blink/bindings/core/v8/V8TouchEvent.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
4
2018-12-14T07:52:46.000Z
2021-06-11T18:06:09.000Z
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8TouchEvent.h" #include "bindings/core/v8/Ex...
47.647458
516
0.75434
gergul
3ad3d2b5f3fe498e5c94217c4a0518db7ca0052b
18,162
cpp
C++
MyNetPhoneServer/encoder/countbit.cpp
Vladimir-Novick/MyNetPhone
3994085b46ac059e0523ddaf0f5b6effc388106a
[ "MIT" ]
2
2019-06-03T07:29:08.000Z
2022-01-08T17:41:28.000Z
MyNetPhoneServer/encoder/countbit.cpp
Vladimir-Novick/MyNetPhone
3994085b46ac059e0523ddaf0f5b6effc388106a
[ "MIT" ]
1
2020-08-28T07:37:25.000Z
2020-08-28T07:37:25.000Z
MyNetPhoneServer/encoder/countbit.cpp
Vladimir-Novick/MyNetPhone
3994085b46ac059e0523ddaf0f5b6effc388106a
[ "MIT" ]
null
null
null
//////////////////////////////////////////////////////////////////////////// // // // Project : VideoNet Ver. 1.0. // Description : Video Conferencing over the LAN. // Author : Vladiimir Novick ( v_novick@yahoo.com ) // Date : 17/12/2005 // // I have converted origional fast h.263 ...
23.465116
110
0.515086
Vladimir-Novick
3ad4e3bc5b94c28b7cebaed5d154cd076fb3d5a8
9,310
cpp
C++
src/boost/webclient/polyfill/shared_composed_op.spec.cpp
madmongo1/webclient
7eb52899443a76ced83b6f286b0e0d688f02fc65
[ "BSL-1.0" ]
3
2020-06-12T02:22:41.000Z
2021-03-23T14:18:01.000Z
src/boost/webclient/polyfill/shared_composed_op.spec.cpp
madmongo1/webclient
7eb52899443a76ced83b6f286b0e0d688f02fc65
[ "BSL-1.0" ]
1
2020-06-12T02:29:08.000Z
2020-07-18T10:07:05.000Z
src/boost/webclient/polyfill/shared_composed_op.spec.cpp
madmongo1/webclient
7eb52899443a76ced83b6f286b0e0d688f02fc65
[ "BSL-1.0" ]
null
null
null
// // Copyright (c) 2020 Richard Hodges (hodges.r@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/madmongo1/webclient // // This project was made possible ...
29.27673
119
0.596563
madmongo1
3ad60ba5845969a9b65dbf3984d84a27b34c7700
13,036
tcc
C++
include/elements/3d/hexahedron_bspline_element.tcc
jgiven100/mpm-1
adc83ab57782874d4dce1ac13be46bca1754a0fe
[ "MIT" ]
null
null
null
include/elements/3d/hexahedron_bspline_element.tcc
jgiven100/mpm-1
adc83ab57782874d4dce1ac13be46bca1754a0fe
[ "MIT" ]
null
null
null
include/elements/3d/hexahedron_bspline_element.tcc
jgiven100/mpm-1
adc83ab57782874d4dce1ac13be46bca1754a0fe
[ "MIT" ]
null
null
null
//! Assign nodal connectivity property for bspline elements template <unsigned Tdim, unsigned Tnfunctions> void mpm::HexahedronBSplineElement<Tdim, Tnfunctions>:: initialise_bspline_connectivity_properties( const Eigen::MatrixXd& nodal_coordinates, const std::vector<std::vector<unsigned>>& nodal_pro...
39.98773
96
0.625038
jgiven100
3ad6b4e1d8a65ef656542d390021b5ac8527d0aa
1,262
hpp
C++
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/Skeleton2D.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
5
2021-05-27T21:50:33.000Z
2022-01-28T11:54:32.000Z
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/Skeleton2D.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
null
null
null
climate-change/src/VS-Project/Libraries/godot-cpp-bindings/include/gen/Skeleton2D.hpp
jerry871002/CSE201-project
c42cc0e51d0c8367e4d06fc33756ab2ec4118ff4
[ "MIT" ]
1
2021-01-04T21:12:05.000Z
2021-01-04T21:12:05.000Z
#ifndef GODOT_CPP_SKELETON2D_HPP #define GODOT_CPP_SKELETON2D_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "Node2D.hpp" namespace godot { class Bone2D; class Skeleton2D : public Node2D { struct ___method_bindings { godot_method_bind...
24.269231
245
0.774168
jerry871002
3ad6fc8a6037695e2b52cf5b74671b4f27aa8896
1,104
cc
C++
Graph_ADTs_Interfaces/SparseMultiGRAPH.cc
mightyjoe781/Markdown-Notes
4d8afdbfed75dc2a9f474579b49c9948dd3b4978
[ "MIT" ]
null
null
null
Graph_ADTs_Interfaces/SparseMultiGRAPH.cc
mightyjoe781/Markdown-Notes
4d8afdbfed75dc2a9f474579b49c9948dd3b4978
[ "MIT" ]
null
null
null
Graph_ADTs_Interfaces/SparseMultiGRAPH.cc
mightyjoe781/Markdown-Notes
4d8afdbfed75dc2a9f474579b49c9948dd3b4978
[ "MIT" ]
null
null
null
class SparseMultiGRAPH { int Vcnt, Ecnt; bool digraph; struct node { int v; node* next; node(int x, node* t){ v = x; next = t; } }; typedef node* link; vector<link> adj; public: SparseMultiGRAPH(int V, bool digraph = false): adj(V), Vcnt(V), Ecnt(0), digraph(dig...
25.090909
51
0.522645
mightyjoe781
3ae03db192d52d3599845bc934b3da129f1e1f84
1,089
cpp
C++
main.cpp
hongshunyang/cellcounter
5a4576208e0b2011147e6eac4c739eab9a963014
[ "MIT" ]
3
2018-07-20T19:07:15.000Z
2021-05-20T01:59:02.000Z
main.cpp
hongshunyang/cellcounter
5a4576208e0b2011147e6eac4c739eab9a963014
[ "MIT" ]
null
null
null
main.cpp
hongshunyang/cellcounter
5a4576208e0b2011147e6eac4c739eab9a963014
[ "MIT" ]
3
2017-04-25T17:14:46.000Z
2020-07-12T11:52:36.000Z
#include <QtWidgets/QApplication> #include "cellcounter.h" #include<QMessageBox> #include<QIcon> class CC: public QApplication { public: CC(int argc, char **argv): QApplication(argc, argv) { } bool notify(QObject *rec, QEvent *ev) { try{ return QApplication::notify(rec, ev); ...
25.325581
133
0.561983
hongshunyang
3ae0f76780a921ad7ef212da44f73b1fcff75d11
1,947
cpp
C++
modules/task_1/krasilnikov_a_count_sentences/count_sentences.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
1
2020-10-30T13:49:58.000Z
2020-10-30T13:49:58.000Z
modules/task_1/krasilnikov_a_count_sentences/count_sentences.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
2
2020-11-14T18:00:55.000Z
2020-11-19T16:12:50.000Z
modules/task_1/krasilnikov_a_count_sentences/count_sentences.cpp
RachinIA/pp_2020_autumn_engineer
23f7df688a77cad9496b9d95bbe2645e0528f106
[ "BSD-3-Clause" ]
1
2020-10-14T19:37:21.000Z
2020-10-14T19:37:21.000Z
// Copyright 2020 Krasilnikov Alexey #include "../../../modules/task_1/krasilnikov_a_count_sentences/count_sentences.h" #include <mpi.h> #include <ctime> #include <random> #include <string> std::string getRandomString(const size_t size) { std::mt19937 generator; std::string str(size, '_'); for (auto &symbol : ...
30.904762
101
0.655367
RachinIA
3ae33e2c4fb2a58a73717aa19afa4f2adbc22eac
3,106
hpp
C++
Viewer/ecflowUI/src/ChangeNotifyDialog.hpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Viewer/ecflowUI/src/ChangeNotifyDialog.hpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
Viewer/ecflowUI/src/ChangeNotifyDialog.hpp
mpartio/ecflow
ea4b89399d1e7b897ff48c59b1e885e6d53cc8d6
[ "Apache-2.0" ]
null
null
null
//============================================================================ // Copyright 2009- ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. // In applying this licence, ECMWF does not waive the privileges...
25.252033
87
0.729234
mpartio
3ae350e30f2d4ad631b19ae59993bcd027abfe05
1,784
cpp
C++
test/test-Color.inc.cpp
Arnaud-de-Grandmaison/ratrac
d2ab18235ff9b61e6f63694e02f53790e81ed4a7
[ "Apache-2.0" ]
null
null
null
test/test-Color.inc.cpp
Arnaud-de-Grandmaison/ratrac
d2ab18235ff9b61e6f63694e02f53790e81ed4a7
[ "Apache-2.0" ]
null
null
null
test/test-Color.inc.cpp
Arnaud-de-Grandmaison/ratrac
d2ab18235ff9b61e6f63694e02f53790e81ed4a7
[ "Apache-2.0" ]
null
null
null
TEST(Color, base) { // Testing same operations on colors. // ================================== // Colors are red, green, blue tuples. Color c(-0.5, 0.4, 1.7); EXPECT_EQ(c.red(), -0.5f); EXPECT_EQ(c.green(), 0.4f); EXPECT_EQ(c.blue(), 1.7f); // Adding colors. Color c1(0.9, 0.6, 0.75); Color c2(0.7...
28.31746
65
0.559978
Arnaud-de-Grandmaison
3ae38974d5fc957e8c535dcfc5eb65ff0d9c96eb
2,237
cc
C++
chrome/browser/chromeos/login/help_app_launcher.cc
junmin-zhu/chromium-rivertrail
eb1a57aca71fe68d96e48af8998dcfbe45171ee1
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
chrome/browser/chromeos/login/help_app_launcher.cc
sanyaade-mobiledev/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
chrome/browser/chromeos/login/help_app_launcher.cc
jianglong0156/chromium.src
d496dfeebb0f282468827654c2b3769b3378c087
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/help_app_launcher.h" #include <string> #include "base/stringprintf.h" #include "base/utf_string_conversions....
30.643836
79
0.665177
junmin-zhu
3ae96931426aaff88e89b534543d0ca13acfcc2c
237,049
cpp
C++
TestApps/Rosetta/BNN/Prebuilt/Synth/_sds/vhls/top/solution/syn/systemc/a0_bin_conv_5.cpp
stephenneuendorffer/hls_tuner
fa7de78f0e2bb4b8f9f2e0a0368ed071b379c875
[ "MIT" ]
1
2021-02-21T12:13:09.000Z
2021-02-21T12:13:09.000Z
TestApps/Rosetta/BNN/Prebuilt/Synth/_sds/vhls/top/solution/syn/systemc/a0_bin_conv_5.cpp
stephenneuendorffer/hls_tuner
fa7de78f0e2bb4b8f9f2e0a0368ed071b379c875
[ "MIT" ]
null
null
null
TestApps/Rosetta/BNN/Prebuilt/Synth/_sds/vhls/top/solution/syn/systemc/a0_bin_conv_5.cpp
stephenneuendorffer/hls_tuner
fa7de78f0e2bb4b8f9f2e0a0368ed071b379c875
[ "MIT" ]
1
2019-09-10T16:45:27.000Z
2019-09-10T16:45:27.000Z
#include "a0_bin_conv.h" #include "AESL_pkg.h" using namespace std; namespace ap_rtl { void a0_bin_conv::thread_sel_tmp175_fu_26354_p3() { sel_tmp175_fu_26354_p3 = (!tmp_170_reg_51104.read()[0].is_01())? sc_lv<2>(): ((tmp_170_reg_51104.read()[0].to_bool())? old_word_buffer_0_5_18_fu_1550.read(): sel_tmp174_fu_26...
58.864912
239
0.765424
stephenneuendorffer
3aeb0a71223ede94329dd5d1a3b034dae24f3c54
2,101
cc
C++
src/contest/misc/Sales.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
83
2017-08-30T01:20:03.000Z
2022-02-12T13:50:27.000Z
src/contest/misc/Sales.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
1
2015-08-20T13:37:59.000Z
2015-08-26T00:56:39.000Z
src/contest/misc/Sales.cc
anshika581/competitive-programming-1
c34fb89820cd7260661daa2283f492b07cd9f8d2
[ "Apache-2.0", "MIT" ]
41
2017-11-09T06:10:08.000Z
2022-01-11T14:10:25.000Z
#include <bits/stdc++.h> using namespace std; #define SIZE 30000 inline int scan(int &x) { char c; while (c = getchar(), c < '0' || c > '9') ; x = c - '0'; while (c = getchar(), c >= '0' && c <= '9') x = x * 10 + c - '0'; } int tree[32768][51]; int B, N, D; int cost[SIZE + 1], value[SIZE + 1]; int ...
20.598039
73
0.429795
anshika581
3af27fc36d8fb5ab935251d44467991d789b3ef4
1,173
cc
C++
tests/test_given_get.cc
farnasirim/range-tracker
8e67ed2c9565fbeabcd69002703abb7b5eab8237
[ "MIT" ]
null
null
null
tests/test_given_get.cc
farnasirim/range-tracker
8e67ed2c9565fbeabcd69002703abb7b5eab8237
[ "MIT" ]
null
null
null
tests/test_given_get.cc
farnasirim/range-tracker
8e67ed2c9565fbeabcd69002703abb7b5eab8237
[ "MIT" ]
null
null
null
#include "test_common.h" TEST_CASE("RangeTracker objects must work correctly on the given get tests", "[RangeTracker]") { auto rts = ALL_IMPLEMENTATIONS(int); std::vector<std::pair<int, int>> empty = {}; for(auto& it: rts) { it->Add(1, 3); it->Add(5, 6); } std::vector<std::pair<int, int>> existi...
26.066667
76
0.524297
farnasirim
3af41c50fe748b8e3af751871769b38f1adb345b
11,595
cpp
C++
Submodules/Peano/src/tarch/parallel/Node.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
null
null
null
Submodules/Peano/src/tarch/parallel/Node.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
null
null
null
Submodules/Peano/src/tarch/parallel/Node.cpp
linusseelinger/ExaHyPE-Tsunami
92a6e14926862e1584ef1e935874c91d252e8112
[ "BSD-3-Clause" ]
1
2021-04-08T16:12:18.000Z
2021-04-08T16:12:18.000Z
#include "tarch/parallel/Node.h" #include "tarch/Assertions.h" #include "tarch/services/ServiceRepository.h" #include <sstream> #include <cstdlib> #include "tarch/compiler/CompilerSpecificSettings.h" #include "tarch/multicore/MulticoreDefinitions.h" /** * For the machine name. If it doesn't work, switch it off in t...
27.607143
155
0.681846
linusseelinger
3af749b9c4ef66f3153c8bc9dd4d7d3b25dcc599
1,635
cpp
C++
lib/SDL/src/renderer.cpp
mkschleg/PhysicsEngine
583c26d4674dcf38cd213d0bd49ddb9b4efe5f09
[ "MIT" ]
null
null
null
lib/SDL/src/renderer.cpp
mkschleg/PhysicsEngine
583c26d4674dcf38cd213d0bd49ddb9b4efe5f09
[ "MIT" ]
null
null
null
lib/SDL/src/renderer.cpp
mkschleg/PhysicsEngine
583c26d4674dcf38cd213d0bd49ddb9b4efe5f09
[ "MIT" ]
null
null
null
#include "renderer.h" #include <SDL.h> namespace SDL{ Renderer::Renderer():renderer(nullptr){} Renderer::Renderer(const Window& window, int index, Uint32 flags){ //SDL_CreateRenderer(SDL_Window *window, int index, Uint32 flags) renderer.reset(SDL_CreateRenderer(window.window.get(), index, flags), SDL...
26.803279
103
0.686239
mkschleg
3af89945eff88b6ae2bf937782fca1f5c2426e02
8,141
cpp
C++
src/sim-cache/machine.cpp
EverNebula/RISC-V_Simulator
23dcb6885834ec5f922e0ccf2546a1b0e66aca7b
[ "MIT" ]
null
null
null
src/sim-cache/machine.cpp
EverNebula/RISC-V_Simulator
23dcb6885834ec5f922e0ccf2546a1b0e66aca7b
[ "MIT" ]
null
null
null
src/sim-cache/machine.cpp
EverNebula/RISC-V_Simulator
23dcb6885834ec5f922e0ccf2546a1b0e66aca7b
[ "MIT" ]
null
null
null
#include <stdio.h> #include <string.h> #include "machine.hpp" #include "utils.hpp" #define MAX(a, b) ((a) > (b) ? (a) : (b)) void SingleStepInfo() { printf("Single Step Mode Help:\n"); printf("c: continue\n"); printf("r: print all registers\n"); printf("d: dump machine status to file 'status_dump.txt'\n"); print...
22.67688
113
0.585309
EverNebula
3afb2a6dc103166391199d28207cef89006d0e50
34,597
cpp
C++
applications/demosSandbox/sdkDemos/demos/BalancingCharacter.cpp
JernejL/newton-dynamics
70d9465185d8f1fc2c4fe7718b4537771d04db02
[ "Zlib" ]
1
2019-12-10T23:26:14.000Z
2019-12-10T23:26:14.000Z
applications/demosSandbox/sdkDemos/demos/BalancingCharacter.cpp
mikiec84/newton-dynamics
20693b597e93da6fbda9025cb55cff6d274616b0
[ "Zlib" ]
null
null
null
applications/demosSandbox/sdkDemos/demos/BalancingCharacter.cpp
mikiec84/newton-dynamics
20693b597e93da6fbda9025cb55cff6d274616b0
[ "Zlib" ]
1
2021-11-18T02:12:49.000Z
2021-11-18T02:12:49.000Z
/* Copyright (c) <2003-2019> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
32.424555
221
0.724456
JernejL
3affc0447276fdbd8f52a61b72a451ed999d9aa8
4,458
cpp
C++
src/Libs/CodecUtils/ImagePlaneDecoder.cpp
miseri/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
1
2021-07-14T08:15:05.000Z
2021-07-14T08:15:05.000Z
src/Libs/CodecUtils/ImagePlaneDecoder.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
null
null
null
src/Libs/CodecUtils/ImagePlaneDecoder.cpp
7956968/rtp_plus_plus
244ddd86f40f15247dd39ae7f9283114c2ef03a2
[ "BSD-3-Clause" ]
2
2021-07-14T08:15:02.000Z
2021-07-14T08:56:10.000Z
/** @file MODULE : ImagePlaneDecoder TAG : IPD FILE NAME : ImagePlaneDecoder.cpp DESCRIPTION : A base class with the common implementations for a family of implementations to read sequentially from a bit stream, decode and inverse quantise each colour pl...
27.182927
79
0.531629
miseri
d700d9c29b98326384634d116c11d53c4d293497
8,397
cpp
C++
re/sniffer/sniffermodel.cpp
thiesmoeller/SavvyCAN
326455f255da05a3414b219600246c46bb517592
[ "MIT" ]
3
2021-01-02T21:54:42.000Z
2022-01-21T13:29:05.000Z
re/sniffer/sniffermodel.cpp
thiesmoeller/SavvyCAN
326455f255da05a3414b219600246c46bb517592
[ "MIT" ]
null
null
null
re/sniffer/sniffermodel.cpp
thiesmoeller/SavvyCAN
326455f255da05a3414b219600246c46bb517592
[ "MIT" ]
1
2021-11-02T20:56:08.000Z
2021-11-02T20:56:08.000Z
#include <QDebug> #include <Qt> #include <QApplication> #include "sniffermodel.h" #include "snifferwindow.h" #include "SnifferDelegate.h" SnifferModel::SnifferModel(QObject *parent) : QAbstractItemModel(parent), mFilter(false), mNeverExpire(false), mFadeInactive(false), mMuteNotched(false),...
24.916914
118
0.524354
thiesmoeller
d700fbbcf4e249f05c7453780b3804510a5e7e51
35,226
cpp
C++
src/vscp/common/vscp_bootdevice_vscp.cpp
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
src/vscp/common/vscp_bootdevice_vscp.cpp
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
src/vscp/common/vscp_bootdevice_vscp.cpp
nanocortex/vscp
0b1a51a35a886921179a8112c592547f84c9771a
[ "CC-BY-3.0" ]
null
null
null
///////////////////////////////////////////////////////////////////////////// // Name: bootdevice_vscp.cpp // Purpose: // Author: Ake Hedman // Modified by: // Created: 16/12/2009 22:26:09 // RCS-ID: // Copyright: (C) 2000-2020 // Ake Hedman, Grodans Paradis AB, <akhe@vscp.org> // (C) 201...
30.133447
80
0.505167
nanocortex
d701232b2015913583f65b9984f53b0253d634d1
23,571
inl
C++
include/bit/stl/utilities/detail/variant.inl
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
6
2017-03-29T07:20:30.000Z
2021-12-28T20:17:33.000Z
include/bit/stl/utilities/detail/variant.inl
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
6
2017-10-11T02:26:07.000Z
2018-04-16T03:09:48.000Z
include/bit/stl/utilities/detail/variant.inl
bitwizeshift/bit-stl
cec555fbda2ea1b6e126fa719637dde8d3f2ddd3
[ "MIT" ]
1
2018-08-27T15:03:47.000Z
2018-08-27T15:03:47.000Z
#ifndef BIT_STL_UTILITIES_DETAIL_VARIANT_INL #define BIT_STL_UTILITIES_DETAIL_VARIANT_INL //---------------------------------------------------------------------------- // Constructors / Assignment //---------------------------------------------------------------------------- template<typename...Types> inline constex...
33.386686
113
0.594841
bitwizeshift
d70241a6ac557efbbea202db98443b9d91310893
2,086
cpp
C++
source/lab2/vector.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab2/vector.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
source/lab2/vector.cpp
Jovvik/methopt-lab-1
2c3acaf653c7214a925ed1292b9d1d30a33d2737
[ "Unlicense" ]
null
null
null
#include "lab2/vector.h" #include <cmath> #include <iterator> #include <utility> using namespace lab2; Vector::Vector(std::istream& is) { double el; while (is >> el) { data.push_back(el); } if (size() == 0) { throw "Vector is empty"; } } Vector::Vector(const std::vector<double>& ...
23.177778
70
0.535475
Jovvik
d703174c6f95b6a281dd721a3be8b88e1c49c540
5,970
cpp
C++
specialized_intra_process_comm/src/intra_process_manager.cpp
tier4/specialized_intra_process_comm
f213a6d4e29b8cde0b74abdedf684de7ed8ebff9
[ "Apache-2.0" ]
1
2021-10-08T05:38:23.000Z
2021-10-08T05:38:23.000Z
specialized_intra_process_comm/src/intra_process_manager.cpp
tier4/specialized_intra_process_comm
f213a6d4e29b8cde0b74abdedf684de7ed8ebff9
[ "Apache-2.0" ]
null
null
null
specialized_intra_process_comm/src/intra_process_manager.cpp
tier4/specialized_intra_process_comm
f213a6d4e29b8cde0b74abdedf684de7ed8ebff9
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Research Institute of Systems Planning, 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
34.114286
99
0.747906
tier4
d704ea7ea118fbc72defa9be344e0c570724e4cd
1,424
hpp
C++
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/mirror_update__traits.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/mirror_update__traits.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
null
null
null
Versionen/2021_06_15/rmf_ws/install/rmf_traffic_msgs/include/rmf_traffic_msgs/msg/detail/mirror_update__traits.hpp
flitzmo-hso/flitzmo_agv_control_system
99e8006920c03afbd93e4c7d38b4efff514c7069
[ "MIT" ]
2
2021-06-21T07:32:09.000Z
2021-08-17T03:05:38.000Z
// generated from rosidl_generator_cpp/resource/idl__traits.hpp.em // with input from rmf_traffic_msgs:msg/MirrorUpdate.idl // generated code does not contain a copyright notice #ifndef RMF_TRAFFIC_MSGS__MSG__DETAIL__MIRROR_UPDATE__TRAITS_HPP_ #define RMF_TRAFFIC_MSGS__MSG__DETAIL__MIRROR_UPDATE__TRAITS_HPP_ #include...
30.297872
99
0.810393
flitzmo-hso
d704f817fe2238749665d71df40f0d148620e5f0
2,797
cpp
C++
SOURCES/graphics/renderer/renderwire.cpp
IsraelyFlightSimulator/Negev-Storm
86de63e195577339f6e4a94198bedd31833a8be8
[ "Unlicense" ]
1
2021-02-19T06:06:31.000Z
2021-02-19T06:06:31.000Z
src/graphics/renderer/renderwire.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
null
null
null
src/graphics/renderer/renderwire.cpp
markbb1957/FFalconSource
07b12e2c41a93fa3a95b912a2433a8056de5bc4d
[ "BSD-2-Clause" ]
2
2019-08-20T13:35:13.000Z
2021-04-24T07:32:04.000Z
/***************************************************************************\ RenderWire.h Scott Randolph May 5, 1998 This sub class draws an out the window view in wire frame mode. \***************************************************************************/ #include "TOD.h" #include "Tpost.h" #includ...
29.755319
89
0.54916
IsraelyFlightSimulator
d7058d32ef9f800fcd6a1f6ca7a3aab13d23b874
3,293
cpp
C++
wrappers/src/object-store/tests/parser.cpp
datasprings/Realm
00cbfc26268d2a8559913361e0cd067b1d275df5
[ "Apache-2.0" ]
3
2016-10-13T17:17:05.000Z
2017-01-13T20:00:39.000Z
src/object-store/tests/parser.cpp
Osedea/realm-js
b06ee441bd7c2fced07e8e496f265a7578a06d07
[ "Apache-2.0" ]
null
null
null
src/object-store/tests/parser.cpp
Osedea/realm-js
b06ee441bd7c2fced07e8e496f265a7578a06d07
[ "Apache-2.0" ]
null
null
null
#include "catch.hpp" #include "parser/parser.hpp" #include <vector> #include <string> static std::vector<std::string> valid_queries = { // true/false predicates "truepredicate", "falsepredicate", " TRUEPREDICATE ", " FALSEPREDICATE ", "truepredicates = falsepredicates", // keypaths // cha...
19.485207
83
0.412694
datasprings
d705b217a7d5c5f7325bd17f895f39faf6b7f9e4
10,739
cpp
C++
CODE/Src/HOG.cpp
nrupatunga/Pedestrain-Detection-using-Histogram-of-Oriented-Gradients
c8b4fd153711555a857afde2d0888ed2df01aae9
[ "MIT" ]
4
2017-05-21T13:14:05.000Z
2020-04-27T01:51:34.000Z
CODE/Src/HOG.cpp
nrupatunga/Pedestrain-Detection-using-Histogram-of-Oriented-Gradients
c8b4fd153711555a857afde2d0888ed2df01aae9
[ "MIT" ]
null
null
null
CODE/Src/HOG.cpp
nrupatunga/Pedestrain-Detection-using-Histogram-of-Oriented-Gradients
c8b4fd153711555a857afde2d0888ed2df01aae9
[ "MIT" ]
1
2019-05-16T02:04:02.000Z
2019-05-16T02:04:02.000Z
/* The MIT License (MIT) Copyright (c) [2015] [Nrupatunga] 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...
34.419872
174
0.642052
nrupatunga
d706229cc4d2c6bce330f865844b1d24c679b1d4
557
cpp
C++
chapter09/ex13_rational/main.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
124
2018-06-23T10:16:56.000Z
2022-03-19T15:16:12.000Z
chapter09/ex13_rational/main.cpp
therootfolder/stroustrup-ppp
b1e936c9a67b9205fdc9712c42496b45200514e2
[ "MIT" ]
23
2018-02-08T20:57:46.000Z
2021-10-08T13:58:29.000Z
chapter09/ex13_rational/main.cpp
ClassAteam/stroustrup-ppp
ea9e85d4ea9890038eb5611c3bc82734c8706ce7
[ "MIT" ]
65
2019-05-27T03:05:56.000Z
2022-03-26T03:43:05.000Z
#include "rational.h" #include <iostream> using std::cout; using std::cin; using std::cerr; int main() try { cout << "Enter the integers of two rational numbers:\n"; int a, b, c, d; cin >> a >> b >> c >> d; Rational r1{a, b}; Rational r2{c, d}; cout << "Add: " << r1 + r2 << '\n' << "...
19.206897
60
0.452424
ClassAteam
d70669f97e158fb120e9984577b26946c5e9734d
5,552
cpp
C++
NaoTHSoccer/Source/Representations/Modeling/GoalModel.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
15
2015-01-12T10:46:29.000Z
2022-03-28T05:13:14.000Z
NaoTHSoccer/Source/Representations/Modeling/GoalModel.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
2
2019-01-20T21:07:50.000Z
2020-01-22T14:00:28.000Z
NaoTHSoccer/Source/Representations/Modeling/GoalModel.cpp
tarsoly/NaoTH
dcd2b67ef6bf9953c81d3e1b26e543b5922b7d52
[ "ECL-2.0", "Apache-2.0" ]
5
2018-02-07T18:18:10.000Z
2019-10-15T17:01:41.000Z
/** * @file GoalModel.cpp * * @author <a href="mailto:borisov@informatik.hu-berlin.de">Alexander Borisov</a> * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * @author <a href="mailto:scheunem@informatik.hu-berlin.de">Marcus Scheunemann</a> * @author <a href="mailto:mellmann@informatik.hu-berlin.de">H...
28.766839
113
0.732349
tarsoly
d70676a2b256150be0471003a9f1361c001d9ea6
970
cpp
C++
srcs/main.cpp
AlexandreChamard/functionCompositor
7234cf415e2ac5f6fa4a0823cc444636961c6f60
[ "MIT" ]
null
null
null
srcs/main.cpp
AlexandreChamard/functionCompositor
7234cf415e2ac5f6fa4a0823cc444636961c6f60
[ "MIT" ]
null
null
null
srcs/main.cpp
AlexandreChamard/functionCompositor
7234cf415e2ac5f6fa4a0823cc444636961c6f60
[ "MIT" ]
null
null
null
#include <sstream> #include "evalexpr.hpp" void test(std::string const &str) { auto res = Evalexpr::pExpr(str); std::cout << "test :\"" << str << "\"" << std::endl; std::cout << res << std::endl; if (res.valid()) { std::cout << "size = " << sizeof(res.f) << std::endl; std::cout << "e...
20.208333
61
0.427835
AlexandreChamard
d707944624be9c4dcb972aaae04b20e0adadf28b
20,448
cpp
C++
Source/astcenc_integer_sequence.cpp
mcraiha/astc-encoder
4a29609782e852e20478098d11eb2c892bba8c61
[ "Apache-2.0" ]
1
2022-02-15T21:02:20.000Z
2022-02-15T21:02:20.000Z
Source/astcenc_integer_sequence.cpp
mcraiha/astc-encoder
4a29609782e852e20478098d11eb2c892bba8c61
[ "Apache-2.0" ]
null
null
null
Source/astcenc_integer_sequence.cpp
mcraiha/astc-encoder
4a29609782e852e20478098d11eb2c892bba8c61
[ "Apache-2.0" ]
null
null
null
// SPDX-License-Identifier: Apache-2.0 // ---------------------------------------------------------------------------- // Copyright 2011-2021 Arm Limited // // 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 ...
28.204138
92
0.474129
mcraiha
d7098cfee77bc78c2092c5dfc3cafce2ecc283be
7,402
cpp
C++
src/mongo/db/pipeline/expression_context.cpp
i80and/mongo
67f4d6495ad14fe95067f06e0366823887828c0e
[ "Apache-2.0" ]
1
2015-03-18T00:04:06.000Z
2015-03-18T00:04:06.000Z
src/mongo/db/pipeline/expression_context.cpp
visemet/mongo
232c772546f26bcb5a5556d859e56002a4135f0b
[ "Apache-2.0" ]
4
2019-02-22T10:05:59.000Z
2021-03-26T00:20:23.000Z
src/mongo/db/pipeline/expression_context.cpp
visemet/mongo
232c772546f26bcb5a5556d859e56002a4135f0b
[ "Apache-2.0" ]
10
2018-11-29T07:17:30.000Z
2022-03-07T01:33:41.000Z
/** * Copyright (C) 2016 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be usef...
42.297143
99
0.693461
i80and
d70a542567640fbbfc7db0105734f135eeddc7f7
18,661
cpp
C++
big_vec.cpp
jlinton/x4vecs
1b91810f1ae8e793005687f0d04a6f0a1ec3ed96
[ "MIT" ]
2
2015-05-12T02:33:14.000Z
2016-07-13T13:49:18.000Z
big_vec.cpp
jlinton/x4vecs
1b91810f1ae8e793005687f0d04a6f0a1ec3ed96
[ "MIT" ]
null
null
null
big_vec.cpp
jlinton/x4vecs
1b91810f1ae8e793005687f0d04a6f0a1ec3ed96
[ "MIT" ]
1
2020-09-04T01:27:24.000Z
2020-09-04T01:27:24.000Z
// Copyright (c) 2021 Jeremy Linton // // big_vec.cpp // C++ wrapper around the $PLAT_objs.cpp vector to extend its len // //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...
40.567391
206
0.656664
jlinton
d71059c713d55a14cf2ae3f271b4e913c3f0fcce
1,403
cpp
C++
3rd semester/lab_05/src/List.cpp
kmalski/cpp_labs
52b0fc84319d6cc57ff7bfdb787aa5eb09edf592
[ "MIT" ]
1
2020-05-19T17:14:55.000Z
2020-05-19T17:14:55.000Z
3rd semester/lab_05/src/List.cpp
kmalski/CPP_Laboratories
52b0fc84319d6cc57ff7bfdb787aa5eb09edf592
[ "MIT" ]
null
null
null
3rd semester/lab_05/src/List.cpp
kmalski/CPP_Laboratories
52b0fc84319d6cc57ff7bfdb787aa5eb09edf592
[ "MIT" ]
null
null
null
#include "List.h" #include <iostream> Node *prepareNewNode(const int array[][2]) { Node *tmp = new Node(); for (int i = 0; i < 2; i++) { for (int j = 0; j < 2; j++) { tmp->data[i][j] = array[i][j]; } } tmp->next = nullptr; return tmp; } void prepare(List *list) { ...
20.632353
56
0.478261
kmalski
d711a20407c4abaa06a76558df1e9c0c00f3423c
3,292
cxx
C++
Applications/OverView/Core/vtkSMClientDeliverySource.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
Applications/OverView/Core/vtkSMClientDeliverySource.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
Applications/OverView/Core/vtkSMClientDeliverySource.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaView lice...
32.594059
75
0.725395
matthb2
d7123984c5b1ca771d08102c058dd5492cfa4888
24,068
cpp
C++
media/bufferpool/1.0/BufferPoolClient.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/bufferpool/1.0/BufferPoolClient.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
null
null
null
media/bufferpool/1.0/BufferPoolClient.cpp
Dreadwyrm/lhos_frameworks_av
62c63ccfdf5c79a3ad9be4836f473da9398c671b
[ "Apache-2.0" ]
2
2021-07-08T07:42:11.000Z
2021-07-09T21:56:10.000Z
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
33.755961
90
0.586796
Dreadwyrm
d713dc8c43bf2828009f01f1f6874c83dccf151f
16,642
cpp
C++
src/ripple/protocol/impl/Feature.cpp
shichengripple001/rippled
7c66747d27869f9f3c96617bd4227038f1fa92b8
[ "ISC" ]
null
null
null
src/ripple/protocol/impl/Feature.cpp
shichengripple001/rippled
7c66747d27869f9f3c96617bd4227038f1fa92b8
[ "ISC" ]
null
null
null
src/ripple/protocol/impl/Feature.cpp
shichengripple001/rippled
7c66747d27869f9f3c96617bd4227038f1fa92b8
[ "ISC" ]
null
null
null
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
34.598753
82
0.678584
shichengripple001
d714c2251c0a9280b80fdb45f976501109465eef
21,022
cpp
C++
third_party/omr/compiler/x/amd64/codegen/OMRTreeEvaluator.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/x/amd64/codegen/OMRTreeEvaluator.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
third_party/omr/compiler/x/amd64/codegen/OMRTreeEvaluator.cpp
xiacijie/omr-wala-linkage
a1aff7aef9ed131a45555451abde4615a04412c1
[ "Apache-2.0" ]
null
null
null
/******************************************************************************* * Copyright (c) 2000, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at http://ec...
42.989775
191
0.678004
xiacijie
d7155c2cfe2603c3147c8afb64c2f3f056f2e349
486
hpp
C++
examples/boids3d/lightsource.hpp
patrick-oliveira/abcg
729c5f2fcc860ff527d44bcfd91e331f8fa44f04
[ "MIT" ]
null
null
null
examples/boids3d/lightsource.hpp
patrick-oliveira/abcg
729c5f2fcc860ff527d44bcfd91e331f8fa44f04
[ "MIT" ]
null
null
null
examples/boids3d/lightsource.hpp
patrick-oliveira/abcg
729c5f2fcc860ff527d44bcfd91e331f8fa44f04
[ "MIT" ]
null
null
null
#ifndef LIGHTSOURCE_HPP_ #define LIGHTSOURCE_HPP_ #include <glm/vec3.hpp> #include "abcg.hpp" #include <glm/vec3.hpp> #include "boids.hpp" class OpenGLWindow; class Boids; class LightSource { public: void update(float deltaTime); private: friend OpenGLWindow; friend ...
17.357143
39
0.623457
patrick-oliveira
d71574925a78477b2d29a37d5681e6b54443d587
1,066
cpp
C++
Piensa en C++/Vol1/C03/Menu.cpp
Gabroide/TextAdvenure
d2fc9b2ef21d66a17b9b716975087093c592abbc
[ "MIT" ]
null
null
null
Piensa en C++/Vol1/C03/Menu.cpp
Gabroide/TextAdvenure
d2fc9b2ef21d66a17b9b716975087093c592abbc
[ "MIT" ]
null
null
null
Piensa en C++/Vol1/C03/Menu.cpp
Gabroide/TextAdvenure
d2fc9b2ef21d66a17b9b716975087093c592abbc
[ "MIT" ]
null
null
null
//: C03:Menu.cpp // Simple menu program demostrating #include <iostream> using namespace std; int main() { char c; while(true) { cout << "MAIN MENU: " << endl; cout << "l: left, r: right, q: quit -> "; cin >> c; if(c == 'q') break; // Out of "while(1)" if(c == 'l') { cout << "LEFT MENU: " <<en...
16.4
48
0.454034
Gabroide
d71ad630401b00c0a2231611eae30719b376fbd1
9,460
cpp
C++
test/InputValidationTest.cpp
LuckyCode7/bowling
9d00f5b2509a975143b73ef9460cd047f0bd3136
[ "MIT" ]
null
null
null
test/InputValidationTest.cpp
LuckyCode7/bowling
9d00f5b2509a975143b73ef9460cd047f0bd3136
[ "MIT" ]
33
2018-08-27T20:12:23.000Z
2018-09-17T09:12:26.000Z
test/InputValidationTest.cpp
LuckyCode7/bowling
9d00f5b2509a975143b73ef9460cd047f0bd3136
[ "MIT" ]
2
2018-08-28T12:05:55.000Z
2018-08-30T14:45:14.000Z
#include <../inc/InputValidation.hpp> #include <gtest/gtest.h> struct InputValidationTest : public ::testing::Test { }; TEST_F(InputValidationTest, check_if_substring_from_object_input_will_be_correct) { // GIVEN InputValidation input("Player:x|--|4/|x|"); // WHEN call gestSubstring method // T...
25.846995
94
0.700106
LuckyCode7
d71e0641b1f72560cd25a27397e1cfe929c84946
6,566
cpp
C++
src/org/apache/poi/ss/formula/FormulaRenderer.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/FormulaRenderer.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
src/org/apache/poi/ss/formula/FormulaRenderer.cpp
pebble2015/cpoi
6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6
[ "Apache-2.0" ]
null
null
null
// Generated from /POI/java/org/apache/poi/ss/formula/FormulaRenderer.java #include <org/apache/poi/ss/formula/FormulaRenderer.hpp> #include <java/io/Serializable.hpp> #include <java/lang/ArrayStoreException.hpp> #include <java/lang/CharSequence.hpp> #include <java/lang/ClassCastException.hpp> #include <java/lang/Comp...
37.735632
225
0.630064
pebble2015