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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8b121274b9a464d58dffebd5edf3d47d9046c3b0 | 2,145 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/compute/algorithm/detail/serial_reduce.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | ReactNativeFrontend/ios/Pods/boost/boost/compute/algorithm/detail/serial_reduce.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | ReactNativeFrontend/ios/Pods/boost/boost/compute/algorithm/detail/serial_reduce.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@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
//
// See http://boostorg.gi... | 33.515625 | 79 | 0.606527 | Harshitha91 |
8b139c57422a689414ef002a54848a7b7b0a9c56 | 7,915 | hpp | C++ | dart/dynamics/Shape.hpp | lakshmipathyarjun6/dart | 0cb60d4c9ff99129b8a0dffb1747f68944b677f4 | [
"BSD-2-Clause"
] | null | null | null | dart/dynamics/Shape.hpp | lakshmipathyarjun6/dart | 0cb60d4c9ff99129b8a0dffb1747f68944b677f4 | [
"BSD-2-Clause"
] | null | null | null | dart/dynamics/Shape.hpp | lakshmipathyarjun6/dart | 0cb60d4c9ff99129b8a0dffb1747f68944b677f4 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2011-2021, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/main/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, wit... | 32.706612 | 80 | 0.711687 | lakshmipathyarjun6 |
8b17252a235a227d23cfdc82f69ab912563fd3ce | 2,810 | cpp | C++ | src/hill_climber.cpp | AndreasRapatas/hill_climber | 2c25e14f8eeaf76ec83d8c2e2e94ba17db9b69ac | [
"MIT"
] | null | null | null | src/hill_climber.cpp | AndreasRapatas/hill_climber | 2c25e14f8eeaf76ec83d8c2e2e94ba17db9b69ac | [
"MIT"
] | null | null | null | src/hill_climber.cpp | AndreasRapatas/hill_climber | 2c25e14f8eeaf76ec83d8c2e2e94ba17db9b69ac | [
"MIT"
] | null | null | null | #include "hill_climber.h"
void HillClimber::draw(
sf::RenderTarget& target,
sf::RenderStates states
) const {
texture.loadFromImage(result);
sprite.setTexture(texture);
states.transform *= getTransform();
target.draw(sprite, states);
}
double HillClimber::pixel_similatity(
const sf::Color &a,
const sf::Color... | 21.450382 | 74 | 0.684342 | AndreasRapatas |
8b18a12344a2a8bc8f01628786f224c3b996e554 | 457 | cpp | C++ | doc/examples/to_msgpack.cpp | lixueyi83/json | fb96b7603f7f53c3feee459d66df2c7647394bb5 | [
"MIT"
] | 5 | 2018-07-28T17:01:52.000Z | 2021-04-19T16:32:58.000Z | doc/examples/to_msgpack.cpp | tici90/json | 46ec2fddf8774af2f9368bf563dd6e32fa91d77e | [
"MIT"
] | 2 | 2019-09-28T13:34:37.000Z | 2019-10-31T23:53:22.000Z | doc/examples/to_msgpack.cpp | tici90/json | 46ec2fddf8774af2f9368bf563dd6e32fa91d77e | [
"MIT"
] | null | null | null | #include <iostream>
#include <nlohmann/json.hpp>
using json = nlohmann::json;
int main()
{
// create a JSON value
json j = R"({"compact": true, "schema": 0})"_json;
// serialize it to MessagePack
std::vector<uint8_t> v = json::to_msgpack(j);
// print the vector content
for (auto& byte : v)
... | 21.761905 | 95 | 0.555799 | lixueyi83 |
8b2016921fc92e692872a78d7b2c3cf87b3a0c82 | 310 | hpp | C++ | src/interpreter/Const.hpp | VrncQuentin/Chip8 | 4d220cb8d39c3e3b80c87368b3302b8a03225ccc | [
"MIT"
] | 1 | 2021-01-22T16:27:40.000Z | 2021-01-22T16:27:40.000Z | src/interpreter/Const.hpp | VrncQuentin/Chip8 | 4d220cb8d39c3e3b80c87368b3302b8a03225ccc | [
"MIT"
] | null | null | null | src/interpreter/Const.hpp | VrncQuentin/Chip8 | 4d220cb8d39c3e3b80c87368b3302b8a03225ccc | [
"MIT"
] | null | null | null | #ifndef C8_INTERP_CONST_HPP
#define C8_INTERP_CONST_HPP
#include "Types.hpp"
namespace Chip8::Interp {
static constexpr unsigned int MemorySize = 4096;
static constexpr addr LoadAddr = 0x200;
static constexpr unsigned int MaxProgSize = MemorySize - LoadAddr;
}
#endif /* C8_INTERP_CONST_HPP */
| 22.142857 | 70 | 0.76129 | VrncQuentin |
8b22002cb9afd7aa1794d852cb4eccb256156040 | 604 | cpp | C++ | srcs/vector/push_pop.cpp | tristiisch/containers_test | 5a4a0c098b69e79fa62348074ca0ccaeda5dde73 | [
"MIT"
] | null | null | null | srcs/vector/push_pop.cpp | tristiisch/containers_test | 5a4a0c098b69e79fa62348074ca0ccaeda5dde73 | [
"MIT"
] | null | null | null | srcs/vector/push_pop.cpp | tristiisch/containers_test | 5a4a0c098b69e79fa62348074ca0ccaeda5dde73 | [
"MIT"
] | null | null | null | #include "common.hpp"
#define TESTED_TYPE std::string
int main(void)
{
TESTED_NAMESPACE::vector<TESTED_TYPE> vct(8);
TESTED_NAMESPACE::vector<TESTED_TYPE> vct2;
TESTED_NAMESPACE::vector<TESTED_TYPE>::iterator it = vct.begin();
for (unsigned long int i = 0; i < vct.size(); ++i)
it[i] = std::string((vct.size() ... | 19.483871 | 66 | 0.67053 | tristiisch |
8b22d2c5fba669a6ddcbd9f387e67bc5b5a65e1a | 9,506 | cc | C++ | omaha/base/scoped_ptr_cotask_unittest.cc | r3yn0ld4/omaha | 05eeb606c433b7d0622dc95a10afd0c8d7af11b6 | [
"Apache-2.0"
] | 1,975 | 2015-07-03T07:00:50.000Z | 2022-03-31T20:04:04.000Z | omaha/base/scoped_ptr_cotask_unittest.cc | rodriguez74745/omaha | a244aea380b48fc488a0555c3fa51a2e03677557 | [
"Apache-2.0"
] | 277 | 2015-07-18T00:13:30.000Z | 2022-03-31T22:18:39.000Z | omaha/base/scoped_ptr_cotask_unittest.cc | rodriguez74745/omaha | a244aea380b48fc488a0555c3fa51a2e03677557 | [
"Apache-2.0"
] | 685 | 2015-07-18T11:24:49.000Z | 2022-03-30T20:50:12.000Z | // Copyright 2007-2009 Google 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 by applicable law or agreed ... | 30.763754 | 77 | 0.656638 | r3yn0ld4 |
8b26f062abb302c89ab31c7c1c6ae60ef058e078 | 63,568 | cc | C++ | src/extension-functions.cc | rzadp/lnav | 853ef11435e04717249ad2f643afffa510cddfc7 | [
"BSD-2-Clause"
] | null | null | null | src/extension-functions.cc | rzadp/lnav | 853ef11435e04717249ad2f643afffa510cddfc7 | [
"BSD-2-Clause"
] | null | null | null | src/extension-functions.cc | rzadp/lnav | 853ef11435e04717249ad2f643afffa510cddfc7 | [
"BSD-2-Clause"
] | null | null | null | /*
This library will provide common mathematical and string functions in
SQL queries using the operating system libraries or provided
definitions. It includes the following functions:
Math: acos, asin, atan, atn2, atan2, acosh, asinh, atanh, difference,
degrees, radians, cos, sin, tan, cot, cosh, sinh, tanh, coth, ex... | 28.634234 | 174 | 0.598524 | rzadp |
8b28b9be51981debbae6433399cd0e02331b8969 | 1,463 | hpp | C++ | cglib/includes/CompilationMemoryMap.hpp | lumip/computegraphlib | 038fb7464ba94545c272e29c1093c3bd030ce1b8 | [
"MIT"
] | 1 | 2017-12-15T02:09:25.000Z | 2017-12-15T02:09:25.000Z | cglib/includes/CompilationMemoryMap.hpp | lumip/computegraphlib | 038fb7464ba94545c272e29c1093c3bd030ce1b8 | [
"MIT"
] | null | null | null | cglib/includes/CompilationMemoryMap.hpp | lumip/computegraphlib | 038fb7464ba94545c272e29c1093c3bd030ce1b8 | [
"MIT"
] | null | null | null | #ifndef _MEMORY_COMPILATION_MAP_HPP_
#define _MEMORY_COMPILATION_MAP_HPP_
#include <memory>
#include "types.hpp"
class CompilationMemoryMap
{
private:
InputDimensionsMap _inputDimensions;
std::map<ConstNodePtr, MemoryDimensions> _memoryDimensions;
std::map<std::string, ConstNodePtr> _inputNodes;
std:... | 40.638889 | 121 | 0.788107 | lumip |
8b2c47510a8bf042fbf4e116bcff5bd1fc9c5222 | 2,901 | hpp | C++ | include/swift2d/components/TimedDeleteComponent.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | include/swift2d/components/TimedDeleteComponent.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | include/swift2d/components/TimedDeleteComponent.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// //
// This file is part of Swift2D. //
// ... | 41.442857 | 81 | 0.403999 | Simmesimme |
8b2dad70caa63c7bb0816a58436caa3212c42656 | 1,696 | hpp | C++ | ad_physics/generated/include/ad/physics/SpeedRangeList.hpp | seowwj/map | 2afacd50e1b732395c64b1884ccfaeeca0040ee7 | [
"MIT"
] | 61 | 2019-12-19T20:57:24.000Z | 2022-03-29T15:20:51.000Z | ad_physics/generated/include/ad/physics/SpeedRangeList.hpp | seowwj/map | 2afacd50e1b732395c64b1884ccfaeeca0040ee7 | [
"MIT"
] | 54 | 2020-04-05T05:32:47.000Z | 2022-03-15T18:42:33.000Z | ad_physics/generated/include/ad/physics/SpeedRangeList.hpp | seowwj/map | 2afacd50e1b732395c64b1884ccfaeeca0040ee7 | [
"MIT"
] | 31 | 2019-12-20T07:37:39.000Z | 2022-03-16T13:06:16.000Z | /*
* ----------------- BEGIN LICENSE BLOCK ---------------------------------
*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* ----------------- END LICENSE BLOCK -----------------------------------
*/
/**
* Generated file
* @file
*
* Generator Version : 11.0.0-1997
*/
#p... | 19.72093 | 102 | 0.626179 | seowwj |
8b2fe5f54222869c4d7cca9e62ca6a5af7107bcc | 10,986 | cpp | C++ | Projects/CoX/Common/AuthProtocol/AuthLink.cpp | teronis84/Segs | 71ac841a079fd769c3a45836ac60f34e4fff32b9 | [
"BSD-3-Clause"
] | null | null | null | Projects/CoX/Common/AuthProtocol/AuthLink.cpp | teronis84/Segs | 71ac841a079fd769c3a45836ac60f34e4fff32b9 | [
"BSD-3-Clause"
] | null | null | null | Projects/CoX/Common/AuthProtocol/AuthLink.cpp | teronis84/Segs | 71ac841a079fd769c3a45836ac60f34e4fff32b9 | [
"BSD-3-Clause"
] | null | null | null | #include "AuthLink.h"
#include "AuthProtocol/AuthOpcodes.h"
#include "AuthProtocol/AuthEventFactory.h"
EventProcessor *AuthLink::g_target=nullptr;
AuthLink::AuthLink(AuthLinkType link_type) : m_client(nullptr),
m_received_bytes_storage(0x1000,0,40),
m_unsent_bytes_storage(0x200,0,40),
m_notifier(nullptr... | 37.882759 | 172 | 0.661478 | teronis84 |
8b3036f6049cbe57a161387a559fe13eaca05e5b | 1,651 | cpp | C++ | source/main.cpp | OnionBurger/FotoAlbum | 83ca029fb4f43c9e2454ba7870645f3b4d68cb1e | [
"MIT"
] | null | null | null | source/main.cpp | OnionBurger/FotoAlbum | 83ca029fb4f43c9e2454ba7870645f3b4d68cb1e | [
"MIT"
] | null | null | null | source/main.cpp | OnionBurger/FotoAlbum | 83ca029fb4f43c9e2454ba7870645f3b4d68cb1e | [
"MIT"
] | null | null | null | #include <Windows.h>
#include "GL.H"
#include "glu.h"
#include "glut.h"
#include "Control.h"
#include <chrono>
Control *control;
void init() {
glClearColor(0.0, 0.0, 0.0, 0.0);
glShadeModel(GL_SMOOTH);
glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glEnable(GL_DEPTH_TEST);
control->init();
}
void reshape(int widt... | 16.846939 | 58 | 0.682617 | OnionBurger |
8b31a7bb03558d3ed4a5f8c54d6ce2dc52f4c813 | 4,401 | cpp | C++ | lib/Ntreev.Windows.Forms.Grid/AssemblyInfo.cpp | NtreevSoft/GridControl | decb1169d9b230ce93be1f0e96305161f2a8d655 | [
"MIT"
] | 2 | 2018-04-30T06:25:37.000Z | 2018-05-12T20:29:10.000Z | lib/Ntreev.Windows.Forms.Grid/AssemblyInfo.cpp | NtreevSoft/GridControl | decb1169d9b230ce93be1f0e96305161f2a8d655 | [
"MIT"
] | null | null | null | lib/Ntreev.Windows.Forms.Grid/AssemblyInfo.cpp | NtreevSoft/GridControl | decb1169d9b230ce93be1f0e96305161f2a8d655 | [
"MIT"
] | null | null | null | //=====================================================================================================================
// Ntreev Grid for .Net 2.0.5190.32793
// https://github.com/NtreevSoft/GridControl
//
// Released under the MIT License.
//
// Copyright (c) 2010 Ntreev Soft co., Ltd.
//
// Permission is hereby ... | 52.392857 | 137 | 0.632129 | NtreevSoft |
8b31fcecbd8d8c27a4a47f9346ef5dfcbee34595 | 336 | hpp | C++ | src/draw.hpp | Asetyan/todo | 5bbdf5bf4d231c6ca027cb7f41b5e933baba41d9 | [
"MIT"
] | 17 | 2015-09-21T14:38:26.000Z | 2022-03-09T03:05:46.000Z | src/draw.hpp | Asetyan/todo | 5bbdf5bf4d231c6ca027cb7f41b5e933baba41d9 | [
"MIT"
] | 2 | 2016-06-15T19:17:01.000Z | 2019-02-10T10:03:22.000Z | src/draw.hpp | Asetyan/todo | 5bbdf5bf4d231c6ca027cb7f41b5e933baba41d9 | [
"MIT"
] | 6 | 2017-07-15T07:53:36.000Z | 2021-11-06T18:06:20.000Z | #ifndef DRAW
#define DRAW
#include <ncurses.h>
#include <string>
#include <vector>
class Todo;
class TodoList;
namespace Draw
{
void init();
void stop();
void draw(TodoList *list, unsigned selected);
std::string getInput(std::string str = "");
void mouse(MEVENT event, TodoList *list, unsigned &selected, bool but... | 14 | 74 | 0.714286 | Asetyan |
8b3206848d5e7415b5836a44fe6b22aca3181017 | 12,037 | cpp | C++ | src/cpp/server/chat/ChatWindow.cpp | ey6es/witgap | 8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb | [
"BSD-2-Clause"
] | 2 | 2017-06-24T03:47:12.000Z | 2017-08-11T00:04:46.000Z | src/cpp/server/chat/ChatWindow.cpp | ey6es/witgap | 8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb | [
"BSD-2-Clause"
] | null | null | null | src/cpp/server/chat/ChatWindow.cpp | ey6es/witgap | 8f4af7adbde6bb172b4c66c0969e6f5d8736e7cb | [
"BSD-2-Clause"
] | null | null | null | //
// $Id$
#include <QKeyEvent>
#include <QMetaType>
#include <QTranslator>
#include <QVarLengthArray>
#include <QtDebug>
#include "actor/Pawn.h"
#include "chat/ChatCommands.h"
#include "chat/ChatWindow.h"
#include "net/Session.h"
#include "scene/Scene.h"
#include "ui/Label.h"
#include "ui/Layout.h"
#include "ui/Text... | 26.689579 | 98 | 0.574645 | ey6es |
8b33083b13f4eb904d7c379d6f0263f14ed069e0 | 110 | cpp | C++ | cpp/ql/test/library-tests/exprs/unary_operation/test.cpp | calumgrant/ql | 3c0f04ac96da17456a2085ef11e05aca4632b986 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-07-05T13:02:34.000Z | 2021-07-05T13:02:34.000Z | cpp/ql/test/library-tests/exprs/unary_operation/test.cpp | calumgrant/ql | 3c0f04ac96da17456a2085ef11e05aca4632b986 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cpp/ql/test/library-tests/exprs/unary_operation/test.cpp | calumgrant/ql | 3c0f04ac96da17456a2085ef11e05aca4632b986 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
int main()
{
int i;
int *ip;
i = +(-1);
i++;
ip = &i;
*ip--;
++i;
--i;
return 0;
}
| 6.875 | 12 | 0.3 | calumgrant |
8b34330be143c0c0179d03e951513195e29c0752 | 1,420 | cpp | C++ | src/main.cpp | git-somenumber/opengl-learn | b372b4ea92f253284cfa84f9506c0992bd07799b | [
"BSD-2-Clause"
] | null | null | null | src/main.cpp | git-somenumber/opengl-learn | b372b4ea92f253284cfa84f9506c0992bd07799b | [
"BSD-2-Clause"
] | null | null | null | src/main.cpp | git-somenumber/opengl-learn | b372b4ea92f253284cfa84f9506c0992bd07799b | [
"BSD-2-Clause"
] | null | null | null | #include<GL/glew.h>
#include<stdio.h>
#include<hello.h>
#include<glfw3.h>
void error_callback(int error, const char* description)
{
printf("Error: %s\n", description);
char* raw = "Aashay";
}
int main(){
if(!glfwInit()){
printf("Error initialising glfw");
}
glfwSetErrorCallback(error_callback);
int m... | 22.539683 | 70 | 0.735915 | git-somenumber |
8b3451e4afea5160d9069dd00bfbfb26cb27925d | 522 | cpp | C++ | extras2/Spatiu Inchis/Casa.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | extras2/Spatiu Inchis/Casa.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | extras2/Spatiu Inchis/Casa.cpp | stefanaciudin/CommandDefense | cae223bf72019b2098764664be5de2f052d57d6c | [
"MIT"
] | null | null | null | #include "Casa.h"
#include <iostream>
using namespace std;
Casa::Casa(string smell, bool light, string name)
{
miros = smell;
lumina = light;
nume = name;
}
Casa::~Casa()
{
}
void Casa::AddSpatiu(SpatiuInchis* s)
{
homes.push_back(s);
}
void Casa::PrintInfo()
{
cout << this->nume << " are " << homes.size() << "... | 16.3125 | 97 | 0.58046 | stefanaciudin |
8b350e24d45a2bc9648805c702c4e6b8279af00a | 1,996 | hpp | C++ | include/extractor/guidance/intersection.hpp | megatontech/osrm-backend | cb834ccefcb9e3b81d9577565ddce9569f7bfe82 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/guidance/intersection.hpp | megatontech/osrm-backend | cb834ccefcb9e3b81d9577565ddce9569f7bfe82 | [
"BSD-2-Clause"
] | null | null | null | include/extractor/guidance/intersection.hpp | megatontech/osrm-backend | cb834ccefcb9e3b81d9577565ddce9569f7bfe82 | [
"BSD-2-Clause"
] | null | null | null | #ifndef OSRM_EXTRACTOR_GUIDANCE_INTERSECTION_HPP_
#define OSRM_EXTRACTOR_GUIDANCE_INTERSECTION_HPP_
#include <string>
#include <vector>
#include "extractor/guidance/turn_instruction.hpp"
#include "util/typedefs.hpp" // EdgeID
namespace osrm
{
namespace extractor
{
namespace guidance
{
// Every Turn Operation descri... | 29.791045 | 96 | 0.73998 | megatontech |
8b3a8422695aac590100109aa30d22dcc1503992 | 4,926 | cpp | C++ | 07-08_Members of Classes/HugeInteger.cpp | weijunji/OO-Programing | 80f55949978e0bf435c31304c7659a2a94a39fca | [
"MIT"
] | null | null | null | 07-08_Members of Classes/HugeInteger.cpp | weijunji/OO-Programing | 80f55949978e0bf435c31304c7659a2a94a39fca | [
"MIT"
] | null | null | null | 07-08_Members of Classes/HugeInteger.cpp | weijunji/OO-Programing | 80f55949978e0bf435c31304c7659a2a94a39fca | [
"MIT"
] | null | null | null | #include "HugeInteger.h"
HugeInteger::HugeInteger() {
signal = true;
}
HugeInteger::HugeInteger(string num) {
int num_size = num.size();
for (int i = num_size - 1; i > 0; i--) {
digital.push_back(int(num[i] - '0'));
}
if (num[0] == '-') {
signal = false;
}
else if (num[0] == '+') {
signal = true;
}
els... | 20.78481 | 80 | 0.633171 | weijunji |
8b3c2293c961f25bc4962fe0c6822013b5e7337a | 440 | hpp | C++ | src/empty_post_proc.hpp | dk949/scotch | e5a60da9920f0eeaa692bfcf56219338307e573b | [
"BSD-3-Clause"
] | null | null | null | src/empty_post_proc.hpp | dk949/scotch | e5a60da9920f0eeaa692bfcf56219338307e573b | [
"BSD-3-Clause"
] | null | null | null | src/empty_post_proc.hpp | dk949/scotch | e5a60da9920f0eeaa692bfcf56219338307e573b | [
"BSD-3-Clause"
] | null | null | null | #ifndef EMPTY_POST_PROC_HPP
#define EMPTY_POST_PROC_HPP
#include "post_processor.hpp"
#include <iostream>
class EmptyPostproc : public Postprocessor {
[[nodiscard]] virtual ErrorOr<std::string> postprocess(std::string &&bin) const override {
return bin;
};
[[nodiscard]] virtual constexpr std::str... | 24.444444 | 94 | 0.715909 | dk949 |
8b3c6e80f7c0929de15cc721539fda3acc57c02a | 117,260 | cpp | C++ | src/qt/src/gui/itemviews/qheaderview.cpp | martende/phantomjs | 5cecd7dde7b8fd04ad2c036d16f09a8d2a139854 | [
"BSD-3-Clause"
] | 1 | 2015-03-16T20:49:09.000Z | 2015-03-16T20:49:09.000Z | src/qt/src/gui/itemviews/qheaderview.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | null | null | null | src/qt/src/gui/itemviews/qheaderview.cpp | firedfox/phantomjs | afb0707c9db7b5e693ad1b216a50081565c08ebb | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** ... | 32.428097 | 107 | 0.626249 | martende |
8b3cb71e6e117a390c85a4f0e984f83b77fa0eec | 4,640 | cc | C++ | libsrc/spatialdata/utils/PointsStream.cc | rwalkerlewis/spatialdata | 515c8d9dec21d261d0d654b5c30e6759565268d2 | [
"MIT"
] | 6 | 2017-09-19T11:05:33.000Z | 2019-09-26T08:18:30.000Z | libsrc/spatialdata/utils/PointsStream.cc | rwalkerlewis/spatialdata | 515c8d9dec21d261d0d654b5c30e6759565268d2 | [
"MIT"
] | 38 | 2017-06-28T15:44:50.000Z | 2022-02-17T04:04:02.000Z | libsrc/spatialdata/utils/PointsStream.cc | rwalkerlewis/spatialdata | 515c8d9dec21d261d0d654b5c30e6759565268d2 | [
"MIT"
] | 11 | 2015-11-09T06:29:35.000Z | 2021-06-02T14:13:59.000Z | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://geodynamics.org).
//
// Copyright (c) 2010-2017 University of California, Davis
/... | 31.564626 | 96 | 0.501509 | rwalkerlewis |
8b3cf041cb8204d74b8695cedd4d49dae234bacd | 4,735 | cpp | C++ | third_party/misc/blobb_compass/BloBB/boundst.cpp | milad621/livehd | 370b4274809ef95f880da07a603245bffcadf05e | [
"BSD-3-Clause"
] | 1 | 2022-03-09T23:29:29.000Z | 2022-03-09T23:29:29.000Z | third_party/misc/blobb_compass/BloBB/boundst.cpp | milad621/livehd | 370b4274809ef95f880da07a603245bffcadf05e | [
"BSD-3-Clause"
] | null | null | null | third_party/misc/blobb_compass/BloBB/boundst.cpp | milad621/livehd | 370b4274809ef95f880da07a603245bffcadf05e | [
"BSD-3-Clause"
] | null | null | null | /**************************************************************************
***
*** Copyright (c) 2003 Regents of the University of Michigan,
*** Hayward H. Chan and Igor L. Markov
***
*** Contact author(s): hhchan@umich.edu, imarkov@umich.edu
*** Original Affiliation: EECS Department,
*** ... | 31.566667 | 78 | 0.515734 | milad621 |
8b3d445012b06306284174a8eb5fc826db42db05 | 919 | hpp | C++ | include/mpl_erase_all.hpp | zed31/custom_mpl_list | 2e6532369b74f1fa99eff261d29b089f4850d896 | [
"MIT"
] | 2 | 2017-08-29T20:23:27.000Z | 2018-02-08T11:25:40.000Z | include/mpl_erase_all.hpp | zed31/custom_mpl_list | 2e6532369b74f1fa99eff261d29b089f4850d896 | [
"MIT"
] | null | null | null | include/mpl_erase_all.hpp | zed31/custom_mpl_list | 2e6532369b74f1fa99eff261d29b089f4850d896 | [
"MIT"
] | null | null | null | #pragma once
#include "mpl_push_front.hpp"
namespace mpl_custom {
template<class container, class typeErase>
struct erase_all_impl;
template<template<class...> class container, class typeErase>
struct erase_all_impl<container<>, typeErase> {
using type = container<>;
};
template<template<class...... | 35.346154 | 85 | 0.722524 | zed31 |
8b4095aa94541cb57e26b609fb793fa3c6ef80f8 | 2,061 | hpp | C++ | utils/vflib/include/nodeclassifier.hpp | CrowdDynamicsLab/InfoMotif | cca1ffa14cc94408a5c4c50b7b1707c608e3bc9b | [
"BSD-3-Clause"
] | 7 | 2020-11-24T04:28:51.000Z | 2022-03-30T18:21:54.000Z | utils/vflib/include/nodeclassifier.hpp | CrowdDynamicsLab/InfoMotif | cca1ffa14cc94408a5c4c50b7b1707c608e3bc9b | [
"BSD-3-Clause"
] | null | null | null | utils/vflib/include/nodeclassifier.hpp | CrowdDynamicsLab/InfoMotif | cca1ffa14cc94408a5c4c50b7b1707c608e3bc9b | [
"BSD-3-Clause"
] | 1 | 2021-12-05T12:36:15.000Z | 2021-12-05T12:36:15.000Z | #ifndef NODECLASSIFIER_HPP
#define NODECLASSIFIER_HPP
#include <map>
#include "argraph.hpp"
template<typename Node, typename Edge>
class NodeClassifier{
protected:
map<Node,int> classmap; //Map Of classes
ARGraph<Node,Edge>* g1;
private:
void virtual GenerateClasses(ARGraph<Node,Edge>* g);
public:
//Used... | 18.567568 | 84 | 0.600194 | CrowdDynamicsLab |
8b4139b5b299ed042371a9ba52f9ea540334a5ca | 3,906 | cc | C++ | kettle_control/modelling/serial_logger.cc | garratt/brewhouse | eb0b07d19733aa975d8d6322b4e82fd3b2711ced | [
"BSD-3-Clause"
] | null | null | null | kettle_control/modelling/serial_logger.cc | garratt/brewhouse | eb0b07d19733aa975d8d6322b4e82fd3b2711ced | [
"BSD-3-Clause"
] | null | null | null | kettle_control/modelling/serial_logger.cc | garratt/brewhouse | eb0b07d19733aa975d8d6322b4e82fd3b2711ced | [
"BSD-3-Clause"
] | null | null | null |
#include <fstream>
#include <stdio.h> // standard input / output functions
#include <stdlib.h>
#include <string.h> // string function definitions
#include <unistd.h> // UNIX standard function definitions
#include <fcntl.h> // File control definitions
#include <errno.h> // Error number definition... | 30.046154 | 90 | 0.596262 | garratt |
8b414b461777bc3936a76887f45f4d7528bd4a3d | 798 | hpp | C++ | Gateway/main/include/event/types/EventInput.hpp | Idogftw/ProjectRev | cf3b78d211f0bc38480801bcc3e91b692a6879f4 | [
"MIT"
] | null | null | null | Gateway/main/include/event/types/EventInput.hpp | Idogftw/ProjectRev | cf3b78d211f0bc38480801bcc3e91b692a6879f4 | [
"MIT"
] | null | null | null | Gateway/main/include/event/types/EventInput.hpp | Idogftw/ProjectRev | cf3b78d211f0bc38480801bcc3e91b692a6879f4 | [
"MIT"
] | null | null | null | #pragma once
#include "../EventBase.hpp"
#include "common/system/LogSys.hpp"
namespace Gateway
{
enum EventInputTypes
{
EventInputType_Key,
EventInputType_KeyDown,
EventInputType_KeyUp,
EventInputType_Mouse,
EventInputType_MouseMove,
EventInputType_MouseWheel,
EventInputType_MouseDown,
EventInputTyp... | 20.461538 | 66 | 0.774436 | Idogftw |
8b43bfedbc83c0bb4aeb39c3ea008b5490bd82ba | 1,253 | hpp | C++ | source/quantum-script-extension-shell-version.template.hpp | g-stefan/quantum-script-extension-shell | 27e7885c6b74e518697f40536fa736c637d51981 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-shell-version.template.hpp | g-stefan/quantum-script-extension-shell | 27e7885c6b74e518697f40536fa736c637d51981 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-shell-version.template.hpp | g-stefan/quantum-script-extension-shell | 27e7885c6b74e518697f40536fa736c637d51981 | [
"MIT",
"Unlicense"
] | null | null | null | //
// Quantum Script Extension Shell
//
// Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#ifndef QUANTUM_SCRIPT_EXTENSION_SHELL_VERSION_HPP
#define QUANTUM_SCRIPT_EXTENSION_SHELL_VE... | 29.833333 | 87 | 0.742219 | g-stefan |
8b46b4c614484ef46c00c97a53d9c2e7bbe39289 | 3,339 | cpp | C++ | client/src/main.cpp | GlobalPlatform/SE-test-IP-connector | 4dd1e9237c723269fe833f9ecd865fb7998c4ccd | [
"Apache-2.0"
] | 5 | 2019-03-29T16:07:08.000Z | 2021-05-05T19:21:30.000Z | client/src/main.cpp | GlobalPlatform/SE-test-IP-connector | 4dd1e9237c723269fe833f9ecd865fb7998c4ccd | [
"Apache-2.0"
] | 4 | 2019-08-12T11:21:42.000Z | 2020-06-08T07:43:03.000Z | client/src/main.cpp | GlobalPlatform/SE-test-IP-connector | 4dd1e9237c723269fe833f9ecd865fb7998c4ccd | [
"Apache-2.0"
] | 4 | 2020-01-29T15:49:52.000Z | 2020-09-03T16:40:57.000Z | /*********************************************************************************
Copyright 2017 GlobalPlatform, Inc.
Licensed under the GlobalPlatform/Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://gi... | 47.7 | 128 | 0.7646 | GlobalPlatform |
8b480e1fe40ac474538e1621903de7baee9bcef7 | 215 | cpp | C++ | C/decibin.cpp | rajdeepdas2000/hacktoberfest2020 | f5426f6cbaff5e4adf296537532364f55ac460ff | [
"MIT"
] | null | null | null | C/decibin.cpp | rajdeepdas2000/hacktoberfest2020 | f5426f6cbaff5e4adf296537532364f55ac460ff | [
"MIT"
] | null | null | null | C/decibin.cpp | rajdeepdas2000/hacktoberfest2020 | f5426f6cbaff5e4adf296537532364f55ac460ff | [
"MIT"
] | null | null | null | #include<stdio.h>
main()
{
int a,n,t=1,b=0,r;
printf("Enter a no : ");
scanf("%d",&n);
a=n;
while(a!=0)
{
r=a%2;
a/=2;
b=b+r*t;
t*=10;
}
printf("Binary equivalent of %d = %d",n,b);
}
| 12.647059 | 45 | 0.451163 | rajdeepdas2000 |
8b484a77dfb0d2ac59584e94265acd0c2746cb5b | 4,131 | cpp | C++ | tests/mms_string_comparator_test.cpp | HDSoft/mms | 242bd540b62a450d0fc409b7b3a0422232cc005d | [
"MIT"
] | 61 | 2015-02-08T08:00:39.000Z | 2021-11-08T11:19:09.000Z | tests/mms_string_comparator_test.cpp | HDSoft/mms | 242bd540b62a450d0fc409b7b3a0422232cc005d | [
"MIT"
] | 1 | 2015-03-11T22:58:14.000Z | 2015-03-11T23:04:14.000Z | tests/mms_string_comparator_test.cpp | HDSoft/mms | 242bd540b62a450d0fc409b7b3a0422232cc005d | [
"MIT"
] | 14 | 2015-02-05T15:16:17.000Z | 2021-02-21T15:26:23.000Z | /*
* Copyright (c) 2011-2014 Dmitry Prokoptsev <dprokoptsev@yandex-team.ru>
*
* This file is part of mms, the memory-mapped storage library.
*
* 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 So... | 29.934783 | 80 | 0.656015 | HDSoft |
8b4b18e4ad8a1046430b0d02c7729daf116d1351 | 31,819 | cc | C++ | src/dbSta/src/dbNetwork.cc | minghungumich/OpenROAD | df7206d2fd2949cc0e19b7ff30630ab945e7d571 | [
"BSD-3-Clause"
] | null | null | null | src/dbSta/src/dbNetwork.cc | minghungumich/OpenROAD | df7206d2fd2949cc0e19b7ff30630ab945e7d571 | [
"BSD-3-Clause"
] | null | null | null | src/dbSta/src/dbNetwork.cc | minghungumich/OpenROAD | df7206d2fd2949cc0e19b7ff30630ab945e7d571 | [
"BSD-3-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2019, The Regents of the University of California
// All rights reserved.
//
// BSD 3-Clause License
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the... | 21.913912 | 86 | 0.648858 | minghungumich |
8b4b8f051faa60be5bc2fb079a946f5e0db0fb92 | 23,590 | cpp | C++ | src/programs/mdrun/tests/exactcontinuation.cpp | HITS-MBM/gromacs-developments | 2a1f23a0ad2fc7fee8ea0cd65c080f0476b3104c | [
"BSD-2-Clause"
] | 384 | 2015-01-02T19:44:15.000Z | 2022-03-27T15:13:15.000Z | src/programs/mdrun/tests/exactcontinuation.cpp | HITS-MBM/gromacs-developments | 2a1f23a0ad2fc7fee8ea0cd65c080f0476b3104c | [
"BSD-2-Clause"
] | 9 | 2015-04-07T20:48:00.000Z | 2022-01-24T21:29:26.000Z | src/programs/mdrun/tests/exactcontinuation.cpp | HITS-MBM/gromacs-developments | 2a1f23a0ad2fc7fee8ea0cd65c080f0476b3104c | [
"BSD-2-Clause"
] | 258 | 2015-01-19T11:19:57.000Z | 2022-03-18T08:59:52.000Z | /*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2018,2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at... | 43.766234 | 126 | 0.604324 | HITS-MBM |
332b4caf35e76057cc8a8e16ffd21ea74a196746 | 2,873 | hpp | C++ | third_party/boost/simd/memory/preferred_alignment.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | third_party/boost/simd/memory/preferred_alignment.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/memory/preferred_alignment.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/**
Copyright 2017 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
**/
//====================================... | 36.833333 | 101 | 0.627915 | SylvainCorlay |
332bd0245a46eb922e843a09b0deff3d0ca5b00a | 202,888 | cpp | C++ | media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp | saosipov/media-driver | e280504bb3ccc429aa43f30aa76e0c990df6ccbf | [
"MIT",
"Intel",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2011-2020, Intel Corporation
*
* 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, p... | 39.549318 | 198 | 0.599587 | saosipov |
333160e12cedf471170a77de4e4b02793a805a49 | 2,701 | cpp | C++ | examples/tv-app/linux/include/application-launcher/ApplicationLauncherManager.cpp | lnikulin/connectedhomeip | 63a5c5247d28ed969acb524aafc258f46747c6eb | [
"Apache-2.0"
] | null | null | null | examples/tv-app/linux/include/application-launcher/ApplicationLauncherManager.cpp | lnikulin/connectedhomeip | 63a5c5247d28ed969acb524aafc258f46747c6eb | [
"Apache-2.0"
] | null | null | null | examples/tv-app/linux/include/application-launcher/ApplicationLauncherManager.cpp | lnikulin/connectedhomeip | 63a5c5247d28ed969acb524aafc258f46747c6eb | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2021 Project CHIP 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
*
* http://www.apache.org/licenses/LICENSE... | 37 | 125 | 0.701592 | lnikulin |
333208066f2a8e766295e46aaf3d904ecad31f2e | 8,472 | cpp | C++ | modules/juce_core/network/juce_IPAddress.cpp | sukoi26/JUCE | e3233ae230ac0c13f73ee2d08bd8f2c9b12c4b19 | [
"ISC",
"Unlicense"
] | 1 | 2016-08-15T14:11:21.000Z | 2016-08-15T14:11:21.000Z | modules/juce_core/network/juce_IPAddress.cpp | sukoi26/JUCE | e3233ae230ac0c13f73ee2d08bd8f2c9b12c4b19 | [
"ISC",
"Unlicense"
] | 4 | 2019-02-11T11:52:13.000Z | 2020-10-09T06:39:18.000Z | modules/juce_core/network/juce_IPAddress.cpp | sukoi26/JUCE | e3233ae230ac0c13f73ee2d08bd8f2c9b12c4b19 | [
"ISC",
"Unlicense"
] | null | null | null | /*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms o... | 27.777049 | 133 | 0.528447 | sukoi26 |
33369b9e4853a69134636660a7b1dd52c2c1e9fb | 1,926 | cpp | C++ | vehicle.cpp | olund/VechicleRegister | 49f6279e883b8837cad75112bd330f1cc04232a0 | [
"MIT"
] | null | null | null | vehicle.cpp | olund/VechicleRegister | 49f6279e883b8837cad75112bd330f1cc04232a0 | [
"MIT"
] | null | null | null | vehicle.cpp | olund/VechicleRegister | 49f6279e883b8837cad75112bd330f1cc04232a0 | [
"MIT"
] | null | null | null | #include "vehicle.h"
#include <string>
#include <sstream>
#include <iostream>
using std::string;
using std::stringstream;
using std::endl;
Vehicle::Vehicle() {
this->make = "Unknown";
this->model = "Unknown";
this->yearMade = -1;
this->nrOfPassengers = -1;
}
Vehicle::Vehicle(string make, string model... | 24.379747 | 94 | 0.666147 | olund |
3337ae98a23f6d869d96988d586b9e6c6d3ec4fd | 631 | cpp | C++ | baekjoon/2293.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/2293.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/2293.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | /*
2293 : 동전 1
URL : https://www.acmicpc.net/problem/2293
Input :
3 10
1
2
5
Output :
10
*/
#include <iostream>
#define MAX_N 101
#define MAX_K 10001
int n;
int k;
int coins[MAX_N];
int cache[MAX_K];
int main(int argc, char const *argv[])
{
std::cin >> n;
... | 13.717391 | 46 | 0.432647 | GihwanKim |
333d94cf399b3cd5e9bb926d399ccc890e12b9cd | 91,605 | cpp | C++ | bftengine/src/preprocessor/PreProcessor.cpp | situ-s/concord-bft | 1fb997b976dcd872b60aaa0b231db7b749354dd2 | [
"Apache-2.0"
] | null | null | null | bftengine/src/preprocessor/PreProcessor.cpp | situ-s/concord-bft | 1fb997b976dcd872b60aaa0b231db7b749354dd2 | [
"Apache-2.0"
] | null | null | null | bftengine/src/preprocessor/PreProcessor.cpp | situ-s/concord-bft | 1fb997b976dcd872b60aaa0b231db7b749354dd2 | [
"Apache-2.0"
] | null | null | null | // Concord
//
// Copyright (c) 2020-2021 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in
// compliance with the Apache 2.0 License.
//
// This product may include a number of subcomponents with separate copyrigh... | 51.754237 | 120 | 0.647596 | situ-s |
333e7f5307e686392485dc967cd4edfc11923d78 | 11,159 | ipp | C++ | libs/math/test/ellint_e_data.ipp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | libs/math/test/ellint_e_data.ipp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | libs/math/test/ellint_e_data.ipp | AishwaryaDoosa/Boost1.49 | 67bdb3b36d72dec7414a62f3b050162e608ea266 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2006 John Maddock
// Use, modification and distribution are subject to 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)
//
// Each row of test data contains in order:
//
// k, E(k)
//
static const boost::array<... | 98.752212 | 109 | 0.778385 | AishwaryaDoosa |
3341c6f1ca330a346c7f5b507cbbc78482bde56b | 2,831 | cpp | C++ | src/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | src/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | src/proof.cpp | arpj-rebola/rupee-old | b00351cbd3173d329ea183e08c3283c6d86d18a1 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "structs.hpp"
#include "extra.hpp"
namespace Proof {
//-------------------------------
// Memory management
//-------------------------------
bool allocate(proof& r) {
#ifdef VERBOSE
Blablabla::log("Allocating proof list.");
#endif
r.max = Parameters::proofSize;
r... | 24.405172 | 88 | 0.635818 | arpj-rebola |
33431c92f2a5cafdfe78a61d429f09e918f628b6 | 9,693 | cpp | C++ | dali-toolkit/internal/controls/tool-bar/tool-bar-impl.cpp | Coquinho/dali-toolkit | 8fea8f2ae64923690519e0de039ce4af51271d9f | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | dali-toolkit/internal/controls/tool-bar/tool-bar-impl.cpp | Coquinho/dali-toolkit | 8fea8f2ae64923690519e0de039ce4af51271d9f | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2020-10-19T15:47:43.000Z | 2020-10-19T15:47:43.000Z | dali-toolkit/internal/controls/tool-bar/tool-bar-impl.cpp | expertisesolutions/dali-toolkit | eac3e6ee30183868f1af12addd94e7f2fc467ed7 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 28.095652 | 141 | 0.667286 | Coquinho |
33438d726ff97c69d7e312a2bf82d220a0f642bb | 16,151 | cpp | C++ | nano/node/voting.cpp | conduitbender/vinireum | 29bfa6785c5812715c93550689099ff264f1165f | [
"BSD-3-Clause"
] | 1,228 | 2019-01-03T07:09:36.000Z | 2022-03-31T23:29:22.000Z | nano/node/voting.cpp | conduitbender/vinireum | 29bfa6785c5812715c93550689099ff264f1165f | [
"BSD-3-Clause"
] | 965 | 2019-01-02T22:52:13.000Z | 2022-03-31T11:05:56.000Z | nano/node/voting.cpp | conduitbender/vinireum | 29bfa6785c5812715c93550689099ff264f1165f | [
"BSD-3-Clause"
] | 393 | 2019-01-03T11:03:09.000Z | 2022-03-31T02:01:15.000Z | #include <nano/lib/stats.hpp>
#include <nano/lib/threading.hpp>
#include <nano/lib/utility.hpp>
#include <nano/node/network.hpp>
#include <nano/node/nodeconfig.hpp>
#include <nano/node/vote_processor.hpp>
#include <nano/node/voting.hpp>
#include <nano/node/wallet.hpp>
#include <nano/secure/ledger.hpp>
#include <nano/se... | 35.41886 | 272 | 0.701938 | conduitbender |
334a7d947d685d1cbcd87a213e32ecfa6b0c9e2c | 13,758 | cpp | C++ | src/libtsduck/dtv/descriptors/tsATSCEAC3AudioDescriptor.cpp | cedinu/tsduck | dc693912b1fda85bcac3fcb830d7753bd8112552 | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/descriptors/tsATSCEAC3AudioDescriptor.cpp | cedinu/tsduck | dc693912b1fda85bcac3fcb830d7753bd8112552 | [
"BSD-2-Clause"
] | null | null | null | src/libtsduck/dtv/descriptors/tsATSCEAC3AudioDescriptor.cpp | cedinu/tsduck | dc693912b1fda85bcac3fcb830d7753bd8112552 | [
"BSD-2-Clause"
] | null | null | null | //----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | 38.005525 | 150 | 0.582788 | cedinu |
334ce86038c09e42563430b5e240236e3fe02887 | 603 | cpp | C++ | Ouroboros/Source/oString/trim.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/Source/oString/trim.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | Ouroboros/Source/oString/trim.cpp | jiangzhu1212/oooii | fc00ff81e74adaafd9c98ba7c055f55d95a36e3b | [
"MIT"
] | null | null | null | // Copyright (c) 2014 Antony Arciuolo. See License.txt regarding use.
#include <oString/string.h>
#include <memory.h>
namespace ouro {
char* trim_left(char* trimmed, size_t trimmed_size, const char* src, const char* to_trim)
{
src += strspn(src, to_trim);
strlcpy(trimmed, src, trimmed_size);
return tri... | 23.192308 | 91 | 0.678275 | jiangzhu1212 |
334e7b05886f6b63820b51a7c9a1d3d34fc267aa | 2,481 | cpp | C++ | core/indigo-core/common/base_cpp/tlscont.cpp | khyurri/Indigo | 82f9ef9f43ca605f7265709e7a9256f1ff468d6c | [
"Apache-2.0"
] | 1 | 2021-08-15T02:53:35.000Z | 2021-08-15T02:53:35.000Z | core/indigo-core/common/base_cpp/tlscont.cpp | khyurri/Indigo | 82f9ef9f43ca605f7265709e7a9256f1ff468d6c | [
"Apache-2.0"
] | null | null | null | core/indigo-core/common/base_cpp/tlscont.cpp | khyurri/Indigo | 82f9ef9f43ca605f7265709e7a9256f1ff468d6c | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* Copyright (C) from 2009 to Present EPAM Systems.
*
* This file is part of Indigo toolkit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | 21.387931 | 77 | 0.604192 | khyurri |
334fa19db3bf0ef3c8de751c6b08eea0b24bac87 | 12,411 | cpp | C++ | server/src/unittest/dxl/statistics/CJoinCardinalityTest.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 466 | 2016-01-26T18:07:03.000Z | 2022-03-30T06:08:55.000Z | server/src/unittest/dxl/statistics/CJoinCardinalityTest.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 463 | 2016-01-26T19:13:02.000Z | 2022-03-24T03:08:13.000Z | server/src/unittest/dxl/statistics/CJoinCardinalityTest.cpp | hsyuan/gporca | 793b1dd7f55eb0e97f829e9e3b58d2a3133cf7ad | [
"ECL-2.0",
"Apache-2.0"
] | 203 | 2016-01-26T13:46:35.000Z | 2022-03-22T03:17:06.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2017 Pivotal, Inc.
//
// @filename:
// CJoinCardinalityTest.cpp
//
// @doc:
// Test for join cardinality estimation
//---------------------------------------------------------------------------
#ifnde... | 32.4047 | 98 | 0.717025 | hsyuan |
33515fa6b6e19e4957787be1aba92b87d3444831 | 967 | cpp | C++ | lab/catkin_ws/src/lab2_task/src/turtle_command_client.cpp | ASSANDHOLE/SUSTech-Intelligent-Robot | 78ea48f7dc106c3bc1a14fd26092160f6daa7c63 | [
"Apache-2.0"
] | null | null | null | lab/catkin_ws/src/lab2_task/src/turtle_command_client.cpp | ASSANDHOLE/SUSTech-Intelligent-Robot | 78ea48f7dc106c3bc1a14fd26092160f6daa7c63 | [
"Apache-2.0"
] | null | null | null | lab/catkin_ws/src/lab2_task/src/turtle_command_client.cpp | ASSANDHOLE/SUSTech-Intelligent-Robot | 78ea48f7dc106c3bc1a14fd26092160f6daa7c63 | [
"Apache-2.0"
] | null | null | null | //
// Created by An Guangyan on 2/23/22.
//
#include <ros/ros.h>
#include <lab2_task/CommandTurtle.h>
#include <lab2_task/ros_utils.hpp>
int main(int argc, char **argv) {
using CommandTurtle = lab2_task::CommandTurtle;
ROS_INIT("turtle_command_cli");
auto cli = GetServiceClient<CommandTurtle>("/turtle_co... | 30.21875 | 118 | 0.622544 | ASSANDHOLE |
3351b6bb91448054cc20faddb15e7841963aca46 | 15,044 | cpp | C++ | gen/complex.cpp | symmetryinvestments/ldc | cac8eddfc68cfe5c972df0ede31d8975fb1c5fb2 | [
"Apache-2.0"
] | 858 | 2015-01-02T10:06:15.000Z | 2022-03-30T18:26:49.000Z | gen/complex.cpp | symmetryinvestments/ldc | cac8eddfc68cfe5c972df0ede31d8975fb1c5fb2 | [
"Apache-2.0"
] | 2,533 | 2015-01-04T14:31:13.000Z | 2022-03-31T22:12:24.000Z | gen/complex.cpp | symmetryinvestments/ldc | cac8eddfc68cfe5c972df0ede31d8975fb1c5fb2 | [
"Apache-2.0"
] | 220 | 2015-01-06T05:24:36.000Z | 2022-03-13T10:47:32.000Z | //===-- complex.cpp -------------------------------------------------------===//
//
// LDC – the LLVM D compiler
//
// This file is distributed under the BSD-style LDC license. See the LICENSE
// file for details.
//
//===----------------------------------------------------------------------===/... | 29.672584 | 80 | 0.560024 | symmetryinvestments |
33545a7ef00acb8bf65df8dad2ec6214842d13fc | 4,031 | cpp | C++ | example_SVGLoad/src/ofApp.cpp | EnderDev/ofxLaser | a077d4cd355807b55c43bad499a268c86226a27c | [
"MIT"
] | 1 | 2020-03-26T18:00:22.000Z | 2020-03-26T18:00:22.000Z | example_SVGLoad/src/ofApp.cpp | venky123-coder/ofxLaser | c3a0fd4fd53632745e1dc07453f0db4ad9ec724c | [
"MIT"
] | null | null | null | example_SVGLoad/src/ofApp.cpp | venky123-coder/ofxLaser | c3a0fd4fd53632745e1dc07453f0db4ad9ec724c | [
"MIT"
] | null | null | null | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
// get the filenames of all the svgs in the data/svgs folder
string path = "svgs/";
ofDirectory dir(path);
dir.allowExt("svg");
dir.listDir();
dir.sort();
// and load them ... | 26.175325 | 105 | 0.622178 | EnderDev |
335496616e355c0d62f645190e624882216d943d | 343 | cpp | C++ | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(30).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(30).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(30).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | #include<BST.h>
#include"BST.h"
#include"BST.cpp"
#include "quetype.h"
using namespace std;
int main()
{
Node* root = nullptr;
int keys[] = { 5, 3, 2, 4, 6, 8, 10 };
int n = sizeof(keys)/sizeof(keys[0]);
for (int key : keys)
root = insert(root, key);
int sum = findSum(root);
update(root, sum);
inorder... | 11.827586 | 39 | 0.603499 | diptu |
3355bc8a9e22428c19cec827a0162da2de4acf9d | 2,714 | hpp | C++ | runtime_mod_combination/problem.hpp | Pachicobue/LibTest | d5a69ce8578f6d092f7a39bd5bd21b3875346a70 | [
"Unlicense"
] | 4 | 2019-08-26T16:52:59.000Z | 2020-09-14T07:15:34.000Z | runtime_mod_combination/problem.hpp | Pachicobue/LibTest | d5a69ce8578f6d092f7a39bd5bd21b3875346a70 | [
"Unlicense"
] | null | null | null | runtime_mod_combination/problem.hpp | Pachicobue/LibTest | d5a69ce8578f6d092f7a39bd5bd21b3875346a70 | [
"Unlicense"
] | null | null | null | #pragma once
#include <fstream>
#include "../utils/printer.hpp"
#include "../utils/random.hpp"
#include "../utils/scanner.hpp"
namespace libtest {
struct runtime_mod_combination
{
static constexpr const char* path = "runtime_mod_combination";
static constexpr const char* name = "Mod combinations (R... | 38.225352 | 123 | 0.574429 | Pachicobue |
3357f4e1485fb1f0e14afb8ecc77e6f2977aba55 | 2,426 | hpp | C++ | include/codegen/include/GlobalNamespace/OVRDebugHeadController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/OVRDebugHeadController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/OVRDebugHeadController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.MonoBehaviour
#include "UnityEngine/MonoBeh... | 33.232877 | 95 | 0.69291 | Futuremappermydud |
335b69393665613fed665f5e904d6e512277b500 | 6,434 | cpp | C++ | Source/Engine/Allocators.cpp | glowing-chemist/Bell | 0cf4d0ac925940869077779700c1d3bd45ff841f | [
"MIT"
] | 14 | 2020-02-12T19:13:46.000Z | 2022-03-05T02:26:06.000Z | Source/Engine/Allocators.cpp | glowing-chemist/Bell | 0cf4d0ac925940869077779700c1d3bd45ff841f | [
"MIT"
] | 5 | 2020-08-06T07:19:47.000Z | 2021-01-05T21:20:51.000Z | Source/Engine/Allocators.cpp | glowing-chemist/Bell | 0cf4d0ac925940869077779700c1d3bd45ff841f | [
"MIT"
] | 2 | 2021-09-18T13:36:47.000Z | 2021-12-04T15:08:53.000Z | #include "Allocators.hpp"
#include "Core/BellLogging.hpp"
#include <cmath>
#include <cstring>
namespace
{
uintptr_t nextAlignedAddress(const uintptr_t address, const uint64_t alignment) // Alignment must be a power of 2!
{
return (address + alignment - 1) & ~(alignment - 1);
}
}
SlabAllocator::Sl... | 23.654412 | 120 | 0.645943 | glowing-chemist |
335bad3f638138d36511b6b6db82e3fe28777d29 | 16,018 | cpp | C++ | 3rdparty/aruco/chromaticmask.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | null | null | null | 3rdparty/aruco/chromaticmask.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | null | null | null | 3rdparty/aruco/chromaticmask.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | null | null | null | /*****************************
Copyright 2011 Rafael Muñoz Salinas. 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... | 28.706093 | 158 | 0.596579 | PlusToolkit |
335cdf9a274e0cabebf50185ffa70c3f538ff99c | 13,491 | cpp | C++ | red-microdnf/red-lib/redconfig.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | 5 | 2021-02-24T09:00:36.000Z | 2022-02-10T16:37:10.000Z | red-microdnf/red-lib/redconfig.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | null | null | null | red-microdnf/red-lib/redconfig.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2021 IoT.bzh
author: Clément Bénier <clement.benier@iot.bzh>
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 ... | 33.14742 | 178 | 0.674301 | redpesk-labs |
335e0be59ea39b5d8f613c6f1c1c482f513f6434 | 4,182 | hpp | C++ | LumiEditor/example/Example.hpp | ChillyHub/Lumi | 54977f228207471ba917e7fd93d0b44f49bec04e | [
"MIT"
] | null | null | null | LumiEditor/example/Example.hpp | ChillyHub/Lumi | 54977f228207471ba917e7fd93d0b44f49bec04e | [
"MIT"
] | null | null | null | LumiEditor/example/Example.hpp | ChillyHub/Lumi | 54977f228207471ba917e7fd93d0b44f49bec04e | [
"MIT"
] | null | null | null | #include <Lumi.h>
#include <glm/glm.hpp>
#include <glm/ext/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <imgui.h>
class ExampleLayer : public Lumi::Layer
{
public:
ExampleLayer(int width, int height) : Layer("Example")
{
////////////////////////////////////////////////////////////////////
// ... | 33.190476 | 96 | 0.65208 | ChillyHub |
335f64b568671b95dcb5c89f609effc30561e68a | 13,372 | cpp | C++ | benchmark/matrix_benchmarks.cpp | maxpagani/math | fb93b8ab78f74278fdbf51bfb81373b12f887803 | [
"Apache-2.0"
] | 36 | 2016-12-14T16:02:47.000Z | 2022-03-03T18:16:45.000Z | benchmark/matrix_benchmarks.cpp | maxpagani/math | fb93b8ab78f74278fdbf51bfb81373b12f887803 | [
"Apache-2.0"
] | null | null | null | benchmark/matrix_benchmarks.cpp | maxpagani/math | fb93b8ab78f74278fdbf51bfb81373b12f887803 | [
"Apache-2.0"
] | 8 | 2017-09-17T06:01:32.000Z | 2021-07-28T09:28:41.000Z | /*
* matrix_benchmarks.cpp
*
* Created on: Dec 14, 2016
* Author: zmij
*/
#include "make_test_data.hpp"
#include <psst/math/matrix.hpp>
#include <psst/math/matrix_io.hpp>
#include <psst/math/vector.hpp>
#include <psst/math/vector_io.hpp>
#include <benchmark/benchmark.h>
namespace psst {
namespace math {
n... | 48.981685 | 100 | 0.637227 | maxpagani |
335f6f4859e2c4e67369ed7c93689fee85117a82 | 14,542 | cc | C++ | src/ssl/ssl_aead_ctx.cc | meme/boringssl | 09ec09b4c8bae4cdf2b8f139227a5a5ac9b3e554 | [
"MIT"
] | 7 | 2019-04-21T04:28:16.000Z | 2022-02-22T23:13:35.000Z | ssl/ssl_aead_ctx.cc | slontis/boringssl | ca4971cbaee165e0fd472029244c17e3a8d4c73d | [
"MIT"
] | null | null | null | ssl/ssl_aead_ctx.cc | slontis/boringssl | ca4971cbaee165e0fd472029244c17e3a8d4c73d | [
"MIT"
] | 3 | 2019-01-10T01:46:59.000Z | 2019-06-07T13:05:18.000Z | /* Copyright (c) 2015, Google Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS... | 33.276888 | 80 | 0.669028 | meme |
335fbfdfa7a65c9041dfd2ba089b04897b178db7 | 3,742 | cpp | C++ | tools/vcflib/src/vcfannotate.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | 2 | 2015-12-14T08:06:36.000Z | 2021-01-08T00:46:28.000Z | tools/vcflib/src/vcfannotate.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | 2 | 2018-10-08T23:44:16.000Z | 2019-05-10T08:04:09.000Z | tools/vcflib/src/vcfannotate.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | 3 | 2017-12-19T09:10:28.000Z | 2018-10-08T17:07:44.000Z | #include "Variant.h"
#include "BedReader.h"
#include <getopt.h>
using namespace std;
using namespace vcflib;
void printSummary(char** argv) {
cerr << "usage: " << argv[0] << " [options] [<vcf file>]" << endl
<< endl
<< "options:" << endl
<< " -b, --bed use annotations provided by... | 29.464567 | 108 | 0.527258 | benranco |
33601e1d548c3f22b4c3c540d1e845235daec4e7 | 1,744 | cpp | C++ | src/dispatch/link_table.cpp | cjgillot/rtti | 271c4429a4904afad858bf2464f3544314a6c69e | [
"BSL-1.0"
] | 2 | 2015-04-29T21:34:44.000Z | 2018-12-04T15:11:02.000Z | src/dispatch/link_table.cpp | cjgillot/rtti | 271c4429a4904afad858bf2464f3544314a6c69e | [
"BSL-1.0"
] | null | null | null | src/dispatch/link_table.cpp | cjgillot/rtti | 271c4429a4904afad858bf2464f3544314a6c69e | [
"BSL-1.0"
] | null | null | null | // Copyright Camille Gillot 2012 - 2015.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "link_table.hpp"
#include "foreach.hpp"
#include "product.hpp"
link_table::link_table(disp... | 21.8 | 66 | 0.672592 | cjgillot |
3361b344407a6341e1b3b74c3d1f7ac81d003b92 | 7,334 | hpp | C++ | cpp/IMC/Spec/PlanControl.hpp | arthur-bit-monnot/fire-rs-saop | 321e16fceebf44e8e97b482c24f37fbf6dd7d162 | [
"BSD-2-Clause"
] | 13 | 2018-11-19T15:51:23.000Z | 2022-01-16T11:24:21.000Z | cpp/IMC/Spec/PlanControl.hpp | fire-rs-laas/fire-rs-saop | 321e16fceebf44e8e97b482c24f37fbf6dd7d162 | [
"BSD-2-Clause"
] | 14 | 2017-10-12T16:19:19.000Z | 2018-03-12T12:07:56.000Z | cpp/IMC/Spec/PlanControl.hpp | fire-rs-laas/fire-rs-saop | 321e16fceebf44e8e97b482c24f37fbf6dd7d162 | [
"BSD-2-Clause"
] | 4 | 2018-03-12T12:28:55.000Z | 2021-07-07T18:32:17.000Z | //***************************************************************************
// Copyright 2017 OceanScan - Marine Systems & Technology, Lda. *
//***************************************************************************
// Licensed under the Apache License, Version 2.0 (the "License"); *
// you m... | 26.669091 | 111 | 0.530543 | arthur-bit-monnot |
336463dc7938af97155a2c545a1b824725afc7e1 | 892 | hpp | C++ | sdk/core/perf/inc/azure/perf/test_metadata.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 96 | 2020-03-19T07:49:39.000Z | 2022-03-20T14:22:41.000Z | sdk/core/perf/inc/azure/perf/test_metadata.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 2,572 | 2020-03-18T22:54:53.000Z | 2022-03-31T22:09:59.000Z | sdk/core/perf/inc/azure/perf/test_metadata.hpp | RickWinter/azure-sdk-for-cpp | b4fe751310f53669a941e00aa93072f2d10a4eba | [
"MIT"
] | 81 | 2020-03-19T09:42:00.000Z | 2022-03-24T05:11:05.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
/**
* @file
* @brief Define the metadata of a performance test.
*
*/
#pragma once
#include "azure/perf/test.hpp"
#include "azure/perf/test_options.hpp"
#include <functional>
#include <memory>
#include <string>
namespac... | 20.272727 | 92 | 0.636771 | RickWinter |
3365dcb73a1836325bf0939472eaa0b7fb0c4660 | 7,077 | cpp | C++ | Stp/Base/Debug/ConsoleWin.cpp | markazmierczak/Polonite | 240f099cafc5c38dc1ae1cc6fc5773e13f65e9de | [
"MIT"
] | 1 | 2019-07-11T12:47:52.000Z | 2019-07-11T12:47:52.000Z | Stp/Base/Debug/ConsoleWin.cpp | Polonite/Polonite | 240f099cafc5c38dc1ae1cc6fc5773e13f65e9de | [
"MIT"
] | null | null | null | Stp/Base/Debug/ConsoleWin.cpp | Polonite/Polonite | 240f099cafc5c38dc1ae1cc6fc5773e13f65e9de | [
"MIT"
] | 1 | 2019-07-11T12:47:53.000Z | 2019-07-11T12:47:53.000Z | // Copyright 2017 Polonite Authors. All rights reserved.
// Distributed under MIT license that can be found in the LICENSE file.
#include "Base/Debug/Console.h"
#include "Base/Io/FileStream.h"
#include <io.h>
#include <stdio.h>
#include <windows.h>
namespace stp {
// Converts ConsoleColor to Win32 bitmask.
static ... | 32.612903 | 96 | 0.717677 | markazmierczak |
3369681204aea157c543bd89777888b7c632ac61 | 10,415 | cpp | C++ | src/blueprints/Blueprint.cpp | sc2botbin/suvorov-bot | 804c4e73a35e30c2339936e26b780a89e45bc969 | [
"MIT"
] | null | null | null | src/blueprints/Blueprint.cpp | sc2botbin/suvorov-bot | 804c4e73a35e30c2339936e26b780a89e45bc969 | [
"MIT"
] | null | null | null | src/blueprints/Blueprint.cpp | sc2botbin/suvorov-bot | 804c4e73a35e30c2339936e26b780a89e45bc969 | [
"MIT"
] | null | null | null | // The MIT License (MIT)
//
// Copyright (c) 2017-2021 Alexander Kurbatov
#include "Addon.h"
#include "Blueprint.h"
#include "Building.h"
#include "Creature.h"
#include "GateUnit.h"
#include "HighTechUnit.h"
#include "Mutation.h"
#include "Queen.h"
#include "Refinery.h"
#include "Research.h"
#include "TownHall.h"
#inc... | 36.80212 | 127 | 0.659145 | sc2botbin |
336a7ccc8eaa5a60df5108908ad8523ba1c229c3 | 1,821 | cpp | C++ | Codeforces/1042/E.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | Codeforces/1042/E.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | Codeforces/1042/E.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cctype>
#include <algorithm>
using namespace std;
typedef long long lint;
#define cout cerr
#define ni (next_num<int>())
template<class T>inline T next_num(){
T i=0;char c;
while(!isdigit(c=getchar())&&c!='-');
bool neg=c=='-';
ne... | 22.207317 | 81 | 0.587589 | sshockwave |
336b6ac5ceca443906e7849d6701cec2f5969922 | 2,438 | cpp | C++ | Engine/source/UISystem/IMgrEntry.cpp | lampardwade/tetris_lua_playgroundOSS | 29373294cfa66f2324ac984e5d4102854696fcc0 | [
"DOC",
"Apache-2.0"
] | 175 | 2015-01-07T08:38:31.000Z | 2022-02-28T20:40:47.000Z | Engine/source/UISystem/IMgrEntry.cpp | lampardwade/tetris_lua_playgroundOSS | 29373294cfa66f2324ac984e5d4102854696fcc0 | [
"DOC",
"Apache-2.0"
] | 1 | 2020-09-10T09:45:48.000Z | 2020-09-11T10:10:52.000Z | Engine/source/UISystem/IMgrEntry.cpp | lampardwade/tetris_lua_playgroundOSS | 29373294cfa66f2324ac984e5d4102854696fcc0 | [
"DOC",
"Apache-2.0"
] | 46 | 2015-03-14T16:11:18.000Z | 2022-02-28T20:40:49.000Z | /*
Copyright 2013 KLab 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 by applicable law or agreed ... | 21.767857 | 76 | 0.645611 | lampardwade |
336d9a646a5f483fd6c74d893204f92317685dc4 | 6,694 | cpp | C++ | src/dawn_native/vulkan/BindGroupLayoutVk.cpp | shaoboyan/DawnSamplesForMesa | 90bfef5475ebad0a599013d6456cc8c3f8293703 | [
"Apache-2.0"
] | null | null | null | src/dawn_native/vulkan/BindGroupLayoutVk.cpp | shaoboyan/DawnSamplesForMesa | 90bfef5475ebad0a599013d6456cc8c3f8293703 | [
"Apache-2.0"
] | null | null | null | src/dawn_native/vulkan/BindGroupLayoutVk.cpp | shaoboyan/DawnSamplesForMesa | 90bfef5475ebad0a599013d6456cc8c3f8293703 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 The Dawn 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 agreed t... | 38.918605 | 100 | 0.611742 | shaoboyan |
336f12b0a792d2e27ba266fab966e161e3cb9215 | 9,704 | cpp | C++ | tutorial/0010_M5Stack-IDF/components/arduino/libraries/WiFi/src/WiFiClient.cpp | mozeal/ESP32 | 9bab3cf163070e82fd3a8ccbf4087b7bc3f8aca0 | [
"MIT"
] | null | null | null | tutorial/0010_M5Stack-IDF/components/arduino/libraries/WiFi/src/WiFiClient.cpp | mozeal/ESP32 | 9bab3cf163070e82fd3a8ccbf4087b7bc3f8aca0 | [
"MIT"
] | 1 | 2021-07-19T15:31:20.000Z | 2021-07-20T10:06:20.000Z | tutorial/0010_M5Stack-IDF/components/arduino/libraries/WiFi/src/WiFiClient.cpp | mozeal/ESP32 | 9bab3cf163070e82fd3a8ccbf4087b7bc3f8aca0 | [
"MIT"
] | null | null | null | /*
Client.h - Client class for Raspberry Pi
Copyright (c) 2016 Hristo Gochkov All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License... | 23.784314 | 124 | 0.595322 | mozeal |
3371f8352f3785a1397c3a2b277ba25777f1ed16 | 50,381 | cpp | C++ | artifact/storm/src/storm-pars/analysis/OrderExtender.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm-pars/analysis/OrderExtender.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm-pars/analysis/OrderExtender.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "OrderExtender.h"
#include "storm/exceptions/NotSupportedException.h"
#include "storm/modelchecker/results/ExplicitQualitativeCheckResult.h"
#include "storm/modelchecker/propositional/SparsePropositionalModelChecker.h"
#include "storm/storage/BitVector.h"
#include "storm/storage/SparseMatrix.h"
#include "stor... | 58.378911 | 332 | 0.543796 | glatteis |
3372fef1ce5d60866379b7831b04ae57803a8e23 | 1,552 | cpp | C++ | Impls/DS/Segtree/2D/RUPQ.cpp | francoisvogel/cp | ae59cf635ab19382d924344fbb137ab9ae631103 | [
"MIT"
] | 1 | 2021-10-02T15:40:33.000Z | 2021-10-02T15:40:33.000Z | Impls/DS/Segtree/2D/RUPQ.cpp | francoisvogel/cp | ae59cf635ab19382d924344fbb137ab9ae631103 | [
"MIT"
] | null | null | null | Impls/DS/Segtree/2D/RUPQ.cpp | francoisvogel/cp | ae59cf635ab19382d924344fbb137ab9ae631103 | [
"MIT"
] | null | null | null | /*
* Author: Francois Vogel
* Comment: Range Update Point Query 2D Segment Tree (O(n^2log^2n) time complexity, O(n^2) space complexity)
*/
/* Practice problems:
* Codeforces (2400) - The Unintended Antiquity - https://codeforces.com/problemset/problem/869/E (A good problem to test your first implementation on)
*/
... | 24.25 | 151 | 0.390464 | francoisvogel |
3374229ef3aa5488f676a7861cdfba9ea130a72f | 8,942 | cpp | C++ | src/nodesessionmetadata.cpp | Xaenalt/model_server | f977dbf1246ebf85e960ca058e814deac7c6a16c | [
"Apache-2.0"
] | 305 | 2018-10-01T12:41:28.000Z | 2020-04-24T10:36:08.000Z | src/nodesessionmetadata.cpp | Xaenalt/model_server | f977dbf1246ebf85e960ca058e814deac7c6a16c | [
"Apache-2.0"
] | 199 | 2020-04-29T08:43:21.000Z | 2022-03-29T09:05:52.000Z | src/nodesessionmetadata.cpp | Xaenalt/model_server | f977dbf1246ebf85e960ca058e814deac7c6a16c | [
"Apache-2.0"
] | 80 | 2020-04-29T14:54:41.000Z | 2022-03-30T14:50:29.000Z | //*****************************************************************************
// Copyright 2021 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.ap... | 45.161616 | 167 | 0.60132 | Xaenalt |
3377976d3d08e5ac9769bafeabbd28f9fc720b18 | 673 | cpp | C++ | food.cpp | billlin0904/QSnake | 07375173d9597ba3149cba5989c9122e90bb9c44 | [
"MIT"
] | null | null | null | food.cpp | billlin0904/QSnake | 07375173d9597ba3149cba5989c9122e90bb9c44 | [
"MIT"
] | null | null | null | food.cpp | billlin0904/QSnake | 07375173d9597ba3149cba5989c9122e90bb9c44 | [
"MIT"
] | 1 | 2021-01-15T19:44:40.000Z | 2021-01-15T19:44:40.000Z | #include <QPainter>
#include "gamestage.h"
#include "food.h"
Food::Food(QPointF const &pt) {
setPos(pt);
setData((int)GameObjectType::Object, (int)GameObjectValue::Food);
}
QRectF Food::boundingRect() const {
return QRectF(-SNAKE_SIZE, -SNAKE_SIZE,
SNAKE_SIZE * 2, SNAKE_SIZE * 2 );
}... | 24.925926 | 82 | 0.676077 | billlin0904 |
337a706cb18df6f820eba3ecdaf0517d752d5ae5 | 2,327 | inl | C++ | ThirdParty/Havok/include/Physics2012/Dynamics/Collide/Deprecated/Dispatch/hkpCollideCallbackDispatcher.inl | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 11 | 2016-08-02T03:40:36.000Z | 2022-03-15T13:41:29.000Z | ThirdParty/Havok/include/Physics2012/Dynamics/Collide/Deprecated/Dispatch/hkpCollideCallbackDispatcher.inl | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | null | null | null | ThirdParty/Havok/include/Physics2012/Dynamics/Collide/Deprecated/Dispatch/hkpCollideCallbackDispatcher.inl | wobbier/source3-engine | f59df759ee197aef5191cf13768c303c6ed17bf5 | [
"MIT"
] | 8 | 2017-03-17T05:59:25.000Z | 2021-02-27T08:51:46.000Z | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | 43.092593 | 251 | 0.784701 | wobbier |
337fd47b21e4ad5e03508fc5d2756977132dc531 | 1,881 | cpp | C++ | sources/file_analizer.cpp | 4Rjee/lab04boostfilesystem | a7876bec4e23ff04c91520ba6f8a7804dc09c77b | [
"MIT"
] | null | null | null | sources/file_analizer.cpp | 4Rjee/lab04boostfilesystem | a7876bec4e23ff04c91520ba6f8a7804dc09c77b | [
"MIT"
] | null | null | null | sources/file_analizer.cpp | 4Rjee/lab04boostfilesystem | a7876bec4e23ff04c91520ba6f8a7804dc09c77b | [
"MIT"
] | null | null | null | // Copyright 2020 Kochurin Nikita kochurin.nikita@gmail.com
#include "file_analizer.hpp"
const size_t account_pos = 8;
const size_t time_pos = 17;
const size_t pos_length = 8;
view_directory::view_directory(const std::string& path) {
if (!path.empty()) {
if (fs::exists(path)) {
path_ = path;
}
} el... | 31.35 | 78 | 0.559809 | 4Rjee |
3387ed48e37486e822aba8ab926fbb26018022cc | 6,387 | cpp | C++ | src/native_device_api/l0/primitives.cpp | hundeboll-silicom/oneccl | 9ea46ba5d9b81017ee27af4e66573881dc574477 | [
"Apache-2.0"
] | 70 | 2020-03-05T21:16:08.000Z | 2022-03-24T21:58:56.000Z | src/native_device_api/l0/primitives.cpp | hundeboll-silicom/oneccl | 9ea46ba5d9b81017ee27af4e66573881dc574477 | [
"Apache-2.0"
] | 17 | 2020-03-14T08:28:07.000Z | 2022-03-03T06:35:34.000Z | src/native_device_api/l0/primitives.cpp | hundeboll-silicom/oneccl | 9ea46ba5d9b81017ee27af4e66573881dc574477 | [
"Apache-2.0"
] | 22 | 2020-03-13T01:17:22.000Z | 2022-03-16T12:42:43.000Z | /*
Copyright 2016-2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | 37.133721 | 101 | 0.635196 | hundeboll-silicom |
338991fc95ac93da35f45a430e6c071b08b8a935 | 15,994 | cpp | C++ | MuC.cpp | ADAPTLab/muDBSCAN | 5666fb9b047073a2de5c125284b66f93ab824975 | [
"Apache-2.0"
] | 5 | 2019-09-09T16:55:55.000Z | 2020-10-21T03:29:31.000Z | MuC.cpp | ADAPTLab/muDBSCAN | 5666fb9b047073a2de5c125284b66f93ab824975 | [
"Apache-2.0"
] | null | null | null | MuC.cpp | ADAPTLab/muDBSCAN | 5666fb9b047073a2de5c125284b66f93ab824975 | [
"Apache-2.0"
] | 3 | 2019-09-11T17:35:53.000Z | 2020-10-05T21:08:49.000Z | /*
Algorithm: Micro-cluster based DBSCAN
Author: Aditya Sarma
email: asaditya1195@gmail.com
*/
#include "MuC.h"
#include "RList.h"
#include "MuC_RTree.h"
#include "vectorc.h"
#include "Data.h"
void processGroupSequential(DataHdr dataList, Group g)
{
int myrank;
MPI_Comm_rank(MPI_COMM_WORLD, &myrank);
i... | 34.395699 | 196 | 0.493498 | ADAPTLab |
338ce496dafa8caa9dfcb97fce7f8a9827391f32 | 192 | cc | C++ | src/conga/point.cc | milesdiprata/conga-minimax-alpha-beta | 0080bc62a71efd77ed499c6bd605f4120ccee73a | [
"MIT"
] | null | null | null | src/conga/point.cc | milesdiprata/conga-minimax-alpha-beta | 0080bc62a71efd77ed499c6bd605f4120ccee73a | [
"MIT"
] | null | null | null | src/conga/point.cc | milesdiprata/conga-minimax-alpha-beta | 0080bc62a71efd77ed499c6bd605f4120ccee73a | [
"MIT"
] | null | null | null | #include "conga/point.h"
namespace conga {
std::ostream& operator<<(std::ostream& os, const Point& point) {
return os << "(" << point.x << ", " << point.y << ")";
}
} // namespace conga
| 19.2 | 64 | 0.578125 | milesdiprata |
338f08624a835da177045b2038b9c240e4994a4d | 1,280 | cpp | C++ | Solutions/Binary Tree Inorder Traversal/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | 1 | 2015-04-13T10:58:30.000Z | 2015-04-13T10:58:30.000Z | Solutions/Binary Tree Inorder Traversal/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | Solutions/Binary Tree Inorder Traversal/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x): val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
vector<int> inorderTraversal(TreeNode *root) {
vector<int > res;
vector<TreeNode *> s;
if (ro... | 24.615385 | 55 | 0.3875 | Crayzero |
33915f30ab022ba5b89b1a18a8c9e744c6ef7918 | 1,042 | cpp | C++ | test/std/re/re.regex/re.regex.construct/bad_range.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/re/re.regex/re.regex.construct/bad_range.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | test/std/re/re.regex/re.regex.construct/bad_range.pass.cpp | K-Wu/libcxx.doc | c3c0421b2a9cc003146e847d0b8dd3a37100f39a | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// 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
//
//===---------------------------... | 26.717949 | 80 | 0.560461 | K-Wu |
3391fa28dec1ad0ec07f1110dd15c752bb1cc6d1 | 513 | cpp | C++ | src/Core/Types/Vec64UInt.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 3 | 2015-09-15T06:57:50.000Z | 2021-03-16T19:05:02.000Z | src/Core/Types/Vec64UInt.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 2 | 2015-09-26T12:41:10.000Z | 2015-12-08T08:41:37.000Z | src/Core/Types/Vec64UInt.cpp | tak2004/RadonFramework | e916627a54a80fac93778d5010c50c09b112259b | [
"Apache-2.0"
] | 1 | 2015-07-09T02:56:34.000Z | 2015-07-09T02:56:34.000Z | #include "RadonFramework/Core/Types/Vec64UInt.hpp"
using namespace RadonFramework::Core::Types;
const UInt8 RadonFramework::Core::Types::Vec64UInt8Min = UInt8Min;
const UInt8 RadonFramework::Core::Types::Vec64UInt8Max = UInt8Max;
const UInt16 RadonFramework::Core::Types::Vec64UInt16Min = UInt16Min;
const UInt16 Rado... | 42.75 | 69 | 0.808967 | tak2004 |
3393396c7e166817df5a9640c39e5e1defb343b5 | 334 | cpp | C++ | ham/src/ham/net/communicator_veo_only_ve.cpp | noma/ham | c9cbf447b8fa21d33db00a4aec606536638e6e14 | [
"BSL-1.0"
] | 19 | 2015-10-20T15:07:55.000Z | 2020-04-11T17:00:45.000Z | ham/src/ham/net/communicator_veo_only_ve.cpp | noma/ham | c9cbf447b8fa21d33db00a4aec606536638e6e14 | [
"BSL-1.0"
] | 14 | 2016-04-06T00:14:43.000Z | 2019-11-12T14:17:49.000Z | ham/src/ham/net/communicator_veo_only_ve.cpp | noma/ham | c9cbf447b8fa21d33db00a4aec606536638e6e14 | [
"BSL-1.0"
] | 5 | 2016-02-22T15:21:40.000Z | 2019-08-09T11:49:47.000Z | // Copyright (c) 2013-2019 Matthias Noack (ma.noack.pr@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)
#include "ham/net/communicator.hpp"
// VEO usable interface for initialisation
extern "C" {
} /... | 25.692308 | 79 | 0.727545 | noma |
339ba11832716b5016ef6d4e69b40d09bcaaa030 | 954 | cpp | C++ | bwchart/bwchart/ProgressDlg.cpp | udonyang/scr-benchmark | ed81d74a9348b6813750007d45f236aaf5cf4ea4 | [
"MIT"
] | null | null | null | bwchart/bwchart/ProgressDlg.cpp | udonyang/scr-benchmark | ed81d74a9348b6813750007d45f236aaf5cf4ea4 | [
"MIT"
] | null | null | null | bwchart/bwchart/ProgressDlg.cpp | udonyang/scr-benchmark | ed81d74a9348b6813750007d45f236aaf5cf4ea4 | [
"MIT"
] | null | null | null |
#include "stdafx.h"
#include "ProgressDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ProgressDlg dialog
ProgressDlg::ProgressDlg(CWnd* pParent /*=NULL*/)
: CDialo... | 23.268293 | 78 | 0.597484 | udonyang |
339c27ea8a41f179d0bb4642c0e7dfa0a5c534b4 | 1,414 | cpp | C++ | iocpserver/main.cpp | haomiao/tinyiocp | 53111299ba473021c2210cd12e7b78b1f4eb3d62 | [
"MIT"
] | null | null | null | iocpserver/main.cpp | haomiao/tinyiocp | 53111299ba473021c2210cd12e7b78b1f4eb3d62 | [
"MIT"
] | null | null | null | iocpserver/main.cpp | haomiao/tinyiocp | 53111299ba473021c2210cd12e7b78b1f4eb3d62 | [
"MIT"
] | null | null | null | // iocpserver.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include "pch.h"
#include <iostream>
#include "iserver.h"
class ConcreteServer : public IServer
{
public:
ConcreteServer() {}
~ConcreteServer() {}
public:
virtual void OnEstablished(IOSocketContext *pSocketContext)
{
printf("Accept a connection,current c... | 22.444444 | 94 | 0.719943 | haomiao |
339fdfbc746081f2808bdefb3551f26dfaac8fd4 | 6,762 | cc | C++ | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/audio_processing/aec3/echo_path_delay_estimator_unittest.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/audio_processing/aec3/echo_path_delay_estimator_unittest.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/audio_processing/aec3/echo_path_delay_estimator_unittest.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 38.64 | 145 | 0.72656 | Yash-Wasalwar-07 |
33a459bea95c4dcb1e61a4ab1b02bc818613e457 | 235 | hpp | C++ | include/RED4ext/Api/FileVer.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-03-18T17:22:09.000Z | 2022-03-18T17:22:09.000Z | include/RED4ext/Api/FileVer.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | null | null | null | include/RED4ext/Api/FileVer.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-02-13T01:44:55.000Z | 2022-02-13T01:44:55.000Z | #pragma once
#include <RED4ext/Api/v0/FileVer.hpp>
/**
* @brief Creates a file version using the latest version info type.
*/
#define RED4EXT_FILEVER(major, minor, build, revision) RED4EXT_V0_FILEVER(major, minor, build, revision)
| 26.111111 | 104 | 0.753191 | jackhumbert |
33a5d7ae3ef689837a3ebb8c8a038d84fd3de8cc | 22,932 | cpp | C++ | psl/rkisp1/CameraBuffer.cpp | a9rock64/rk_hardware_rk29_camera_v3 | c01cfa0e12564bb28ab80bc3e7401c0aa470663f | [
"Apache-2.0"
] | null | null | null | psl/rkisp1/CameraBuffer.cpp | a9rock64/rk_hardware_rk29_camera_v3 | c01cfa0e12564bb28ab80bc3e7401c0aa470663f | [
"Apache-2.0"
] | null | null | null | psl/rkisp1/CameraBuffer.cpp | a9rock64/rk_hardware_rk29_camera_v3 | c01cfa0e12564bb28ab80bc3e7401c0aa470663f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2013-2017 Intel Corporation
* Copyright (c) 2017, Fuzhou Rockchip Electronics Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | 30.90566 | 126 | 0.594366 | a9rock64 |
33a8e2cf696ddf8d0300f15718053b5a70670cae | 1,669 | cc | C++ | code/numerical/FastExpo.cc | Charleo85/stanfordacm | 1cc79c15e8e0e9c27e1470c7400cdb50aaa6bb82 | [
"MIT"
] | 1,624 | 2015-08-11T03:23:37.000Z | 2022-03-29T17:26:03.000Z | code/numerical/FastExpo.cc | Charleo85/stanfordacm | 1cc79c15e8e0e9c27e1470c7400cdb50aaa6bb82 | [
"MIT"
] | 12 | 2015-05-03T17:12:19.000Z | 2019-04-26T01:54:14.000Z | code/numerical/FastExpo.cc | Charleo85/stanfordacm | 1cc79c15e8e0e9c27e1470c7400cdb50aaa6bb82 | [
"MIT"
] | 598 | 2015-05-03T10:50:20.000Z | 2022-03-15T20:25:05.000Z | /*
Uses powers of two to exponentiate numbers and matrices. Calculates
n^k in O(log(k)) time when n is a number. If A is an n x n matrix,
calculates A^k in O(n^3*log(k)) time.
*/
#include <iostream>
#include <vector>
using namespace std;
typedef double T;
typedef vector<T> VT;
typedef vector<VT> VVT;
T power(T x, i... | 19.406977 | 67 | 0.464949 | Charleo85 |
33ab8f788716c57db2a9b3107839bc41910501be | 725 | hpp | C++ | doc/mainpage.hpp | matthew-rindel/TGUI | b4823c12881408d66c8df3896f4609f59bf188fd | [
"Zlib"
] | 543 | 2015-01-03T22:53:59.000Z | 2022-03-25T08:55:45.000Z | doc/mainpage.hpp | matthew-rindel/TGUI | b4823c12881408d66c8df3896f4609f59bf188fd | [
"Zlib"
] | 118 | 2015-01-21T12:22:58.000Z | 2022-03-31T17:05:33.000Z | doc/mainpage.hpp | matthew-rindel/TGUI | b4823c12881408d66c8df3896f4609f59bf188fd | [
"Zlib"
] | 111 | 2015-02-02T13:22:13.000Z | 2022-03-31T08:09:40.000Z | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// \mainpage TGUI Documentation
///
/// These pages contain the description of all usable functions and members in TGUI 0.9.\n
///
/// Make sure to also check the tutorials (https://tgui.eu... | 60.416667 | 129 | 0.451034 | matthew-rindel |
33ac3a9f62199906e41dec697629b37bc7b0c7d6 | 255 | cpp | C++ | engine/src/debug.cpp | sufsulae/CobekNgin | 1c5c804824bc33896143a8ea286f88b33a4c837e | [
"MIT"
] | null | null | null | engine/src/debug.cpp | sufsulae/CobekNgin | 1c5c804824bc33896143a8ea286f88b33a4c837e | [
"MIT"
] | null | null | null | engine/src/debug.cpp | sufsulae/CobekNgin | 1c5c804824bc33896143a8ea286f88b33a4c837e | [
"MIT"
] | null | null | null | #include "include\debug.h"
namespace cobek {
std::string Debug::m_logFilePath = std::string();
Delegate<void(std::string)> Debug::LogCallback = Delegate<void(std::string)>();
void Debug::SetLogFile(const char* logFile) {
m_logFilePath = logFile;
}
} | 31.875 | 80 | 0.717647 | sufsulae |
33ac68d3c114dbd0e2f79299be83eb1aa38a9dc9 | 4,232 | cpp | C++ | wpilibc/Athena/src/RobotBase.cpp | flamingchickens1540/wpilib-mirror | 58a82be5baaf0248ce3161804c9743724f165479 | [
"BSD-3-Clause"
] | null | null | null | wpilibc/Athena/src/RobotBase.cpp | flamingchickens1540/wpilib-mirror | 58a82be5baaf0248ce3161804c9743724f165479 | [
"BSD-3-Clause"
] | null | null | null | wpilibc/Athena/src/RobotBase.cpp | flamingchickens1540/wpilib-mirror | 58a82be5baaf0248ce3161804c9743724f165479 | [
"BSD-3-Clause"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008-2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 32.060606 | 80 | 0.685728 | flamingchickens1540 |
33b04fdd4d2a365f61fc1666ebab1af8201cc2cf | 252 | hh | C++ | src/utils/matrix/wrap_phase_vector.hh | LeoRya/py-orbit | 340b14b6fd041ed8ec2cc25b0821b85742aabe0c | [
"MIT"
] | 17 | 2018-02-09T23:39:06.000Z | 2022-03-04T16:27:04.000Z | src/utils/matrix/wrap_phase_vector.hh | LeoRya/py-orbit | 340b14b6fd041ed8ec2cc25b0821b85742aabe0c | [
"MIT"
] | 22 | 2017-05-31T19:40:14.000Z | 2021-09-24T22:07:47.000Z | src/utils/matrix/wrap_phase_vector.hh | LeoRya/py-orbit | 340b14b6fd041ed8ec2cc25b0821b85742aabe0c | [
"MIT"
] | 37 | 2016-12-08T19:39:35.000Z | 2022-02-11T19:59:34.000Z | #ifndef WRAP_UTILS_PHASE_VECTOR_H
#define WRAP_UTILS_PHASE_VECTOR_H
#include "Python.h"
#ifdef __cplusplus
extern "C" {
#endif
namespace wrap_utils_phase_vector{
void initPhaseVector(PyObject* module);
}
#ifdef __cplusplus
}
#endif
#endif
| 13.263158 | 43 | 0.77381 | LeoRya |
33b0a3a2810bb36b22a8fafd0e00dca37fbc734d | 3,019 | cpp | C++ | src/modules/MaNGOSBot/playerbot/strategy/actions/SkipSpellsListAction.cpp | MaNGOSBot/Uno | e5c95da966c367f1425d0d1d737bfdfc14362964 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | 1 | 2021-04-30T05:18:51.000Z | 2021-04-30T05:18:51.000Z | src/modules/Bots/playerbot/strategy/actions/SkipSpellsListAction.cpp | Lidocian/ZeroBots | 297072e07f85fc661e1b0e9a34c09580e3bfef14 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/modules/Bots/playerbot/strategy/actions/SkipSpellsListAction.cpp | Lidocian/ZeroBots | 297072e07f85fc661e1b0e9a34c09580e3bfef14 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | #include "botpch.h"
#include "../../playerbot.h"
#include "SkipSpellsListAction.h"
#include "../values/SkipSpellsListValue.h"
#include "LootAction.h"
using namespace ai;
bool SkipSpellsListAction::Execute(Event event)
{
string cmd = event.getParam();
set<uint32>& skipSpells = AI_VALUE(set<uint32>&, "skip sp... | 24.544715 | 86 | 0.493541 | MaNGOSBot |
33b3e91813bfc17aac16dae7f41fbeab293ea136 | 3,486 | cc | C++ | openSource/xgboost-0.90/src/linear/updater_coordinate.cc | MAE-M/PotentiallyInactiveCpeAnalysisTool | 58f897fb45437ff72a6db4d490f364061d779c50 | [
"Apache-2.0"
] | 4 | 2019-05-22T00:44:33.000Z | 2020-12-28T08:36:02.000Z | openSource/xgboost-0.90/src/linear/updater_coordinate.cc | MAE-M/PotentiallyInactiveCpeAnalysisTool | 58f897fb45437ff72a6db4d490f364061d779c50 | [
"Apache-2.0"
] | 1 | 2020-03-25T14:22:05.000Z | 2020-03-25T22:22:58.000Z | openSource/xgboost-0.90/src/linear/updater_coordinate.cc | MAE-M/PotentiallyInactiveCpeAnalysisTool | 58f897fb45437ff72a6db4d490f364061d779c50 | [
"Apache-2.0"
] | 1 | 2020-03-09T01:08:20.000Z | 2020-03-09T01:08:20.000Z | /*!
* Copyright 2018 by Contributors
* \author Rory Mitchell
*/
#include <xgboost/linear_updater.h>
#include "./param.h"
#include "../common/timer.h"
#include "coordinate_common.h"
namespace xgboost {
namespace linear {
DMLC_REGISTER_PARAMETER(CoordinateParam);
DMLC_REGISTRY_FILE_TAG(updater_coordinate);
// trai... | 37.085106 | 89 | 0.670109 | MAE-M |
33b52d7063c85e08db4fd4dcbb03474ce56f9d67 | 7,279 | cpp | C++ | cmfe/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 115 | 2018-02-01T18:56:44.000Z | 2022-03-21T13:23:00.000Z | cmfe/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 27 | 2018-09-17T17:49:49.000Z | 2021-11-03T04:31:51.000Z | cmfe/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 55 | 2018-02-01T07:11:49.000Z | 2022-03-04T01:20:23.000Z | //=== UndefResultChecker.cpp ------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 37.715026 | 80 | 0.594725 | dmitryryintel |
33b571e5e7426d78fddd88decc5d91569d7474f3 | 6,380 | hpp | C++ | pdatastructures/psequential/PHashMap.hpp | pramalhe/RedoDB | 5fd9171bc68bd4073283d1dd196a89f6a34ebb5d | [
"MIT"
] | 24 | 2020-04-28T08:07:12.000Z | 2022-03-18T17:52:34.000Z | pdatastructures/psequential/PHashMap.hpp | dendisuhubdy/RedoDB | 5bf082b8aa82d4f9731514102e7a42305f33e5a0 | [
"MIT"
] | 1 | 2020-04-30T12:06:41.000Z | 2020-09-12T21:47:04.000Z | pdatastructures/psequential/PHashMap.hpp | dendisuhubdy/RedoDB | 5bf082b8aa82d4f9731514102e7a42305f33e5a0 | [
"MIT"
] | 4 | 2020-04-18T05:25:20.000Z | 2020-12-30T22:47:28.000Z | /*
* Copyright 2018-2020
* Andreia Correia <andreia.veiga@unine.ch>
* Pedro Ramalhete <pramalhe@gmail.com>
* Pascal Felber <pascal.felber@unine.ch>
*
* This work is published under the MIT license. See LICENSE.txt
*/
#ifndef _PERSISTENT_SEQUENTIAL_RESIZABLE_HASH_MAP_H_
#define _PERSISTENT_SEQUENTIAL_RESIZA... | 30.380952 | 112 | 0.512539 | pramalhe |
33bacc42c8b35fb1fb003782d678ab5b0988895f | 18,605 | cpp | C++ | scufy/stepper_motor.cpp | jenny5-robot/Scufy | dc9f7df9a7b85eab7a93fe067f8617b16beef181 | [
"MIT"
] | 1 | 2019-08-13T05:15:12.000Z | 2019-08-13T05:15:12.000Z | scufy/stepper_motor.cpp | jenny5-robot/Scufy | dc9f7df9a7b85eab7a93fe067f8617b16beef181 | [
"MIT"
] | null | null | null | scufy/stepper_motor.cpp | jenny5-robot/Scufy | dc9f7df9a7b85eab7a93fe067f8617b16beef181 | [
"MIT"
] | null | null | null | // Author: Mihai Oltean, mihaioltean.github.io, mihai.oltean@gmail.com
// Jenny 5 websites: jenny5.org, jenny5-robot.github.io/
// Jenny 5 source code: github.com/jenny5-robot
// MIT License
//--------------------------------------------------------------
#include "stepper_motor.h"
#include "jenny5_types.h"
#include "... | 34.517625 | 155 | 0.630529 | jenny5-robot |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.