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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f729783f6308694ad05fe54f1fe92dac6481339a | 8,506 | cpp | C++ | lumino/Graphics/src/RHI/Backend/Vulkan/VulkanDescriptorPool.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 30 | 2016-01-24T05:35:45.000Z | 2020-03-03T09:54:27.000Z | lumino/Graphics/src/RHI/Backend/Vulkan/VulkanDescriptorPool.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 35 | 2016-04-18T06:14:08.000Z | 2020-02-09T15:51:58.000Z | lumino/Graphics/src/RHI/Backend/Vulkan/VulkanDescriptorPool.cpp | lriki/Lumino | 1a80430f4a83dbdfbe965b3d5b16064991b3edb0 | [
"MIT"
] | 5 | 2016-04-03T02:52:05.000Z | 2018-01-02T16:53:06.000Z |
#include "Internal.hpp"
#include "VulkanDeviceContext.hpp"
#include "VulkanShaderPass.hpp"
#include "VulkanDescriptorPool.hpp"
namespace ln {
namespace detail {
//==============================================================================
// VulkanDescriptor2
VulkanDescriptor2::VulkanDescriptor2(VulkanDescripto... | 44.534031 | 472 | 0.693628 | [
"object",
"vector"
] |
f72a98339db92e2e5fc5b5684d8522ea5d419055 | 753 | cpp | C++ | C++/0632-Smallest-Range-Covering-Elements-from-K-Lists/soln.cpp | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | C++/0632-Smallest-Range-Covering-Elements-from-K-Lists/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | C++/0632-Smallest-Range-Covering-Elements-from-K-Lists/soln.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | class Solution {
public:
vector<int> smallestRange(vector<vector<int>>& nums) {
vector<int> ans = {-100000, 100000};
set<tuple<int, int, int>> fronts;
int n = nums.size();
for(int i = 0; i < n; ++i) fronts.insert({nums[i][0], 0, i});
while (!fronts.empty()) {
int ... | 32.73913 | 69 | 0.459495 | [
"vector"
] |
f73004036425cdd0b790995e03fa200a453d2f97 | 1,114 | hpp | C++ | Node.hpp | Rogue05/space-mission | edf5c0f7bad6e8a4ab9f564e1eead6a5f8c481bb | [
"MIT"
] | null | null | null | Node.hpp | Rogue05/space-mission | edf5c0f7bad6e8a4ab9f564e1eead6a5f8c481bb | [
"MIT"
] | null | null | null | Node.hpp | Rogue05/space-mission | edf5c0f7bad6e8a4ab9f564e1eead6a5f8c481bb | [
"MIT"
] | null | null | null | #pragma once
#include <SFML/Graphics.hpp>
#include <set>
class Node{
public:
// ... functions to transform the node
void rotate(float angle){
m_transform.rotate(angle);
}
void scale(float scale){
m_transform.scale(scale,scale);
}
void move(sf::Vector2f pos){
m_transf... | 22.28 | 92 | 0.631957 | [
"transform"
] |
f738734b113f06e362f30721f326d4c70fb267fc | 29,883 | cpp | C++ | apps/openmw/mwworld/weather.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/openmw/mwworld/weather.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | apps/openmw/mwworld/weather.cpp | Bodillium/openmw | 5fdd264d0704e33b44b1ccf17ab4fb721f362e34 | [
"Unlicense"
] | null | null | null | #include "weather.hpp"
#include <components/esm/weatherstate.hpp>
#include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp"
#include "../mwbase/soundmanager.hpp"
#include "../mwrender/renderingmanager.hpp"
#include "player.hpp"
#include "esmstore.hpp"
#include "fallback.hpp"
#include "cellstore.hpp"
usin... | 35.87395 | 159 | 0.65482 | [
"vector"
] |
f73a1fc0e75063795c55f1ef703fb724bb817d18 | 1,245 | cpp | C++ | src/vecnorm.cpp | Ixhel/Algebra | a42a9a2d48237ab00febddbffc4a35b7e7e5fee8 | [
"MIT"
] | null | null | null | src/vecnorm.cpp | Ixhel/Algebra | a42a9a2d48237ab00febddbffc4a35b7e7e5fee8 | [
"MIT"
] | null | null | null | src/vecnorm.cpp | Ixhel/Algebra | a42a9a2d48237ab00febddbffc4a35b7e7e5fee8 | [
"MIT"
] | null | null | null | /*
SymbolicC++ : An object oriented computer algebra system written in C++
Copyright (C) 2008 Yorick Hardy and Willi-Hans Steeb
This library 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; ei... | 31.923077 | 75 | 0.693173 | [
"object",
"vector"
] |
f73d63ff2651940b7f5e0768ec20893381b10d7a | 3,787 | cpp | C++ | Src/IEUtility/IEVector4.cpp | yalcinerbora/indiengine | ff73025a2ac5aff8638fb1bd4f5508426af666bd | [
"MIT"
] | null | null | null | Src/IEUtility/IEVector4.cpp | yalcinerbora/indiengine | ff73025a2ac5aff8638fb1bd4f5508426af666bd | [
"MIT"
] | null | null | null | Src/IEUtility/IEVector4.cpp | yalcinerbora/indiengine | ff73025a2ac5aff8638fb1bd4f5508426af666bd | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cassert>
#include "IEMath.h"
#include "IEVector4.h"
#include "IEVector3.h"
const IEVector4 IEVector4::ZeroVector = IEVector4(0.0f, 0.0f, 0.0f, 0.0f);
const IEVector4 IEVector4::XAxis = IEVector4(1.0f, 0.0f, 0.0f, 0.0f);
const IEVector4 IEVector4::YAxis = IEVector4(0.0f, 1.0f, 0.0f, 0.0f... | 18.655172 | 74 | 0.578822 | [
"vector"
] |
f745528760f9ec16a09d66d38ccd0891390f2031 | 4,844 | cpp | C++ | mipsdk-policyapi-cpp-sample-basic/main.cpp | Azure-Samples/mipsdk-policyapi-cpp-sample-basic | 59dfab338e516570a546abefa3127750095aed35 | [
"MIT"
] | 2 | 2019-02-04T13:57:55.000Z | 2019-12-29T02:30:35.000Z | mipsdk-policyapi-cpp-sample-basic/main.cpp | Azure-Samples/mipsdk-policyapi-cpp-sample-basic | 59dfab338e516570a546abefa3127750095aed35 | [
"MIT"
] | 2 | 2020-01-24T05:16:17.000Z | 2022-01-14T02:59:23.000Z | mipsdk-policyapi-cpp-sample-basic/main.cpp | Azure-Samples/mipsdk-policyapi-cpp-sample-basic | 59dfab338e516570a546abefa3127750095aed35 | [
"MIT"
] | 6 | 2019-02-04T13:57:59.000Z | 2021-01-14T04:59:41.000Z | /**
*
* Copyright (c) Microsoft Corporation.
* All rights reserved.
*
* This code is licensed under the MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files(the "Software"), to deal
* in the Software without restriction, inc... | 32.07947 | 118 | 0.742775 | [
"object",
"vector"
] |
f750dfae12bce288b59127fa7b16ae4283d032d5 | 7,718 | cpp | C++ | src/WaterLavaMeshRenderer.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 14 | 2020-06-27T18:51:41.000Z | 2022-03-30T18:20:02.000Z | src/WaterLavaMeshRenderer.cpp | codenamecpp/GLKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 1 | 2020-06-07T09:48:11.000Z | 2020-06-07T09:48:11.000Z | src/WaterLavaMeshRenderer.cpp | codenamecpp/GrimLandsKeeper | a2207e2a459a254cbc703306ef92a09ecf714090 | [
"MIT"
] | 2 | 2020-08-27T09:38:10.000Z | 2021-08-12T01:17:30.000Z | #include "pch.h"
#include "WaterLavaMeshRenderer.h"
#include "RenderScene.h"
#include "GraphicsDevice.h"
#include "RenderableWaterLavaMesh.h"
#include "cvars.h"
#include "GraphicsDevice.h"
#include "GpuBuffer.h"
#include "TerrainTile.h"
const int MaxWaterLavaMeshBufferSize = 1024 * 1024 * 2;
bool WaterLav... | 32.70339 | 140 | 0.625162 | [
"render",
"object"
] |
f7510316aaee3d4f02502333b0e1c0f8be7ebbb0 | 43,419 | cpp | C++ | qtmultimedia/src/plugins/directshow/player/directshowplayerservice.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | 1 | 2020-04-30T15:47:35.000Z | 2020-04-30T15:47:35.000Z | qtmultimedia/src/plugins/directshow/player/directshowplayerservice.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | qtmultimedia/src/plugins/directshow/player/directshowplayerservice.cpp | wgnet/wds_qt | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may ... | 29.698358 | 115 | 0.592413 | [
"render"
] |
f7512ae428448219c649381c7f2c8d33e5e96e0c | 10,676 | hxx | C++ | main/sdext/source/presenter/PresenterSlideShowView.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sdext/source/presenter/PresenterSlideShowView.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sdext/source/presenter/PresenterSlideShowView.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 36.312925 | 87 | 0.69305 | [
"geometry",
"render",
"object"
] |
f758ebbe23442530cdfd6a4f18897392ed049429 | 1,096 | cpp | C++ | test/src/pipe.cpp | CihanSari/csarisubject | 1e1dbf4776f038ce773bb88e4304df1bf82912de | [
"MIT"
] | 11 | 2018-09-16T06:48:28.000Z | 2019-10-20T19:57:59.000Z | test/src/pipe.cpp | CihanSari/csarisubject | 1e1dbf4776f038ce773bb88e4304df1bf82912de | [
"MIT"
] | null | null | null | test/src/pipe.cpp | CihanSari/csarisubject | 1e1dbf4776f038ce773bb88e4304df1bf82912de | [
"MIT"
] | 1 | 2020-03-16T10:09:18.000Z | 2020-03-16T10:09:18.000Z | #include <catch.hpp>
#include <csari/observer.hpp>
TEST_CASE("pipeSubject") {
auto superSubject1 = csari::Subject<double, double>{};
auto superSubject2 = csari::Subject<double>{};
auto pipe = csari::Pipe<double>{};
pipe.createPipe(superSubject1.asObservable(),
[](csari::Subject<double>& pipe... | 28.842105 | 77 | 0.541971 | [
"transform"
] |
f7676abaa271e8df6caec015cec9ab637eb58efe | 2,406 | cpp | C++ | Wand/Source/Core/App.cpp | mariaviolaki/wand | a955e9f67c73c584d73874904ba98bebd6f15971 | [
"MIT"
] | null | null | null | Wand/Source/Core/App.cpp | mariaviolaki/wand | a955e9f67c73c584d73874904ba98bebd6f15971 | [
"MIT"
] | null | null | null | Wand/Source/Core/App.cpp | mariaviolaki/wand | a955e9f67c73c584d73874904ba98bebd6f15971 | [
"MIT"
] | null | null | null | #include "WandPCH.h"
#include "App.h"
#include "Utils/Random.h"
#include "Utils/Logger.h"
namespace wand
{
App::App()
: mWindow(std::make_shared<Window>()), mCursorManager(std::make_shared<CursorManager>()),
mInput(std::make_shared<Input>()), mRenderer(std::make_shared<Renderer>()),
mEntityManager(std::make_sha... | 35.382353 | 101 | 0.716958 | [
"render"
] |
f768017cdc821432f638a8d015b56b0b37249c11 | 15,255 | cpp | C++ | modules/actors/yato/actors/private/actor_system.cpp | agruzdev/Yato | 9b5a49f6ec4169b67b9e5ffd11fdae9c238b0a3d | [
"Apache-2.0"
] | 9 | 2020-04-16T10:43:09.000Z | 2022-03-07T04:31:52.000Z | modules/actors/yato/actors/private/actor_system.cpp | agruzdev/Yato | 9b5a49f6ec4169b67b9e5ffd11fdae9c238b0a3d | [
"Apache-2.0"
] | 3 | 2020-04-16T10:51:31.000Z | 2021-09-02T19:37:26.000Z | modules/actors/yato/actors/private/actor_system.cpp | agruzdev/Yato | 9b5a49f6ec4169b67b9e5ffd11fdae9c238b0a3d | [
"Apache-2.0"
] | null | null | null | /**
* YATO library
*
* Apache License, Version 2.0
* Copyright (c) 2016-2020 Alexey Gruzdev
*/
#include <condition_variable>
#include <memory>
#include <yato/assertion.h>
#include "../actor.h"
#include "../actor_system.h"
#include "actor_cell.h"
#include "mailbox.h"
#include "scheduler.h"
#include "name_generator.h... | 36.235154 | 177 | 0.562045 | [
"vector"
] |
f76b26ec56fb2dcf0e765424105eec63620508e2 | 2,319 | cpp | C++ | src/MyModule.cpp | djoulz22/DjZ_osc1 | ed6e536696c0acdde6972840fbb8d5693a6870ad | [
"CC0-1.0"
] | null | null | null | src/MyModule.cpp | djoulz22/DjZ_osc1 | ed6e536696c0acdde6972840fbb8d5693a6870ad | [
"CC0-1.0"
] | null | null | null | src/MyModule.cpp | djoulz22/DjZ_osc1 | ed6e536696c0acdde6972840fbb8d5693a6870ad | [
"CC0-1.0"
] | null | null | null | #include "plugin.hpp"
struct MyModule : Module {
enum ParamIds {
PITCH_PARAM,
NUM_PARAMS
};
enum InputIds {
PITCH_INPUT,
NUM_INPUTS
};
enum OutputIds {
SINE_OUTPUT,
NUM_OUTPUTS
};
enum LightIds {
BLINK_LIGHT,
NUM_LIGHTS
};
float phase = 0.f;
float blinkPhase = 0.f;
MyModule() {
confi... | 30.116883 | 113 | 0.67141 | [
"model"
] |
f77cb47486b732d83c3a8d0154dbc93df860b86c | 21,581 | cpp | C++ | blades/xbmc/xbmc/addons/GUIWindowAddonBrowser.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 4 | 2016-04-26T03:43:54.000Z | 2016-11-17T08:09:04.000Z | blades/xbmc/xbmc/addons/GUIWindowAddonBrowser.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | blades/xbmc/xbmc/addons/GUIWindowAddonBrowser.cpp | krattai/AEBL | a7b12c97479e1236d5370166b15ca9f29d7d4265 | [
"BSD-2-Clause"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | /*
* Copyright (C) 2005-2013 Team XBMC
* http://xbmc.org
*
* 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, or (at your option)
* any later version.
*
* ... | 33.049005 | 310 | 0.670961 | [
"vector"
] |
f783df387a112494303c2f98a69d97fdeb130c27 | 11,852 | cc | C++ | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/get_system_capability_request_test.cc | Sohei-Suzuki-Nexty/sdl_core | 68f082169e0a40fccd9eb0db3c83911c28870f07 | [
"BSD-3-Clause"
] | 5 | 2015-02-26T07:47:26.000Z | 2021-08-03T15:08:53.000Z | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/get_system_capability_request_test.cc | Sohei-Suzuki-Nexty/sdl_core | 68f082169e0a40fccd9eb0db3c83911c28870f07 | [
"BSD-3-Clause"
] | 73 | 2015-11-12T15:36:48.000Z | 2022-02-11T08:09:52.000Z | src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/get_system_capability_request_test.cc | Sohei-Suzuki-Nexty/sdl_core | 68f082169e0a40fccd9eb0db3c83911c28870f07 | [
"BSD-3-Clause"
] | 8 | 2015-09-11T08:37:55.000Z | 2021-07-13T19:34:02.000Z | /*
Copyright (c) 2019, 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 conditions and the fol... | 37.0375 | 111 | 0.764428 | [
"vector"
] |
f78e91b9efb4f39b425d13238dc11bf762d1eef7 | 57,204 | cpp | C++ | multimedia/directx/dmusic/dmsynth/instr.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/directx/dmusic/dmsynth/instr.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/directx/dmusic/dmsynth/instr.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //
// Copyright (c) 1996-2001 Microsoft Corporation
// Instrument.cpp
//
#ifdef DMSYNTH_MINIPORT
#include "common.h"
#else
#include "simple.h"
#include <mmsystem.h>
#include <dmerror.h>
#include "synth.h"
#include "math.h"
#include "debug.h"
// @@BEGIN_DDKSPLIT -- This section will be removed in the DDK ... | 33.161739 | 140 | 0.505996 | [
"object"
] |
f797ef01284d9d18709296a5075aab93c287f88c | 13,934 | cpp | C++ | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/FileSystemRepository.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/FileSystemRepository.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/FileSystemRepository.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h"
#include "F... | 44.234921 | 194 | 0.730085 | [
"object",
"vector"
] |
f79f18001cb1f95e718ef025aea229cd0395246e | 51,585 | cc | C++ | chromium/cc/trees/draw_property_utils.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | chromium/cc/trees/draw_property_utils.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | chromium/cc/trees/draw_property_utils.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.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 "cc/trees/draw_property_utils.h"
#include <stddef.h>
#include <vector>
#include "cc/base/math_util.h"
#include "cc/layers/draw_properties.h"
#... | 42.597027 | 80 | 0.70441 | [
"geometry",
"render",
"vector",
"transform",
"3d"
] |
f7a176632a8d13ca78f0213b1615fb57d25f7b90 | 2,672 | cpp | C++ | lib/hsa/hsaBeamformUpchan.cpp | eschnett/kotekan | 81918288147435cef8ad52db05da0988c999a7dd | [
"MIT"
] | 19 | 2018-12-14T00:51:52.000Z | 2022-02-20T02:43:50.000Z | lib/hsa/hsaBeamformUpchan.cpp | eschnett/kotekan | 81918288147435cef8ad52db05da0988c999a7dd | [
"MIT"
] | 487 | 2018-12-13T00:59:53.000Z | 2022-02-07T16:12:56.000Z | lib/hsa/hsaBeamformUpchan.cpp | eschnett/kotekan | 81918288147435cef8ad52db05da0988c999a7dd | [
"MIT"
] | 5 | 2019-05-09T19:52:19.000Z | 2021-03-27T20:13:21.000Z | #include "hsaBeamformUpchan.hpp"
#include "Config.hpp" // for Config
#include "gpuCommand.hpp" // for gpuCommandType, gpuCommandType::KERNEL
#include "hsaDeviceInterface.hpp" // for hsaDeviceInterface, Config
#include <cstdint> // for int32_t, uint32_t
#include <exception> // for exception
#incl... | 38.171429 | 98 | 0.713698 | [
"vector"
] |
f7a2de2af56dcf02a87af935ffb98cb348e1c19e | 1,554 | cc | C++ | cdn/src/model/DescribeIpInfoRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | cdn/src/model/DescribeIpInfoRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | cdn/src/model/DescribeIpInfoRequest.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 25.47541 | 79 | 0.743887 | [
"model"
] |
f7aaca2ae7a3d9d3848a15b5643fe8f7d183f25b | 9,985 | cc | C++ | backup/TussenEval/mobileip/RoutingElement.cc | JeroenVerstraelen/Telecom | 05f986e9c119fb8161d006711f968438bbddad74 | [
"Apache-2.0"
] | null | null | null | backup/TussenEval/mobileip/RoutingElement.cc | JeroenVerstraelen/Telecom | 05f986e9c119fb8161d006711f968438bbddad74 | [
"Apache-2.0"
] | null | null | null | backup/TussenEval/mobileip/RoutingElement.cc | JeroenVerstraelen/Telecom | 05f986e9c119fb8161d006711f968438bbddad74 | [
"Apache-2.0"
] | null | null | null | #include <click/config.h>
#include <click/confparse.hh>
#include <click/error.hh>
#include <clicknet/ether.h>
#include <clicknet/udp.h>
#include <clicknet/ip.h>
// Local imports
#include "RoutingElement.hh"
#include "structs/ICMPSolicitation.hh"
#include "structs/RegistrationRequest.hh"
#include "structs/RegistrationR... | 41.090535 | 216 | 0.721783 | [
"vector"
] |
f7acf28dba37c7aef54134f4a807917259468774 | 4,412 | cpp | C++ | Blizzlike/Trinity/Scripts/Dungeons/TempleOfAhnQiraj/boss_ouro.cpp | 499453466/Lua-Other | 43fd2b72405faf3f2074fd2a2706ef115d16faa6 | [
"Unlicense"
] | 2 | 2015-06-23T16:26:32.000Z | 2019-06-27T07:45:59.000Z | Blizzlike/Trinity/Scripts/Dungeons/TempleOfAhnQiraj/boss_ouro.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | null | null | null | Blizzlike/Trinity/Scripts/Dungeons/TempleOfAhnQiraj/boss_ouro.cpp | Eduardo-Silla/Lua-Other | db610f946dbcaf81b3de9801f758e11a7bf2753f | [
"Unlicense"
] | 3 | 2015-01-10T18:22:59.000Z | 2021-04-27T21:28:28.000Z | /*
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... | 30.219178 | 105 | 0.586582 | [
"model"
] |
f7aecc779e892de5256bfbcdf07724856f635fa6 | 7,364 | cc | C++ | chrome/browser/chromeos/extensions/file_browser_resource_throttle.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-03-10T13:08:49.000Z | 2018-03-10T13:08:49.000Z | chrome/browser/chromeos/extensions/file_browser_resource_throttle.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/extensions/file_browser_resource_throttle.cc | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:19:31.000Z | 2020-11-04T07:19:31.000Z | // 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 "chrome/browser/chromeos/extensions/file_browser_resource_throttle.h"
#include <string>
#include "base/bind.h"
#include "base/values.h"
#in... | 35.23445 | 80 | 0.741037 | [
"render",
"vector"
] |
f7af9f7e4b65cf468cb3d2eee235eb3859720e65 | 1,883 | cpp | C++ | FileWithIncomes.cpp | MrRomanov1/Savings-Manager | f03e96a1478423b01017e214f92ddef69d775154 | [
"Unlicense"
] | null | null | null | FileWithIncomes.cpp | MrRomanov1/Savings-Manager | f03e96a1478423b01017e214f92ddef69d775154 | [
"Unlicense"
] | null | null | null | FileWithIncomes.cpp | MrRomanov1/Savings-Manager | f03e96a1478423b01017e214f92ddef69d775154 | [
"Unlicense"
] | null | null | null | #include "FileWithIncomes.h"
bool FileWithIncomes::addIncomeToFile(Income income) {
if (!checkIfFileExists()) {
xml.SetDoc("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n");
xml.AddElem("Incomes");
}
xml.FindElem();
xml.IntoElem();
xml.AddElem("Income");
xml.IntoElem();
xm... | 28.969231 | 89 | 0.598513 | [
"vector"
] |
fc930f1c7641249c8513e1ac3c15ea024943fcf7 | 5,012 | cpp | C++ | switch/Switch.cpp | alizare1/Switch-Layer2-Sim | 0b98e4463c8daca2d7c7c5f3aab0bbfb8747fa21 | [
"MIT"
] | null | null | null | switch/Switch.cpp | alizare1/Switch-Layer2-Sim | 0b98e4463c8daca2d7c7c5f3aab0bbfb8747fa21 | [
"MIT"
] | null | null | null | switch/Switch.cpp | alizare1/Switch-Layer2-Sim | 0b98e4463c8daca2d7c7c5f3aab0bbfb8747fa21 | [
"MIT"
] | null | null | null | #include "Switch.hpp"
#include "../others/Utils.cpp"
Switch::Switch(int _id, int _ports): id(_id), portsCount(_ports) {
FD_ZERO(&masterSet);
FD_SET(0, &masterSet);
for (int i = 0; i < portsCount; i++) {
string inName = "fifos/s" + to_string(id) + "-" + to_string(i+1) + "-" + "in";
string outN... | 26.659574 | 127 | 0.549282 | [
"vector"
] |
fc96ebdcdd425d1f5b12df6efed80de26a6ff9aa | 7,863 | cpp | C++ | src/iptv_in_network_gst.cpp | karimdavoodi/iptv_out | ad1b3282456d42ec0ace4213e98a2014b648cfaf | [
"MIT"
] | 3 | 2020-09-16T01:45:01.000Z | 2021-11-02T14:34:45.000Z | src/iptv_in_network_gst.cpp | karimdavoodi/iptv_out | ad1b3282456d42ec0ace4213e98a2014b648cfaf | [
"MIT"
] | null | null | null | src/iptv_in_network_gst.cpp | karimdavoodi/iptv_out | ad1b3282456d42ec0ace4213e98a2014b648cfaf | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Karim, karimdavoodi@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | 45.189655 | 92 | 0.620501 | [
"object"
] |
fc9ba386b15afdd593a73bd120926a24202de134 | 1,282 | hh | C++ | summarizers/ocelot/src/TranslationModel_IBM_Model1.hh | ypetinot/web-summarization | 2f7caf51b1e8bf5e510ce91070d622c8119e9865 | [
"Apache-2.0"
] | null | null | null | summarizers/ocelot/src/TranslationModel_IBM_Model1.hh | ypetinot/web-summarization | 2f7caf51b1e8bf5e510ce91070d622c8119e9865 | [
"Apache-2.0"
] | null | null | null | summarizers/ocelot/src/TranslationModel_IBM_Model1.hh | ypetinot/web-summarization | 2f7caf51b1e8bf5e510ce91070d622c8119e9865 | [
"Apache-2.0"
] | 1 | 2016-03-03T04:58:44.000Z | 2016-03-03T04:58:44.000Z | #ifndef __TRANSLATION_MODEL_IBM_Model1__
#define __TRANSLATION_MODEL_IBM_Model1__
#include <string>
#include "TranslationModel.hh"
/* use Giza++ API */
#include "model1.h"
using namespace std;
namespace IBM {
namespace Model1 {
class TranslationModel: public ::TranslationModel {
private:
... | 22.491228 | 129 | 0.667707 | [
"model"
] |
fca53c1ebe06c28423f1e782e4a8a3e8fce4c413 | 9,296 | cpp | C++ | test/vgl/test_quadric.cpp | lood339/tiny-xvl | 52259ef588932ac61e5f1caab552af7dc117eca6 | [
"BSD-2-Clause"
] | 2 | 2020-07-11T00:08:55.000Z | 2020-07-11T01:56:13.000Z | test/vgl/test_quadric.cpp | lood339/tiny-xvl | 52259ef588932ac61e5f1caab552af7dc117eca6 | [
"BSD-2-Clause"
] | 1 | 2020-12-22T04:33:45.000Z | 2020-12-22T04:33:45.000Z | test/vgl/test_quadric.cpp | lood339/tiny-vxl | 52259ef588932ac61e5f1caab552af7dc117eca6 | [
"BSD-2-Clause"
] | null | null | null | // Some tests for vgl_quadric_3d
// J.L. Mundy, June 2017.
#include <iostream>
#include <sstream>
#include <vgl/vgl_quadric_3d.h>
#include <vgl/vgl_tolerance.h>
#include <gtest/gtest.h>
// multiply square matrices
static std::vector<std::vector<double> > mul(std::vector<std::vector<double> > const& a,
... | 56.339394 | 114 | 0.645224 | [
"vector",
"transform"
] |
fca87e218acb129ae21101a2de31811e213c48bd | 1,830 | cc | C++ | modules/audio_coding/codecs/opus/audio_coder_opus_common.cc | gaoxiaoyang/webrtc | 21021f022be36f5d04f8a3a309e345f65c8603a9 | [
"BSD-3-Clause"
] | 344 | 2016-07-03T11:45:20.000Z | 2022-03-19T16:54:10.000Z | modules/audio_coding/codecs/opus/audio_coder_opus_common.cc | gaoxiaoyang/webrtc | 21021f022be36f5d04f8a3a309e345f65c8603a9 | [
"BSD-3-Clause"
] | 59 | 2020-08-24T09:17:42.000Z | 2022-02-27T23:33:37.000Z | modules/audio_coding/codecs/opus/audio_coder_opus_common.cc | gaoxiaoyang/webrtc | 21021f022be36f5d04f8a3a309e345f65c8603a9 | [
"BSD-3-Clause"
] | 278 | 2016-04-26T07:37:12.000Z | 2022-01-24T10:09:44.000Z | /*
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 35.882353 | 79 | 0.660109 | [
"vector"
] |
fca8ea4d68825ea96b7bc8cfa32458a9b1bd205f | 16,555 | cpp | C++ | src/smtrat-cad/utils/CADPreprocessor.cpp | ths-rwth/smtrat | efd83021d5b5fb0e2903b38cd3148a953a1972c0 | [
"MIT"
] | 2 | 2021-03-21T23:02:42.000Z | 2021-03-22T15:15:13.000Z | src/smtrat-cad/utils/CADPreprocessor.cpp | ths-rwth/smtrat | efd83021d5b5fb0e2903b38cd3148a953a1972c0 | [
"MIT"
] | 15 | 2021-03-16T11:00:37.000Z | 2022-02-22T14:51:57.000Z | src/smtrat-cad/utils/CADPreprocessor.cpp | ths-rwth/smtrat | efd83021d5b5fb0e2903b38cd3148a953a1972c0 | [
"MIT"
] | null | null | null | #include "CADPreprocessor.h"
namespace smtrat::cad {
const bool CADPreprocessorSettings::dummy = CADPreprocessorSettings::register_hook();
namespace preprocessor {
inline std::size_t complexity(const std::vector<FormulaT>& origin) {
return std::accumulate(origin.begin(), origin.end(), static_cast<std::size_t>(0... | 38.589744 | 139 | 0.615826 | [
"cad",
"vector",
"model"
] |
fca9496cd63e2c151b68016699ea005ec554838d | 6,538 | cpp | C++ | lib/viewer/BVHRenderer.cpp | mensinda/BVHTest | 46e24818f623797c78f2e094434213e3728a114c | [
"Apache-2.0"
] | 4 | 2019-03-09T16:35:00.000Z | 2022-01-12T06:32:05.000Z | lib/viewer/BVHRenderer.cpp | mensinda/BVHTest | 46e24818f623797c78f2e094434213e3728a114c | [
"Apache-2.0"
] | null | null | null | lib/viewer/BVHRenderer.cpp | mensinda/BVHTest | 46e24818f623797c78f2e094434213e3728a114c | [
"Apache-2.0"
] | 1 | 2020-09-09T15:47:13.000Z | 2020-09-09T15:47:13.000Z | /*
* Copyright (C) 2018 Daniel Mensinger
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 29.58371 | 110 | 0.64454 | [
"render",
"vector"
] |
fcae62ead58fcd2d559146651d07a56c753394fd | 2,116 | cpp | C++ | tests/common/stream_span_helpers.cpp | lukaszstolarczuk/pmemstream | 972f029d13858d783d80654d73168c5e8334eab6 | [
"BSD-3-Clause"
] | null | null | null | tests/common/stream_span_helpers.cpp | lukaszstolarczuk/pmemstream | 972f029d13858d783d80654d73168c5e8334eab6 | [
"BSD-3-Clause"
] | 123 | 2021-11-02T12:06:07.000Z | 2022-03-31T10:50:48.000Z | tests/common/stream_span_helpers.cpp | lukaszstolarczuk/pmemstream | 972f029d13858d783d80654d73168c5e8334eab6 | [
"BSD-3-Clause"
] | 5 | 2021-11-02T12:20:38.000Z | 2022-02-15T23:50:04.000Z | // SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2022, Intel Corporation */
#include "stream_span_helpers.hpp"
#include "../src/libpmemstream_internal.h"
#include "../src/span.h"
#include "stream_helpers.hpp"
std::vector<span_runtime> span_runtimes_from_stream(const pmem::stream &stream, size_t offset, size_t e... | 33.0625 | 113 | 0.694234 | [
"vector"
] |
fcaec5c6735df306911dd1ab0e840d5c6b0e3e35 | 9,918 | cpp | C++ | src/backend/opencl/Array.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-06-14T23:49:18.000Z | 2018-06-14T23:49:18.000Z | src/backend/opencl/Array.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2015-07-02T15:53:02.000Z | 2015-07-02T15:53:02.000Z | src/backend/opencl/Array.cpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-02-26T17:11:03.000Z | 2018-02-26T17:11:03.000Z | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 30.516923 | 120 | 0.525711 | [
"vector"
] |
fcb52121f2f631e13eab0526cea9792ffd348d68 | 766 | cpp | C++ | 664_strange_printer/strange_printer.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 664_strange_printer/strange_printer.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | 664_strange_printer/strange_printer.cpp | Mengsen-W/algorithm | 66216b8601e416343a2cc191bd0f2f12eb282262 | [
"BSD-3-Clause"
] | null | null | null | /*
* @Date: 2021-05-24 09:40:55
* @Author: mengsenwang
* @LastEditors: mengsenwang
* @LastEditTime: 2021-05-24 09:53:21
*/
#include <cassert>
#include <string>
#include <vector>
using namespace std;
int strangePrinter(string s) {
int n = s.length();
vector<vector<int>> f(n, vector<int>(n));
for (int i = n ... | 20.702703 | 50 | 0.48564 | [
"vector"
] |
fcb5e28cde3a78aab65a36122e0c8c6525d83a14 | 5,039 | cpp | C++ | XRVessels/DeltaGliderXR1/XR1Lib/XR1TertiaryHUD.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | 10 | 2021-08-20T05:49:10.000Z | 2022-01-07T13:00:20.000Z | XRVessels/DeltaGliderXR1/XR1Lib/XR1TertiaryHUD.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | null | null | null | XRVessels/DeltaGliderXR1/XR1Lib/XR1TertiaryHUD.cpp | dbeachy1/XRVessels | 8dd2d879886154de2f31fa75393d8a6ac56a2089 | [
"MIT"
] | 4 | 2021-09-11T12:08:01.000Z | 2022-02-09T00:16:19.000Z | /**
XR Vessel add-ons for OpenOrbiter Space Flight Simulator
Copyright (C) 2006-2021 Douglas Beachy
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 3 of the License, or
any... | 37.325926 | 143 | 0.709665 | [
"render",
"3d",
"solid"
] |
fcbb3ff6e2add94cd84a1fa0b0795e6ab56a690f | 4,365 | cpp | C++ | src/rhtml.cpp | mikeowens/mod_ruby | c8eb18038e666af0ae7a7609fd328100d29d34b7 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2015-02-15T09:30:42.000Z | 2015-08-18T01:41:31.000Z | src/rhtml.cpp | mikeowens/mod_ruby | c8eb18038e666af0ae7a7609fd328100d29d34b7 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2016-01-15T13:40:36.000Z | 2019-03-02T05:23:01.000Z | src/rhtml.cpp | mikeowens/mod_ruby | c8eb18038e666af0ae7a7609fd328100d29d34b7 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2016-07-31T03:42:14.000Z | 2019-02-15T19:57:21.000Z | #include <string>
#include "ruby.hpp"
#include "rhtml.h"
#include "util.hpp"
using namespace std;
using namespace ruby;
using modruby::replace;
// _context is a generic Ruby Object using the C++ ruby::Object class. We then
// get its binding. We use the binding as the global context for the RHTML
// document. We do... | 18.653846 | 79 | 0.490034 | [
"object"
] |
fcc6e49fd1599f15f527db7101714be9b75e26a2 | 2,115 | cpp | C++ | LuoguCodes/UVA1025.cpp | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | LuoguCodes/UVA1025.cpp | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | LuoguCodes/UVA1025.cpp | Anguei/OI-Codes | 0ef271e9af0619d4c236e314cd6d8708d356536a | [
"MIT"
] | null | null | null | #include <cmath>
#include <cctype>
#include <cstdio>
#include <cstring>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <string>
#include <vector>
#include <numeric>
#include <iomanip>
#include <iostream>
#include <algorithm>
#define ll long long
//#define int long long
#define pc(x) putchar(x)... | 24.882353 | 110 | 0.521986 | [
"vector"
] |
fcd34877706d7619ad3402633b1fc84e44267df9 | 18,476 | cpp | C++ | tests/indexer_tests.cpp | foursixnine/yuca | 5d2165e93fc5e7046dd5044cf2a1d37d0a689d15 | [
"MIT"
] | 12 | 2018-05-10T02:51:51.000Z | 2022-01-14T17:10:46.000Z | tests/indexer_tests.cpp | foursixnine/yuca | 5d2165e93fc5e7046dd5044cf2a1d37d0a689d15 | [
"MIT"
] | 1 | 2018-11-21T15:43:34.000Z | 2018-11-21T15:59:52.000Z | tests/indexer_tests.cpp | foursixnine/yuca | 5d2165e93fc5e7046dd5044cf2a1d37d0a689d15 | [
"MIT"
] | 3 | 2018-05-09T18:29:12.000Z | 2018-11-21T14:46:48.000Z | /**
* MIT License
*
* Copyright (c) 2016-2018 Angel Leon, Alden Torres
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*... | 37.938398 | 120 | 0.642996 | [
"object"
] |
fce080b2a0286250edd55710594d6571f7385a44 | 4,257 | cpp | C++ | src/files/grid_getIsolineImage.cpp | fmidev/smartmet-tools-grid | 88086ec9c039e52505c733d21d75f9618ba3324b | [
"MIT"
] | null | null | null | src/files/grid_getIsolineImage.cpp | fmidev/smartmet-tools-grid | 88086ec9c039e52505c733d21d75f9618ba3324b | [
"MIT"
] | null | null | null | src/files/grid_getIsolineImage.cpp | fmidev/smartmet-tools-grid | 88086ec9c039e52505c733d21d75f9618ba3324b | [
"MIT"
] | null | null | null | #include "grid-files/grid/PhysicalGridFile.h"
#include "grid-files/grid/PrintOptions.h"
#include "grid-files/identification/GridDef.h"
#include <macgyver/Exception.h>
#include "grid-files/common/GeneralFunctions.h"
#include "grid-files/common/GeneralDefinitions.h"
#include "grid-files/common/ImageFunctions.h"
#include ... | 24.894737 | 114 | 0.618511 | [
"vector"
] |
fce364c89e60e85b1ec71648a60897aa5457d63b | 7,161 | cpp | C++ | src/tdm/tdm_refine_greedy.cpp | jordanpui/larf | 653932d7739980c8d732f2ce55cd32e8552c0c81 | [
"Unlicense"
] | 5 | 2020-02-08T10:22:55.000Z | 2022-01-17T08:18:39.000Z | src/tdm/tdm_refine_greedy.cpp | jordanpui/larf | 653932d7739980c8d732f2ce55cd32e8552c0c81 | [
"Unlicense"
] | null | null | null | src/tdm/tdm_refine_greedy.cpp | jordanpui/larf | 653932d7739980c8d732f2ce55cd32e8552c0c81 | [
"Unlicense"
] | null | null | null | #include "tdm_refine_greedy.h"
#include "tdm_db.h"
#include "timing_graph.h"
#include "tdm_net.h"
void TdmRefine::solve() {
log() << "==================== begin TDM refinement(greedy) ====================" << endl;
tdmDatabase.reportSol();
tdmDatabase.updateTiming();
auto timingGraph = tdmDatabase.get... | 33.152778 | 109 | 0.497975 | [
"vector"
] |
fce405eea74dc7b3a6c949f4d8dd8c9a35a435d1 | 1,085 | cpp | C++ | baekjoon/11400/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | 4 | 2020-02-02T08:34:46.000Z | 2021-10-01T11:21:17.000Z | baekjoon/11400/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | 1 | 2021-09-04T14:03:50.000Z | 2021-09-04T14:03:50.000Z | baekjoon/11400/source.cpp | qilip/ACMStudy | c4d6f31b01358ead4959c92f1fac59a3826f3f77 | [
"CC-BY-3.0"
] | null | null | null | #include <stdio.h>
#include <vector>
#include <utility>
#include <algorithm>
using namespace std;
vector<int> graph[100010];
int order[100010], lower[100010];
int cnt = 1;
vector<pair<int ,int>> ans;
void dfs(int cur, int bef){
order[cur] = lower[cur] = cnt++;
for(int next : graph[cur]){
if(bef == ne... | 22.604167 | 65 | 0.494931 | [
"vector"
] |
fce75c3e978a3090504594394d84804b804c6c6b | 3,457 | cpp | C++ | tests/src/asyncappendertestcase.cpp | MacroGu/log4cxx_gcc_4_8 | c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e | [
"Apache-2.0"
] | 1 | 2016-10-06T20:09:32.000Z | 2016-10-06T20:09:32.000Z | tests/src/asyncappendertestcase.cpp | MacroGu/log4cxx_gcc_4_8 | c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e | [
"Apache-2.0"
] | null | null | null | tests/src/asyncappendertestcase.cpp | MacroGu/log4cxx_gcc_4_8 | c6c82ee6dca2808c42cfa567d32f640a8bd9ac3e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2003,2004 The Apache Software Foundation.
*
* 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... | 29.29661 | 80 | 0.734452 | [
"vector"
] |
fce8da7fba13e908166e6c733e8412cc3ed8e8c6 | 509 | cpp | C++ | src/CustomPalette.cpp | sitara-systems/ofxColorPalette | 30aea3fa2569d96eef81b1c184d267036a36a86f | [
"MIT"
] | 3 | 2020-09-19T11:31:10.000Z | 2021-12-25T13:08:55.000Z | src/CustomPalette.cpp | morphogencc/ofxColorPalette | 30aea3fa2569d96eef81b1c184d267036a36a86f | [
"MIT"
] | null | null | null | src/CustomPalette.cpp | morphogencc/ofxColorPalette | 30aea3fa2569d96eef81b1c184d267036a36a86f | [
"MIT"
] | 1 | 2020-09-19T09:25:06.000Z | 2020-09-19T09:25:06.000Z | #include "CustomPalette.h"
using namespace ofxColorPalette;
CustomPalette::CustomPalette(std::vector<ofColor> colors) {
mCustomColors = colors;
}
CustomPalette::CustomPalette(std::string filename) {
}
CustomPalette::~CustomPalette() {
}
std::shared_ptr<ofColor> CustomPalette::nextColor() {
ofColor selectedColo... | 22.130435 | 79 | 0.764244 | [
"vector"
] |
fcf523f0c0d092ca905cd91f2b71dce6dbd64796 | 733 | cpp | C++ | solution/minimum_spanning_tree/1197/main.cpp | imnotmoon/baekjoon | 07e7f95316dcc578d065eb384553ae09530f95ac | [
"MIT"
] | 1 | 2021-05-25T11:24:35.000Z | 2021-05-25T11:24:35.000Z | solution/minimum_spanning_tree/1197/main.cpp | imnotmoon/baekjoon | 07e7f95316dcc578d065eb384553ae09530f95ac | [
"MIT"
] | null | null | null | solution/minimum_spanning_tree/1197/main.cpp | imnotmoon/baekjoon | 07e7f95316dcc578d065eb384553ae09530f95ac | [
"MIT"
] | 2 | 2021-09-18T05:47:41.000Z | 2021-12-30T14:42:27.000Z | #include<bits/stdc++.h>
using namespace std;
constexpr int MAXN = 10005;
int uf[MAXN];
int find(int x) {
if(uf[x] < 0)return x;
return uf[x] = find(uf[x]);
}
bool merge(int a, int b) {
a = find(a);
b = find(b);
if(a == b)return false;
uf[b] = a;
return true;
}
int main(){
ios::sync_... | 17.046512 | 40 | 0.470668 | [
"vector"
] |
fcf7eebb6dcf2ef1b68d609ccd9bf2db8ef45634 | 4,685 | cpp | C++ | source/gloperate/source/pipeline/AbstractPipeline.cpp | apopiak/gloperate | b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd | [
"MIT"
] | null | null | null | source/gloperate/source/pipeline/AbstractPipeline.cpp | apopiak/gloperate | b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd | [
"MIT"
] | null | null | null | source/gloperate/source/pipeline/AbstractPipeline.cpp | apopiak/gloperate | b4194a1c3b2dc4ea1102a2c5ae3ff3b5540f31cd | [
"MIT"
] | null | null | null | #include <gloperate/pipeline/AbstractPipeline.h>
#include <cassert>
#include <string>
#include <algorithm>
#include <map>
#include <iostream>
#include <gloperate/base/collection.hpp>
#include <gloperate/pipeline/AbstractStage.h>
#include <gloperate/pipeline/AbstractInputSlot.h>
#include <gloperate/pipeline/AbstractD... | 20.107296 | 117 | 0.641195 | [
"vector"
] |
1e012e5cd72ab8e1edc369b45e63480b8e66d1af | 1,423 | cpp | C++ | bbudfpss-CLI/src/archiver.cpp | mikejzx/bbudfpss | 70ae2e6fd62dcfbc2f0db60a80c8dae9104bcd9a | [
"WTFPL"
] | null | null | null | bbudfpss-CLI/src/archiver.cpp | mikejzx/bbudfpss | 70ae2e6fd62dcfbc2f0db60a80c8dae9104bcd9a | [
"WTFPL"
] | null | null | null | bbudfpss-CLI/src/archiver.cpp | mikejzx/bbudfpss | 70ae2e6fd62dcfbc2f0db60a80c8dae9104bcd9a | [
"WTFPL"
] | null | null | null | #include "pch.h"
/*
Writes an archive with all files in filenames vector.
*/
void write_archive(const char* outname, const std::vector<std::string>& filenames, const char* indir)
{
archive* a;
archive_entry* entry;
struct stat st;
char buff[8192];
size_t len;
std::FILE* fd;
a = archive_write_new();
//archive... | 25.410714 | 101 | 0.67955 | [
"vector"
] |
1e03c19a6d0cee894f9d3ada99e4dd50f8638f00 | 969 | cpp | C++ | rcnn/faster_rcnn.cpp | kurff/caffe-ssd-kurff | bdf259991cf977a736fafcae9b28938096325a36 | [
"MIT"
] | 1 | 2019-03-13T07:30:29.000Z | 2019-03-13T07:30:29.000Z | rcnn/faster_rcnn.cpp | kurff/caffe-ssd-kurff | bdf259991cf977a736fafcae9b28938096325a36 | [
"MIT"
] | null | null | null | rcnn/faster_rcnn.cpp | kurff/caffe-ssd-kurff | bdf259991cf977a736fafcae9b28938096325a36 | [
"MIT"
] | null | null | null | #include "rcnn/faster_rcnn.h"
using namespace caffe;
namespace rcnn{
FasterRCNN::FasterRCNN() : RCNN(){
}
FasterRCNN::~FasterRCNN(){
}
bool FasterRCNN::forward(cv::Mat& image, std::vector<Box>* boxes){
Blob<float>* input_layer = net_->input_blobs()[0];
input_layer->Reshape... | 23.634146 | 111 | 0.623323 | [
"vector"
] |
1f6359499f9754b00443ae486a64a6138bb56141 | 163,069 | cpp | C++ | timelinefx.cpp | peterigz/timelinefxlib | 869557f67addb14eed1d1fa172d7809683e6862a | [
"MIT"
] | 3 | 2022-01-03T13:58:36.000Z | 2022-02-28T19:15:52.000Z | timelinefx.cpp | peterigz/timelinefxlib | 869557f67addb14eed1d1fa172d7809683e6862a | [
"MIT"
] | null | null | null | timelinefx.cpp | peterigz/timelinefxlib | 869557f67addb14eed1d1fa172d7809683e6862a | [
"MIT"
] | null | null | null | #include "timelinefx.h"
#include "Libraries/miniz.h"
namespace tfx {
EffectEmitter::~EffectEmitter() {
sub_effectors.free_all();
}
void EffectEmitter::SoftExpire() {
flags |= tfxEmitterStateFlags_stop_spawning;
}
void EffectEmitter::Rotate(float r) {
local.rotation += r;
}
void EffectEmitter::SetAngle(... | 37.547548 | 273 | 0.714397 | [
"render",
"vector",
"transform"
] |
1f64d7c3b91eccc43bf51ae70a835b6108b436b4 | 3,870 | cpp | C++ | Module/Wpa2_password_hack.cpp | BKarschat/wlanitor | e2ac42b6989d4200dc00385c2601c60e198cdc2f | [
"MIT"
] | null | null | null | Module/Wpa2_password_hack.cpp | BKarschat/wlanitor | e2ac42b6989d4200dc00385c2601c60e198cdc2f | [
"MIT"
] | null | null | null | Module/Wpa2_password_hack.cpp | BKarschat/wlanitor | e2ac42b6989d4200dc00385c2601c60e198cdc2f | [
"MIT"
] | null | null | null | #include "Wpa2_password_hack.hpp"
Wpa2_pw_hack::Wpa2_pw_hack() {
// rsnhand = std::make_unique<Tins::RSNHandshakeCapturer>();
}
Wpa2_pw_hack::~Wpa2_pw_hack() {
}
void Wpa2_pw_hack::set_printer(std::shared_ptr <Print_devices> printer) {
_printer = printer;
}
void Wpa2_pw_hack::setWordList(std::string ... | 35.833333 | 139 | 0.449612 | [
"vector"
] |
1f6af83b715cdd7d394a5e3c2cede283cf263233 | 5,108 | cpp | C++ | src/Snake/Snake.cpp | CynusW/snake-game | 20eef5f6b98cd6cf54c7c95e3147451b241906d6 | [
"MIT"
] | null | null | null | src/Snake/Snake.cpp | CynusW/snake-game | 20eef5f6b98cd6cf54c7c95e3147451b241906d6 | [
"MIT"
] | null | null | null | src/Snake/Snake.cpp | CynusW/snake-game | 20eef5f6b98cd6cf54c7c95e3147451b241906d6 | [
"MIT"
] | null | null | null | #include "Snake.h"
namespace snake
{
SnakeBody::~SnakeBody()
{
if (next != nullptr)
{
delete next;
}
}
Snake::Snake(const Vector2D& pos, const Direction& facing)
{
SnakeBody* body = new SnakeBody();
body->next = new SnakeBody();
body->nex... | 24.32381 | 84 | 0.505873 | [
"vector"
] |
1f6eba5936ba870d36fec0fb9a580fe4671e49c5 | 4,007 | cpp | C++ | GRAPHS/HARD/Alien Dictionary - HARD.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 11 | 2021-10-01T06:53:31.000Z | 2022-02-05T20:36:20.000Z | GRAPHS/HARD/Alien Dictionary - HARD.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 37 | 2021-10-01T06:54:01.000Z | 2021-10-20T18:02:31.000Z | GRAPHS/HARD/Alien Dictionary - HARD.cpp | shresth12-jain/HacktoberFest2021 | 43bd5d99668c104f89f3efef5313e4ddadd9931a | [
"Apache-2.0"
] | 110 | 2021-10-01T06:51:28.000Z | 2021-10-31T18:00:55.000Z | /*Alien Dictionary
Hard Accuracy: 48.62% Submissions: 26458 Points: 8
Given a sorted dictionary of an alien language having N words and k starting alphabets of standard dictionary. Find the order of characters in the
alien language.
Note: Many orders may be possible for a particular test case, thus you may retu... | 25.685897 | 150 | 0.515847 | [
"cad",
"vector"
] |
1f6fa09b7bb0c6cb3f5983ef0f1ccb53c600928f | 2,479 | cc | C++ | tf_euler/kernels/get_binary_feature_op.cc | lixusign/euler | c8ce1968367aec2807cc542fcdb5958e3b1b9295 | [
"Apache-2.0"
] | 1 | 2019-09-18T02:18:06.000Z | 2019-09-18T02:18:06.000Z | tf_euler/kernels/get_binary_feature_op.cc | DingXiye/euler | c45225119c5b991ca953174f06c2f223562f34c9 | [
"Apache-2.0"
] | null | null | null | tf_euler/kernels/get_binary_feature_op.cc | DingXiye/euler | c45225119c5b991ca953174f06c2f223562f34c9 | [
"Apache-2.0"
] | 1 | 2020-09-18T13:37:08.000Z | 2020-09-18T13:37:08.000Z | /* Copyright 2018 Alibaba Group Holding Limited. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | 30.9875 | 80 | 0.676886 | [
"shape",
"vector"
] |
1f716ffdbd84af676dec64574c449de1e796fccd | 913 | cpp | C++ | project3Assets/whenEverythingWorked/Item.cpp | cnr-dxn/adventure-game | d97650471f0f9ca5f5fcce9c3cae18c3e622dd57 | [
"Apache-2.0"
] | null | null | null | project3Assets/whenEverythingWorked/Item.cpp | cnr-dxn/adventure-game | d97650471f0f9ca5f5fcce9c3cae18c3e622dd57 | [
"Apache-2.0"
] | null | null | null | project3Assets/whenEverythingWorked/Item.cpp | cnr-dxn/adventure-game | d97650471f0f9ca5f5fcce9c3cae18c3e622dd57 | [
"Apache-2.0"
] | null | null | null | #include "Item.h"
#include <iostream>
#include <iomanip>
#include <math.h>
#include <vector>
#include <string>
#include <algorithm>
#include <fstream>
#include <sstream>
using namespace std;
Item::Item()
{
nameOfItem = "";
ifItemIsHeld = false;
ifItemIsNeeded = false;
}
Item::Item(string nameOfItem_, bool ifItem... | 11.857143 | 72 | 0.714129 | [
"vector"
] |
1f74bf726535b899ab34d0793fc96222ae434dfa | 4,082 | cpp | C++ | Code/Cpp/possible_marks.cpp | sgino209/Bracelet_decoder | d1b557254355601b277924313b760b6b30b48326 | [
"Apache-2.0"
] | null | null | null | Code/Cpp/possible_marks.cpp | sgino209/Bracelet_decoder | d1b557254355601b277924313b760b6b30b48326 | [
"Apache-2.0"
] | null | null | null | Code/Cpp/possible_marks.cpp | sgino209/Bracelet_decoder | d1b557254355601b277924313b760b6b30b48326 | [
"Apache-2.0"
] | null | null | null | // Bracelet-Decoder algo app
// (c) Shahar Gino, September-2017, sgino209@gmail.com
#include "possible_marks.hpp"
PossibleMark :: PossibleMark(std::vector<cv::Point> _contour, cv::Mat &frame_gray, unsigned int _MinPixelWidth, unsigned int _MaxPixelWidth,
unsigned int _MinPixelHeight, unsi... | 37.796296 | 149 | 0.585007 | [
"vector"
] |
1f766fd485ca8609987aecf7b2209293c1ed7e2e | 2,854 | cpp | C++ | obsoleted/old/lib-obsolete/int/ledhw/src/ht1632c.cpp | cppcoder123/led-server | 8ebac31e1241bb203d2cedfd644fe52619007cd6 | [
"MIT"
] | 1 | 2021-12-23T13:50:53.000Z | 2021-12-23T13:50:53.000Z | obsoleted/old/lib-obsolete/int/ledhw/src/ht1632c.cpp | cppcoder123/led-server | 8ebac31e1241bb203d2cedfd644fe52619007cd6 | [
"MIT"
] | null | null | null | obsoleted/old/lib-obsolete/int/ledhw/src/ht1632c.cpp | cppcoder123/led-server | 8ebac31e1241bb203d2cedfd644fe52619007cd6 | [
"MIT"
] | null | null | null | //
// Not used
//
#include <iostream>
#include "ledhw/ht1632c.hpp"
#include "window.hpp"
namespace ledhw
{
typedef std::lock_guard<std::mutex> guard_t;
typedef std::unique_lock<std::mutex> lock_t;
const std::chrono::milliseconds ht1632c_t::m_fixed_delay (10000);
const std::chrono::milliseconds ht1632c_t::m_... | 22.650794 | 78 | 0.590049 | [
"render"
] |
1f7f9e9ddea78a6679b50237291256c7f6317a4c | 4,702 | cpp | C++ | 1_LSQw/lsq_Dropout.cpp | billkarsh/Alignment_Projects | f2ce48477da866b09a13fd33f1a53a8af644b35b | [
"BSD-3-Clause"
] | 11 | 2015-07-24T14:41:25.000Z | 2022-03-19T13:27:51.000Z | 1_LSQw/lsq_Dropout.cpp | billkarsh/Alignment_Projects | f2ce48477da866b09a13fd33f1a53a8af644b35b | [
"BSD-3-Clause"
] | 1 | 2016-05-14T22:26:25.000Z | 2016-05-14T22:26:25.000Z | 1_LSQw/lsq_Dropout.cpp | billkarsh/Alignment_Projects | f2ce48477da866b09a13fd33f1a53a8af644b35b | [
"BSD-3-Clause"
] | 18 | 2015-03-10T18:45:58.000Z | 2021-08-16T13:56:48.000Z |
#include "lsq_Dropout.h"
#include "lsq_Globals.h"
#include "lsq_MPI.h"
#include "EZThreads.h"
#include "Disk.h"
#include "File.h"
#include "Timer.h"
/* --------------------------------------------------------------- */
/* Constants ----------------------------------------------------- */
/* -----------------------... | 26.122222 | 69 | 0.284772 | [
"vector"
] |
1f904f2237f3176625a3e0744c8cf5f20ab5552e | 542 | cpp | C++ | graph/adjacencyList.cpp | sumana2001/problems450 | 90b804b7063bb3f11f90b7506576ed14d27e1776 | [
"MIT"
] | null | null | null | graph/adjacencyList.cpp | sumana2001/problems450 | 90b804b7063bb3f11f90b7506576ed14d27e1776 | [
"MIT"
] | null | null | null | graph/adjacencyList.cpp | sumana2001/problems450 | 90b804b7063bb3f11f90b7506576ed14d27e1776 | [
"MIT"
] | 1 | 2021-08-19T12:20:06.000Z | 2021-08-19T12:20:06.000Z | #include<bits/stdc++.h>
using namespace std;
#define V 5
void addEdge(vector<int> graph[V],int u, int v){
graph[u].push_back(v);
}
int main(){
vector<int> graph[V];
addEdge(graph,0,1);
addEdge(graph,0,4);
addEdge(graph,1,1);
addEdge(graph,1,2);
addEdge(graph,1,3);
addEdge(graph,1,4);
... | 20.074074 | 48 | 0.52952 | [
"vector"
] |
1f95def5b2823356c9ed7d2969694af140d0f374 | 1,774 | hpp | C++ | include/darkroom/Transform.hpp | Roboy/DarkRoom_rviz | 8f049218bc600d4b179303493a70bfe2389df73c | [
"BSD-3-Clause"
] | 2 | 2017-07-06T15:34:19.000Z | 2020-06-04T00:22:54.000Z | include/darkroom/Transform.hpp | Roboy/DarkRoom_rviz | 8f049218bc600d4b179303493a70bfe2389df73c | [
"BSD-3-Clause"
] | null | null | null | include/darkroom/Transform.hpp | Roboy/DarkRoom_rviz | 8f049218bc600d4b179303493a70bfe2389df73c | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <Eigen/Core>
#include <Eigen/Dense>
#include <tf/tf.h>
#include <tf_conversions/tf_eigen.h>
#include <tf/transform_broadcaster.h>
#include <tf/transform_listener.h>
using namespace Eigen;
namespace DarkRoom {
class Transform {
public:
/**
* Queries the tf listener for ... | 30.067797 | 82 | 0.624577 | [
"transform"
] |
1f97d80fdfd3420a33ed32b47e65d279c2a42bf0 | 818 | cpp | C++ | m_setmatrixzeroes.cpp | skyera/myleetcode | c3524e73b320afb863d0c04d40b1b660ff9fec8c | [
"MIT"
] | null | null | null | m_setmatrixzeroes.cpp | skyera/myleetcode | c3524e73b320afb863d0c04d40b1b660ff9fec8c | [
"MIT"
] | null | null | null | m_setmatrixzeroes.cpp | skyera/myleetcode | c3524e73b320afb863d0c04d40b1b660ff9fec8c | [
"MIT"
] | null | null | null | // Set matrix zeros
// 9/26/17
// Medium
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
void setzeros(vector<vector<int> > &matrix) {
const size_t m = matrix.size();
const size_t n = matrix[0].size();
vector<bool> row(m, false);
vector<bool> col(n, false);
for (si... | 19.47619 | 54 | 0.430318 | [
"vector"
] |
1faa914784807b151173d40ea279410b1ecded84 | 13,614 | cc | C++ | runtime/contrib/labs/opencl_test/src/opencl_test.cc | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 1 | 2020-05-22T13:53:40.000Z | 2020-05-22T13:53:40.000Z | runtime/contrib/labs/opencl_test/src/opencl_test.cc | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 1 | 2020-09-23T23:12:23.000Z | 2020-09-23T23:20:34.000Z | runtime/contrib/labs/opencl_test/src/opencl_test.cc | periannath/ONE | 61e0bdf2bcd0bc146faef42b85d469440e162886 | [
"Apache-2.0"
] | 1 | 2021-07-22T11:02:43.000Z | 2021-07-22T11:02:43.000Z | /*
* Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 35.178295 | 100 | 0.541208 | [
"vector"
] |
1fab1087e59bdfec654ea90f3509129b21519a42 | 1,135 | cxx | C++ | CodingChallenges/Problem Solving/Data Structures/2D Array - Ds/2D_Array.cxx | BillyFrcs/CPPPrograming | 3904d30413aaea6c9109b8c5250c44c67aa0fc20 | [
"MIT"
] | 3 | 2021-12-17T02:45:51.000Z | 2022-03-31T23:55:38.000Z | CodingChallenges/Problem Solving/Data Structures/2D Array - Ds/2D_Array.cxx | BillyFrcs/Programming | 32dc67ce4c12189b56921de63446d79c25799457 | [
"MIT"
] | 1 | 2021-06-12T08:28:38.000Z | 2021-06-12T08:28:38.000Z | CodingChallenges/Problem Solving/Data Structures/2D Array - Ds/2D_Array.cxx | BillyFrcs/Programming | 32dc67ce4c12189b56921de63446d79c25799457 | [
"MIT"
] | 2 | 2021-04-28T20:08:55.000Z | 2021-05-25T08:45:54.000Z | #include <bits/stdc++.h>
int hourglassSum(std::vector<std::vector<int>> arr)
{
int max = 0;
for (auto i = 0; i < 4; i++)
{
for (auto j = 0; j < 4; j++)
{
int value = 0;
value += arr[i][j];
value += arr[i][j + 1];
value += a... | 19.237288 | 55 | 0.334802 | [
"vector"
] |
1fab59c371a0863447bea35d10e82284a92eaa57 | 1,324 | cc | C++ | arms/src/model/GetTraceAppRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | arms/src/model/GetTraceAppRequest.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | arms/src/model/GetTraceAppRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 25.461538 | 75 | 0.733384 | [
"model"
] |
1faf4f46df870015b1758bbc6c24aa7c795f2c1f | 1,629 | cpp | C++ | dynamic programming/leet_Code_Dynamic_Programming/467_unique_substrings_in_wraparound_string.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | 1 | 2020-10-12T19:18:19.000Z | 2020-10-12T19:18:19.000Z | dynamic programming/leet_Code_Dynamic_Programming/467_unique_substrings_in_wraparound_string.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | null | null | null | dynamic programming/leet_Code_Dynamic_Programming/467_unique_substrings_in_wraparound_string.cpp | Hadleyhzy/data_structure_and_algorithm | 0e610ba78dcb216323d9434a0f182756780ce5c0 | [
"MIT"
] | 1 | 2020-10-12T19:18:04.000Z | 2020-10-12T19:18:04.000Z | //
// 467_unique_substrings_in_wraparound_string.cpp
// leet_Code_Dynamic_Programming
//
// Created by Hadley on 21.07.20.
// Copyright © 2020 Hadley. All rights reserved.
//
#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <vector>
#include <string>
#include <unordered_map>
#include <stack>
#i... | 25.453125 | 82 | 0.50706 | [
"vector"
] |
1fafedeb681544109942afcbbd1059576f78ed20 | 1,108 | cpp | C++ | class 09 - combinatorics, totient, recursion, backtracking/backtracking.cpp | pioneerAlpha/CP_Beginner_B4_Amar_iSchool | 271a851cfaf570e9dbde390574c9b0a419299823 | [
"MIT"
] | 3 | 2020-11-23T17:00:40.000Z | 2020-11-23T17:00:46.000Z | class 26 - combinatorics, totient, recursion, backtracking/backtracking.cpp | pioneerAlpha/CP_Beginner_B3_Amar_iSchool | 138a6b4d5a09b53dc8be45f8713ed83c6e5e567a | [
"Apache-2.0"
] | null | null | null | class 26 - combinatorics, totient, recursion, backtracking/backtracking.cpp | pioneerAlpha/CP_Beginner_B3_Amar_iSchool | 138a6b4d5a09b53dc8be45f8713ed83c6e5e567a | [
"Apache-2.0"
] | 1 | 2020-12-13T01:43:05.000Z | 2020-12-13T01:43:05.000Z | #include<bits/stdc++.h>
#define pi acos(-1)
#define MOD ((int)1e9 + 7)
#define N ((int)2e2 + 9)
#define eps (1e-8)
#define fastio ios_base::sync_with_stdio(false),cin.tie(NULL)
#define endl "\n"
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
/*fast io
ios_base::sync_with_stdio(false);
cin... | 16.787879 | 85 | 0.535199 | [
"vector"
] |
1fb41755f2542b3bb3503b5c6356b1dae1ee0b91 | 1,558 | cpp | C++ | src/FitnessFunction/ToyProblems/ZeroMaxOneMax.cpp | tdenottelander/MacroNAS | 19123a44fcec699a6011b1dc76a31e4e581d745b | [
"BSD-3-Clause"
] | 7 | 2020-04-22T09:32:32.000Z | 2020-08-11T12:17:06.000Z | src/FitnessFunction/ToyProblems/ZeroMaxOneMax.cpp | tdenottelander/MacroNAS | 19123a44fcec699a6011b1dc76a31e4e581d745b | [
"BSD-3-Clause"
] | null | null | null | src/FitnessFunction/ToyProblems/ZeroMaxOneMax.cpp | tdenottelander/MacroNAS | 19123a44fcec699a6011b1dc76a31e4e581d745b | [
"BSD-3-Clause"
] | 2 | 2020-05-15T23:28:38.000Z | 2021-04-14T12:44:38.000Z | //
// ZeroMaxOneMax.cpp
// GA
//
// Created by Tom den Ottelander on 04/02/2020.
// Copyright © 2020 Tom den Ottelander. All rights reserved.
//
#include "ZeroMaxOneMax.hpp"
using namespace std;
ZeroMaxOneMax::ZeroMaxOneMax (int problemSize) : FitnessFunction(new BinaryProblemType()) {
setLength(problemSize)... | 24.730159 | 91 | 0.625802 | [
"vector"
] |
1fb4eb37082bf6d83792eecca631dddcde6e4e27 | 2,182 | hh | C++ | src/MathEval/kahan.hh | QuantumOfMoose/devsim | 22f888119059a86bfc87ba9e7d9ac2cc90dadfb6 | [
"Apache-2.0"
] | null | null | null | src/MathEval/kahan.hh | QuantumOfMoose/devsim | 22f888119059a86bfc87ba9e7d9ac2cc90dadfb6 | [
"Apache-2.0"
] | null | null | null | src/MathEval/kahan.hh | QuantumOfMoose/devsim | 22f888119059a86bfc87ba9e7d9ac2cc90dadfb6 | [
"Apache-2.0"
] | null | null | null | /***
DEVSIM
Copyright 2013 Devsim LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, soft... | 21.82 | 97 | 0.636114 | [
"vector"
] |
1fb6403473dec63c7c7e03d9f66b328e81ceded9 | 1,513 | cpp | C++ | Cluedo/RedistributeCards.cpp | Stephen-ODriscoll/Cluedo | c481edff544bf206bf840b23959415df43bf70d6 | [
"MIT"
] | null | null | null | Cluedo/RedistributeCards.cpp | Stephen-ODriscoll/Cluedo | c481edff544bf206bf840b23959415df43bf70d6 | [
"MIT"
] | null | null | null | Cluedo/RedistributeCards.cpp | Stephen-ODriscoll/Cluedo | c481edff544bf206bf840b23959415df43bf70d6 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "RedistributeCards.h"
RedistributeCards::RedistributeCards(Game* pGame, std::shared_ptr<Guessed> pGuessed, std::shared_ptr<const Turn> pOldTurn, QWidget* parent) :
pGame(pGame),
pGuessed(pGuessed),
pOldTurn(pOldTurn),
QWidget(parent)
{
ui.setupUi(this);
setWindowTit... | 24.403226 | 141 | 0.63384 | [
"vector"
] |
1fbc33af03abc0043af0e5284ce0f50967cc6562 | 968 | cpp | C++ | leetcode/cpp/131.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | null | null | null | leetcode/cpp/131.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | null | null | null | leetcode/cpp/131.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | 2 | 2020-09-29T21:59:43.000Z | 2021-06-22T13:24:04.000Z | /*
* DFS
*
*/
class Solution {
public:
vector<vector<string>> partition(string s) {
if(s.empty()) return vector<vector<string>>();
vector<vector<string>> ret;
vector<string> path;
dfs(0, s, path, ret);
return ret;
}
void dfs(int index, string& s, vector<string... | 21.043478 | 87 | 0.456612 | [
"vector"
] |
1fc22ffd4be0f4b900d667847550f8c9fcdc6035 | 58,658 | cpp | C++ | Gems/Terrain/Code/Source/TerrainSystem/TerrainSystem.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Terrain/Code/Source/TerrainSystem/TerrainSystem.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Terrain/Code/Source/TerrainSystem/TerrainSystem.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"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 <TerrainSystem/TerrainSystem.h>
#include <AzCore/std/parallel/shared_mutex.h>
#include <A... | 42.109117 | 155 | 0.686726 | [
"shape",
"vector",
"3d"
] |
1fc483dede504ad8c98fc17864f522340f1b977f | 6,573 | hpp | C++ | src/prx/utilities/data_structures/priority_queue.hpp | aravindsiv/ML4KP | 064015a7545e1713cbcad3e79807b5cec0849f54 | [
"MIT"
] | 3 | 2021-05-31T11:28:03.000Z | 2021-05-31T13:49:30.000Z | src/prx/utilities/data_structures/priority_queue.hpp | aravindsiv/ML4KP | 064015a7545e1713cbcad3e79807b5cec0849f54 | [
"MIT"
] | 1 | 2021-09-03T09:39:32.000Z | 2021-12-10T22:17:56.000Z | src/prx/utilities/data_structures/priority_queue.hpp | aravindsiv/ML4KP | 064015a7545e1713cbcad3e79807b5cec0849f54 | [
"MIT"
] | 2 | 2021-09-03T09:17:45.000Z | 2021-10-04T15:52:58.000Z | #pragma once
#include "prx/planning/planners/rrt.hpp"
#include "prx/utilities/defs.hpp"
#include <algorithm>
#include <iostream>
#include <iterator>
#include <vector>
namespace prx
{
/**
* A structure to store tree node pointers on a priority queue.
* Providing an erase method which the std implementati... | 33.365482 | 146 | 0.477255 | [
"vector"
] |
1fcca9e97355488f054f8bf20d830533a9a4ffd5 | 11,296 | cpp | C++ | test/SIM_stls/models/STLCheckpoint.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 647 | 2015-05-07T16:08:16.000Z | 2022-03-30T02:33:21.000Z | test/SIM_stls/models/STLCheckpoint.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 995 | 2015-04-30T19:44:31.000Z | 2022-03-31T20:14:44.000Z | test/SIM_stls/models/STLCheckpoint.cpp | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 251 | 2015-05-15T09:24:34.000Z | 2022-03-22T20:39:05.000Z |
#include "sim_services/Message/include/message_proto.h"
#include "STLCheckpoint.hh"
/* These 2 constructors add different data to an STLCheckpoint. */
STLCheckpoint::STLCheckpoint() {
return ;
}
STLCheckpoint::STLCheckpoint(std::string in_name) :
vector_vector_double(4, std::vector<double>(3)) ,
vector_vect... | 37.036066 | 122 | 0.657401 | [
"vector"
] |
1fcd4c769574f463f375cd052901255ae8604eb0 | 10,223 | cpp | C++ | Net/TinyHttpServer/HttpServer.cpp | AlongWY/HIT-WorkShop | 7169666a3e04c087e4760b119bf375f798466e43 | [
"MIT"
] | 4 | 2019-10-16T13:06:11.000Z | 2021-08-15T09:19:05.000Z | Net/TinyHttpServer/HttpServer.cpp | AlongWY/HIT-WorkShop | 7169666a3e04c087e4760b119bf375f798466e43 | [
"MIT"
] | null | null | null | Net/TinyHttpServer/HttpServer.cpp | AlongWY/HIT-WorkShop | 7169666a3e04c087e4760b119bf375f798466e43 | [
"MIT"
] | 2 | 2019-11-22T08:11:42.000Z | 2019-12-29T10:20:36.000Z | //
// Created by along on 17-11-12.
//
#include "HttpServer.h"
// 用于字符串处理
#include <iostream>
#include <cstring>
// 用于套接字
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
// 用于接收用户的终止命令
#include <csignal>
// 多线程处理
#include <thread>
// 日志处理
#include <boost/log/trivial.hpp>
... | 27.481183 | 99 | 0.580651 | [
"vector"
] |
1fce3134e24b063743ecfd8b2713b91da489b3d7 | 1,813 | hpp | C++ | old_uinx_study/study_src/thread_study/mutex_test.hpp | puzzzzzzle/cpp_study | 8d6f29c4bb741cb27a8365a4312dd92ddbbf13e8 | [
"BSD-3-Clause-Clear"
] | 3 | 2020-01-21T08:21:20.000Z | 2020-10-07T10:03:39.000Z | old_uinx_study/study_src/thread_study/mutex_test.hpp | puzzzzzzle/cpp_study | 8d6f29c4bb741cb27a8365a4312dd92ddbbf13e8 | [
"BSD-3-Clause-Clear"
] | null | null | null | old_uinx_study/study_src/thread_study/mutex_test.hpp | puzzzzzzle/cpp_study | 8d6f29c4bb741cb27a8365a4312dd92ddbbf13e8 | [
"BSD-3-Clause-Clear"
] | null | null | null | //
// Created by tao on 18-11-29.
//
#ifndef UNIXSTUDYCPP_MUTEX_TEST_HPP
#define UNIXSTUDYCPP_MUTEX_TEST_HPP
#include <unistd.h>
#include <algorithm>
#include <mutex>
#include <sstream>
#include <thread>
#include <vector>
#include "../log4cplus_init/log_macro.h"
using namespace std;
// class thread_guard;
class ... | 19.706522 | 74 | 0.606729 | [
"vector"
] |
1fcf60881f114c69a1c120981e5ad464bfe4e636 | 13,085 | cpp | C++ | sycl/source/detail/pi_opencl.cpp | mgehre-xlx/sycl | 2086745509ef4bc298d7bbec402a123dae68f25e | [
"Apache-2.0"
] | 61 | 2019-04-12T18:49:57.000Z | 2022-03-19T22:23:16.000Z | sycl/source/detail/pi_opencl.cpp | mgehre-xlx/sycl | 2086745509ef4bc298d7bbec402a123dae68f25e | [
"Apache-2.0"
] | 127 | 2019-04-09T00:55:50.000Z | 2022-03-21T15:35:41.000Z | sycl/source/detail/pi_opencl.cpp | mgehre-xlx/sycl | 2086745509ef4bc298d7bbec402a123dae68f25e | [
"Apache-2.0"
] | 10 | 2019-04-02T18:25:40.000Z | 2022-02-15T07:11:37.000Z | //==---------- pi_opencl.cpp - OpenCL Plugin -------------------------------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 39.176647 | 88 | 0.672831 | [
"vector"
] |
1fd0424a9c029d45398bc3b2496cf6d8d848c95b | 524 | cpp | C++ | main.cpp | lbia/Polygon | de40af852180b85ff7da8528d900812eb9d3b968 | [
"Unlicense"
] | null | null | null | main.cpp | lbia/Polygon | de40af852180b85ff7da8528d900812eb9d3b968 | [
"Unlicense"
] | null | null | null | main.cpp | lbia/Polygon | de40af852180b85ff7da8528d900812eb9d3b968 | [
"Unlicense"
] | null | null | null | #include "Console.h"
#include "Logger.h"
int main(){
LOG::LEVEL = LogLevel::INFO;
LOG::PRINT_INFO_LEVEL = false;
// Mesh::setForceConcave(true);
Console console;
// console.setDebugStatus(true);
// console.setDebugMode(ModeApp::Cut);
// console.setFileNameDebug("first.txt");
// console.... | 16.903226 | 44 | 0.625954 | [
"mesh"
] |
1fd124c10a5083f2be0f3d384597c3b6adea96e6 | 2,909 | cpp | C++ | src/model.cpp | LesleyLai/Vulkan-Renderer | fd03a69fbc21bfaf3177e43811d21dba634a1949 | [
"Apache-2.0"
] | 4 | 2019-04-17T17:44:23.000Z | 2020-09-14T04:24:37.000Z | src/model.cpp | LesleyLai/Vulkan-Renderer | fd03a69fbc21bfaf3177e43811d21dba634a1949 | [
"Apache-2.0"
] | 3 | 2020-06-10T00:43:44.000Z | 2020-06-10T00:59:47.000Z | src/model.cpp | LesleyLai/Vulkan-Renderer | fd03a69fbc21bfaf3177e43811d21dba634a1949 | [
"Apache-2.0"
] | null | null | null | #include <assimp/Importer.hpp>
#include <assimp/postprocess.h>
#include <assimp/scene.h>
#include "model.hpp"
#include <beyond/utils/panic.hpp>
namespace {
[[nodiscard]] StaticMesh process_mesh(vkh::GPUDevice& device,
const aiMesh& mesh, const aiScene& scene)
{
std::vector<Ve... | 29.383838 | 80 | 0.642833 | [
"mesh",
"vector",
"model"
] |
1fe175a037e06c781391a4ace3306ca25a826606 | 2,078 | hpp | C++ | include/draw/Progress.hpp | charanyaarvind/StratifyAPI | adfd1bc8354489378d53c6acd77ebedad5790b4f | [
"BSD-3-Clause"
] | null | null | null | include/draw/Progress.hpp | charanyaarvind/StratifyAPI | adfd1bc8354489378d53c6acd77ebedad5790b4f | [
"BSD-3-Clause"
] | null | null | null | include/draw/Progress.hpp | charanyaarvind/StratifyAPI | adfd1bc8354489378d53c6acd77ebedad5790b4f | [
"BSD-3-Clause"
] | null | null | null | /*! \file */ //Copyright 2011-2018 Tyler Gilbert; All Rights Reserved
#ifndef DRAW_PROGRESS_HPP_
#define DRAW_PROGRESS_HPP_
#include "Drawing.hpp"
namespace draw {
typedef struct MCU_PACK {
u16 value;
u16 max;
} progress_t;
/*! \brief Progress Attribute Class
* \details This class defines the attributes of any
... | 25.036145 | 82 | 0.733879 | [
"object"
] |
1fe5509f4281f3146cf1955e6ce71b325edb234f | 5,588 | cpp | C++ | SDK/Extras/Rayshade/Sources/Rayshade/LibSurf/surfshade.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 24 | 2019-10-28T07:01:48.000Z | 2022-03-04T16:10:39.000Z | SDK/Extras/Rayshade/Sources/Rayshade/LibSurf/surfshade.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 8 | 2020-04-22T19:42:45.000Z | 2021-04-30T16:28:32.000Z | SDK/Extras/Rayshade/Sources/Rayshade/LibSurf/surfshade.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T14:44:15.000Z | 2021-04-01T20:04:29.000Z | /*
* surfshade.c
*
* Copyright (C) 1989, 1991, Craig E. Kolb
* All rights reserved.
*
* This software may be freely copied, modified, and redistributed
* provided that this copyright notice is preserved on all copies.
*
* You may not distribute this software, in whole or in part, as part of
* any commercial p... | 28.222222 | 90 | 0.639585 | [
"object",
"vector",
"model",
"transform"
] |
1fe881639ecaea7f8189bb188385c7286bb88a05 | 21,296 | hh | C++ | dune/xt/la/container/matrix-interface.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 2 | 2020-02-08T04:08:52.000Z | 2020-08-01T18:54:14.000Z | dune/xt/la/container/matrix-interface.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 35 | 2019-08-19T12:06:35.000Z | 2020-03-27T08:20:39.000Z | dune/xt/la/container/matrix-interface.hh | dune-community/dune-xt | da921524c6fff8d60c715cb4849a0bdd5f020d2b | [
"BSD-2-Clause"
] | 1 | 2020-02-08T04:09:34.000Z | 2020-02-08T04:09:34.000Z | // This file is part of the dune-xt project:
// https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt
// Copyright 2009-2021 dune-xt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (h... | 33.17134 | 120 | 0.665712 | [
"vector"
] |
1feb51da96851342b4af019e4caa2059ca3166d5 | 2,339 | cc | C++ | nlp-automl/src/model/GetPredictResultRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | nlp-automl/src/model/GetPredictResultRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | nlp-automl/src/model/GetPredictResultRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 24.364583 | 79 | 0.749038 | [
"model"
] |
1febc51cdea04a21b0d51f0a93df07e3b5eb6a08 | 3,734 | cpp | C++ | modules/task_3/kazhaeva_a_horizontal_gaussian_filter/main.cpp | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/kazhaeva_a_horizontal_gaussian_filter/main.cpp | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/kazhaeva_a_horizontal_gaussian_filter/main.cpp | Gurgen-Arm/pp_2021_autumn | ad549e49d765612c4544f34b04c9eb9432ac0dc7 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 Kazhaeva Anastasia
#include <gtest/gtest.h>
#include "./horizontal_filter.h"
#include <gtest-mpi-listener.hpp>
TEST(Parallel_Operations_MPI, Test_1) {
int currentProcess;
MPI_Comm_rank(MPI_COMM_WORLD, ¤tProcess);
int height = 4;
int weight = 4;
std::vector<float> matrix;
std::vector... | 29.872 | 78 | 0.698982 | [
"vector"
] |
1fedf4f0469917d450dd393cd2b2d3cb0455c5a8 | 3,752 | cpp | C++ | examples/primitives/sum.cpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | 40 | 2021-06-01T07:37:59.000Z | 2022-03-25T01:42:09.000Z | examples/primitives/sum.cpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | 14 | 2021-06-01T11:52:46.000Z | 2022-03-25T02:13:08.000Z | examples/primitives/sum.cpp | IvanNovoselov/oneDNN | aa47fcd2a03ee5caac119b6417bc66abe3154aab | [
"Apache-2.0"
] | 24 | 2020-08-07T04:21:48.000Z | 2021-12-09T02:03:35.000Z | /*******************************************************************************
* Copyright 2020 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | 29.777778 | 80 | 0.633795 | [
"object",
"vector"
] |
1ff202dae41e9736173d4ab274988f6e3ffa15db | 1,755 | cpp | C++ | gui/main_window.cpp | happysalada/rust-ffi-guide | ae2b33826eb5de27e6c4ab6d73a24ea2ac35f247 | [
"CC0-1.0"
] | 263 | 2017-02-25T16:43:51.000Z | 2022-03-12T03:13:55.000Z | gui/main_window.cpp | happysalada/rust-ffi-guide | ae2b33826eb5de27e6c4ab6d73a24ea2ac35f247 | [
"CC0-1.0"
] | 62 | 2017-02-19T23:33:30.000Z | 2020-11-13T04:14:23.000Z | gui/main_window.cpp | happysalada/rust-ffi-guide | ae2b33826eb5de27e6c4ab6d73a24ea2ac35f247 | [
"CC0-1.0"
] | 22 | 2017-03-18T14:49:18.000Z | 2021-08-31T06:55:24.000Z | #include "main_window.hpp"
#include "wrappers.hpp"
#include <QtGui/QCloseEvent>
#include <QtWidgets/QFileDialog>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QMessageBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QLabel>
#include <iostream>
void MainWindow::onClick() {
try
{
std::cout << "Crea... | 29.25 | 68 | 0.666667 | [
"vector"
] |
1ff22339780982d847f77cc82730217c9e920d30 | 15,773 | cpp | C++ | src/library/simplifier/ceq.cpp | silky/lean | df8b88dca2f8da1a422cb618cd476ef5be730546 | [
"Apache-2.0"
] | 1 | 2019-06-27T11:33:01.000Z | 2019-06-27T11:33:01.000Z | src/library/simplifier/ceq.cpp | silky/lean | df8b88dca2f8da1a422cb618cd476ef5be730546 | [
"Apache-2.0"
] | null | null | null | src/library/simplifier/ceq.cpp | silky/lean | df8b88dca2f8da1a422cb618cd476ef5be730546 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "util/list_fn.h"
#include "kernel/kernel.h"
#include "kernel/free_vars.h"
#include "kernel/for_each_fn.h"
#include "kernel/type_checker.h"
#include... | 37.73445 | 124 | 0.547835 | [
"object"
] |
1ffb885b9d29c38d08fe9f16dfd81328a34d73dd | 22,986 | cc | C++ | content/browser/accessibility/browser_accessibility_manager_fuchsia_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | content/browser/accessibility/browser_accessibility_manager_fuchsia_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | content/browser/accessibility/browser_accessibility_manager_fuchsia_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2021 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 "content/browser/accessibility/browser_accessibility_manager_fuchsia.h"
#include <map>
#include <vector>
#include "content/browser/accessibilit... | 36.836538 | 84 | 0.739233 | [
"geometry",
"vector",
"transform"
] |
9500ca4e8fba5f85231be05d6d95c704778af3f9 | 4,413 | hpp | C++ | include/nodamushi/svd/Enumeration.hpp | nodamushi/nsvd-reader | cf3a840aaac78d5791df1cf045596ec20dc03257 | [
"CC0-1.0"
] | null | null | null | include/nodamushi/svd/Enumeration.hpp | nodamushi/nsvd-reader | cf3a840aaac78d5791df1cf045596ec20dc03257 | [
"CC0-1.0"
] | null | null | null | include/nodamushi/svd/Enumeration.hpp | nodamushi/nsvd-reader | cf3a840aaac78d5791df1cf045596ec20dc03257 | [
"CC0-1.0"
] | null | null | null | /*!
@brief <enumerationValues> element
@file nodamushi/svd/Enumeration.hpp
*/
/*
* These codes are licensed under CC0.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
#ifndef NODAMUSHI_SVD_ENUMERATION_HPP
#define NODAMUSHI_SVD_ENUMERATION_HPP
# include "nodamushi/svd/elements.hpp"
namespace nodamu... | 28.288462 | 139 | 0.648765 | [
"vector"
] |
951648737c09e360edb2ff81c567d140dd22ed39 | 8,261 | cxx | C++ | pkgs/tools/cmake/src/Source/cmInstallGenerator.cxx | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 64 | 2015-03-06T00:30:56.000Z | 2022-03-24T13:26:53.000Z | pkgs/tools/cmake/src/Source/cmInstallGenerator.cxx | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 12 | 2020-12-15T08:30:19.000Z | 2022-03-13T03:54:24.000Z | pkgs/tools/cmake/src/Source/cmInstallGenerator.cxx | manggoguy/parsec-modified | d14edfb62795805c84a4280d67b50cca175b95af | [
"BSD-3-Clause"
] | 40 | 2015-02-26T15:31:16.000Z | 2022-03-03T23:23:37.000Z | /*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile: cmInstallGenerator.cxx,v $
Language: C++
Date: $Date: 2012/03/29 17:21:08 $
Version: $Revision: 1.1.1.1 $
Copyright (c) 2002 Kitware, Inc., Insight ... | 29.715827 | 78 | 0.511802 | [
"vector"
] |
95240e60907ae5298b0021f1a5f590d4262aa359 | 12,678 | cpp | C++ | src/mongo/db/s/resharding/resharding_oplog_batch_preparer.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/resharding/resharding_oplog_batch_preparer.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/s/resharding/resharding_oplog_batch_preparer.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2021-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 41.703947 | 100 | 0.624704 | [
"vector"
] |
95278841232d50f9a8b4489f9f927b4b09dc7da1 | 1,415 | cpp | C++ | CF/practice/Div2A/unique_bid_auction.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | 3 | 2020-10-09T11:25:19.000Z | 2021-02-15T10:40:08.000Z | CF/practice/Div2A/unique_bid_auction.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | null | null | null | CF/practice/Div2A/unique_bid_auction.cpp | saurav-07/CompetitiveProgramming | 40956567e077fe0785cd0904d1969e02a1eff7ee | [
"MIT"
] | 3 | 2021-02-10T16:29:04.000Z | 2021-02-21T16:33:01.000Z | #include<bits/stdc++.h>
#include<string>
#include<cstring>
#include<iostream>
#include<vector>
#include<set>
#include<algorithm>
#include<unordered_map>
#include<map>
#define all(arr) arr.begin(),arr.end()
#define MOD 1000000007
using namespace std;
typedef long long int ll;
template <typename T>
void input(vector<T> ... | 17.911392 | 53 | 0.581625 | [
"vector"
] |
952e76c2407f942f3daa965d66038c24868066a3 | 7,081 | cpp | C++ | src/dense_reconstruction.cpp | ayushmahajan1008/stereo-dense-reconstruction | bffd46908feb41e3b17fdd58cbbac1afe0b5e048 | [
"MIT"
] | 1 | 2018-01-09T11:10:12.000Z | 2018-01-09T11:10:12.000Z | src/dense_reconstruction.cpp | scholltan/stereo-dense-reconstruction | bffd46908feb41e3b17fdd58cbbac1afe0b5e048 | [
"MIT"
] | null | null | null | src/dense_reconstruction.cpp | scholltan/stereo-dense-reconstruction | bffd46908feb41e3b17fdd58cbbac1afe0b5e048 | [
"MIT"
] | 1 | 2021-03-26T01:56:51.000Z | 2021-03-26T01:56:51.000Z | #include <ros/ros.h>
#include <message_filters/subscriber.h>
#include <message_filters/synchronizer.h>
#include <message_filters/sync_policies/approximate_time.h>
#include <sensor_msgs/CompressedImage.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/LaserScan.h>
#include <sensor_msgs/ChannelFloat32.h>
#incl... | 32.782407 | 80 | 0.680695 | [
"vector",
"transform",
"3d"
] |
953318fc9877e77459b2c7fa327140bf0d69f297 | 2,872 | hpp | C++ | src/GraphNodeItem.hpp | sempr-tk/sempr-gui | ba96dca6945122a157f61fec9e41f4aa6060e3b2 | [
"BSD-3-Clause"
] | null | null | null | src/GraphNodeItem.hpp | sempr-tk/sempr-gui | ba96dca6945122a157f61fec9e41f4aa6060e3b2 | [
"BSD-3-Clause"
] | null | null | null | src/GraphNodeItem.hpp | sempr-tk/sempr-gui | ba96dca6945122a157f61fec9e41f4aa6060e3b2 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SEMPR_GUI_GRAPHNODEITEM_HPP_
#define SEMPR_GUI_GRAPHNODEITEM_HPP_
#include <QGraphicsItem>
#include <vector>
namespace sempr { namespace gui {
class GraphEdgeItem;
/**
A QGraphicsItem that represents the node of a graph and contains
some text.
*/
class GraphNodeItem : public QGraphicsItem {
publi... | 30.231579 | 105 | 0.70195 | [
"shape",
"vector"
] |
953698ca3af44cd4889d803518ac529f760e27d7 | 1,445 | cpp | C++ | OI2019/USACO/feb/3.2.cpp | JackBai0914/Competitive-Programming-Codebase | a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9 | [
"MIT"
] | null | null | null | OI2019/USACO/feb/3.2.cpp | JackBai0914/Competitive-Programming-Codebase | a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9 | [
"MIT"
] | null | null | null | OI2019/USACO/feb/3.2.cpp | JackBai0914/Competitive-Programming-Codebase | a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <algorithm>
using namespace std;
const int N = 200020;
typedef long long ll;
typedef pair<int, int> pii;
const long long oo = 1e12;
#define F first
#define S second
int n, T, lyer = 0, C;
pii pt[N];
ll area (pii a, pii b) {return (long lo... | 22.578125 | 69 | 0.499654 | [
"vector"
] |
953aeb1749402304498dd8cc8d440f4ec5a228d0 | 4,592 | cpp | C++ | tests/compile_tests/model_query.cpp | akisute514/active_record_cpp | 5ef6da213433d9ad83dd39a422d2a4397430efe1 | [
"MIT"
] | 3 | 2021-06-19T15:06:35.000Z | 2022-02-25T07:24:21.000Z | tests/compile_tests/model_query.cpp | akisute514/active_record_cpp | 5ef6da213433d9ad83dd39a422d2a4397430efe1 | [
"MIT"
] | null | null | null | tests/compile_tests/model_query.cpp | akisute514/active_record_cpp | 5ef6da213433d9ad83dd39a422d2a4397430efe1 | [
"MIT"
] | 1 | 2022-02-25T07:30:22.000Z | 2022-02-25T07:30:22.000Z | //#include <active_record.hpp>
#include "../../include/active_record.hpp"
struct Test : public active_record::model<Test>{
static inline decltype(auto) table_name = "test_table";
struct Int : public active_record::attributes::integer<Test, Int>{
using integer<Test, Int>::integer;
static inline... | 41.369369 | 129 | 0.654834 | [
"model"
] |
954245844af0bf31ec567bd6c5e623fa86a235f0 | 1,270 | cpp | C++ | leetcode/81.cpp | pravinsrc/AlgorithmTraining_leetcode | 72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb | [
"MIT"
] | null | null | null | leetcode/81.cpp | pravinsrc/AlgorithmTraining_leetcode | 72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb | [
"MIT"
] | null | null | null | leetcode/81.cpp | pravinsrc/AlgorithmTraining_leetcode | 72ae84e0f7f4d64dff8482d3fe7b96e32b19c9bb | [
"MIT"
] | null | null | null | /*
Search in Rotated Sorted Array II
Medium
630
299
Favorite
Share
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.
(i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]).
You are given a target value to search. If found in the array return true, otherwise return false.... | 22.280702 | 98 | 0.497638 | [
"vector"
] |
954a7fbffc015c97c93927e71f16bbbcde682755 | 6,082 | hxx | C++ | main/sd/source/ui/inc/PreviewRenderer.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sd/source/ui/inc/PreviewRenderer.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sd/source/ui/inc/PreviewRenderer.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 34.754286 | 78 | 0.657843 | [
"render"
] |
954be9dac11bbf896e94e546eb8e2751872f0fcb | 3,156 | cpp | C++ | examples/sound/filterExplorer.cpp | AlloSphere-Research-Group/al_lib | 94d23fe71b79d3464a658f16ca34c2040e6d7334 | [
"BSD-3-Clause"
] | 26 | 2018-11-05T23:29:43.000Z | 2022-03-17T18:16:49.000Z | examples/sound/filterExplorer.cpp | yangevelyn/allolib | 1654be795b6515c058eb8243751b903a2aa6efdc | [
"BSD-3-Clause"
] | 41 | 2018-01-19T18:34:41.000Z | 2022-01-27T23:52:01.000Z | examples/sound/filterExplorer.cpp | yangevelyn/allolib | 1654be795b6515c058eb8243751b903a2aa6efdc | [
"BSD-3-Clause"
] | 11 | 2018-01-05T16:42:19.000Z | 2022-01-27T22:08:01.000Z | // Filter explorer example
// By Andrés Cabrera mantaraya36@gmail.com
// July 2018
#include <iostream>
// This file shows the spectrum behavior of gam::Filter using a gui
#include "Gamma/DFT.h"
#include "Gamma/Filter.h"
#include "Gamma/Noise.h"
#include "al/app/al_App.hpp"
#include "al/ui/al_ControlGUI.hpp"
using n... | 27.684211 | 80 | 0.628644 | [
"mesh"
] |
95534376779ef5d3d5ccfe336bade179d7c88695 | 4,917 | hpp | C++ | openstudiocore/src/model/CoilCoolingDXVariableSpeedSpeedData.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | 1 | 2016-12-29T08:45:03.000Z | 2016-12-29T08:45:03.000Z | openstudiocore/src/model/CoilCoolingDXVariableSpeedSpeedData.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | openstudiocore/src/model/CoilCoolingDXVariableSpeedSpeedData.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2016, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 35.121429 | 143 | 0.761643 | [
"object",
"vector",
"model"
] |
9553b9efde98f8675a98469f9d345e7c3fd95775 | 25,830 | cpp | C++ | source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/wave_generation/Fpl_Waveparam_Calculation.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/wave_generation/Fpl_Waveparam_Calculation.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | source_code/system_fpl/source_code/calculation/section_fpl/mechanisms/wave_generation/Fpl_Waveparam_Calculation.cpp | dabachma/ProMaIDes_src | 3fa6263c46f89abbdb407f2e1643843d54eb6ccc | [
"BSD-3-Clause"
] | null | null | null | //#include "Fpl_Waveparam_Calculation.h"
#include "Fpl_Headers_Precompiled.h"
//Default constructor
Fpl_Waveparam_Calculation::Fpl_Waveparam_Calculation(void){
this->number_local_direction=0;
this->local_fetches=NULL;
this->wave_height.set_unit(label::m);
this->wave_lenght.set_unit(label::m);
this->wave_period.s... | 39.738462 | 247 | 0.781146 | [
"geometry"
] |
95620f34037090e7fe633004aca50bfb4c0d4383 | 3,261 | cpp | C++ | TaskQueue/Demo/Demo.cpp | Xenonic/TaskQueue | 9b6177cc205e0a6522356a20ec42ec14a17e854a | [
"MIT"
] | 6 | 2019-07-07T03:54:36.000Z | 2021-12-23T08:11:01.000Z | TaskQueue/Demo/Demo.cpp | Xenonic/TaskQueue | 9b6177cc205e0a6522356a20ec42ec14a17e854a | [
"MIT"
] | 1 | 2018-11-10T23:41:58.000Z | 2018-11-10T23:41:58.000Z | TaskQueue/Demo/Demo.cpp | XenonicDev/TaskQueue | 9b6177cc205e0a6522356a20ec42ec14a17e854a | [
"MIT"
] | 2 | 2019-09-23T13:56:50.000Z | 2021-07-21T04:15:03.000Z | /*
Copyright (c) 2018 Andrew Depke
*/
#include "../Include/TaskQueue.h"
#include <iostream>
#include <chrono>
std::mutex PrintLock;
#define PrintSynced(x) do \
{ \
std::lock_guard<std::mutex> Lock(PrintLock); \
std::cout << x; \
} while (0);
// Example of a basic throwaway function.
void Work()
{
PrintSynced("[... | 26.512195 | 169 | 0.678626 | [
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.