hexsha stringlengths 40 40 | size int64 19 11.4M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 270 | max_stars_repo_name stringlengths 5 110 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 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 3 270 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 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 3 270 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 19 11.4M | avg_line_length float64 1.93 229k | max_line_length int64 12 688k | alphanum_fraction float64 0.07 0.99 | matches listlengths 1 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
db5fb05ddd87b183a9e87137550d199c4fd1b371 | 8,024 | cpp | C++ | src/Launcher.cpp | pierotofy/glassomium | 27bbfc172501c9553e2ba769526399c166d2e992 | [
"Apache-2.0"
] | 8 | 2015-06-02T20:57:55.000Z | 2020-02-09T21:50:34.000Z | src/Launcher.cpp | pierotofy/glassomium | 27bbfc172501c9553e2ba769526399c166d2e992 | [
"Apache-2.0"
] | 2 | 2016-02-11T15:23:41.000Z | 2017-03-16T13:35:11.000Z | src/Launcher.cpp | pierotofy/glassomium | 27bbfc172501c9553e2ba769526399c166d2e992 | [
"Apache-2.0"
] | 5 | 2015-06-03T09:00:49.000Z | 2019-11-17T12:02:22.000Z | /*
Glassomium - web-based TUIO-enabled window manager
http://www.glassomium.org
Copyright 2012 The Glassomium Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http:... | 36.807339 | 188 | 0.677343 | [
"render",
"vector"
] |
db603654b5aa53ead67754cc06d77debe56c6f70 | 10,829 | cpp | C++ | third_party/libunwindstack/tests/RegsTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,847 | 2020-03-24T19:01:42.000Z | 2022-03-31T13:18:57.000Z | third_party/libunwindstack/tests/RegsTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 1,100 | 2020-03-24T19:41:13.000Z | 2022-03-31T14:27:09.000Z | third_party/libunwindstack/tests/RegsTest.cpp | tufeigunchu/orbit | 407354cf7c9159ff7e3177c603a6850b95509e3a | [
"BSD-2-Clause"
] | 228 | 2020-03-25T05:32:08.000Z | 2022-03-31T11:27:39.000Z | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 33.526316 | 85 | 0.720011 | [
"object",
"vector"
] |
db76aff0d96820b8ce55812f15e8ec9aa88eb70f | 13,615 | hpp | C++ | src/emu6502/mos6502.hpp | macsimbodnar/emu | 017bac23e38269065f2229dae89d92e788aeee73 | [
"MIT"
] | 3 | 2019-10-01T12:20:10.000Z | 2021-03-02T15:31:46.000Z | src/emu6502/mos6502.hpp | macsimbodnar/emu | 017bac23e38269065f2229dae89d92e788aeee73 | [
"MIT"
] | null | null | null | src/emu6502/mos6502.hpp | macsimbodnar/emu | 017bac23e38269065f2229dae89d92e788aeee73 | [
"MIT"
] | null | null | null | #pragma once
#include "common.hpp"
#include "util.hpp"
#include <functional>
#include <stdint.h>
#include <vector>
#define STACK_POINTER_DEFAULT 0xFD
#define PROCESSOR_STATUS_DEFAULT 0x24
#define INITIAL_ADDRESS 0xFFFC
#define STACK_OFFSET 0x0100
#define BRK_PCL 0xFFFE
#define BRK_PCH 0xFFFF
class MOS6502 {
public:
... | 52.976654 | 223 | 0.517885 | [
"vector",
"3d"
] |
db81d8b20943e6f53053bc42dfa2a4212e5ba9bc | 2,351 | cpp | C++ | test/util/merge_lines.test.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | test/util/merge_lines.test.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | test/util/merge_lines.test.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | #include <mbgl/test/util.hpp>
#include <mbgl/layout/merge_lines.hpp>
#include <mbgl/layout/symbol_feature.hpp>
const std::u32string aaa = U"a";
const std::u32string bbb = U"b";
TEST(MergeLines, SameText) {
// merges lines with the same text
std::vector<mbgl::SymbolFeature> input1 = {
{ {{{0, 0}, {1, ... | 30.532468 | 83 | 0.407912 | [
"geometry",
"vector"
] |
db882b3b6505a93410d0b86fff92786ab8b65277 | 3,462 | cpp | C++ | Marlin/src/gcode/config/M301.cpp | violigon/3DPrinter-DE2LV | 5c8960f07085cc11d232a52cb029aa92533287bd | [
"MIT"
] | null | null | null | Marlin/src/gcode/config/M301.cpp | violigon/3DPrinter-DE2LV | 5c8960f07085cc11d232a52cb029aa92533287bd | [
"MIT"
] | null | null | null | Marlin/src/gcode/config/M301.cpp | violigon/3DPrinter-DE2LV | 5c8960f07085cc11d232a52cb029aa92533287bd | [
"MIT"
] | null | null | null | /**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General... | 31.472727 | 98 | 0.655113 | [
"3d"
] |
db8d735b2d1d846f15033427131d08d15a171522 | 18,857 | cc | C++ | printing/backend/win_helper.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | printing/backend/win_helper.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | printing/backend/win_helper.cc | tmpsantos/chromium | 802d4aeeb33af25c01ee5994037bbf14086d4ac0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "printing/backend/win_helper.h"
#include <algorithm>
#include "base/file_version_info.h"
#include "base/files/file_path.h"
#include "base/l... | 35.986641 | 80 | 0.632974 | [
"model"
] |
db900a5092ed79db81cd4cee69efe2dfe8468470 | 19,657 | hpp | C++ | src/simd/vector_div.hpp | tum-db/partitioned-filters | 56c20102715a442cbec9ecb732d41de15b31c828 | [
"MIT"
] | 5 | 2021-08-16T17:48:45.000Z | 2022-03-10T22:53:54.000Z | src/simd/vector_div.hpp | tum-db/partitioned-filters | 56c20102715a442cbec9ecb732d41de15b31c828 | [
"MIT"
] | null | null | null | src/simd/vector_div.hpp | tum-db/partitioned-filters | 56c20102715a442cbec9ecb732d41de15b31c828 | [
"MIT"
] | null | null | null | #pragma once
namespace filters::simd {
template<size_t divisor, typename Vector>
forceinline
static Vector div(const Vector ÷nd) {
if constexpr (math::is_power_of_two(divisor)) {
return dividend >> math::const_log2(divisor);
} else if constexpr (not Vector::avx) {
... | 65.963087 | 100 | 0.552933 | [
"vector"
] |
db94cc4c0ccba7a226137c87853efd539680bee8 | 1,687 | cpp | C++ | calculus/accept.cpp | lilissun/spa | d44974c51017691ff4ada29c212c54bb0ee931c2 | [
"Apache-2.0"
] | null | null | null | calculus/accept.cpp | lilissun/spa | d44974c51017691ff4ada29c212c54bb0ee931c2 | [
"Apache-2.0"
] | null | null | null | calculus/accept.cpp | lilissun/spa | d44974c51017691ff4ada29c212c54bb0ee931c2 | [
"Apache-2.0"
] | 1 | 2020-04-24T02:28:32.000Z | 2020-04-24T02:28:32.000Z | //
// accept.cpp
// calculus
//
// Created by Li Li on 9/5/15.
// Copyright (c) 2015 Lilissun. All rights reserved.
//
#include "accept.h"
#include "common/iostream.h"
#include "common/debug.h"
#include "symbolic/term.h"
#include "symbolic/tuple.h"
#include "symbolic/number.h"
#include "symbolic/nonce.h"
#include... | 29.086207 | 124 | 0.639004 | [
"vector"
] |
db9d5000f751b4c90e04a6c0ef6f236920156228 | 14,194 | cpp | C++ | stromx/cvimgproc/Undistort.cpp | uboot/stromx-opencv | c7de6353905fee8870f8bf700363e0868ab17b78 | [
"Apache-2.0"
] | null | null | null | stromx/cvimgproc/Undistort.cpp | uboot/stromx-opencv | c7de6353905fee8870f8bf700363e0868ab17b78 | [
"Apache-2.0"
] | null | null | null | stromx/cvimgproc/Undistort.cpp | uboot/stromx-opencv | c7de6353905fee8870f8bf700363e0868ab17b78 | [
"Apache-2.0"
] | null | null | null | #include "stromx/cvimgproc/Undistort.h"
#include "stromx/cvimgproc/Locale.h"
#include "stromx/cvimgproc/Utility.h"
#include <stromx/cvsupport/Image.h>
#include <stromx/cvsupport/Matrix.h>
#include <stromx/cvsupport/Utilities.h>
#include <stromx/runtime/DataContainer.h>
#include <stromx/runtime/DataProvider.h>
#include... | 44.63522 | 176 | 0.515781 | [
"vector"
] |
dba3d0b793abebbcc3c1c6e774551d56d1e65783 | 3,935 | cpp | C++ | samples/OfflineRendererSample/OfflineRendererApplication.cpp | flygod1159/MxEngine | 20af09a63368acbf1fe674566deb73f8dd7f85b3 | [
"BSD-3-Clause"
] | 669 | 2020-07-01T17:22:12.000Z | 2022-03-31T02:48:17.000Z | samples/OfflineRendererSample/OfflineRendererApplication.cpp | MomoDeve/MomoEngine | f762ac9036f7f5519bc72e28f33f259e4699293b | [
"BSD-3-Clause"
] | 17 | 2020-07-09T16:39:40.000Z | 2021-12-08T03:11:57.000Z | samples/OfflineRendererSample/OfflineRendererApplication.cpp | MomoDeve/MomoEngine | f762ac9036f7f5519bc72e28f33f259e4699293b | [
"BSD-3-Clause"
] | 42 | 2020-08-03T18:53:40.000Z | 2022-03-18T06:27:56.000Z | #include <MxEngine.h>
namespace OfflineRendererSample
{
using namespace MxEngine;
/*
this sample shows how to render one big screenshot of a scene and save it to disk
although it is possible to just resize camera render texture,
such image will be bound by gpu memory. To avoid this, here we rend... | 42.771739 | 135 | 0.625159 | [
"render"
] |
dba8936ee9646c2627fdcd472a9abc0e30492851 | 528 | cpp | C++ | laboratorio-de-programacao/Turma 2021.1/classroomA.cpp | gustavo-mendel/my-college-projects | ccc1285e1a6863312e275f973e728de231a9458a | [
"MIT"
] | 3 | 2021-08-18T01:59:50.000Z | 2021-08-28T00:19:07.000Z | laboratorio-de-programacao/Turma 2021.1/classroomA.cpp | gustavo-mendel/my-college-projects | ccc1285e1a6863312e275f973e728de231a9458a | [
"MIT"
] | 4 | 2021-03-09T18:39:47.000Z | 2021-03-26T00:01:56.000Z | laboratorio-de-programacao/Turma 2021.1/classroomA.cpp | gustavo-mendel/my-college-projects | ccc1285e1a6863312e275f973e728de231a9458a | [
"MIT"
] | 1 | 2022-03-20T14:54:09.000Z | 2022-03-20T14:54:09.000Z | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n, a;
cin >> n;
vector<int> vet;
int joias = 0;
for (int i=0; i<n; i++) {
cin >> a;
if (a == 0 or a == 7 or a == 11 or a == 14 or a == 17 or a == 19) {
joias++;
vet.push_back(a);
}
}
if (joias == 6) {
cout << "Vinga... | 14.27027 | 69 | 0.492424 | [
"vector"
] |
dbad9576c129cc3e1c178cfbd2af66abffebaf42 | 6,032 | hpp | C++ | cvaux/cvaux.hpp | hoozh/emcv | e61b1d5ad16c255f0306d0e9feb8f32e3a92d97f | [
"BSD-3-Clause"
] | null | null | null | cvaux/cvaux.hpp | hoozh/emcv | e61b1d5ad16c255f0306d0e9feb8f32e3a92d97f | [
"BSD-3-Clause"
] | null | null | null | cvaux/cvaux.hpp | hoozh/emcv | e61b1d5ad16c255f0306d0e9feb8f32e3a92d97f | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, install,... | 40.483221 | 108 | 0.645391 | [
"object"
] |
dbb324bb2559b0d368865764c5f9c1be6ff5c58a | 11,048 | cpp | C++ | src/Scaleform.cpp | clayne/moreHUDSE | 7481da354c9a2100235892c96787b96d09049b63 | [
"MIT"
] | null | null | null | src/Scaleform.cpp | clayne/moreHUDSE | 7481da354c9a2100235892c96787b96d09049b63 | [
"MIT"
] | null | null | null | src/Scaleform.cpp | clayne/moreHUDSE | 7481da354c9a2100235892c96787b96d09049b63 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Scaleform.h"
#include "AHZScaleform.h"
#include "SKSE/API.h"
#include "AHZPapyrusMoreHud.h"
#include "HashUtil.h"
namespace Scaleform
{
class SKSEScaleform_InstallHooks : public RE::GFxFunctionHandler
{
public:
void Call([[maybe_unused]] Params& a_params) over... | 34.962025 | 112 | 0.587075 | [
"object"
] |
dbb5b4189f6ba9681ce5f0050878091d22389fd8 | 4,825 | hpp | C++ | src/cpp/f00316_poolpagemanager.hpp | ilackarms/voxelquest | 8e79cd27f540bdba0f52d7d184c17b59cfcb0cac | [
"MIT"
] | 428 | 2016-08-03T21:09:24.000Z | 2022-02-02T05:43:12.000Z | src/cpp/f00316_poolpagemanager.hpp | ctsrc/vqisosmall | 0e1dcd52999c7a797b5087ae5e04e25b41e619a3 | [
"MIT"
] | 9 | 2016-08-04T05:04:43.000Z | 2016-08-06T22:50:22.000Z | src/cpp/f00316_poolpagemanager.hpp | ctsrc/vqisosmall | 0e1dcd52999c7a797b5087ae5e04e25b41e619a3 | [
"MIT"
] | 56 | 2016-08-04T23:24:32.000Z | 2020-09-27T22:44:23.000Z |
class PoolPageManager {
public:
PoolPageManager() {
}
// int poolItemsCreated;
// bool isCPU;
// list<int> pagePoolIds;
// vector<intPair> orderedIds;
// vector<PooledResource *> pagePoolItems;
// Singleton* singleton;
// GameWorld* gw;
// bool isEntity;
// int sizeX;
// int sizeY;
... | 16.580756 | 100 | 0.498446 | [
"vector"
] |
dbb635524885d35ffb3359c1e30b2442a317a1ef | 2,200 | hpp | C++ | include/bliss.hpp | yunseo-h68/bliss | 1eaafd7bbc117f3b39f0900956db7ab7b085d941 | [
"MIT"
] | 1 | 2020-07-27T06:20:32.000Z | 2020-07-27T06:20:32.000Z | include/bliss.hpp | yunseo-h68/bliss | 1eaafd7bbc117f3b39f0900956db7ab7b085d941 | [
"MIT"
] | null | null | null | include/bliss.hpp | yunseo-h68/bliss | 1eaafd7bbc117f3b39f0900956db7ab7b085d941 | [
"MIT"
] | null | null | null | #ifndef BLISS_H
#define BLISS_H
#include <string>
#include <vector>
class BlissExec {
public:
BlissExec();
~BlissExec();
std::string name();
std::string description();
virtual BlissExec* set_name(std::string name);
virtual BlissExec* set_description(std::string description);
virtual void Exec(){}
pri... | 26.829268 | 65 | 0.745909 | [
"vector"
] |
dbb75e7e7e69999962db5dadb4be8786ad37ca33 | 6,406 | cpp | C++ | SCA/src/ClippedGaussianSampling.cpp | JooseRajamaeki/TVCG18 | ddc73f422c267b1c38ede3ba20046efff46a6d74 | [
"MIT"
] | 6 | 2019-09-23T09:00:32.000Z | 2022-01-09T11:10:49.000Z | SCA/src/ClippedGaussianSampling.cpp | JooseRajamaeki/TVCG18 | ddc73f422c267b1c38ede3ba20046efff46a6d74 | [
"MIT"
] | null | null | null | SCA/src/ClippedGaussianSampling.cpp | JooseRajamaeki/TVCG18 | ddc73f422c267b1c38ede3ba20046efff46a6d74 | [
"MIT"
] | null | null | null | /*
Part of Aalto University Game Tools. See LICENSE.txt for licensing info.
*/
#include "ClippedGaussianSampling.h"
#include <math.h>
#include <vector>
#include "Mathutils.h"
#include <algorithm>
#include <assert.h>
#include <math.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
namespace AaltoGames
{
... | 34.256684 | 144 | 0.747424 | [
"vector",
"transform"
] |
dbb8e303582f7e713e637d7c00da4321f3257a42 | 19,626 | cpp | C++ | ZeroEngine/Core/ModulePhysics.cpp | Germanins6/Zero-Engine | db0dacdf2951700c94b41d32db3bac99b04a110a | [
"MIT"
] | null | null | null | ZeroEngine/Core/ModulePhysics.cpp | Germanins6/Zero-Engine | db0dacdf2951700c94b41d32db3bac99b04a110a | [
"MIT"
] | 7 | 2020-10-05T21:56:42.000Z | 2020-12-30T18:22:07.000Z | ZeroEngine/Core/ModulePhysics.cpp | Germanins6/Zero-Engine | db0dacdf2951700c94b41d32db3bac99b04a110a | [
"MIT"
] | 1 | 2021-01-10T20:46:28.000Z | 2021-01-10T20:46:28.000Z | #include "ModulePhysics.h"
#include "Application.h"
#include "PrimitivesGL.h"
#include "p2Defs.h"
#ifndef _DEBUG
# pragma comment(lib, "Core/physx/libx86/_release/PhysX_32.lib")
# pragma comment(lib, "Core/physx/libx86/_release/PhysXCommon_32.lib")
# pragma comment(lib, "Core/physx/libx86/_releas... | 29.468468 | 137 | 0.710639 | [
"mesh",
"geometry",
"render",
"object",
"shape",
"vector",
"transform"
] |
dbc1d7a7d4038979b3f422feede81ae76ccd16e9 | 5,144 | cpp | C++ | tasks/day04/day_04.cpp | Majrusz/AdventOfCode2018 | 1ecd68185faa4b31a23f57f81d5e848766ad3014 | [
"MIT"
] | null | null | null | tasks/day04/day_04.cpp | Majrusz/AdventOfCode2018 | 1ecd68185faa4b31a23f57f81d5e848766ad3014 | [
"MIT"
] | null | null | null | tasks/day04/day_04.cpp | Majrusz/AdventOfCode2018 | 1ecd68185faa4b31a23f57f81d5e848766ad3014 | [
"MIT"
] | null | null | null | // Created by Majrusz on 25/07/2021. All rights reserved.
#include "day_04.h"
#include <algorithm>
#include <map>
#include <set>
#include <sstream>
#include "common/file_loader.h"
#include "common/zipper.h"
void aoc::day04::start() {
std::vector< Record > records{ loadFile< Record >( "day04/input.txt" ) };
std::... | 35.972028 | 197 | 0.667379 | [
"vector"
] |
dbc218ed44a2bafa158c180d0e2c0364e5358d7f | 4,676 | cpp | C++ | Source/Core/Visualization/Mapper/HexahedralCell.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 42 | 2015-07-24T23:05:07.000Z | 2022-03-16T01:31:04.000Z | Source/Core/Visualization/Mapper/HexahedralCell.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 4 | 2015-03-17T05:42:49.000Z | 2020-08-09T15:21:45.000Z | Source/Core/Visualization/Mapper/HexahedralCell.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 29 | 2015-01-03T05:56:32.000Z | 2021-10-05T15:28:33.000Z | /****************************************************************************/
/**
* @file HexahedralCell.cpp
* @author Naohisa Sakamoto
*/
/****************************************************************************/
#include "HexahedralCell.h"
namespace kvs
{
/*=============================================... | 31.173333 | 81 | 0.473268 | [
"object"
] |
3a7aeeb21a0e88056a65c55e7b53a79f161b9dd7 | 1,744 | cpp | C++ | Practise/OOPS/main.cpp | Himanshu40/Learn-Cpp | f0854f7c88bf31857c0c6216af80245666ca9b54 | [
"CC-BY-4.0"
] | 2 | 2021-07-18T18:12:10.000Z | 2021-07-19T15:40:25.000Z | Practise/OOPS/main.cpp | Himanshu40/Learn-Cpp | f0854f7c88bf31857c0c6216af80245666ca9b54 | [
"CC-BY-4.0"
] | null | null | null | Practise/OOPS/main.cpp | Himanshu40/Learn-Cpp | f0854f7c88bf31857c0c6216af80245666ca9b54 | [
"CC-BY-4.0"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
class Base {
private:
static int objCount;
int size;
int *data;
public:
Base() : Base {0, 0} {
cout << "No-args constructor called for " << *data << endl;
}
Base(int size, int value)... | 20.517647 | 77 | 0.466743 | [
"object",
"vector"
] |
3a7c7e3d53a068481acce793231776f49d5ef54b | 30,144 | cc | C++ | chrome/browser/apps/app_service/publishers/extension_apps_chromeos.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | chrome/browser/apps/app_service/publishers/extension_apps_chromeos.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | chrome/browser/apps/app_service/publishers/extension_apps_chromeos.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"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 "chrome/browser/apps/app_service/publishers/extension_apps_chromeos.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
... | 36.014337 | 96 | 0.724323 | [
"vector"
] |
3a7c929d305a98807129fae299e70d66aaffcbea | 13,040 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/libs/qmleditorwidgets/easingpane/easingcontextpane.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/libs/qmleditorwidgets/easingpane/easingcontextpane.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/libs/qmleditorwidgets/easingpane/easingcontextpane.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 35.922865 | 123 | 0.68635 | [
"geometry"
] |
3a7ee6d1a2144e659da2bdb292b86af60d668104 | 13,852 | cpp | C++ | XV8/XV8.cpp | web-atoms/xamarin-v8 | 22e67bd7e100fbfdfe0fb2600e47f609baa2020a | [
"MIT"
] | 6 | 2020-04-26T04:55:33.000Z | 2021-12-03T05:53:21.000Z | XV8/XV8.cpp | web-atoms/xamarin-v8 | 22e67bd7e100fbfdfe0fb2600e47f609baa2020a | [
"MIT"
] | 5 | 2020-10-06T19:29:20.000Z | 2022-02-27T09:21:35.000Z | XV8/XV8.cpp | web-atoms/xamarin-v8 | 22e67bd7e100fbfdfe0fb2600e47f609baa2020a | [
"MIT"
] | 3 | 2020-09-23T15:31:33.000Z | 2022-02-13T20:11:12.000Z | #include "v8.h"
#include <stdlib.h>
#include "libplatform.h"
using namespace v8;
typedef char* XString;
/**
Everything is sent as a pointer to Persistent object, reason is, JavaScript engine should
not destroy it till it is explicitly destroyed by host application.
*/
typedef Persistent<Value, CopyablePersiste... | 29.285412 | 117 | 0.736572 | [
"object"
] |
3a8339d85d7342f65f1c09c0b4149443172f3f46 | 1,891 | cpp | C++ | Command/Editor/EditorTests/InsertImageCommandTests.cpp | chosti34/ood | 3d74b5253f667d3de1ee610fb7509cf3015ea79c | [
"MIT"
] | null | null | null | Command/Editor/EditorTests/InsertImageCommandTests.cpp | chosti34/ood | 3d74b5253f667d3de1ee610fb7509cf3015ea79c | [
"MIT"
] | 9 | 2018-02-09T06:12:29.000Z | 2018-06-06T06:26:40.000Z | Command/Editor/EditorTests/InsertImageCommandTests.cpp | chosti34/ood | 3d74b5253f667d3de1ee610fb7509cf3015ea79c | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "../InsertImageCommand.h"
#include "ImageFileStorageMock.h"
#include "../Image.h"
#include "../CommandManager.h"
#include <boost/test/tools/output_test_stream.hpp>
namespace
{
struct InsertImageCommandFixture
{
InsertImageCommandFixture()
: storage(std::make_shared<ImageFileStorageMock... | 27.014286 | 109 | 0.756742 | [
"vector"
] |
3a8a7b42f90482da2113ce434849acacafa79c2e | 423 | cpp | C++ | devertexwahn/flatland/tests/third_party/eigen_test.cpp | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | 62 | 2021-09-21T18:58:02.000Z | 2022-03-07T02:17:43.000Z | devertexwahn/flatland/tests/third_party/eigen_test.cpp | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | devertexwahn/flatland/tests/third_party/eigen_test.cpp | Vertexwahn/FlatlandRT | 37d09fde38b25eff5f802200b43628efbd1e3198 | [
"Apache-2.0"
] | null | null | null | /*
* SPDX-FileCopyrightText: 2022 Julian Amann <dev@vertexwahn.de>
* SPDX-License-Identifier: Apache-2.0
*/
#include "include/gmock/gmock.h"
#include "Eigen/Geometry"
TEST(Eigen, Eigen_Translate) {
Eigen::Affine3f transform(Eigen::Translation3f(1,2,3));
Eigen::Matrix4f matrix = transform.matrix();
... | 26.4375 | 65 | 0.699764 | [
"geometry",
"transform"
] |
3a8e8fdd54ff5239c9af9f0691f27ce0752f8476 | 20,625 | cpp | C++ | utils/ResourceLibrary.cpp | hpbader42/KrisLibrary | 04efbe9e4ddd5dd8aacad7462143ae604c963791 | [
"BSD-3-Clause"
] | null | null | null | utils/ResourceLibrary.cpp | hpbader42/KrisLibrary | 04efbe9e4ddd5dd8aacad7462143ae604c963791 | [
"BSD-3-Clause"
] | null | null | null | utils/ResourceLibrary.cpp | hpbader42/KrisLibrary | 04efbe9e4ddd5dd8aacad7462143ae604c963791 | [
"BSD-3-Clause"
] | null | null | null | #include <log4cxx/logger.h>
#include <KrisLibrary/Logger.h>
#include "ResourceLibrary.h"
#include "AnyCollection.h"
#include "stringutils.h"
#include "fileutils.h"
#include "ioutils.h"
#include <set>
#include <fstream>
#include <sstream>
#if HAVE_TINYXML
#include <tinyxml.h>
#else
class TiXmlElement {};
#endif
using na... | 26.307398 | 144 | 0.652412 | [
"vector"
] |
3a904777f2befa290c8aa06c01787ba6ca8d7f2f | 21,180 | cpp | C++ | CombBLAS/DenseParVec.cpp | shoaibkamil/OLD-kdt-specializer | 85074ec1990df980d25096ea8c55dd81350e531e | [
"BSD-3-Clause"
] | 1 | 2021-11-15T02:11:33.000Z | 2021-11-15T02:11:33.000Z | CombBLAS/DenseParVec.cpp | shoaibkamil/OLD-kdt-specializer | 85074ec1990df980d25096ea8c55dd81350e531e | [
"BSD-3-Clause"
] | null | null | null | CombBLAS/DenseParVec.cpp | shoaibkamil/OLD-kdt-specializer | 85074ec1990df980d25096ea8c55dd81350e531e | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************/
/* Parallel Combinatorial BLAS Library (for Graph Computations) */
/* version 1.2 -------------------------------------------------*/
/* date: 10/06/2011 --------------------------------------------*/
/* authors: Aydin Buluc (abuluc@lbl.gov), Adam Lugow... | 29.173554 | 142 | 0.646034 | [
"object",
"vector",
"transform"
] |
3a91b76494660e6753f5e8b685cb43f718f25d1d | 1,240 | cpp | C++ | src/LinuxLibraryLoader.cpp | matt-komm/CPX | 48ec3b39c0a6b58c97a6acb6221619113e8a6406 | [
"MIT"
] | null | null | null | src/LinuxLibraryLoader.cpp | matt-komm/CPX | 48ec3b39c0a6b58c97a6acb6221619113e8a6406 | [
"MIT"
] | null | null | null | src/LinuxLibraryLoader.cpp | matt-komm/CPX | 48ec3b39c0a6b58c97a6acb6221619113e8a6406 | [
"MIT"
] | null | null | null | #include "cpx/LinuxLibraryLoader.hpp"
#include "cpx/PluginFactory.hpp"
#include <dlfcn.h>
namespace cpx
{
LinuxLibraryLoader::LinuxLibraryLoader(PluginFactory* pluginFactory):
_pluginFactory(pluginFactory)
{
}
void LinuxLibraryLoader::loadLibrary(std::string file)
{
typedef void (*InitFct)(cpx::PluginFactor... | 23.846154 | 79 | 0.614516 | [
"object"
] |
3a96962381b7a4988e195a2c939303ac94d1df75 | 7,070 | cpp | C++ | src/qt/marketdecisiontablemodel.cpp | truthcoin/truthcoin-cpp | a85161e8a2bbb6bc4d0a5553403f0b8b1f9ac529 | [
"MIT"
] | 34 | 2015-06-23T16:06:35.000Z | 2021-04-02T20:34:11.000Z | src/qt/marketdecisiontablemodel.cpp | truthcoin/truthcoin-cpp | a85161e8a2bbb6bc4d0a5553403f0b8b1f9ac529 | [
"MIT"
] | 2 | 2016-05-13T15:21:08.000Z | 2016-05-15T17:43:24.000Z | src/qt/marketdecisiontablemodel.cpp | truthcoin/truthcoin-cpp | a85161e8a2bbb6bc4d0a5553403f0b8b1f9ac529 | [
"MIT"
] | 6 | 2015-06-23T18:12:18.000Z | 2015-09-16T13:45:35.000Z | // Copyright (c) 2015 The Truthcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <QList>
#include "guiutil.h"
#include "main.h"
#include "marketdecisiontablemodel.h"
#include "primitives/market.h"
#i... | 25.340502 | 103 | 0.628996 | [
"vector"
] |
3a99642d2d7be8c2d201e88508378258331ff67a | 10,754 | cpp | C++ | src/Grid/Grid.cpp | lhilbert/active-microemulsion | c0514f148d673501d1966e2d65a4568b26b8bacb | [
"BSD-2-Clause"
] | 2 | 2020-05-01T19:45:39.000Z | 2022-02-20T06:47:25.000Z | src/Grid/Grid.cpp | lhilbert/active-microemulsion | c0514f148d673501d1966e2d65a4568b26b8bacb | [
"BSD-2-Clause"
] | 33 | 2018-08-20T08:36:38.000Z | 2019-08-07T18:48:38.000Z | src/Grid/Grid.cpp | lhilbert/active-microemulsion | c0514f148d673501d1966e2d65a4568b26b8bacb | [
"BSD-2-Clause"
] | null | null | null | #include <utility>
//
// Created by tommaso on 03/08/18.
//
#include <cstdlib>
#include <functional>
#include "Grid.h"
#include "../Utils/RandomGenerator.h"
std::mt19937 Grid::randomNumberGenerator = RandomGenerator::getInstance().getGenerator();
// NOTE: nice alloc and dealloc come from https://stackoverflow.com/a... | 30.902299 | 115 | 0.634741 | [
"vector"
] |
3a9a1a7245cba19eec82ffb0c680d1d072bfe834 | 13,931 | cpp | C++ | applications/plugins/SofaPython/PythonScriptController.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/plugins/SofaPython/PythonScriptController.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | applications/plugins/SofaPython/PythonScriptController.cpp | sofa-framework/issofa | 94855f488465bc3ed41223cbde987581dfca5389 | [
"OML"
] | null | null | null | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | 36.952255 | 165 | 0.695427 | [
"object"
] |
3a9d611d48a58ced136d0040c7a1f7460c7a537a | 18,154 | cpp | C++ | src/ngraph/runtime/plaidml/plaidml_ops_general.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/plaidml/plaidml_ops_general.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/plaidml/plaidml_ops_general.cpp | tzerrell/ngraph | b02b0812745ca1cb5f73d426ae9e0ad729eb0bbd | [
"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... | 39.724289 | 100 | 0.488873 | [
"shape",
"vector",
"transform"
] |
3aa6cbb33fc3689709e72f6be6a59110356ddf2e | 2,314 | cpp | C++ | src/ErrorReporting/Error.cpp | little-blue/Surelog | 1c2459f841f6e6d923b336feacd22ccfb9aea845 | [
"Apache-2.0"
] | null | null | null | src/ErrorReporting/Error.cpp | little-blue/Surelog | 1c2459f841f6e6d923b336feacd22ccfb9aea845 | [
"Apache-2.0"
] | null | null | null | src/ErrorReporting/Error.cpp | little-blue/Surelog | 1c2459f841f6e6d923b336feacd22ccfb9aea845 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2019 Alain Dargelas
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, softwar... | 32.138889 | 76 | 0.700086 | [
"vector"
] |
3aab9217d2eb186631f3cbfee7ecd6ef4c0c5ea4 | 15,567 | cpp | C++ | plugins/community/repos/dBiz/src/TROSC.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/dBiz/src/TROSC.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/dBiz/src/TROSC.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z |
#include "dBiz.hpp"
#include "dsp/decimator.hpp"
#include "dsp/filter.hpp"
namespace rack_plugin_dBiz {
extern float sawTable[2048];
extern float triTable[2048];
template <int OVERSAMPLE, int QUALITY>
struct VoltageControlledOscillator
{
bool analog = false;
bool soft = false;
float lastSyncValue = 0.0f;
float... | 31.196393 | 134 | 0.69082 | [
"model"
] |
3aaee48d08bf4aa77c43761deede619628ad3870 | 32,951 | cc | C++ | astrobee/behaviors/inspection/src/inspection_node.cc | oleg-alexandrov/isaac | 94996bc1a20fa090336e67b3db5c10a9bb30f0f7 | [
"Apache-2.0"
] | 1 | 2021-12-07T22:59:34.000Z | 2021-12-07T22:59:34.000Z | astrobee/behaviors/inspection/src/inspection_node.cc | oleg-alexandrov/isaac | 94996bc1a20fa090336e67b3db5c10a9bb30f0f7 | [
"Apache-2.0"
] | null | null | null | astrobee/behaviors/inspection/src/inspection_node.cc | oleg-alexandrov/isaac | 94996bc1a20fa090336e67b3db5c10a9bb30f0f7 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2021, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The "ISAAC - Integrated System for Autonomous and Adaptive Caretaking
* platform" software is licensed under the Apache License, Version 2.0
* ... | 38.137731 | 120 | 0.669873 | [
"geometry",
"vector"
] |
3aaffabcd7d19a3aa219f5b21f8e9e01675bdb47 | 4,011 | cpp | C++ | vpc/src/v2/model/CreateVpcRouteOption.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 5 | 2021-03-03T08:23:43.000Z | 2022-02-16T02:16:39.000Z | vpc/src/v2/model/CreateVpcRouteOption.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | null | null | null | vpc/src/v2/model/CreateVpcRouteOption.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 7 | 2021-02-26T13:53:35.000Z | 2022-03-18T02:36:43.000Z |
#include "huaweicloud/vpc/v2/model/CreateVpcRouteOption.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Vpc {
namespace V2 {
namespace Model {
CreateVpcRouteOption::CreateVpcRouteOption()
{
destination_ = "";
destinationIsSet_ = false;
nexthop_ = "";
nexthopIsSet_ = false;
type_ = "";
... | 21.449198 | 102 | 0.653702 | [
"object",
"model"
] |
3ab735633cd447b05c2475e465669687afd9befa | 8,874 | cpp | C++ | inetcore/connectionwizard/icwutil/registry.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/connectionwizard/icwutil/registry.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/connectionwizard/icwutil/registry.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /****************************************************************************
*
* REGISTRY.cpp
*
* Microsoft Confidential
* Copyright (c) Microsoft Corporation 1992-1997
* All rights reserved
*
* This module provides functionality for self-registering/unregistering via
* the regsvr32.exe
*
*... | 30.286689 | 82 | 0.506423 | [
"model"
] |
3abeee13f180a984a952e5c00580ad8a215aba43 | 15,874 | cpp | C++ | Src/Basler/Samples/PCL/MergePointClouds/SynchronousGrabber.cpp | jjuiddong/KinectDepthCamera | 11989a4a47728619b10e7c1012a12b94157670c4 | [
"MIT"
] | 1 | 2019-03-17T14:03:14.000Z | 2019-03-17T14:03:14.000Z | Src/Basler/Samples/PCL/MergePointClouds/SynchronousGrabber.cpp | jjuiddong/KinectDepthCamera | 11989a4a47728619b10e7c1012a12b94157670c4 | [
"MIT"
] | null | null | null | Src/Basler/Samples/PCL/MergePointClouds/SynchronousGrabber.cpp | jjuiddong/KinectDepthCamera | 11989a4a47728619b10e7c1012a12b94157670c4 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "SynchronousGrabber.h"
// Utility class for time measurements.
#include "StopWatch.h"
#ifdef CIH_LINUX_BUILD // Make sure proper headers are used when compiling under Linux ...
#include <unistd.h>
#endif
#ifdef CIH_WIN_BUILD // ... or under Windows.
#include <windows.h>
#en... | 35.275556 | 143 | 0.616669 | [
"vector",
"3d"
] |
3ac0c4a8f284d4ca98e5961242abc2b226208cb5 | 1,710 | cpp | C++ | idlcpp/src/Platform.cpp | ericyao2013/idlcpp | 01745707b3ec2e89acfec2eb4af0656a82d5337d | [
"MIT"
] | 31 | 2016-04-12T05:38:50.000Z | 2021-07-25T13:33:01.000Z | idlcpp/src/Platform.cpp | fdyjfd/idlcpp | d0bd13d96d546b06074062fb3984b42569e71fae | [
"MIT"
] | null | null | null | idlcpp/src/Platform.cpp | fdyjfd/idlcpp | d0bd13d96d546b06074062fb3984b42569e71fae | [
"MIT"
] | 6 | 2016-03-16T02:30:41.000Z | 2021-09-26T03:10:52.000Z | #include "Platform.h"
#include <Windows.h>
#include <shlwapi.h>
#include <algorithm>
#pragma comment(lib, "shlwapi.lib")
bool fileExisting(const char* fileName)
{
DWORD attr = GetFileAttributes(fileName);
return ((attr != INVALID_FILE_ATTRIBUTES) && ((attr & FILE_ATTRIBUTE_DIRECTORY) == 0));
}
bool isAbsolutePath(... | 19.883721 | 88 | 0.67076 | [
"transform"
] |
3ac60e224aa8837cb353a34516b16e2df03b0a91 | 4,183 | cpp | C++ | code/cone.cpp | annaliseko/HW6 | 67e9ea212994c8ec9786719fa3646c5bcc2eee7a | [
"MIT"
] | null | null | null | code/cone.cpp | annaliseko/HW6 | 67e9ea212994c8ec9786719fa3646c5bcc2eee7a | [
"MIT"
] | null | null | null | code/cone.cpp | annaliseko/HW6 | 67e9ea212994c8ec9786719fa3646c5bcc2eee7a | [
"MIT"
] | null | null | null | #include "cone.h"
#include "parse.h"
#include "material.h"
#include "roots.h"
#include "main.h"
// single glu quadric object to draw all the cones with
static GLUquadricObj* coneQuadric = gluNewQuadric();
Cone::Cone ()
: Shape ()
{
closed = false;
}
Cone::~Cone ()
{
}
double Con... | 22.610811 | 81 | 0.545781 | [
"object",
"shape"
] |
3aca479ccf5e8c5c8d67c6d8b048e2fd6960bbc3 | 7,698 | cc | C++ | mindspore/lite/src/pack_weight_manager.cc | zhz44/mindspore | 6044d34074c8505dd4b02c0a05419cbc32a43f86 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/pack_weight_manager.cc | zhz44/mindspore | 6044d34074c8505dd4b02c0a05419cbc32a43f86 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/src/pack_weight_manager.cc | zhz44/mindspore | 6044d34074c8505dd4b02c0a05419cbc32a43f86 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2022 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 36.657143 | 113 | 0.697844 | [
"model"
] |
3acdba37664a7946620f91af450a4e9a6e394db7 | 1,870 | cpp | C++ | example/main.cpp | particle-iot/model_gauge | 2cbca46597f7087a815aa2a2cec5280d86d20171 | [
"Apache-2.0"
] | null | null | null | example/main.cpp | particle-iot/model_gauge | 2cbca46597f7087a815aa2a2cec5280d86d20171 | [
"Apache-2.0"
] | null | null | null | example/main.cpp | particle-iot/model_gauge | 2cbca46597f7087a815aa2a2cec5280d86d20171 | [
"Apache-2.0"
] | null | null | null |
#include "Particle.h"
#include "model_gauge.h"
SerialLogHandler logHandler(115200, LOG_LEVEL_INFO);
SYSTEM_MODE(MANUAL);
// define your new battery model config first, or use the default config in model_gauge.h
// example: LG INR21700 battery model get from the .ini file
const model_config_t model_config_example = {... | 28.333333 | 104 | 0.631016 | [
"object",
"model"
] |
3aceb3ab8a6acbe466efb20fc82cb218767ce796 | 1,249 | hpp | C++ | src/renderer.hpp | daniel-junior-dube/comfywm-cpp | ea1d19a11c8bfbbc49359af5d020956c0da6d281 | [
"MIT"
] | null | null | null | src/renderer.hpp | daniel-junior-dube/comfywm-cpp | ea1d19a11c8bfbbc49359af5d020956c0da6d281 | [
"MIT"
] | null | null | null | src/renderer.hpp | daniel-junior-dube/comfywm-cpp | ea1d19a11c8bfbbc49359af5d020956c0da6d281 | [
"MIT"
] | null | null | null | #pragma once
extern "C" {
#include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/types/wlr_output.h>
#include <wlr/types/wlr_output_layout.h>
#define static
#include <wlr/types/wlr_matrix.h>
#include <wlr/render/wlr_renderer.h>
#undef static
}
#include <functional>
#include "output.hpp"
... | 24.98 | 115 | 0.755805 | [
"render"
] |
3ad19cba91eba5ea5e7148d98e39f8341a0034c7 | 33,563 | hpp | C++ | luaWrapper/luaWrapper.hpp | HeeroYui-deprecated/luaWrapper | df103aa144b3adfc611de58b20760eb832385654 | [
"MIT"
] | 1 | 2018-02-26T18:22:59.000Z | 2018-02-26T18:22:59.000Z | luaWrapper/luaWrapper.hpp | HeeroYui-deprecated/luaWrapper | df103aa144b3adfc611de58b20760eb832385654 | [
"MIT"
] | null | null | null | luaWrapper/luaWrapper.hpp | HeeroYui-deprecated/luaWrapper | df103aa144b3adfc611de58b20760eb832385654 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2010-2013 Alexander Ames
* Alexander.Ames@gmail.com
* See Copyright Notice at the end of this file
*/
/** API Summary:
*
* LuaWrapper is a library designed to help bridge the gab between Lua and
* C++. It is designed to be small (a single header file), simple, fast,
* and typesafe. It has n... | 41.95375 | 149 | 0.688854 | [
"object"
] |
3ad2a65de74d1081db492b000d0622bbb86f1f17 | 1,670 | hpp | C++ | GameCode/Generator.hpp | malysonb/Ludkerno | 8717710370d70583af2f05492dc5f38403137f11 | [
"MIT"
] | 1 | 2021-03-16T20:48:38.000Z | 2021-03-16T20:48:38.000Z | GameCode/Generator.hpp | malysonb/Ludkerno | 8717710370d70583af2f05492dc5f38403137f11 | [
"MIT"
] | null | null | null | GameCode/Generator.hpp | malysonb/Ludkerno | 8717710370d70583af2f05492dc5f38403137f11 | [
"MIT"
] | null | null | null | #pragma once
#include "../Ludkerno.hpp"
#include "Cactus.hpp"
class Generator : public Component
{
private:
Uint32 m_currenttime = 0;
Uint32 m_lasttime = 0;
Uint32 WaitTime = 60000;
public:
void Init()
{
m_lasttime = SDL_GetTicks();
Active = true;
}
void Up... | 33.4 | 121 | 0.521557 | [
"render",
"object",
"transform"
] |
3ad30c34b7ba3ef4c537f7355b07d81ee19da7d6 | 6,724 | cpp | C++ | gui/ctrl/look/drop_down.cpp | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/ctrl/look/drop_down.cpp | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | gui/ctrl/look/drop_down.cpp | r3dl3g/guipp | 3d3179be3022935b46b59f1b988a029abeabfcbf | [
"MIT"
] | null | null | null | /**
* @copyright (c) 2016-2021 Ing. Buero Rothfuss
* Riedlinger Str. 8
* 70327 Stuttgart
* Germany
* http://www.rothfuss-web.de
*
* @author <a href="mailto:armin@rothfuss-web.de">Armin Rothfuss</a>
*
* Projec... | 37.775281 | 144 | 0.524836 | [
"vector"
] |
3ad8bf99c3e5b4a8132b1b041c9e90f196c3fbde | 5,686 | cpp | C++ | Chapter16/sd/sd.cpp | fengjixuchui/Win10SysProgBookSamples | 360aff30a19da2ea4c9be6f41c481aa8bf39a2b0 | [
"MIT"
] | 249 | 2019-07-09T17:14:43.000Z | 2022-03-28T01:54:26.000Z | Chapter16/sd/sd.cpp | fengjixuchui/Win10SysProgBookSamples | 360aff30a19da2ea4c9be6f41c481aa8bf39a2b0 | [
"MIT"
] | 8 | 2019-07-12T21:08:29.000Z | 2022-01-04T12:32:00.000Z | Chapter16/sd/sd.cpp | isabella232/Win10SysProgBookSamples | 97e479a9a4923ecf94866bae516a76bde02ef71e | [
"MIT"
] | 70 | 2019-07-10T02:14:55.000Z | 2022-03-08T00:53:07.000Z | // sd.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <Windows.h>
#include <stdio.h>
#include <sddl.h>
#include <string>
#include <AclAPI.h>
std::wstring SidToString(const PSID sid) {
PWSTR ssid;
std::wstring result;
if (::ConvertSidToStringSid(sid, &ssid)) {
re... | 29.158974 | 100 | 0.682378 | [
"object"
] |
3adaabd3f425129c4d247c66398f963c0933aa59 | 10,746 | cpp | C++ | be/src/exec/vectorized/hdfs_scanner.cpp | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | 1 | 2022-03-08T09:13:32.000Z | 2022-03-08T09:13:32.000Z | be/src/exec/vectorized/hdfs_scanner.cpp | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | be/src/exec/vectorized/hdfs_scanner.cpp | stephen-shelby/starrocks | 67932670efddbc8c56e2aaf5d3758724dcb44b0a | [
"Zlib",
"PSF-2.0",
"BSD-2-Clause",
"Apache-2.0",
"ECL-2.0",
"BSD-3-Clause-Clear"
] | null | null | null | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#include "exec/vectorized/hdfs_scanner.h"
#include "column/column_helper.h"
#include "exec/exec_node.h"
namespace starrocks::vectorized {
Status HdfsScanner::init(RuntimeState* runtime_state, const HdfsScannerParams& ... | 37.055172 | 118 | 0.682207 | [
"vector"
] |
3ae79ce8ce3459d383fd0223c98ca4689fbbba72 | 13,570 | cc | C++ | src/components/application_manager/test/mobile_message_handler_test.cc | russjohnson09/sdl_core | 9de7f1456f1807ae97348f774f7eead0ee92fd6d | [
"BSD-3-Clause"
] | 249 | 2015-01-15T16:50:53.000Z | 2022-03-24T13:23:34.000Z | src/components/application_manager/test/mobile_message_handler_test.cc | russjohnson09/sdl_core | 9de7f1456f1807ae97348f774f7eead0ee92fd6d | [
"BSD-3-Clause"
] | 2,917 | 2015-01-12T16:17:49.000Z | 2022-03-31T11:57:47.000Z | src/components/application_manager/test/mobile_message_handler_test.cc | russjohnson09/sdl_core | 9de7f1456f1807ae97348f774f7eead0ee92fd6d | [
"BSD-3-Clause"
] | 306 | 2015-01-12T09:23:20.000Z | 2022-01-28T18:06:30.000Z | /*
* Copyright (c) 2015, Ford Motor Company
* 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 condit... | 37.486188 | 86 | 0.687325 | [
"vector"
] |
3aee887abd0de589319ee03abde24e829d82286a | 46,185 | cpp | C++ | storagehandler.cpp | medadyoung/phosphor-host-ipmid | 8e83f5cfd827ee439217bc72787a7431a6207210 | [
"Apache-2.0"
] | null | null | null | storagehandler.cpp | medadyoung/phosphor-host-ipmid | 8e83f5cfd827ee439217bc72787a7431a6207210 | [
"Apache-2.0"
] | null | null | null | storagehandler.cpp | medadyoung/phosphor-host-ipmid | 8e83f5cfd827ee439217bc72787a7431a6207210 | [
"Apache-2.0"
] | null | null | null | #include "storagehandler.hpp"
#include "fruread.hpp"
#include "read_fru_data.hpp"
#include "selutility.hpp"
#include "sensorhandler.hpp"
#include "storageaddsel.hpp"
#include <arpa/inet.h>
#include <mapper.h>
#include <systemd/sd-bus.h>
#include <algorithm>
#include <boost/beast/core/span.hpp>
#include <boost/proces... | 31.764099 | 80 | 0.601667 | [
"object",
"vector"
] |
3af0d87199767d8764ba6d251929ca9875745f32 | 22,650 | cpp | C++ | src/plugins/robots/e-puck/simulator/epuck_entity.cpp | wtrep/argos3 | 8c855408ca7d88be4ccf015ad93d7a6abd3c7f0b | [
"MIT"
] | null | null | null | src/plugins/robots/e-puck/simulator/epuck_entity.cpp | wtrep/argos3 | 8c855408ca7d88be4ccf015ad93d7a6abd3c7f0b | [
"MIT"
] | 1 | 2021-02-28T23:45:32.000Z | 2021-02-28T23:45:32.000Z | src/plugins/robots/e-puck/simulator/epuck_entity.cpp | wtrep/argos3 | 8c855408ca7d88be4ccf015ad93d7a6abd3c7f0b | [
"MIT"
] | 7 | 2021-02-26T16:41:06.000Z | 2022-01-19T21:36:31.000Z | /**
* @file <argos3/plugins/robots/e-puck/simulator/epuck_entity.cpp>
*
* @author Carlo Pinciroli - <ilpincy@gmail.com>
*/
#include "epuck_entity.h"
#include <argos3/core/utility/math/matrix/rotationmatrix3.h>
#include <argos3/core/simulator/space/space.h>
#include <argos3/core/simulator/entity/controllable_entit... | 49.78022 | 137 | 0.531567 | [
"model"
] |
3af118be0e228aa3c5272a6d767ac6181cc1a610 | 2,522 | cpp | C++ | src/Input.cpp | JoeyDelp/pyjosim | c4b6fdc7a8ec9d2b08b67f4841855e4ba795b066 | [
"Apache-2.0"
] | null | null | null | src/Input.cpp | JoeyDelp/pyjosim | c4b6fdc7a8ec9d2b08b67f4841855e4ba795b066 | [
"Apache-2.0"
] | null | null | null | src/Input.cpp | JoeyDelp/pyjosim | c4b6fdc7a8ec9d2b08b67f4841855e4ba795b066 | [
"Apache-2.0"
] | null | null | null | #include "JoSIM/Input.hpp"
#include "JoSIM/Model.hpp"
#include <pybind11/pybind11.h>
//#include <pybind11/stl.h>
namespace py = pybind11;
namespace pyjosim {
void input(py::module &m)
{
using namespace JoSIM;
// Create Input class
py::class_<Input>(m, "Input")
// Initialization of the Input obje... | 37.641791 | 75 | 0.545599 | [
"object",
"vector",
"model"
] |
3af7164d9a743bd02e5fefcae232106de53b9736 | 7,080 | cpp | C++ | device/3.2/camera_device.cpp | STMicroelectronics/hardware-peripheral-camera | 8f575f17886a38bbd348aa00b386d6623cf602c1 | [
"Apache-2.0"
] | null | null | null | device/3.2/camera_device.cpp | STMicroelectronics/hardware-peripheral-camera | 8f575f17886a38bbd348aa00b386d6623cf602c1 | [
"Apache-2.0"
] | null | null | null | device/3.2/camera_device.cpp | STMicroelectronics/hardware-peripheral-camera | 8f575f17886a38bbd348aa00b386d6623cf602c1 | [
"Apache-2.0"
] | 1 | 2020-01-26T22:52:09.000Z | 2020-01-26T22:52:09.000Z | /*
* Copyright (C) 2019 The Android Open Source Project
* Copyright (C) 2019 STMicroelectronics
*
* 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... | 28.548387 | 82 | 0.623729 | [
"vector"
] |
d7029ce322e4d5d02cbbaa50ce8bb9763f99f7f5 | 6,233 | cpp | C++ | src/ParallelAlgorithms/LinearSolver/Multigrid/Hierarchy.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | src/ParallelAlgorithms/LinearSolver/Multigrid/Hierarchy.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | src/ParallelAlgorithms/LinearSolver/Multigrid/Hierarchy.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "ParallelAlgorithms/LinearSolver/Multigrid/Hierarchy.hpp"
#include <array>
#include <cstddef>
#include <unordered_set>
#include <vector>
#include "Domain/Structure/ElementId.hpp"
#include "Domain/Structure/SegmentId.hpp"
#include "Domain/... | 36.028902 | 80 | 0.678004 | [
"vector"
] |
d71d9fe7f876808af1fd6d3c72f79e97f946d439 | 79,272 | cc | C++ | mysql-server/sql/log.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/sql/log.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/sql/log.cc | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with certain software (including... | 33.3496 | 80 | 0.658518 | [
"object"
] |
d71fc7c73c98a4f9630e9d20dca03faeca4c34f8 | 1,051 | cpp | C++ | nowcoder/0722/c.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 2 | 2021-06-09T12:27:07.000Z | 2021-06-11T12:02:03.000Z | nowcoder/0722/c.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 1 | 2021-09-08T12:00:05.000Z | 2021-09-08T14:52:30.000Z | nowcoder/0722/c.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define min(a,b) (a > b ? b : a)
using namespace std;
using LL = long long;
int queen[] = {1, 0, 0, 2, 10, 4, 40, 92, 352, 724, 2680, 14200, 73712};
LL fib[100], x, m;
LL solve(LL x, int m, int n) {
LL ans = 0;
while(x) {
ans += x / m;
x /= m;
}
return ans / n;
}
int main() {
bool... | 18.438596 | 72 | 0.47098 | [
"vector"
] |
d720094fe4b785b5f54b618b8328b503adfc6c2c | 42,610 | cxx | C++ | inetcore/mshtml/src/site/base/elemlyt.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/mshtml/src/site/base/elemlyt.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/mshtml/src/site/base/elemlyt.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //==================================================================
//
// File : ElemLyt.cxx
//
// Contents : The CElement functions related to handling their layouts
//
//==================================================================
#include "headers.hxx"
#pragma MARK_DATA(__FILE__)
#pragma MARK_COD... | 29.714086 | 149 | 0.542666 | [
"object"
] |
d720a0de6af22d6f834e2acf46c7c108a0b8a415 | 486 | cpp | C++ | src/places/retirement_home.cpp | Dynamical-Systems-Laboratory/ABM-Multitown | 517de26074feaf13f9b8478eaf464a14d6b33b4a | [
"MIT"
] | 3 | 2020-11-04T03:58:49.000Z | 2021-01-14T22:16:24.000Z | src/places/retirement_home.cpp | Dynamical-Systems-Laboratory/ABM-Multitown | 517de26074feaf13f9b8478eaf464a14d6b33b4a | [
"MIT"
] | 1 | 2021-01-12T14:59:59.000Z | 2021-01-12T14:59:59.000Z | src/places/retirement_home.cpp | Dynamical-Systems-Laboratory/ABM-Multitown | 517de26074feaf13f9b8478eaf464a14d6b33b4a | [
"MIT"
] | 2 | 2020-11-03T17:18:41.000Z | 2021-01-15T04:13:03.000Z | #include "../../include/places/retirement_home.h"
/*****************************************************
* class: RetirementHome
*
* Defines and stores attributes of a single
* retirement home
*
*****************************************************/
//
// I/O
//
// Save information about a RetirementHome... | 21.130435 | 63 | 0.502058 | [
"object"
] |
d720fc4913a302c560d6cd0407ae9451336eaf97 | 3,839 | inl | C++ | aeh/src/main_loop/demo_crtp_base.inl | asielorz/aeh | 6dbcce0970a558fb7f164b8880a3e834f9f6c8c9 | [
"MIT"
] | null | null | null | aeh/src/main_loop/demo_crtp_base.inl | asielorz/aeh | 6dbcce0970a558fb7f164b8880a3e834f9f6c8c9 | [
"MIT"
] | null | null | null | aeh/src/main_loop/demo_crtp_base.inl | asielorz/aeh | 6dbcce0970a558fb7f164b8880a3e834f9f6c8c9 | [
"MIT"
] | null | null | null | namespace aeh::main_loop
{
namespace detail
{
template <typename ExtendedInput, typename BaseInput, typename ... InputExtensions, typename ... NonEmptyInputExtensions>
ExtendedInput make_extended_input(BaseInput base, std::tuple<InputExtensions...> extensions, type_list<NonEmptyInputExtensions...>)
{
return ... | 41.728261 | 185 | 0.748632 | [
"render"
] |
d723c6795a749368debe5107d133228c54f30f4f | 672 | cpp | C++ | test/container/indirect_container.cpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | test/container/indirect_container.cpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | test/container/indirect_container.cpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #include <test/test.hpp>
#include <falcon/container/indirect_container.hpp>
#include <falcon/container/reference_vector.hpp>
#include "indirect_container.hpp"
void indirect_container_test()
{
struct A
{
int i;
A& operator=(int n)
{
i = n;
return *this;
}
};
A i{0};
falcon::container::vector<A&> v({... | 21.677419 | 108 | 0.666667 | [
"vector"
] |
d723e014a7df205dd850f6554e4f81f07bc26645 | 6,934 | hpp | C++ | data-server/include/bluetooth_sensor_data_recv.hpp | jackrwoods/pilot-health-monitoring-capstone | 25fa9ee1f851832744d4a3fb55b087020c3acb32 | [
"MIT"
] | null | null | null | data-server/include/bluetooth_sensor_data_recv.hpp | jackrwoods/pilot-health-monitoring-capstone | 25fa9ee1f851832744d4a3fb55b087020c3acb32 | [
"MIT"
] | null | null | null | data-server/include/bluetooth_sensor_data_recv.hpp | jackrwoods/pilot-health-monitoring-capstone | 25fa9ee1f851832744d4a3fb55b087020c3acb32 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <thread>
#include "../include/bluetooth/bluetooth_con.hpp"
#include "datasource.hpp"
#include "../include/bluetooth_utils.hpp"
#define MITIGATE_SENSOR_MALFUNCTION 1
class BluetoothReceiver : public Datasource
{
private:
bool quit_receive_thread{false};
int received_sample... | 27.299213 | 154 | 0.630372 | [
"vector"
] |
c01581bafc6d79d305036255bb3f37dce00fd472 | 26,237 | cpp | C++ | src/test-apps/nlweavebdxserver.cpp | lanyuwen/openweave-core | fbed1743a7b62657f5d310b98909c59474a6404d | [
"Apache-2.0"
] | null | null | null | src/test-apps/nlweavebdxserver.cpp | lanyuwen/openweave-core | fbed1743a7b62657f5d310b98909c59474a6404d | [
"Apache-2.0"
] | null | null | null | src/test-apps/nlweavebdxserver.cpp | lanyuwen/openweave-core | fbed1743a7b62657f5d310b98909c59474a6404d | [
"Apache-2.0"
] | 1 | 2020-11-04T06:58:12.000Z | 2020-11-04T06:58:12.000Z | /*
*
* Copyright (c) 2013-2017 Nest Labs, Inc.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | 33.59411 | 196 | 0.676983 | [
"object"
] |
c019ff5b374ded60ab0b5129d8ac068e322ab117 | 165,414 | hpp | C++ | src/netxs/console/terminal.hpp | o-sdn-o/VTM | 19f7dd2741c9547bb94e9c38c665f0915638332f | [
"MIT"
] | 2 | 2020-11-24T05:32:41.000Z | 2020-11-25T07:52:55.000Z | src/netxs/console/terminal.hpp | monotty/VTM | 00641148fabfe27901805e9fe144c16aabb55e83 | [
"MIT"
] | null | null | null | src/netxs/console/terminal.hpp | monotty/VTM | 00641148fabfe27901805e9fe144c16aabb55e83 | [
"MIT"
] | null | null | null | // Copyright (c) NetXS Group.
// Licensed under the MIT license.
#ifndef NETXS_TERMINAL_HPP
#define NETXS_TERMINAL_HPP
#include "../ui/controls.hpp"
namespace netxs::events::userland
{
struct uiterm
{
EVENTPACK( uiterm, netxs::events::userland::root::custom )
{
GROUP_XS( layout, i... | 43.667899 | 210 | 0.395789 | [
"render",
"object",
"vector"
] |
c01a0df309270ddbdd9ae6b626cc1acfe13f2ec5 | 55,503 | cpp | C++ | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp | 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 | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp | 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 | third_party/WebKit/Source/core/layout/compositing/CompositedLayerMappingTest.cpp | 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 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/layout/compositing/CompositedLayerMapping.h"
#include "core/frame/FrameView.h"
#include "core/layout/LayoutBoxModelObject.h"
#include "cor... | 42.596316 | 80 | 0.688143 | [
"transform",
"solid"
] |
c01dd7dd5345c228daa4fb1a28450c1ada50bbfb | 5,177 | cpp | C++ | CSE 232/assignment3/assignment3/assignment3.cpp | Gocnak/ou-schoolwork | 0fe3441b664d304d2de7d2fd8e9e5ff9758da13a | [
"MIT"
] | null | null | null | CSE 232/assignment3/assignment3/assignment3.cpp | Gocnak/ou-schoolwork | 0fe3441b664d304d2de7d2fd8e9e5ff9758da13a | [
"MIT"
] | null | null | null | CSE 232/assignment3/assignment3/assignment3.cpp | Gocnak/ou-schoolwork | 0fe3441b664d304d2de7d2fd8e9e5ff9758da13a | [
"MIT"
] | null | null | null | // assignment2.cpp : Defines the entry point for the console application.
//
#include <vector>
#include <algorithm>
#include <iostream>
#include <random>
#include <map>
#include <chrono>
#include <unordered_map>
using namespace std;
using namespace chrono;
#define VECTOR_SIZE 1000 // The size of the numbers of vecto... | 32.974522 | 124 | 0.598802 | [
"vector"
] |
c021958e0cc90e995d24cbda10c5fdb2dd26fbfc | 766 | hpp | C++ | include/dave/core/engine.hpp | daveengine/dave | c9162003dd18ca6e5f30f58bb40f1d35229f0c95 | [
"MIT"
] | 2 | 2018-01-19T08:15:17.000Z | 2018-06-19T04:55:15.000Z | include/dave/core/engine.hpp | daveengine/dave | c9162003dd18ca6e5f30f58bb40f1d35229f0c95 | [
"MIT"
] | 1 | 2017-04-05T00:43:09.000Z | 2017-04-05T07:16:48.000Z | include/dave/core/engine.hpp | PterabyteGames/dave | c9162003dd18ca6e5f30f58bb40f1d35229f0c95 | [
"MIT"
] | null | null | null | #pragma once
#include "dave/core/platform.hpp"
#include "dave/core/system.hpp"
#include "dave/core/task_scheduler.hpp"
#include <memory>
#include <vector>
namespace dave::core
{
class system;
class engine
{
public:
DAVEAPI engine();
DAVEAPI ~engine();
DAVEAPI void run();
DAVEAPI void stop();
DAVEAPI void ad... | 17.022222 | 85 | 0.736292 | [
"vector"
] |
c021c9313a59949d749a7604ccef3b57401ff1d3 | 14,180 | cpp | C++ | UnrealEngine-4.11.2-release/Engine/Source/Runtime/AssetRegistry/Private/PackageReader.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2016-10-01T21:35:52.000Z | 2016-10-01T21:35:52.000Z | UnrealEngine-4.11.2-release/Engine/Source/Runtime/AssetRegistry/Private/PackageReader.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | null | null | null | UnrealEngine-4.11.2-release/Engine/Source/Runtime/AssetRegistry/Private/PackageReader.cpp | armroyce/Unreal | ea1cdebe70407d59af4e8366d7111c52ce4606df | [
"MIT"
] | 1 | 2021-04-27T08:48:33.000Z | 2021-04-27T08:48:33.000Z | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "AssetRegistryPCH.h"
FPackageReader::FPackageReader()
{
Loader = NULL;
ArIsLoading = true;
ArIsPersistent = true;
}
FPackageReader::~FPackageReader()
{
if (Loader)
{
delete Loader;
}
}
bool FPackageReader::OpenPackageFile(const FString& ... | 29.541667 | 259 | 0.745205 | [
"object"
] |
c0241b9679e84054bf2d2d52be23c62209d7851e | 24,336 | cpp | C++ | plugin/AL_USDMayaTestPlugin/test_usdmaya.cpp | AlexSchwank/AL_USDMaya | 99413e2c5d1c93e4c58a63ebc8b07e23cf072e86 | [
"Apache-2.0"
] | null | null | null | plugin/AL_USDMayaTestPlugin/test_usdmaya.cpp | AlexSchwank/AL_USDMaya | 99413e2c5d1c93e4c58a63ebc8b07e23cf072e86 | [
"Apache-2.0"
] | null | null | null | plugin/AL_USDMayaTestPlugin/test_usdmaya.cpp | AlexSchwank/AL_USDMaya | 99413e2c5d1c93e4c58a63ebc8b07e23cf072e86 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2017 Animal Logic
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.//
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 30.458073 | 140 | 0.579758 | [
"shape",
"transform"
] |
c024f7dd63e183e5f55666de63035a89b09894b0 | 9,757 | cc | C++ | src/map-contained-reads.cc | ebiggers/fragment-string-graph-assembler | d2fb454697e24cf389310b0778f05b56cf2c6271 | [
"BSD-2-Clause"
] | 1 | 2017-04-10T17:42:54.000Z | 2017-04-10T17:42:54.000Z | src/map-contained-reads.cc | ebiggers/fragment-string-graph-assembler | d2fb454697e24cf389310b0778f05b56cf2c6271 | [
"BSD-2-Clause"
] | null | null | null | src/map-contained-reads.cc | ebiggers/fragment-string-graph-assembler | d2fb454697e24cf389310b0778f05b56cf2c6271 | [
"BSD-2-Clause"
] | null | null | null | #include "Overlap.h"
#include "BaseVecVec.h"
#include "AnyStringGraph.h"
#include "util.h"
DEFINE_USAGE(
"Usage: map-contained-reads ORIG_READS_FILE ORIG_OVERLAPS_FILE\n"
" OLD_TO_NEW_INDICES_FILE GRAPH_FILE OUT_GRAPH_FILE\n"
"\n"
"Map contained reads back into a graph.\n"
"\n"
"Input:\n"
" ... | 35.351449 | 87 | 0.692631 | [
"vector"
] |
c02f56de3ffed5236dcb83c41c4ee815f0fbd154 | 7,809 | hpp | C++ | include/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp | xuebingwu/PKA | 45f8d808cc36879d5da91213bc9902cd45f86b07 | [
"MIT"
] | 9 | 2017-01-26T15:50:52.000Z | 2020-09-01T08:27:00.000Z | include/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp | xuebingwu/PKA | 45f8d808cc36879d5da91213bc9902cd45f86b07 | [
"MIT"
] | 4 | 2017-07-18T21:17:45.000Z | 2020-09-17T02:54:52.000Z | include/boost/geometry/algorithms/detail/buffer/turn_in_piece_visitor.hpp | xuebingwu/PKA | 45f8d808cc36879d5da91213bc9902cd45f86b07 | [
"MIT"
] | 3 | 2017-01-02T14:11:37.000Z | 2019-12-20T13:42:13.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2012-2014 Barend Gehrels, Amsterdam, the Netherlands.
// 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)
#ifnd... | 31.615385 | 100 | 0.592778 | [
"geometry",
"model"
] |
c030d63a3f8868de444a0517e6af063e23178abc | 730 | cxx | C++ | dfsunweighted.cxx | james-n-007/cf | 7bc9d225cfd03f9cb5fd26bf8d061513b7be5b7d | [
"MIT"
] | 8 | 2020-05-08T12:01:42.000Z | 2021-06-11T06:58:18.000Z | dfsunweighted.cxx | CoolDUE69/cf | 8e30070a6920e3845ce1b0ace42d424b0c06af8d | [
"MIT"
] | 9 | 2020-08-03T00:41:42.000Z | 2020-08-11T00:43:13.000Z | dfsunweighted.cxx | CoolDUE69/cf | 8e30070a6920e3845ce1b0ace42d424b0c06af8d | [
"MIT"
] | 9 | 2020-05-20T09:39:51.000Z | 2021-11-14T12:25:08.000Z | #include<bits/stdc++.h>
using namespace std;
void addedge(vector <int > adj[] ,int u ,int v){
adj[u].push_back(v);
adj[v].push_back(u);
}
void dfsutil(int i , vector <int> adj[] ,vector<bool>&vis)
{
vis[i] = true;
cout<<i;
for(auto u = 0;u<adj[i].size();u++){
if(vis[adj[i][u]]==false){
dfsutil(adj[i][u],a... | 19.210526 | 58 | 0.545205 | [
"vector"
] |
c0325fd348d94dfceab4062da84f7934b97f01c3 | 3,496 | hpp | C++ | libasd/read_binary_as.hpp | anntzer/libasd | 1d116e79cfd552daa0a90aeb4a01403910e563a3 | [
"MIT"
] | 12 | 2018-04-05T04:54:16.000Z | 2022-03-06T07:07:05.000Z | libasd/read_binary_as.hpp | anntzer/libasd | 1d116e79cfd552daa0a90aeb4a01403910e563a3 | [
"MIT"
] | 5 | 2019-12-16T09:07:19.000Z | 2021-12-23T12:53:07.000Z | libasd/read_binary_as.hpp | anntzer/libasd | 1d116e79cfd552daa0a90aeb4a01403910e563a3 | [
"MIT"
] | 5 | 2018-07-19T09:18:40.000Z | 2021-12-21T15:23:45.000Z | #ifndef LIBASD_READ_BINARY_AS_H
#define LIBASD_READ_BINARY_AS_H
#include <istream>
#include <cstring>
#include <libasd/container_dispatcher.hpp>
namespace asd
{
namespace detail
{
template<typename T>
T read_binary_as(const char*& ptr) noexcept
{
T retval;
std::memcpy(std::addressof(retval), ptr, sizeof(T));
... | 31.781818 | 80 | 0.727689 | [
"vector"
] |
c044e26bcdbef72933b40efe7c50b878785dc797 | 6,452 | hxx | C++ | Modules/Filtering/Mosaic/include/otbStreamingLargeFeatherMosaicFilter.hxx | qingswu/otb | ed903b6a5e51a27a3d04786e4ad1637cf6b2772e | [
"Apache-2.0"
] | null | null | null | Modules/Filtering/Mosaic/include/otbStreamingLargeFeatherMosaicFilter.hxx | qingswu/otb | ed903b6a5e51a27a3d04786e4ad1637cf6b2772e | [
"Apache-2.0"
] | null | null | null | Modules/Filtering/Mosaic/include/otbStreamingLargeFeatherMosaicFilter.hxx | qingswu/otb | ed903b6a5e51a27a3d04786e4ad1637cf6b2772e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 1999-2011 Insight Software Consortium
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
* Copyright (C) 2016-2019 IRSTEA
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... | 34.137566 | 124 | 0.677154 | [
"vector"
] |
c04578ab768d5fe81263adb7b01176c9659919db | 1,904 | hpp | C++ | include/my_async/udp_client/client_base.hpp | rnascunha/my_async | 5fbe3a46e87a2d74fc07d16252a3b3cf488b4684 | [
"MIT"
] | null | null | null | include/my_async/udp_client/client_base.hpp | rnascunha/my_async | 5fbe3a46e87a2d74fc07d16252a3b3cf488b4684 | [
"MIT"
] | null | null | null | include/my_async/udp_client/client_base.hpp | rnascunha/my_async | 5fbe3a46e87a2d74fc07d16252a3b3cf488b4684 | [
"MIT"
] | 1 | 2021-03-10T13:02:13.000Z | 2021-03-10T13:02:13.000Z | #ifndef UDP_CLIENT_BASE_SESSION_HPP__
#define UDP_CLIENT_BASE_SESSION_HPP__
#include <boost/asio.hpp>
namespace My_Async{
namespace UDP{
template<typename Derived,
typename InContainer,
typename OutContainer = InContainer,
std::size_t ReadBufferSize = 1024>
class Client_Base{
private:
Derived&
derived()
... | 28 | 86 | 0.746324 | [
"vector"
] |
c04788dd07694e78a0a51f14b96f75eac4e07879 | 5,465 | cc | C++ | src/tea-napi.cc | nomagick/tea-napi | 1946f8db63ed2c85e59f7a181b0b87e203654c23 | [
"MIT"
] | null | null | null | src/tea-napi.cc | nomagick/tea-napi | 1946f8db63ed2c85e59f7a181b0b87e203654c23 | [
"MIT"
] | null | null | null | src/tea-napi.cc | nomagick/tea-napi | 1946f8db63ed2c85e59f7a181b0b87e203654c23 | [
"MIT"
] | null | null | null | #include <napi.h>
#include <cstdio>
#include <cstdint>
static uint32_t DELTA = 0x9e3779b9;
static size_t TEA_BLOCK_LEN = 8;
static size_t TEA_KEY_LEN = 16;
static void tea_encrypt(uint32_t *v, uint32_t *k, size_t iter) {
uint32_t v0 = v[0], v1 = v[1], sum = 0, i; /* set up */
uint32_t k0 = k[0], k1... | 37.176871 | 100 | 0.560659 | [
"object"
] |
c0482d5f51bfb82413da7389a9964c86a01a0399 | 5,719 | cpp | C++ | libs/ml/tests/ml/layers/skip_gram.cpp | baykaner/ledger | f45fbd49297a419e3a90a46e9aed0cfa65602109 | [
"Apache-2.0"
] | null | null | null | libs/ml/tests/ml/layers/skip_gram.cpp | baykaner/ledger | f45fbd49297a419e3a90a46e9aed0cfa65602109 | [
"Apache-2.0"
] | null | null | null | libs/ml/tests/ml/layers/skip_gram.cpp | baykaner/ledger | f45fbd49297a419e3a90a46e9aed0cfa65602109 | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
//
// 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 License at
//
// ... | 35.08589 | 100 | 0.678965 | [
"model"
] |
c0498a5e4858c9cc8d03808bd5e4afbade06ff8c | 13,821 | cpp | C++ | src/enji/http.cpp | aptakhin/enji | 603675cf39f254eb9d888d0442cd085bf0f4e8f6 | [
"MIT"
] | 1 | 2018-07-11T01:45:24.000Z | 2018-07-11T01:45:24.000Z | src/enji/http.cpp | aptakhin/enji | 603675cf39f254eb9d888d0442cd085bf0f4e8f6 | [
"MIT"
] | null | null | null | src/enji/http.cpp | aptakhin/enji | 603675cf39f254eb9d888d0442cd085bf0f4e8f6 | [
"MIT"
] | null | null | null | #include "http.h"
#include <fcntl.h>
#include <fstream>
#ifdef _WIN32
# include <io.h>
#endif
namespace enji {
bool stream2stream(std::stringstream& output, std::stringstream&& input);
int cb_http_message_begin(http_parser* parser) {
return 0;
}
int cb_http_url(http_parser* parser, const char* at, size_t len... | 29.915584 | 117 | 0.652485 | [
"vector"
] |
c04b84ad31b767b5151195b6ad786592d8df98b5 | 3,550 | cpp | C++ | autotest/cpp/test_gdal.cpp | mihadyuk/gdal | d4627981715b82ff368547ef00ef26e0b9207048 | [
"MIT"
] | 3 | 2017-01-12T10:18:56.000Z | 2020-03-21T16:42:55.000Z | autotest/cpp/test_gdal.cpp | mihadyuk/gdal | d4627981715b82ff368547ef00ef26e0b9207048 | [
"MIT"
] | null | null | null | autotest/cpp/test_gdal.cpp | mihadyuk/gdal | d4627981715b82ff368547ef00ef26e0b9207048 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// $Id: test_gdal.cpp,v 1.4 2006/12/06 15:39:13 mloskot Exp $
//
// Project: C++ Test Suite for GDAL/OGR
// Purpose: Test general GDAL features.
// Author: Mateusz Loskot <mateusz@loskot.net>
//
////////////////////////////////////////... | 27.099237 | 79 | 0.587042 | [
"object"
] |
c04f4550e4e222921ad8621b5abfe2c89e615db3 | 8,116 | cpp | C++ | gbe/vram_viewer.cpp | malandrin/gbe | 51822b0723cfdcf42b061862a83c814be553ba16 | [
"MIT"
] | 2 | 2016-02-17T14:24:11.000Z | 2019-12-05T12:36:29.000Z | gbe/vram_viewer.cpp | malandrin/gbe | 51822b0723cfdcf42b061862a83c814be553ba16 | [
"MIT"
] | null | null | null | gbe/vram_viewer.cpp | malandrin/gbe | 51822b0723cfdcf42b061862a83c814be553ba16 | [
"MIT"
] | 1 | 2020-05-18T05:08:47.000Z | 2020-05-18T05:08:47.000Z | #include <imgui.h>
#include <imgui_impl_sdl.h>
#include <SDL_opengl.h>
#include "base.h"
#include "defines.h"
#include "mmu.h"
#include "vram_viewer.h"
static string sRadioButtonsText[5] { "TData 1", "TData 2", "TMap 1", "TMap 2", "OAM" };
static u32 sPalette[4] = { 0xFF000000, 0xFF7F7F7F, 0xFF404040, 0xFFFFFFFF };
/... | 36.558559 | 181 | 0.501109 | [
"render"
] |
c04f4569984fc8d40cf373c8d4200b008216e240 | 2,885 | cpp | C++ | others/Drawing-app/floodfill.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 302 | 2017-03-04T00:05:23.000Z | 2022-03-28T22:51:29.000Z | others/Drawing-app/floodfill.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 30 | 2017-12-02T19:26:43.000Z | 2022-03-28T07:40:36.000Z | others/Drawing-app/floodfill.cpp | sesu089/stackoverflow | 6fae69be6fa74fba9d554e6b5f387e5d3c1aad73 | [
"MIT"
] | 388 | 2017-07-04T16:53:12.000Z | 2022-03-18T22:20:19.000Z | #include "floodfill.h"
#include <vector>
namespace DrawApp {
struct FillPixelInfo {
int y, xl, xr, dy;
};
#define PUSH(py, pxl, pxr, pdy) \
{ \
struct FillPixelInfo p; ... | 33.941176 | 80 | 0.286308 | [
"vector"
] |
c050b5ba98798f574c52b3c8df8b376187571cb3 | 9,756 | hpp | C++ | Libs/MaterialSystem/RendererCgARB1/TextureMapImpl.hpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | Libs/MaterialSystem/RendererCgARB1/TextureMapImpl.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | Libs/MaterialSystem/RendererCgARB1/TextureMapImpl.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
/**********************************/
/*** Texture Map Implementation ***/
/**********************************/
#ifndef CAFU_MATSYS_TEXTUREMAP_IMPLEMENTATION_HPP_INCLU... | 45.376744 | 207 | 0.723657 | [
"object"
] |
c05314d7a5c6237511c2e4b8addf295c6356bd93 | 1,719 | cpp | C++ | aws-cpp-sdk-frauddetector/source/model/VariableImportanceMetrics.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-frauddetector/source/model/VariableImportanceMetrics.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-frauddetector/source/model/VariableImportanceMetrics.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/frauddetector/model/VariableImportanceMetrics.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
names... | 25.279412 | 122 | 0.770215 | [
"model"
] |
c055afb88a22757a05bf8a1601afd4b003db689e | 6,935 | hh | C++ | DataStreamer/datastreamer.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | DataStreamer/datastreamer.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | DataStreamer/datastreamer.hh | drewnoakes/bold-humanoid | 6025fcc92cdf3ce9486d4fe5af4f30ee7a7a3335 | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <memory>
#include <queue>
#include <set>
#include <string>
#include <thread>
#include <vector>
#include <queue>
#include <mutex>
#include <libwebsockets.h>
#include <opencv2/opencv.hpp>
#include <sigc++/signal.h>
#include "../ImageCodec/JpegCodec/jpegcodec.hh"
#include "../ImageCodec/PngCodec/p... | 33.341346 | 154 | 0.731074 | [
"vector"
] |
c0581a6caba0570fdb622a2b7c50407233cc9bbb | 23,469 | cc | C++ | tool/SecVerilog-1.0/SecVerilog/t-dll-proc.cc | gokulprasath7c/secure_i2c_using_ift | 124384983ba70e8164b7217db70c43dfdf302d4b | [
"MIT"
] | 1 | 2019-01-28T21:23:37.000Z | 2019-01-28T21:23:37.000Z | tool/SecVerilog-1.0/SecVerilog/t-dll-proc.cc | gokulprasath7c/secure_i2c_using_ift | 124384983ba70e8164b7217db70c43dfdf302d4b | [
"MIT"
] | null | null | null | tool/SecVerilog-1.0/SecVerilog/t-dll-proc.cc | gokulprasath7c/secure_i2c_using_ift | 124384983ba70e8164b7217db70c43dfdf302d4b | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2000-2010 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Foundation; either version 2 of the License, or... | 27.321304 | 82 | 0.619668 | [
"object"
] |
c059808f6088eb271b16d388716e4670ba8322ce | 656 | cpp | C++ | problems/leet/77-combinations/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | 7 | 2020-10-15T22:37:10.000Z | 2022-02-26T17:23:49.000Z | problems/leet/77-combinations/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | problems/leet/77-combinations/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// *****
class Solution {
void dive(vector<vector<int>> &answers, vector<int> &included, int n, int m,
int k) const {
assert(m + k <= n + 1);
if (k == 0) {
answers.push_back(included);
return;
}
for (int i = m; i + k <= n + 1; ++... | 18.222222 | 78 | 0.532012 | [
"vector"
] |
c05ab1f7548171e4f82a702c845c66043ad696c2 | 3,298 | cpp | C++ | src/ae_denoising_rbm.cpp | wichtounet/word_spotting | 7e25513acc684d79f5c6b622d1d2e55fc40d3192 | [
"MIT"
] | 4 | 2017-11-07T02:36:30.000Z | 2022-01-20T17:46:06.000Z | src/ae_denoising_rbm.cpp | wichtounet/word_spotting | 7e25513acc684d79f5c6b622d1d2e55fc40d3192 | [
"MIT"
] | null | null | null | src/ae_denoising_rbm.cpp | wichtounet/word_spotting | 7e25513acc684d79f5c6b622d1d2e55fc40d3192 | [
"MIT"
] | 1 | 2019-12-11T11:03:25.000Z | 2019-12-11T11:03:25.000Z | //=======================================================================
// Copyright Baptiste Wicht 2015-2017.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#ifndef S... | 47.114286 | 239 | 0.674955 | [
"vector"
] |
c065db8aaf7da4777771bdcfa4765f131ae9e602 | 24,182 | cxx | C++ | Modules/Visualization/MonteverdiGui/src/mvdImageViewManipulator.cxx | orfeotoolbox/OTB | 7782dd7f07e8a7fb713837d2f1d6d92def41f742 | [
"Apache-2.0"
] | 317 | 2015-01-19T08:40:58.000Z | 2022-03-17T11:55:48.000Z | Modules/Visualization/MonteverdiGui/src/mvdImageViewManipulator.cxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 18 | 2015-07-29T14:13:45.000Z | 2021-03-29T12:36:24.000Z | Modules/Visualization/MonteverdiGui/src/mvdImageViewManipulator.cxx | guandd/OTB | 707ce4c6bb4c7186e3b102b2b00493a5050872cb | [
"Apache-2.0"
] | 132 | 2015-02-21T23:57:25.000Z | 2022-03-25T16:03:16.000Z | /*
* Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | 27.510808 | 151 | 0.596394 | [
"vector",
"transform"
] |
c0667ba684037f9873106ec34a3c850dda6af0ea | 16,434 | hpp | C++ | include/nix/valid/checks.hpp | gicmo/nix | 17a5b90e6c12a22e921c181b79eb2a3db1bf61af | [
"BSD-3-Clause"
] | 1 | 2019-08-17T21:19:13.000Z | 2019-08-17T21:19:13.000Z | include/nix/valid/checks.hpp | tapaswenipathak/nix | 4565c2d7b363f27cac88932b35c085ee8fe975a1 | [
"BSD-3-Clause"
] | 2 | 2017-05-30T21:35:54.000Z | 2017-06-01T10:53:23.000Z | include/nix/valid/checks.hpp | gicmo/nix | 17a5b90e6c12a22e921c181b79eb2a3db1bf61af | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#ifndef NIX_CHECKS_H
#define NIX_CHECKS_H
... | 34.2375 | 101 | 0.617074 | [
"vector"
] |
c06b3e26b1065951ed2423c85cc0b1bc464a8541 | 10,740 | cpp | C++ | test/maybe.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | test/maybe.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | test/maybe.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | /*
@copyright Louis Dionne 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/maybe.hpp>
#include <boost/hana/assert.hpp>
#include <boost/hana/bool.hpp>
#include <boost/hana/config.hpp>
#include <boost... | 28.716578 | 91 | 0.535475 | [
"transform"
] |
c072d4ba4db4bfbdc60857dfbbf4f4e01ee6256a | 8,838 | cpp | C++ | src/gpio_node.cpp | slaghuis/ground_control | ce8dba7f16c1c03756b78612cc8e23a7bd9ea494 | [
"Apache-2.0"
] | null | null | null | src/gpio_node.cpp | slaghuis/ground_control | ce8dba7f16c1c03756b78612cc8e23a7bd9ea494 | [
"Apache-2.0"
] | null | null | null | src/gpio_node.cpp | slaghuis/ground_control | ce8dba7f16c1c03756b78612cc8e23a7bd9ea494 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2021 Xeni Robotics
//
// 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 ... | 28.326923 | 131 | 0.588255 | [
"vector",
"model"
] |
c0776cd32e209809758c332da5bd9f3f10696b3b | 26,711 | cpp | C++ | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zstackprocessor.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zstackprocessor.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2016-12-03T05:33:13.000Z | 2016-12-03T05:33:13.000Z | released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/zstackprocessor.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include "zstackprocessor.h"
#include "zstack.hxx"
#include "tz_stack_attribute.h"
#include "tz_stack_bwmorph.h"
#include "zspgrowparser.h"
#include "tz_stack_stat.h"
#include "tz_stack_lib.h"
#include "tz_stack_math.h"
#include "tz_utilities.h"
#include "tz_math.h"
#if _QS_LOG_AVAILABLE_
# include "QsLog.h"
#endif
#i... | 32.416262 | 142 | 0.677623 | [
"model"
] |
c078d38fa49fd3b9b3a83c6677bd2b05f2ea3149 | 3,449 | cpp | C++ | Endpoints/src/EndpointAttributeValidation.cpp | AndersSpringborg/avs-device-sdk | 8e77a64c5be5a0b7b19c53549d91b0c45c37df3a | [
"Apache-2.0"
] | 1,272 | 2017-08-17T04:58:05.000Z | 2022-03-27T03:28:29.000Z | Endpoints/src/EndpointAttributeValidation.cpp | AndersSpringborg/avs-device-sdk | 8e77a64c5be5a0b7b19c53549d91b0c45c37df3a | [
"Apache-2.0"
] | 1,948 | 2017-08-17T03:39:24.000Z | 2022-03-30T15:52:41.000Z | Endpoints/src/EndpointAttributeValidation.cpp | AndersSpringborg/avs-device-sdk | 8e77a64c5be5a0b7b19c53549d91b0c45c37df3a | [
"Apache-2.0"
] | 630 | 2017-08-17T06:35:59.000Z | 2022-03-29T04:04:44.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" f... | 41.059524 | 115 | 0.732096 | [
"vector",
"model"
] |
c07b4ee3677056b373aaa7ef7a145eb1f6bc3b48 | 11,394 | cpp | C++ | GsKit/base/GsApp.cpp | vogonsorg/Commander-Genius | 456703977d7e574af663fd03d4897728ede10058 | [
"X11"
] | 137 | 2015-01-01T21:04:51.000Z | 2022-03-30T01:41:10.000Z | GsKit/base/GsApp.cpp | vogonsorg/Commander-Genius | 456703977d7e574af663fd03d4897728ede10058 | [
"X11"
] | 154 | 2015-01-01T16:34:39.000Z | 2022-01-28T14:14:45.000Z | GsKit/base/GsApp.cpp | vogonsorg/Commander-Genius | 456703977d7e574af663fd03d4897728ede10058 | [
"X11"
] | 35 | 2015-03-24T02:20:54.000Z | 2021-05-13T11:44:22.000Z | /*
* GsApp.cpp
*
* Created on: 01.05.2009
* Author: gerstrong
* This Game-engine stripes down the main function
* and provides more dynamic control over the game engine itself
*
* It also manages the load of drivers and main game cycle
*/
#include <string>
#include "GsApp.h"
#include <base/GsTimer.h... | 22.473373 | 125 | 0.572055 | [
"render",
"object"
] |
c07ead4397cfe7b763199498f88d359a00073b38 | 4,922 | hpp | C++ | sciplot/specs/plotspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | null | null | null | sciplot/specs/plotspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | null | null | null | sciplot/specs/plotspecs.hpp | CaeruleusAqua/sciplot | 4470cbd43a08b4caa897631159a47d35d72f5a18 | [
"MIT"
] | null | null | null | // sciplot - a modern C++ scientific plotting library powered by gnuplot
// https://github.com/sciplot/sciplot
//
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
//
// Copyright (c) 2018 Allan Leal
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this soft... | 40.344262 | 196 | 0.655018 | [
"object",
"vector"
] |
c082aba5e81c47c20d2bd054468e5a0151e0e60b | 31,743 | cpp | C++ | src/RHEHpt.cpp | gvita/RHEHpt | f320d8f4e2ef27af19cf62bded85afce8e0de7a7 | [
"MIT"
] | null | null | null | src/RHEHpt.cpp | gvita/RHEHpt | f320d8f4e2ef27af19cf62bded85afce8e0de7a7 | [
"MIT"
] | null | null | null | src/RHEHpt.cpp | gvita/RHEHpt | f320d8f4e2ef27af19cf62bded85afce8e0de7a7 | [
"MIT"
] | null | null | null | #include "RHEHpt.h"
#include "LHAPDF/LHAPDF.h"
#include "Mfinite_HardPart_2.h"
#include "cuba.h"
#include <cmath>
using namespace std::placeholders;
namespace RHEHpt{
RHEHpt::RHEHpt(double CME, const std::string& PDFfile, double MH, double MT, double MB, double MUR, double MUF,
unsigned choice,unsigned channel,... | 35.706412 | 183 | 0.628264 | [
"object",
"vector",
"transform"
] |
c0832348a31ef5d23c229d57d93a373305af3d84 | 20,549 | cpp | C++ | Source/OrangeScript.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | 4 | 2020-01-25T04:20:07.000Z | 2022-01-14T02:59:28.000Z | Source/OrangeScript.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | null | null | null | Source/OrangeScript.cpp | nolancs/OrangeMUD | 3db3ddf73855bb76110d7a6a8e67271c36652b04 | [
"MIT"
] | 1 | 2020-04-01T04:36:48.000Z | 2020-04-01T04:36:48.000Z | /******************************************************************************
Author: Matthew Nolan OrangeMUD Codebase
Date: January 2001 [Crossplatform]
License: MIT License
Permission is hereby granted, free of charge, to any pers... | 30.219118 | 165 | 0.510925 | [
"object",
"vector"
] |
c087b38dc475898ff10bcebc5fe284b370ee3092 | 12,939 | cc | C++ | DQMServices/Components/plugins/EDMtoMEConverter.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DQMServices/Components/plugins/EDMtoMEConverter.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | DQMServices/Components/plugins/EDMtoMEConverter.cc | pasmuss/cmssw | 566f40c323beef46134485a45ea53349f59ae534 | [
"Apache-2.0"
] | null | null | null | /** \file EDMtoMEConverter.cc
*
* See header file for description of class
*
* \author M. Strang SUNY-Buffalo
*/
#include <cassert>
#include "DQMServices/Components/plugins/EDMtoMEConverter.h"
#include "FWCore/Framework/interface/ConsumesCollector.h"
using namespace lat;
template<typename T>
void EDMtoMECon... | 33.176923 | 155 | 0.648195 | [
"object",
"vector"
] |
c088b249d4d09de804fec28947aeef4b7b680d53 | 13,198 | cpp | C++ | OpenSim/Simulation/AssemblySolver.cpp | tnamayeshi/opensim-core | acbedd604909980293776da3d54b9611732964bf | [
"Apache-2.0"
] | null | null | null | OpenSim/Simulation/AssemblySolver.cpp | tnamayeshi/opensim-core | acbedd604909980293776da3d54b9611732964bf | [
"Apache-2.0"
] | 1 | 2022-03-19T14:24:11.000Z | 2022-03-19T14:24:11.000Z | OpenSim/Simulation/AssemblySolver.cpp | tnamayeshi/opensim-core | acbedd604909980293776da3d54b9611732964bf | [
"Apache-2.0"
] | null | null | null | /* -------------------------------------------------------------------------- *
* OpenSim: AssemblySolver.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | 42.990228 | 134 | 0.629868 | [
"model"
] |
c08c96f4fbdfdea49fd8b99a3dfea8ddbff6e1b0 | 9,068 | cpp | C++ | test/integration_tests/src/test_prepare_on_all.cpp | kw217/cpp-driver | 58c17d15b7ade2a1e6fdf3ce05d6fbe3d90f1828 | [
"Apache-2.0"
] | 1 | 2019-04-22T04:36:53.000Z | 2019-04-22T04:36:53.000Z | test/integration_tests/src/test_prepare_on_all.cpp | kw217/cpp-driver | 58c17d15b7ade2a1e6fdf3ce05d6fbe3d90f1828 | [
"Apache-2.0"
] | null | null | null | test/integration_tests/src/test_prepare_on_all.cpp | kw217/cpp-driver | 58c17d15b7ade2a1e6fdf3ce05d6fbe3d90f1828 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) DataStax, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | 31.486111 | 99 | 0.705117 | [
"vector"
] |
c08cd28c3ebb1914c680ca6c2b74f10852889f10 | 8,023 | cpp | C++ | Ligne_transitique_MONTRAC/V-Rep/programming/v_repExtCollada/v_repExtCollada.cpp | keke02/Fast-reconfiguration-of-robotic-production-systems | 44ffe14b8a4a4798b559eede9b3766acb55f294e | [
"CC0-1.0"
] | null | null | null | Ligne_transitique_MONTRAC/V-Rep/programming/v_repExtCollada/v_repExtCollada.cpp | keke02/Fast-reconfiguration-of-robotic-production-systems | 44ffe14b8a4a4798b559eede9b3766acb55f294e | [
"CC0-1.0"
] | null | null | null | Ligne_transitique_MONTRAC/V-Rep/programming/v_repExtCollada/v_repExtCollada.cpp | keke02/Fast-reconfiguration-of-robotic-production-systems | 44ffe14b8a4a4798b559eede9b3766acb55f294e | [
"CC0-1.0"
] | null | null | null | // This file is part of the COLLADA PLUGIN for V-REP
//
// Copyright 2006-2015 Coppelia Robotics GmbH. All rights reserved.
// marc@coppeliarobotics.com
// www.coppeliarobotics.com
//
// The COLLADA PLUGIN is licensed under the terms of GNU GPL:
//
// --------------------------------------------------------... | 38.946602 | 225 | 0.69388 | [
"object",
"model"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.