hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0d96c0af0d06aa404458f1a7df3bf3ee821b1e77 | 30,113 | cc | C++ | ash/shelf/shelf_drag_handle_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/shelf/shelf_drag_handle_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/shelf/shelf_drag_handle_unittest.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/app_list/test/app_list_test_helper.h"
#include "ash/home_screen/drag_window_from_shelf_controller.h"
#include "ash/home_screen/drag_window_f... | 42.412676 | 80 | 0.745459 | sarang-apps |
0d98aabd50b6a9bbb935961018a67849b610b39d | 10,763 | cpp | C++ | Bicycle.cpp | MKoi/BicycleAdventure | 238464e1546edd332522e375e92c022ec0174dd9 | [
"MIT"
] | null | null | null | Bicycle.cpp | MKoi/BicycleAdventure | 238464e1546edd332522e375e92c022ec0174dd9 | [
"MIT"
] | null | null | null | Bicycle.cpp | MKoi/BicycleAdventure | 238464e1546edd332522e375e92c022ec0174dd9 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Bicycle.h"
#include "GameArea.h"
#include <vector>
using namespace DirectX;
using namespace std;
using namespace Windows::Storage;
Bicycle::Bicycle(b2World* world, const b2Vec2& pos, const Physics::Parameters& params, GameAudio* audio) :
m_wheelRadius(0.5f), m_hubRadius(m_wheelRa... | 31.017291 | 118 | 0.720524 | MKoi |
0d98ab6daf849b0743bdc26a428e0712ecb22227 | 2,111 | cpp | C++ | src/implementation/backends/DirectX11/DirectX11_Renderer.cpp | LarsHagemann/OrbitEngine | 33e01efaac617c53a701f01729581932fc81e8bf | [
"MIT"
] | null | null | null | src/implementation/backends/DirectX11/DirectX11_Renderer.cpp | LarsHagemann/OrbitEngine | 33e01efaac617c53a701f01729581932fc81e8bf | [
"MIT"
] | 2 | 2022-01-18T21:31:01.000Z | 2022-01-20T21:02:09.000Z | src/implementation/backends/DirectX11/DirectX11_Renderer.cpp | LarsHagemann/OrbitEngine | 33e01efaac617c53a701f01729581932fc81e8bf | [
"MIT"
] | null | null | null | #ifdef ORBIT_DIRECTX_11
#include "implementation/backends/DirectX11/DirectX11_Renderer.hpp"
#include "implementation/engine/Engine.hpp"
#include "implementation/backends/impl/PipelineStateImpl.hpp"
#include "interfaces/rendering/Material.hpp"
namespace orbit
{
void DirectX11Renderer::Draw(const Submesh& submesh,... | 31.984848 | 131 | 0.690668 | LarsHagemann |
0d99559cc43104cf0ac5c62438a402e35ae4156f | 278 | hpp | C++ | include/toy/parser/Export.hpp | ToyAuthor/ToyBox | f517a64d00e00ccaedd76e33ed5897edc6fde55e | [
"Unlicense"
] | 4 | 2017-07-06T22:18:41.000Z | 2021-05-24T21:28:37.000Z | include/toy/parser/Export.hpp | ToyAuthor/ToyBox | f517a64d00e00ccaedd76e33ed5897edc6fde55e | [
"Unlicense"
] | null | null | null | include/toy/parser/Export.hpp | ToyAuthor/ToyBox | f517a64d00e00ccaedd76e33ed5897edc6fde55e | [
"Unlicense"
] | 1 | 2020-08-02T13:00:38.000Z | 2020-08-02T13:00:38.000Z | #pragma once
#include "toy/CompilerConfig.hpp"
#if defined(TOY_WINDOWS) && TOY_OPTION_DYNAMIC_LIBRARY
#ifdef TOY_EXPORT_PARSER
#define TOY_API_PARSER __declspec(dllexport)
#else
#define TOY_API_PARSER __declspec(dllimport)
#endif
#else
#define TOY_API_PARSER
#endif
| 17.375 | 54 | 0.794964 | ToyAuthor |
0d9d85336096deb9daab6754a5cbf138af6dbb34 | 180 | cpp | C++ | bin/test-libsept/main.cpp | vdods/sept | 08ee1faf1af4feb0dc440a3002eb8cc52681f946 | [
"Apache-2.0"
] | null | null | null | bin/test-libsept/main.cpp | vdods/sept | 08ee1faf1af4feb0dc440a3002eb8cc52681f946 | [
"Apache-2.0"
] | null | null | null | bin/test-libsept/main.cpp | vdods/sept | 08ee1faf1af4feb0dc440a3002eb8cc52681f946 | [
"Apache-2.0"
] | null | null | null | // 2020.03.13 - Victor Dods
#include <lvd/test.hpp>
int main (int argc, char **argv) {
return lvd::test::basic_test_main("septtest -- unit tests for libsept", argc, argv);
}
| 22.5 | 88 | 0.666667 | vdods |
d3ffe19f4e5d73c8e68d7f80abde58c3135ea1df | 4,875 | cpp | C++ | TopCoderSRM/SRM603/GraphWalkWithProbabilities.cpp | zombiecry/AlgorithmPractice | f42933883bd62a86aeef9740356f5010c6c9bebf | [
"MIT"
] | null | null | null | TopCoderSRM/SRM603/GraphWalkWithProbabilities.cpp | zombiecry/AlgorithmPractice | f42933883bd62a86aeef9740356f5010c6c9bebf | [
"MIT"
] | null | null | null | TopCoderSRM/SRM603/GraphWalkWithProbabilities.cpp | zombiecry/AlgorithmPractice | f42933883bd62a86aeef9740356f5010c6c9bebf | [
"MIT"
] | null | null | null | // BEGIN CUT HERE
// END CUT HERE
#line 5 "GraphWalkWithProbabilities.cpp"
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <... | 47.794118 | 400 | 0.59959 | zombiecry |
31050df677ea032ac1c4b7779ecc6c6aa402a152 | 1,290 | cpp | C++ | src/row.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | null | null | null | src/row.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | null | null | null | src/row.cpp | dashboardvision/aspose-php | e2931773cbb1f47ae4086d632faa3012bd952b99 | [
"MIT"
] | 1 | 2021-06-23T08:02:03.000Z | 2021-06-23T08:02:03.000Z | #include "../include/aspose.h"
#include "../include/collection.h"
#include "../include/cell.h"
#include "../include/row.h"
#include <phpcpp.h>
using namespace Aspose::Slides;
using namespace System;
using namespace std;
using namespace Aspose::Slides;
namespace AsposePhp {
/**
* @brief Desc.
*
... | 25.294118 | 117 | 0.608527 | dashboardvision |
3106157915875c6c69874101773a2a9c37d7ada2 | 3,713 | cpp | C++ | Examples/source/ManageAndOptimizeBarcodeRecognition/ReadMultipleMacroPdf417Barcodes.cpp | aspose-barcode/Aspose.Barcode-for-C | 9741636d98a148d7438cc6ee790dc3c4bcc5a1e8 | [
"MIT"
] | 3 | 2018-12-07T18:39:59.000Z | 2021-06-08T13:08:29.000Z | Examples/source/ManageAndOptimizeBarcodeRecognition/ReadMultipleMacroPdf417Barcodes.cpp | aspose-barcode/Aspose.Barcode-for-C | 9741636d98a148d7438cc6ee790dc3c4bcc5a1e8 | [
"MIT"
] | null | null | null | Examples/source/ManageAndOptimizeBarcodeRecognition/ReadMultipleMacroPdf417Barcodes.cpp | aspose-barcode/Aspose.Barcode-for-C | 9741636d98a148d7438cc6ee790dc3c4bcc5a1e8 | [
"MIT"
] | 1 | 2018-07-13T14:22:11.000Z | 2018-07-13T14:22:11.000Z | /*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.BarCode for .NET API reference
when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, you can manually download Aspose.BarCode for .NET API from http://www.a... | 40.802198 | 246 | 0.692971 | aspose-barcode |
3108881f8519f2858e35516b7ccca51b0fc10e12 | 2,551 | cpp | C++ | SupportCode/src/Utils/GDraw.cpp | nitinkaveriappa/TIcTacToe | 0f2dade44af25e9ebff66df9999e3f8b985de9dd | [
"MIT"
] | null | null | null | SupportCode/src/Utils/GDraw.cpp | nitinkaveriappa/TIcTacToe | 0f2dade44af25e9ebff66df9999e3f8b985de9dd | [
"MIT"
] | null | null | null | SupportCode/src/Utils/GDraw.cpp | nitinkaveriappa/TIcTacToe | 0f2dade44af25e9ebff66df9999e3f8b985de9dd | [
"MIT"
] | null | null | null | #include "Utils/GDraw.hpp"
#include <cmath>
struct GDrawData
{
GDrawData(void)
{
m_params[GDRAW_MINX] = -30;
m_params[GDRAW_MINY] = -20;
m_params[GDRAW_MAXX] = 30;
m_params[GDRAW_MAXY] = 20;
m_params[GDRAW_ORTHO_NEAR_PLANE] = -10;
m_params[GDRAW_ORTHO_FAR_PLANE] = 10;
}
double m_params[GDR... | 18.620438 | 66 | 0.643277 | nitinkaveriappa |
310a0721b4f1babad3b580d662ee60138e02bbe8 | 4,085 | cc | C++ | sample/src/Program.cc | pengrui2009/aliyun-oss-cpp-sdk-windows | db3b42fb949d38c577876bcc8d65cd67e31d6dcd | [
"Apache-2.0"
] | null | null | null | sample/src/Program.cc | pengrui2009/aliyun-oss-cpp-sdk-windows | db3b42fb949d38c577876bcc8d65cd67e31d6dcd | [
"Apache-2.0"
] | null | null | null | sample/src/Program.cc | pengrui2009/aliyun-oss-cpp-sdk-windows | db3b42fb949d38c577876bcc8d65cd67e31d6dcd | [
"Apache-2.0"
] | null | null | null | #include <alibabacloud/oss/OssClient.h>
#include <iostream>
#include "Config.h"
#if !defined(OSS_DISABLE_BUCKET)
#include "service/ServiceSample.h"
#include "bucket/BucketSample.h"
#endif
#include "object/ObjectSample.h"
#include "presignedurl/PresignedUrlSample.h"
#if !defined(OSS_DISABLE_LIVECHANNEL)
#include "Liv... | 29.388489 | 85 | 0.761812 | pengrui2009 |
310d40b2fa9336c32c12b3962ecc8dc38036cdaa | 595 | cpp | C++ | src/Bubblewrap/Render/BgfxFont.cpp | bubblewrap-engine/bubblewrap_bfxr | dd41c8f2f43ce79c25ede39c3376292e83257d21 | [
"MIT"
] | null | null | null | src/Bubblewrap/Render/BgfxFont.cpp | bubblewrap-engine/bubblewrap_bfxr | dd41c8f2f43ce79c25ede39c3376292e83257d21 | [
"MIT"
] | null | null | null | src/Bubblewrap/Render/BgfxFont.cpp | bubblewrap-engine/bubblewrap_bfxr | dd41c8f2f43ce79c25ede39c3376292e83257d21 | [
"MIT"
] | null | null | null | #include "Bubblewrap/Render/BgfxFont.hpp"
#include "Bubblewrap/Base/Entity.hpp"
#include "Bubblewrap/Base/Base.hpp"
#include "Bubblewrap/Base/BgfxPhysFsInputStream.hpp"
namespace Bubblewrap
{
namespace Render
{
BgfxFont::BgfxFont()
{
}
void BgfxFont::Initialise( Json::Value Params )
{
Font::Initialise( ... | 15.25641 | 59 | 0.657143 | bubblewrap-engine |
310e6d46935b569640730afeb553dbc4f447fcd2 | 5,316 | hxx | C++ | Modules/Search/binary_log.hxx | Hurna/Hurna-Lib | 61c267fc6ccf617e92560a84800f6a719cc5c6c8 | [
"MIT"
] | 2 | 2019-03-29T21:23:02.000Z | 2019-04-02T19:13:32.000Z | Modules/Search/binary_log.hxx | Hurna/Hurna-Lib | 61c267fc6ccf617e92560a84800f6a719cc5c6c8 | [
"MIT"
] | null | null | null | Modules/Search/binary_log.hxx | Hurna/Hurna-Lib | 61c267fc6ccf617e92560a84800f6a719cc5c6c8 | [
"MIT"
] | null | null | null | /*===========================================================================================================
*
* HUL - Hurna Lib
*
* Copyright (c) Michael Jeulin-Lagarrigue
*
* Licensed under the MIT License, you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | 31.832335 | 109 | 0.571482 | Hurna |
31125abc4fb8d5845287c0c3750e9053c61bd4b7 | 4,869 | cpp | C++ | Lib-ZeroG/src/ZeroG/metal/MetalCommandList.cpp | PetorSFZ/ZeroG | 0e3330c2877c3dd840f2a7864b5767d53a92b97d | [
"Zlib"
] | null | null | null | Lib-ZeroG/src/ZeroG/metal/MetalCommandList.cpp | PetorSFZ/ZeroG | 0e3330c2877c3dd840f2a7864b5767d53a92b97d | [
"Zlib"
] | null | null | null | Lib-ZeroG/src/ZeroG/metal/MetalCommandList.cpp | PetorSFZ/ZeroG | 0e3330c2877c3dd840f2a7864b5767d53a92b97d | [
"Zlib"
] | null | null | null | // Copyright (c) Peter Hillerström (skipifzero.com, peter@hstroem.se)
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
//
// Permission is granted to anyone to use this software for ... | 25.761905 | 99 | 0.783528 | PetorSFZ |
3112732b8811a4eeae7b5b91902208b0d3af7c6f | 1,933 | cpp | C++ | listas_PO/lista_1_1/src/Data.cpp | Tassany/Pesquisa_Operacional | 93890fef63dfd48a0e7867bf681ec01e05560fdc | [
"MIT"
] | null | null | null | listas_PO/lista_1_1/src/Data.cpp | Tassany/Pesquisa_Operacional | 93890fef63dfd48a0e7867bf681ec01e05560fdc | [
"MIT"
] | null | null | null | listas_PO/lista_1_1/src/Data.cpp | Tassany/Pesquisa_Operacional | 93890fef63dfd48a0e7867bf681ec01e05560fdc | [
"MIT"
] | null | null | null | #include "../include/Data.hpp"
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
Data::Data(char* filePath)
{
FILE* f = fopen(filePath,"r");
if(fscanf(f, "%d", &numCulturas) != 1)
{
printf("Problem while reading instance.1\n");
//exit(1);
}
//lendo limite do armazem ... | 19.72449 | 57 | 0.561304 | Tassany |
3113c3e5f164969cbf8a0db598b70c326f61d0e8 | 946 | cpp | C++ | src/homework/tic_tac_toe/main.cpp | acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-LeytonLL | 0c544a3fa189dec5da827efe70fccb9f395cbe7d | [
"MIT"
] | null | null | null | src/homework/tic_tac_toe/main.cpp | acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-LeytonLL | 0c544a3fa189dec5da827efe70fccb9f395cbe7d | [
"MIT"
] | null | null | null | src/homework/tic_tac_toe/main.cpp | acc-cosc-1337-fall-2019/acc-cosc-1337-fall-2019-LeytonLL | 0c544a3fa189dec5da827efe70fccb9f395cbe7d | [
"MIT"
] | null | null | null |
#include "tic_tac_toe_manager.h"
#include <tic_tac_toe_3.h>
#include <tic_tac_toe_4.h>
#include<iostream>
#include<string>
using std::cout;
using std::cin;
using std::string;
int main()
//tic TacToe3
{
auto response = 'y';
unique_ptr<TicTacToeManager> manager = std::make_unique<TicTacToeManager>();
string playe... | 14.119403 | 77 | 0.602537 | acc-cosc-1337-fall-2019 |
31144e77e5c551f0eb8ee46b48f92b7aeeb39097 | 844 | hpp | C++ | search/intersection_result.hpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | search/intersection_result.hpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | search/intersection_result.hpp | Dushistov/omim | e366dd2f7508dea305922d7bd91deea076fc4a58 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "search/model.hpp"
#include "std/cstdint.hpp"
#include "std/string.hpp"
namespace search
{
// This class holds higher-level features for an intersection result,
// i.e. BUILDING and STREET for POI or STREET for BUILDING.
struct IntersectionResult
{
static uint32_t const kInvalidId;
Interse... | 22.210526 | 73 | 0.735782 | Dushistov |
311bf9b19e24a8ed6bd79eebcea947eabb5ad94f | 4,237 | cpp | C++ | src/prim/hldr.cpp | 311Volt/axxegro | 61d7a1fb48f9bb581e0f4171d58499cf8c543728 | [
"MIT"
] | null | null | null | src/prim/hldr.cpp | 311Volt/axxegro | 61d7a1fb48f9bb581e0f4171d58499cf8c543728 | [
"MIT"
] | null | null | null | src/prim/hldr.cpp | 311Volt/axxegro | 61d7a1fb48f9bb581e0f4171d58499cf8c543728 | [
"MIT"
] | null | null | null | #include <axxegro/prim/hldr.hpp>
#include <allegro5/allegro.h>
#include <allegro5/allegro_primitives.h>
void al::DrawLine(
const al::Coord<>& a,
const al::Coord<>& b,
const Color& color,
float thickness
)
{
al_draw_line(a.x, a.y, b.x, b.y, color, thickness);
}
void al::DrawTriangle(
const a... | 17.654167 | 74 | 0.631579 | 311Volt |
311e8c41219d13fb2e697ba612e1d2f2a0d29ef6 | 13,683 | cpp | C++ | CS202/asmt01/asmt01.cpp | T-R0D/Past-Courses | 0edc83a7bf09515f0d01d23a26df2ff90c0f458a | [
"MIT"
] | 7 | 2017-03-13T17:32:26.000Z | 2021-09-27T16:51:22.000Z | CS202/asmt01/asmt01.cpp | T-R0D/Past-Courses | 0edc83a7bf09515f0d01d23a26df2ff90c0f458a | [
"MIT"
] | 1 | 2021-05-29T19:54:02.000Z | 2021-05-29T19:54:52.000Z | CS202/asmt01/asmt01.cpp | T-R0D/Past-Courses | 0edc83a7bf09515f0d01d23a26df2ff90c0f458a | [
"MIT"
] | 25 | 2016-10-18T03:31:44.000Z | 2020-12-29T13:23:10.000Z | /////////////////////////////////////////////////////////////////////////////////
//
// Title: asmt01: Sequence Processor
// Created By: Terence Henriod
// Course: CS 202
//
// This program processes a range of numbers using a conditional math sequence
// and outputs relevant data to .txt and .csv files.... | 27.311377 | 120 | 0.497186 | T-R0D |
311f77ac5a87b6e4a5958b9324f13d2d3fd0905e | 3,768 | hpp | C++ | include/gl/tone_mapping/segmentation_tmo_approx.hpp | ecarpita93/HPC_projet_1 | a2c00e056c03227711c43cf2ad23d75c6afbe698 | [
"Xnet",
"X11"
] | null | null | null | include/gl/tone_mapping/segmentation_tmo_approx.hpp | ecarpita93/HPC_projet_1 | a2c00e056c03227711c43cf2ad23d75c6afbe698 | [
"Xnet",
"X11"
] | null | null | null | include/gl/tone_mapping/segmentation_tmo_approx.hpp | ecarpita93/HPC_projet_1 | a2c00e056c03227711c43cf2ad23d75c6afbe698 | [
"Xnet",
"X11"
] | null | null | null | /*
PICCANTE
The hottest HDR imaging library!
http://vcg.isti.cnr.it/piccante
Copyright (C) 2014
Visual Computing Laboratory - ISTI CNR
http://vcg.isti.cnr.it
First author: Francesco Banterle
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed ... | 22.97561 | 92 | 0.568737 | ecarpita93 |
3120a5fd12929fd16cd8a0b29840088e4c5070a4 | 5,544 | hpp | C++ | libcore/src/network/ASIOConnectAndHandshake.hpp | ericruth/sirikata | 9b4cad53b9bef46d318d52581d489d691b6f9e58 | [
"BSD-3-Clause"
] | 1 | 2016-05-09T11:45:31.000Z | 2016-05-09T11:45:31.000Z | libcore/src/network/ASIOConnectAndHandshake.hpp | mullwaden/sirikata | bedcf22c97f733d82bffcd787f21c25b4e6710ed | [
"BSD-3-Clause"
] | null | null | null | libcore/src/network/ASIOConnectAndHandshake.hpp | mullwaden/sirikata | bedcf22c97f733d82bffcd787f21c25b4e6710ed | [
"BSD-3-Clause"
] | null | null | null | /* Sirikata Network Utilities
* ASIOConnectAndHandshake.hpp
*
* Copyright (c) 2009, Daniel Reiter Horn
* 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 sou... | 56.571429 | 161 | 0.696789 | ericruth |
3120b4168fba48e658841be45de6c8c54eaaa1f9 | 733 | cpp | C++ | code-examples/lab_k28c_15_09_20_oop.cpp | kzhereb/knu-ips-ooop-2020-2021 | 777b4a847a537510048fd582eda0816ce05db4b5 | [
"MIT"
] | null | null | null | code-examples/lab_k28c_15_09_20_oop.cpp | kzhereb/knu-ips-ooop-2020-2021 | 777b4a847a537510048fd582eda0816ce05db4b5 | [
"MIT"
] | 34 | 2021-03-25T08:28:26.000Z | 2021-05-20T13:12:48.000Z | code-examples/lab_k28c_15_09_20_oop.cpp | kzhereb/knu-ips-ooop-2020-2021 | 777b4a847a537510048fd582eda0816ce05db4b5 | [
"MIT"
] | 1 | 2020-09-28T12:58:26.000Z | 2020-09-28T12:58:26.000Z | /*
* lab_k28c_15_09_20_oop.cpp
*
* Created on: Sep 15, 2020
* Author: KZ
*/
#include "doctest.h"
#include <string>
class Human {
private:
double height; // in cm
double weight; // in kg
std::string name;
public:
Human(double height, double weight, std::string name): height{height}, ... | 20.942857 | 103 | 0.645293 | kzhereb |
3123d0de4593afdd3f0fc78caa3d17a61514359a | 2,788 | cc | C++ | gutil/barrier_cpp11.cc | mfkiwl/cvkit | 38dce78aa32a2607577973fe7af8d9d0e3ef0923 | [
"BSD-3-Clause"
] | 230 | 2017-03-08T04:47:16.000Z | 2022-03-04T16:35:10.000Z | gutil/barrier_cpp11.cc | mfkiwl/cvkit | 38dce78aa32a2607577973fe7af8d9d0e3ef0923 | [
"BSD-3-Clause"
] | 18 | 2017-11-21T21:56:11.000Z | 2021-12-14T06:05:03.000Z | gutil/barrier_cpp11.cc | mfkiwl/cvkit | 38dce78aa32a2607577973fe7af8d9d0e3ef0923 | [
"BSD-3-Clause"
] | 61 | 2017-03-12T19:32:23.000Z | 2022-03-01T07:38:39.000Z | /*
* This file is part of the Computer Vision Toolkit (cvkit).
*
* Author: Heiko Hirschmueller
*
* Copyright (c) 2020 Roboception GmbH
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... | 24.243478 | 80 | 0.689742 | mfkiwl |
3124ad00a21443fa67c5c606c398bfe5cd9d957c | 7,321 | cpp | C++ | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_WaveformDisplay.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_WaveformDisplay.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/jura_framework/gui/panels/jura_WaveformDisplay.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z |
//-------------------------------------------------------------------------------------------------
// construction/destruction:
WaveformDisplay::WaveformDisplay(AudioFileBuffer *newBuffer)
: InteractiveCoordinateSystem("WaveformDisplay"), AudioFileBufferUser(newBuffer)
{
ScopedLock pointerLock(audioFileBufferPoint... | 31.692641 | 102 | 0.657014 | RobinSchmidt |
3124b9703540d2b0d976ae3e7c1f2238c0a049d9 | 630 | cpp | C++ | LeetCode/1000/812.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/1000/812.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/1000/812.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
int cross(int x1, int y1, int x2, int y2) { return x1 * y2 - x2 * y1; }
double largestTriangleArea(vector<vector<int>>& points) {
double res = 0;
for (int i = 0; i < points.size(); i++) {
for (int j = i + 1; j < points.size(); j++) {
for (int k = j + 1; k < points.siz... | 33.157895 | 73 | 0.474603 | K-ona |
3125fd3d0369289349e3de0ea4dde1efd2eac79b | 15,526 | cpp | C++ | Source/Lib/Uncompressed/WAV/WAV.cpp | g-maxime/RAWCooked | 6b2ef51208a6b23822560112b024bdc2d3f595b0 | [
"BSD-2-Clause"
] | null | null | null | Source/Lib/Uncompressed/WAV/WAV.cpp | g-maxime/RAWCooked | 6b2ef51208a6b23822560112b024bdc2d3f595b0 | [
"BSD-2-Clause"
] | null | null | null | Source/Lib/Uncompressed/WAV/WAV.cpp | g-maxime/RAWCooked | 6b2ef51208a6b23822560112b024bdc2d3f595b0 | [
"BSD-2-Clause"
] | null | null | null | /* Copyright (c) MediaArea.net SARL & AV Preservation by reto.ch.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//---------------------------------------------------------------------------
#include "Lib/Unco... | 30.265107 | 118 | 0.51797 | g-maxime |
312791034812c6809945ca4b7f033363c0df0ae7 | 2,756 | cpp | C++ | 18_lab/main.cpp | TimmiJK/2021-spring-polytech-cpp | 1e957a2619e5c61f1dc1b7941ffae5d70b86870c | [
"MIT"
] | 6 | 2021-02-08T15:26:20.000Z | 2021-03-22T10:19:07.000Z | 18_lab/main.cpp | TimmiJK/2021-spring-polytech-cpp | 1e957a2619e5c61f1dc1b7941ffae5d70b86870c | [
"MIT"
] | 11 | 2021-02-09T06:41:50.000Z | 2021-04-18T08:36:32.000Z | 18_lab/main.cpp | TimmiJK/2021-spring-polytech-cpp | 1e957a2619e5c61f1dc1b7941ffae5d70b86870c | [
"MIT"
] | 48 | 2021-02-03T18:28:55.000Z | 2021-05-24T18:54:14.000Z | // Напишите программу, используя технику TDD. Реализуйте калькулятор,
// поддерживающий операции: +, -, *, /. Проверьте тестами свойства операций
// и законы элементарной алгебры.
#include <cassert>
enum class Command {
Add,
Sub,
Mul,
Div
};
double calc(enum class Command operation, double x, double ... | 30.285714 | 91 | 0.527213 | TimmiJK |
3129be97eea2a7d5b651ef849823a159f0d5711b | 5,935 | cpp | C++ | SourceFile/SearchSystem.cpp | hsu0602/oop_final_project | 53feacddaf7c5abb0b09c83ba9390f047b8fb5c8 | [
"MIT"
] | null | null | null | SourceFile/SearchSystem.cpp | hsu0602/oop_final_project | 53feacddaf7c5abb0b09c83ba9390f047b8fb5c8 | [
"MIT"
] | null | null | null | SourceFile/SearchSystem.cpp | hsu0602/oop_final_project | 53feacddaf7c5abb0b09c83ba9390f047b8fb5c8 | [
"MIT"
] | null | null | null | #include <iostream>
#include "../HeaderFile/SearchSystem.h"
#include "../HeaderFile/FileConnector.h"
#include "../HeaderFile/ConvertorOfTimeAndString.h"
//return the goodInventory of tech input id
GoodInventory SearchSystem::findInventoryById(int input_id){
FileConnector file("Inventory.csv");
file.search("id"... | 35.327381 | 152 | 0.648526 | hsu0602 |
312a3aa1d9be22370491ec2085c1fd6baa85b9df | 1,019 | cpp | C++ | Paladin/Templates/Sample HaikuFortune/App.cpp | humdingerb/Paladin | ef42b060656833f2887241c809690b263ddf2852 | [
"MIT"
] | 45 | 2018-10-05T21:50:17.000Z | 2022-01-31T11:52:59.000Z | Paladin/Templates/Sample HaikuFortune/App.cpp | humdingerb/Paladin | ef42b060656833f2887241c809690b263ddf2852 | [
"MIT"
] | 163 | 2018-10-01T23:52:12.000Z | 2022-02-15T18:05:58.000Z | Paladin/Templates/Sample HaikuFortune/App.cpp | humdingerb/Paladin | ef42b060656833f2887241c809690b263ddf2852 | [
"MIT"
] | 9 | 2018-10-01T23:48:02.000Z | 2022-01-23T21:28:52.000Z | #include "App.h"
#include <FindDirectory.h>
#include <OS.h>
#include <Path.h>
#include <stdlib.h>
#include "FortuneFunctions.h"
#include "MainWindow.h"
App::App(void)
: BApplication("application/x-vnd.test-HaikuFortune")
{
BPath path;
// We have to use an #ifdef here because the fortune files under R5
// and ... | 20.795918 | 73 | 0.701668 | humdingerb |
312b59b41269d179c28f1161a79d007df5d067aa | 710 | hpp | C++ | external/boost_1_60_0/qsboost/config/abi_prefix.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | 1 | 2019-06-27T17:54:13.000Z | 2019-06-27T17:54:13.000Z | external/boost_1_60_0/qsboost/config/abi_prefix.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | external/boost_1_60_0/qsboost/config/abi_prefix.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | // abi_prefix header -------------------------------------------------------//
// (c) Copyright John Maddock 2003
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
#ifndef Q... | 27.307692 | 80 | 0.71831 | wouterboomsma |
312b616126ca8b4a9c023a4b2f9327f3db395ce7 | 1,775 | cpp | C++ | boj/gold/1753.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | null | null | null | boj/gold/1753.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | null | null | null | boj/gold/1753.cpp | pseudowasabi/Resolucion-de-problemas | 47164c106d666aa07a48b8c2909a3d81f26d3dc9 | [
"MIT"
] | 1 | 2020-03-14T10:58:54.000Z | 2020-03-14T10:58:54.000Z | // basic dijkstra algorithm
#include <iostream>
#include <queue>
#include <cstring>
#include <utility>
using namespace std;
int v, e;
int stp;
class Edge {
public:
Edge *next_one;
int from, to, weight;
bool checked;
Edge() {
next_one = nullptr;
from = to = weight = 0;
checked =... | 22.1875 | 82 | 0.502535 | pseudowasabi |
312c1a31a41e87631e38e0111c20f9c1c2f82adb | 1,876 | hpp | C++ | cpp-learn3d/Render.hpp | robotjunkyard/cl-learn3d | 040207b06117f7a6a9d5bd5f120c6209aa1157f5 | [
"MIT"
] | null | null | null | cpp-learn3d/Render.hpp | robotjunkyard/cl-learn3d | 040207b06117f7a6a9d5bd5f120c6209aa1157f5 | [
"MIT"
] | null | null | null | cpp-learn3d/Render.hpp | robotjunkyard/cl-learn3d | 040207b06117f7a6a9d5bd5f120c6209aa1157f5 | [
"MIT"
] | null | null | null | #pragma once
#include "Camera.hpp"
#include "CanvasDef.hpp"
#include "Mat.hpp"
#include "Mesh.hpp"
#include "Vec.hpp"
class Render {
public:
static void drawFlat3DTriangle(Canvas& canvas, const Camera& camera, byte color,
const Vec3& v1, const Vec3& v2, const Vec3& v3,
... | 50.702703 | 120 | 0.471748 | robotjunkyard |
312cf02700c3c23390d3f7831f61df23645de5c8 | 3,303 | cpp | C++ | WebCore/Source/WTF/wtf/win/MemoryPressureHandlerWin.cpp | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | 1 | 2020-05-25T16:06:49.000Z | 2020-05-25T16:06:49.000Z | WebLayoutCore/Source/WTF/wtf/win/MemoryPressureHandlerWin.cpp | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | null | null | null | WebLayoutCore/Source/WTF/wtf/win/MemoryPressureHandlerWin.cpp | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | 1 | 2018-07-10T10:53:18.000Z | 2018-07-10T10:53:18.000Z | /*
* Copyright (C) 2015 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 31.457143 | 124 | 0.749924 | gubaojian |
3130dec63c6ed3ea7d09939c4155147cab0423dc | 339 | hpp | C++ | include/kaphein/RangeException.hpp | Hydrawisk793/karbonator-cplusplus | 78c39ff5a126ad3aa90da55b3d595d66ec12e002 | [
"MIT"
] | 1 | 2017-12-26T03:00:40.000Z | 2017-12-26T03:00:40.000Z | include/kaphein/RangeException.hpp | Hydrawisk793/kaphein-cplusplus | 78c39ff5a126ad3aa90da55b3d595d66ec12e002 | [
"MIT"
] | null | null | null | include/kaphein/RangeException.hpp | Hydrawisk793/kaphein-cplusplus | 78c39ff5a126ad3aa90da55b3d595d66ec12e002 | [
"MIT"
] | null | null | null | #ifndef KAPHEIN_RANGEEXCEPTION_HPP
#define KAPHEIN_RANGEEXCEPTION_HPP
#include "pp/basic.hpp"
#include "Exception.hpp"
namespace kaphein
{
/**
* @since 2014-03-23
*/
class
KAPHEIN_ATTRIBUTE_DLL_API
RangeException
: public Exception
{
public:
virtual ~RangeException()... | 14.73913 | 34 | 0.648968 | Hydrawisk793 |
31311eea9a0ba1c9b6fa1cfb3556a44ce0190460 | 664 | cpp | C++ | kevald/communication/buffer_deserializer.cpp | SilverTuxedo/keval | 73e2ccd5cbdf0cc7fc167711cde60be783e8dfe7 | [
"MIT"
] | 34 | 2021-09-17T16:17:58.000Z | 2022-03-11T06:23:21.000Z | kevald/communication/buffer_deserializer.cpp | fengjixuchui/keval | 73e2ccd5cbdf0cc7fc167711cde60be783e8dfe7 | [
"MIT"
] | null | null | null | kevald/communication/buffer_deserializer.cpp | fengjixuchui/keval | 73e2ccd5cbdf0cc7fc167711cde60be783e8dfe7 | [
"MIT"
] | 4 | 2021-09-17T19:39:29.000Z | 2022-03-10T07:06:43.000Z | #include "buffer_deserializer.h"
namespace keval::communication {
BufferDeserializer::BufferDeserializer(const std::span<std::byte>& source, size_t startPosition)
: m_position(source.data() + startPosition)
, m_end(source.data() + source.size_bytes())
{}
void BufferDeserializer::ignore(size_t count)
{
au... | 21.419355 | 96 | 0.713855 | SilverTuxedo |
3132fc26d8801af1baa8b3ae4d13f42bed8d8cbe | 34,407 | cpp | C++ | src/Ligg.SeqExec/main.cpp | Liggin2019/Ligg.SeqExec | f4d770a6ed50aa0874b6aa410d54074cd1251fa5 | [
"Apache-2.0"
] | 2 | 2019-10-29T05:15:03.000Z | 2019-11-01T18:18:02.000Z | src/Ligg.SeqExec/main.cpp | ligg2018/Ligg.SeqExec | 677d4bcca3b809443b9100cfa9bdf8cb49f96777 | [
"Apache-2.0"
] | null | null | null | src/Ligg.SeqExec/main.cpp | ligg2018/Ligg.SeqExec | 677d4bcca3b809443b9100cfa9bdf8cb49f96777 | [
"Apache-2.0"
] | 1 | 2019-11-01T18:18:03.000Z | 2019-11-01T18:18:03.000Z |
// includes
#include <windows.h>
//for _ASSERTE
#include <crtdbg.h>
#include <tchar.h>
#include <stdio.h>
#include "lm.h"
#include "CSingleInstance.hxx" // CSingleInstance implementation
#include "CError.h" // CError definition
#include "resource.h" // string defines
#include "SetupCodes.h" ... | 25.869925 | 145 | 0.630773 | Liggin2019 |
313b5e3b56046814191534bd5353030f4f486fff | 5,146 | cpp | C++ | Code/Framework/AzFramework/Tests/Application.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-12T14:13:45.000Z | 2022-03-12T14:13:45.000Z | Code/Framework/AzFramework/Tests/Application.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 3 | 2021-09-08T03:41:27.000Z | 2022-03-12T01:01:29.000Z | Code/Framework/AzFramework/Tests/Application.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "FrameworkApplicationFixture.h"
#include <AzCore/IO/FileIO.h>
#include <AzCore/Settings/S... | 34.306667 | 127 | 0.753401 | cypherdotXd |
313da241fb30591a9e491199f641f7687654c555 | 965 | cpp | C++ | codeforces.ru/cf277.5/c.cpp | bolatov/contests | 39654ec36e1b7ff62052e324428141a9564fd576 | [
"MIT"
] | null | null | null | codeforces.ru/cf277.5/c.cpp | bolatov/contests | 39654ec36e1b7ff62052e324428141a9564fd576 | [
"MIT"
] | null | null | null | codeforces.ru/cf277.5/c.cpp | bolatov/contests | 39654ec36e1b7ff62052e324428141a9564fd576 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
bool can(int m, int s)
{
return s >= 0 && s <= 9 * m;
}
int main(int argc, char const *argv[])
{
int m,s;
cin >> m >> s;
int sum = s, sum2 = s;
string minn = "", maxx = "";
for (int i = 0; i < m; i++)
fo... | 19.693878 | 82 | 0.325389 | bolatov |
313e42da19b38f3850df4ebbbda12e102a8dc432 | 420 | inl | C++ | third-party/cuMatExt/cuMatLogging.inl | shamanDevel/SparseSurfaceConstraints | 88357ff847369a45b9f16f9f44159196138f9147 | [
"MIT"
] | 16 | 2020-03-08T18:28:27.000Z | 2022-02-13T20:32:56.000Z | third-party/cuMatExt/cuMatLogging.inl | shamanDevel/SparseSurfaceConstraints | 88357ff847369a45b9f16f9f44159196138f9147 | [
"MIT"
] | null | null | null | third-party/cuMatExt/cuMatLogging.inl | shamanDevel/SparseSurfaceConstraints | 88357ff847369a45b9f16f9f44159196138f9147 | [
"MIT"
] | 3 | 2020-03-26T01:54:31.000Z | 2020-11-18T13:32:46.000Z | //This file should never be included directly,
//rather, a preprocessing macro
// CUMAT_LOGGING_PLUGIN="#include "cuMatLogging.inl""
//should be defined globally
#include <cinder/app/AppBase.h>
#define CUMAT_LOG_DEBUG(...) CINDER_LOG_I(__VA_ARGS__)
#define CUMAT_LOG_INFO(...) CINDER_LOG_I(__VA_ARGS__)
#define CUMAT... | 35 | 56 | 0.783333 | shamanDevel |
31410c8491c5c51571bb9c7f467cd97df0e9483d | 240 | cpp | C++ | 1177.cpp | fenatan/URI-Online-Judge | 983cadd364e658cdebcbc2c0165e8f54e023a823 | [
"MIT"
] | null | null | null | 1177.cpp | fenatan/URI-Online-Judge | 983cadd364e658cdebcbc2c0165e8f54e023a823 | [
"MIT"
] | null | null | null | 1177.cpp | fenatan/URI-Online-Judge | 983cadd364e658cdebcbc2c0165e8f54e023a823 | [
"MIT"
] | null | null | null | #include <stdio.h>
int main(){
int t, cont;
scanf("%d", &t);
cont = 0;
for(int i =0; i < 1000; i++){
printf("N[%d] = %d\n", i,cont);
cont++;
if(cont == t)
cont = 0;
}
return 0;
}
| 16 | 39 | 0.383333 | fenatan |
31456f3d1416156987e215907a737654e51918fa | 765 | hpp | C++ | src/sandbox/ProgramArgs.hpp | maxisoft/sandboxtank | ee1f37e3bda3dc27c8dfa64630166eed8a1af08d | [
"MIT"
] | null | null | null | src/sandbox/ProgramArgs.hpp | maxisoft/sandboxtank | ee1f37e3bda3dc27c8dfa64630166eed8a1af08d | [
"MIT"
] | 3 | 2020-08-30T09:10:53.000Z | 2020-08-30T09:41:57.000Z | src/sandbox/ProgramArgs.hpp | maxisoft/sandboxtank | ee1f37e3bda3dc27c8dfa64630166eed8a1af08d | [
"MIT"
] | 1 | 2021-09-23T00:34:13.000Z | 2021-09-23T00:34:13.000Z | #pragma once
#include <cassert>
#include <filesystem>
#include <array>
#include <optional>
#include <map>
#include <vector>
#include <tchar.h>
#include <cstdio>
namespace maxisoft::sandbox
{
struct ProgramArgs
{
size_t argc;
std::filesystem::path program;
std::filesystem::path config;... | 22.5 | 85 | 0.657516 | maxisoft |
3145cadf23c84620a0bd3646fac1549fbc8ea499 | 2,434 | cpp | C++ | PhysXEvents.cpp | elix22/Urho3DPhysX | 4f0a21e76ab4aa1779e273cfe64122699e08f5bc | [
"MIT"
] | 8 | 2019-08-21T09:23:36.000Z | 2021-12-23T07:07:57.000Z | PhysXEvents.cpp | elix22/Urho3DPhysX | 4f0a21e76ab4aa1779e273cfe64122699e08f5bc | [
"MIT"
] | 2 | 2019-08-21T13:58:08.000Z | 2019-08-25T11:57:29.000Z | PhysXEvents.cpp | elix22/Urho3DPhysX | 4f0a21e76ab4aa1779e273cfe64122699e08f5bc | [
"MIT"
] | 6 | 2019-08-18T20:54:15.000Z | 2020-08-11T02:35:37.000Z | #include "PhysXEvents.h"
#include "Physics.h"
#include "PhysXScene.h"
#include "RigidActor.h"
#include "KinematicController.h"
#include <Urho3D/IO/Log.h>
Urho3DPhysX::ErrorCallback::ErrorCallback(Physics* physics) :
physics_(physics)
{
}
Urho3DPhysX::ErrorCallback::~ErrorCallback()
{
}
void Urho3DPhysX::ErrorCallbac... | 23.631068 | 143 | 0.768694 | elix22 |
31466ca33813793ae064846b15401a505b804744 | 1,349 | hpp | C++ | src/img_set.hpp | yytdfc/libtorch-mnasnet | f7f025bdcaa3f2a1654b4ad5786a91f6179bf3c5 | [
"MIT"
] | 1 | 2019-02-05T16:40:29.000Z | 2019-02-05T16:40:29.000Z | src/img_set.hpp | yytdfc/libtorch-mnasnet | f7f025bdcaa3f2a1654b4ad5786a91f6179bf3c5 | [
"MIT"
] | null | null | null | src/img_set.hpp | yytdfc/libtorch-mnasnet | f7f025bdcaa3f2a1654b4ad5786a91f6179bf3c5 | [
"MIT"
] | null | null | null | #include <torch/data/datasets/base.h>
#include <torch/data/example.h>
#include <torch/types.h>
class ImgSet : public Dataset<ImgSet> {
public:
/// The mode in which the dataset is loaded.
enum class Mode { kTrain, kTest };
/// Loads the MNIST dataset from the `root` path.
///
/// The supplied `... | 28.702128 | 77 | 0.644922 | yytdfc |
3149634d70ee92dca8decb62f5436e91c12b97c1 | 648 | cpp | C++ | Strings_Equalization.cpp | De-Fau-Lt/Solutions | 2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5 | [
"MIT"
] | null | null | null | Strings_Equalization.cpp | De-Fau-Lt/Solutions | 2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5 | [
"MIT"
] | null | null | null | Strings_Equalization.cpp | De-Fau-Lt/Solutions | 2539f815ab5c77769b3e3cc00fe0e7a7ec940ad5 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
string s, t;
cin >> s >> t;
unordered_set<char> s1;
unordered_set<char> s2;
for (auto x : s)
s1.insert(x);
for (auto x : t)
... | 18.514286 | 57 | 0.322531 | De-Fau-Lt |
314c19cf96e993d4dd52f21620fe9e7c190a4614 | 2,249 | hpp | C++ | src/c4/hash.hpp | leoetlino/c4core | cfd3060287aa1d8bf0f4de7c427d2fab0f816bd1 | [
"MIT"
] | 3 | 2020-09-29T06:20:20.000Z | 2021-12-20T15:20:45.000Z | src/c4/hash.hpp | leoetlino/c4core | cfd3060287aa1d8bf0f4de7c427d2fab0f816bd1 | [
"MIT"
] | null | null | null | src/c4/hash.hpp | leoetlino/c4core | cfd3060287aa1d8bf0f4de7c427d2fab0f816bd1 | [
"MIT"
] | 2 | 2020-10-09T08:14:38.000Z | 2020-11-22T16:48:32.000Z | #ifndef _C4_HASH_HPP_
#define _C4_HASH_HPP_
#include "c4/config.hpp"
#include <climits>
/** @file hash.hpp */
/** @defgroup hash Hash utils
* @see http://aras-p.info/blog/2016/08/02/Hash-Functions-all-the-way-down/ */
C4_BEGIN_NAMESPACE(c4)
C4_BEGIN_NAMESPACE(detail)
/** @internal
* @ingroup hash
* @see this w... | 23.427083 | 96 | 0.678968 | leoetlino |
314c654635e645dde3a91ba4ad5a0d5d348d2b75 | 5,253 | cpp | C++ | source/geometry/GeometryPooling3D.cpp | WillTao-RD/MNN | 48575121859093bab8468d6992596962063b7aff | [
"Apache-2.0"
] | 2 | 2020-12-15T13:56:31.000Z | 2022-01-26T03:20:28.000Z | source/geometry/GeometryPooling3D.cpp | qaz734913414/MNN | a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d | [
"Apache-2.0"
] | null | null | null | source/geometry/GeometryPooling3D.cpp | qaz734913414/MNN | a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d | [
"Apache-2.0"
] | 1 | 2021-11-24T06:26:27.000Z | 2021-11-24T06:26:27.000Z | //
// GeometryPooling3D.cpp
// MNN
//
// Created by MNN on 2020/7/28.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "ConvertUtils.hpp"
#include "geometry/GeometryComputer.hpp"
#include "core/OpCommonUtils.hpp"
#include "geometry/GeometryComputerUtils.hpp"
namespace MNN {
class GeometryPooling3D :... | 52.009901 | 218 | 0.665905 | WillTao-RD |
315125966bd503336d33f24b102415ee0c389169 | 3,355 | cpp | C++ | AutoCompleteComboBox.cpp | joeriedel/Tread3.0A2 | 337c4aa74d554e21b50d6bd4406ce0f67aa39144 | [
"MIT"
] | 1 | 2020-07-19T10:19:18.000Z | 2020-07-19T10:19:18.000Z | AutoCompleteComboBox.cpp | joeriedel/Tread3.0A2 | 337c4aa74d554e21b50d6bd4406ce0f67aa39144 | [
"MIT"
] | null | null | null | AutoCompleteComboBox.cpp | joeriedel/Tread3.0A2 | 337c4aa74d554e21b50d6bd4406ce0f67aa39144 | [
"MIT"
] | null | null | null | // ComboBoxEx.cpp : implementation file
//
// Autocompleting combo-box (like the URL edit box in netscape)
//
// Written by Chris Maunder (Chris.Maunder@cbr.clw.csiro.au)
// Copyright (c) 1998.
//
// This code may be used in compiled form in any way you desire. This
// file may be redistributed unmodified by any means ... | 29.955357 | 80 | 0.668554 | joeriedel |
3153e009a72700cb3dd8943ee0734bddeb83e78c | 2,897 | hxx | C++ | src/dbl/service/server/service_connection.hxx | mcptr/dbl-service | 9af5aee06be0a4b909782b251bf6078513399d33 | [
"MIT"
] | null | null | null | src/dbl/service/server/service_connection.hxx | mcptr/dbl-service | 9af5aee06be0a4b909782b251bf6078513399d33 | [
"MIT"
] | null | null | null | src/dbl/service/server/service_connection.hxx | mcptr/dbl-service | 9af5aee06be0a4b909782b251bf6078513399d33 | [
"MIT"
] | 1 | 2018-10-09T06:30:03.000Z | 2018-10-09T06:30:03.000Z | #ifndef DBL_SERVICE_SERVER_SERVICE_CONNECTION_HXX
#define DBL_SERVICE_SERVER_SERVICE_CONNECTION_HXX
#include "connection.hxx"
#include "dbl/auth/auth.hxx"
#include "dbl/types/types.hxx"
#include <memory>
namespace dbl {
namespace service {
namespace server {
class ServiceOperationError : public std::runtime_error
{... | 20.692857 | 57 | 0.722126 | mcptr |
3157f68bbb610485664b1c94a911623fb91d84c2 | 487 | cpp | C++ | WeatherViewer/main.cpp | ajstacher/CST276SRS01 | bea416c7479cc590ff09d48dbe695ba1b07edb03 | [
"MIT"
] | null | null | null | WeatherViewer/main.cpp | ajstacher/CST276SRS01 | bea416c7479cc590ff09d48dbe695ba1b07edb03 | [
"MIT"
] | null | null | null | WeatherViewer/main.cpp | ajstacher/CST276SRS01 | bea416c7479cc590ff09d48dbe695ba1b07edb03 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "station.h"
#include "current.h"
#include "statistics.h"
int main()
{
//for rand() in station
srand(time(NULL));
//create
WeatherStation::Station weather_station;
//attached upon construction
WeatherViewer::Current current_weather(weather_station);
WeatherViewer::Statistics stati... | 18.037037 | 57 | 0.716632 | ajstacher |
315cf13b69139c74025cb55f352c9a780dddeac3 | 3,955 | cc | C++ | components/ntp_snippets/remote/remote_suggestions_status_service.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/ntp_snippets/remote/remote_suggestions_status_service.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/ntp_snippets/remote/remote_suggestions_status_service.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/ntp_snippets/remote/remote_suggestions_status_service.h"
#include <string>
#include "components/ntp_snippets/features.h"
#include "... | 34.692982 | 77 | 0.763338 | google-ar |
316002e48643abdc8582e51b55bed3dc64dc6876 | 16,859 | cpp | C++ | opengl/src/Rendering/ImageEffects/DepthOfFieldImageEffect.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 36 | 2015-03-12T10:42:36.000Z | 2022-01-12T04:20:40.000Z | opengl/src/Rendering/ImageEffects/DepthOfFieldImageEffect.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 1 | 2015-12-17T00:25:43.000Z | 2016-02-20T12:00:57.000Z | opengl/src/Rendering/ImageEffects/DepthOfFieldImageEffect.cpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 6 | 2017-06-17T07:57:53.000Z | 2019-04-09T21:11:24.000Z | /*
* Copyright (c) 2013, Hernan Saez
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of cond... | 40.722222 | 155 | 0.690314 | hhsaez |
3167bcf9b71fd04f17176a61cef538a2ad9f636c | 7,910 | cpp | C++ | cpp/src/cylon/util/murmur3.cpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 229 | 2020-07-01T14:05:10.000Z | 2022-03-25T12:26:58.000Z | cpp/src/cylon/util/murmur3.cpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 261 | 2020-06-30T23:23:15.000Z | 2022-03-16T09:55:40.000Z | cpp/src/cylon/util/murmur3.cpp | deHasara/cylon | f5e31a1191d6a30c0a8c5778a7db4a07c5802da8 | [
"Apache-2.0"
] | 36 | 2020-06-30T23:14:52.000Z | 2022-03-03T02:37:09.000Z | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | 24.042553 | 84 | 0.525032 | deHasara |
3168e4a09c0e78c678ed89b72d7f03167fa4ac03 | 4,186 | cpp | C++ | src/MResProvider_Textures.cpp | viktorcpp/endless2.0save | 9824aebd56346f1b9526b730063b84918bd6ac08 | [
"MIT"
] | null | null | null | src/MResProvider_Textures.cpp | viktorcpp/endless2.0save | 9824aebd56346f1b9526b730063b84918bd6ac08 | [
"MIT"
] | null | null | null | src/MResProvider_Textures.cpp | viktorcpp/endless2.0save | 9824aebd56346f1b9526b730063b84918bd6ac08 | [
"MIT"
] | null | null | null |
namespace endless
{
//MResProvider_Textures
void MResProvider_Textures::Load( MTexture::TextureInternalData::Component& comp, const char* path )
{
if( path == 0 )
{
LOGE( "%s : path == 0", __FUNCTION__ );
return;
}
std::string _er... | 37.711712 | 128 | 0.605351 | viktorcpp |
3168fefb5f1222fdcea6c08eb2d03c2e93d7a926 | 1,148 | hpp | C++ | src/FCFS.hpp | zwimer/CPU-Simulator | 9e2e52a17e01258d36ac2780fb342319b922ca10 | [
"MIT"
] | null | null | null | src/FCFS.hpp | zwimer/CPU-Simulator | 9e2e52a17e01258d36ac2780fb342319b922ca10 | [
"MIT"
] | null | null | null | src/FCFS.hpp | zwimer/CPU-Simulator | 9e2e52a17e01258d36ac2780fb342319b922ca10 | [
"MIT"
] | null | null | null | /* Operating Systems Project 1
* Alex Slanski, Owen Stenson, Zac Wimer
*/
#ifndef FCFS_hpp
#define FCFS_hpp
//My includes
#include "Algo.hpp"
//System includes
#include <set>
#include <list>
//FCFS algorithm class
class FCFS : public Algo {
private:
//Representation
bool ProcessRunning;
uint... | 20.5 | 62 | 0.649826 | zwimer |
3169678165a9a86ed8a9c281b07f7acef6a94a72 | 16,593 | cpp | C++ | src/ossim/imaging/ossimConvolutionSource.cpp | rkanavath/ossim18 | d2e8204d11559a6a868755a490f2ec155407fa96 | [
"MIT"
] | null | null | null | src/ossim/imaging/ossimConvolutionSource.cpp | rkanavath/ossim18 | d2e8204d11559a6a868755a490f2ec155407fa96 | [
"MIT"
] | null | null | null | src/ossim/imaging/ossimConvolutionSource.cpp | rkanavath/ossim18 | d2e8204d11559a6a868755a490f2ec155407fa96 | [
"MIT"
] | 1 | 2019-09-25T00:43:35.000Z | 2019-09-25T00:43:35.000Z | // Copyright (C) 2000 ImageLinks Inc.
//
// License: MIT
//
// See LICENSE.txt file in the top level directory for more details.
//
// Author: Garrett Potts
//
//*******************************************************************
// $Id: ossimConvolutionSource.cpp 23664 2015-12-14 14:17:27Z dburken $
#include <ossi... | 31.426136 | 124 | 0.560779 | rkanavath |
316a2329329f475ebcc44926f2c66907e487279d | 2,748 | cpp | C++ | src/VAC/SaveAndLoad.cpp | Qt-Widgets/vpaint | 6b1bf57e3c239194443f7284adfd5c5326cd1bf2 | [
"ECL-2.0",
"Apache-2.0"
] | 697 | 2015-08-08T09:27:02.000Z | 2022-03-25T04:38:29.000Z | src/VAC/SaveAndLoad.cpp | Qt-Widgets/vpaint | 6b1bf57e3c239194443f7284adfd5c5326cd1bf2 | [
"ECL-2.0",
"Apache-2.0"
] | 125 | 2015-08-09T08:45:42.000Z | 2022-03-31T11:26:16.000Z | src/VAC/SaveAndLoad.cpp | Qt-Widgets/vpaint | 6b1bf57e3c239194443f7284adfd5c5326cd1bf2 | [
"ECL-2.0",
"Apache-2.0"
] | 64 | 2015-08-09T10:34:34.000Z | 2022-01-03T18:01:57.000Z | // Copyright (C) 2012-2019 The VPaint Developers.
// See the COPYRIGHT file at the top-level directory of this distribution
// and at https://github.com/dalboris/vpaint/blob/master/COPYRIGHT
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the ... | 18.951724 | 75 | 0.598981 | Qt-Widgets |
316a3eecc38ef16cafa9b1a22e75b52fdfa2592c | 8,707 | cpp | C++ | tests/Console/main.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 13 | 2017-03-21T22:46:18.000Z | 2020-07-30T01:31:57.000Z | tests/Console/main.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | null | null | null | tests/Console/main.cpp | LukasBanana/ForkENGINE | 8b575bd1d47741ad5025a499cb87909dbabc3492 | [
"BSD-3-Clause"
] | 2 | 2018-07-23T19:56:41.000Z | 2020-07-30T01:32:01.000Z |
// ForkENGINE: Console Test
// 25/02/2014
#include <fengine/core.h>
#include <fengine/using.h>
#include <iostream>
using namespace std;
using namespace Fork;
class MyLogEventHandler : public IO::Console::LogEventHandler
{
public:
void OnPrintLn(const std::string& indent, const std::string& message, cons... | 29.023333 | 139 | 0.58206 | LukasBanana |
316a5316001f07e932360a93d7d4f450c480cb9d | 8,535 | cpp | C++ | torch/csrc/jit/codegen/cuda/lower_loops.cpp | sanchitintel/pytorch | 416f59308023b5d98f6ea4ecdd0bcd3829edb7a7 | [
"Intel"
] | 60,067 | 2017-01-18T17:21:31.000Z | 2022-03-31T21:37:45.000Z | torch/csrc/jit/codegen/cuda/lower_loops.cpp | sanchitintel/pytorch | 416f59308023b5d98f6ea4ecdd0bcd3829edb7a7 | [
"Intel"
] | 66,955 | 2017-01-18T17:21:38.000Z | 2022-03-31T23:56:11.000Z | torch/csrc/jit/codegen/cuda/lower_loops.cpp | sanchitintel/pytorch | 416f59308023b5d98f6ea4ecdd0bcd3829edb7a7 | [
"Intel"
] | 19,210 | 2017-01-18T17:45:04.000Z | 2022-03-31T23:51:56.000Z | #include <c10/util/irange.h>
#include <torch/csrc/jit/codegen/cuda/lower_loops.h>
#include <torch/csrc/jit/codegen/cuda/arith.h>
#include <torch/csrc/jit/codegen/cuda/ir_iostream.h>
#include <torch/csrc/jit/codegen/cuda/ir_utils.h>
#include <torch/csrc/jit/codegen/cuda/iter_visitor.h>
#include <torch/csrc/jit/codegen/... | 34.554656 | 78 | 0.673462 | sanchitintel |
316f7fa87e927b61a192ca89ff949b36a2db3016 | 5,071 | cpp | C++ | src/source/TMC2660Stepper.cpp | ManuelMcLure/TMCStepper | c425c40f0adfa24c1c21ce7d6428bcffc2c921ae | [
"MIT"
] | 336 | 2018-03-26T13:51:46.000Z | 2022-03-21T21:58:47.000Z | src/source/TMC2660Stepper.cpp | ManuelMcLure/TMCStepper | c425c40f0adfa24c1c21ce7d6428bcffc2c921ae | [
"MIT"
] | 218 | 2017-07-28T06:13:53.000Z | 2022-03-26T16:41:21.000Z | src/source/TMC2660Stepper.cpp | ManuelMcLure/TMCStepper | c425c40f0adfa24c1c21ce7d6428bcffc2c921ae | [
"MIT"
] | 176 | 2018-09-11T22:16:27.000Z | 2022-03-26T13:04:03.000Z | #include "TMCStepper.h"
#include "SW_SPI.h"
TMC2660Stepper::TMC2660Stepper(uint16_t pinCS, float RS) :
_pinCS(pinCS),
Rsense(RS)
{}
TMC2660Stepper::TMC2660Stepper(uint16_t pinCS, uint16_t pinMOSI, uint16_t pinMISO, uint16_t pinSCK) :
_pinCS(pinCS),
Rsense(default_RS)
{
SW_SPIClass *SW_SPI_Obj = new SW... | 25.872449 | 111 | 0.649576 | ManuelMcLure |
31716dc44479baf6e425aa2d736e7ba7ce0731b8 | 2,504 | cpp | C++ | decorator.cpp | retorillo/twitter-header | f00aa4899f6e2ebbbea68566c7e1329663faf966 | [
"MIT"
] | null | null | null | decorator.cpp | retorillo/twitter-header | f00aa4899f6e2ebbbea68566c7e1329663faf966 | [
"MIT"
] | null | null | null | decorator.cpp | retorillo/twitter-header | f00aa4899f6e2ebbbea68566c7e1329663faf966 | [
"MIT"
] | null | null | null | #include "decorator.h"
int main(int argc, char** argv) {
if (!PeekNamedPipe(GetStdHandle(STD_INPUT_HANDLE), NULL, NULL, NULL, NULL, NULL)) {
printf("error: no piping input\n");
return -1;
}
std::ostringstream figletout;
char buf[256];
while (fgets(buf, sizeof(buf), stdin))
figletout << buf;
std... | 28.781609 | 87 | 0.545927 | retorillo |
317eb30a5430c2b6b4f38957885c41795d17e487 | 3,718 | hpp | C++ | src/stdplus/fd/ops.hpp | pzh2386034/stdplus | 9148977c89406ee3b096dc5a3bd9e8f22abb7764 | [
"Apache-2.0"
] | 4 | 2018-11-05T10:44:47.000Z | 2020-11-20T08:16:15.000Z | src/stdplus/fd/ops.hpp | pzh2386034/stdplus | 9148977c89406ee3b096dc5a3bd9e8f22abb7764 | [
"Apache-2.0"
] | 1 | 2020-11-18T22:40:50.000Z | 2020-11-19T16:14:18.000Z | src/stdplus/fd/ops.hpp | pzh2386034/stdplus | 9148977c89406ee3b096dc5a3bd9e8f22abb7764 | [
"Apache-2.0"
] | 2 | 2018-11-05T10:44:35.000Z | 2022-01-14T01:47:39.000Z | #pragma once
#include <stdplus/fd/intf.hpp>
#include <stdplus/raw.hpp>
#include <stdplus/types.hpp>
#include <utility>
namespace stdplus
{
namespace fd
{
namespace detail
{
void readExact(Fd& fd, span<std::byte> data);
void recvExact(Fd& fd, span<std::byte> data, RecvFlags flags);
void writeExact(Fd& fd, span<const s... | 25.465753 | 79 | 0.653846 | pzh2386034 |
317faaa00b1b6a123534476f089e762e2bddba9d | 4,257 | cpp | C++ | SampleOSXCocoaPodsProject/Pods/BRCLucene/src/core/CLucene/search/ConjunctionScorer.cpp | zaubara/BRFullTextSearch | e742f223a1c203eacb576711dd57b1187aee3deb | [
"Apache-2.0"
] | 151 | 2015-01-17T06:29:38.000Z | 2022-02-17T11:27:38.000Z | SampleOSXCocoaPodsProject/Pods/BRCLucene/src/core/CLucene/search/ConjunctionScorer.cpp | yonglam/BRFullTextSearch | e742f223a1c203eacb576711dd57b1187aee3deb | [
"Apache-2.0"
] | 28 | 2015-03-01T20:14:42.000Z | 2019-07-22T09:23:54.000Z | SampleOSXCocoaPodsProject/Pods/BRCLucene/src/core/CLucene/search/ConjunctionScorer.cpp | yonglam/BRFullTextSearch | e742f223a1c203eacb576711dd57b1187aee3deb | [
"Apache-2.0"
] | 28 | 2015-03-05T13:24:12.000Z | 2022-03-26T09:16:29.000Z | /*------------------------------------------------------------------------------
* Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team
*
* Distributable under the terms of either the Apache License (Version 2.0) or
* the GNU Lesser General Public License, as specified in the COPYING file.
---------------------... | 31.768657 | 112 | 0.641532 | zaubara |
318264bec727bd0aa42e12064c31a73c586f8470 | 225 | hpp | C++ | include/pykebc/code.hpp | kodo-pp/pykebc-vm | a8428fff0c4bba0e41ef8992e135d4122b862692 | [
"Apache-2.0"
] | null | null | null | include/pykebc/code.hpp | kodo-pp/pykebc-vm | a8428fff0c4bba0e41ef8992e135d4122b862692 | [
"Apache-2.0"
] | null | null | null | include/pykebc/code.hpp | kodo-pp/pykebc-vm | a8428fff0c4bba0e41ef8992e135d4122b862692 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <pykebc/object.hpp>
#include <cstdint>
#include <vector>
namespace pykebc::code
{
struct Code
{
std::vector<uint32_t> instructions;
std::vector<Object*> constants;
};
} // namespace pykebc
| 11.842105 | 39 | 0.693333 | kodo-pp |
31862c317577bdfcae93770f62f5e108f41bf31c | 89,640 | cpp | C++ | Commands.cpp | UKTailwind/MMB4W | cda50487f2ce23ea1b2a8da79b7b38be46cdece2 | [
"Unlicense"
] | 3 | 2022-02-20T11:32:27.000Z | 2022-03-02T21:22:50.000Z | Commands.cpp | UKTailwind/MMB4W | cda50487f2ce23ea1b2a8da79b7b38be46cdece2 | [
"Unlicense"
] | null | null | null | Commands.cpp | UKTailwind/MMB4W | cda50487f2ce23ea1b2a8da79b7b38be46cdece2 | [
"Unlicense"
] | null | null | null | /***********************************************************************************************************************
MMBasic for Windows
Commands.cpp
<COPYRIGHT HOLDERS> Geoff Graham, Peter Mather
Copyright (c) 2021, <COPYRIGHT HOLDERS> All rights reserved.
Redistribution and use in source and binary form... | 37.102649 | 201 | 0.564179 | UKTailwind |
318739c084517a6d383cd9ac430c2f2687e34845 | 570 | cpp | C++ | uva/11498_Division_of_Nlogonia.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | uva/11498_Division_of_Nlogonia.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | uva/11498_Division_of_Nlogonia.cpp | st3v3nmw/competitive-programming | 581d36c1c128e0e3ee3a0b52628e932ab43821d4 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main() {
int k = -1, dx, dy, x, y;
while (k != 0) {
cin >> k;
cin >> dx >> dy;
for (int i = 0; i < k; i++) {
cin >> x >> y;
if (x == dx || y == dy)
cout << "divisa\n";
else if (x > dx &... | 24.782609 | 38 | 0.301754 | st3v3nmw |
31891372dd109a0689481337a33e7eaeca6b1be3 | 6,840 | cpp | C++ | src/gui/importpackwizard.cpp | Jorch72/CPP-MultiMC4 | 743b4a91ee1f9b4483a9769c292dbd16736f32d1 | [
"Apache-2.0"
] | 10 | 2015-07-28T19:46:19.000Z | 2021-11-08T10:21:54.000Z | src/gui/importpackwizard.cpp | Jorch72/CPP-MultiMC4 | 743b4a91ee1f9b4483a9769c292dbd16736f32d1 | [
"Apache-2.0"
] | 1 | 2015-04-26T13:48:13.000Z | 2015-04-26T13:48:13.000Z | src/gui/importpackwizard.cpp | Jorch72/CPP-MultiMC4 | 743b4a91ee1f9b4483a9769c292dbd16736f32d1 | [
"Apache-2.0"
] | 5 | 2015-01-25T13:25:25.000Z | 2022-03-15T13:53:13.000Z | //
// Copyright 2012 MultiMC Contributors
//
// 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... | 31.962617 | 111 | 0.712281 | Jorch72 |
318c6ebd7514a2f693cd89e691ad21183b611873 | 289 | cpp | C++ | node_modules/lzz-gyp/lzz-source/smtc_CreateUnnamedNs.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/smtc_CreateUnnamedNs.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/smtc_CreateUnnamedNs.cpp | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // smtc_CreateUnnamedNs.cpp
//
#include "smtc_CreateUnnamedNs.h"
// semantic
#include "smtc_UnnamedNs.h"
#define LZZ_INLINE inline
namespace smtc
{
NsPtr createUnnamedNs (NsPtr const & encl_ns, util::Loc const & loc)
{
return new UnnamedNs (encl_ns, loc);
}
}
#undef LZZ_INLINE
| 18.0625 | 70 | 0.730104 | SuperDizor |
318d069fc3f208237efcde7f2b6d3cbc02f4c724 | 1,474 | hpp | C++ | lib/geometry/circle_intersection.hpp | hareku/cpp-algorithm | 455339645d5797f0e6b211694345e1a221fc131c | [
"Apache-2.0"
] | null | null | null | lib/geometry/circle_intersection.hpp | hareku/cpp-algorithm | 455339645d5797f0e6b211694345e1a221fc131c | [
"Apache-2.0"
] | null | null | null | lib/geometry/circle_intersection.hpp | hareku/cpp-algorithm | 455339645d5797f0e6b211694345e1a221fc131c | [
"Apache-2.0"
] | null | null | null | #ifndef LIB_GEOMETRY_CIRCLE_INTERSECTION
#define LIB_GEOMETRY_CIRCLE_INTERSECTION 1
#include <bits/stdc++.h>
namespace lib::geometry {
// circles_cross checks whether circle a and circle b intersect.
template <class T> bool circles_cross(std::complex<T> a, T ar, std::complex<T> b, T br, const T eps = std::numeric_li... | 36.85 | 146 | 0.661465 | hareku |
3194ae5c521496fbfaa45774e10505c6011afb62 | 15,222 | cpp | C++ | SoftbodySimulation/src/Scenario/ObstacleCourseScenario.cpp | GitDaroth/SoftbodySimulation | 21b32dfb7a72be1f2fe54de8d2863bbf6a100288 | [
"MIT"
] | 3 | 2021-02-28T23:48:17.000Z | 2021-11-02T15:08:34.000Z | SoftbodySimulation/src/Scenario/ObstacleCourseScenario.cpp | GitDaroth/SoftbodySimulation | 21b32dfb7a72be1f2fe54de8d2863bbf6a100288 | [
"MIT"
] | null | null | null | SoftbodySimulation/src/Scenario/ObstacleCourseScenario.cpp | GitDaroth/SoftbodySimulation | 21b32dfb7a72be1f2fe54de8d2863bbf6a100288 | [
"MIT"
] | null | null | null | #include "Scenario/ObstacleCourseScenario.h"
#include <Constraint/BoxConstraint.h>
#include <Constraint/RigidShapeConstraint.h>
#include <Constraint/SoftShapeLinearConstraint.h>
#include <Constraint/SoftShapeQuadraticConstraint.h>
const QString ObstacleCourseScenario::NAME = "ObstacleCourse";
ObstacleCourseScenario:... | 54.953069 | 164 | 0.711207 | GitDaroth |
31a0e82c183ddbd4f362b3e337c2012618805a63 | 6,676 | cpp | C++ | src/prod/src/ServiceModel/ServicePackagePoliciesDescription.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/ServiceModel/ServicePackagePoliciesDescription.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/ServiceModel/ServicePackagePoliciesDescription.cpp | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 33.547739 | 137 | 0.67121 | gridgentoo |
31a3007006c300ec6792a78c2a3059f5c75f6f85 | 1,373 | hpp | C++ | example-react-native/ExampleProject/cpp/DemoModuleImpl.hpp | vmednonogov/djinni-react-native | 17aaf19984656c6492ebc4e90b574a18caae2100 | [
"Apache-2.0"
] | 51 | 2018-03-10T03:17:13.000Z | 2022-02-14T13:04:32.000Z | example-react-native/ExampleProject/cpp/DemoModuleImpl.hpp | vmednonogov/djinni-react-native | 17aaf19984656c6492ebc4e90b574a18caae2100 | [
"Apache-2.0"
] | 1 | 2018-06-29T17:48:24.000Z | 2018-06-29T17:49:54.000Z | example-react-native/ExampleProject/cpp/DemoModuleImpl.hpp | vmednonogov/djinni-react-native | 17aaf19984656c6492ebc4e90b574a18caae2100 | [
"Apache-2.0"
] | 15 | 2018-01-30T02:37:57.000Z | 2021-12-17T11:52:45.000Z | #include "DemoModule.hpp"
class JobQueueImpl;
class JobDispatcher;
class DemoModuleImpl : public DemoModule {
public:
static std::shared_ptr<DemoModule> create(const std::shared_ptr<::ReactBridge> & bridge);
DemoModuleImpl(const std::shared_ptr<::ReactBridge> & bridge);
~DemoModuleImpl();
void testPr... | 50.851852 | 134 | 0.75528 | vmednonogov |
31a3bbb19f7237f7fcbc1cb927d8dbe1ea752321 | 10,109 | cpp | C++ | catboost/private/libs/feature_estimator/text_feature_estimators.cpp | PallHaraldsson/catboost | f4b86aae0acb853f0216081518d490e52722ad88 | [
"Apache-2.0"
] | null | null | null | catboost/private/libs/feature_estimator/text_feature_estimators.cpp | PallHaraldsson/catboost | f4b86aae0acb853f0216081518d490e52722ad88 | [
"Apache-2.0"
] | null | null | null | catboost/private/libs/feature_estimator/text_feature_estimators.cpp | PallHaraldsson/catboost | f4b86aae0acb853f0216081518d490e52722ad88 | [
"Apache-2.0"
] | null | null | null | #include "text_feature_estimators.h"
#include "base_text_feature_estimator.h"
#include <catboost/private/libs/text_features/text_feature_calcers.h>
#include <catboost/private/libs/text_processing/embedding.h>
#include <catboost/private/libs/options/enum_helpers.h>
#include <util/generic/set.h>
using namespace NCB;... | 38.583969 | 138 | 0.651499 | PallHaraldsson |
31a5ff702f960fee81fcf44662d4581fe0f5620a | 1,414 | cpp | C++ | src/io/github/technicalnotes/programming/basics/47-parameterpassing.cpp | chiragbhatia94/programming-cpp | efd6aa901deacf416a3ab599e6599845a8111eac | [
"MIT"
] | null | null | null | src/io/github/technicalnotes/programming/basics/47-parameterpassing.cpp | chiragbhatia94/programming-cpp | efd6aa901deacf416a3ab599e6599845a8111eac | [
"MIT"
] | null | null | null | src/io/github/technicalnotes/programming/basics/47-parameterpassing.cpp | chiragbhatia94/programming-cpp | efd6aa901deacf416a3ab599e6599845a8111eac | [
"MIT"
] | null | null | null | #include "bits/stdc++.h"
using namespace std;
// here a & b are formal parameters
void swapByValue(int a, int b);
void swapByReference(int &a, int &b);
void swapByPointer(int *a, int *b);
int main(int argc, char **argv)
{
// here i & j are actual parameters
int i = 10, j = 20;
cout << "Initial value: "
<... | 27.192308 | 198 | 0.483027 | chiragbhatia94 |
31aa3f0bd9ddc9a5b2a36cb268a119be9267a82e | 2,086 | cpp | C++ | src/ShadowVolumeRender.cpp | Loic-Corenthy/miniGL | 47976ea80e253e115eafae5934ec3ebdd2275d16 | [
"MIT"
] | 1 | 2021-08-18T03:54:22.000Z | 2021-08-18T03:54:22.000Z | src/ShadowVolumeRender.cpp | Loic-Corenthy/miniGL | 47976ea80e253e115eafae5934ec3ebdd2275d16 | [
"MIT"
] | null | null | null | src/ShadowVolumeRender.cpp | Loic-Corenthy/miniGL | 47976ea80e253e115eafae5934ec3ebdd2275d16 | [
"MIT"
] | null | null | null | //===============================================================================================//
/*!
* \file ShadowVolumeRender.cpp
* \author Loïc Corenthy
* \version 1.0
*/
//===============================================================================================//
#include "ShadowVolumeRen... | 26.74359 | 99 | 0.630393 | Loic-Corenthy |
b3b2fcaedcdec99dcfd783dcd5e7dc76ff931fa4 | 24,335 | cpp | C++ | src/com_port.cpp | SammyEnigma/_nayk-COM-Port-Geo-Graph-Log-Console-File-Http-Server-Client | 9fd01cf89ce16d129b5b96f68135cf8f71d1bd9c | [
"MIT"
] | null | null | null | src/com_port.cpp | SammyEnigma/_nayk-COM-Port-Geo-Graph-Log-Console-File-Http-Server-Client | 9fd01cf89ce16d129b5b96f68135cf8f71d1bd9c | [
"MIT"
] | null | null | null | src/com_port.cpp | SammyEnigma/_nayk-COM-Port-Geo-Graph-Log-Console-File-Http-Server-Client | 9fd01cf89ce16d129b5b96f68135cf8f71d1bd9c | [
"MIT"
] | 1 | 2019-11-22T05:40:33.000Z | 2019-11-22T05:40:33.000Z | /****************************************************************************
** Copyright (c) 2019 Evgeny Teterin (nayk) <sutcedortal@gmail.com>
** All right reserved.
**
** Permission is hereby granted, free of charge, to any person obtaining
** a copy of this software and associated documentation files (the
**... | 43.689408 | 145 | 0.514855 | SammyEnigma |
b3b4c439f875d44e9c0e00a049a5a161a4f7b5d9 | 7,403 | cpp | C++ | src/postprocess/VrHooks.cpp | fholger/openvr_foveated | 542768df39864386deebf260e73cf5158851fb9c | [
"BSD-3-Clause"
] | 76 | 2021-12-22T23:52:06.000Z | 2022-03-30T05:52:02.000Z | src/postprocess/VrHooks.cpp | fholger/openvr_foveated | 542768df39864386deebf260e73cf5158851fb9c | [
"BSD-3-Clause"
] | 10 | 2021-12-23T05:46:18.000Z | 2022-01-15T11:43:31.000Z | src/postprocess/VrHooks.cpp | fholger/openvr_foveated | 542768df39864386deebf260e73cf5158851fb9c | [
"BSD-3-Clause"
] | 3 | 2021-12-23T00:55:40.000Z | 2022-03-02T12:08:16.000Z | #include "VrHooks.h"
#include "Config.h"
#include "PostProcessor.h"
#include <openvr.h>
#include <MinHook.h>
#include <unordered_map>
#include <unordered_set>
namespace {
std::unordered_map<void*, void*> hooksToOriginal;
bool ivrSystemHooked = false;
bool ivrCompositorHooked = false;
ID3D11DeviceContext *hookedC... | 38.963158 | 206 | 0.749021 | fholger |
b3b59670970b0825a6e0861126e8a9bc9b177aa0 | 17,708 | cpp | C++ | Minimap Source/Minimap/j1Map.cpp | OscarHernandezG/MinimapTestbed | 4c06210c0e67af037232de95e02fbe44ec900cbc | [
"MIT"
] | null | null | null | Minimap Source/Minimap/j1Map.cpp | OscarHernandezG/MinimapTestbed | 4c06210c0e67af037232de95e02fbe44ec900cbc | [
"MIT"
] | null | null | null | Minimap Source/Minimap/j1Map.cpp | OscarHernandezG/MinimapTestbed | 4c06210c0e67af037232de95e02fbe44ec900cbc | [
"MIT"
] | null | null | null | #include <math.h>
#include "Brofiler\Brofiler.h"
#include "Defs.h"
#include "p2Log.h"
#include "j1App.h"
#include "j1Input.h"
#include "j1Render.h"
#include "j1Textures.h"
#include "j1Collision.h"
#include "j1Scene.h"
#include "j1Audio.h"
#include "j1Map.h"
#include "j1Window.h"
j1Map::j1Map() : j1Module(), isMa... | 21.516403 | 157 | 0.63508 | OscarHernandezG |
b3b668b8797a8ff65a370f2bfaa392c52bc2462a | 20,305 | cpp | C++ | src/CompressibleInterface.cpp | StephanLenz/Gas-Kinetic-Scheme | bb92a9640cd95ac9342adf8c31c4800414d5950a | [
"MIT"
] | 2 | 2018-03-05T07:51:01.000Z | 2021-10-30T08:44:41.000Z | src/CompressibleInterface.cpp | StephanLenz/Gas-Kinetic-Scheme | bb92a9640cd95ac9342adf8c31c4800414d5950a | [
"MIT"
] | null | null | null | src/CompressibleInterface.cpp | StephanLenz/Gas-Kinetic-Scheme | bb92a9640cd95ac9342adf8c31c4800414d5950a | [
"MIT"
] | 1 | 2021-03-28T12:42:15.000Z | 2021-03-28T12:42:15.000Z |
#include "Interface.h"
#include "CompressibleInterface.h"
#include <sstream>
CompressibleInterface::CompressibleInterface()
{
}
CompressibleInterface::CompressibleInterface(Cell* negCell, Cell* posCell, float2 center, float2 normal, FluidParameter fluidParam, InterfaceBC* BC)
: Interface(negCell, posCell, cente... | 62.094801 | 195 | 0.353854 | StephanLenz |
b3b7aaa2b00acae002d611fa18456c61092e7c1e | 7,472 | cpp | C++ | lib/d6502/SimpleAsm.cpp | tmikov/apple2tc | 2a0f203d74d4be1677e109dfa841f143aa582657 | [
"Zlib",
"MIT"
] | 6 | 2021-12-13T21:16:47.000Z | 2022-03-20T14:53:16.000Z | lib/d6502/SimpleAsm.cpp | tmikov/apple2c | 2a0f203d74d4be1677e109dfa841f143aa582657 | [
"Zlib",
"MIT"
] | 2 | 2022-01-27T01:38:51.000Z | 2022-01-31T03:52:54.000Z | lib/d6502/SimpleAsm.cpp | tmikov/apple2c | 2a0f203d74d4be1677e109dfa841f143aa582657 | [
"Zlib",
"MIT"
] | 1 | 2022-03-20T14:53:17.000Z | 2022-03-20T14:53:17.000Z | /*
* Copyright (c) Tzvetan Mikov.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "apple2tc/SimpleAsm.h"
#include "apple2tc/d6502.h"
#include "apple2tc/support.h"
#include <cstdarg>
#include <functional>
#include <optional... | 23.948718 | 99 | 0.536001 | tmikov |
b3b97a30803d2bc621aef28a121d57acba5b28f9 | 45,560 | cpp | C++ | musicplayer_player_decoding.cpp | albertz/music-player-core | 83dd7ae3a291ae932452f9c60f919187ac370418 | [
"BSD-2-Clause"
] | 56 | 2015-04-21T05:35:38.000Z | 2021-02-16T13:42:45.000Z | musicplayer_player_decoding.cpp | albertz/music-player-core | 83dd7ae3a291ae932452f9c60f919187ac370418 | [
"BSD-2-Clause"
] | 13 | 2015-05-09T17:36:27.000Z | 2020-02-13T17:44:59.000Z | musicplayer_player_decoding.cpp | albertz/music-player-core | 83dd7ae3a291ae932452f9c60f919187ac370418 | [
"BSD-2-Clause"
] | 27 | 2015-06-15T14:54:58.000Z | 2021-07-22T09:59:40.000Z | // ffmpeg player decoding
// part of MusicPlayer, https://github.com/albertz/music-player
// Copyright (c) 2012, Albert Zeyer, www.az2000.de
// All rights reserved.
// This code is under the 2-clause BSD license, see License.txt in the root directory of this project.
// INT64_MIN and co
#define __STDC_LIMIT_MACROS
#in... | 28.210526 | 773 | 0.668349 | albertz |
b3bb7024e5e4f424c0c5d0927f92c63be9d4c0b7 | 1,274 | hpp | C++ | 22_Pvector/Pvector.hpp | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | 22_Pvector/Pvector.hpp | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | 22_Pvector/Pvector.hpp | jonixis/CPP18 | 0dfe165f22a3cbef9e8cda102196d53d3e120e57 | [
"MIT"
] | null | null | null | #include <vector>
#include <fstream>
#include <iostream>
using namespace std;
#ifndef INC_41_TRAITS_PVECTOR_HPP
#define INC_41_TRAITS_PVECTOR_HPP
template<typename T>
struct persistence_traits {
static void write(ofstream &o, const T &elem) {
o << elem << endl;
}
};
template<typename T, typename P=p... | 18.2 | 54 | 0.536892 | jonixis |
b3bc314b3e857569bdb88feaed3e98e849c6c9d7 | 1,442 | cpp | C++ | src/walls.cpp | JulianNeeleman/kattis | 035c1113ffb397c2d8538af8ba16b7ee4160393d | [
"MIT"
] | null | null | null | src/walls.cpp | JulianNeeleman/kattis | 035c1113ffb397c2d8538af8ba16b7ee4160393d | [
"MIT"
] | 1 | 2017-05-16T15:57:29.000Z | 2017-05-17T19:43:56.000Z | src/walls.cpp | JulianNeeleman/kattis | 035c1113ffb397c2d8538af8ba16b7ee4160393d | [
"MIT"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
#include <cmath>
using namespace std;
const double epsilon = 0.0001;
struct Point {
double x, y;
};
double dist(const Point& p, const Point& q) {
return sqrt((p.x - q.x) * (p.x - q.x) + (p.y - q.y) * (p.y - ... | 20.309859 | 71 | 0.520111 | JulianNeeleman |
b3bcd8253059818f8721730ed9c272478c943a7e | 23,067 | cpp | C++ | emf_core_bindings/src/emf_fs.cpp | GabeRealB/emf | a233edaed7ed99948b0a935e6378bac131fdf4c2 | [
"Apache-2.0",
"MIT"
] | null | null | null | emf_core_bindings/src/emf_fs.cpp | GabeRealB/emf | a233edaed7ed99948b0a935e6378bac131fdf4c2 | [
"Apache-2.0",
"MIT"
] | null | null | null | emf_core_bindings/src/emf_fs.cpp | GabeRealB/emf | a233edaed7ed99948b0a935e6378bac131fdf4c2 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-01-10T15:00:08.000Z | 2021-01-10T15:00:08.000Z | #include <emf_core/emf_fs.h>
#include <emf_core_bindings/emf_core_bindings.h>
using namespace EMF::Core::C;
namespace EMF::Core::Bindings::C {
extern "C" {
emf_file_handler_t EMF_CALL_C emf_fs_register_file_handler(const emf_file_handler_interface_t* EMF_NOT_NULL file_handler,
const emf_file_type_span_t* EMF_NO... | 48.460084 | 130 | 0.816144 | GabeRealB |
b3be0ea154014d1eed00974a8b0250dfd275c0b2 | 413 | cpp | C++ | Appserver/src/servicios/ServicioInexistente.cpp | seguijoaquin/taller2 | f41232516de15fe045805131b09299e5c2634e5e | [
"MIT"
] | 2 | 2016-06-06T03:26:49.000Z | 2017-08-06T18:12:33.000Z | Appserver/src/servicios/ServicioInexistente.cpp | seguijoaquin/taller2 | f41232516de15fe045805131b09299e5c2634e5e | [
"MIT"
] | 60 | 2016-03-19T16:01:27.000Z | 2016-06-23T16:26:10.000Z | Appserver/src/servicios/ServicioInexistente.cpp | seguijoaquin/taller2 | f41232516de15fe045805131b09299e5c2634e5e | [
"MIT"
] | null | null | null | #include "ServicioInexistente.h"
ServicioInexistente::ServicioInexistente(){
Logger::Instance()->log(WARNING, "Se crea el Servicio Inexstente");
this->respuesta = new RespuestaServicioInexistente();
}
ServicioInexistente::~ServicioInexistente()
{
//dtor
}
void ServicioInexistente::setRespuestaTokenInval... | 24.294118 | 83 | 0.762712 | seguijoaquin |
b3c2be0d7c9f027f32390842006099361e76ec7d | 135 | cpp | C++ | Cplusplus/week_four/extra/DailyTask_Mechanic/man.cpp | nexusstar/SoftUni | b97bdb08a227fd335df5b7869940c14717f760f2 | [
"MIT"
] | 1 | 2016-12-20T19:53:03.000Z | 2016-12-20T19:53:03.000Z | Cplusplus/week_four/extra/DailyTask_Mechanic/man.cpp | nexusstar/SoftUni | b97bdb08a227fd335df5b7869940c14717f760f2 | [
"MIT"
] | null | null | null | Cplusplus/week_four/extra/DailyTask_Mechanic/man.cpp | nexusstar/SoftUni | b97bdb08a227fd335df5b7869940c14717f760f2 | [
"MIT"
] | null | null | null | #include "man.h"
#include "car.h"
void Man::crashCar(Car &aCar)
{
if(aCar.needsRepair == true) return;
aCar.needsRepair = true;
}
| 15 | 38 | 0.666667 | nexusstar |
b3c2ef63f883c3d06f27912aa32ed1534c46e34d | 2,814 | cpp | C++ | source/Windows/Storage/File.cpp | awstanley/cpp-gamefilesystem | fc06cf5f2b4f873846677f45fa5480a69cdd91df | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-07-12T19:25:29.000Z | 2021-07-12T19:25:29.000Z | source/Windows/Storage/File.cpp | awstanley/cpp-gamefilesystem | fc06cf5f2b4f873846677f45fa5480a69cdd91df | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 6 | 2017-10-16T19:30:25.000Z | 2018-10-06T23:55:19.000Z | source/Windows/Storage/File.cpp | awstanley/cpp-gamefilesystem | fc06cf5f2b4f873846677f45fa5480a69cdd91df | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3 | 2017-10-14T10:21:44.000Z | 2021-07-12T19:25:39.000Z | /*
* Copyright 2017-2018 ReversingSpace. See the COPYRIGHT file at the
* top-level directory of this distribution and in the repository:
* https://github.com/ReversingSpace/cpp-gamefilesystem
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* http://www.apache.org/licenses/LICENSE-2.0> or the... | 28.714286 | 70 | 0.704691 | awstanley |
b3c43ce490d6003bf0804ccb623ab9ac6be650c6 | 1,094 | hpp | C++ | L7/EMail/SMTP/GpSmtpClientCurl.hpp | ITBear/GpNetwork | 65b28ee8ed16e47efd8f8991cd8942c8a517c45e | [
"Apache-2.0"
] | null | null | null | L7/EMail/SMTP/GpSmtpClientCurl.hpp | ITBear/GpNetwork | 65b28ee8ed16e47efd8f8991cd8942c8a517c45e | [
"Apache-2.0"
] | null | null | null | L7/EMail/SMTP/GpSmtpClientCurl.hpp | ITBear/GpNetwork | 65b28ee8ed16e47efd8f8991cd8942c8a517c45e | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "GpSmtpClient.hpp"
typedef void CURL;
namespace GPlatform {
class GPNETWORK_API GpSmtpClientCurl final: public GpSmtpClient
{
public:
CLASS_REMOVE_CTRS_MOVE_COPY(GpSmtpClientCurl)
CLASS_DECLARE_DEFAULTS(GpSmtpClientCurl)
public:
GpSmt... | 31.257143 | 106 | 0.5 | ITBear |
b3c5c742b8bc852eae598eaf1b1a12f53da03a96 | 324 | cpp | C++ | src/megabreakthrough/megapawn.cpp | hallur/boardgame | 374fd1366cbae785bc40ba24403d50e36b2a3637 | [
"MIT"
] | null | null | null | src/megabreakthrough/megapawn.cpp | hallur/boardgame | 374fd1366cbae785bc40ba24403d50e36b2a3637 | [
"MIT"
] | 1 | 2018-04-09T19:08:41.000Z | 2018-04-09T19:08:41.000Z | src/megabreakthrough/megapawn.cpp | hallur/boardgame | 374fd1366cbae785bc40ba24403d50e36b2a3637 | [
"MIT"
] | null | null | null | #include "megabreakthrough/megapawn.h"
boardgame::megabreakthrough::MegaPawn::MegaPawn(boardgame::Player* player, bool top) : boardgame::breakthrough::Pawn(player, top, 'm') {
moveRules_.push_back(MoveRule( 0, (top ? 1 : -1), true, false, false, 2 )); // up up
}
boardgame::megabreakthrough::MegaPawn::~MegaPawn(... | 46.285714 | 136 | 0.70679 | hallur |
b3c892cac66c0538a3d64bf3077a696e9424e054 | 7,047 | cpp | C++ | src/unittest/indexed_vg.cpp | fabbondanza/vg | 86edd831bd76b4c33e4cf51134f557c49736cf2b | [
"MIT"
] | 2 | 2015-07-07T13:32:55.000Z | 2016-05-03T00:09:20.000Z | src/unittest/indexed_vg.cpp | fabbondanza/vg | 86edd831bd76b4c33e4cf51134f557c49736cf2b | [
"MIT"
] | 2 | 2016-12-22T23:46:07.000Z | 2021-07-28T17:49:50.000Z | src/unittest/indexed_vg.cpp | fabbondanza/vg | 86edd831bd76b4c33e4cf51134f557c49736cf2b | [
"MIT"
] | 1 | 2020-01-17T03:21:40.000Z | 2020-01-17T03:21:40.000Z | /// \file indexed_vg.cpp
///
/// unit tests for the vg-file-backed handle graph implementation
#include <iostream>
#include "json2pb.h"
#include <vg/vg.pb.h>
#include "../indexed_vg.hpp"
#include "../vg.hpp"
#include "../utility.hpp"
#include "../algorithms/id_sort.hpp"
#include "random_graph.hpp"
#include "catch.hp... | 36.703125 | 125 | 0.52831 | fabbondanza |
b3c8c58b8227b04730f666745a2633845ac29820 | 4,323 | hxx | C++ | opencascade/XmlMDF.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 37 | 2020-01-20T21:50:21.000Z | 2022-02-09T13:01:09.000Z | opencascade/XmlMDF.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 66 | 2019-12-20T16:07:36.000Z | 2022-03-15T21:56:10.000Z | opencascade/XmlMDF.hxx | valgur/OCP | 2f7d9da73a08e4ffe80883614aedacb27351134f | [
"Apache-2.0"
] | 22 | 2020-04-03T21:59:52.000Z | 2022-03-06T18:43:35.000Z | // Created on: 2001-07-09
// Created by: Julia DOROVSKIKH
// Copyright (c) 2001-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1... | 38.598214 | 103 | 0.664122 | valgur |
b3cee6ad0f5bc6392d02c9a9eef97a89b24f47c2 | 7,660 | cpp | C++ | Submissions/hw3/HW_swapPhase.cpp | ChibiKev/Image-Processing-Projects | 7f37bd222bfe3738ee73bc47fb576718532019c0 | [
"MIT"
] | null | null | null | Submissions/hw3/HW_swapPhase.cpp | ChibiKev/Image-Processing-Projects | 7f37bd222bfe3738ee73bc47fb576718532019c0 | [
"MIT"
] | null | null | null | Submissions/hw3/HW_swapPhase.cpp | ChibiKev/Image-Processing-Projects | 7f37bd222bfe3738ee73bc47fb576718532019c0 | [
"MIT"
] | null | null | null | #include "IP.h"
using namespace IP;
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// HW_swapPhase:
//
// Swap the phase channels of I1 and I2.
// Output is in II1 and II2.
//
struct complexP {
int len; // length of complex number list
float * real; // pointer to real nu... | 34.504505 | 103 | 0.550783 | ChibiKev |
b3cf3075b856c111d212ccfd8fe6e171f156002a | 4,317 | cpp | C++ | ms-utils/math/approximation/QuadLinFit.cpp | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 18 | 2020-01-23T12:14:09.000Z | 2022-02-27T22:11:35.000Z | ms-utils/math/approximation/QuadLinFit.cpp | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 39 | 2020-11-20T12:19:35.000Z | 2022-02-22T18:45:55.000Z | ms-utils/math/approximation/QuadLinFit.cpp | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 7 | 2020-02-10T19:25:43.000Z | 2022-03-16T01:10:00.000Z | /************************** TRICK HEADER **********************************************************
LIBRARY DEPENDENCY:
((TsApproximation.o))
***************************************************************************************************/
#include "QuadLinFit.hh"
/////////////////////////////////////////////... | 44.05102 | 105 | 0.465833 | nasa |
b3d1a40f57df1f5dc51f1a546cf169bcddbfa8b4 | 2,424 | cpp | C++ | charNameMap.cpp | kim3-sudo/MarvelCharacters-cslab | 828746b6a4fcd09c5467010d282b7dac7c1a3244 | [
"Unlicense"
] | null | null | null | charNameMap.cpp | kim3-sudo/MarvelCharacters-cslab | 828746b6a4fcd09c5467010d282b7dac7c1a3244 | [
"Unlicense"
] | null | null | null | charNameMap.cpp | kim3-sudo/MarvelCharacters-cslab | 828746b6a4fcd09c5467010d282b7dac7c1a3244 | [
"Unlicense"
] | null | null | null | #include "charNameMap.h"
charNameMap::charNameMap(string fileName) {
string name; // important name
string line;
string page_id;
string fullName;
fstream infile(fileName); // opens fileName for input
int position = 1;
//getline(infile, line); // ignore 0 header, no char data
if(infile.good()) {
wh... | 34.628571 | 145 | 0.652228 | kim3-sudo |
b3d1e1203c2696aa0fdfed91592ed93edb51fb92 | 2,719 | cpp | C++ | ObjOrientedProgramming/Movie/Movie/Movie.cpp | jhbrian/Learning-Progress | de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb | [
"MIT"
] | null | null | null | ObjOrientedProgramming/Movie/Movie/Movie.cpp | jhbrian/Learning-Progress | de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb | [
"MIT"
] | null | null | null | ObjOrientedProgramming/Movie/Movie/Movie.cpp | jhbrian/Learning-Progress | de7b9d037aa0b5e1ec8199b4eabfcd1e24c73bcb | [
"MIT"
] | null | null | null | //*************************************************************************************
//Program Name: Movie
//Author: Jin Han Ho
//IDE Used: Visual Studio 2019
//Program description: read inputs from input file and output them as 4 sets of object
//****************************************************************... | 26.398058 | 104 | 0.513056 | jhbrian |
b3d512204bea6a02f0da8217f061a8d137bf6f55 | 43,843 | cpp | C++ | source/blender/collada/AnimationExporter.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | 2 | 2018-06-18T01:50:25.000Z | 2018-06-18T01:50:32.000Z | source/blender/collada/AnimationExporter.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | source/blender/collada/AnimationExporter.cpp | 1-MillionParanoidTterabytes/Blender-2.79b-blackened | e8d767324e69015aa66850d13bee7db1dc7d084b | [
"Unlicense"
] | null | null | null | /*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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 program is d... | 27.943276 | 191 | 0.685149 | 1-MillionParanoidTterabytes |
b3d743aa9520ca333b45e102bcb2087b68b4c0fe | 4,334 | cpp | C++ | oneEngine/oneGame/source/renderer/object/shapes/RrShapePlane.cpp | skarik/1Engine | 84e846544b4a89af8fd7e9236131363096538ef4 | [
"BSD-3-Clause"
] | 8 | 2017-12-08T02:59:31.000Z | 2022-02-02T04:30:03.000Z | oneEngine/oneGame/source/renderer/object/shapes/RrShapePlane.cpp | skarik/1Engine | 84e846544b4a89af8fd7e9236131363096538ef4 | [
"BSD-3-Clause"
] | 2 | 2021-04-16T03:44:42.000Z | 2021-08-30T06:48:44.000Z | oneEngine/oneGame/source/renderer/object/shapes/RrShapePlane.cpp | skarik/1Engine | 84e846544b4a89af8fd7e9236131363096538ef4 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T02:09:54.000Z | 2021-04-16T02:09:54.000Z | #include "RrShapePlane.h"
#include "gpuw/Device.h"
#include "gpuw/GraphicsContext.h"
#include "renderer/material/Material.h"
rrMeshBuffer RrShapePlane::m_MeshBuffer;
void RrShapePlane::BuildMeshBuffer ( void )
{
if (m_MeshBuffer.m_mesh_uploaded == false)
{
const Real hxsize = 0.5F;
const Real hysize = 0.5F;
a... | 33.596899 | 123 | 0.739502 | skarik |
b3d91ac2b161cf618f17cb46fac3839324372ada | 4,595 | cpp | C++ | tests/unit/test_exact_ops.cpp | ylatkin/tfcp | 9db30f7fd23dfc9f56cbe9657c39dfd6ab4559cd | [
"Apache-2.0"
] | 2 | 2020-04-28T16:37:03.000Z | 2021-01-07T15:52:15.000Z | tests/unit/test_exact_ops.cpp | ylatkin/tfcp | 9db30f7fd23dfc9f56cbe9657c39dfd6ab4559cd | [
"Apache-2.0"
] | 1 | 2020-01-07T04:40:51.000Z | 2020-01-07T06:48:49.000Z | tests/unit/test_exact_ops.cpp | ylatkin/tfcp | 9db30f7fd23dfc9f56cbe9657c39dfd6ab4559cd | [
"Apache-2.0"
] | null | null | null | //======================================================================
// 2019-2020 (c) Evgeny Latkin
// License: Apache 2.0 (http://www.apache.org/licenses/)
//======================================================================
#include <tfcp/test_utils.h>
#include <tfcp/exact.h>
#include <tfcp/simd.h>
#include... | 25.960452 | 73 | 0.395212 | ylatkin |
b3da909cea3b1c3a0731cc6138e902ac2390dffd | 12,477 | hpp | C++ | mcppalloc_bitmap_allocator/mcppalloc_bitmap_allocator/include/mcppalloc/mcppalloc_bitmap_allocator/bitmap_state_impl.hpp | garyfurnish/mcppalloc | 5a6dfc99bab23e7f6aba8d20919d71a6e31c38bf | [
"MIT"
] | null | null | null | mcppalloc_bitmap_allocator/mcppalloc_bitmap_allocator/include/mcppalloc/mcppalloc_bitmap_allocator/bitmap_state_impl.hpp | garyfurnish/mcppalloc | 5a6dfc99bab23e7f6aba8d20919d71a6e31c38bf | [
"MIT"
] | null | null | null | mcppalloc_bitmap_allocator/mcppalloc_bitmap_allocator/include/mcppalloc/mcppalloc_bitmap_allocator/bitmap_state_impl.hpp | garyfurnish/mcppalloc | 5a6dfc99bab23e7f6aba8d20919d71a6e31c38bf | [
"MIT"
] | null | null | null | #pragma once
#include <atomic>
#include <iostream>
#include <mcppalloc/mcppalloc_slab_allocator/slab_allocator.hpp>
#include <mcpputil/mcpputil/intrinsics.hpp>
#include <mcpputil/mcpputil/security.hpp>
namespace mcppalloc::bitmap_allocator::details
{
inline bitmap_state_t *get_state(void *v)
{
uintptr_t vi = r... | 34.658333 | 126 | 0.703054 | garyfurnish |
b3dcce1a208ebefcab89e7970a04993c5780a1f9 | 466 | cpp | C++ | examples/appearance/figure/figure_2.cpp | gitplcc/matplotplusplus | c088749434154c230ee7547c6871d65e58876dc6 | [
"MIT"
] | 2,709 | 2020-08-29T01:25:40.000Z | 2022-03-31T18:35:25.000Z | examples/appearance/figure/figure_2.cpp | p-ranav/matplotplusplus | b45015e2be88e3340b400f82637b603d733d45ce | [
"MIT"
] | 124 | 2020-08-29T04:48:17.000Z | 2022-03-25T15:45:59.000Z | examples/appearance/figure/figure_2.cpp | p-ranav/matplotplusplus | b45015e2be88e3340b400f82637b603d733d45ce | [
"MIT"
] | 203 | 2020-08-29T04:16:22.000Z | 2022-03-30T02:08:36.000Z | #include <matplot/matplot.h>
int main() {
using namespace matplot;
auto h = figure(true);
h->name("Measured Data");
h->number_title(false);
h->color("green");
h->position({0, 0, 600, 600});
h->size(500, 500);
h->draw();
h->font("Arial");
h->font_size(40);
h->title("My exper... | 20.26087 | 38 | 0.534335 | gitplcc |
b3dd57ad425ec876ef7d19ec92a978a2c029c1d1 | 17,494 | cpp | C++ | HTWK_ChangeSpeed/ChangeSpeed.cpp | HTWKSmartDriving/aadc-2017 | aff82d8b7d936cdfade6e8ad3edd548c71be8311 | [
"BSD-3-Clause"
] | 10 | 2017-11-17T16:39:03.000Z | 2020-10-10T08:33:43.000Z | HTWK_ChangeSpeed/ChangeSpeed.cpp | HTWKSmartDriving/aadc-2017 | aff82d8b7d936cdfade6e8ad3edd548c71be8311 | [
"BSD-3-Clause"
] | null | null | null | HTWK_ChangeSpeed/ChangeSpeed.cpp | HTWKSmartDriving/aadc-2017 | aff82d8b7d936cdfade6e8ad3edd548c71be8311 | [
"BSD-3-Clause"
] | 5 | 2017-11-18T09:35:24.000Z | 2021-01-20T07:03:46.000Z | #include "ChangeSpeed.h"
ADTF_FILTER_PLUGIN(FILTER_NAME, OID, ChangeSpeed);
ChangeSpeed::ChangeSpeed(const tChar *__info) : Leaf(__info) {
// speed properties
SetPropertyFloat(ROAD_SPEED_PROPERTY, SPEED_ROAD);
SetPropertyStr(ROAD_SPEED_PROPERTY NSSUBPROP_DESCRIPTION, "Speed to drive on road");
SetPro... | 37.460385 | 137 | 0.634732 | HTWKSmartDriving |
b3df21842b1f9462c97161cf890ce8cf1a5004a1 | 2,402 | cpp | C++ | simulation/algorithms/Type2/C++/Qt/Type2/MainWindow.cpp | motchy869/Distributed-ThompthonSampling | 17bb11f789ccc410e12c99347decc09c836dd708 | [
"MIT"
] | null | null | null | simulation/algorithms/Type2/C++/Qt/Type2/MainWindow.cpp | motchy869/Distributed-ThompthonSampling | 17bb11f789ccc410e12c99347decc09c836dd708 | [
"MIT"
] | null | null | null | simulation/algorithms/Type2/C++/Qt/Type2/MainWindow.cpp | motchy869/Distributed-ThompthonSampling | 17bb11f789ccc410e12c99347decc09c836dd708 | [
"MIT"
] | null | null | null | #include "common.h"
#include "Simulator.h"
#include "MainWindow.h"
#include <QApplication>
#include <QDebug>
#include <QLabel>
#include <QMetaObject>
#include <QProgressBar>
#include <QThread>
#include <QVBoxLayout>
//QThreadによるマルチスレッド処理に関しては次が参考になる: https://qiita.com/hermit4/items/b1eaf6132fb06a30091f
MainWindow::M... | 34.314286 | 124 | 0.764779 | motchy869 |