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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d68d73c809ad2fafa4e1f6c4f0f4ca87255754dd | 11,173 | cpp | C++ | RFlib/src/RandomizedTree.cpp | scanavan/GestureRecognition | f0761978b8f1a85544151adb1f1e30f3a9070984 | [
"MIT"
] | 2 | 2016-11-06T15:11:23.000Z | 2017-03-09T01:00:01.000Z | RFlib/src/RandomizedTree.cpp | SRI2016/GestureRecognition | f0761978b8f1a85544151adb1f1e30f3a9070984 | [
"MIT"
] | null | null | null | RFlib/src/RandomizedTree.cpp | SRI2016/GestureRecognition | f0761978b8f1a85544151adb1f1e30f3a9070984 | [
"MIT"
] | 3 | 2016-10-26T00:41:15.000Z | 2019-05-13T13:30:16.000Z | /**
* @file $URL: svn+ssh://svn_athena/home/svnrepositories/BuildingModeling/branches/Olivier/ML/src/RandomizedTree.cpp $
* @author $Author: teboul $
* @date $Date: 2009-10-16 19:24:19 +0200 (ven., 16 oct. 2009) $
* @brief
*/
#include <string>
#include <fstream>
#include "../inc/Histogram.h"
#include ".... | 23.976395 | 133 | 0.600376 | scanavan |
d6911da8163b4de49fb706010ffb8cc9b120b159 | 5,960 | cpp | C++ | imapp_platform_glfw.cpp | remyroez/imgui_app | 2e715a3b4a5f2f351b27cc9af02d405d2b483e02 | [
"MIT"
] | 5 | 2021-04-07T17:33:35.000Z | 2022-03-20T21:18:42.000Z | imapp_platform_glfw.cpp | remyroez/imgui_app | 2e715a3b4a5f2f351b27cc9af02d405d2b483e02 | [
"MIT"
] | null | null | null | imapp_platform_glfw.cpp | remyroez/imgui_app | 2e715a3b4a5f2f351b27cc9af02d405d2b483e02 | [
"MIT"
] | null | null | null | // imapp: standalone application starter kit
// (GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan/Metal graphics context creation, etc.)
#include "imapp.h"
#include "imapp_internal.h"
#include "imgui.h"
#include "imgui_impl_glfw.h"
#if defined(IMAPP_RENDERER_OPENGL)
#inclu... | 26.968326 | 149 | 0.713423 | remyroez |
d692135582f44fee33dd8fb3ea7e545fd3e5cd9f | 3,466 | cpp | C++ | src/main.cpp | segmentation-chaos/dynamical-systems | 046f239b1be7753dfbe8f3f556030151a528fc0c | [
"BSD-3-Clause"
] | 3 | 2019-09-25T22:20:32.000Z | 2019-09-26T14:43:40.000Z | src/main.cpp | segmentation-chaos/dynamical-systems | 046f239b1be7753dfbe8f3f556030151a528fc0c | [
"BSD-3-Clause"
] | null | null | null | src/main.cpp | segmentation-chaos/dynamical-systems | 046f239b1be7753dfbe8f3f556030151a528fc0c | [
"BSD-3-Clause"
] | 1 | 2021-07-21T23:25:45.000Z | 2021-07-21T23:25:45.000Z | /* */
/* CLICK SPACE */
/* */
/* An educational application for dy- */
/* namical systems and C++ programmi- */
/* ng. Two applications available: */
/* */
/* 2D maps: ... | 36.484211 | 63 | 0.430756 | segmentation-chaos |
d69294da0ec393ccf1749eeb019afcc098d45244 | 32,472 | cpp | C++ | client/Classes/View/Layers/NetworkQueueLayer/NetworkQueueLayer.cpp | plankes-projects/BaseWar | 693f7d02fa324b917b28be58d33bb77a18d77f26 | [
"Apache-2.0"
] | 60 | 2015-01-03T07:31:14.000Z | 2021-12-17T02:39:17.000Z | client/Classes/View/Layers/NetworkQueueLayer/NetworkQueueLayer.cpp | plankes-projects/BaseWar | 693f7d02fa324b917b28be58d33bb77a18d77f26 | [
"Apache-2.0"
] | 1 | 2018-08-17T09:59:30.000Z | 2018-08-17T09:59:30.000Z | client/Classes/View/Layers/NetworkQueueLayer/NetworkQueueLayer.cpp | plankes-projects/BaseWar | 693f7d02fa324b917b28be58d33bb77a18d77f26 | [
"Apache-2.0"
] | 27 | 2015-01-22T06:55:10.000Z | 2021-12-17T02:39:23.000Z | #include "NetworkQueueLayer.h"
#include "../../../Model/Model.h"
#include "../../../SceneControl.h"
#include "../../../Network/ServerCommunication.h"
#include "../../../Network/NetworkSingleton.h"
#include "../../../Tools/Tools.h"
#include "../../../Tools/BW_Time.h"
#include "../../../Model/GameMode.h"
#include "../..... | 34.655283 | 155 | 0.743133 | plankes-projects |
d69336dcb3392e35b0fbca4410068700b664138c | 2,497 | cpp | C++ | cpp/graphs/shortestpaths/dijkstra_custom_heap.cpp | ayushbhatt2000/codelibrary | e1209b5e6195717d20127e12e908839c595c2f4c | [
"Unlicense"
] | 1,727 | 2015-01-01T18:32:37.000Z | 2022-03-28T05:56:03.000Z | cpp/graphs/shortestpaths/dijkstra_custom_heap.cpp | ayushbhatt2000/codelibrary | e1209b5e6195717d20127e12e908839c595c2f4c | [
"Unlicense"
] | 110 | 2015-05-03T10:23:18.000Z | 2021-07-31T22:44:39.000Z | cpp/graphs/shortestpaths/dijkstra_custom_heap.cpp | ayushbhatt2000/codelibrary | e1209b5e6195717d20127e12e908839c595c2f4c | [
"Unlicense"
] | 570 | 2015-01-01T10:17:11.000Z | 2022-03-31T22:23:46.000Z | #include <bits/stdc++.h>
using namespace std;
const int maxnodes = 200'000;
const int maxedges = 1000'000;
// graph
int edges;
int last[maxnodes], head[maxedges], previous[maxedges], len[maxedges];
int prio[maxnodes], pred[maxnodes];
void reset_graph() {
fill(last, last + maxnodes, -1);
edges = 0;
}
void a... | 20.300813 | 70 | 0.486984 | ayushbhatt2000 |
d696e6279fd0a3a19099601c5578deb8b8c697cb | 8,111 | cpp | C++ | src/FFMPEG.cpp | dubhater/D2VWitch | b379384bb6aa7ee475ff7421b0ce5fee9e85d8b6 | [
"ISC"
] | 35 | 2016-01-15T08:00:10.000Z | 2021-12-22T19:49:49.000Z | src/FFMPEG.cpp | dubhater/D2VWitch | b379384bb6aa7ee475ff7421b0ce5fee9e85d8b6 | [
"ISC"
] | 11 | 2016-03-07T00:04:26.000Z | 2022-02-09T18:32:54.000Z | src/FFMPEG.cpp | dubhater/D2VWitch | b379384bb6aa7ee475ff7421b0ce5fee9e85d8b6 | [
"ISC"
] | 5 | 2016-01-18T12:50:13.000Z | 2021-05-01T09:12:02.000Z | /*
Copyright (c) 2016, John Smith
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 ALL
WARRANTIES ... | 27.218121 | 123 | 0.613858 | dubhater |
d6988bac367ba60933ba1c7715d28c5e0b71c082 | 20,315 | cc | C++ | dcmtract/libsrc/trctrackset.cc | palmerc/dcmtk | 716832be091d138f3e119c47a4e1e243f5b261d3 | [
"Apache-2.0"
] | 4 | 2017-03-03T13:52:51.000Z | 2022-01-04T12:10:15.000Z | dcmtract/libsrc/trctrackset.cc | palmerc/dcmtk | 716832be091d138f3e119c47a4e1e243f5b261d3 | [
"Apache-2.0"
] | null | null | null | dcmtract/libsrc/trctrackset.cc | palmerc/dcmtk | 716832be091d138f3e119c47a4e1e243f5b261d3 | [
"Apache-2.0"
] | 5 | 2017-03-06T01:32:13.000Z | 2020-05-12T23:53:29.000Z | /*
*
* Copyright (C) 2016, Open Connections GmbH
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation are maintained by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmtract
*
* Author: M... | 30.007386 | 197 | 0.673837 | palmerc |
d69bd4e87451980d1397581d4bd8a84cb9ad90ae | 5,915 | cpp | C++ | src/bazel/bazel.cpp | cppan/cppan | b4bbdf5e56f9d237f2820301152b7024ca10907b | [
"Apache-2.0"
] | 117 | 2016-03-14T08:26:32.000Z | 2021-12-09T10:17:34.000Z | src/bazel/bazel.cpp | fuyanbin/cppan | 77e0f8d6f3e372cd191e9b3af1704403f824c0de | [
"Apache-2.0"
] | 55 | 2016-06-30T10:01:27.000Z | 2019-08-10T19:18:37.000Z | src/bazel/bazel.cpp | fuyanbin/cppan | 77e0f8d6f3e372cd191e9b3af1704403f824c0de | [
"Apache-2.0"
] | 25 | 2017-04-21T06:38:17.000Z | 2022-02-02T05:02:25.000Z | /*
* Copyright (C) 2016-2017, Egor Pugin
*
* 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 agree... | 26.524664 | 118 | 0.503804 | cppan |
d6a70cf1677b668a8b9b1d6a1a8f5fe6c2711a1f | 1,757 | hpp | C++ | Yannq/Serializers/SerializeRBM.hpp | cecri/yannq | b78c1f86a255059f06b34dd5e538449e7261d0ee | [
"BSD-3-Clause"
] | null | null | null | Yannq/Serializers/SerializeRBM.hpp | cecri/yannq | b78c1f86a255059f06b34dd5e538449e7261d0ee | [
"BSD-3-Clause"
] | null | null | null | Yannq/Serializers/SerializeRBM.hpp | cecri/yannq | b78c1f86a255059f06b34dd5e538449e7261d0ee | [
"BSD-3-Clause"
] | null | null | null | #ifndef YANNQ_SEREALIZAERS_SERIALIZERBM_HPP
#define YANNQ_SEREALIZAERS_SERIALIZERBM_HPP
#include <cereal/access.hpp>
#include <cereal/types/memory.hpp>
#include "Machines/RBM.hpp"
CEREAL_CLASS_VERSION(yannq::RBM<float>, 1);
CEREAL_CLASS_VERSION(yannq::RBM<std::complex<float>>, 1);
CEREAL_CLASS_VERSION(yannq::RBM<d... | 20.430233 | 119 | 0.684121 | cecri |
d6ab23a4c48bc2f8cadc95a726f4aff1166dfa3d | 2,164 | hpp | C++ | libs/python/include/python/math/py_tensor.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 3 | 2019-07-11T08:49:27.000Z | 2021-09-07T16:49:15.000Z | libs/python/include/python/math/py_tensor.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | libs/python/include/python/math/py_tensor.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 2 | 2019-07-13T12:45:22.000Z | 2021-03-12T08:48:57.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | 40.830189 | 98 | 0.581793 | devjsc |
d6ad493472925a996ded91157d873f53c5300317 | 4,335 | cpp | C++ | Coconuts/src/editor/standalone/panels/SceneOverview.cpp | filhoDaMain/Coconuts | 007cfdea11e2bc7bbb8ffa38747629b111b4e196 | [
"Apache-2.0"
] | 3 | 2020-05-02T15:18:19.000Z | 2022-01-26T06:18:18.000Z | Coconuts/src/editor/standalone/panels/SceneOverview.cpp | filhoDaMain/Coconuts | 007cfdea11e2bc7bbb8ffa38747629b111b4e196 | [
"Apache-2.0"
] | 4 | 2021-07-19T21:55:59.000Z | 2021-10-04T20:19:17.000Z | Coconuts/src/editor/standalone/panels/SceneOverview.cpp | filhoDaMain/Coconuts | 007cfdea11e2bc7bbb8ffa38747629b111b4e196 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Andre Temprilho
*
* 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... | 29.691781 | 102 | 0.551788 | filhoDaMain |
d6b08477bf23e331ade748dcf013b997dff9fe83 | 1,751 | cpp | C++ | Source/ToolExampleEditor/CustomDataType/ReimportExampleDataFactory.cpp | ScottKirvan/ToolExample | 71f90211b70bdebbf7e171f127b9b6d103735889 | [
"MIT"
] | 3 | 2021-03-10T21:00:13.000Z | 2021-12-11T12:33:17.000Z | Source/ToolExampleEditor/CustomDataType/ReimportExampleDataFactory.cpp | ScottKirvan/ToolExample | 71f90211b70bdebbf7e171f127b9b6d103735889 | [
"MIT"
] | 1 | 2021-02-08T02:34:07.000Z | 2021-02-08T02:44:58.000Z | Source/ToolExampleEditor/CustomDataType/ReimportExampleDataFactory.cpp | ScottKirvan/ToolExample | 71f90211b70bdebbf7e171f127b9b6d103735889 | [
"MIT"
] | 3 | 2021-03-11T10:13:30.000Z | 2021-08-18T13:30:57.000Z | #include "ReimportExampleDataFactory.h"
#include "ToolExampleEditor/ToolExampleEditor.h"
#include "ExampleDataFactory.h"
#include "ToolExample/CustomDataType/ExampleData.h"
bool UReimportExampleDataFactory::CanReimport(UObject* Obj, TArray<FString>& OutFilenames)
{
UExampleData* ExampleData = Cast<UExampleData>(Obj);... | 31.267857 | 124 | 0.780126 | ScottKirvan |
d6b8056d8c7995f7ae69b3cd1d986d6217a82df1 | 2,711 | hpp | C++ | modules/filter/include/filter/parallel.hpp | aversiveplusplus/aversiveplusplus | 5f5fe9faca50197fd6207e2c816efa7e9af6c804 | [
"BSD-3-Clause"
] | 29 | 2016-01-27T09:43:44.000Z | 2020-03-12T04:16:02.000Z | modules/filter/include/filter/parallel.hpp | aversiveplusplus/aversiveplusplus | 5f5fe9faca50197fd6207e2c816efa7e9af6c804 | [
"BSD-3-Clause"
] | 20 | 2016-01-22T15:59:33.000Z | 2016-10-28T10:22:45.000Z | modules/filter/include/filter/parallel.hpp | aversiveplusplus/aversiveplusplus | 5f5fe9faca50197fd6207e2c816efa7e9af6c804 | [
"BSD-3-Clause"
] | 6 | 2016-02-11T14:09:04.000Z | 2018-03-17T00:18:35.000Z | /*
Copyright (c) 2015, Xenomorphales
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | 35.671053 | 110 | 0.766138 | aversiveplusplus |
d6b86363a81241a571f4c5376de9bf63ad60c01b | 3,893 | cpp | C++ | src/Graphics/Window.cpp | jkbz64/Zadymka | 16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7 | [
"MIT"
] | 2 | 2020-03-18T16:13:04.000Z | 2021-07-30T12:18:52.000Z | src/Graphics/Window.cpp | jkbz64/Zadymka | 16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7 | [
"MIT"
] | null | null | null | src/Graphics/Window.cpp | jkbz64/Zadymka | 16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7 | [
"MIT"
] | null | null | null | #include <Graphics/Window.hpp>
#include <Graphics/Shader.hpp>
#include <Graphics/Drawable.hpp>
#include <Input.hpp>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <Graphics/DefaultRenderer.hpp>
#include <ImGui.hpp>
namespace
{
template <typename T>
constexpr float normalize(T value)
{
return... | 25.279221 | 102 | 0.660416 | jkbz64 |
d6bbe5228a57754b9883e9a03e40c79b7ab2b10e | 3,640 | cpp | C++ | _Deprecated/Db_2021/EntryPoint/EntryPoint.cpp | DexterDreeeam/DxtSdk2021 | 2dd8807b4ebe1d65221095191eaa7938bc5e9e78 | [
"MIT"
] | 1 | 2021-11-18T03:57:54.000Z | 2021-11-18T03:57:54.000Z | _Deprecated/Db_2021/EntryPoint/EntryPoint.cpp | DexterDreeeam/P9 | 2dd8807b4ebe1d65221095191eaa7938bc5e9e78 | [
"MIT"
] | null | null | null | _Deprecated/Db_2021/EntryPoint/EntryPoint.cpp | DexterDreeeam/P9 | 2dd8807b4ebe1d65221095191eaa7938bc5e9e78 | [
"MIT"
] | null | null | null | #include "../DbCore/Interface.hpp"
const s64 port = 39901;
const char* ip;
struct client_context
{
network_connect connect;
ref<P9::Platform::platform> platform;
};
static void client_handler(void* p)
{
client_context* p_context = (client_context*)p;
network_connect connect = p_context->connect;
... | 25.277778 | 96 | 0.560989 | DexterDreeeam |
d6bda410f7f9f02b5a01512c65e6da0b164d22a5 | 968 | cpp | C++ | Tutorial2/12.Menghitung_Kalimat.cpp | azminawwar/tutorial_cpp | 0ec79e9c7f5f77bab38bc23dfc9e81a70897faa8 | [
"MIT"
] | 12 | 2020-03-06T04:18:13.000Z | 2021-11-02T01:28:21.000Z | Tutorial2/12.Menghitung_Kalimat.cpp | azminawwar/tutorial_cpp | 0ec79e9c7f5f77bab38bc23dfc9e81a70897faa8 | [
"MIT"
] | 1 | 2020-10-02T10:02:37.000Z | 2020-10-02T10:02:37.000Z | Tutorial2/12.Menghitung_Kalimat.cpp | azminawwar/tutorial_cpp | 0ec79e9c7f5f77bab38bc23dfc9e81a70897faa8 | [
"MIT"
] | 9 | 2019-11-02T09:33:47.000Z | 2021-12-16T14:24:49.000Z | #include <iostream>
using namespace std;
//deklarasi fungsi
int itungKalimat(string x);
int itungKata(string x);
int main() {
//membuat variabel dan pointernya
string kalimat;
string *pointer_kalimat = &kalimat;
cout<<"Masukkan Kalimat Anda = ";
//input beserta spasi
getline(cin,kalimat);
//... | 26.162162 | 80 | 0.637397 | azminawwar |
d6c0283daa7ab3e68424f8c9ecd3e391294f8f2d | 1,562 | hpp | C++ | include/RED4ext/Types/generated/game/ui/SideScrollerMiniGameLogicControllerAdvanced.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | 1 | 2021-02-01T23:07:50.000Z | 2021-02-01T23:07:50.000Z | include/RED4ext/Types/generated/game/ui/SideScrollerMiniGameLogicControllerAdvanced.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | include/RED4ext/Types/generated/game/ui/SideScrollerMiniGameLogicControllerAdvanced.hpp | Cyberpunk-Extended-Development-Team/RED4ext.SDK | 2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae | [
"MIT"
] | null | null | null | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/CName.hpp>
#include <RED4ext/DynArray.hpp>
#include <RED4ext/Types/generated/Vector2.hpp>
#include <RED4ext/Types/generated/game/ui/SideScrollerCheat... | 38.097561 | 94 | 0.772087 | Cyberpunk-Extended-Development-Team |
d6c066061dc148d9477d273b723084296c5ca0a9 | 3,135 | cxx | C++ | Victre/generation/createDuct.cxx | DIDSR/VICTRE_PIPELINE | e4108430705ad0e4c8d51fe360f999929dcc9a92 | [
"CC0-1.0"
] | 4 | 2021-06-24T23:57:56.000Z | 2022-03-17T01:23:04.000Z | Victre/generation/createDuct.cxx | DIDSR/VICTRE_PIPELINE | e4108430705ad0e4c8d51fe360f999929dcc9a92 | [
"CC0-1.0"
] | null | null | null | Victre/generation/createDuct.cxx | DIDSR/VICTRE_PIPELINE | e4108430705ad0e4c8d51fe360f999929dcc9a92 | [
"CC0-1.0"
] | 5 | 2021-05-22T18:53:12.000Z | 2022-03-27T20:34:15.000Z | /*
* create_duct.cxx
*
* Created on: Dec 22, 2014
* Author: cgg
*/
#include "createDuct.hxx"
using namespace std;
namespace po = boost::program_options;
/* This function creates a duct tree within a given compartment, inserts it into the segmented
* breast and saves the tree */
void generate_duct(vtkIma... | 24.685039 | 115 | 0.67177 | DIDSR |
d6c1460fa282081f4dc5ec2f5ee957c06181edd9 | 22,926 | cpp | C++ | src/libandroidfw/LoadedArsc.cpp | mnlsm/aapt | 86553bc9bc0edacaf15cc4cbea278e6c641f93be | [
"Apache-2.0"
] | null | null | null | src/libandroidfw/LoadedArsc.cpp | mnlsm/aapt | 86553bc9bc0edacaf15cc4cbea278e6c641f93be | [
"Apache-2.0"
] | null | null | null | src/libandroidfw/LoadedArsc.cpp | mnlsm/aapt | 86553bc9bc0edacaf15cc4cbea278e6c641f93be | [
"Apache-2.0"
] | 1 | 2019-06-22T09:06:34.000Z | 2019-06-22T09:06:34.000Z | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 33.964444 | 100 | 0.62379 | mnlsm |
d6c287728f25639f7599e72c752eba49a3fa691f | 4,455 | cpp | C++ | src/DriveTrain.cpp | shiruz/SampleCode | 2fb3d8701bbb86f6609341a636f05134132b2efd | [
"MIT"
] | null | null | null | src/DriveTrain.cpp | shiruz/SampleCode | 2fb3d8701bbb86f6609341a636f05134132b2efd | [
"MIT"
] | null | null | null | src/DriveTrain.cpp | shiruz/SampleCode | 2fb3d8701bbb86f6609341a636f05134132b2efd | [
"MIT"
] | null | null | null | #include "main.h"
//Veriables for tweaking the drive train.
bool IsBreaking = false;
bool IsForward = true;
//Returns true/false as to wheter the drive wheels have
//reached their position goal set by driveForDistance
bool AtDistanceDriveGoal(int threshold) {
return (abs(FLMotor.get_position() - FLMotor.get_target... | 27 | 159 | 0.683726 | shiruz |
d6c312ae5a2cd1de1511c43c115d350036a0fd58 | 2,019 | cpp | C++ | Amazon/14 - Burning Tree.cpp | thisisbipin/-6Companies30days | 5d4b8a10cb00f395f3f12812de82588d10fb2426 | [
"MIT"
] | null | null | null | Amazon/14 - Burning Tree.cpp | thisisbipin/-6Companies30days | 5d4b8a10cb00f395f3f12812de82588d10fb2426 | [
"MIT"
] | null | null | null | Amazon/14 - Burning Tree.cpp | thisisbipin/-6Companies30days | 5d4b8a10cb00f395f3f12812de82588d10fb2426 | [
"MIT"
] | null | null | null | class Solution {
unordered_map<Node*, Node*> parent;
public:
Node* populate(Node* root, int target) {
queue<Node*> q;
q.push(root);
Node* tar = NULL;
bool check = 0;
while (!q.empty()) {
int size = q.size();
for (int i = 0; i < size; i++)... | 30.590909 | 85 | 0.34522 | thisisbipin |
d6cccc0fe0c90e787c54b72f2308bbb21f75a1ee | 13,313 | cpp | C++ | overlay/HardHook_x86.cpp | bogie/mumble | 48c3a19aba885177e2b7a17f90bf5617104b18fa | [
"BSD-3-Clause"
] | 2 | 2016-03-08T07:57:21.000Z | 2017-12-30T22:01:10.000Z | overlay/HardHook_x86.cpp | bogie/mumble | 48c3a19aba885177e2b7a17f90bf5617104b18fa | [
"BSD-3-Clause"
] | null | null | null | overlay/HardHook_x86.cpp | bogie/mumble | 48c3a19aba885177e2b7a17f90bf5617104b18fa | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright... | 32.710074 | 138 | 0.670247 | bogie |
d6d4069bf1a6d7a131bcb24d305e2772a1fd8a2a | 3,774 | hpp | C++ | libff/algebra/fields/binary/gf192.hpp | FardeenFindora/libff | 9be5f23075f9723840eb2ceb0016d24d69dfea8f | [
"MIT"
] | 115 | 2016-07-21T02:49:47.000Z | 2022-03-29T21:08:23.000Z | libff/algebra/fields/binary/gf192.hpp | FardeenFindora/libff | 9be5f23075f9723840eb2ceb0016d24d69dfea8f | [
"MIT"
] | 78 | 2017-03-08T16:43:56.000Z | 2022-02-01T03:12:35.000Z | libff/algebra/fields/binary/gf192.hpp | FardeenFindora/libff | 9be5f23075f9723840eb2ceb0016d24d69dfea8f | [
"MIT"
] | 72 | 2016-07-22T06:49:42.000Z | 2022-03-29T08:48:28.000Z | /**@file
*****************************************************************************
Declaration of GF(2^192) finite field.
*****************************************************************************
* @author This file is part of libff (see AUTHORS), migrated from libiop
* @copyright MIT license (see LIC... | 33.105263 | 98 | 0.646264 | FardeenFindora |
d6d4b7cc7b461f90d1cd27b769f2522ffc06152f | 5,426 | cpp | C++ | src/open_pulse/pulse_utils.cpp | jakelishman/qiskit-aer | 7512ecede820e0d2bc7ad7b6704bcf06a861ca3a | [
"Apache-2.0"
] | 313 | 2018-12-19T09:19:12.000Z | 2022-03-21T18:15:41.000Z | src/open_pulse/pulse_utils.cpp | jakelishman/qiskit-aer | 7512ecede820e0d2bc7ad7b6704bcf06a861ca3a | [
"Apache-2.0"
] | 933 | 2018-12-21T02:56:49.000Z | 2022-03-30T01:19:54.000Z | src/open_pulse/pulse_utils.cpp | jakelishman/qiskit-aer | 7512ecede820e0d2bc7ad7b6704bcf06a861ca3a | [
"Apache-2.0"
] | 313 | 2018-12-19T14:52:55.000Z | 2022-02-28T20:20:14.000Z | #include "pulse_utils.hpp"
#include "zspmv.hpp"
complex_t internal_expect_psi_csr(const py::array_t<complex_t>& data,
const py::array_t<int>& ind,
const py::array_t<int>& ptr,
const py::array_t<complex_t>& vec) {
... | 31.546512 | 135 | 0.555474 | jakelishman |
d6d804e4cd407177e48858dd881f754f70a19c87 | 7,482 | cpp | C++ | alvr/server/cpp/alvr_server/OvrViveTrackerProxy.cpp | Firepal/ALVR | 834cac75663832638a129a6ba6b2901a7e8dd2ed | [
"MIT"
] | 1,562 | 2020-12-01T15:02:21.000Z | 2022-03-31T13:37:51.000Z | alvr/server/cpp/alvr_server/OvrViveTrackerProxy.cpp | Firepal/ALVR | 834cac75663832638a129a6ba6b2901a7e8dd2ed | [
"MIT"
] | 562 | 2020-12-01T20:10:13.000Z | 2022-03-31T22:57:13.000Z | alvr/server/cpp/alvr_server/OvrViveTrackerProxy.cpp | Firepal/ALVR | 834cac75663832638a129a6ba6b2901a7e8dd2ed | [
"MIT"
] | 184 | 2020-12-01T15:02:24.000Z | 2022-03-31T06:18:18.000Z | #include "OvrViveTrackerProxy.h"
#include "Settings.h"
#include "OvrHMD.h"
#include <cassert>
OvrViveTrackerProxy::OvrViveTrackerProxy(OvrHmd& owner)
: m_unObjectId(vr::k_unTrackedDeviceIndexInvalid),
m_HMDOwner(&owner)
{}
vr::DriverPose_t OvrViveTrackerProxy::GetPose()
{
assert(m_HMDOwner != nullptr);
... | 88.023529 | 242 | 0.794306 | Firepal |
d6e7b4954d0d1c6ed0c89635596a5faa622770b6 | 341 | cpp | C++ | demos/processtofile/main.cpp | artoka/libsshqt | 5c69fbf478a1514380308e72815dbe02f2b290e6 | [
"MIT"
] | 6 | 2015-04-21T07:13:05.000Z | 2022-03-08T01:26:49.000Z | demos/processtofile/main.cpp | artoka/libsshqt | 5c69fbf478a1514380308e72815dbe02f2b290e6 | [
"MIT"
] | null | null | null | demos/processtofile/main.cpp | artoka/libsshqt | 5c69fbf478a1514380308e72815dbe02f2b290e6 | [
"MIT"
] | 4 | 2017-09-26T20:00:13.000Z | 2021-11-10T18:54:02.000Z |
#include <QtCore/QCoreApplication>
#include <QTimer>
#include "processtofile.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
ProcessToFile *processtofile = new ProcessToFile;
QTimer::singleShot(0, processtofile, SLOT(processToFile()));
int ret = a.exec();
delete processtofil... | 21.3125 | 64 | 0.697947 | artoka |
d6ee72390b730292076a2f928e2b6f4074bbbc76 | 39,892 | cpp | C++ | webkit/WebCore/loader/appcache/ApplicationCacheStorage.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/loader/appcache/ApplicationCacheStorage.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/loader/appcache/ApplicationCacheStorage.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | 35.333924 | 202 | 0.678382 | s1rcheese |
d6f1e2628fa53a0efacbe63f0d9860ddb47dc44f | 36,248 | hpp | C++ | lisp/c++/tealang.hpp | Teaonly/tealang | a83e2feeb0331768a6c396930f4fcb10cccd6f85 | [
"MIT"
] | 2 | 2019-09-26T02:43:35.000Z | 2019-10-09T13:25:42.000Z | lisp/c++/tealang.hpp | Teaonly/tealang | a83e2feeb0331768a6c396930f4fcb10cccd6f85 | [
"MIT"
] | null | null | null | lisp/c++/tealang.hpp | Teaonly/tealang | a83e2feeb0331768a6c396930f4fcb10cccd6f85 | [
"MIT"
] | null | null | null | #pragma once
#include <assert.h>
#include <string>
#include <memory>
#include <list>
#include <vector>
#include <map>
#include <iterator>
#include <iostream>
#include <sstream>
namespace tea {
using namespace std;
struct _TeaExtern {};
typedef struct _TeaExtern TeaExtern;
struct TeaEnvironment;
struct TeaObject;
st... | 32.277827 | 119 | 0.478454 | Teaonly |
d6f23e5f9d43143eed1469a6c8f879af2cbd9592 | 3,155 | hpp | C++ | libs/ml/include/ml/state_dict.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 3 | 2019-07-11T08:49:27.000Z | 2021-09-07T16:49:15.000Z | libs/ml/include/ml/state_dict.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | libs/ml/include/ml/state_dict.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 2 | 2019-07-13T12:45:22.000Z | 2021-03-12T08:48:57.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | 27.198276 | 97 | 0.594612 | devjsc |
d6f2ae1a29cefd6c05e7c927067c982a20a0aa0f | 4,028 | cpp | C++ | LoganEngine/old/lPhys2/lpRigidBody/lpBox.cpp | sereslorant/logan_engine | a596b4128d0a58236be00f93064e276e43484017 | [
"MIT"
] | 1 | 2019-12-26T13:22:29.000Z | 2019-12-26T13:22:29.000Z | LoganEngine/old/lPhys2/lpRigidBody/lpBox.cpp | sereslorant/logan_engine | a596b4128d0a58236be00f93064e276e43484017 | [
"MIT"
] | null | null | null | LoganEngine/old/lPhys2/lpRigidBody/lpBox.cpp | sereslorant/logan_engine | a596b4128d0a58236be00f93064e276e43484017 | [
"MIT"
] | null | null | null |
#include "lpBox.h"
void lpBox::CalculateBoxInertiaTensor()
{
InertiaTensor[0][0] = 1.0/12.0 * Mass * (Height*Height + Depth*Depth); InertiaTensor[1][0] = 0.0; InertiaTensor[2][0] = 0.0;
InertiaTensor[0][1] = 0.0; InertiaTensor[1][1] = 1.0/12.0 *... | 27.77931 | 194 | 0.611221 | sereslorant |
d6f385b24d883e60228a8aa546f3808fd794dabf | 9,929 | cpp | C++ | src/TGUI/Signal.cpp | Bayonetta5/tgui | 87d0e9e53895347b04cf15c94be89473548769f3 | [
"Zlib"
] | null | null | null | src/TGUI/Signal.cpp | Bayonetta5/tgui | 87d0e9e53895347b04cf15c94be89473548769f3 | [
"Zlib"
] | null | null | null | src/TGUI/Signal.cpp | Bayonetta5/tgui | 87d0e9e53895347b04cf15c94be89473548769f3 | [
"Zlib"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TGUI - Texus' Graphical User Interface
// Copyright (C) 2012-2017 Bruno Van de Velde (vdv_b@tgui.eu)
//
// This software is provided 'as-is', without any express or implied warranty.
/... | 40.526531 | 184 | 0.434988 | Bayonetta5 |
d6f512daa20b8ce86475f8486b8c413f54b9932a | 784 | cpp | C++ | src/classwork/04_assign/main.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-SageElephant | 6fa25968c9c57263be2700f4c39892d863e5e78f | [
"MIT"
] | null | null | null | src/classwork/04_assign/main.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-SageElephant | 6fa25968c9c57263be2700f4c39892d863e5e78f | [
"MIT"
] | null | null | null | src/classwork/04_assign/main.cpp | acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-SageElephant | 6fa25968c9c57263be2700f4c39892d863e5e78f | [
"MIT"
] | null | null | null | //write includes statements
#include <iostream>
#include "loops.h"
//write using statements for cin and cout
using std::cin; using std::cout;
/*
Use a do while loop to prompt the user for
a number, call the factorial function, and display the number's
factorial. Also, loop continues as long as user wants to.
*/
int ... | 21.777778 | 76 | 0.604592 | acc-cosc-1337-spring-2021 |
d6fae5859b1906929543bf4d4b27827b90a8394e | 6,962 | cpp | C++ | source/JsMaterialX/JsMaterialXCore/JsDocument.cpp | sdunkel/MaterialX | e76a27d01be379929b9adb3cad6d89aa570511ab | [
"BSD-3-Clause"
] | 1 | 2021-11-20T20:56:27.000Z | 2021-11-20T20:56:27.000Z | source/JsMaterialX/JsMaterialXCore/JsDocument.cpp | testpassword/MaterialX | 7c69782196b11fa43c67aee0707801983bb81e6c | [
"BSD-3-Clause"
] | null | null | null | source/JsMaterialX/JsMaterialXCore/JsDocument.cpp | testpassword/MaterialX | 7c69782196b11fa43c67aee0707801983bb81e6c | [
"BSD-3-Clause"
] | null | null | null | //
// TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include "../VectorHelper.h"
#include "../Helpers.h"
#include <MaterialXCore/Document.h>
#include <emscripten/bind.h>
namespace ems = emscripten;
namespace mx = MaterialX;
EMSCRIPTEN... | 62.720721 | 132 | 0.692473 | sdunkel |
d6fcb97a5580e130b76fe3944853ae93cd1b1ceb | 1,314 | cpp | C++ | object_recognition/src/object.cpp | Birkehoj/vis3 | 70e71f1763a8818680bc9eea8d5fc041d4ec8075 | [
"BSD-2-Clause"
] | 2 | 2015-11-11T12:39:26.000Z | 2021-07-04T13:16:30.000Z | object_recognition/src/object.cpp | Birkehoj/vis3 | 70e71f1763a8818680bc9eea8d5fc041d4ec8075 | [
"BSD-2-Clause"
] | null | null | null | object_recognition/src/object.cpp | Birkehoj/vis3 | 70e71f1763a8818680bc9eea8d5fc041d4ec8075 | [
"BSD-2-Clause"
] | 2 | 2017-04-04T13:47:28.000Z | 2019-05-14T14:30:11.000Z | #include "object.h"
#include <pcl/io/obj_io.h>
#include <fstream>
using std::ifstream;
Object::Object(const std::string& object_folder_path, const std::string& file_name)
: Feature_cloud(file_name.substr(0,file_name.find_last_of(".")))
{
CloudT::Ptr xyz(new CloudT);
pcl::io::loadOBJFile<PointT>(object_folder_path... | 29.863636 | 94 | 0.611872 | Birkehoj |
d90096bf47ed042bbdd91a0f413286d866c6394d | 9,033 | cpp | C++ | lite/mach.cpp | richardkchapman/nlp-engine | 393d9f2b6352f6c41c3aa79ed5f7075cd93950c4 | [
"MIT"
] | 3 | 2021-01-08T19:14:43.000Z | 2021-06-08T04:52:22.000Z | lite/mach.cpp | richardkchapman/nlp-engine | 393d9f2b6352f6c41c3aa79ed5f7075cd93950c4 | [
"MIT"
] | 62 | 2020-06-04T02:37:12.000Z | 2022-03-12T12:43:39.000Z | lite/mach.cpp | richardkchapman/nlp-engine | 393d9f2b6352f6c41c3aa79ed5f7075cd93950c4 | [
"MIT"
] | 7 | 2019-07-18T19:58:27.000Z | 2022-02-02T13:21:20.000Z | /*******************************************************************************
Copyright (c) 2001-2010 by Text Analysis International, Inc.
All rights reserved.
********************************************************************************
*
* NAME: MACH.CPP
* FILE: lite\mach.cpp
* CR: 10/29/98 AM.
* SUBJ: Things ... | 24.217158 | 83 | 0.539577 | richardkchapman |
d901c987854d1faa741cf947dd691b10ca83570a | 2,604 | cpp | C++ | Board.cpp | Stav-Nof/-messageboard-b | ef98415c0aca9c8c3472a96a8970be092749990e | [
"MIT"
] | null | null | null | Board.cpp | Stav-Nof/-messageboard-b | ef98415c0aca9c8c3472a96a8970be092749990e | [
"MIT"
] | null | null | null | Board.cpp | Stav-Nof/-messageboard-b | ef98415c0aca9c8c3472a96a8970be092749990e | [
"MIT"
] | null | null | null | #include "Board.hpp"
#include <iostream>
#include <string>
#include <array>
#include <limits.h>
#include <stdexcept>
#include <map>
using namespace std;
namespace ariel{
unsigned int max_colums;
unsigned int min_colums;
unsigned int max_row;
unsigned int min_row;
Board::Board(){
... | 25.782178 | 99 | 0.409754 | Stav-Nof |
d902f59288b89d7e73930197565603c8cce54a72 | 1,243 | cpp | C++ | HANGCAYMAXMIN.cpp | phuongnam2002/testlib | a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa | [
"MIT"
] | 2 | 2022-01-14T13:34:09.000Z | 2022-02-21T07:27:29.000Z | HANGCAYMAXMIN.cpp | phuongnam2002/testlib | a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa | [
"MIT"
] | null | null | null | HANGCAYMAXMIN.cpp | phuongnam2002/testlib | a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
int ssXau (string a, string b)
{
while (1)
{
if (a.length()==b.length()) break;
if (a.length()>b.length()) b='0'+b;
else a='0'+a;
}
for (int i=0; i<a.length(); i++)
{
int soA=a[i]-'0';
int soB=b[i]-'0';
if (soA>soB) return 1;
... | 14.453488 | 85 | 0.43041 | phuongnam2002 |
d90b701176a4b0010470310f7743f9263b20b028 | 5,237 | hpp | C++ | src/xalanc/XSLT/ElemUse.hpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | null | null | null | src/xalanc/XSLT/ElemUse.hpp | kidaa/xalan-c | bb666d0ab3d0a192410823e6857c203d83c27b16 | [
"Apache-2.0"
] | 1 | 2021-08-18T12:32:31.000Z | 2021-08-18T12:32:31.000Z | src/xalanc/XSLT/ElemUse.hpp | AaronNGray/xalan | 6741bbdcb64a9d33df8bd7e21b558d66bb4292ec | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the "License");
* you m... | 31.548193 | 84 | 0.670422 | kidaa |
d90c918ef58420e11cb3ae0ae69ff15b92b81acd | 1,349 | cpp | C++ | Codeforces-Code/Codeforces Round 338 (Div. 2)/D.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | Codeforces-Code/Codeforces Round 338 (Div. 2)/D.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | Codeforces-Code/Codeforces Round 338 (Div. 2)/D.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <vector>
#include <numeric>
#include <iostream>
#include <algorithm>
const double EPS = 1e-7;
const double PI = 3.1415926535897932384626;
const int MAXN = 222222;
const int MOD = 1000000007;
int n, a[MAXN], pred[MAXN], succ[MAXN];
std::vector<std::pair<int, int> > group;
int fpm(int a, lon... | 25.45283 | 85 | 0.509266 | PrayStarJirachi |
d90da9b7701d58a3058b3ff1a8882c291e23b7d9 | 2,174 | cpp | C++ | src/database/overlay/SoXipAngle.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/database/overlay/SoXipAngle.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/database/overlay/SoXipAngle.cpp | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.... | 21.74 | 81 | 0.709292 | OpenXIP |
d90eddb2b04218f80a7fa06500d1ce8d8f0675d4 | 545 | hpp | C++ | ui/include/xaml/ui/qt5/control.hpp | Berrysoft/XamlCpp | cc7da0cf83892ceb88926292b7c90b9f8da6128d | [
"MIT"
] | 27 | 2020-01-02T07:40:57.000Z | 2022-03-09T14:43:56.000Z | ui/include/xaml/ui/qt5/control.hpp | Berrysoft/XamlCpp | cc7da0cf83892ceb88926292b7c90b9f8da6128d | [
"MIT"
] | null | null | null | ui/include/xaml/ui/qt5/control.hpp | Berrysoft/XamlCpp | cc7da0cf83892ceb88926292b7c90b9f8da6128d | [
"MIT"
] | 3 | 2020-05-21T07:02:08.000Z | 2021-07-01T00:56:38.000Z | #ifndef XAML_UI_QT_CONTROL_H
#define XAML_UI_QT_CONTROL_H
#include <QWidget>
#include <memory>
#include <xaml/meta/meta_macros.h>
XAML_CLASS(xaml_qt5_control, { 0x0cafa395, 0x4050, 0x4b84, { 0x8f, 0xeb, 0x02, 0xaa, 0xa1, 0x27, 0x21, 0x7b } })
#define XAML_QT5_CONTROL_VTBL(type) \
XAML_VTBL_INHERIT(XAM... | 27.25 | 112 | 0.752294 | Berrysoft |
d90f3248dd4979fbd4bbc8bfc8a78cad4d6c4c91 | 982 | cpp | C++ | Source/Boids/Systems/Persistent/BoidsDebugDrawSystem.cpp | PsichiX/Unreal-Systems-Architecture | fb2ccb243c8e79b0890736d611db7ba536937a93 | [
"Apache-2.0"
] | 5 | 2022-02-09T21:19:03.000Z | 2022-03-03T01:53:03.000Z | Source/Boids/Systems/Persistent/BoidsDebugDrawSystem.cpp | PsichiX/Unreal-Systems-Architecture | fb2ccb243c8e79b0890736d611db7ba536937a93 | [
"Apache-2.0"
] | null | null | null | Source/Boids/Systems/Persistent/BoidsDebugDrawSystem.cpp | PsichiX/Unreal-Systems-Architecture | fb2ccb243c8e79b0890736d611db7ba536937a93 | [
"Apache-2.0"
] | null | null | null | #include "Boids/Systems/Persistent/BoidsDebugDrawSystem.h"
#include "DrawDebugHelpers.h"
#include "Shared/Components/VelocityComponent.h"
#include "Systems/Public/SystemsWorld.h"
#include "Boids/Components/BoidComponent.h"
#include "Boids/Resources/BoidsSystemsRunCriteria.h"
const float ARROW_LENGTH = 20;
const floa... | 29.757576 | 89 | 0.751527 | PsichiX |
d90f49d66b25b39b21b9533521b95f866bb7a6f0 | 2,570 | hpp | C++ | time.hpp | komasaru/calc_greenwich_time | af45776181c2a457a944cd472e1b5069589aa2d8 | [
"MIT"
] | null | null | null | time.hpp | komasaru/calc_greenwich_time | af45776181c2a457a944cd472e1b5069589aa2d8 | [
"MIT"
] | null | null | null | time.hpp | komasaru/calc_greenwich_time | af45776181c2a457a944cd472e1b5069589aa2d8 | [
"MIT"
] | null | null | null | #ifndef CALC_GREENWICH_TIME_HPP_
#define CALC_GREENWICH_TIME_HPP_
#include "delta_t.hpp"
#include "file.hpp"
#include <cmath>
#include <ctime>
#include <fstream>
#include <iomanip>
#include <sstream>
#include <string>
#include <vector>
namespace calc_greenwich {
struct timespec jst2utc(struct timespec); // JST ->... | 37.246377 | 77 | 0.62607 | komasaru |
d911c6933e9ea1fef855ebe910662962014816ff | 1,314 | hpp | C++ | src/rooms/task.hpp | snailbaron/rooms | 03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa | [
"MIT"
] | null | null | null | src/rooms/task.hpp | snailbaron/rooms | 03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa | [
"MIT"
] | null | null | null | src/rooms/task.hpp | snailbaron/rooms | 03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa | [
"MIT"
] | null | null | null | #pragma once
#include <cmath>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
#include <vector>
enum class TaskState {
Running,
Finished,
};
class TaskPool {
public:
void addTask(std::function<TaskState(float)>&& task)
{
_tasks.push_back(std::move(task));
... | 21.540984 | 81 | 0.554795 | snailbaron |
d9150398e1d9d41dbfd7c16f8ac0d0a9c395dd3c | 7,081 | hpp | C++ | Drivers/BuR/Implementation/libmcdriver_bur_connector.hpp | alexanderoster/AutodeskMachineControlFramework | 17aec986c2cb3c9ea46bbe583bdc0e766e6f980b | [
"BSD-3-Clause"
] | 15 | 2020-11-10T17:22:39.000Z | 2021-12-16T14:45:11.000Z | Drivers/BuR/Implementation/libmcdriver_bur_connector.hpp | alexanderoster/AutodeskMachineControlFramework | 17aec986c2cb3c9ea46bbe583bdc0e766e6f980b | [
"BSD-3-Clause"
] | 5 | 2021-08-30T06:58:52.000Z | 2022-03-09T15:25:49.000Z | Drivers/BuR/Implementation/libmcdriver_bur_connector.hpp | alexanderoster/AutodeskMachineControlFramework | 17aec986c2cb3c9ea46bbe583bdc0e766e6f980b | [
"BSD-3-Clause"
] | 20 | 2020-08-06T15:53:34.000Z | 2022-02-09T13:49:59.000Z | /*++
Copyright (C) 2020 Autodesk Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the ... | 31.471111 | 210 | 0.751306 | alexanderoster |
d917a216ecb2c10ea9b4d9922ee47ac8cdd93c13 | 12,314 | cpp | C++ | CrashRpt/reporting/crashsender/DetailDlg.cpp | codereba/bittrace | 6826559565aaafc9412d20427d21b73e23febcfe | [
"Unlicense"
] | 10 | 2018-11-09T01:08:15.000Z | 2020-06-21T05:39:54.000Z | CrashRpt/reporting/crashsender/DetailDlg.cpp | codereba/bittrace | 6826559565aaafc9412d20427d21b73e23febcfe | [
"Unlicense"
] | null | null | null | CrashRpt/reporting/crashsender/DetailDlg.cpp | codereba/bittrace | 6826559565aaafc9412d20427d21b73e23febcfe | [
"Unlicense"
] | 4 | 2018-11-09T03:29:52.000Z | 2021-07-23T03:30:03.000Z | /*************************************************************************************
This file is a part of CrashRpt library.
Copyright (c) 2003, Michael Carruth
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following c... | 36.868263 | 112 | 0.65592 | codereba |
0bab5e0055eeaa98b65af6f542e804b4d693c9d5 | 651 | cpp | C++ | src/utf8.cpp | dfdchain/fc | fed8efa292e8c6ffccb2153887a73038ae6700d8 | [
"MIT"
] | 66 | 2017-09-29T07:09:59.000Z | 2020-01-12T06:45:08.000Z | src/utf8.cpp | dfdchain/fc | fed8efa292e8c6ffccb2153887a73038ae6700d8 | [
"MIT"
] | 5 | 2017-12-13T13:12:05.000Z | 2018-01-18T10:34:02.000Z | src/utf8.cpp | dfdchain/fc | fed8efa292e8c6ffccb2153887a73038ae6700d8 | [
"MIT"
] | 11 | 2017-12-05T07:02:05.000Z | 2018-01-28T02:52:50.000Z | #include "fc/utf8.hpp"
#include "utf8/checked.h"
#include "utf8/core.h"
#include "utf8/unchecked.h"
#include <assert.h>
namespace fc {
bool is_utf8( const std::string& str )
{
return utf8::is_valid( str.begin(), str.end() );
}
void decodeUtf8(const std::string& input, std::wstring* storage)
{
... | 19.727273 | 78 | 0.635945 | dfdchain |
0bae1863be3083185ef6ca8cb82fb1ba80eff93f | 17,567 | cc | C++ | elements/ip/directiplookup.cc | BorisPis/asplos22-nicmem-fastclick | ab4df08ee056ed48a4c534ec5f8536a958f756b5 | [
"BSD-3-Clause-Clear"
] | 129 | 2015-10-08T14:38:35.000Z | 2022-03-06T14:54:44.000Z | elements/ip/directiplookup.cc | BorisPis/asplos22-nicmem-fastclick | ab4df08ee056ed48a4c534ec5f8536a958f756b5 | [
"BSD-3-Clause-Clear"
] | 241 | 2016-02-17T16:17:58.000Z | 2022-03-15T09:08:33.000Z | elements/ip/directiplookup.cc | BorisPis/asplos22-nicmem-fastclick | ab4df08ee056ed48a4c534ec5f8536a958f756b5 | [
"BSD-3-Clause-Clear"
] | 61 | 2015-12-17T01:46:58.000Z | 2022-02-07T22:25:19.000Z | // -*- c-basic-offset: 4 -*-
/*
* directiplookup.{cc,hh} -- lookup for output port and next-hop gateway
* in one to max. two DRAM accesses with potential CPU cache / TLB misses
* Marko Zec
*
* Copyright (c) 2005 International Computer Science Institute
* Copyright (c) 2005 University of Zagreb
*
* Permission is... | 30.183849 | 132 | 0.65384 | BorisPis |
0bafd0a68d765f2a38a60e3633f40b9a452056f2 | 3,604 | cpp | C++ | Game/Source/Earth.cpp | oscarrep/ApolloMission | 4335dbbf19b1835bdd9c22e57ea71f6b66c08370 | [
"MIT"
] | null | null | null | Game/Source/Earth.cpp | oscarrep/ApolloMission | 4335dbbf19b1835bdd9c22e57ea71f6b66c08370 | [
"MIT"
] | null | null | null | Game/Source/Earth.cpp | oscarrep/ApolloMission | 4335dbbf19b1835bdd9c22e57ea71f6b66c08370 | [
"MIT"
] | null | null | null | #include "Defs.h"
#include "Earth.h"
#include "App.h"
#include "Render.h"
#include "Textures.h"
#include "Scene.h"
#include "Animation.h"
#include "Window.h"
#include "SString.h"
Earth::Earth() : Module()
{
LoadAnim();
}
bool Earth::Awake()
{
return true;
}
bool Earth::Start()
{
earthTex = app->tex->Load("Asset... | 26.696296 | 109 | 0.639567 | oscarrep |
0bbbfc67d67914a3522ef4cf89049db97ac5f82f | 401 | inl | C++ | src/ace/ACE_wrappers/ace/Token_Manager.inl | wfnex/OpenBRAS | b8c2cd836ae85d5307f7f5ca87573b964342bb49 | [
"BSD-3-Clause"
] | 8 | 2017-06-05T08:56:27.000Z | 2020-04-08T16:50:11.000Z | src/ace/ACE_wrappers/ace/Token_Manager.inl | wfnex/OpenBRAS | b8c2cd836ae85d5307f7f5ca87573b964342bb49 | [
"BSD-3-Clause"
] | null | null | null | src/ace/ACE_wrappers/ace/Token_Manager.inl | wfnex/OpenBRAS | b8c2cd836ae85d5307f7f5ca87573b964342bb49 | [
"BSD-3-Clause"
] | 17 | 2017-06-05T08:54:27.000Z | 2021-08-29T14:19:12.000Z | // -*- C++ -*-
#if defined (ACE_HAS_TOKENS_LIBRARY)
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE ACE_TOKEN_CONST::MUTEX &
ACE_Token_Manager::mutex (void)
{
ACE_TRACE ("ACE_Token_Manager::mutex");
return lock_;
}
ACE_INLINE void
ACE_Token_Manager::debug (bool d)
{
ACE_TRACE ("ACE_Token_Manager::debug");
debu... | 17.434783 | 41 | 0.753117 | wfnex |
0bbe34b7b9a7544c1845a05e3975c9d1b5d51525 | 15,308 | cpp | C++ | dp/sg/core/src/Group.cpp | siddharthuniv/nv-propipeline | 1553a1aebdbef6cd5c7557574a7e4bdfcf17e0ef | [
"BSD-3-Clause"
] | null | null | null | dp/sg/core/src/Group.cpp | siddharthuniv/nv-propipeline | 1553a1aebdbef6cd5c7557574a7e4bdfcf17e0ef | [
"BSD-3-Clause"
] | null | null | null | dp/sg/core/src/Group.cpp | siddharthuniv/nv-propipeline | 1553a1aebdbef6cd5c7557574a7e4bdfcf17e0ef | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2002-2016, NVIDIA CORPORATION. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of con... | 35.271889 | 141 | 0.580611 | siddharthuniv |
0bc051eb40fb091fb2efb19ecfc629f49dc6072a | 402 | hpp | C++ | ProxyServer/ServerConnection.hpp | pentaflops/MP.Proxy-server | 95e01f0af9bcda6d3b5973f60529940213e7426c | [
"MIT"
] | null | null | null | ProxyServer/ServerConnection.hpp | pentaflops/MP.Proxy-server | 95e01f0af9bcda6d3b5973f60529940213e7426c | [
"MIT"
] | null | null | null | ProxyServer/ServerConnection.hpp | pentaflops/MP.Proxy-server | 95e01f0af9bcda6d3b5973f60529940213e7426c | [
"MIT"
] | null | null | null | #pragma once
#include "IConnection.hpp"
class ServerConnection : public IConnection
{
public:
ServerConnection(sockaddr_in sock_addr) : IConnection(INVALID_SOCKET, sock_addr, false) {};
~ServerConnection() { closesocket(_socket); }
int Connecting();
int GetData(char *buffer, int size_of_buffer, Event *_Event = ... | 26.8 | 92 | 0.753731 | pentaflops |
0bc184976766e9d7faafab07a0a561918faa1994 | 1,185 | hpp | C++ | src/interfaces/blkInterfaces.hpp | lhb8125/HSF | f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999 | [
"Apache-2.0"
] | null | null | null | src/interfaces/blkInterfaces.hpp | lhb8125/HSF | f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999 | [
"Apache-2.0"
] | null | null | null | src/interfaces/blkInterfaces.hpp | lhb8125/HSF | f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999 | [
"Apache-2.0"
] | null | null | null | /**
* @file: blkInterfaces.hpp
* @author: Liu Hongbin
* @brief: block topology interfaces
* @date: 2019-11-11 10:56:28
* @last Modified by: lhb8125
* @last Modified time: 2020-05-27 10:52:53
*/
#ifndef BLKINTERFACES_HPP
#define BLKINTERFACES_HPP
#include "interface.hpp"
#include "utilities.hpp"
#include "mesh.hpp"... | 20.084746 | 54 | 0.795781 | lhb8125 |
0bc56f7850f9328451792dc7772a87e25c650411 | 43,836 | hpp | C++ | lualite.hpp | user1095108/lualite | 17c2d07f1fa315129cdb32ad000ca305488fac39 | [
"Unlicense"
] | 58 | 2016-09-24T13:08:08.000Z | 2022-02-07T04:17:53.000Z | lualite.hpp | user1095108/lualite | 17c2d07f1fa315129cdb32ad000ca305488fac39 | [
"Unlicense"
] | 2 | 2015-05-27T03:39:53.000Z | 2016-06-15T10:07:32.000Z | lualite.hpp | user1095108/lualite | 17c2d07f1fa315129cdb32ad000ca305488fac39 | [
"Unlicense"
] | 4 | 2016-11-25T04:40:57.000Z | 2019-10-14T21:28:01.000Z | /*
** This is free and unencumbered software released into the public domain.
** Anyone is free to copy, modify, publish, use, compile, sell, or
** distribute this software, either in source code form or as a compiled
** binary, for any purpose, commercial or non-commercial, and by any
** means.
** In jurisdictions t... | 19.952663 | 86 | 0.620358 | user1095108 |
0bc65c610251e169438e76ce0313901a45f79ad6 | 7,030 | hpp | C++ | include/utils/Utils.hpp | DarkWingMcQuack/GridGraphPathFinder | d8f9a237f17516141bf58c8c86d468f3559af5e3 | [
"Apache-2.0"
] | null | null | null | include/utils/Utils.hpp | DarkWingMcQuack/GridGraphPathFinder | d8f9a237f17516141bf58c8c86d468f3559af5e3 | [
"Apache-2.0"
] | null | null | null | include/utils/Utils.hpp | DarkWingMcQuack/GridGraphPathFinder | d8f9a237f17516141bf58c8c86d468f3559af5e3 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <algorithm>
#include <fmt/core.h>
#include <functional>
#include <future>
#include <iomanip>
#include <sstream>
#include <utility>
#include <vector>
namespace utils {
template<class T>
using Ref = std::reference_wrapper<T>;
template<class T>
using CRef = std::reference_wrapper<const T>;
templ... | 28.693878 | 82 | 0.526316 | DarkWingMcQuack |
0bc9d6fffbd6c918a0c680ee105052f90bcdf2bf | 1,941 | hpp | C++ | application/timely-matter/src/views/BaseView.hpp | davidbeermann/timely-matter | fca86fb5b48766c5371677a90ac5149c1b071149 | [
"MIT"
] | 2 | 2016-09-03T17:49:30.000Z | 2016-12-20T18:12:58.000Z | application/timely-matter/src/views/BaseView.hpp | davidbeermann/timely-matter | fca86fb5b48766c5371677a90ac5149c1b071149 | [
"MIT"
] | null | null | null | application/timely-matter/src/views/BaseView.hpp | davidbeermann/timely-matter | fca86fb5b48766c5371677a90ac5149c1b071149 | [
"MIT"
] | null | null | null | #pragma once
#include "ofMain.h"
#include "ofEvents.h"
#include "AppModel.hpp"
#include "KinectModel.hpp"
#include "ProjectorModel.hpp"
#include "ViewEvent.hpp"
namespace timelymatter
{
// Base view class to be extended by concrete views managed by ViewManager class.
// Implementation for NVI Non-Virtual Interf... | 30.809524 | 102 | 0.679547 | davidbeermann |
0bca25337e84c7bd598a52dd189ecc5e486e43f0 | 24 | cpp | C++ | 02-classes-constructors-destructors/2-makefile/Triangle.cpp | nofar88/cpp-5782 | 473c68627fc0908fdef8956caf1e1d2267c9417b | [
"MIT"
] | 14 | 2021-01-30T16:36:18.000Z | 2022-03-30T17:24:44.000Z | 02-classes-constructors-destructors/2-makefile/Triangle.cpp | dimastar2310/cpp-5781 | 615ba07e0841522df74384f380172557f5e305a7 | [
"MIT"
] | 1 | 2022-03-02T20:55:14.000Z | 2022-03-02T20:55:14.000Z | 02-classes-constructors-destructors/2-makefile/Triangle.cpp | dimastar2310/cpp-5781 | 615ba07e0841522df74384f380172557f5e305a7 | [
"MIT"
] | 23 | 2020-03-12T13:21:29.000Z | 2021-02-22T21:29:48.000Z | #include "Triangle.hpp"
| 12 | 23 | 0.75 | nofar88 |
0bcb1bb4438a2047624f8ec1ed46047bd24dc449 | 14,628 | cpp | C++ | tiger_ci/erkale/eri_digest.cpp | EACcodes/TigerCI | ac1311ea5e2b829b5507171afdbdd6c64e12e6fd | [
"BSD-3-Clause"
] | 3 | 2016-12-08T13:57:10.000Z | 2019-01-17T17:05:46.000Z | tiger_ci/erkale/eri_digest.cpp | EACcodes/TigerCI | ac1311ea5e2b829b5507171afdbdd6c64e12e6fd | [
"BSD-3-Clause"
] | null | null | null | tiger_ci/erkale/eri_digest.cpp | EACcodes/TigerCI | ac1311ea5e2b829b5507171afdbdd6c64e12e6fd | [
"BSD-3-Clause"
] | 2 | 2019-02-20T06:03:24.000Z | 2020-06-09T09:00:49.000Z | /*
* This source code is part of
*
* E R K A L E
* -
* DFT from Hel
*
* Written by Susi Lehtola, 2010-2015
* Copyright (c) 2010-2015, Susi Lehtola
*
* This program is free software; you can redistribute it and/or
* modi... | 25.844523 | 135 | 0.588392 | EACcodes |
0bcccb877eee61c1da092529970437fd4bf0d898 | 5,080 | cpp | C++ | sources/source/tierlibs.cpp | vocweb/cso2-launcher | abc144acaa3dfb5b0c9acd61cd75970cac012617 | [
"MIT"
] | 55 | 2018-09-01T17:52:17.000Z | 2019-09-23T10:30:49.000Z | sources/source/tierlibs.cpp | RedheatWei/cso2-launcher | 4cebbb98d51d33bd24c9a86a1d3fc311686d5011 | [
"MIT"
] | 70 | 2018-08-22T05:53:34.000Z | 2019-09-23T15:11:39.000Z | sources/source/tierlibs.cpp | RedheatWei/cso2-launcher | 4cebbb98d51d33bd24c9a86a1d3fc311686d5011 | [
"MIT"
] | 39 | 2018-09-01T21:42:50.000Z | 2019-09-23T18:38:07.000Z | #include "source/tierlibs.hpp"
#include <stdexcept>
#include "platform.hpp"
#include <engine/cdll_int.hpp>
#include <engine/cso2/icso2msgmanager.hpp>
#include <filesystem/filesystem.hpp>
#include <icvar.hpp>
#include <ienginevgui.hpp>
#include <inputsystem/iinputsystem.hpp>
#include <materialsystem/imaterialsystem.h... | 22.280702 | 80 | 0.679528 | vocweb |
0bcd809ea0d4ed685272d2bd6d7080129cc2ea7d | 91,177 | cpp | C++ | src/shell/shell.cpp | mediaexplorer74/dosbox-x | be9f94b740234f7813bf5a063a558cef9dc7f9a6 | [
"MIT"
] | 3 | 2022-02-20T11:06:29.000Z | 2022-03-11T08:16:55.000Z | src/shell/shell.cpp | mediaexplorer74/dosbox-x | be9f94b740234f7813bf5a063a558cef9dc7f9a6 | [
"MIT"
] | null | null | null | src/shell/shell.cpp | mediaexplorer74/dosbox-x | be9f94b740234f7813bf5a063a558cef9dc7f9a6 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2002-2021 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This p... | 49.796286 | 536 | 0.625914 | mediaexplorer74 |
0bd39c5cf06f01ba1df7246af22c7859405ea451 | 45 | cc | C++ | lib/colour/Colour.cc | westrik/millipede | b2049b9333c1888e75fb8688a24be35f5724ac4d | [
"MIT"
] | 1 | 2020-11-12T08:26:55.000Z | 2020-11-12T08:26:55.000Z | lib/colour/Colour.cc | westrik/millipede | b2049b9333c1888e75fb8688a24be35f5724ac4d | [
"MIT"
] | null | null | null | lib/colour/Colour.cc | westrik/millipede | b2049b9333c1888e75fb8688a24be35f5724ac4d | [
"MIT"
] | null | null | null | #include "Colour.h"
namespace Millipede {
} | 9 | 21 | 0.711111 | westrik |
0bdc848c91d9cb7b9c11d16e5b89a35082e46987 | 29,229 | cpp | C++ | TransShiftMex/lpc_formant.cpp | 084/audapter_mex | d01df787e860062fd3360e533f3ecd5104d034a9 | [
"Apache-2.0"
] | 7 | 2015-10-26T19:44:08.000Z | 2021-03-24T02:19:41.000Z | TransShiftMex/lpc_formant.cpp | 084/audapter_mex | d01df787e860062fd3360e533f3ecd5104d034a9 | [
"Apache-2.0"
] | 5 | 2016-07-13T15:23:52.000Z | 2021-07-08T18:13:46.000Z | TransShiftMex/lpc_formant.cpp | 084/audapter_mex | d01df787e860062fd3360e533f3ecd5104d034a9 | [
"Apache-2.0"
] | 13 | 2018-06-26T01:09:16.000Z | 2021-09-03T12:06:20.000Z | /*
lpc_formant.cpp
Linear prediction and formant tracking
Shanqing Cai 12/2013
*/
#include <algorithm>
#include <cmath>
#include <vector>
#include "mex.h"
#include "lpc_formant.h"
#include "DSPF.h"
/* Utility inline functions */
inline dtype mul_sign(const dtype &a, const dtype &b) {
return (b >= 0.0 ? fabs... | 28.543945 | 175 | 0.533203 | 084 |
0bdcba48167abd60cf2d47c88ae6aa54b2fb565c | 22,443 | hpp | C++ | lib/mtl4/boost/numeric/mtl/interface/umfpack_solve.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | 2 | 2018-07-04T16:44:04.000Z | 2021-01-03T07:26:27.000Z | lib/mtl4/boost/numeric/mtl/interface/umfpack_solve.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | lib/mtl4/boost/numeric/mtl/interface/umfpack_solve.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | // Software License for MTL
//
// Copyright (c) 2007 The Trustees of Indiana University.
// 2008 Dresden University of Technology and the Trustees of Indiana University.
// 2010 SimuNova UG (haftungsbeschränkt), www.simunova.com.
// All rights reserved.
// Authors: Peter Gottschling and Andr... | 39.512324 | 142 | 0.648666 | spraetor |
0bdd832726dc6ddca7ecb83a5d60cac34c516680 | 1,161 | cpp | C++ | misc/test/mmaptest.cpp | warsier/nstore | 0959cba2c68cddab490fd9ded3a92a6baa0cd6fa | [
"BSD-3-Clause"
] | 23 | 2016-10-07T11:13:45.000Z | 2022-01-18T06:51:04.000Z | misc/test/mmaptest.cpp | warsier/nstore | 0959cba2c68cddab490fd9ded3a92a6baa0cd6fa | [
"BSD-3-Clause"
] | null | null | null | misc/test/mmaptest.cpp | warsier/nstore | 0959cba2c68cddab490fd9ded3a92a6baa0cd6fa | [
"BSD-3-Clause"
] | 9 | 2017-07-23T03:39:50.000Z | 2022-03-30T11:46:17.000Z | #include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <errno.h>
int main(int argc, char *argv[]) {
int fd, offset;
char *data;
struct stat sbuf;
if (argc != 1) {
fprintf(stderr, "usage: mmapdemo \n");
e... | 17.861538 | 78 | 0.540913 | warsier |
0be0b0f10e7706f7566e7ada6953dab84a2fee9e | 1,676 | cpp | C++ | Engine/nvImage/src/nvImageHdr.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | 8 | 2017-03-08T20:20:13.000Z | 2021-12-12T20:20:07.000Z | Engine/nvImage/src/nvImageHdr.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | null | null | null | Engine/nvImage/src/nvImageHdr.cpp | ansel86castro/Igneel | 7a1e6c81e18326aff78be97cc4321f3a610481ff | [
"Apache-2.0"
] | 4 | 2018-09-28T15:45:08.000Z | 2021-03-22T17:15:46.000Z | //
// nvImageHdr.cpp - Image support class
//
// The nvImage class implements an interface for a multipurpose image
// object. This class is useful for loading and formating images
// for use as textures. The class supports dds, png, and hdr formats.
//
// This file implements the HDR specific functionality.
//
// Auth... | 21.766234 | 80 | 0.563842 | ansel86castro |
0be1223ac789454d04643ea4363650c9fd64c2d2 | 4,467 | cpp | C++ | tf2_src/hammer/MapDiffDlg.cpp | IamIndeedGamingAsHardAsICan03489/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | src/hammer/MapDiffDlg.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | null | null | null | src/hammer/MapDiffDlg.cpp | cafeed28/what | 08e51d077f0eae50afe3b592543ffa07538126f5 | [
"Unlicense"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
// MapDiffDlg.cpp : implementation file
//
#include "stdafx.h"
#include "GlobalFunctions.h"
#include "History.h"
#include "MainFrm.h"
#include "MapDiffDlg.h"
#include "MapDoc.h"
#include "MapEntity.h"
#include "MapSolid.h"
#include "MapView2D.... | 25.820809 | 240 | 0.670025 | IamIndeedGamingAsHardAsICan03489 |
0be12afc1cd459e68d697162fd7960a35b011dd9 | 1,155 | cpp | C++ | Data_Structures/Linked_list/insert_circularLL.cpp | SouvikSSG/C-Programming | e5ae8b4b0ab0ca39532ed4d25e1d997b793f669c | [
"Apache-2.0"
] | null | null | null | Data_Structures/Linked_list/insert_circularLL.cpp | SouvikSSG/C-Programming | e5ae8b4b0ab0ca39532ed4d25e1d997b793f669c | [
"Apache-2.0"
] | null | null | null | Data_Structures/Linked_list/insert_circularLL.cpp | SouvikSSG/C-Programming | e5ae8b4b0ab0ca39532ed4d25e1d997b793f669c | [
"Apache-2.0"
] | null | null | null | #include "headers/create_circular_LLcpp.h"
#include <iostream>
node *linkedList::InsertCLL(struct node *ptr) {
int x, index;
std::cout << "Enter an index and data to insert respectively: ";
std::cin >> index >> x;
if (index < 0 || index > CountCLL(ptr)) {
std::cout << "Invalid index. Unable to in... | 24.574468 | 67 | 0.547186 | SouvikSSG |
0be3898d6529a68c3dd1a023bf1f2809a12160f3 | 6,246 | cpp | C++ | Lux/MainPage.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 9 | 2020-11-30T01:13:25.000Z | 2022-03-14T15:17:44.000Z | Lux/MainPage.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 1 | 2020-11-30T15:45:27.000Z | 2021-02-17T22:11:14.000Z | Lux/MainPage.cpp | axodox/Lux | 00e8da582233ab4ecf22d773e647c9bd84eb7b32 | [
"MIT"
] | 1 | 2021-02-15T22:17:37.000Z | 2021-02-15T22:17:37.000Z | #include "pch.h"
#include "MainPage.h"
#include "MainPage.g.cpp"
#include "DeviceSettings.h"
#include "DependencyConfiguration.h"
#include "ThreadName.h"
using namespace ::Lux;
using namespace ::Lux::Events;
using namespace ::Lux::Observable;
using namespace ::Lux::Graphics;
using namespace ::Lux::Configuration;
usin... | 31.074627 | 162 | 0.715818 | axodox |
0be8ac1c160e42e43740fcffc6bac14b3c4cc920 | 130 | cpp | C++ | src/drivers/uavcan/uavcan_servers.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/uavcan/uavcan_servers.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | src/drivers/uavcan/uavcan_servers.cpp | Diksha-agg/Firmware_val | 1efc1ba06997d19df3ed9bd927cfb24401b0fe03 | [
"BSD-3-Clause"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:e684b09136ca6c7639d0daeee71deb8ac30ebb9f0a33ca01c127846e8fce807a
size 38788
| 32.5 | 75 | 0.884615 | Diksha-agg |
0be8ba93767d692410957a05128a899a7f442745 | 5,102 | hpp | C++ | include/net.hpp | EntireTwix/Ruminate | 0f40bd78d9cec4c0b52b480495699a0cece11a54 | [
"MIT"
] | 12 | 2020-10-30T20:57:55.000Z | 2021-05-06T22:10:45.000Z | include/net.hpp | EntireTwix/Ruminate | 0f40bd78d9cec4c0b52b480495699a0cece11a54 | [
"MIT"
] | 2 | 2020-12-04T04:12:52.000Z | 2021-03-13T08:28:53.000Z | include/net.hpp | EntireTwix/Ruminate | 0f40bd78d9cec4c0b52b480495699a0cece11a54 | [
"MIT"
] | 3 | 2020-11-04T23:17:47.000Z | 2020-12-04T23:36:47.000Z | #pragma once
#include <string>
#include <numeric>
#include "layers.hpp"
namespace rum
{
template <Matrix M>
class NeuralNetwork
{
private:
Layer<M> **layers = nullptr;
const uint_fast8_t sz;
public:
NeuralNetwork() noexcept = delete;
template <typename... Params>
... | 32.705128 | 116 | 0.48138 | EntireTwix |
0bf11cafdf2894d63ea8a59ff15ff677da72ebb5 | 2,498 | hh | C++ | extern/glow-extras/viewer/glow-extras/viewer/aabb.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow-extras/viewer/glow-extras/viewer/aabb.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow-extras/viewer/glow-extras/viewer/aabb.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | #pragma once
#include <initializer_list>
#include <sstream>
#include <string>
#include <typed-geometry/tg-std.hh>
#include <glow/common/log.hh>
namespace glow
{
namespace viewer
{
struct aabb
{
// member
public:
tg::pos3 min = tg::pos3(std::numeric_limits<tg::f32>::max());
tg::pos3 max = tg::pos3(std::n... | 23.790476 | 103 | 0.598078 | rovedit |
0bf3433c99a4ac6c853be5e75731b108d0b19952 | 576 | cpp | C++ | code/framework/src/instigation.cpp | Feupos/utfprct-tex | 8ed2994fd907e3bef93d5f734d58731cd0ef64e2 | [
"LPPL-1.3c"
] | null | null | null | code/framework/src/instigation.cpp | Feupos/utfprct-tex | 8ed2994fd907e3bef93d5f734d58731cd0ef64e2 | [
"LPPL-1.3c"
] | null | null | null | code/framework/src/instigation.cpp | Feupos/utfprct-tex | 8ed2994fd907e3bef93d5f734d58731cd0ef64e2 | [
"LPPL-1.3c"
] | null | null | null | #include "libnop/instigation.h"
#include <execution>
namespace NOP
{
void Instigation::AddMethod(Method method)
{
methods_.insert(methods_.end(), std::move(method));
}
void Instigation::Instigate()
{
LOG(this, "Instigated");
for (const auto& method : methods_)
{
method();
... | 19.862069 | 63 | 0.578125 | Feupos |
0bf7071a706170648877edd995042c748041738e | 4,029 | hpp | C++ | src/common/utilities/initializehelper.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 3 | 2020-03-05T06:36:51.000Z | 2020-06-20T03:25:02.000Z | src/common/utilities/initializehelper.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 13 | 2020-03-11T17:43:42.000Z | 2020-12-11T03:36:05.000Z | src/common/utilities/initializehelper.hpp | squeevee/Addle | 20ec4335669fbd88d36742f586899d8416920959 | [
"MIT"
] | 1 | 2020-09-28T06:53:46.000Z | 2020-09-28T06:53:46.000Z | /**
* Addle source code
* @file
* @copyright Copyright 2020 Eleanor Hawk
* @copyright Modification and distribution permitted under the terms of the
* MIT License. See "LICENSE" for full details.
*/
#ifndef INITIALIZEHELPER_HPP
#define INITIALIZEHELPER_HPP
#include <QObject>
#include <typeinfo>
#include <type_t... | 27.979167 | 101 | 0.692728 | squeevee |
0bf9b05fedd901d57b0f3f13aa31c8552de5856f | 667 | hh | C++ | Rowset.hh | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 1 | 2017-09-14T13:31:16.000Z | 2017-09-14T13:31:16.000Z | Rowset.hh | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | null | null | null | Rowset.hh | shuLhan/libvos | 831491b197fa8f267fd94966d406596896e6f25c | [
"BSD-3-Clause"
] | 5 | 2015-04-11T02:59:06.000Z | 2021-03-03T19:45:39.000Z | //
// Copyright 2009-2016 M. Shulhan (ms@kilabit.info). All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef _LIBVOS_ROWSET_HH
#define _LIBVOS_ROWSET_HH 1
#include "List.hh"
namespace vos {
//
// class Rowset define a list of row.
//... | 18.527778 | 73 | 0.701649 | shuLhan |
0bfa1c6a82258463a0c97b516169b5b236b054c8 | 1,296 | hpp | C++ | modules/math/source/blub/math/ray.hpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 96 | 2015-02-02T20:01:24.000Z | 2021-11-14T20:33:29.000Z | modules/math/source/blub/math/ray.hpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 12 | 2016-06-04T15:45:30.000Z | 2020-02-04T11:10:51.000Z | modules/math/source/blub/math/ray.hpp | qwertzui11/voxelTerrain | 05038fb261893dd044ae82fab96b7708ea5ed623 | [
"MIT"
] | 19 | 2015-09-22T01:21:45.000Z | 2020-09-30T09:52:27.000Z | #ifndef LINE_HPP
#define LINE_HPP
#include "blub/math/vector3.hpp"
namespace Ogre
{
class Ray;
}
namespace blub
{
class ray
{
public:
#ifndef BLUB_NO_OGRE3D
ray(const Ogre::Ray &vec);
operator Ogre::Ray() const;
#endif
ray():mOrigin(vector3::ZERO), mDirection(vector3::UNIT_Z) {}
ray(const vec... | 21.966102 | 92 | 0.652778 | qwertzui11 |
0bfcfa7e7e86b593c2ef6719b0fa63bed6de57b9 | 2,550 | hpp | C++ | include/boost/spirit/fusion/sequence/detail/trsfrm_view_begin_end_trts.hpp | dstrigl/mcotf | 92a9caf6173b1241a2f9ed45cd379469762b7178 | [
"BSL-1.0"
] | 93 | 2015-11-20T04:13:36.000Z | 2022-03-24T00:03:08.000Z | include/boost/spirit/fusion/sequence/detail/trsfrm_view_begin_end_trts.hpp | dstrigl/mcotf | 92a9caf6173b1241a2f9ed45cd379469762b7178 | [
"BSL-1.0"
] | 206 | 2015-11-09T00:27:15.000Z | 2021-12-04T19:05:18.000Z | include/boost/spirit/fusion/sequence/detail/trsfrm_view_begin_end_trts.hpp | dstrigl/mcotf | 92a9caf6173b1241a2f9ed45cd379469762b7178 | [
"BSL-1.0"
] | 117 | 2015-11-08T02:43:46.000Z | 2022-02-12T06:29:00.000Z | /*=============================================================================
Copyright (c) 2003 Joel de Guzman
Use, modification and distribution is 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)
=====... | 28.651685 | 82 | 0.548235 | dstrigl |
0bff6c1add4ac634e906b20584fb1b78a1b1776c | 32,043 | cpp | C++ | rssavers-0.2/src/Flux/Flux.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 3 | 2017-08-13T14:47:57.000Z | 2020-03-02T06:48:29.000Z | rssavers-0.2/src/Flux/Flux.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:14:54.000Z | 2018-09-26T22:35:03.000Z | rssavers-0.2/src/Flux/Flux.cpp | NickPepper/MacScreensavers | 088625b06b123adcb61c7e9e1adc4415dda66a59 | [
"MIT"
] | 1 | 2018-09-19T14:13:55.000Z | 2018-09-19T14:13:55.000Z | /*
* Copyright (C) 1999-2010 Terence M. Welsh
*
* This file is part of Flux.
*
* Flux is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published
* by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later v... | 28.971971 | 123 | 0.681334 | NickPepper |
0400720c40240e32520f31fa769cd744bb446c1b | 2,812 | cpp | C++ | src/ngraph/pass/dump_sorted.cpp | magrawal128/ngraph | ca911487d1eadfe6ec66dbe3da6f05cee3645b24 | [
"Apache-2.0"
] | 1 | 2020-04-28T22:50:33.000Z | 2020-04-28T22:50:33.000Z | src/ngraph/pass/dump_sorted.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | 1 | 2019-02-20T20:56:47.000Z | 2019-02-22T20:10:28.000Z | src/ngraph/pass/dump_sorted.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2019 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://w... | 36.051282 | 93 | 0.448791 | magrawal128 |
0402ae3480bcdf1e980db3b3f22209d578338540 | 384 | cpp | C++ | AnimationProgramming/src/AnimationProgramming.cpp | Hukunaa/Animation_Programming | b48834a70e79d2bf5a2761c03af042ba0e76ff11 | [
"MIT"
] | null | null | null | AnimationProgramming/src/AnimationProgramming.cpp | Hukunaa/Animation_Programming | b48834a70e79d2bf5a2761c03af042ba0e76ff11 | [
"MIT"
] | null | null | null | AnimationProgramming/src/AnimationProgramming.cpp | Hukunaa/Animation_Programming | b48834a70e79d2bf5a2761c03af042ba0e76ff11 | [
"MIT"
] | null | null | null | // AnimationProgramming.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include "stdafx.h"
#include "Engine.h"
#include "Simulation.h"
#include <Animation.h>
int main()
{
Animation anim;
//IF IT CRASHES HERE, RESTART THE PROGRAM
Run(&anim, 1400, 800);
//IF IT CRASHES ... | 17.454545 | 82 | 0.679688 | Hukunaa |
040adf94d9f986bd60daf16db9f697e06a8efdb6 | 3,498 | cpp | C++ | src/EncSim.cpp | luni64/EncSim | 0be09144e6f968d65c2a361578fa0819f5bf7bcf | [
"MIT"
] | 9 | 2017-06-12T02:59:45.000Z | 2022-03-16T22:27:14.000Z | src/EncSim.cpp | luni64/EncSim | 0be09144e6f968d65c2a361578fa0819f5bf7bcf | [
"MIT"
] | 3 | 2019-07-10T10:30:28.000Z | 2020-10-06T19:02:14.000Z | src/EncSim.cpp | luni64/EncSim | 0be09144e6f968d65c2a361578fa0819f5bf7bcf | [
"MIT"
] | 3 | 2018-07-23T00:36:28.000Z | 2021-12-04T16:35:52.000Z | #include "EncSim.h"
EncSim::EncSim(unsigned pinA, unsigned pinB, unsigned pinZ)
{
this->A = pinA;
this->B = pinB;
this->Z = pinZ;
}
EncSim& EncSim::begin(/*unsigned pinA, unsigned pinB, int pinZ*/)
{
phaseA.begin(A);
phaseB.begin(B);
if (Z < UINT32_MAX)
{
pinMode(Z, OUTPUT);
... | 22.423077 | 77 | 0.628645 | luni64 |
040ba8b0ae87e46c9614648c4ce38b4ba7b8cf47 | 2,382 | cpp | C++ | Dsa self paced course Track/stack/MaxOfMinOfEveryWindowSize.cpp | sagar-maheshwari653/HactoberFest21 | 76797aba35b7b168688f2702b52defbff4014da8 | [
"Unlicense"
] | 1 | 2021-11-21T03:37:18.000Z | 2021-11-21T03:37:18.000Z | Dsa self paced course Track/stack/MaxOfMinOfEveryWindowSize.cpp | sonishsinghal/HactoberFest21 | c4ca69f2f8198585db9914e8b113290dad07a188 | [
"Unlicense"
] | 1 | 2021-10-06T04:41:55.000Z | 2021-10-06T04:41:55.000Z | Dsa self paced course Track/stack/MaxOfMinOfEveryWindowSize.cpp | sonishsinghal/HactoberFest21 | c4ca69f2f8198585db9914e8b113290dad07a188 | [
"Unlicense"
] | 1 | 2021-10-08T12:31:04.000Z | 2021-10-08T12:31:04.000Z | // { Driver Code Starts
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution
{
public:
//Function to find maximum of minimums of every window size.
vector<int> maxOfMin(int arr[], int n)
{
// Your code here
stack<int> st;
unordered_map<int, int> mp;
... | 25.340426 | 72 | 0.309824 | sagar-maheshwari653 |
0412411b700494122657cab69ac31fdcd1c9e267 | 565 | cpp | C++ | Codeforces/41A - Translation.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/41A - Translation.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | Codeforces/41A - Translation.cpp | naimulcsx/online-judge-solutions | 0b80f81bcfb05a7cfe7fc925304c70b19eff1d6f | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
bool is_reversed(const string &, const string &);
int main() {
string ber_lang, bir_lang;
cin >> ber_lang >> bir_lang;
if (is_reversed(ber_lang, bir_lang))
cout << "YES" << endl;
else
cout << "NO" << endl;
}
bool is_reverse... | 18.833333 | 54 | 0.546903 | naimulcsx |
04145c55e15e83f7eb1d57c758ceaf00a4525c21 | 801 | hpp | C++ | SDK/ARKSurvivalEvolved_PrimalItem_GenericMisc_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_PrimalItem_GenericMisc_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_PrimalItem_GenericMisc_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItem_GenericMisc_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------... | 20.538462 | 114 | 0.639201 | 2bite |
0423a73330544570ec92984d9801ff01826c27cd | 10,825 | cpp | C++ | Libraries/libcar/Sources/Reader.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 9 | 2018-04-30T23:18:27.000Z | 2021-06-20T15:13:38.000Z | Libraries/libcar/Sources/Reader.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | null | null | null | Libraries/libcar/Sources/Reader.cpp | djgalloway/xcbuild | 936df10e59e5f5d531efca8bd48e445d88e78e0c | [
"BSD-2-Clause-NetBSD"
] | 4 | 2018-10-10T19:44:17.000Z | 2020-01-12T11:56:31.000Z | /**
Copyright (c) 2015-present, Facebook, Inc.
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
*/
#include <car/Reader.h... | 39.363636 | 369 | 0.697182 | djgalloway |
04241dc9f917c856adeb302e90df8f5a1d0498d7 | 5,634 | hpp | C++ | include/desalt/match/match.hpp | dechimal/desalt | 29f2bbe9e41850ddd4ebff39958747e504e3a6a3 | [
"WTFPL"
] | 10 | 2015-03-05T08:28:29.000Z | 2020-10-21T09:52:52.000Z | include/desalt/match/match.hpp | dechimal/desalt | 29f2bbe9e41850ddd4ebff39958747e504e3a6a3 | [
"WTFPL"
] | null | null | null | include/desalt/match/match.hpp | dechimal/desalt | 29f2bbe9e41850ddd4ebff39958747e504e3a6a3 | [
"WTFPL"
] | null | null | null | #ifndef DESALT_MATCH_MATCH_HPP_INCLUDED_
#define DESALT_MATCH_MATCH_HPP_INCLUDED_
#include <type_traits>
#include <utility>
#include <tuple>
#include <desalt/match/fwd.hpp>
#include <desalt/match/pattern_types.hpp>
namespace desalt::match {
namespace detail {
namespace here = detail;
// definitions
// match_result
... | 39.398601 | 148 | 0.671282 | dechimal |
042479c1f005ce0fbd2892bfe2ae3b487bdfff71 | 8,486 | hxx | C++ | src/tools.hxx | gregorweiss/Clustering | 484eceff161adf972b068b02550d492af33535d5 | [
"BSD-2-Clause"
] | 9 | 2019-09-30T15:52:05.000Z | 2022-01-23T07:18:49.000Z | src/tools.hxx | gregorweiss/Clustering | 484eceff161adf972b068b02550d492af33535d5 | [
"BSD-2-Clause"
] | 5 | 2019-05-16T11:13:20.000Z | 2021-03-11T17:22:23.000Z | src/tools.hxx | gregorweiss/Clustering | 484eceff161adf972b068b02550d492af33535d5 | [
"BSD-2-Clause"
] | 3 | 2019-11-21T12:15:03.000Z | 2021-04-19T10:45:20.000Z | /*
Copyright (c) 2015-2019, Florian Sittel (www.lettis.net) and Daniel Nagel
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,
... | 28.381271 | 92 | 0.604054 | gregorweiss |
0424d8175e3de82ef5e0f2616e4b6aff37349ed5 | 3,969 | cpp | C++ | src/Protocols/TelnetProtocol.cpp | kangwenhang/WindTerm | 24c96a6aa611675aeb5decf7f673318c0b626399 | [
"Apache-2.0"
] | 4,267 | 2019-10-12T03:52:44.000Z | 2022-03-31T14:55:28.000Z | src/Protocols/TelnetProtocol.cpp | kangwenhang/WindTerm | 24c96a6aa611675aeb5decf7f673318c0b626399 | [
"Apache-2.0"
] | 537 | 2020-01-24T09:34:07.000Z | 2022-03-31T23:59:11.000Z | src/Protocols/TelnetProtocol.cpp | kangwenhang/WindTerm | 24c96a6aa611675aeb5decf7f673318c0b626399 | [
"Apache-2.0"
] | 337 | 2019-10-17T00:11:40.000Z | 2022-03-31T11:16:56.000Z | /*
* Copyright 2020, WindTerm.
*
* 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 ... | 42.223404 | 133 | 0.719577 | kangwenhang |
0426086813c9126af5c4efd16ce569a2bf832915 | 631 | cpp | C++ | Sem1/WDI/zielu c++/3.1.cpp | YuunOoO/Code | 5e01c53ab54b4cd8e1694e5f343b012797805688 | [
"MIT"
] | 1 | 2021-06-03T14:54:30.000Z | 2021-06-03T14:54:30.000Z | Sem1/WDI/zielu c++/3.1.cpp | YuunOoO/Code | 5e01c53ab54b4cd8e1694e5f343b012797805688 | [
"MIT"
] | null | null | null | Sem1/WDI/zielu c++/3.1.cpp | YuunOoO/Code | 5e01c53ab54b4cd8e1694e5f343b012797805688 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int liczba;
cout << " Program podzielnosci liczby przez 3 / 2"
cout << "Podaj liczbe: " << endl;
cin>>liczba;
if(liczba==0) return 0;
if(liczba%3==0)
{
if(liczba%2==0)
{
cout<<"jest podzielna przez 3 i 2 , ... | 20.354839 | 68 | 0.499208 | YuunOoO |
0426e00f10765435e5fb86761a155a32c495fdff | 427 | cc | C++ | tests/mul.spec.cc | ganler/CUWRAP | c7abc3b546739e143163ce4d386f497adca1cb1b | [
"MIT"
] | 4 | 2020-02-08T13:02:19.000Z | 2020-02-10T17:59:02.000Z | tests/mul.spec.cc | ganler/CUWRAP | c7abc3b546739e143163ce4d386f497adca1cb1b | [
"MIT"
] | null | null | null | tests/mul.spec.cc | ganler/CUWRAP | c7abc3b546739e143163ce4d386f497adca1cb1b | [
"MIT"
] | null | null | null | #include "test.hpp"
#include <cuwrap/kernels/mul.hpp>
TEST(Test, MulTwoVectors)
{
constexpr std::size_t N = 1 << 20;
int *a = new int[N](),
*b = new int[N](),
*r = new int[N]();
for (int i = 0; i < N; i++) {
a[i] = 2.0f;
b[i] = 2.0f;
}
cuwrap::mul(N, a, b, r);
... | 17.791667 | 38 | 0.440281 | ganler |
54b8897e799a6bcc77211f35ad16ec6affc4b71f | 6,258 | cpp | C++ | src/app/screens/main/help_screen.cpp | nabijaczleweli/controller-display | d7abaa206a0f2bfdbae92a6b8258a6d1a965b6fb | [
"MIT"
] | null | null | null | src/app/screens/main/help_screen.cpp | nabijaczleweli/controller-display | d7abaa206a0f2bfdbae92a6b8258a6d1a965b6fb | [
"MIT"
] | null | null | null | src/app/screens/main/help_screen.cpp | nabijaczleweli/controller-display | d7abaa206a0f2bfdbae92a6b8258a6d1a965b6fb | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2017 nabijaczleweli
// 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... | 46.355556 | 159 | 0.63247 | nabijaczleweli |
54c07a948d06dc9fa8852f3ebe2aff390dcee4d8 | 16,475 | cpp | C++ | coast/modules/Oracle/OracleConnection.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/Oracle/OracleConnection.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | coast/modules/Oracle/OracleConnection.cpp | zer0infinity/CuteForCoast | 37d933c5fe2e0ce9a801f51b2aa27c7a18098511 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2009, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the file license.txt.... | 36.611111 | 141 | 0.683945 | zer0infinity |
54c39d14d014487a4cdc76357fdbde79e1351641 | 1,227 | cpp | C++ | core/src/Behaviors/Actions/Trigger.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 36 | 2015-03-12T10:42:36.000Z | 2022-01-12T04:20:40.000Z | core/src/Behaviors/Actions/Trigger.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 1 | 2015-12-17T00:25:43.000Z | 2016-02-20T12:00:57.000Z | core/src/Behaviors/Actions/Trigger.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 6 | 2017-06-17T07:57:53.000Z | 2019-04-09T21:11:24.000Z | #include "Trigger.hpp"
#include "Coding/Encoder.hpp"
#include "Coding/Decoder.hpp"
using namespace crimild;
using namespace crimild::messaging;
using namespace crimild::behaviors;
using namespace crimild::behaviors::actions;
std::list< Trigger * > Trigger::_allTriggers;
void Trigger::each( std::function< void( std::... | 20.114754 | 100 | 0.715566 | hhsaez |
54c818ab3a0d5a2e77d409bb2ab68cc3f09a6a44 | 9,387 | cpp | C++ | src/QormDefaultSession.cpp | marcobusemann/QMetaOrm | 3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4 | [
"MIT"
] | null | null | null | src/QormDefaultSession.cpp | marcobusemann/QMetaOrm | 3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4 | [
"MIT"
] | 1 | 2017-07-29T21:22:10.000Z | 2017-07-29T21:22:10.000Z | src/QormDefaultSession.cpp | marcobusemann/QMetaOrm | 3d133f0e7f9a42cf9abb5dcb9ff79d85f83729b4 | [
"MIT"
] | null | null | null | #include <QMetaOrm/QormExceptions.h>
#include <QMetaOrm/QormSqlQueryBuilder.h>
#include "QormDefaultSession.h"
#include "QormEntityMapper.h"
#include <QSqlQuery>
#include <QUuid>
class QormOnDemandRecordMapperImpl : public QormOnDemandRecordMapper {
public:
QormOnDemandRecordMapperImpl(
std::function<QSh... | 30.980198 | 118 | 0.712794 | marcobusemann |
54ca45e4568a6a8d16d2d2924cfa1e7a26ec6d1c | 4,250 | cpp | C++ | code/peakbagger_collection.cpp | akirmse/mountains | a3f119a245ee9f19b1a66ef0c8e7ea002f846ef7 | [
"MIT"
] | 18 | 2017-07-11T17:55:45.000Z | 2022-03-11T21:37:26.000Z | code/peakbagger_collection.cpp | oargudo/mountains | b295281f81ed93163b71f5caf7465b0a91df8bb2 | [
"MIT"
] | 1 | 2019-12-16T23:12:09.000Z | 2019-12-17T11:09:48.000Z | code/peakbagger_collection.cpp | oargudo/mountains | b295281f81ed93163b71f5caf7465b0a91df8bb2 | [
"MIT"
] | 3 | 2020-04-05T12:13:12.000Z | 2021-03-19T13:29:31.000Z | /*
* MIT License
*
* Copyright (c) 2017 Andrew Kirmse
*
* 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, ... | 34.274194 | 133 | 0.612941 | akirmse |
54caab7f0befa02f012f05935ffb2d905cb2c762 | 282 | hh | C++ | MaxQuadSize.hh | gvissers/quill2 | 589d7bc3ce20da888547f8f4f6b8da908b3d63a5 | [
"Apache-2.0"
] | null | null | null | MaxQuadSize.hh | gvissers/quill2 | 589d7bc3ce20da888547f8f4f6b8da908b3d63a5 | [
"Apache-2.0"
] | null | null | null | MaxQuadSize.hh | gvissers/quill2 | 589d7bc3ce20da888547f8f4f6b8da908b3d63a5 | [
"Apache-2.0"
] | null | null | null | #ifndef MAXQUADSIZE_HH
#define MAXQUADSIZE_HH
/*!
* \file MaxQuadSize
* \brief Set of structures to determine the maximum size of a basis function quartet
*/
#include "CGTOQuad.hh"
struct MaxQuadSize
{
static const size_t size = sizeof(CGTOQuad);
};
#endif // MAXQUADSIZE_HH | 17.625 | 85 | 0.748227 | gvissers |
54cac30f7cc9070c33f4d5588b42e2682251c684 | 1,610 | cpp | C++ | surena4/src/ft_sensor_board/src/main.cpp | amin-amani/humanoid | 7493fc566064ff903deb130376eb67e684c6a303 | [
"MIT"
] | 1 | 2021-11-16T08:51:26.000Z | 2021-11-16T08:51:26.000Z | surena4/src/ft_sensor_board/src/main.cpp | amin-amani/humanoid | 7493fc566064ff903deb130376eb67e684c6a303 | [
"MIT"
] | 1 | 2018-10-27T13:34:18.000Z | 2018-10-27T13:34:18.000Z | surena4/src/ft_sensor_board/src/main.cpp | amin-amani/humanoid | 7493fc566064ff903deb130376eb67e684c6a303 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include <QApplication>
#include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include<std_msgs/Int32MultiArray.h>
#include<std_msgs/Int32.h>
#include<std_msgs/Float64MultiArray.h>
#include <stdlib.h>
#include "ft_sensor.h"
/// =================================================================... | 27.288136 | 184 | 0.527329 | amin-amani |
54d0a7a7eb6f6efcad50e315b47e549476edbdd0 | 294 | hh | C++ | cycle/restime/_Trapezoidal+/restime.hh | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 29 | 2018-09-13T13:58:18.000Z | 2022-03-08T21:44:13.000Z | cycle/restime/_Trapezoidal+/restime.hh | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 3 | 2020-11-10T11:28:30.000Z | 2021-11-23T09:21:28.000Z | cycle/restime/_Trapezoidal+/restime.hh | zhanghuanqian/CFDWARP | 9340a8526bb263d910f79d79e84dcac7aec211b6 | [
"BSD-2-Clause"
] | 20 | 2018-07-26T08:17:37.000Z | 2022-03-04T08:41:55.000Z | #define _RESTIME_METHOD "Trapezoidal+ 2nd-Order"
#define _RESTIME_BW 2
#define _RESTIME_TRAPEZOIDAL_MUSCL
#define _RESTIME_STORAGE_TRAPEZOIDAL
#define _RESTIME_STORAGE_TRAPEZOIDAL_MUSCLVARS
#define UNSTEADY
#define _RESTIME_ACTIONNAME "TrapezoidalPlus"
typedef struct {
} gl_cycle_restime_t;
| 24.5 | 48 | 0.860544 | zhanghuanqian |
54d7ceb5ae7b00152ba801e8ba333a7c3df02daa | 11,206 | hpp | C++ | include/algorithm_assembler/utils/heterogeneous_container_functions.hpp | Tristis116/Algorithm-assembler | 2da69a7e2842f2c261ce0c81d74b3116687b511f | [
"Apache-2.0"
] | null | null | null | include/algorithm_assembler/utils/heterogeneous_container_functions.hpp | Tristis116/Algorithm-assembler | 2da69a7e2842f2c261ce0c81d74b3116687b511f | [
"Apache-2.0"
] | null | null | null | include/algorithm_assembler/utils/heterogeneous_container_functions.hpp | Tristis116/Algorithm-assembler | 2da69a7e2842f2c261ce0c81d74b3116687b511f | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2019 Ilia S. Kovalev
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 writi... | 28.2267 | 109 | 0.713189 | Tristis116 |
54d9279424de695fb9ccc371637e4293c0936047 | 312 | hh | C++ | include/ten/optional.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 23 | 2015-02-28T12:51:54.000Z | 2021-07-21T10:34:20.000Z | include/ten/optional.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 1 | 2015-04-26T05:44:18.000Z | 2015-04-26T05:44:18.000Z | include/ten/optional.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 8 | 2015-05-04T08:04:11.000Z | 2020-09-07T11:30:56.000Z | #ifndef TEN_OPTIONAL_HH
#define TEN_OPTIONAL_HH
#include "ten/bits/optional.hpp"
namespace ten {
using std::experimental::optional;
using std::experimental::nullopt;
using std::experimental::in_place;
using std::experimental::in_place_t;
using std::experimental::is_not_optional;
}
#endif
| 20.8 | 45 | 0.74359 | toffaletti |
54dba8fe7c1f6f30ec133b38c6e952cc9afcf23b | 358 | cpp | C++ | FightingGame/FightingGame/EndingScene.cpp | boxerprogrammer/2d_actiongame_samples | 4fb240abe15485ca6299579b208e415eb5d9c8af | [
"MIT"
] | 1 | 2020-10-22T12:03:37.000Z | 2020-10-22T12:03:37.000Z | FightingGame/FightingGame/EndingScene.cpp | boxerprogrammer/2d_actiongame_samples | 4fb240abe15485ca6299579b208e415eb5d9c8af | [
"MIT"
] | null | null | null | FightingGame/FightingGame/EndingScene.cpp | boxerprogrammer/2d_actiongame_samples | 4fb240abe15485ca6299579b208e415eb5d9c8af | [
"MIT"
] | null | null | null | #include "EndingScene.h"
#include<DxLib.h>
#include"GameMain.h"
#include"StaffrollScene.h"
EndingScene::EndingScene():_timer(300)
{
}
EndingScene::~EndingScene()
{
}
void
EndingScene::Update(const KeyState& key){
DxLib::DrawString(100, 200, "Ending Scene", 0xffffffff);
if(--_timer==0){
GameMain::Instance().Ch... | 15.565217 | 57 | 0.712291 | boxerprogrammer |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.