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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dd83d4744f2f8bad872ada1b8777f900caa23599 | 1,175 | cpp | C++ | Sid's Levels/Level - 1/DynamicProgramming/PaintManyHouse1.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 14 | 2021-08-22T18:21:14.000Z | 2022-03-08T12:04:23.000Z | Sid's Levels/Level - 1/DynamicProgramming/PaintManyHouse1.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 1 | 2021-10-17T18:47:17.000Z | 2021-10-17T18:47:17.000Z | Sid's Levels/Level - 1/DynamicProgramming/PaintManyHouse1.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 5 | 2021-09-01T08:21:12.000Z | 2022-03-09T12:13:39.000Z | //OM GAN GANAPATHAYE NAMO NAMAH
//JAI SHRI RAM
//JAI BAJRANGBALI
//AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n, k;
cin >> n >> k;
int arr[n][k];
for(int i = 0; i < n; i++)
{
for(int j = 0; j < k; j++)
... | 22.596154 | 67 | 0.403404 | Tiger-Team-01 |
dd85f0e48ce5b3e42eb69c3bf5a73870503a1197 | 560 | cpp | C++ | Playground/src/play.cpp | celestialkey/VisceralCombatEngine | b8021218401be5504ff07b087d9562c8c8ddbfb4 | [
"Apache-2.0"
] | null | null | null | Playground/src/play.cpp | celestialkey/VisceralCombatEngine | b8021218401be5504ff07b087d9562c8c8ddbfb4 | [
"Apache-2.0"
] | null | null | null | Playground/src/play.cpp | celestialkey/VisceralCombatEngine | b8021218401be5504ff07b087d9562c8c8ddbfb4 | [
"Apache-2.0"
] | null | null | null |
#include <VCE.h>
#include <glm/vec3.hpp>
class ExampleLayer : public VCE::Layer
{
public:
ExampleLayer()
: Layer("Example") {}
~ExampleLayer() {
}
void OnUpdate() override {
}
void OnAttach(){
}
void OnDetach(){
}
void OnEvent(VCE::Event& e) override {
//VCE_TRACE("ExampleLayer::OnEvent -> {0}", e);... | 13.333333 | 49 | 0.6375 | celestialkey |
dd8abd59e2aa4e7a14513e5204334387c32565cd | 5,591 | cpp | C++ | src/object/Triangle.cpp | NyantasticUwU/nyengine | b6a47d2bfb101366eeda1b318e66f09d37317688 | [
"MIT"
] | 2 | 2021-12-26T05:10:41.000Z | 2022-01-30T19:51:23.000Z | src/object/Triangle.cpp | NyantasticUwU/Nyengine | b6a47d2bfb101366eeda1b318e66f09d37317688 | [
"MIT"
] | null | null | null | src/object/Triangle.cpp | NyantasticUwU/Nyengine | b6a47d2bfb101366eeda1b318e66f09d37317688 | [
"MIT"
] | null | null | null | #include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <Nyengine/backend/error.hpp>
#include <Nyengine/exceptions/GLException.hpp>
#include <Nyengine/object/Triangle.hpp>
#include <cstdlib>
#define TOP_VERT_POS 0.0f, 0.5f, 0.0f
#define BML_VERT_POS... | 35.386076 | 96 | 0.649258 | NyantasticUwU |
dd8b9c11be4672e652573d47c070799316dff0f5 | 7,445 | cpp | C++ | test/pcr-grafo.cpp | gafeol/chinese-postman | 1b1dd9173ad0f58d325e0a973e2689625094df0b | [
"MIT"
] | null | null | null | test/pcr-grafo.cpp | gafeol/chinese-postman | 1b1dd9173ad0f58d325e0a973e2689625094df0b | [
"MIT"
] | 16 | 2020-02-23T05:46:26.000Z | 2021-01-27T02:09:49.000Z | test/pcr-grafo.cpp | gafeol/chinese-postman | 1b1dd9173ad0f58d325e0a973e2689625094df0b | [
"MIT"
] | 1 | 2020-12-11T18:26:31.000Z | 2020-12-11T18:26:31.000Z | #include "gtest/gtest.h"
#include "bits/stdc++.h"
using namespace std;
#include "../code/grafo.hpp"
#include "../code/pcr-grafo.cpp"
void print(vector<int> v){
printf("vector with %d elements:\n", (int)v.size());
for(int x: v)
printf("%d ", x);
puts("");
}
TEST(PCRGrafo, Simples){
Grafo G(2,... | 25.323129 | 77 | 0.495903 | gafeol |
dd8bde52178f466f2a1e2db53d81f217fef502ce | 1,484 | hpp | C++ | headers/ScriptTree.hpp | mcidclan/i3d-engine | 222bfc3669f78079b0a77ca756f44decb24e0272 | [
"Apache-2.0"
] | 1 | 2018-01-16T03:26:21.000Z | 2018-01-16T03:26:21.000Z | headers/ScriptTree.hpp | mcidclan/i3d-engine | 222bfc3669f78079b0a77ca756f44decb24e0272 | [
"Apache-2.0"
] | null | null | null | headers/ScriptTree.hpp | mcidclan/i3d-engine | 222bfc3669f78079b0a77ca756f44decb24e0272 | [
"Apache-2.0"
] | null | null | null | #ifndef SCRIPTTREE_HPP
#define SCRIPTTREE_HPP
#include "ScriptSheet.hpp"
class ScriptTree : public Element
{
public:
/// Constructor.
ScriptTree();
/// Destructor.
~ScriptTree();
///
static void draw(void);
///
void addNewScriptSheet(Script const);
///@{
/// Allow to set the cur... | 17.458824 | 57 | 0.639488 | mcidclan |
dd8d3ce076299ed8f04602687eb19af22203af15 | 1,946 | hpp | C++ | src/socket_pipeline_factory.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | 2 | 2017-01-02T02:02:23.000Z | 2021-04-15T09:21:27.000Z | src/socket_pipeline_factory.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | null | null | null | src/socket_pipeline_factory.hpp | sgalkin/notifications-backend | bf995816ecbfc54818f4d6277d4dbb695252cf75 | [
"MIT"
] | null | null | null | #pragma once
#include <wangle/channel/Pipeline.h>
#include <wangle/channel/Handler.h>
#include <wangle/channel/EventBaseHandler.h>
#include <wangle/channel/AsyncSocketHandler.h>
#include <folly/io/async/AsyncTransport.h>
#include <folly/Demangle.h>
#include <glog/logging.h>
#include <tuple>
#include <memory>
#include ... | 32.433333 | 111 | 0.707605 | sgalkin |
dd9130c36a6b9d2e25027ed8d8676612edcdb0ed | 9,108 | cpp | C++ | CityRenderingEngine/engine/rendering/Shader.cpp | roooodcastro/city-rendering-engine | eb0f2f948ab509baf7f5e08ec05f6eb510805eac | [
"MIT"
] | 2 | 2021-03-13T13:33:25.000Z | 2021-03-13T14:19:18.000Z | CityRenderingEngine/engine/rendering/Shader.cpp | roooodcastro/city-rendering-engine | eb0f2f948ab509baf7f5e08ec05f6eb510805eac | [
"MIT"
] | 1 | 2020-05-23T05:48:01.000Z | 2020-05-24T08:36:06.000Z | CityRenderingEngine/engine/rendering/Shader.cpp | roooodcastro/city-rendering-engine | eb0f2f948ab509baf7f5e08ec05f6eb510805eac | [
"MIT"
] | 1 | 2021-03-13T13:33:33.000Z | 2021-03-13T13:33:33.000Z | #include "Shader.h"
Shader::Shader(int name, const std::string &vertexFilename, const std::string &fragmentFilename) :
Resource(name) {
this->vertexFilename = std::string(vertexFilename);
this->fragmentFilename = std::string(fragmentFilename);
this->geometryFilename = "";
this->tessCtrlFilename = ... | 38.923077 | 112 | 0.631862 | roooodcastro |
dd9200c61d8c4cd4db529e1a3b741d54afd1f909 | 434 | cpp | C++ | IpcDelegate/DelegateWCaller.cpp | antonplakhotnyk/ipcdelegates | 0fc30118747596035fd13bf1dd55fa8c61fd1ad5 | [
"MIT"
] | 1 | 2021-09-18T12:34:01.000Z | 2021-09-18T12:34:01.000Z | IpcDelegate/DelegateWCaller.cpp | antonplakhotnyk/ipcdelegates | 0fc30118747596035fd13bf1dd55fa8c61fd1ad5 | [
"MIT"
] | null | null | null | IpcDelegate/DelegateWCaller.cpp | antonplakhotnyk/ipcdelegates | 0fc30118747596035fd13bf1dd55fa8c61fd1ad5 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "DelegateWCaller.h"
ThreadLocalStoregePtr<DelegateWCaller> DelegateWCaller::s_instance;
DelegateWCaller::DelegateWCaller()
{
return_if_not_equal(s_instance, NULL);
s_instance = this;
}
DelegateWCaller::~DelegateWCaller()
{
return_if_not_equal(s_instance, this);
s_instance = NULL;
}
... | 18.083333 | 67 | 0.790323 | antonplakhotnyk |
dd94e0f533379c1640c090d79c994a102bb4e0f2 | 19,460 | cpp | C++ | src/Test/inversionTest/inversionTest.cpp | pwang234/lsms | 6044153b6138512093e457bdc0c15c699c831778 | [
"BSD-3-Clause"
] | 16 | 2018-04-03T15:35:47.000Z | 2022-03-01T03:19:23.000Z | src/Test/inversionTest/inversionTest.cpp | pwang234/lsms | 6044153b6138512093e457bdc0c15c699c831778 | [
"BSD-3-Clause"
] | 8 | 2019-07-30T13:59:18.000Z | 2022-03-31T17:43:35.000Z | src/Test/inversionTest/inversionTest.cpp | pwang234/lsms | 6044153b6138512093e457bdc0c15c699c831778 | [
"BSD-3-Clause"
] | 9 | 2018-06-30T00:30:48.000Z | 2022-01-31T09:14:29.000Z | /* -*- c-file-style: "bsd"; c-basic-offset: 2; indent-tabs-mode: nil -*- */
// test the inverion algorithm for multiple scattering codes for the solution of
// tau = (1 - tG)^-1 t
// where t is a block diagonal matrix
// note that the diagonal blocks G_ii == 0
#include <stdio.h>
#include "Complex.hpp"
#include "Matr... | 34.260563 | 143 | 0.657554 | pwang234 |
dd9775b14fb517b4787f3443b4dc09d7f7649b0c | 627 | cpp | C++ | 0300/30/334a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 0300/30/334a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 0300/30/334a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <iostream>
void solve(size_t n)
{
const size_t k = n * n; // number of candy bags
const size_t s = k * (k + 1) / 2; // total number of candies
const size_t m = s / n; // how many candies to give to a brother
for (size_t i = 0; i < n; ++i) {
const... | 20.9 | 84 | 0.424242 | actium |
dd99e164394592e3eebd0d58569f6acee1ed53bd | 386 | cxx | C++ | src/emu/emu_frame.cxx | ascottix/tickle | de3b7df8a6e719b7682398ac689a7e439b40876f | [
"MIT"
] | 1 | 2021-05-31T21:09:50.000Z | 2021-05-31T21:09:50.000Z | src/emu/emu_frame.cxx | ascottix/tickle | de3b7df8a6e719b7682398ac689a7e439b40876f | [
"MIT"
] | null | null | null | src/emu/emu_frame.cxx | ascottix/tickle | de3b7df8a6e719b7682398ac689a7e439b40876f | [
"MIT"
] | null | null | null | /*
Tickle class library
Copyright (c) 2003,2004 Alessandro Scotti
*/
#include "emu_frame.h"
void TFrame::playForceFeedbackEffect( int player, TForceFeedbackEffect fx, unsigned param )
{
}
void TFrame::stopForceFeedbackEffect( int player )
{
}
void TFrame::setPlayerLight( int player, bool on )... | 16.782609 | 92 | 0.69171 | ascottix |
dd9aca1571856fb2454e2a7b96281500aa1435d4 | 2,913 | hpp | C++ | include/wtf/controls/button.hpp | ahunter-eyelock/wtf | c232d89cdf9817c28c4c4937300caf117bcb6876 | [
"BSL-1.0"
] | 5 | 2017-05-25T03:41:18.000Z | 2021-06-05T14:04:30.000Z | include/wtf/controls/button.hpp | ahunter-eyelock/wtf | c232d89cdf9817c28c4c4937300caf117bcb6876 | [
"BSL-1.0"
] | null | null | null | include/wtf/controls/button.hpp | ahunter-eyelock/wtf | c232d89cdf9817c28c4c4937300caf117bcb6876 | [
"BSL-1.0"
] | 3 | 2021-03-18T20:40:27.000Z | 2021-04-02T11:46:25.000Z | /** @file
@copyright David Mott (c) 2016. Distributed under the Boost Software License Version 1.0. See LICENSE.md or http://boost.org/LICENSE_1_0.txt for details.
*/
#pragma once
#define DOXY_INHERIT_BUTTON_SUPER \
DOXY_INHERIT_WINDOW \
DOXY_INHERIT_HAS_TEXT \
DOXY_INHERIT_HAS_FONT \
DOXY_INHERIT_HAS_ENABLE ... | 27.224299 | 153 | 0.665294 | ahunter-eyelock |
dda1cd7733e087861418bad1122ad4f836c97efa | 755 | cpp | C++ | examples/c++/tutorial/callback_from_javscript/hello_function_direct.cpp | Rabbid76/WasmExamples | 3290bd7ea44c4cd03688c2c1935f9b986a9c8e52 | [
"MIT"
] | null | null | null | examples/c++/tutorial/callback_from_javscript/hello_function_direct.cpp | Rabbid76/WasmExamples | 3290bd7ea44c4cd03688c2c1935f9b986a9c8e52 | [
"MIT"
] | null | null | null | examples/c++/tutorial/callback_from_javscript/hello_function_direct.cpp | Rabbid76/WasmExamples | 3290bd7ea44c4cd03688c2c1935f9b986a9c8e52 | [
"MIT"
] | null | null | null | // Copyright 2012 The Emscripten Authors. All rights reserved.
// Emscripten is available under two separate licenses, the MIT license and the
// University of Illinois/NCSA Open Source License. Both these licenses can be
// found in the LICENSE file.
// Call compiled C/C++ code “directly” from JavaScript
// https:/... | 31.458333 | 143 | 0.743046 | Rabbid76 |
dda431c0c96fbd2e81c5b5adec0628915b8cf3f5 | 3,380 | cpp | C++ | s32v234_sdk/libs/utils/communications/src/NameIterator.cpp | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | null | null | null | s32v234_sdk/libs/utils/communications/src/NameIterator.cpp | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | null | null | null | s32v234_sdk/libs/utils/communications/src/NameIterator.cpp | intesight/Panorama4AIWAYS | 46e1988e54a5155be3b3b47c486b3f722be00b5c | [
"WTFPL"
] | 2 | 2021-01-21T02:06:16.000Z | 2021-01-28T10:47:37.000Z | /******************************************************************************
* (C) Copyright CogniVue Corp. 2010 All right reserved.
* Confidential Information
*
* All parts of the CogniVue Corp. Program Source are protected by copyright law
* and all rights are reserved.
* This documentation ... | 29.649123 | 83 | 0.436686 | intesight |
dda6f5df74e791e3f1331de50dc8a149f5de33eb | 16,233 | cpp | C++ | node_modules/lzz-gyp/lzz-source/gram_LexBlockToken.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/gram_LexBlockToken.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/gram_LexBlockToken.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // gram_LexBlockToken.cpp
//
#include "gram_LexBlockToken.h"
// std lib
#include <cassert>
// gram
#include "gram_BlockTable.h"
#include "gram_CharBlock.h"
#include "gram_Lexer.h"
#include "gram_Message.h"
#include "gram_Prep.h"
#include "gram_TokenBlock.h"
#include "gram_TokenNumber.h"
// config
#include "conf_Conf... | 21.136719 | 102 | 0.468613 | SuperDizor |
dda824fc3f7aaabf17558567b32137f9bc919c72 | 10,876 | cpp | C++ | analyser/utility.cpp | jnmaloney/sc2-map-analyzer | b5adb13fb72a0f0a8c278241700791e7907ad4ad | [
"WTFPL"
] | 4 | 2015-11-14T17:17:30.000Z | 2020-05-13T05:51:12.000Z | analyser/utility.cpp | jnmaloney/sc2-map-analyzer | b5adb13fb72a0f0a8c278241700791e7907ad4ad | [
"WTFPL"
] | null | null | null | analyser/utility.cpp | jnmaloney/sc2-map-analyzer | b5adb13fb72a0f0a8c278241700791e7907ad4ad | [
"WTFPL"
] | 1 | 2020-05-13T05:53:54.000Z | 2020-05-13T05:53:54.000Z | #include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "outstreams.hpp"
#include "utility.hpp"
#include "sc2mapTypes.hpp"
const char* projectURL = "http://www.sc2mapster.com/assets/sc2-map-analyzer";
const char* adminEmail = "dimfish.mapper@gmail.com";
void removeChar... | 20.482109 | 88 | 0.448602 | jnmaloney |
ddaba7911a963f31b5c6b3b0b30284bd93ffaa84 | 1,022 | cpp | C++ | CodeForces.367/C.cpp | JoaoBaptMG/CompetitiveProgrammingSolutions | 4ecd4e1568b1104a683ea59367defe5cd39a34e8 | [
"MIT"
] | null | null | null | CodeForces.367/C.cpp | JoaoBaptMG/CompetitiveProgrammingSolutions | 4ecd4e1568b1104a683ea59367defe5cd39a34e8 | [
"MIT"
] | null | null | null | CodeForces.367/C.cpp | JoaoBaptMG/CompetitiveProgrammingSolutions | 4ecd4e1568b1104a683ea59367defe5cd39a34e8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <limits>
using namespace std;
#define MIN(a,b) ((a)<(b)?(a):(b))
constexpr size_t MAX = 1000000000000000000;
int main()
{
size_t n;
cin >> n;
vector<size_t> cs;
cs.resize(n);
for (auto &c : cs)
cin >> c;
vector<string> strs;
strs.resize(n)... | 17.322034 | 70 | 0.55773 | JoaoBaptMG |
ddadda47e31887cbc89d0c3e9e5f286e0c408a59 | 1,030 | cpp | C++ | src/2D/Dot.cpp | htmlcsjs/funni-marching | 2a03d55abdd5f7915c6c26f7212edd9705095757 | [
"MIT"
] | null | null | null | src/2D/Dot.cpp | htmlcsjs/funni-marching | 2a03d55abdd5f7915c6c26f7212edd9705095757 | [
"MIT"
] | null | null | null | src/2D/Dot.cpp | htmlcsjs/funni-marching | 2a03d55abdd5f7915c6c26f7212edd9705095757 | [
"MIT"
] | null | null | null | #include <raylib.h>
#include "Dot.hpp"
using namespace helpers2D;
Dot::Dot(Vector2 gridPos, Color colour, float unitSize)
{
this->gridPos = gridPos;
this->colour = colour;
this->unitSize = unitSize;
this->setGridPos(gridPos);
}
Dot::Dot(int x, int y, Color colour, float unitSize)
{
this->gridPos... | 18.070175 | 60 | 0.636893 | htmlcsjs |
ddb89b6f4ad2377670c03416708b3d6bed3ddbc9 | 12,607 | cpp | C++ | imagecore/image/resizecrop.cpp | shahzadlone/vireo | 73e7176d0255a9506b009c9ab8cc532ecd86e98c | [
"MIT"
] | 890 | 2017-12-15T17:55:42.000Z | 2022-03-27T07:46:49.000Z | imagecore/image/resizecrop.cpp | shahzadlone/vireo | 73e7176d0255a9506b009c9ab8cc532ecd86e98c | [
"MIT"
] | 29 | 2017-12-16T21:49:08.000Z | 2021-09-08T23:04:10.000Z | imagecore/image/resizecrop.cpp | shahzadlone/vireo | 73e7176d0255a9506b009c9ab8cc532ecd86e98c | [
"MIT"
] | 88 | 2017-12-15T19:29:49.000Z | 2022-03-21T00:59:29.000Z | /*
* MIT License
*
* Copyright (c) 2017 Twitter
*
* 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, ... | 37.858859 | 363 | 0.742524 | shahzadlone |
ddbb58fbfc32beb830ce5c4cbb001b584f7e6ebc | 668 | hpp | C++ | engine/src/Graphics/GraphicsFeatureSkybox.hpp | aleksigron/graphics-toolkit | f8e60c57316a72dff9de07512e9771deb3799208 | [
"MIT"
] | null | null | null | engine/src/Graphics/GraphicsFeatureSkybox.hpp | aleksigron/graphics-toolkit | f8e60c57316a72dff9de07512e9771deb3799208 | [
"MIT"
] | null | null | null | engine/src/Graphics/GraphicsFeatureSkybox.hpp | aleksigron/graphics-toolkit | f8e60c57316a72dff9de07512e9771deb3799208 | [
"MIT"
] | null | null | null | #pragma once
#include "Graphics/GraphicsFeature.hpp"
#include "Resources/MeshId.hpp"
#include "Resources/ShaderId.hpp"
namespace kokko
{
class GraphicsFeatureSkybox : public GraphicsFeature
{
public:
GraphicsFeatureSkybox();
virtual void Initialize(const InitializeParameters& parameters) override;
virtual void ... | 22.266667 | 76 | 0.811377 | aleksigron |
ddbd4223512edb5495185104243cf8654a1a8c6c | 1,619 | cpp | C++ | gym/index20_29/ioi2021_26/PE.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | 6 | 2020-10-12T05:07:03.000Z | 2021-09-11T14:54:58.000Z | gym/index20_29/ioi2021_26/PE.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | null | null | null | gym/index20_29/ioi2021_26/PE.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | 2 | 2021-02-09T02:06:31.000Z | 2021-10-06T01:25:08.000Z | #include <bits/stdc++.h>
const int MAXN = 2e5 + 10;
typedef long long LL;
int head[MAXN], nxt[MAXN << 1], to[MAXN << 1], tot;
void adde(int b, int e) {
nxt[++tot] = head[b]; to[head[b] = tot] = e;
nxt[++tot] = head[e]; to[head[e] = tot] = b;
}
struct _ {
LL n, p;
bool operator < (_ b) const {
return n > b.n;
}
... | 22.486111 | 61 | 0.489809 | daklqw |
ddc5df8417f0d66c102954748ec58a5a0d94cc94 | 8,406 | cc | C++ | libgearman-server/queue.cc | alionurdemetoglu/gearmand | dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22 | [
"BSD-3-Clause"
] | 712 | 2016-07-02T03:32:22.000Z | 2022-03-23T14:23:02.000Z | libgearman-server/queue.cc | alionurdemetoglu/gearmand | dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22 | [
"BSD-3-Clause"
] | 294 | 2016-07-03T16:17:41.000Z | 2022-03-30T04:37:49.000Z | libgearman-server/queue.cc | alionurdemetoglu/gearmand | dd9ac59a730f816e0dc5f27f98fdc06a08cc4c22 | [
"BSD-3-Clause"
] | 163 | 2016-07-08T10:03:38.000Z | 2022-01-21T05:03:48.000Z | /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Gearmand client and server library.
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... | 31.840909 | 117 | 0.600048 | alionurdemetoglu |
ddcc60459156355b4af5441ffd68e7ed6df73f5b | 26,108 | cpp | C++ | CullingModule/MaskedSWOcclusionCulling/Stage/BinTrianglesStage.cpp | SungJJinKang/Parallel_Culling | 17d1302f500bd38df75583c81a7091b975a3ef91 | [
"MIT"
] | 10 | 2021-12-25T09:22:39.000Z | 2022-02-27T19:39:45.000Z | CullingModule/MaskedSWOcclusionCulling/Stage/BinTrianglesStage.cpp | SungJJinKang/Parallel_Culling | 17d1302f500bd38df75583c81a7091b975a3ef91 | [
"MIT"
] | 1 | 2021-11-17T03:15:13.000Z | 2021-11-18T02:51:55.000Z | CullingModule/MaskedSWOcclusionCulling/Stage/BinTrianglesStage.cpp | SungJJinKang/Parallel_Culling | 17d1302f500bd38df75583c81a7091b975a3ef91 | [
"MIT"
] | 1 | 2022-01-09T23:14:30.000Z | 2022-01-09T23:14:30.000Z | #include "BinTrianglesStage.h"
#include <vector>
#include "../MaskedSWOcclusionCulling.h"
#include "../SWDepthBuffer.h"
#include "../Utility/vertexTransformationHelper.h"
#include "../Utility/depthBufferTileHelper.h"
#include "../Utility/RasterizerHelper.h"
#define BIN_VERTEX_INDICE_COUNT_PER_THREAD 24
#define DEF... | 37.782923 | 339 | 0.753486 | SungJJinKang |
ddcf9616c31ed55cc59255bdcdb74bdf1cdfa94d | 23,940 | cpp | C++ | source/base/Scene.cpp | chillpert/renderer | 9c953cef10ebec7a2c8fe5763a2c10105729deab | [
"Zlib"
] | 2 | 2020-11-18T18:20:12.000Z | 2020-12-18T19:24:00.000Z | source/base/Scene.cpp | chillpert/rayex | 9c953cef10ebec7a2c8fe5763a2c10105729deab | [
"Zlib"
] | null | null | null | source/base/Scene.cpp | chillpert/rayex | 9c953cef10ebec7a2c8fe5763a2c10105729deab | [
"Zlib"
] | null | null | null | #include "base/Scene.hpp"
#include "api/Components.hpp"
#define STB_IMAGE_IMPLEMENTATION
#include "stb/stb_image.h"
namespace RAYEX_NAMESPACE
{
CameraUbo cameraUbo;
std::shared_ptr<Geometry> triangle = nullptr; ///< A dummy triangle that will be placed in the scene if it empty. This assures the ... | 33.576438 | 251 | 0.639223 | chillpert |
ddd0a91af586334670d6a6b91d1ff92e5e6a002d | 5,374 | cpp | C++ | src/mesh.cpp | hippo-o-matic/telabrium | 9f7e6db3540372e43a555ac0b6c6bc457c39fad2 | [
"MIT"
] | null | null | null | src/mesh.cpp | hippo-o-matic/telabrium | 9f7e6db3540372e43a555ac0b6c6bc457c39fad2 | [
"MIT"
] | null | null | null | src/mesh.cpp | hippo-o-matic/telabrium | 9f7e6db3540372e43a555ac0b6c6bc457c39fad2 | [
"MIT"
] | null | null | null | #include "telabrium/mesh.h"
std::vector<Mesh*> Mesh::meshes{};
Mesh::Mesh(std::vector<Vertex> vertices, std::vector<unsigned int> indices, std::vector<Texture> texs, std::vector<std::shared_ptr<Material>> mats, glm::mat4 transform){
this->vertices = vertices;
this->indices = indices;
this->textures = texs;
... | 34.012658 | 170 | 0.654447 | hippo-o-matic |
ddd8060da9c848e4177eda87f82979824d44aee8 | 7,696 | cpp | C++ | chart/svg.cpp | 5r1gsOi1/other | 16da2846da4f80cdbccf0232696301c50c10c005 | [
"MIT"
] | null | null | null | chart/svg.cpp | 5r1gsOi1/other | 16da2846da4f80cdbccf0232696301c50c10c005 | [
"MIT"
] | null | null | null | chart/svg.cpp | 5r1gsOi1/other | 16da2846da4f80cdbccf0232696301c50c10c005 | [
"MIT"
] | null | null | null |
#include "svg.h"
svg::Text::Text(const std::string &text, const Point<double> &p,
const Point<double> &d, const svg::Attributes &font,
const svg::Attributes &fill)
: text_(text), p_(p), d_(d) {
name = "text";
attributes.insert(font.begin(), font.end());
attributes.insert(fill... | 30.0625 | 79 | 0.577313 | 5r1gsOi1 |
dddc0efa996e2ed1d7b24fdebd85c2b337fbf75b | 7,646 | cpp | C++ | src/blocks/blocks.cpp | TehPwns/PwnsianCartograph | 1533a63344dc08485c4693c7413b4bc2a9b69bf0 | [
"MIT"
] | 2 | 2019-09-29T10:07:56.000Z | 2020-06-08T17:32:01.000Z | src/blocks/blocks.cpp | jamesrwaugh/PwnsianCartographer | 1533a63344dc08485c4693c7413b4bc2a9b69bf0 | [
"MIT"
] | null | null | null | src/blocks/blocks.cpp | jamesrwaugh/PwnsianCartographer | 1533a63344dc08485c4693c7413b4bc2a9b69bf0 | [
"MIT"
] | null | null | null | #include <fstream>
#include "json11.hpp"
#include "ZipLib/ZipFile.h"
#include "utility/lodepng.h"
#include "utility/utility.h"
#include "blocks/blocks.h"
namespace
{
/* This is a std::map comparison functor that returns
* true if two SDL_Colors are similar. By doing this,
* similar colors can be grouped together */... | 28.636704 | 102 | 0.62451 | TehPwns |
ddde8814f7d88f245f52a933fb352c08d4e86293 | 1,310 | cpp | C++ | core/src/scene/spriteAtlas.cpp | flyskyosg/tangram-es | 7d0d7297485fdb388455b15810690c1568bdbedb | [
"MIT"
] | null | null | null | core/src/scene/spriteAtlas.cpp | flyskyosg/tangram-es | 7d0d7297485fdb388455b15810690c1568bdbedb | [
"MIT"
] | 1 | 2020-10-09T21:57:12.000Z | 2020-10-09T21:57:12.000Z | core/src/scene/spriteAtlas.cpp | quitejonny/tangram-es | b457b7fc59e3e0f3c6d7bc26a0b5fe62098376fb | [
"MIT"
] | 1 | 2019-08-31T14:43:29.000Z | 2019-08-31T14:43:29.000Z | #include "scene/spriteAtlas.h"
#include "platform.h"
namespace Tangram {
SpriteAtlas::SpriteAtlas(std::shared_ptr<Texture> _texture) : m_texture(_texture) {}
void SpriteAtlas::addSpriteNode(const std::string& _name, glm::vec2 _origin, glm::vec2 _size) {
float atlasWidth = m_texture->getWidth();
float atlas... | 29.111111 | 96 | 0.683206 | flyskyosg |
50b19e19646e237e6d85ddbf8d5ba26389c7cc86 | 4,245 | hpp | C++ | src/apps/avsinfo/item.hpp | januswel/avsutil | 417a07e794a4ec7549dc8453407d541755bb4bb3 | [
"MIT"
] | null | null | null | src/apps/avsinfo/item.hpp | januswel/avsutil | 417a07e794a4ec7549dc8453407d541755bb4bb3 | [
"MIT"
] | 1 | 2015-01-05T15:45:31.000Z | 2015-01-05T15:45:31.000Z | src/apps/avsinfo/item.hpp | januswel/avsutil | 417a07e794a4ec7549dc8453407d541755bb4bb3 | [
"MIT"
] | null | null | null | /*
* item.hpp
* Declarations and definitions for the classes to format and show data
*
* Copyright (C) 2010 janus_wel<janus.wel.3@gmail.com>
* see LICENSE for redistributing, modifying, and so on.
* */
#ifndef ITEM_HPP
#define ITEM_HPP
#include "../../helper/typeconv.hpp"
#include "../../helper/observer.hpp"... | 36.594828 | 78 | 0.487868 | januswel |
50b31a428465b311f3c9df5a4f0f2133d7972adb | 3,479 | hpp | C++ | code/include/terrain/Seed.hpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | 4 | 2016-06-24T09:22:18.000Z | 2019-06-13T13:50:53.000Z | code/include/terrain/Seed.hpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | null | null | null | code/include/terrain/Seed.hpp | Shutter-Island-Team/Shutter-island | c5e7c0b2c60c34055e64104dcbc396b9e1635f33 | [
"MIT"
] | 2 | 2016-06-10T12:46:17.000Z | 2018-10-14T06:37:21.000Z | /**
* @file Seed.hpp
*
* @brief Everything related to a seed of the map
*/
#ifndef SEED_HPP
#define SEED_HPP
#include "Biome.hpp"
#include "../../lib/voro++/src/voro++.hh"
#include <memory>
#include <utility>
/**
* @brief
* Representing a bi-dimensional vertex by a pair of float.
*/
typedef std::pair<float... | 19.435754 | 75 | 0.586663 | Shutter-Island-Team |
50b39fc44ab63a6ea19a9c136f69b6861a151226 | 2,719 | cpp | C++ | 9_stacks/53_postfix_evaluation.cpp | meyash/dust | 8f90d7f9cc42f61193c737cde14e9c4bb32884b4 | [
"MIT"
] | 1 | 2020-09-30T10:36:06.000Z | 2020-09-30T10:36:06.000Z | 9_stacks/53_postfix_evaluation.cpp | meyash/dust | 8f90d7f9cc42f61193c737cde14e9c4bb32884b4 | [
"MIT"
] | null | null | null | 9_stacks/53_postfix_evaluation.cpp | meyash/dust | 8f90d7f9cc42f61193c737cde14e9c4bb32884b4 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
// program for evaluating a postfix expression
class Stack{
private:
int size;
int top;
int *s;
public:
Stack(){
top=-1;
}
Stack(int size){
this->size=size;
s=new int[size];
... | 21.752 | 73 | 0.36815 | meyash |
50b61748fffd338c421aa1f6dbe818075634c348 | 1,165 | cpp | C++ | mdlink/src/base/test/Test.cpp | sz6636/DataCore | e2ef9bd2c22ee9e2845675b6435a14fa607f3551 | [
"Apache-2.0"
] | 144 | 2017-11-08T07:19:13.000Z | 2021-07-26T14:13:02.000Z | mdlink/src/base/test/Test.cpp | sz6636/DataCore | e2ef9bd2c22ee9e2845675b6435a14fa607f3551 | [
"Apache-2.0"
] | 13 | 2017-12-14T17:16:12.000Z | 2019-06-16T22:22:36.000Z | mdlink/src/base/test/Test.cpp | quantOS-org/DataCore | e2ef9bd2c22ee9e2845675b6435a14fa607f3551 | [
"Apache-2.0"
] | 88 | 2017-11-21T01:31:00.000Z | 2021-06-19T01:01:04.000Z |
/***********************************************************************
Copyright 2017 quantOS-org
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
Un... | 29.125 | 72 | 0.63691 | sz6636 |
50b67756fac108abbadc34a53df7a5f79ea2765d | 43 | cpp | C++ | source/dummy-includes/gui/Top_level_window.include.cpp | alf-p-steinbach/winapi | 866a3bcf5eddf4237db56790559bb0310f183abc | [
"MIT"
] | 1 | 2021-11-21T18:55:34.000Z | 2021-11-21T18:55:34.000Z | source/dummy-includes/gui/Top_level_window.include.cpp | alf-p-steinbach/winapi | 866a3bcf5eddf4237db56790559bb0310f183abc | [
"MIT"
] | null | null | null | source/dummy-includes/gui/Top_level_window.include.cpp | alf-p-steinbach/winapi | 866a3bcf5eddf4237db56790559bb0310f183abc | [
"MIT"
] | null | null | null | #include <winapi/gui/Top_level_window.hpp>
| 21.5 | 42 | 0.813953 | alf-p-steinbach |
50b8c79e0c202d2b30feecd5492d531031762bdf | 2,588 | cpp | C++ | examples/single channel analysis/main.cpp | dsilko/SOM | 9d27f101176b789305e783f643930a7a1c384bc5 | [
"Apache-2.0"
] | 9 | 2018-05-19T21:37:06.000Z | 2021-05-31T20:10:34.000Z | examples/single channel analysis/main.cpp | dsilko/SOM | 9d27f101176b789305e783f643930a7a1c384bc5 | [
"Apache-2.0"
] | null | null | null | examples/single channel analysis/main.cpp | dsilko/SOM | 9d27f101176b789305e783f643930a7a1c384bc5 | [
"Apache-2.0"
] | 3 | 2018-06-30T20:55:56.000Z | 2020-09-14T20:35:23.000Z | /* Copyright 2018 Denis Silko. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 34.506667 | 92 | 0.670402 | dsilko |
50bc2625799d5caeff4058aba67a42c68ea290fc | 9,408 | cpp | C++ | firmware-usbhost/common/cardreader/sberbank/test/SberbankPacketLayerTest.cpp | Zzzzipper/cppprojects | e9c9b62ca1e411320c24a3d168cab259fa2590d3 | [
"MIT"
] | null | null | null | firmware-usbhost/common/cardreader/sberbank/test/SberbankPacketLayerTest.cpp | Zzzzipper/cppprojects | e9c9b62ca1e411320c24a3d168cab259fa2590d3 | [
"MIT"
] | 1 | 2021-09-03T13:03:20.000Z | 2021-09-03T13:03:20.000Z | firmware-usbhost/common/cardreader/sberbank/test/SberbankPacketLayerTest.cpp | Zzzzipper/cppprojects | e9c9b62ca1e411320c24a3d168cab259fa2590d3 | [
"MIT"
] | null | null | null | #include "cardreader/sberbank/SberbankPacketLayer.h"
#include "timer/include/TimerEngine.h"
#include "utils/include/Hex.h"
#include "test/include/Test.h"
#include "logger/include/Logger.h"
class TestSberbankFrameLayer : public Sberbank::FrameLayerInterface {
public:
TestSberbankFrameLayer(StringBuilder *result) : res... | 34.086957 | 126 | 0.790497 | Zzzzipper |
50bea8f351b4996d449b0857880e4841c980f7c7 | 6,183 | cc | C++ | src/script_detector_test.cc | nitsakh/cld3 | 484afe9ba7438d078e60b3a26e7fb590213c0e17 | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/script_detector_test.cc | pkasting/cld3 | 006f75a2ab4c3b6cbfcf0a1a7924e67efb70e628 | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/script_detector_test.cc | pkasting/cld3 | 006f75a2ab4c3b6cbfcf0a1a7924e67efb70e628 | [
"Apache-2.0"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /* Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | 38.166667 | 80 | 0.645156 | nitsakh |
50bf35b436c40c1331e01bffee540f2abe560afb | 10,482 | cpp | C++ | tao/x11/anytypecode/any_basic_impl.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 20 | 2019-11-13T12:31:20.000Z | 2022-02-27T12:30:39.000Z | tao/x11/anytypecode/any_basic_impl.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 46 | 2019-11-15T20:40:18.000Z | 2022-03-31T19:04:36.000Z | tao/x11/anytypecode/any_basic_impl.cpp | ClausKlein/taox11 | 669cfd2d0be258722c7ee32b23f2e5cb83e4520f | [
"MIT"
] | 5 | 2019-11-12T15:00:50.000Z | 2022-01-17T17:33:05.000Z | /**
* @file any_basic_impl.cpp
* @author Martin Corino
*
* @brief TAOX11 CORBA Any_impl class for basic language
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
#include "tao/CDR.h"
#include "tao/x11/anytypecode/any_basic_impl.h"
#include "tao/x11/anytypecode/any_unknown_type.h"
#include "tao/x11/... | 29.27933 | 76 | 0.552757 | ClausKlein |
50bf537dc72710a950a61ebc021c4ac0ceeb84a6 | 168 | cpp | C++ | Volt/src/core/Resources.cpp | Daninjakiwi/Volt | bd62f8fcde96607e8f63ecb25056a1bae72a7c30 | [
"MIT"
] | null | null | null | Volt/src/core/Resources.cpp | Daninjakiwi/Volt | bd62f8fcde96607e8f63ecb25056a1bae72a7c30 | [
"MIT"
] | null | null | null | Volt/src/core/Resources.cpp | Daninjakiwi/Volt | bd62f8fcde96607e8f63ecb25056a1bae72a7c30 | [
"MIT"
] | null | null | null | #include <core/Resources.hpp>
namespace volt::resources {
unsigned long long s_current = 1;
unsigned long long assignId() {
s_current++;
return s_current;
}
} | 16.8 | 34 | 0.708333 | Daninjakiwi |
50cf0fa30936c32123570f9e8010583fa3eeb72f | 7,230 | cc | C++ | transpiler/tfhe_transpiler.cc | EtorgFalo/fully-homomorphic-encryption | e055442bb4efb16d26f5e2c2c09529fa17fb2d60 | [
"Apache-2.0"
] | null | null | null | transpiler/tfhe_transpiler.cc | EtorgFalo/fully-homomorphic-encryption | e055442bb4efb16d26f5e2c2c09529fa17fb2d60 | [
"Apache-2.0"
] | null | null | null | transpiler/tfhe_transpiler.cc | EtorgFalo/fully-homomorphic-encryption | e055442bb4efb16d26f5e2c2c09529fa17fb2d60 | [
"Apache-2.0"
] | null | null | null | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 32.421525 | 79 | 0.661964 | EtorgFalo |
50da228a4efeb9be695227234ac39bcb65f691ff | 1,316 | cpp | C++ | test/Preprocessor/feature_tests.cpp | LambdaMan/clang | 6edb1bc43453c555f37f713992cd99c674806ead | [
"Apache-2.0"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | test/Preprocessor/feature_tests.cpp | LambdaMan/clang | 6edb1bc43453c555f37f713992cd99c674806ead | [
"Apache-2.0"
] | 31 | 2015-01-27T20:39:41.000Z | 2020-04-23T16:24:20.000Z | test/Preprocessor/feature_tests.cpp | LambdaMan/clang | 6edb1bc43453c555f37f713992cd99c674806ead | [
"Apache-2.0"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | // RUN: %clang_cc1 %s -triple=i686-apple-darwin9 -verify -DVERIFY
// expected-no-diagnostics
#ifndef __has_feature
#error Should have __has_feature
#endif
#if __has_feature(something_we_dont_have)
#error Bad
#endif
#if !__has_builtin(__builtin_huge_val) || \
!__has_builtin(__builtin_shufflevector) || \
!_... | 29.909091 | 74 | 0.74848 | LambdaMan |
50e04d4202600b671afb2e3cbf1aa54f37b0b376 | 1,811 | cpp | C++ | android-31/android/net/wifi/WifiManager_LocalOnlyHotspotCallback.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/net/wifi/WifiManager_LocalOnlyHotspotCallback.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/net/wifi/WifiManager_LocalOnlyHotspotCallback.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "./WifiManager_LocalOnlyHotspotReservation.hpp"
#include "./WifiManager_LocalOnlyHotspotCallback.hpp"
namespace android::net::wifi
{
// Fields
jint WifiManager_LocalOnlyHotspotCallback::ERROR_GENERIC()
{
return getStaticField<jint>(
"android.net.wifi.WifiManager$LocalOnlyHotspotCallback",
"ERROR_GE... | 25.152778 | 125 | 0.76201 | YJBeetle |
50e8b3bc7fab3baae19f84c708171c1fd13c7094 | 8,448 | cpp | C++ | src/projects/base/springs/test_BASE_rsda.cpp | rserban/chrono | bee5e30b2ce3b4ac62324799d1366b6db295830e | [
"BSD-3-Clause"
] | 1 | 2020-03-05T13:00:41.000Z | 2020-03-05T13:00:41.000Z | src/projects/base/springs/test_BASE_rsda.cpp | rserban/chrono | bee5e30b2ce3b4ac62324799d1366b6db295830e | [
"BSD-3-Clause"
] | null | null | null | src/projects/base/springs/test_BASE_rsda.cpp | rserban/chrono | bee5e30b2ce3b4ac62324799d1366b6db295830e | [
"BSD-3-Clause"
] | 1 | 2022-03-27T15:12:24.000Z | 2022-03-27T15:12:24.000Z | #include "chrono/physics/ChSystemSMC.h"
#include "chrono/physics/ChSystemNSC.h"
#include "chrono/solver/ChIterativeSolverLS.h"
#include "chrono/solver/ChIterativeSolverVI.h"
#include "chrono/solver/ChDirectSolverLS.h"
#include "chrono/solver/ChSolverPSOR.h"
#include "chrono/solver/ChSolverBB.h"
#include "chrono_third... | 36.89083 | 105 | 0.612808 | rserban |
50edc4d9ef001d030d556464c6d5993d12b03ca6 | 28,036 | hpp | C++ | external/boost_1_60_0/qsboost/preprocessor/detail/dmc/auto_rec.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | 1 | 2019-06-27T17:54:13.000Z | 2019-06-27T17:54:13.000Z | external/boost_1_60_0/qsboost/preprocessor/detail/dmc/auto_rec.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | external/boost_1_60_0/qsboost/preprocessor/detail/dmc/auto_rec.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | 97.686411 | 121 | 0.613497 | wouterboomsma |
50f7edccc0ac196f1aad25b391b45a3e96e74f17 | 392 | cpp | C++ | C++/LeetCode/1094.cpp | Nimesh-Srivastava/DSA | db33aa138f0df8ab6015d2e8ec3ddde1c6838848 | [
"MIT"
] | 4 | 2021-08-28T19:16:50.000Z | 2022-03-04T19:46:31.000Z | C++/LeetCode/1094.cpp | Nimesh-Srivastava/DSA | db33aa138f0df8ab6015d2e8ec3ddde1c6838848 | [
"MIT"
] | 8 | 2021-10-29T19:10:51.000Z | 2021-11-03T12:38:00.000Z | C++/LeetCode/1094.cpp | Nimesh-Srivastava/DSA | db33aa138f0df8ab6015d2e8ec3ddde1c6838848 | [
"MIT"
] | 4 | 2021-09-06T05:53:07.000Z | 2021-12-24T10:31:40.000Z | class Solution {
public:
bool carPooling(vector<vector<int>>& trips, int capacity) {
vector<int> stops(1001);
for(auto& t : trips){
stops[t[1]] += t[0];
stops[t[2]] -= t[0];
}
for(int i = 0; i < 1001 && capacity >= 0; i++)
... | 21.777778 | 63 | 0.420918 | Nimesh-Srivastava |
50fcb736c46786162e91826264882395b4d35651 | 564 | cpp | C++ | C++/Majority Element.cpp | mafia1989/leetcode | f0bc9708a58602866818120556d8b8caf114811e | [
"MIT"
] | 3 | 2015-08-29T15:25:13.000Z | 2015-08-29T15:25:21.000Z | C++/Majority Element.cpp | mafia1989/leetcode | f0bc9708a58602866818120556d8b8caf114811e | [
"MIT"
] | null | null | null | C++/Majority Element.cpp | mafia1989/leetcode | f0bc9708a58602866818120556d8b8caf114811e | [
"MIT"
] | null | null | null | // Majority Element
// Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.
// You may assume that the array is non-empty and the majority element always exist in the array.
// Credits:
// Special thanks to @ts for adding this problem and crea... | 22.56 | 129 | 0.636525 | mafia1989 |
dd0d393b57d2f50c574c998da4e07d6290419fc5 | 3,184 | hpp | C++ | android-31/java/lang/Integer.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/lang/Integer.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/lang/Integer.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "./Number.hpp"
class JByteArray;
class JCharArray;
class JIntArray;
class JString;
class JClass;
class JObject;
class JString;
namespace java::lang::invoke
{
class MethodHandles_Lookup;
}
namespace java::util
{
class Optional;
}
namespace java::lang
{
class Integer : public java::lang::Numbe... | 32.824742 | 159 | 0.742776 | YJBeetle |
dd0ff75d855374f9c747ed9d15eb9f449a830db4 | 2,179 | cpp | C++ | Fuji/Source/MFDisplay.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 35 | 2015-01-19T22:07:48.000Z | 2022-02-21T22:17:53.000Z | Fuji/Source/MFDisplay.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 1 | 2022-02-23T09:34:15.000Z | 2022-02-23T09:34:15.000Z | Fuji/Source/MFDisplay.cpp | TurkeyMan/fuji | afd6a26c710ce23965b088ad158fe916d6a1a091 | [
"BSD-2-Clause"
] | 4 | 2015-05-11T03:31:35.000Z | 2018-09-27T04:55:57.000Z | #include "Fuji_Internal.h"
#include "MFDisplay_Internal.h"
#include "DebugMenu.h"
#include "MFView.h"
#include "MFSystem.h"
MFDisplay *gpCurrentDisplay = NULL;
extern MFInitParams gInitParams;
bool gAppHasFocus = true;
MFInitStatus MFDisplay_InitModule(int moduleId, bool bPerformInitialisation)
{
Debug... | 21.574257 | 88 | 0.748967 | TurkeyMan |
dd11e279934ebc90ec69eba1ca076e0831883b68 | 340 | cpp | C++ | Data Structures/Priority Queue/1. Basics/HeapUse.cpp | kunal299/Data-Structures-and-Algorithms | 5fed697211566108f732762768da938cfe83ec5f | [
"MIT"
] | 1 | 2022-01-13T14:04:58.000Z | 2022-01-13T14:04:58.000Z | Data Structures/Priority Queue/1. Basics/HeapUse.cpp | kunal299/Data-Structures-and-Algorithms | 5fed697211566108f732762768da938cfe83ec5f | [
"MIT"
] | null | null | null | Data Structures/Priority Queue/1. Basics/HeapUse.cpp | kunal299/Data-Structures-and-Algorithms | 5fed697211566108f732762768da938cfe83ec5f | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
#include "PriorityQueue.h"
int main() {
PriorityQueue p;
p.insert(100);
p.insert(10);
p.insert(15);
p.insert(4);
p.insert(17);
p.insert(21);
p.insert(67);
cout<<p.getSize()<<endl;
cout<<p.getMin()<<endl;
while(!p.isEmpty()) {
cout<<p.removeMin()<<" ";
}
cout<... | 13.076923 | 27 | 0.617647 | kunal299 |
dd125c3185aab95b520af8e2fb5d78bc92e550ba | 2,283 | hpp | C++ | src/ui/budget/InitialBalanceForm.hpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | 2 | 2016-07-17T02:12:44.000Z | 2016-11-22T14:04:55.000Z | src/ui/budget/InitialBalanceForm.hpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | src/ui/budget/InitialBalanceForm.hpp | vimofthevine/UnderBudget | 5711be8e5da3cb7a78da007fe43cf1ce1b796493 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Kyle Treubig
*
* 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... | 22.60396 | 75 | 0.722295 | vimofthevine |
dd132877fcebee38e4972f20350b129d64ad637d | 95 | cpp | C++ | launcher/InstanceTask.cpp | Spacc-Inc/MultiMC5-Cracked | 4afe2466fd5639bf8a03bfb866c070e705420d86 | [
"Apache-2.0"
] | 2,777 | 2015-01-02T17:20:34.000Z | 2021-10-20T12:34:27.000Z | launcher/InstanceTask.cpp | Spacc-Inc/MultiMC5-Cracked | 4afe2466fd5639bf8a03bfb866c070e705420d86 | [
"Apache-2.0"
] | 3,537 | 2015-01-01T00:51:03.000Z | 2021-10-20T07:35:33.000Z | launcher/InstanceTask.cpp | Spacc-Inc/MultiMC5-Cracked | 4afe2466fd5639bf8a03bfb866c070e705420d86 | [
"Apache-2.0"
] | 774 | 2015-01-07T19:44:39.000Z | 2021-10-19T18:10:38.000Z | #include "InstanceTask.h"
InstanceTask::InstanceTask()
{
}
InstanceTask::~InstanceTask()
{
}
| 9.5 | 29 | 0.715789 | Spacc-Inc |
dd13a2f00ec8f99b59bf0341a140adaa501a99fa | 1,672 | cpp | C++ | engine/test/ECS/SystemImplementations.cpp | targodan/gameProgramming | 5c0b36bee271dca65636d0317324a2bb786613f0 | [
"MIT"
] | 1 | 2019-07-14T11:32:30.000Z | 2019-07-14T11:32:30.000Z | engine/test/ECS/SystemImplementations.cpp | targodan/gameProgramming | 5c0b36bee271dca65636d0317324a2bb786613f0 | [
"MIT"
] | null | null | null | engine/test/ECS/SystemImplementations.cpp | targodan/gameProgramming | 5c0b36bee271dca65636d0317324a2bb786613f0 | [
"MIT"
] | null | null | null | #include "SystemImplementations.h"
engine::util::BlockingQueue<std::string> __executionQueue;
DEFINE_SYSTEM_ID(TestSystem1);
DEFINE_SYSTEM_ID(TestSystem2);
DEFINE_SYSTEM_ID(TestSystem3);
DEFINE_SYSTEM_ID(TestSystem4);
DEFINE_SYSTEM_ID(TestSystem5);
DEFINE_SYSTEM_ID(TestSystem6);
DEFINE_SYSTEM_ID(TestSystem7);
DEFINE_... | 29.857143 | 58 | 0.869019 | targodan |
dd168941ffd462fce5616825c67e258ac0429ef3 | 3,609 | hh | C++ | code/language/language.hh | jmpcosta/loc | 0efc9aadd4cc08a6c5c6841f494862b35f4533be | [
"MIT"
] | null | null | null | code/language/language.hh | jmpcosta/loc | 0efc9aadd4cc08a6c5c6841f494862b35f4533be | [
"MIT"
] | null | null | null | code/language/language.hh | jmpcosta/loc | 0efc9aadd4cc08a6c5c6841f494862b35f4533be | [
"MIT"
] | null | null | null | // *****************************************************************************************
//
// File description:
//
// Author: Joao Costa
// Purpose: Provide the definitions/declarations for a generic programming language
//
// ****************************************************************************************... | 32.809091 | 126 | 0.573289 | jmpcosta |
dd1a05cfb12b8904f58a1b9f3a5289ed050ccc7d | 762 | cpp | C++ | src/NcursesArt/StringVectorIntersection.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 25 | 2015-03-30T02:02:43.000Z | 2019-03-04T22:29:12.000Z | src/NcursesArt/StringVectorIntersection.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 122 | 2015-04-01T08:15:26.000Z | 2019-10-16T20:31:22.000Z | src/NcursesArt/StringVectorIntersection.cpp | allegroflare/allegro_flare | 21d6fe2a5a5323102285598c8a8c75b393ce0322 | [
"MIT"
] | 4 | 2020-02-25T18:17:31.000Z | 2021-04-17T05:06:52.000Z |
#include <NcursesArt/StringVectorIntersection.hpp>
#include <algorithm>
#include <algorithm>
namespace NcursesArt
{
StringVectorIntersection::StringVectorIntersection(std::vector<std::string> v1, std::vector<std::string> v2)
: v1(v1)
, v2(v2)
{
}
StringVectorIntersection::~StringVectorIntersection()
{
}
... | 18.142857 | 108 | 0.681102 | MarkOates |
dd1aa2c7d1a8f835e038bcd6b9ff50255d00566b | 1,992 | hpp | C++ | TestSuite-Intensive/HashComputationTests.hpp | CERIT-SC/echo2 | d07af458e2e0562f85dcbba490ae370909627bd5 | [
"CC-BY-4.0",
"Unlicense"
] | null | null | null | TestSuite-Intensive/HashComputationTests.hpp | CERIT-SC/echo2 | d07af458e2e0562f85dcbba490ae370909627bd5 | [
"CC-BY-4.0",
"Unlicense"
] | null | null | null | TestSuite-Intensive/HashComputationTests.hpp | CERIT-SC/echo2 | d07af458e2e0562f85dcbba490ae370909627bd5 | [
"CC-BY-4.0",
"Unlicense"
] | null | null | null | //
// HashComputationTests.h
// EchoErrorCorrection
//
// Created by Miloš Šimek on 08/02/14.
//
#ifndef __EchoErrorCorrection__HashComputationTests__
#define __EchoErrorCorrection__HashComputationTests__
#include <vector>
#include <memory>
#include <string>
#include <set>
using namespace std;
#include <cppunit/T... | 28.056338 | 116 | 0.702309 | CERIT-SC |
dd2306d353d630bdbc3936a89bbed00dd2db8cd1 | 2,181 | cpp | C++ | src/client/Client.cpp | violetaperezandrade/Taller-Prog-I-2021-1C-Chipa | 0e13e9990a31f3b061f8654cc78ba679123dba08 | [
"MIT"
] | null | null | null | src/client/Client.cpp | violetaperezandrade/Taller-Prog-I-2021-1C-Chipa | 0e13e9990a31f3b061f8654cc78ba679123dba08 | [
"MIT"
] | null | null | null | src/client/Client.cpp | violetaperezandrade/Taller-Prog-I-2021-1C-Chipa | 0e13e9990a31f3b061f8654cc78ba679123dba08 | [
"MIT"
] | null | null | null | #include "Client.h"
Client::Client(char *ip, char *port, Logger& logger, Config& config) :
skt(),
logger(logger),
entities(),
ip(ip),
port(port),
config(config)
{}
Client::~Client(){
}
int Client::connect(char* ip, char* port){
return skt.connect(ip, port,logger);
}
int Client::send(cons... | 26.277108 | 96 | 0.553416 | violetaperezandrade |
dd2377b5bb4232678c645fa93e35b8aa1b9c6eb6 | 525 | hpp | C++ | bulb/components/membrane/include/Membrane/Log.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 33 | 2020-01-09T04:57:29.000Z | 2021-08-14T08:02:43.000Z | bulb/components/membrane/include/Membrane/Log.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 234 | 2019-10-25T06:04:35.000Z | 2021-08-18T05:47:41.000Z | bulb/components/membrane/include/Membrane/Log.hpp | mondoo/Clove | 3989dc3fea0d886a69005c1e0bb4396501f336f2 | [
"MIT"
] | 4 | 2020-02-11T15:28:42.000Z | 2020-09-07T16:22:58.000Z | #pragma once
namespace membrane {
public enum class LogLevel {
Trace,
Debug,
Info,
Warning,
Error,
Critical,
};
}
namespace membrane {
public delegate void LogSink(System::String ^ message);
/**
* @brief Managed Logger wrapper design to be called f... | 20.192308 | 70 | 0.592381 | mondoo |
dd26a695f33e4b8c525c136ac0d95e1ec23a9421 | 3,165 | cpp | C++ | addcomputerwindow.cpp | athenabjorg/sacr | f923d91cd754258af53d65448e9e870cec274c2e | [
"MIT"
] | 1 | 2016-11-29T10:55:55.000Z | 2016-11-29T10:55:55.000Z | addcomputerwindow.cpp | athenabjorg/sacr | f923d91cd754258af53d65448e9e870cec274c2e | [
"MIT"
] | null | null | null | addcomputerwindow.cpp | athenabjorg/sacr | f923d91cd754258af53d65448e9e870cec274c2e | [
"MIT"
] | 1 | 2016-11-29T10:40:25.000Z | 2016-11-29T10:40:25.000Z | #include "addcomputerwindow.h"
#include "ui_addcomputerwindow.h"
#include "service.h"
AddComputerWindow::AddComputerWindow(QWidget *parent) :
QDialog(parent),
ui(new Ui::AddComputerWindow) // Constructor
{
ui->setupUi(this);
_service = nullptr;
setFixedSize(width(),height());
}
Ad... | 29.036697 | 168 | 0.573144 | athenabjorg |
dd2ef15656b0263cc21efd1db28f38513ae3f63a | 1,211 | hpp | C++ | include/minimax.hpp | JBarmentlo/Gomoku-AI | 2b1b91f7a4a2707eeb65da8c27912f7266d4e92b | [
"MIT"
] | null | null | null | include/minimax.hpp | JBarmentlo/Gomoku-AI | 2b1b91f7a4a2707eeb65da8c27912f7266d4e92b | [
"MIT"
] | null | null | null | include/minimax.hpp | JBarmentlo/Gomoku-AI | 2b1b91f7a4a2707eeb65da8c27912f7266d4e92b | [
"MIT"
] | null | null | null | #ifndef MINIMAX_H
#define MINIMAX_H
#include "defines.hpp"
#include "pattern.hpp"
#include "state.hpp"
#include "eval.hpp"
#include "thread_pool.hpp"
#include <deque>
int minimax_single_fred(State state, int limit, std::deque<int> past_scores = std::deque<int>(), int depth = 0, int alpha = BLACK_WIN, int beta = W... | 46.576923 | 185 | 0.735756 | JBarmentlo |
dd3053d1c9731640d77b57445d448c567b1d424c | 2,932 | cpp | C++ | 7DRL 2017/Projectile.cpp | marukrap/woozoolike | ca16b67bce61828dded707f1c529558646daf0b3 | [
"MIT"
] | 37 | 2017-03-26T00:20:49.000Z | 2021-02-11T18:23:22.000Z | 7DRL 2017/Projectile.cpp | marukrap/woozoolike | ca16b67bce61828dded707f1c529558646daf0b3 | [
"MIT"
] | null | null | null | 7DRL 2017/Projectile.cpp | marukrap/woozoolike | ca16b67bce61828dded707f1c529558646daf0b3 | [
"MIT"
] | 9 | 2017-03-24T04:38:35.000Z | 2021-08-22T00:02:43.000Z | #include "Projectile.hpp"
#include "Actor.hpp"
#include "World.hpp"
#include "Utility.hpp" // plotPath
#include <cassert>
Projectile::Projectile(Actor& actor, std::vector<sf::Vector2i> path)
: Entity(L'\\', 0xea)
, actor(actor)
, path(path)
{
sf::Vector2i dir = path.front() - actor.getPosition();
... | 20.361111 | 102 | 0.633356 | marukrap |
dd307e3fbcae22a0dfa13366beafd27099f4b9c1 | 334 | hpp | C++ | src/JoinDialog.hpp | Ralith/nachat | 7f58fe7ce9c71912a4001435d0ba82f52b8e5b19 | [
"Apache-2.0"
] | 52 | 2016-08-03T00:34:00.000Z | 2019-10-26T09:46:11.000Z | src/JoinDialog.hpp | Ralith/nachat | 7f58fe7ce9c71912a4001435d0ba82f52b8e5b19 | [
"Apache-2.0"
] | 10 | 2016-07-29T04:48:51.000Z | 2018-02-22T05:11:12.000Z | src/JoinDialog.hpp | Ralith/nachat | 7f58fe7ce9c71912a4001435d0ba82f52b8e5b19 | [
"Apache-2.0"
] | 16 | 2016-07-29T00:01:16.000Z | 2018-08-10T20:03:10.000Z | #ifndef NATIVE_CHAT_JOIN_DIALOG_HPP_
#define NATIVE_CHAT_JOIN_DIALOG_HPP_
#include <QDialog>
namespace Ui {
class JoinDialog;
}
class JoinDialog : public QDialog {
Q_OBJECT
public:
JoinDialog(QWidget *parent = nullptr);
~JoinDialog();
QString room();
void accept() override;
private:
Ui::JoinDialog *u... | 12.846154 | 40 | 0.733533 | Ralith |
dd3362004592eef59dc7eed25bde12e3d0934b33 | 4,060 | hh | C++ | src/Nn/NeuralNetwork.hh | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 63 | 2016-07-08T13:35:27.000Z | 2021-01-13T18:37:13.000Z | src/Nn/NeuralNetwork.hh | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 4 | 2017-08-04T09:25:10.000Z | 2022-02-24T15:38:52.000Z | src/Nn/NeuralNetwork.hh | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 30 | 2016-05-11T02:24:46.000Z | 2021-11-12T14:06:20.000Z | /*
* Copyright 2016 Alexander Richard
*
* This file is part of Squirrel.
*
* Licensed under the Academic Free License 3.0 (the "License").
* You may not use this file except in compliance with the License.
* You should have received a copy of the License along with Squirrel.
* If not, see <https://opensource.or... | 32.48 | 156 | 0.766256 | alexanderrichard |
dd3515a357b8ef97eafa3158ec23d4ca7256337e | 733 | hpp | C++ | proxy/cert/certificate_generator.hpp | plater-inc/proxy | f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda | [
"MIT"
] | null | null | null | proxy/cert/certificate_generator.hpp | plater-inc/proxy | f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda | [
"MIT"
] | null | null | null | proxy/cert/certificate_generator.hpp | plater-inc/proxy | f277fd8b3b5bf19b29c8f07055b65ed34c9a8dda | [
"MIT"
] | null | null | null | #ifndef PROXY_CERT_GENERATE_CERTIFICATE_HPP
#define PROXY_CERT_GENERATE_CERTIFICATE_HPP
#include "rsa_maker.hpp"
#include <boost/noncopyable.hpp>
#include <boost/tuple/tuple.hpp>
#include <string>
namespace proxy {
namespace cert {
struct certificate_generator : private boost::noncopyable {
certificate_generator(r... | 26.178571 | 80 | 0.763984 | plater-inc |
dd38d788ed370d349a756f000bd5526fb2acef0e | 4,777 | cpp | C++ | src/base.cpp | tansongchen/AwesomeLandlordBot | 21bee7e09211258f5c5074f61e1c67c0da9291c5 | [
"MIT"
] | null | null | null | src/base.cpp | tansongchen/AwesomeLandlordBot | 21bee7e09211258f5c5074f61e1c67c0da9291c5 | [
"MIT"
] | null | null | null | src/base.cpp | tansongchen/AwesomeLandlordBot | 21bee7e09211258f5c5074f61e1c67c0da9291c5 | [
"MIT"
] | null | null | null | #include "base.h"
#include <algorithm>
#include <iostream>
#include <sstream>
using namespace std;
void output(const Group &group) {
for (const auto &card : group) cout << card << " ";
}
Level card_to_level(Card card) { return card / 4 + card / 53; }
Level char_to_level(char c) {
switch (c) {
case 't': cas... | 27.454023 | 81 | 0.579024 | tansongchen |
dd3a0f55a0af65f4d10afb950121c92332eec956 | 8,496 | cpp | C++ | codeforces/contests/1523/E.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | codeforces/contests/1523/E.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | codeforces/contests/1523/E.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | #include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<string, string> pss;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vii;
typedef vector<ll> vl;
t... | 28.702703 | 116 | 0.558145 | wingkwong |
dd3a313bda7373a86c693fa4ab2922c2fb931887 | 2,186 | cpp | C++ | test/core/image_view/planar_rgba_view.cpp | NEDJIMAbelgacem/gil | 8ea3644825d4b2dcabda6d4ce6281d4882f45c61 | [
"BSL-1.0"
] | 1 | 2020-04-07T18:50:07.000Z | 2020-04-07T18:50:07.000Z | test/core/image_view/planar_rgba_view.cpp | NEDJIMAbelgacem/gil | 8ea3644825d4b2dcabda6d4ce6281d4882f45c61 | [
"BSL-1.0"
] | null | null | null | test/core/image_view/planar_rgba_view.cpp | NEDJIMAbelgacem/gil | 8ea3644825d4b2dcabda6d4ce6281d4882f45c61 | [
"BSL-1.0"
] | null | null | null | //
// Copyright 2018 Mateusz Loskot <mateusz at loskot dot net>
//
// 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
//
#define BOOST_TEST_MODULE gil/test/core/image_view/planar_rgba_view
#include "unit_test.hpp"
#in... | 34.15625 | 137 | 0.677493 | NEDJIMAbelgacem |
dd42e2299952576abfc5c3e0dd064ac7445070db | 3,010 | cc | C++ | openfl-webm/0,0,4/project/libvpx-generic/test/idctllm_test.cc | kudorado/HaxePlus | b312ad16420aa31731e55a1ac5f282cc46a557fc | [
"Apache-2.0"
] | null | null | null | openfl-webm/0,0,4/project/libvpx-generic/test/idctllm_test.cc | kudorado/HaxePlus | b312ad16420aa31731e55a1ac5f282cc46a557fc | [
"Apache-2.0"
] | null | null | null | openfl-webm/0,0,4/project/libvpx-generic/test/idctllm_test.cc | kudorado/HaxePlus | b312ad16420aa31731e55a1ac5f282cc46a557fc | [
"Apache-2.0"
] | null | null | null | /*
* 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 file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | 23.888889 | 71 | 0.522591 | kudorado |
dd433bb40cca08baa391b4f92040225e8dfc141f | 1,052 | hpp | C++ | libs/fnd/utility/include/bksge/fnd/utility.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/utility/include/bksge/fnd/utility.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/utility/include/bksge/fnd/utility.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file utility.hpp
*
* @brief Utility library
*
* @author myoukaku
*/
#ifndef BKSGE_FND_UTILITY_HPP
#define BKSGE_FND_UTILITY_HPP
#include <bksge/fnd/utility/as_const.hpp>
#include <bksge/fnd/utility/cmp_equal.hpp>
#include <bksge/fnd/utility/cmp_greater.hpp>
#include <bksge/fnd/utility/cmp_... | 32.875 | 55 | 0.769011 | myoukaku |
dd46f1b2015bc2b587f3c2485ded71b9bce52874 | 612 | hpp | C++ | Boss/Mod/ConnectFinderByHardcode.hpp | 3nprob/clboss | 0435b6c074347ce82e490a5988534054e9d7348d | [
"MIT"
] | 108 | 2020-10-01T17:12:40.000Z | 2022-03-30T09:18:03.000Z | Boss/Mod/ConnectFinderByHardcode.hpp | 3nprob/clboss | 0435b6c074347ce82e490a5988534054e9d7348d | [
"MIT"
] | 94 | 2020-10-03T13:40:30.000Z | 2022-03-30T09:18:00.000Z | Boss/Mod/ConnectFinderByHardcode.hpp | 3nprob/clboss | 0435b6c074347ce82e490a5988534054e9d7348d | [
"MIT"
] | 17 | 2020-10-29T13:27:59.000Z | 2022-03-18T13:05:03.000Z | #ifndef BOSS_MOD_CONNECTFINDERBYHARDCODE_HPP
#define BOSS_MOD_CONNECTFINDERBYHARDCODE_HPP
#include<memory>
namespace S { class Bus; }
namespace Boss { namespace Mod {
/** class Boss::Mod::ConnectFinderByHardcode
*
* @brief provides some possible connection
* candidates from a hardcoded list.
*/
class ConnectFin... | 20.4 | 52 | 0.78268 | 3nprob |
dd4838a1eec025dab1bc990b6f4a0469eef844e5 | 484 | cpp | C++ | doc/source/overview/functor.cpp | fujiehuang/ecto | fea744337aa1fad1397c9a3ba5baa143993cb5eb | [
"BSD-3-Clause"
] | 77 | 2015-01-30T15:45:43.000Z | 2022-03-03T02:29:37.000Z | doc/source/overview/functor.cpp | fujiehuang/ecto | fea744337aa1fad1397c9a3ba5baa143993cb5eb | [
"BSD-3-Clause"
] | 37 | 2015-01-18T21:04:36.000Z | 2021-07-09T08:24:54.000Z | doc/source/overview/functor.cpp | fujiehuang/ecto | fea744337aa1fad1397c9a3ba5baa143993cb5eb | [
"BSD-3-Clause"
] | 29 | 2015-02-17T14:37:18.000Z | 2021-11-16T07:46:26.000Z | #include <iostream>
#include <string>
//start
struct Printer
{
Printer(const std::string& prefix, const std::string& suffix)
:
prefix_(prefix),
suffix_(suffix)
{
}
void
operator()(std::ostream& out, const std::string& message)
{
out << prefix_ << message << suffix_;
}
std::stri... | 16.689655 | 63 | 0.60124 | fujiehuang |
dd4877305f4c2b8a449f605b1390ae134871cba2 | 10,135 | cc | C++ | src/remote_adapter/remote_adapter_client/remote_client/tests/remote_client_test.cc | LuxoftSDL/sdl_atf | 454487dafdc422db724cceb02827a6738e93203b | [
"BSD-3-Clause"
] | 6 | 2016-03-04T20:27:37.000Z | 2021-11-06T08:05:00.000Z | src/remote_adapter/remote_adapter_client/remote_client/tests/remote_client_test.cc | smartdevicelink/sdl_atf | 08354ae6633169513639a3d9257acd1229a5caa2 | [
"BSD-3-Clause"
] | 122 | 2016-03-09T20:03:50.000Z | 2022-01-31T14:26:36.000Z | src/remote_adapter/remote_adapter_client/remote_client/tests/remote_client_test.cc | smartdevicelink/sdl_atf | 08354ae6633169513639a3d9257acd1229a5caa2 | [
"BSD-3-Clause"
] | 41 | 2016-03-10T09:34:00.000Z | 2020-12-01T09:08:24.000Z | #include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "common/constants.h"
#include "mock_rpc_connection.h"
#include "remote_client.h"
namespace test {
static constexpr const char *kRpcName = "Test_RPC";
static const rpc_parameter kEmptyParameter;
using rpc_connection::connection_ptr;
using ::testing::_;
usin... | 35.939716 | 80 | 0.741589 | LuxoftSDL |
dd510d529f7f6ad984c58682d60dc73be915849e | 7,204 | cpp | C++ | src/projects/smc_validation/test_SMC_cor_normal.cpp | rserban/chrono | bee5e30b2ce3b4ac62324799d1366b6db295830e | [
"BSD-3-Clause"
] | 1 | 2020-03-05T13:00:41.000Z | 2020-03-05T13:00:41.000Z | src/projects/smc_validation/test_SMC_cor_normal.cpp | rserban/chrono | bee5e30b2ce3b4ac62324799d1366b6db295830e | [
"BSD-3-Clause"
] | null | null | null | src/projects/smc_validation/test_SMC_cor_normal.cpp | rserban/chrono | bee5e30b2ce3b4ac62324799d1366b6db295830e | [
"BSD-3-Clause"
] | 1 | 2022-03-27T15:12:24.000Z | 2022-03-27T15:12:24.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 43.660606 | 118 | 0.524847 | rserban |
dd567373adbfeea697f13831a0b1da6729f31d95 | 7,094 | hpp | C++ | include/depthai-bootloader-shared/Bootloader.hpp | diablodale/depthai-bootloader-shared | 126f344155346836a6a2d67b0993c161b6b48729 | [
"MIT"
] | 2 | 2020-11-01T22:28:01.000Z | 2021-02-25T23:10:24.000Z | include/depthai-bootloader-shared/Bootloader.hpp | diablodale/depthai-bootloader-shared | 126f344155346836a6a2d67b0993c161b6b48729 | [
"MIT"
] | 2 | 2022-01-20T17:59:28.000Z | 2022-01-25T14:15:37.000Z | include/depthai-bootloader-shared/Bootloader.hpp | diablodale/depthai-bootloader-shared | 126f344155346836a6a2d67b0993c161b6b48729 | [
"MIT"
] | 3 | 2021-05-17T13:33:22.000Z | 2022-03-19T07:06:12.000Z | #pragma once
// std
#include <cstdint>
#include <map>
// project
#include "Type.hpp"
#include "Section.hpp"
#include "Memory.hpp"
namespace dai
{
namespace bootloader
{
namespace request {
enum Command : uint32_t {
USB_ROM_BOOT = 0,
BOOT_APPLICATION,
UPDATE_FLASH,
GET_BOOTLOADER... | 25.245552 | 71 | 0.605018 | diablodale |
dd5db0c0a0273185a12b41f41a87dff3822db3cc | 4,585 | hpp | C++ | src/butterfly/public/butterfly/flattened_serializer.hpp | ButterflyStats/butterfly | 339e91a882cadc1a8f72446616f7d7f1480c3791 | [
"Apache-2.0"
] | 19 | 2017-04-13T07:46:59.000Z | 2021-12-05T20:58:54.000Z | src/butterfly/public/butterfly/flattened_serializer.hpp | ButterflyStats/butterfly | 339e91a882cadc1a8f72446616f7d7f1480c3791 | [
"Apache-2.0"
] | 5 | 2018-03-21T17:06:23.000Z | 2021-12-03T10:58:46.000Z | src/butterfly/public/butterfly/flattened_serializer.hpp | ButterflyStats/butterfly | 339e91a882cadc1a8f72446616f7d7f1480c3791 | [
"Apache-2.0"
] | 4 | 2018-03-11T12:12:07.000Z | 2020-11-17T07:46:37.000Z | /**
* @file flattened_serializer.hpp
* @author Robin Dietrich <me (at) invokr (dot) org>
*
* @par License
* Butterfly Replay Parser
* Copyright 2014-2016 Robin Dietrich
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... | 31.40411 | 102 | 0.606325 | ButterflyStats |
e5776cdb74b9e77981175b3832ee10b23e5a8aa0 | 1,620 | cpp | C++ | src/Avalanche/Output.cpp | EvanJRichard/wallet-core | c228cf400827856fac055a42f842f0b1a37fc9ee | [
"MIT"
] | null | null | null | src/Avalanche/Output.cpp | EvanJRichard/wallet-core | c228cf400827856fac055a42f842f0b1a37fc9ee | [
"MIT"
] | 1 | 2021-03-03T17:23:34.000Z | 2021-03-03T17:24:50.000Z | src/Avalanche/Output.cpp | EvanJRichard/wallet-core | c228cf400827856fac055a42f842f0b1a37fc9ee | [
"MIT"
] | null | null | null | // Copyright © 2017-2020 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "../BinaryCoding.h"
#include "Output.h"
using nam... | 36.818182 | 140 | 0.619136 | EvanJRichard |
e57d28a6484083152eda26da625041181a622e8e | 93 | cpp | C++ | KGE/Core/ClassCapabilities/ClassFactory.cpp | jkeywo/KGE | 5ad2619a4e205dd549cdf638854db356a80694ea | [
"MIT"
] | 1 | 2016-08-10T14:03:29.000Z | 2016-08-10T14:03:29.000Z | KGE/Core/ClassCapabilities/ClassFactory.cpp | jkeywo/KGE | 5ad2619a4e205dd549cdf638854db356a80694ea | [
"MIT"
] | null | null | null | KGE/Core/ClassCapabilities/ClassFactory.cpp | jkeywo/KGE | 5ad2619a4e205dd549cdf638854db356a80694ea | [
"MIT"
] | null | null | null | #include "KGE.hpp"
#include "Core/ClassCapabilities/ClassFactory.hpp"
namespace KGE
{
};
| 9.3 | 50 | 0.731183 | jkeywo |
e57ed5b81b770ae0a7ec4bb2ce5ae9f7ae9042e1 | 5,481 | cpp | C++ | Minecraft/main.cpp | borbrudar/Minecraft_clone | 117fbe94390f96e3a6227129de60c08a5cc2ccdc | [
"MIT"
] | null | null | null | Minecraft/main.cpp | borbrudar/Minecraft_clone | 117fbe94390f96e3a6227129de60c08a5cc2ccdc | [
"MIT"
] | null | null | null | Minecraft/main.cpp | borbrudar/Minecraft_clone | 117fbe94390f96e3a6227129de60c08a5cc2ccdc | [
"MIT"
] | null | null | null | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Shader.h"
#include "Camera.h"
#include "World.h"
#include "State.h"
#include "Menu.h"
#include "Crosshair.h"
#include "Light.h"
#include <iostream>
#include <functio... | 29.788043 | 118 | 0.711002 | borbrudar |
e57f89777e9d75938abf3e8db1555548c7e350e2 | 158 | hpp | C++ | igb_util/tbl.hpp | centrevillage/igb_sdk | 9c7fc06a016ddb281f5ba3602abae8de8ae5b8f5 | [
"MIT"
] | null | null | null | igb_util/tbl.hpp | centrevillage/igb_sdk | 9c7fc06a016ddb281f5ba3602abae8de8ae5b8f5 | [
"MIT"
] | null | null | null | igb_util/tbl.hpp | centrevillage/igb_sdk | 9c7fc06a016ddb281f5ba3602abae8de8ae5b8f5 | [
"MIT"
] | null | null | null | #ifndef IGB_UTIL_TBL_H
#define IGB_UTIL_TBL_H
#include <cstdint>
namespace igb {
extern const uint32_t euclid_tbl_32[32];
}
#endif /* IGB_UTIL_TBL_H */
| 11.285714 | 40 | 0.753165 | centrevillage |
e580f7ee4d42f78a71c76ce2b3086842041142f6 | 3,896 | cc | C++ | lib/src/whereami.cc | GabrielNagy/libwhereami | 8061b056b38ad2508b735465eae4bd9817091183 | [
"Apache-2.0"
] | 16 | 2017-07-12T05:58:59.000Z | 2022-03-11T01:07:10.000Z | lib/src/whereami.cc | GabrielNagy/libwhereami | 8061b056b38ad2508b735465eae4bd9817091183 | [
"Apache-2.0"
] | 41 | 2017-07-07T16:44:57.000Z | 2019-08-27T13:05:38.000Z | lib/src/whereami.cc | GabrielNagy/libwhereami | 8061b056b38ad2508b735465eae4bd9817091183 | [
"Apache-2.0"
] | 16 | 2017-07-05T15:23:40.000Z | 2022-03-17T21:11:20.000Z | #include <whereami/whereami.hpp>
#include <whereami/version.h>
#include <internal/vm.hpp>
#include <internal/sources/cgroup_source.hpp>
#include <internal/sources/cpuid_source.hpp>
#include <internal/sources/lparstat_source.hpp>
#include <internal/detectors/docker_detector.hpp>
#include <internal/detectors/hyperv_detec... | 27.828571 | 108 | 0.676335 | GabrielNagy |
e58210f26fc474f5d08ca8c3c7683221196f9f0c | 912 | cpp | C++ | src/libraries/KIRK/Utils/LogStream.cpp | lucashilbig/BA_Pathtracing_Fur | bed01d44ef93ff674436e002c82cb8c4663e2832 | [
"MIT"
] | null | null | null | src/libraries/KIRK/Utils/LogStream.cpp | lucashilbig/BA_Pathtracing_Fur | bed01d44ef93ff674436e002c82cb8c4663e2832 | [
"MIT"
] | null | null | null | src/libraries/KIRK/Utils/LogStream.cpp | lucashilbig/BA_Pathtracing_Fur | bed01d44ef93ff674436e002c82cb8c4663e2832 | [
"MIT"
] | null | null | null | /*
* RT
* LogStream.cpp
*
* @author: Hendrik Schwanekamp
* @mail: hendrik.schwanekamp@gmx.net
*
* Implements the LogStream class, which provides stream style input for captain KIRKS log.(see Log.h)
*
*
*/
// includes
//--------------------
#include "LogStream.h"
//--------------------
// namespace
//-----... | 21.209302 | 135 | 0.566886 | lucashilbig |
e5843478dbdf15ec767427a3747a0d7e46e86e3a | 39,066 | cpp | C++ | CompilerGenerator/lib/dregx/Grammar.cpp | Deruago/DREGX | f3221b137ae64a5d176095bcbb6472f6c356ad32 | [
"Apache-2.0"
] | 1 | 2022-02-18T19:46:46.000Z | 2022-02-18T19:46:46.000Z | CompilerGenerator/lib/dregx/Grammar.cpp | Deruago/DREGX | f3221b137ae64a5d176095bcbb6472f6c356ad32 | [
"Apache-2.0"
] | null | null | null | CompilerGenerator/lib/dregx/Grammar.cpp | Deruago/DREGX | f3221b137ae64a5d176095bcbb6472f6c356ad32 | [
"Apache-2.0"
] | null | null | null | /*
* This file is auto-generated and auto-maintained by DLDL
* Do not change code in this as it can be overwritten.
*
* For more information see the DLDL repo: https://github.com/Deruago/DLDL
* For more information about Deamer: https://github.com/Deruago/theDeamerProject
*/
#include "dregx/Grammar.h"
#include ... | 115.922849 | 1,160 | 0.823094 | Deruago |
e585362947b3f83e240e63a1a23faeb270f9ec20 | 134 | cpp | C++ | clang-ast/functions.cpp | strandfield/cxxast | 423e383b7d85d1c1c9299f86fec9b2231031ee78 | [
"MIT"
] | null | null | null | clang-ast/functions.cpp | strandfield/cxxast | 423e383b7d85d1c1c9299f86fec9b2231031ee78 | [
"MIT"
] | null | null | null | clang-ast/functions.cpp | strandfield/cxxast | 423e383b7d85d1c1c9299f86fec9b2231031ee78 | [
"MIT"
] | null | null | null |
void foo(int a = 3 + 5)
{
int b = a + 2;
}
int add(int a, int b)
{
return a + b;
}
int bar() = delete;
struct A { };
A aa();
| 7.882353 | 23 | 0.470149 | strandfield |
e58965da2cee30be0d50e000f5ee49d8f91f20e4 | 743 | hpp | C++ | include/engge/System/Locator.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 127 | 2018-12-09T18:40:02.000Z | 2022-03-06T00:10:07.000Z | include/engge/System/Locator.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 267 | 2019-02-26T22:16:48.000Z | 2022-02-09T09:49:22.000Z | include/engge/System/Locator.hpp | scemino/engge | 3362ad56b67f58bdc89f7eb1a77f0f75bd350e1f | [
"MIT"
] | 17 | 2019-02-26T20:45:34.000Z | 2021-06-17T15:06:26.000Z | #pragma once
#include <memory>
namespace ng {
class Logger;
class EntityManager;
template<typename TService>
struct Locator {
Locator() = delete;
~Locator() = delete;
inline static void set(std::shared_ptr<TService> pService) {
m_pService = std::move(pService);
}
template<class ..._Args>
inline stat... | 19.552632 | 87 | 0.690444 | scemino |
e58bd11358f20b23fb3950f147a9474f656c3c54 | 841 | hpp | C++ | third_party/boost/simd/detail/dispatch/function.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 6 | 2018-02-25T22:23:33.000Z | 2021-01-15T15:13:12.000Z | third_party/boost/simd/detail/dispatch/function.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | third_party/boost/simd/detail/dispatch/function.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 7 | 2017-12-12T12:36:31.000Z | 2020-02-10T14:27:07.000Z | //==================================================================================================
/*!
@file
Gateway header for dispatched function and callable object helpers
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy... | 36.565217 | 100 | 0.617122 | SylvainCorlay |
e58d230f12544730c43fd2986347fa7e9fd6aa8c | 1,997 | cpp | C++ | ocuequation/sol_project3d.cpp | maexlich/opencurrent | a51c5a8105563d2f7e260ee7debf79bda2c2dcf0 | [
"Apache-2.0"
] | 4 | 2016-11-16T15:29:31.000Z | 2018-03-27T03:29:14.000Z | ocuequation/sol_project3d.cpp | laosunhust/FluidSolver | d0c7fa235853863efdf44b742c70cf6673c8cf9e | [
"Apache-2.0"
] | 1 | 2020-01-26T12:29:00.000Z | 2020-01-26T13:56:20.000Z | ocuequation/sol_project3d.cpp | laosunhust/FluidSolver | d0c7fa235853863efdf44b742c70cf6673c8cf9e | [
"Apache-2.0"
] | 1 | 2018-02-14T16:13:13.000Z | 2018-02-14T16:13:13.000Z | /*
* Copyright 2008-2009 NVIDIA 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 a... | 27.736111 | 126 | 0.689034 | maexlich |
e58ed9392c9ae65e6ee5203e04719ebcaf119c45 | 1,044 | cpp | C++ | src/plugins/lmp/nativeplaylist.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 120 | 2015-01-22T14:10:39.000Z | 2021-11-25T12:57:16.000Z | src/plugins/lmp/nativeplaylist.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 8 | 2015-02-07T19:38:19.000Z | 2017-11-30T20:18:28.000Z | src/plugins/lmp/nativeplaylist.cpp | Maledictus/leechcraft | 79ec64824de11780b8e8bdfd5d8a2f3514158b12 | [
"BSL-1.0"
] | 33 | 2015-02-07T16:59:55.000Z | 2021-10-12T00:36:40.000Z | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | 26.769231 | 83 | 0.600575 | Maledictus |
e5927ffb529c65b9f5e55dbb433a58c5c6b78421 | 896 | cpp | C++ | PC_Aula_04/sumofthreevalues/main.cpp | ElizabethYasmin/PC | e3cd03d7f80fae366df1181d5b87514ea8ee597c | [
"MIT"
] | null | null | null | PC_Aula_04/sumofthreevalues/main.cpp | ElizabethYasmin/PC | e3cd03d7f80fae366df1181d5b87514ea8ee597c | [
"MIT"
] | null | null | null | PC_Aula_04/sumofthreevalues/main.cpp | ElizabethYasmin/PC | e3cd03d7f80fae366df1181d5b87514ea8ee597c | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <utility>
#include <algorithm>
#include <map>
#include <iterator>
#include <unordered_map>
using namespace std;
//entrada
//4 8
//2 7 5 1
//salida
//1 3 4
int main(){
ios_base::sync_with_stdio(0); cin.tie(0);
int n,x; cin >> n >> x;
vector<pair<int, int>> arr;
for(in... | 20.837209 | 71 | 0.534598 | ElizabethYasmin |
e5948e8070bfbf1ea11438202b237294b3949a8f | 2,027 | cpp | C++ | skse64/nva_skse_plugin/main.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | 1 | 2020-02-11T12:25:39.000Z | 2020-02-11T12:25:39.000Z | skse64/nva_skse_plugin/main.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | null | null | null | skse64/nva_skse_plugin/main.cpp | michaeljdietz/NpcVoiceActivation | df62efc5e6ed9510e4f9423561071d7119a3a44b | [
"MIT"
] | null | null | null | #include "skse64/PluginAPI.h" // super
#include "skse64_common/skse_version.h" // What version of SKSE is running?
#include <shlobj.h>
#include <time.h>
#include "NpcVoiceActivation.h"
static PluginHandle g_pluginHandle = kPluginHandle_Invalid;
static SKSEPapyrusInterface * g_papyrus = NULL;
v... | 31.184615 | 153 | 0.721756 | michaeljdietz |
e5961fb0ed5969839d1299b5c1204a99916bb110 | 2,874 | cpp | C++ | main.cpp | a-roy/vectype | 5b735949e7795ae7ded008d8e6b408c179a911a9 | [
"MIT"
] | null | null | null | main.cpp | a-roy/vectype | 5b735949e7795ae7ded008d8e6b408c179a911a9 | [
"MIT"
] | null | null | null | main.cpp | a-roy/vectype | 5b735949e7795ae7ded008d8e6b408c179a911a9 | [
"MIT"
] | null | null | null | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_IMAGE_H
#include FT_GLYPH_H
#include <cstddef>
#include <iostream>
#include <vector>
#include <stdexcept>
#include "Preprocess.hpp"
constexpr auto openSans = "../fonts/Open_Sans/OpenSans-Regular.ttf";
constexpr a... | 23.752066 | 85 | 0.635003 | a-roy |
e5972d73b9f84337197231658d1be4fd71d2a214 | 2,680 | hpp | C++ | src/Points.hpp | sweetpony/hplotlib | 574f3bab8e86b3b91b477e81acdbc101e7a48aaf | [
"MIT"
] | null | null | null | src/Points.hpp | sweetpony/hplotlib | 574f3bab8e86b3b91b477e81acdbc101e7a48aaf | [
"MIT"
] | 31 | 2015-01-04T15:52:46.000Z | 2015-03-02T20:37:52.000Z | src/Points.hpp | sweetpony/hplotlib | 574f3bab8e86b3b91b477e81acdbc101e7a48aaf | [
"MIT"
] | null | null | null | #ifndef POINTS_H
#define POINTS_H
#include <map>
#include <vector>
#include "Drawable.hpp"
namespace hpl
{
struct SimplePoints {
SimplePoints(int n, double const* x, double const* y, bool ownsX, bool ownsY) : _n(n), _x(x), _y(y), _ownsX(ownsX), _ownsY(ownsY) {}
virtual ~SimplePoints() {
if (_ownsX) {... | 21.788618 | 136 | 0.589552 | sweetpony |
e5ae270e563e31731d79d73e716eca4327ecafb6 | 2,611 | cpp | C++ | external/wapopp/src/wapopp.cpp | ZabalaMariano/PISA | 344063799847e89f2f4bd7d75d606ccb95620d30 | [
"Apache-2.0"
] | null | null | null | external/wapopp/src/wapopp.cpp | ZabalaMariano/PISA | 344063799847e89f2f4bd7d75d606ccb95620d30 | [
"Apache-2.0"
] | 1 | 2019-05-05T20:53:08.000Z | 2019-05-05T20:53:08.000Z | src/wapopp.cpp | pisa-engine/wapopp | 25ff64e373bfaf51b24191cc7181b7db56119654 | [
"Apache-2.0"
] | 1 | 2021-02-27T11:46:50.000Z | 2021-02-27T11:46:50.000Z | #include <wapopp/detail.hpp>
#include <iostream>
using namespace wapopp;
template <class C, class Fn>
void append_content(nlohmann::json const &node, std::vector<Content> &contents, Fn read_content)
{
auto content = read_content(node);
if (detail::holds<C>(content)) {
contents.push_back(detail::take<C... | 45.017241 | 98 | 0.540406 | ZabalaMariano |
e5ae2cb4820257ef537ec1a808c3216f172f7912 | 2,699 | cpp | C++ | isaac_variant_caller/src/lib/blt_util/vcf_record.cpp | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 21 | 2015-01-09T01:11:28.000Z | 2019-09-04T03:48:21.000Z | isaac_variant_caller/src/lib/blt_util/vcf_record.cpp | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 4 | 2015-07-23T09:38:39.000Z | 2018-02-01T05:37:26.000Z | isaac_variant_caller/src/lib/blt_util/vcf_record.cpp | sequencing/isaac_variant_caller | ed24e20b097ee04629f61014d3b81a6ea902c66b | [
"BSL-1.0"
] | 13 | 2015-01-29T16:41:26.000Z | 2021-06-25T02:42:32.000Z | // -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2009-2013 Illumina, Inc.
//
// This software is provided under the terms and conditions of the
// Illumina Open Source Software License 1.
//
// You should have received a copy of the Illumina Open Source
// Software License 1 along with this program. If ... | 21.766129 | 69 | 0.447203 | sequencing |
e5bd49436f9eeb15db70929ebd045e02532880b6 | 5,437 | cpp | C++ | src/opencv_bridge/shape_finder.cpp | cognitive-machines/garooda-core | 509f54ad0db7916f963418e5c5af302dbacf1147 | [
"MIT"
] | null | null | null | src/opencv_bridge/shape_finder.cpp | cognitive-machines/garooda-core | 509f54ad0db7916f963418e5c5af302dbacf1147 | [
"MIT"
] | null | null | null | src/opencv_bridge/shape_finder.cpp | cognitive-machines/garooda-core | 509f54ad0db7916f963418e5c5af302dbacf1147 | [
"MIT"
] | 1 | 2018-04-11T15:20:14.000Z | 2018-04-11T15:20:14.000Z | /*
MIT License
Copyright (c) 2018 Cognitive Machines
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, publ... | 30.544944 | 83 | 0.611734 | cognitive-machines |
e5c772b4f528699b418485df6a9f46d0dd0e823d | 1,540 | cpp | C++ | android-31/android/nfc/tech/NfcF.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/nfc/tech/NfcF.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/nfc/tech/NfcF.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../../JByteArray.hpp"
#include "../Tag.hpp"
#include "./NfcF.hpp"
namespace android::nfc::tech
{
// Fields
// QJniObject forward
NfcF::NfcF(QJniObject obj) : JObject(obj) {}
// Constructors
// Methods
android::nfc::tech::NfcF NfcF::get(android::nfc::Tag arg0)
{
return callStaticObjectMethod... | 15.714286 | 59 | 0.612987 | YJBeetle |
e5c9d0d7f99be8a66a9bb4acbad6911cc0607c83 | 14,369 | cc | C++ | src/coord/http/http_router.cc | lujingwei002/coord | cb5e5723293d8529663ca89e0c1d6b8c348fffff | [
"MIT"
] | null | null | null | src/coord/http/http_router.cc | lujingwei002/coord | cb5e5723293d8529663ca89e0c1d6b8c348fffff | [
"MIT"
] | null | null | null | src/coord/http/http_router.cc | lujingwei002/coord | cb5e5723293d8529663ca89e0c1d6b8c348fffff | [
"MIT"
] | null | null | null | #include "coord/http/http_router.h"
#include "coord/http/http_server.h"
#include "coord/http/http_request.h"
#include "coord/http/http_response.h"
#include "coord/component/script_component.h"
#include "coord/coord.h"
#include "util/os/path.h"
#include "util/date/date.h"
namespace coord {
namespace http {
CC_IMPLEMEN... | 33.57243 | 159 | 0.540747 | lujingwei002 |
e5ca5dbf8e25ffc1053c221303b79c3636c7313f | 7,970 | cpp | C++ | data/160.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/160.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | data/160.cpp | TianyiChen/rdcpp-data | 75c6868c876511e3ce143fdc3c08ddd74c7aa4ea | [
"MIT"
] | null | null | null | int bx,ch, BX2,
/*l*///dW
uxB90 ,/*N*/Sw//2zMl
,//uT
qsaYA5, Hf ,/*F*/vH ,GhVn
,o4XZE
, KFn
//F
,/*S7o*/rar,Kr , zO,
Vnv
,
o0RIc/**/
, DCGX ,
fK ,
K, fFq, Z0w
,
de, Eagnj ,du
,q1, Cv ,xzUt ,ls ,
l64h
,nYEv , ia7
, KF
, r ,V ,
b, RDcV ,
nU8; void f_f0 ()
{ int
Qco; volatile int f2w , YS4,vfv... | 10.584329 | 61 | 0.451945 | TianyiChen |
e5d0dded93d29a397065b6a49c30a50f7ae2bd26 | 3,488 | cpp | C++ | Basic4GL/Basic4GLSyntaxHighlighter.cpp | basic4gl-guy/basic4gl | 5d4da444d36cdd5e020062adb02373e3efb21303 | [
"BSD-3-Clause"
] | 1 | 2020-01-14T11:25:00.000Z | 2020-01-14T11:25:00.000Z | Basic4GL/Basic4GLSyntaxHighlighter.cpp | basic4gl-guy/basic4gl | 5d4da444d36cdd5e020062adb02373e3efb21303 | [
"BSD-3-Clause"
] | null | null | null | Basic4GL/Basic4GLSyntaxHighlighter.cpp | basic4gl-guy/basic4gl | 5d4da444d36cdd5e020062adb02373e3efb21303 | [
"BSD-3-Clause"
] | null | null | null | #include "Basic4GLSyntaxHighlighter.h"
#include "basic4glMisc.h"
Basic4GLSyntaxHighlighter::Basic4GLSyntaxHighlighter(QTextDocument* parent, TomBasicCompiler& compiler)
: QSyntaxHighlighter(parent), compiler(compiler)
{
// Setup formats
defaultFormat.setForeground(QBrush(0x000080));
keywordFormat.setForeground(Q... | 24.055172 | 104 | 0.590023 | basic4gl-guy |
e5d2656845eaec6f883ac4f3e23c2e8b787d79ad | 817 | cpp | C++ | .LHP/.Lop12/.HSG/.A.Thuc/TPHCM - 09-11-2020/A. Find the Vertex/main.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop12/.HSG/.A.Thuc/TPHCM - 09-11-2020/A. Find the Vertex/main.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .LHP/.Lop12/.HSG/.A.Thuc/TPHCM - 09-11-2020/A. Find the Vertex/main.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#define maxN 500001
typedef long maxn;
maxn m, n;
int d[maxN];
std::vector <maxn> ad[maxN];
void Prepare() {
std::cin >> n >> m;
for(maxn i = 0; i < n; i++) std::cin >> d[i];
for(maxn i = 0; i < m; i++) {
maxn u, v; s... | 17.020833 | 49 | 0.457772 | sxweetlollipop2912 |
e5d2ba6fef35a74eb25cef8968b3b95ff8736d35 | 9,743 | cpp | C++ | src/core/WidgetContainer.cpp | Knobin/ptk | 1ea55b638d7240679eced0e165ab78a8f5d2278b | [
"MIT"
] | null | null | null | src/core/WidgetContainer.cpp | Knobin/ptk | 1ea55b638d7240679eced0e165ab78a8f5d2278b | [
"MIT"
] | null | null | null | src/core/WidgetContainer.cpp | Knobin/ptk | 1ea55b638d7240679eced0e165ab78a8f5d2278b | [
"MIT"
] | null | null | null | //
// core/WidgetContainer.cpp
// pTK
//
// Created by Robin Gustafsson on 2019-11-18.
//
// pTK Headers
#include "ptk/core/WidgetContainer.hpp"
namespace pTK
{
WidgetContainer::WidgetContainer()
: IterableSequence<Ref<Widget>>(), Widget()
{
setSizePolicy(SizePolicy::Type::Expanding);
... | 31.327974 | 122 | 0.552089 | Knobin |
e5ddb7c8304e14f6a1444e747cc44b9e3245a2f9 | 14,503 | cpp | C++ | source code/dvcc/v1.4.2.2/toolpannel/romcheck.cpp | HarleyEhrich/DvccSimulationEnvironment | fdb082eb52c18a95015fc12058824345875cf038 | [
"Apache-2.0"
] | null | null | null | source code/dvcc/v1.4.2.2/toolpannel/romcheck.cpp | HarleyEhrich/DvccSimulationEnvironment | fdb082eb52c18a95015fc12058824345875cf038 | [
"Apache-2.0"
] | null | null | null | source code/dvcc/v1.4.2.2/toolpannel/romcheck.cpp | HarleyEhrich/DvccSimulationEnvironment | fdb082eb52c18a95015fc12058824345875cf038 | [
"Apache-2.0"
] | null | null | null | #include "romcheck.h"
#include "ui_romcheck.h"
ROMCheck::ROMCheck(QWidget *parent,systemDataSet* data) :
QWidget(parent),
ui(new Ui::ROMCheck)
{
ui->setupUi(this);
this->setFont(QFontDatabase::systemFont(QFontDatabase::FixedFont));
//绑定主窗口数据集
this->data=data;
this->matchPattrn=new QRegul... | 27.415879 | 172 | 0.558022 | HarleyEhrich |
e5eb15e032f439684881419a7791b92d2a8730c4 | 3,356 | cpp | C++ | cpp_config_test/main.cpp | lyrahgames/cpp-config-test | 0a69a6298e576496fe52296b5678f804035b163f | [
"MIT"
] | null | null | null | cpp_config_test/main.cpp | lyrahgames/cpp-config-test | 0a69a6298e576496fe52296b5678f804035b163f | [
"MIT"
] | null | null | null | cpp_config_test/main.cpp | lyrahgames/cpp-config-test | 0a69a6298e576496fe52296b5678f804035b163f | [
"MIT"
] | null | null | null | #include <iomanip>
#include <iostream>
using namespace std;
#define CAPTURE(X) \
cout << right << setw(5) << ' ' << left << setw(30) << #X << right << " = " \
<< setw(15) << (X) << '\n'
#define CAPTURE_UNDEF(X) ... | 20.716049 | 79 | 0.698749 | lyrahgames |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.