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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bfb6ac0cdf63d9b9d1645bb2bf58341e39bddb71 | 13,455 | cpp | C++ | Source Code/NEXTA-GUI/LinePlot/LinePlotTestDlg.cpp | OSADP/DTALite-AMS | 0779e0b3f1a423823b825b88237226a3216db960 | [
"Apache-2.0"
] | 1 | 2020-12-02T05:50:34.000Z | 2020-12-02T05:50:34.000Z | Source Code/NEXTA-GUI/LinePlot/LinePlotTestDlg.cpp | OSADP/DTALite-AMS | 0779e0b3f1a423823b825b88237226a3216db960 | [
"Apache-2.0"
] | null | null | null | Source Code/NEXTA-GUI/LinePlot/LinePlotTestDlg.cpp | OSADP/DTALite-AMS | 0779e0b3f1a423823b825b88237226a3216db960 | [
"Apache-2.0"
] | 2 | 2020-10-16T09:26:08.000Z | 2021-11-17T06:59:51.000Z | // LinePlotTestDlg.cpp : implementation file
/
//A 2D Lite Graph Control with Multiple Plot Support
//Posted by Paul Grenz on November 23rd, 2004
//http://www.codeguru.com/cpp/cpp/cpp_mfc/general/article.php/c8535/A-2D-Lite-Graph-Control-with-Multiple-Plot-Support.htm
#include "stdafx.h"
#include "../TLite.h"
#includ... | 27.914938 | 122 | 0.620959 | [
"model"
] |
bfb848322d959ec43fbb453e2a3d00ea5621131a | 9,173 | hpp | C++ | MTL/GA/GASolver.hpp | Riyaaaaa/Metaheuristics-Template-Library | bc3879d6c98c880102419df22fcb131a66735fa9 | [
"MIT"
] | 8 | 2016-04-13T08:30:59.000Z | 2020-11-11T17:05:40.000Z | MTL/GA/GASolver.hpp | Riyaaaaa/Metaheuristic-Template-Library | bc3879d6c98c880102419df22fcb131a66735fa9 | [
"MIT"
] | 2 | 2016-07-29T01:20:13.000Z | 2016-08-02T02:36:08.000Z | MTL/GA/GASolver.hpp | Riyaaaaa/Metaheuristic-Template-Library | bc3879d6c98c880102419df22fcb131a66735fa9 | [
"MIT"
] | 2 | 2018-10-20T12:43:49.000Z | 2020-11-11T17:05:41.000Z | //
// GASolver.h
// Procon26
//
// Created by Riya.Liel on 2015/05/20.
// Copyright (c) 2015年 Riya.Liel. All rights reserved.
//
#ifndef __GA_GA_Solver__
#define __GA_GA_Solver__
#include "GABase.hpp"
#include <random>
#include <algorithm>
#include "GAAlgorithm.hpp"
/* Prototype Definition */
/* Setting default ... | 34.484962 | 162 | 0.647771 | [
"vector"
] |
bfb89e236aa26569cf3dbbb18f7fb69ef8a32f80 | 938 | cc | C++ | src/FractalStruct/clean_vector.cc | jmikeowen/Spheral | 3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 22 | 2018-07-31T21:38:22.000Z | 2020-06-29T08:58:33.000Z | src/FractalStruct/clean_vector.cc | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/FractalStruct/clean_vector.cc | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 7 | 2019-12-01T07:00:06.000Z | 2020-09-15T21:12:39.000Z | #include "libs.hh"
#include "classes.hh"
#include "headers.hh"
namespace FractalSpace
{
template <typename T> void clean_vector(vector<T>& vec)
{
vector<T> Brian_of_Nazareth;
vec.swap(Brian_of_Nazareth);
}
}
namespace FractalSpace
{
template void clean_vector(vector <bool>& vec);
template void clean_v... | 26.055556 | 57 | 0.724947 | [
"vector"
] |
bfc8d4edcbd870dc5635d5d3b64fb4b6e7452b00 | 3,423 | cpp | C++ | Database.cpp | robbinsd/SimpleWebServer | 33c4e9dac49bdaf2dd2decd2ae28bc6171ea0f74 | [
"MIT"
] | null | null | null | Database.cpp | robbinsd/SimpleWebServer | 33c4e9dac49bdaf2dd2decd2ae28bc6171ea0f74 | [
"MIT"
] | null | null | null | Database.cpp | robbinsd/SimpleWebServer | 33c4e9dac49bdaf2dd2decd2ae28bc6171ea0f74 | [
"MIT"
] | null | null | null | #include "Database.h"
#include <sstream>
#include <iostream>
#include <vector>
#include <thread>
#include "include/sqlite/sqlite3.h"
#include "Choice.h"
#include "MakeFunction.h"
Failable<Database> Database::Create()
{
sqlite3* dbPtr = NULL;
sqlite3_open("test.db", &dbPtr);
if (dbPtr == NULL)
{
... | 25.169118 | 104 | 0.515922 | [
"vector",
"transform"
] |
bfce3e225f6d1c08d11dc3c3cf0111d43a49620b | 17,018 | cpp | C++ | src/Main.cpp | AlperBayraktar/Chess | fbd79aec048ca398be5b7ef0b20e27a5f5c75d98 | [
"MIT"
] | null | null | null | src/Main.cpp | AlperBayraktar/Chess | fbd79aec048ca398be5b7ef0b20e27a5f5c75d98 | [
"MIT"
] | null | null | null | src/Main.cpp | AlperBayraktar/Chess | fbd79aec048ca398be5b7ef0b20e27a5f5c75d98 | [
"MIT"
] | null | null | null | #include <SDL.h>
#include <SDL_ttf.h>
#include <SDL_image.h>
#include "Log.h"
#include "ChessPiece.h"
#include "Square.h"
#include "BoardUtilities.h"
#include <SDL_GUI.h>
#include "ChessColors.h"
#include <vector>
#include <string>
// Set path prefix according build type
#ifdef CMD
#define PATH_PREFIX std::string("..... | 46.370572 | 142 | 0.43977 | [
"render",
"vector"
] |
bfd2ae0bf3db222c84534caf2837b8be86778c14 | 1,160 | hpp | C++ | include/midiutils/MidiFile.hpp | BLumia/MidiUtils | 0a7df183b55db39b2ef206bf79b0cf24aaebda9d | [
"BSD-2-Clause"
] | null | null | null | include/midiutils/MidiFile.hpp | BLumia/MidiUtils | 0a7df183b55db39b2ef206bf79b0cf24aaebda9d | [
"BSD-2-Clause"
] | null | null | null | include/midiutils/MidiFile.hpp | BLumia/MidiUtils | 0a7df183b55db39b2ef206bf79b0cf24aaebda9d | [
"BSD-2-Clause"
] | null | null | null | #ifndef __MIDIFILE_HPP
#define __MIDIFILE_HPP
#include <istream>
#include <fstream>
#include <functional>
#include "MidiUtils.hpp"
#include "MidiTrack.hpp"
#include "MidiHeader.hpp"
using namespace std;
namespace MidiUtils {
/*! \brief class of Standard Midi File
*
* This class can parse and hold a MIDI file ... | 25.217391 | 77 | 0.656034 | [
"vector"
] |
bfd34c957bb709b09f7e7d59cf6f7d60be3f969a | 1,911 | cc | C++ | src/q_501_550/q0503.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | src/q_501_550/q0503.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-12-15T10:51:15.000Z | 2022-01-26T17:03:16.000Z | src/q_501_550/q0503.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include <stack>
#include <vector>
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 503.
* Next Greater Element II
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Given a circular integer array ‘nums’ (... | 25.144737 | 74 | 0.542648 | [
"vector"
] |
bfd554691e46194f671dae36791c8e7e270565d4 | 1,481 | hpp | C++ | util.hpp | openbmc/google-ipmi-sys | f647e99165065feabb35aa744059cf6a2af46f1e | [
"Apache-2.0"
] | 2 | 2020-01-16T02:04:13.000Z | 2021-01-13T21:47:30.000Z | util.hpp | openbmc/google-ipmi-sys | f647e99165065feabb35aa744059cf6a2af46f1e | [
"Apache-2.0"
] | null | null | null | util.hpp | openbmc/google-ipmi-sys | f647e99165065feabb35aa744059cf6a2af46f1e | [
"Apache-2.0"
] | 3 | 2019-12-10T21:56:33.000Z | 2021-03-02T23:56:06.000Z | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 27.425926 | 75 | 0.718433 | [
"object",
"vector"
] |
bfdab6fb0c312c6cc97da7914c42bd6788646d80 | 250 | hpp | C++ | src/student/transform/w.hpp | e-Sharp/master_image_synthesis | 7fa5a5abe057ec9e22c5c72e8a0165b4b4b4c248 | [
"MIT"
] | null | null | null | src/student/transform/w.hpp | e-Sharp/master_image_synthesis | 7fa5a5abe057ec9e22c5c72e8a0165b4b4b4c248 | [
"MIT"
] | null | null | null | src/student/transform/w.hpp | e-Sharp/master_image_synthesis | 7fa5a5abe057ec9e22c5c72e8a0165b4b4b4c248 | [
"MIT"
] | null | null | null | #pragma once
#include "src/gKit/mat.h"
namespace stu {
Point w(const Transform& t) {
return Point(t.m[0][3], t.m[1][3], t.m[2][3]);
}
void w(Transform& t, const Vector& v) {
t.m[0][3] = v.x;
t.m[1][3] = v.y;
t.m[2][3] = v.z;
}
}
| 13.888889 | 50 | 0.516 | [
"vector",
"transform"
] |
bfdd2d018ffc047c94bfbdfa41e8f4138af27210 | 8,832 | cc | C++ | Dragon/src/operators/norm/l2_norm_op.cc | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 212 | 2015-07-05T07:57:17.000Z | 2022-02-27T01:55:35.000Z | Dragon/src/operators/norm/l2_norm_op.cc | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 6 | 2016-07-07T14:31:56.000Z | 2017-12-12T02:21:15.000Z | Dragon/src/operators/norm/l2_norm_op.cc | neopenx/Dragon | 0e639a7319035ddc81918bd3df059230436ee0a1 | [
"BSD-2-Clause"
] | 71 | 2016-03-24T09:02:41.000Z | 2021-06-03T01:52:41.000Z | #include "operators/norm/l2_norm_op.h"
#include "core/workspace.h"
#include "utils/math_functions.h"
namespace dragon {
template <class Context> template <typename T>
void L2NormOp<Context>::RunWithType() {
INIT_MULTIPLIER(multiplier, dim);
// normalize by outer dim independently
buffer = ws()->GetBuffe... | 43.294118 | 107 | 0.502151 | [
"vector"
] |
bfdf89d5d318801c3bae9603bc1f84ed4bfd7a56 | 2,646 | cpp | C++ | IGC/VectorCompiler/lib/GenXCodeGen/GenXVisa.cpp | kurapov-peter/intel-graphics-compiler | 98f7c938df0617912288385d243d6918135f0713 | [
"Intel",
"MIT"
] | 440 | 2018-01-30T00:43:22.000Z | 2022-03-24T17:28:37.000Z | IGC/VectorCompiler/lib/GenXCodeGen/GenXVisa.cpp | kurapov-peter/intel-graphics-compiler | 98f7c938df0617912288385d243d6918135f0713 | [
"Intel",
"MIT"
] | 225 | 2018-02-02T03:10:47.000Z | 2022-03-31T10:50:37.000Z | IGC/VectorCompiler/lib/GenXCodeGen/GenXVisa.cpp | kurapov-peter/intel-graphics-compiler | 98f7c938df0617912288385d243d6918135f0713 | [
"Intel",
"MIT"
] | 138 | 2018-01-30T08:15:11.000Z | 2022-03-22T14:16:39.000Z | /*========================== begin_copyright_notice ============================
Copyright (C) 2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
#include "GenXVisa.h"
#include "GenX.h"
#include <llvm/Support/MathExtras.h>
#include... | 40.090909 | 80 | 0.633787 | [
"vector"
] |
bfe6ade5cb15458cf5f7eef1921bcf6f76b86c7d | 9,222 | cpp | C++ | libs/gfxtk_vulkan/src/gfxtk/backend/vulkan/CommandEncoder.cpp | NostalgicGhoul/gfxtk | 6662d6d1b285e20806ecfef3cdcb620d6605e478 | [
"BSD-2-Clause"
] | null | null | null | libs/gfxtk_vulkan/src/gfxtk/backend/vulkan/CommandEncoder.cpp | NostalgicGhoul/gfxtk | 6662d6d1b285e20806ecfef3cdcb620d6605e478 | [
"BSD-2-Clause"
] | null | null | null | libs/gfxtk_vulkan/src/gfxtk/backend/vulkan/CommandEncoder.cpp | NostalgicGhoul/gfxtk | 6662d6d1b285e20806ecfef3cdcb620d6605e478 | [
"BSD-2-Clause"
] | null | null | null | #include "CommandEncoder.hpp"
#include <vector>
#include <gfxtk/log.hpp>
#include "TextureAspect.hpp"
#include "AccessFlags.hpp"
std::unique_ptr<gfxtk::backend::CommandEncoder> gfxtk::backend::CommandEncoder::create(
std::unique_ptr<backend::CommandBuffer> const& backendCommandBuffer
) {
return std::make_u... | 42.893023 | 117 | 0.711559 | [
"vector"
] |
bfebfba922bcd13835f9894d7964334e15db7ac8 | 11,842 | cpp | C++ | Orangine/OeCore/src/Scene_graph_manager.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | Orangine/OeCore/src/Scene_graph_manager.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | Orangine/OeCore/src/Scene_graph_manager.cpp | leweaver/orangine | 0d6efa5bfce48a1d9d54a339ea70aa11ec81e4ef | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Scene_graph_manager.h"
#include <imgui.h>
#include <OeCore/EngineUtils.h>
#include <algorithm>
#include <deque>
using namespace oe;
using namespace internal;
std::string Scene_graph_manager::_name = "Scene_graph_manager";
template<>
void oe::create_manager(
Manager_instance<ISc... | 28.603865 | 118 | 0.697771 | [
"mesh",
"object",
"vector",
"transform"
] |
bff0b56a9df737b5775de860418daf908b6fffa4 | 39,368 | cpp | C++ | Samples/Win7Samples/multimedia/mediafoundation/mft_grayscale/Grayscale.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/multimedia/mediafoundation/mft_grayscale/Grayscale.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/multimedia/mediafoundation/mft_grayscale/Grayscale.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | //////////////////////////////////////////////////////////////////////////
//
// winmain.cpp : Defines the entry point for the application.
//
// 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 M... | 25.798165 | 113 | 0.513437 | [
"object",
"transform"
] |
bff26b564517f8ff0d3fde4a77e65b2ffb81293c | 5,088 | cpp | C++ | task7/Grid.cpp | hasherezade/mastercoder2014 | cc9e201fa8e5c7b2b8b085a777b10b70e4827705 | [
"BSD-3-Clause"
] | 9 | 2015-09-27T10:35:02.000Z | 2021-12-26T13:21:35.000Z | task7/Grid.cpp | hasherezade/mastercoder2014 | cc9e201fa8e5c7b2b8b085a777b10b70e4827705 | [
"BSD-3-Clause"
] | null | null | null | task7/Grid.cpp | hasherezade/mastercoder2014 | cc9e201fa8e5c7b2b8b085a777b10b70e4827705 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T07:02:36.000Z | 2022-02-24T06:28:16.000Z | #include "Grid.h"
#include <string>
#include <istream>
#include <stdio.h> /* printf */
#include <cstring>
#include <fstream>
#include <sstream>
#include <cstdlib>
Grid::Grid(const char* fileName, int startX, int startY)
: sX(startX), sY(startY), width(0), height(0)
{
minNode = NULL;
minPathLen... | 20.270916 | 76 | 0.554442 | [
"vector",
"3d"
] |
bff9fc12b983f825a113604b6af0f5aad1bc3b1c | 4,941 | cpp | C++ | cr/src/v20180321/model/DescribeCreditResultRequest.cpp | datalliance88/tencentcloud-sdk-cpp | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | [
"Apache-2.0"
] | null | null | null | cr/src/v20180321/model/DescribeCreditResultRequest.cpp | datalliance88/tencentcloud-sdk-cpp | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | [
"Apache-2.0"
] | null | null | null | cr/src/v20180321/model/DescribeCreditResultRequest.cpp | datalliance88/tencentcloud-sdk-cpp | fbb8ea8e385620ac41b0a9ceb5abf1405b8aac8c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 24.954545 | 85 | 0.721514 | [
"model"
] |
870635b8f54768de3a44730b087a4134f4d51142 | 652 | hpp | C++ | clic/includes/core/cleDeviceManager.hpp | tbirdso/CLIc_prototype | 82ab4c565b95048152c7e762d45dcd13768700b7 | [
"BSD-3-Clause"
] | 12 | 2020-07-29T15:26:50.000Z | 2022-01-26T15:40:41.000Z | clic/includes/core/cleDeviceManager.hpp | tbirdso/CLIc_prototype | 82ab4c565b95048152c7e762d45dcd13768700b7 | [
"BSD-3-Clause"
] | 49 | 2020-09-09T12:51:31.000Z | 2022-03-31T13:40:08.000Z | clic/includes/core/cleDeviceManager.hpp | tbirdso/CLIc_prototype | 82ab4c565b95048152c7e762d45dcd13768700b7 | [
"BSD-3-Clause"
] | 8 | 2020-10-05T12:05:10.000Z | 2022-02-08T13:52:29.000Z | #ifndef __cleDeviceManager_hpp
#define __cleDeviceManager_hpp
#include "clic.hpp"
#include <vector>
namespace cle
{
class DeviceManager
{
private:
std::vector<cl::Device> m_DeviceList;
size_t m_DeviceId = 0;
public:
DeviceManager() = default;
DeviceManager(cl::Platform);
DeviceManager(std::... | 17.621622 | 45 | 0.684049 | [
"vector"
] |
8717053672bd1a6f3c09834860270ed21d827c18 | 12,390 | cpp | C++ | src/VRMenu.cpp | brown-ccv/VR-imgui | de31471b51d07562f5e627aa63e6d94ae9d25149 | [
"MIT"
] | 1 | 2021-04-15T19:53:09.000Z | 2021-04-15T19:53:09.000Z | src/VRMenu.cpp | brown-ccv/VR-imgui | de31471b51d07562f5e627aa63e6d94ae9d25149 | [
"MIT"
] | 1 | 2021-02-10T22:13:51.000Z | 2021-02-10T22:13:51.000Z | src/VRMenu.cpp | brown-ccv/VR-imgui | de31471b51d07562f5e627aa63e6d94ae9d25149 | [
"MIT"
] | null | null | null | // ----------------------------------
// Copyright © 2015, Brown University, Providence, RI.
//
// All Rights Reserved
//
// Use of the software is provided under the terms of the GNU General Public License version 3
// as published by the Free Software Foundation at http://www.gnu.org/licenses/gpl-3.0.html... | 28.680556 | 304 | 0.732849 | [
"render"
] |
871985c9c0a9b43995965b3850711828cf49395f | 464 | cpp | C++ | python/extensions/pybind_isce3/core/LookSide.cpp | isce3-testing/isce3-circleci-poc | ec1dfb6019bcdc7afb7beee7be0fa0ce3f3b87b3 | [
"Apache-2.0"
] | 64 | 2019-08-06T19:22:22.000Z | 2022-03-20T17:11:46.000Z | python/extensions/pybind_isce3/core/LookSide.cpp | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 8 | 2020-09-01T22:46:53.000Z | 2021-11-04T00:05:28.000Z | python/extensions/pybind_isce3/core/LookSide.cpp | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 29 | 2019-08-05T21:40:55.000Z | 2022-03-23T00:17:03.000Z | #include "LookSide.h"
using isce3::core::LookSide;
void addbinding(pybind11::enum_<isce3::core::LookSide> & pyLookSide)
{
pyLookSide
.value("Left", LookSide::Left)
.value("Right", LookSide::Right);
}
LookSide duck_look_side(pybind11::object pySide)
{
if (pybind11::isinstance<pybind11::str>(py... | 23.2 | 68 | 0.650862 | [
"object"
] |
26bc150bcbabd12fb21050177d06ef3490287b00 | 79,333 | cpp | C++ | CormanLispServer/src/Lisp.cpp | foss-santanu/cormanlisp | 6ff68633ed730dbd1500f06639dd093513b4278e | [
"OpenSSL",
"MIT"
] | 608 | 2015-01-05T04:12:42.000Z | 2022-02-24T16:41:37.000Z | CormanLispServer/src/Lisp.cpp | foss-santanu/cormanlisp | 6ff68633ed730dbd1500f06639dd093513b4278e | [
"OpenSSL",
"MIT"
] | 67 | 2015-01-08T04:47:00.000Z | 2021-08-05T19:56:22.000Z | CormanLispServer/src/Lisp.cpp | foss-santanu/cormanlisp | 6ff68633ed730dbd1500f06639dd093513b4278e | [
"OpenSSL",
"MIT"
] | 94 | 2015-01-05T15:11:12.000Z | 2022-02-25T17:03:22.000Z | // -------------------------------
// Copyright (c) Corman Technologies Inc.
// See LICENSE.txt for license information.
// -------------------------------
//
// File: lisp.cpp
// Contents: Code to start Corman Lisp
// History: 6/5/96 RGC Created.
// 1/12/00 RGC Added EXECUTE_FINALIZERS, FINALIZAT... | 29.339127 | 112 | 0.699116 | [
"object",
"vector"
] |
26c58abbfc3409e5ce405eb72595d59b9b091f8e | 15,086 | cpp | C++ | src/glviewer/src/ObjModel.cpp | spoonless/glviewer | 42346b7465648c3f8e7aeffeff08129d2e333c1e | [
"MIT"
] | 1 | 2020-10-30T16:47:49.000Z | 2020-10-30T16:47:49.000Z | src/glviewer/src/ObjModel.cpp | spoonless/glviewer | 42346b7465648c3f8e7aeffeff08129d2e333c1e | [
"MIT"
] | null | null | null | src/glviewer/src/ObjModel.cpp | spoonless/glviewer | 42346b7465648c3f8e7aeffeff08129d2e333c1e | [
"MIT"
] | null | null | null | #include <memory>
#include <algorithm>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <map>
#include "glm/geometric.hpp"
#include "LineReader.hpp"
#include "ObjModel.hpp"
namespace
{
class VertexIndexIndexer
{
public:
VertexIndexIndexer(vfm::Object *o) : _object{o}
{
... | 28.735238 | 123 | 0.528304 | [
"object",
"model"
] |
26c7bca6a90dad086bcb60ad9fcc3b225430f1b6 | 7,248 | cpp | C++ | src/odometry/src/odometry.cpp | Sergimech/GraphSLAM | f215ef0940011ffd9609e0a751d985e9249b5ddd | [
"BSD-2-Clause"
] | 3 | 2018-02-15T20:18:36.000Z | 2020-08-03T08:45:55.000Z | src/odometry/src/odometry.cpp | Sergimech/GraphSLAM | f215ef0940011ffd9609e0a751d985e9249b5ddd | [
"BSD-2-Clause"
] | null | null | null | src/odometry/src/odometry.cpp | Sergimech/GraphSLAM | f215ef0940011ffd9609e0a751d985e9249b5ddd | [
"BSD-2-Clause"
] | 3 | 2018-01-03T15:14:38.000Z | 2020-08-03T08:45:56.000Z | #include <math.h>
#include <vector>
#include <deque>
#include <Eigen/Core>
#include <ros/ros.h>
#include <common/Odometry.h>
#include <common/Pose2DWithCovariance.h>
#include <common/OdometryBuffer.h>
#include <geometry_msgs/Twist.h>
// JS: David, I guess this file is the result of a copypaste from HW1.
// There a... | 34.350711 | 142 | 0.660182 | [
"vector",
"transform"
] |
26c88e31170cdbe68897e49170fb1ef36d989019 | 8,031 | cpp | C++ | logdevice/server/locallogstore/ShardToPathMapping.cpp | dmitris/LogDevice | 18336bb95262c51d9b1e8f2f9ae9ad0874b023cd | [
"BSD-3-Clause"
] | null | null | null | logdevice/server/locallogstore/ShardToPathMapping.cpp | dmitris/LogDevice | 18336bb95262c51d9b1e8f2f9ae9ad0874b023cd | [
"BSD-3-Clause"
] | null | null | null | logdevice/server/locallogstore/ShardToPathMapping.cpp | dmitris/LogDevice | 18336bb95262c51d9b1e8f2f9ae9ad0874b023cd | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "logdevice/server/locallogstore/ShardToPathMapping.h"
#include <algorithm>
#i... | 30.652672 | 80 | 0.627568 | [
"vector"
] |
26ce4f557dfa5214a64516f8875913f87e1a007c | 506 | hpp | C++ | src/SQL_Compiler/tuple.hpp | Algue-Rythme/MiniSQL | d49f463bb1b5c75645e56a95c65e19337f45b8e2 | [
"Apache-2.0"
] | null | null | null | src/SQL_Compiler/tuple.hpp | Algue-Rythme/MiniSQL | d49f463bb1b5c75645e56a95c65e19337f45b8e2 | [
"Apache-2.0"
] | null | null | null | src/SQL_Compiler/tuple.hpp | Algue-Rythme/MiniSQL | d49f463bb1b5c75645e56a95c65e19337f45b8e2 | [
"Apache-2.0"
] | null | null | null | #ifndef TUPLE_HPP
#define TUPLE_HPP
#include <algorithm>
#include <functional>
#include <iostream>
#include <string>
#include <vector>
#include <boost/functional/hash.hpp>
namespace SQL_Compiler {
typedef std::vector<std::string> Tuple;
class TupleHasher {
public:
inline std::size_t operator()(T... | 19.461538 | 68 | 0.666008 | [
"vector"
] |
26cf9c84e8710986d705f54d3be94751ca0918ee | 8,765 | hpp | C++ | include/mango/simd/composite_double512.hpp | heiligeslama/mango | 6528e151fa70c1b02871f1e7972e6c162c945350 | [
"Zlib"
] | null | null | null | include/mango/simd/composite_double512.hpp | heiligeslama/mango | 6528e151fa70c1b02871f1e7972e6c162c945350 | [
"Zlib"
] | null | null | null | include/mango/simd/composite_double512.hpp | heiligeslama/mango | 6528e151fa70c1b02871f1e7972e6c162c945350 | [
"Zlib"
] | 1 | 2021-04-25T15:16:59.000Z | 2021-04-25T15:16:59.000Z | /*
MANGO Multimedia Development Platform
Copyright (C) 2012-2017 Twilight Finland 3D Oy Ltd. All rights reserved.
*/
#pragma once
#include "simd.hpp"
namespace mango {
namespace simd {
// -----------------------------------------------------------------
// float64x8
// ---------------------------... | 24.48324 | 130 | 0.560867 | [
"3d"
] |
26d953a4c87258499779683d976240b5510bf6d8 | 3,795 | cpp | C++ | Source/boost_1_33_1/libs/range/test/reversible_range.cpp | spxuw/RFIM | 32b78fbb90c7008b1106b0cff4f8023ae83c9b6d | [
"MIT"
] | null | null | null | Source/boost_1_33_1/libs/range/test/reversible_range.cpp | spxuw/RFIM | 32b78fbb90c7008b1106b0cff4f8023ae83c9b6d | [
"MIT"
] | null | null | null | Source/boost_1_33_1/libs/range/test/reversible_range.cpp | spxuw/RFIM | 32b78fbb90c7008b1106b0cff4f8023ae83c9b6d | [
"MIT"
] | null | null | null | // Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2004. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org/libs/rang... | 36.84466 | 108 | 0.5639 | [
"vector"
] |
26dc1f63b99925888d4a22b0cce1c11ef9671fb2 | 34,606 | cpp | C++ | fbgemm_gpu/src/jagged_tensor_ops_cpu.cpp | jiecaoyu/FBGEMM | 2c547924deafa1839483d31096de800078c35711 | [
"BSD-3-Clause"
] | null | null | null | fbgemm_gpu/src/jagged_tensor_ops_cpu.cpp | jiecaoyu/FBGEMM | 2c547924deafa1839483d31096de800078c35711 | [
"BSD-3-Clause"
] | null | null | null | fbgemm_gpu/src/jagged_tensor_ops_cpu.cpp | jiecaoyu/FBGEMM | 2c547924deafa1839483d31096de800078c35711 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <ATen/ATen.h>
#include <ATen/AccumulateType.h>
#include <torch/csrc/autograd/custom_function.... | 34.74498 | 174 | 0.61001 | [
"vector",
"3d"
] |
26dc89ff4f55c1cfdc0c818310a601b9cde6bc08 | 444 | cpp | C++ | pySRUP/pySRUP_Syndicated_ID_REQ.cpp | AJPoulter-Soton/srup | cf11354ae3c7606d3ce163048d12eaf829bc593f | [
"MIT"
] | 7 | 2017-12-15T13:34:36.000Z | 2021-07-23T11:29:28.000Z | pySRUP/pySRUP_Syndicated_ID_REQ.cpp | AJPoulter-Soton/srup | cf11354ae3c7606d3ce163048d12eaf829bc593f | [
"MIT"
] | 2 | 2019-02-22T15:03:36.000Z | 2021-03-03T11:30:24.000Z | pySRUP/pySRUP_Syndicated_ID_REQ.cpp | AJPoulter-Soton/srup | cf11354ae3c7606d3ce163048d12eaf829bc593f | [
"MIT"
] | 8 | 2016-07-07T15:43:01.000Z | 2021-08-04T07:21:22.000Z | //
// Created by AJ Poulter on 13/11/2020.
//
#include "pySRUP_Syndicated_ID_REQ.h"
void set_target_id_id_req (SRUP_MSG_SYNDICATED_ID_REQ &self, uint64_t sender)
{
self.targetID(&sender);
}
boost::python::object get_target_id_id_req (SRUP_MSG_SYNDICATED_ID_REQ& self)
{
const uint64_t* rv;
rv = self.targe... | 21.142857 | 77 | 0.686937 | [
"object"
] |
26df1c8f6fcff12337d63788d84a77e2468e7fc9 | 599 | cpp | C++ | Algorithms/0167.Two_Sum_II-Input_array_is_sorted.cpp | metehkaya/LeetCode | 52f4a1497758c6f996d515ced151e8783ae4d4d2 | [
"MIT"
] | 2 | 2020-07-20T06:40:22.000Z | 2021-11-20T01:23:26.000Z | Problems/LeetCode/Problems/0167.Two_Sum_II-Input_array_is_sorted.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | Problems/LeetCode/Problems/0167.Two_Sum_II-Input_array_is_sorted.cpp | metehkaya/Algo-Archive | 03b5fdcf06f84a03125c57762c36a4e03ca6e756 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> twoSum(vector<int>& ar, int t) {
int n = ar.size();
vector<int> ans(2);
for( int i = 0 ; i < n-1 ; i++ ) {
int l = i+1 , r = n-1;
while(l <= r) {
int m = (l+r) >> 1;
if(ar[i]+ar[m] < t)
... | 26.043478 | 48 | 0.282137 | [
"vector"
] |
26e063b3fabfde40f53f6d35d03f40ae44620799 | 59,269 | cpp | C++ | tests/SysmelCompiler/Frontend/ParserTests.cpp | ronsaldo/sysmel-beta | 14237d780527c6ca1bb34f74195838f78f0c6acc | [
"MIT"
] | 2 | 2021-10-30T15:31:43.000Z | 2021-11-08T09:45:15.000Z | tests/SysmelCompiler/Frontend/ParserTests.cpp | ronsaldo/sysmel-beta | 14237d780527c6ca1bb34f74195838f78f0c6acc | [
"MIT"
] | null | null | null | tests/SysmelCompiler/Frontend/ParserTests.cpp | ronsaldo/sysmel-beta | 14237d780527c6ca1bb34f74195838f78f0c6acc | [
"MIT"
] | null | null | null | #include "Frontend/SysmelSyntax/Parser.hpp"
#include "UnitTest++/UnitTest++.h"
using namespace Sysmel::Frontend;
using namespace Sysmel::Frontend::SysmelSyntax;
static ASTNodePtr parseSingleExpression(const std::string &text)
{
auto node = parseString(text);
CHECK(node->isExpressionListNode());
CHECK_EQUA... | 45.661787 | 152 | 0.658051 | [
"vector"
] |
26e3d66b259fb374262fde1cdd013c083f17e077 | 31,950 | cpp | C++ | tests/PhiCore/unittests/src/type_traits/is_null_pointer.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 3 | 2020-12-21T13:47:35.000Z | 2022-03-16T23:53:21.000Z | tests/PhiCore/unittests/src/type_traits/is_null_pointer.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 53 | 2020-08-07T07:46:57.000Z | 2022-02-12T11:07:08.000Z | tests/PhiCore/unittests/src/type_traits/is_null_pointer.test.cpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 1 | 2020-08-19T15:50:02.000Z | 2020-08-19T15:50:02.000Z | #include <phi/test/test_macros.hpp>
#include "test_types.hpp"
#include <phi/compiler_support/char8_t.hpp>
#include <phi/core/nullptr_t.hpp>
#include <phi/core/scope_ptr.hpp>
#include <phi/type_traits/is_empty.hpp>
#include <phi/type_traits/is_null_pointer.hpp>
#include <cstddef> // std::nullptr_t
#include <type_traits... | 48.190045 | 94 | 0.707324 | [
"vector"
] |
26e46a4a20865086da3e29a74d24339b0a9d226f | 4,383 | cxx | C++ | panda/src/char/characterSlider.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/char/characterSlider.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/char/characterSlider.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: characterSlider.cxx
// Created by: drose (03Mar99)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You s... | 33.976744 | 85 | 0.511065 | [
"object",
"3d"
] |
26e76e34187c228517666cc0525076960db87228 | 5,615 | cpp | C++ | human_activity_anticipation/pygraphcut-0.1/src/qpboobj.cpp | birlrobotics/birlBaxter_demos | a4871cbf2587a759c958c8451746554e1663e829 | [
"MIT"
] | 24 | 2016-12-29T11:17:41.000Z | 2021-12-06T00:49:10.000Z | human_activity_anticipation/pygraphcut-0.1/src/qpboobj.cpp | birlrobotics/birlBaxter_demos | a4871cbf2587a759c958c8451746554e1663e829 | [
"MIT"
] | 2 | 2019-11-20T05:52:02.000Z | 2019-12-30T09:07:56.000Z | human_activity_anticipation/pygraphcut-0.1/src/qpboobj.cpp | birlrobotics/birlBaxter_demos | a4871cbf2587a759c958c8451746554e1663e829 | [
"MIT"
] | 9 | 2018-02-10T06:12:12.000Z | 2021-10-11T11:56:07.000Z | /* Copyright 2007 Thomas Finley, tfinley@gmail.com */
#include "qpboobj.h"
#include "structmember.h"
#include "util.h"
#define EXTC
// Methods for the graph object.
EXTC static PyObject *QPBO_new(PyTypeObject *type, PyObject *args,
PyObject *kwds) {
QPBOObject *self = NULL;
//printf("New function calle... | 26.866029 | 91 | 0.639537 | [
"object"
] |
26ebb518f4b3abd251fa7b23b496e3e07428d047 | 7,510 | cpp | C++ | src/mongo/s/catalog/sharding_catalog_manager_database_operations.cpp | marcelodsx/mongo | 324839c0c0c2b294a44d130105797ccdbb3b17a9 | [
"Apache-2.0"
] | null | null | null | src/mongo/s/catalog/sharding_catalog_manager_database_operations.cpp | marcelodsx/mongo | 324839c0c0c2b294a44d130105797ccdbb3b17a9 | [
"Apache-2.0"
] | null | null | null | src/mongo/s/catalog/sharding_catalog_manager_database_operations.cpp | marcelodsx/mongo | 324839c0c0c2b294a44d130105797ccdbb3b17a9 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2017 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... | 37.738693 | 99 | 0.644208 | [
"vector"
] |
26efd08e6b9b452bd5bb8220b671b4cc0e6d13e8 | 16,304 | cpp | C++ | src/Scene.cpp | valter100/eduRend | d6bdfdc3331da71ca6fe20395897fbf54d354ade | [
"MIT"
] | null | null | null | src/Scene.cpp | valter100/eduRend | d6bdfdc3331da71ca6fe20395897fbf54d354ade | [
"MIT"
] | null | null | null | src/Scene.cpp | valter100/eduRend | d6bdfdc3331da71ca6fe20395897fbf54d354ade | [
"MIT"
] | null | null | null |
#include "Scene.h"
Scene::Scene(
ID3D11Device* dxdevice,
ID3D11DeviceContext* dxdevice_context,
int window_width,
int window_height) :
dxdevice(dxdevice),
dxdevice_context(dxdevice_context),
window_width(window_width),
window_height(window_height)
{ }
void Scene::WindowResize(
int window_width,
int window_... | 27.083056 | 130 | 0.726447 | [
"render",
"vector",
"model"
] |
26fc830574d8f1993bb9b1bd15e279c14f0cfb21 | 158,556 | cpp | C++ | windows/advcore/ctf/cuilib/cuiobj.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | windows/advcore/ctf/cuilib/cuiobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | windows/advcore/ctf/cuilib/cuiobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //
// cuiobj.cpp
// = ui object library =
//
#include "private.h"
#include "delay.h"
#include "cuiobj.h"
#include "cuiwnd.h"
#include "cuitip.h"
#include "cmydc.h"
#include "cuiutil.h"
#include "cuitheme.h"
#define SCROLLTHUMBHEIGHT_MIN 6
/* G E T S C R O L L D E L A Y */
/*------------... | 26.746964 | 171 | 0.387295 | [
"object"
] |
26fe1cdca8946aac587d20bb5ba4743c3c2b4b09 | 5,762 | cpp | C++ | src/Discretes/Logit.cpp | dsiuta/Comps | 2071279280d33946e975de25deedc60f1881eda0 | [
"BSD-3-Clause"
] | null | null | null | src/Discretes/Logit.cpp | dsiuta/Comps | 2071279280d33946e975de25deedc60f1881eda0 | [
"BSD-3-Clause"
] | null | null | null | src/Discretes/Logit.cpp | dsiuta/Comps | 2071279280d33946e975de25deedc60f1881eda0 | [
"BSD-3-Clause"
] | null | null | null | #include "Logit.h"
#include "../Obs.h"
#include "../Scheme.h"
#include "../Parameters.h"
#include "../Variables/Variable.h"
#include "../Measures/Measure.h"
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/vector_proxy.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ubl... | 31.145946 | 143 | 0.666609 | [
"vector",
"model"
] |
26ff5ce9cab4678203d46cb71cd921d9e44b38f2 | 2,706 | cpp | C++ | aws-cpp-sdk-qldb/source/model/StreamStatus.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-qldb/source/model/StreamStatus.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-qldb/source/model/StreamStatus.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/qldb/model/StreamStatus.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
na... | 29.413043 | 92 | 0.592757 | [
"model"
] |
f801c90dfd3aa4a38ac93bae7e5d01a58cfde50d | 1,825 | cpp | C++ | Userland/Libraries/LibJS/Runtime/Uint8ClampedArray.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | 1 | 2021-06-11T13:40:55.000Z | 2021-06-11T13:40:55.000Z | Userland/Libraries/LibJS/Runtime/Uint8ClampedArray.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibJS/Runtime/Uint8ClampedArray.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Function.h>
#include <LibJS/Runtime/Error.h>
#include <LibJS/Runtime/GlobalObject.h>
#include <LibJS/Runtime/Uint8ClampedArray.h>
namespace JS {
Uint8ClampedArray* Uint8ClampedArray::create(Glo... | 27.651515 | 117 | 0.711781 | [
"object"
] |
f802df92622ce023adb22943806f9b238231c955 | 4,604 | hpp | C++ | fprime-sphinx-drivers/SPWDriver/SPWDriverComponentImpl.hpp | Joshua-Anderson/fprime-sphinx-drivers | 28334b667c31a796c69e0f7005e4a9c0545e65fe | [
"Apache-2.0"
] | 1 | 2021-02-22T12:34:25.000Z | 2021-02-22T12:34:25.000Z | fprime-sphinx-drivers/SPWDriver/SPWDriverComponentImpl.hpp | Joshua-Anderson/fprime-sphinx-drivers | 28334b667c31a796c69e0f7005e4a9c0545e65fe | [
"Apache-2.0"
] | 2 | 2021-08-11T17:14:54.000Z | 2021-09-09T22:31:19.000Z | fprime-sphinx-drivers/SPWDriver/SPWDriverComponentImpl.hpp | Joshua-Anderson/fprime-sphinx-drivers | 28334b667c31a796c69e0f7005e4a9c0545e65fe | [
"Apache-2.0"
] | 1 | 2021-05-19T02:04:10.000Z | 2021-05-19T02:04:10.000Z | // ======================================================================
// \title SPWDriverComponentImpl.hpp
// \author vwong
// \brief hpp file for SPWDriver component implementation class
//
// \copyright
// Copyright 2009-2015, by the California Institute of Technology.
// ALL RIGHTS RESERVED. United States Go... | 27.568862 | 91 | 0.593397 | [
"object"
] |
f8068e19409ad906cacf7c3bd4df6ef3a28dc705 | 5,385 | cpp | C++ | tests/mng/test_bmlayer.cpp | joka921/foxxll | e8cc1e88661d4737a0422f29ecebc07e6dccd23e | [
"BSL-1.0"
] | 9 | 2018-10-16T09:04:50.000Z | 2020-12-15T09:05:21.000Z | tests/mng/test_bmlayer.cpp | joka921/foxxll | e8cc1e88661d4737a0422f29ecebc07e6dccd23e | [
"BSL-1.0"
] | 6 | 2018-01-09T20:36:33.000Z | 2018-01-19T22:44:59.000Z | tests/mng/test_bmlayer.cpp | joka921/foxxll | e8cc1e88661d4737a0422f29ecebc07e6dccd23e | [
"BSL-1.0"
] | 8 | 2018-05-25T09:47:18.000Z | 2021-05-02T14:41:14.000Z | /***************************************************************************
* tests/mng/test_bmlayer.cpp
*
* Part of FOXXLL. See http://foxxll.org
*
* Copyright (C) 2007 Roman Dementiev <dementiev@ira.uka.de>
* Copyright (C) 2009 Andreas Beckmann <beckmann@cs.uni-frankfurt.de>
* Copyright (C) 2013 Timo Bin... | 30.423729 | 103 | 0.607428 | [
"vector"
] |
f80b60515eb1ee4759673d6bd01466ec09767375 | 1,677 | cpp | C++ | CodeForces/Solutions/990F.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Solutions/990F.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Solutions/990F.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
vector <ll> graph[200009];
ll cst[200009], par[200009], sub[200009], pani[200009], tme[200009], TM = 1;
bool is[200009];
struct node {
ll u;
ll v;
} edge[200009];
ll findpar(ll u)
{
if(par[u] == u) return u;
retu... | 16.77 | 76 | 0.400716 | [
"vector"
] |
f80dcc5714da620d1df6de7bb7a2e47c53734c11 | 40,858 | cxx | C++ | src/ptlib/msos/sound_win32.cxx | suxinde2009/ptlib | 3d185e55144b98aa46903d48468745ffd07b2a9d | [
"Beerware"
] | 2 | 2020-04-16T02:04:35.000Z | 2021-07-20T03:39:44.000Z | src/ptlib/msos/sound_win32.cxx | suxinde2009/ptlib | 3d185e55144b98aa46903d48468745ffd07b2a9d | [
"Beerware"
] | null | null | null | src/ptlib/msos/sound_win32.cxx | suxinde2009/ptlib | 3d185e55144b98aa46903d48468745ffd07b2a9d | [
"Beerware"
] | 3 | 2019-10-15T19:43:07.000Z | 2022-01-06T16:53:25.000Z | /*
* sound.cxx
*
* Implementation of sound classes for Win32
*
* Portable Windows Library
*
* Copyright (c) 1993-1998 Equivalence Pty. Ltd.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License.... | 25.58422 | 144 | 0.653556 | [
"object",
"vector"
] |
f813859451a3728c6076f6f3c0431bc885bba2b4 | 3,932 | cc | C++ | vpc/src/model/AddSourcesToTrafficMirrorSessionRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | vpc/src/model/AddSourcesToTrafficMirrorSessionRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | vpc/src/model/AddSourcesToTrafficMirrorSessionRequest.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... | 30.015267 | 128 | 0.793489 | [
"vector",
"model"
] |
f8148aaf464eabf1c62721ecae1ec7e1207d5bd3 | 6,790 | cc | C++ | log/src/MsgIter.cc | pedro-salgueiro/ign-transport | 57558607ceb98dd4d90f6bb546a1fb70f85f78af | [
"ECL-2.0",
"Apache-2.0"
] | 21 | 2020-04-15T16:58:42.000Z | 2022-03-07T00:27:15.000Z | log/src/MsgIter.cc | pedro-salgueiro/ign-transport | 57558607ceb98dd4d90f6bb546a1fb70f85f78af | [
"ECL-2.0",
"Apache-2.0"
] | 164 | 2020-04-29T23:29:49.000Z | 2022-03-25T22:30:10.000Z | log/src/MsgIter.cc | pedro-salgueiro/ign-transport | 57558607ceb98dd4d90f6bb546a1fb70f85f78af | [
"ECL-2.0",
"Apache-2.0"
] | 23 | 2020-05-15T18:34:59.000Z | 2022-02-01T16:46:52.000Z | /*
* Copyright (C) 2017 Open Source Robotics 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 appl... | 27.379032 | 79 | 0.574963 | [
"vector"
] |
f81521bbc1354de4eb2e554bdcb2d18c5e50b725 | 876 | cpp | C++ | CodeForces/Complete/900-999/981C-UsefulDecomposition.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/900-999/981C-UsefulDecomposition.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/900-999/981C-UsefulDecomposition.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <cstdio>
#include <vector>
int main(){
long n; scanf("%ld", &n);
std::vector<std::vector<long> > g(n + 1);
for(long p = 1; p < n; p++){
long x, y; scanf("%ld %ld", &x, &y);
g[x].push_back(y); g[y].push_back(x);
}
bool possible(true);
long center(-1);
std::vector<l... | 25.028571 | 89 | 0.454338 | [
"vector"
] |
f819b5c42dd527e4c375e8b96b2a183e5aab7dd5 | 4,832 | hpp | C++ | timer/Animation/SkeletalAnimationPlayer.hpp | MaticVrtacnik/ProceduralnaAnimacija | bc47ccc721d1bedb31ed5949eb740892f094897a | [
"MIT"
] | null | null | null | timer/Animation/SkeletalAnimationPlayer.hpp | MaticVrtacnik/ProceduralnaAnimacija | bc47ccc721d1bedb31ed5949eb740892f094897a | [
"MIT"
] | null | null | null | timer/Animation/SkeletalAnimationPlayer.hpp | MaticVrtacnik/ProceduralnaAnimacija | bc47ccc721d1bedb31ed5949eb740892f094897a | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2019 MaticVrtacnik
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, ... | 26.696133 | 95 | 0.755381 | [
"vector"
] |
f81f3296c10160f2721a8c5ae2c7f0f62b9e3b20 | 5,214 | cpp | C++ | Samples/Win7Samples/security/authorization/azman/azmigrate/AzTask.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/security/authorization/azman/azmigrate/AzTask.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/security/authorization/azman/azmigrate/AzTask.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.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.
//
//... | 23.381166 | 128 | 0.62524 | [
"object"
] |
f82395bb91837f4d44c3c7494e048d027fae3e77 | 5,443 | cc | C++ | code/todpython/todpythonscriptserver_object.cc | vateran/todengine | f039da5673a3c10f5825d0f5cb9bd83b4d434530 | [
"MIT"
] | 1 | 2018-05-29T07:58:16.000Z | 2018-05-29T07:58:16.000Z | code/todpython/todpythonscriptserver_object.cc | vateran/todengine | f039da5673a3c10f5825d0f5cb9bd83b4d434530 | [
"MIT"
] | null | null | null | code/todpython/todpythonscriptserver_object.cc | vateran/todengine | f039da5673a3c10f5825d0f5cb9bd83b4d434530 | [
"MIT"
] | null | null | null | #include "todpython/todpythonscriptserver.h"
using namespace tod;
//-----------------------------------------------------------------------------
PyObject* TodPythonScriptServer::TodObject_new(PyTypeObject* type, PyObject* args, PyObject* keys)
{
TodObject* o = reinterpret_cast<TodObject*>(type->tp_alloc(type, 0)... | 47.745614 | 98 | 0.361382 | [
"object"
] |
f828c6fb25b2b97d9b9148126a42b8e3b9b6d4f6 | 1,079 | cpp | C++ | Util/NetworkAdapter.cpp | northbright/WinUtil | 7c7b1e9bbe2fb6177bb066d74764d10711748ec5 | [
"MIT"
] | 3 | 2018-01-10T05:04:04.000Z | 2021-12-25T10:10:39.000Z | Util/NetworkAdapter.cpp | jjzhang166/WinUtil4 | 7c7b1e9bbe2fb6177bb066d74764d10711748ec5 | [
"MIT"
] | null | null | null | Util/NetworkAdapter.cpp | jjzhang166/WinUtil4 | 7c7b1e9bbe2fb6177bb066d74764d10711748ec5 | [
"MIT"
] | 1 | 2018-05-29T02:08:55.000Z | 2018-05-29T02:08:55.000Z | #include <windows.h>
#include <tchar.h>
#include <objbase.h>
#include <stdio.h>
#include <wbemidl.h>
#include <comdef.h>
#include <Propvarutil.h> // Variant functions
#include "Debug.h"
#include "Wmi.h"
#include "NetworkAdapter.h"
// Enable memory leak check for malloc and new
// Add... | 24.522727 | 53 | 0.541242 | [
"vector"
] |
f82acf6cb29f97d082a075a2d4047f0b5128fb2a | 23,345 | cc | C++ | Engine/foundation/io/ioserver.cc | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | 26 | 2015-01-15T12:57:40.000Z | 2022-02-16T10:07:12.000Z | Engine/foundation/io/ioserver.cc | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | null | null | null | Engine/foundation/io/ioserver.cc | BikkyS/DreamEngine | 47da4e22c65188c72f44591f6a96505d8ba5f5f3 | [
"MIT"
] | 17 | 2015-02-18T07:51:31.000Z | 2020-06-01T01:10:12.000Z | /****************************************************************************
Copyright (c) 2006, Radon Labs GmbH
Copyright (c) 2011-2013,WebJet Business Division,CYOU
http://www.genesis-3d.com.cn
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentati... | 26.710526 | 128 | 0.582437 | [
"object",
"3d"
] |
f8325d0b8480863f68e716a29d6cc4d80dfb6058 | 4,104 | cc | C++ | src/carnot/funcs/builtins/string_ops_test.cc | orishuss/pixie | a5e7bd73b2d5899da3cdb9a271a9b6f23d136ae7 | [
"Apache-2.0"
] | null | null | null | src/carnot/funcs/builtins/string_ops_test.cc | orishuss/pixie | a5e7bd73b2d5899da3cdb9a271a9b6f23d136ae7 | [
"Apache-2.0"
] | null | null | null | src/carnot/funcs/builtins/string_ops_test.cc | orishuss/pixie | a5e7bd73b2d5899da3cdb9a271a9b6f23d136ae7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018- The Pixie Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 33.096774 | 97 | 0.716618 | [
"vector"
] |
f83471aefa897d99dee249c439a21909cf50f57b | 1,674 | cc | C++ | chrome/browser/ash/secure_channel/fake_nearby_connection_broker.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/ash/secure_channel/fake_nearby_connection_broker.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/ash/secure_channel/fake_nearby_connection_broker.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/secure_channel/fake_nearby_connection_broker.h"
namespace ash {
namespace secure_channel {
// TODO(https://crbug.com/116400... | 42.923077 | 78 | 0.713859 | [
"vector"
] |
f837fb6d0b86e4125eb73ce0c2488be54c329e46 | 5,488 | cpp | C++ | partners_api/partners_api_tests/ads_engine_tests.cpp | KAMiKAZOW/omim | 560c1edf10c46bd2e6bc4d466bf6c65b92538b4a | [
"Apache-2.0"
] | 4,879 | 2015-09-30T10:56:36.000Z | 2022-03-31T18:43:03.000Z | partners_api/partners_api_tests/ads_engine_tests.cpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 7,549 | 2015-09-30T10:52:53.000Z | 2022-03-31T22:04:22.000Z | partners_api/partners_api_tests/ads_engine_tests.cpp | mbrukman/omim | d22fe2b6e0beee697f096e931df97a64f9db9dc1 | [
"Apache-2.0"
] | 1,493 | 2015-09-30T10:43:06.000Z | 2022-03-21T09:16:49.000Z | #include "testing/testing.hpp"
#include "indexer/classificator.hpp"
#include "indexer/classificator_loader.hpp"
#include "indexer/feature_data.hpp"
#include "partners_api/ads/ads_engine.hpp"
#include "partners_api/ads/facebook_ads.hpp"
#include "partners_api/ads/google_ads.hpp"
#include "partners_api/ads/mopub_ads.hp... | 36.586667 | 111 | 0.689687 | [
"vector"
] |
f845cb8fb4fcbad4cd3b62e82bef007950eb0c73 | 8,730 | cc | C++ | src/mem/cache/prefetch/sandbox.cc | varung2/gem5 | 7dd094eececa79ca0bf24124aeccd399707fad22 | [
"BSD-3-Clause"
] | null | null | null | src/mem/cache/prefetch/sandbox.cc | varung2/gem5 | 7dd094eececa79ca0bf24124aeccd399707fad22 | [
"BSD-3-Clause"
] | null | null | null | src/mem/cache/prefetch/sandbox.cc | varung2/gem5 | 7dd094eececa79ca0bf24124aeccd399707fad22 | [
"BSD-3-Clause"
] | null | null | null |
#include "mem/cache/prefetch/sandbox.hh"
#include "params/SandboxPrefetcher.hh"
#include <assert.h>
#include <sstream>
#include <algorithm>
#include <iomanip>
#include <cassert>
#include <iostream>
namespace gem5 {
GEM5_DEPRECATED_NAMESPACE(Prefetcher, prefetch);
namespace prefetch {
Sandbox::Sandbox(const Sandb... | 29.89726 | 152 | 0.693356 | [
"vector"
] |
f848afeb20b9f6d2a5a57b208cd1b68e9f96fdd6 | 22,363 | cpp | C++ | src/DX12/Raytracer.cpp | GPUOpen-Effects/Hybrid-Shadows | 0cf18422a73eda8b4a23870091372a7717387f3e | [
"MIT"
] | 42 | 2021-05-04T18:50:53.000Z | 2022-03-09T12:15:50.000Z | src/DX12/Raytracer.cpp | GPUOpen-Effects/Hybrid-Shadows | 0cf18422a73eda8b4a23870091372a7717387f3e | [
"MIT"
] | 2 | 2021-04-30T07:22:19.000Z | 2021-10-14T23:20:35.000Z | src/DX12/Raytracer.cpp | GPUOpen-Effects/Hybrid-Shadows | 0cf18422a73eda8b4a23870091372a7717387f3e | [
"MIT"
] | 4 | 2021-05-17T03:33:29.000Z | 2022-02-25T10:24:29.000Z | // AMD SampleDX12 sample code
//
// Copyright(c) 2020 Advanced Micro Devices, Inc.All rights reserved.
// 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 withou... | 28.451654 | 178 | 0.688727 | [
"mesh",
"geometry",
"vector",
"transform"
] |
f84de5867ea9ab0d95ae0a6a56e7c30541d0fc76 | 902 | cpp | C++ | src/jw/leetcode/1540/main.cpp | wanyaworld/algo-study | d540e9a72bb251a6bf2b04bc3aa7edbf17bee974 | [
"MIT"
] | 1 | 2020-10-31T15:28:43.000Z | 2020-10-31T15:28:43.000Z | src/jw/leetcode/1540/main.cpp | wanyaworld/algo-study | d540e9a72bb251a6bf2b04bc3aa7edbf17bee974 | [
"MIT"
] | null | null | null | src/jw/leetcode/1540/main.cpp | wanyaworld/algo-study | d540e9a72bb251a6bf2b04bc3aa7edbf17bee974 | [
"MIT"
] | null | null | null | class Solution {
public:
int n_alph = 'z' - 'a' + 1;
vector<int> getDiffs(string s, string t, int k) {
vector<int> ret{};
for (int i = 0 ; i < s.size() ; i++) {
int diff = t[i] - s[i];
if (diff < 0)
diff = n_alph + diff;
ret.push_back(diff);
... | 25.055556 | 65 | 0.41796 | [
"vector"
] |
f8520667aaaad20996050b18b6d7335bac23693e | 3,272 | cpp | C++ | code/s2v_tsp2d/tsp2d_lib/src/lib/nstep_replay_mem.cpp | tahsinkose/graph_comb_opt | 055a6e988ef153dfded635ac504aa894f107066b | [
"MIT"
] | 379 | 2017-05-27T15:24:38.000Z | 2022-03-31T13:11:00.000Z | code/s2v_tsp2d/tsp2d_lib/src/lib/nstep_replay_mem.cpp | tahsinkose/graph_comb_opt | 055a6e988ef153dfded635ac504aa894f107066b | [
"MIT"
] | 29 | 2017-06-25T07:21:19.000Z | 2022-03-01T16:00:51.000Z | code/s2v_tsp2d/tsp2d_lib/src/lib/nstep_replay_mem.cpp | tahsinkose/graph_comb_opt | 055a6e988ef153dfded635ac504aa894f107066b | [
"MIT"
] | 123 | 2017-06-14T04:22:51.000Z | 2022-02-22T10:59:26.000Z | #include "nstep_replay_mem.h"
#include "i_env.h"
#include "config.h"
#include <cassert>
#define max(x, y) (x > y ? x : y)
std::vector< std::shared_ptr<Graph> > NStepReplayMem::graphs;
std::vector<int> NStepReplayMem::actions;
std::vector<double> NStepReplayMem::rewards;
std::vector< std::vector<int> > NStepReplayMem:... | 30.018349 | 85 | 0.617359 | [
"vector"
] |
f85e7a013ce53b944bb5e31f96e7d2fec934a965 | 1,185 | cpp | C++ | src/processor.cpp | oli2812/CppND_SystemMonitor | 41a6038b94783817525e86e3b96142c575a7174e | [
"MIT"
] | null | null | null | src/processor.cpp | oli2812/CppND_SystemMonitor | 41a6038b94783817525e86e3b96142c575a7174e | [
"MIT"
] | null | null | null | src/processor.cpp | oli2812/CppND_SystemMonitor | 41a6038b94783817525e86e3b96142c575a7174e | [
"MIT"
] | null | null | null | #include "processor.h"
#include "linux_parser.h"
#include <string>
#include <vector>
/* DONE: Return the aggregate CPU utilization
cpu_values[0] = user
cpu_values[1] = nice
cpu_values[2] = system
cpu_values[3] = idle
cpu_values[4] = iowait
cpu_values[5] = irq
cpu_values[6] = softirq
cpu_values[7] = steal
cpu_values[8]... | 31.184211 | 153 | 0.724895 | [
"vector"
] |
f862c3ddd0467ccfce0dfdbbb7e46a7ca0b5fcc9 | 8,567 | cpp | C++ | C++/main.cpp | FengYen-Chang/ImageCaptioning | 7f8ae83c4b93f3c743ec7fe99622134c5e4c35cc | [
"MIT"
] | null | null | null | C++/main.cpp | FengYen-Chang/ImageCaptioning | 7f8ae83c4b93f3c743ec7fe99622134c5e4c35cc | [
"MIT"
] | null | null | null | C++/main.cpp | FengYen-Chang/ImageCaptioning | 7f8ae83c4b93f3c743ec7fe99622134c5e4c35cc | [
"MIT"
] | null | null | null | /*******************************************************/
/* */
/* Create and implement by Feng */
/* */
/* Date: */
/* 2019/05/27 ... | 34.131474 | 108 | 0.559472 | [
"vector"
] |
d379ea6b9ff9d2a165924ac0368d965c64b43ad0 | 322 | hpp | C++ | src/history.hpp | claby2/claditor | 3dfbef9001a7b46712c2dfc960ce06e727f17ae9 | [
"MIT"
] | null | null | null | src/history.hpp | claby2/claditor | 3dfbef9001a7b46712c2dfc960ce06e727f17ae9 | [
"MIT"
] | null | null | null | src/history.hpp | claby2/claditor | 3dfbef9001a7b46712c2dfc960ce06e727f17ae9 | [
"MIT"
] | null | null | null | #ifndef CLADITOR_HISTORY_HPP
#define CLADITOR_HISTORY_HPP
#include <string>
#include <vector>
class History {
public:
History();
bool has_unsaved_changes(const std::vector<std::string>&) const;
void set_content(const std::vector<std::string>&);
private:
std::vector<std::string> lines_;
};
#endi... | 18.941176 | 68 | 0.708075 | [
"vector"
] |
d37d84d17d778892a44b2d8a502d7ec9a5e63f2a | 1,305 | hpp | C++ | include/glcxx/Array.hpp | holtrop/glcxx | c55c2ae3b58d621d3127af7ed5980f7055cba486 | [
"MIT"
] | 4 | 2017-01-24T17:56:02.000Z | 2020-01-30T09:28:32.000Z | include/glcxx/Array.hpp | holtrop/glcxx | c55c2ae3b58d621d3127af7ed5980f7055cba486 | [
"MIT"
] | 1 | 2016-07-10T20:13:44.000Z | 2016-07-10T20:13:44.000Z | include/glcxx/Array.hpp | holtrop/glcxx | c55c2ae3b58d621d3127af7ed5980f7055cba486 | [
"MIT"
] | null | null | null | /**
* @file
*
* C++ wrapper for an OpenGL vertex array object.
*/
#ifndef GLCXX_ARRAY_HPP
#define GLCXX_ARRAY_HPP
#include "glcxx/gl.hpp"
#include <memory>
namespace glcxx
{
/**
* C++ wrapper for an OpenGL vertex array object.
*/
class Array
{
public:
/**
* C... | 20.076923 | 65 | 0.416858 | [
"object"
] |
d3994b91e383f7a581600db281e27c63bf8e0c0e | 728 | cpp | C++ | CppMemento/examples/breadth-first-search.cpp | andrasigneczi/cpp_lang_taining | 1198df6a896d0f6fce281e069abba88ef40598fc | [
"Apache-2.0"
] | null | null | null | CppMemento/examples/breadth-first-search.cpp | andrasigneczi/cpp_lang_taining | 1198df6a896d0f6fce281e069abba88ef40598fc | [
"Apache-2.0"
] | null | null | null | CppMemento/examples/breadth-first-search.cpp | andrasigneczi/cpp_lang_taining | 1198df6a896d0f6fce281e069abba88ef40598fc | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <vector>
#include <memory>
#include <deque>
#include "graph.cpp"
// Graph search Cracing coding interview 6th Edition, page 119
void breadthFirst(const StrNode* root) {
std::deque<const StrNode*> cache;
cache.push_back(root);
root->setProcessed();
while(!cache.empty()) {
... | 22.060606 | 62 | 0.625 | [
"vector"
] |
d39d211ba1824bfcb5dd1b63357c1fb9db226218 | 41,536 | cc | C++ | src/tir/transforms/common_subexpr_elim_tools.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 90 | 2021-11-30T11:58:10.000Z | 2022-03-31T02:24:04.000Z | src/tir/transforms/common_subexpr_elim_tools.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 64 | 2021-11-22T23:58:23.000Z | 2022-03-31T03:19:22.000Z | src/tir/transforms/common_subexpr_elim_tools.cc | XiaoSong9905/tvm | 48940f697e15d5b50fa1f032003e6c700ae1e423 | [
"Apache-2.0"
] | 27 | 2021-12-09T22:39:27.000Z | 2022-03-24T23:21:48.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 you under the Apache License, Version 2.0 (the
* "License"); you ... | 48.865882 | 99 | 0.71863 | [
"vector",
"transform"
] |
d39e2993827b18e1edabeb350d03cee659982666 | 5,916 | cpp | C++ | cpp/tests/systemintegration-tests/End2EndPerformanceTest.cpp | naeramarth7/joynr | 3c378d3447cf83678d26ef0def44a29fe1270193 | [
"Apache-2.0"
] | null | null | null | cpp/tests/systemintegration-tests/End2EndPerformanceTest.cpp | naeramarth7/joynr | 3c378d3447cf83678d26ef0def44a29fe1270193 | [
"Apache-2.0"
] | null | null | null | cpp/tests/systemintegration-tests/End2EndPerformanceTest.cpp | naeramarth7/joynr | 3c378d3447cf83678d26ef0def44a29fe1270193 | [
"Apache-2.0"
] | null | null | null | /*
* #%L
* %%
* Copyright (C) 2011 - 2017 BMW Car IT GmbH
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | 34.596491 | 100 | 0.680865 | [
"vector"
] |
d39f6fbb8ce9e80a496b0e02ae69b7fa1ed97b6b | 502 | hpp | C++ | src/Board.hpp | WojtekMs/TankBotFight | fd9ab7854e6d9371637b6cb5d1f7db255bc6980a | [
"MIT"
] | 10 | 2021-08-06T13:07:01.000Z | 2022-02-03T20:28:11.000Z | src/Board.hpp | WojtekMs/TankBotFight | fd9ab7854e6d9371637b6cb5d1f7db255bc6980a | [
"MIT"
] | 29 | 2021-08-06T12:47:25.000Z | 2022-03-01T13:35:41.000Z | src/Board.hpp | WojtekMs/TankBotFight | fd9ab7854e6d9371637b6cb5d1f7db255bc6980a | [
"MIT"
] | 10 | 2021-08-06T13:07:03.000Z | 2022-02-09T12:26:52.000Z | #pragma once
#include <SFML/Graphics.hpp>
#include "Missle.hpp"
#include "Tank.hpp"
#include "background/Background.hpp"
class Board {
public:
Board();
void register_tank();
void fire_missle(const int angle, const float x, const float y);
void run();
private:
void remove_missles();
void display_spee... | 16.733333 | 66 | 0.703187 | [
"vector"
] |
d3ad94aa6e41115e670360d4ce09d681c3407d1a | 4,341 | cpp | C++ | Source/WebCore/crypto/openssl/CryptoAlgorithmHMACOpenSSL.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/crypto/openssl/CryptoAlgorithmHMACOpenSSL.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/crypto/openssl/CryptoAlgorithmHMACOpenSSL.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2020 Sony Interactive Entertainment Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 37.422414 | 152 | 0.721953 | [
"vector"
] |
d3af981988095ca127a0a9b555b23a76c176873a | 7,526 | cc | C++ | src/trusted/validator_arm/validator_tests.cc | cohortfsllc/cohort-cocl2-sandbox | 0ac6669d1a459d65a52007b80d5cffa4ef330287 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/trusted/validator_arm/validator_tests.cc | cohortfsllc/cohort-cocl2-sandbox | 0ac6669d1a459d65a52007b80d5cffa4ef330287 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/trusted/validator_arm/validator_tests.cc | cohortfsllc/cohort-cocl2-sandbox | 0ac6669d1a459d65a52007b80d5cffa4ef330287 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright (c) 2012 The Native Client 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 "native_client/src/trusted/validator_arm/validator_tests.h"
namespace nacl_val_arm_test {
void ProblemSpy::ReportProblemMessage... | 36.712195 | 78 | 0.649216 | [
"vector"
] |
d3b33b67b9ca942ef5987c956a7999c73198aa06 | 16,994 | hpp | C++ | examples/permutationflowshopschedulingmakespan.hpp | fontanf/localsearchsolver | 68fa39189660a7ce0673df44943862362681f98c | [
"MIT"
] | 1 | 2021-10-30T11:42:30.000Z | 2021-10-30T11:42:30.000Z | examples/permutationflowshopschedulingmakespan.hpp | fontanf/localsearchsolver | 68fa39189660a7ce0673df44943862362681f98c | [
"MIT"
] | null | null | null | examples/permutationflowshopschedulingmakespan.hpp | fontanf/localsearchsolver | 68fa39189660a7ce0673df44943862362681f98c | [
"MIT"
] | null | null | null | #pragma once
/**
* Permutation flow shop scheduling problem, Makespan.
*
* Problem description:
* See https://github.com/fontanf/orproblems/blob/main/orproblems/permutationflowshopschedulingmakespan.hpp
*
* TODO
*/
#include "localsearchsolver/common.hpp"
#include "orproblems/permutationflowshopschedulingmakes... | 35.852321 | 133 | 0.50965 | [
"vector"
] |
d3b972255918ea9025a3c60d6e0b24e9d17e5493 | 7,427 | cpp | C++ | source/PolyhedronSelectOP.cpp | xzrunner/draft3 | 6b9e566cd962dea74a7201fcaecc0baf83a8e9da | [
"MIT"
] | null | null | null | source/PolyhedronSelectOP.cpp | xzrunner/draft3 | 6b9e566cd962dea74a7201fcaecc0baf83a8e9da | [
"MIT"
] | null | null | null | source/PolyhedronSelectOP.cpp | xzrunner/draft3 | 6b9e566cd962dea74a7201fcaecc0baf83a8e9da | [
"MIT"
] | null | null | null | #include "draft3/PolyhedronSelectOP.h"
#include "draft3/MeshPointQuery.h"
#include <ee0/WxStagePage.h>
#include <ee0/EditOpState.h>
#include <ee0/SubjectMgr.h>
#include <ee0/color_config.h>
#include <ee0/MsgHelper.h>
#include <halfedge/Utility.h>
#include <polymesh3/Polytope.h>
#include <model/Model.h>
#include <mode... | 21.716374 | 94 | 0.675778 | [
"vector",
"model"
] |
d3bd1c90d06889da899248cb08a5b0e2f5f67ba1 | 3,822 | cpp | C++ | modules/task_3/ershov_a_deicstra_algorithm/main.cpp | Stepakrap/pp_2021_autumn | 716803a14183172337d51712fb28fe8e86891a3d | [
"BSD-3-Clause"
] | 1 | 2021-12-09T17:20:25.000Z | 2021-12-09T17:20:25.000Z | modules/task_3/ershov_a_deicstra_algorithm/main.cpp | Stepakrap/pp_2021_autumn | 716803a14183172337d51712fb28fe8e86891a3d | [
"BSD-3-Clause"
] | null | null | null | modules/task_3/ershov_a_deicstra_algorithm/main.cpp | Stepakrap/pp_2021_autumn | 716803a14183172337d51712fb28fe8e86891a3d | [
"BSD-3-Clause"
] | 3 | 2022-02-23T14:20:50.000Z | 2022-03-30T09:00:02.000Z | // Copyright 2021 Ershov Aleksey
#include <gtest/gtest.h>
#include <vector>
#include "./deicstra_mpi.h"
#include <gtest-mpi-listener.hpp>
TEST(Parallel_Deicstra_MPI, Test_Deicstra) {
int rank;
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
const size_t count = 6;
std::vector<int> result;
std::vector<int> trueResult... | 28.736842 | 77 | 0.594976 | [
"vector"
] |
d3cc85586580549b79e2795268dd78a9b0390047 | 794 | cc | C++ | components/viz/service/display_embedder/gl_output_surface_chromeos.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/viz/service/display_embedder/gl_output_surface_chromeos.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | components/viz/service/display_embedder/gl_output_surface_chromeos.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/viz/service/display_embedder/gl_output_surface_chromeos.h"
namespace viz {
GLOutputSurfaceChromeOS::GLOutputSurfaceChromeOS(
sc... | 30.538462 | 79 | 0.802267 | [
"transform"
] |
d3ce80bc719bfa9b6010d6c7e17eb4f395d27b33 | 1,832 | hpp | C++ | nbody_particle_system.hpp | Chlorophytus/nbody2 | 0d8adc8b7873a83e6c339e7408021fda2b83c9a1 | [
"MIT"
] | null | null | null | nbody_particle_system.hpp | Chlorophytus/nbody2 | 0d8adc8b7873a83e6c339e7408021fda2b83c9a1 | [
"MIT"
] | null | null | null | nbody_particle_system.hpp | Chlorophytus/nbody2 | 0d8adc8b7873a83e6c339e7408021fda2b83c9a1 | [
"MIT"
] | null | null | null | #ifndef NBODY2_NBODY_PARTICLE_SYSTEM_HPP
#define NBODY2_NBODY_PARTICLE_SYSTEM_HPP
#include "nbody.hpp"
#include "nbody_particle.hpp"
#include "nbody_randomiser.hpp"
#if 0
namespace nbody {
/** A particle system contains particles and handles making them
* - _rand = a randomiser that is dynamic
* - _particles = bu... | 34.566038 | 78 | 0.71452 | [
"vector"
] |
d3d65657afaebeb23600ef2da6b7518216428759 | 356 | cpp | C++ | Board.cpp | hezzi123/WarGame | a3565c2f9befee2e685eface5c6b558b1e1da16f | [
"MIT"
] | null | null | null | Board.cpp | hezzi123/WarGame | a3565c2f9befee2e685eface5c6b558b1e1da16f | [
"MIT"
] | null | null | null | Board.cpp | hezzi123/WarGame | a3565c2f9befee2e685eface5c6b558b1e1da16f | [
"MIT"
] | null | null | null | //creating Ariel Yechezkel and Almog Amiga
#include "Board.hpp"
#include "Soldier.hpp"
#include <string>
#include <vector>
#include <stdexcept>
namespace WarGame {
void Board::move(uint player_number, std::pair<int,int> source, MoveDIR direction){}
bool Board::has_soldiers(uint player_number) const{
... | 23.733333 | 89 | 0.685393 | [
"vector"
] |
d3dce6c679ab3418595aacd76f4497663a86f806 | 1,889 | cpp | C++ | Server/src/PSiCAlgorithm/PSiCAlgorithm.cpp | arokasprz100/Proxy_server | 5393613dd2b744814d1151d2aee93767d67646bd | [
"MIT"
] | 3 | 2020-05-18T02:05:34.000Z | 2020-05-18T04:42:46.000Z | Server/src/PSiCAlgorithm/PSiCAlgorithm.cpp | arokasprz100/Proxy_server | 5393613dd2b744814d1151d2aee93767d67646bd | [
"MIT"
] | null | null | null | Server/src/PSiCAlgorithm/PSiCAlgorithm.cpp | arokasprz100/Proxy_server | 5393613dd2b744814d1151d2aee93767d67646bd | [
"MIT"
] | 1 | 2019-06-08T17:07:58.000Z | 2019-06-08T17:07:58.000Z | #include "../../include/PSiCAlgorithm/PSiCAlgorithm.hpp"
#include "../../include/LogSystem/LogSystem.hpp"
void PSiCAlgorithm::lookForSequences(std::vector<char>& input, const std::string& desiredSequenceString)
{
std::string found = "";
int firstIndex = 0;
for(unsigned int i = 0; i < input.size(); i++)
{
... | 23.6125 | 105 | 0.619905 | [
"vector"
] |
d3dec842b9f00e17c9282628f0af9579903e71d5 | 18,211 | cc | C++ | SoftCoupling/FEM2Fluka/writeTarget.cc | drbokko/fluka-snippets | e05871371522cf1c0c32230891a06d3fd0a61be9 | [
"Unlicense"
] | null | null | null | SoftCoupling/FEM2Fluka/writeTarget.cc | drbokko/fluka-snippets | e05871371522cf1c0c32230891a06d3fd0a61be9 | [
"Unlicense"
] | null | null | null | SoftCoupling/FEM2Fluka/writeTarget.cc | drbokko/fluka-snippets | e05871371522cf1c0c32230891a06d3fd0a61be9 | [
"Unlicense"
] | null | null | null | #include <time.h>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <time.h>
#include <vector>
#include <TFile.h>
#include <TROOT.h>
#include <TH1.h>
#include <TH2.h>
#include <TH3.h>
#include <TMath.h>
using namespace std;
#define MAX_MAT... | 31.290378 | 197 | 0.553896 | [
"mesh",
"vector"
] |
d3e9d6d699493a6c9311712e7326df18a772c948 | 2,711 | cpp | C++ | 3rdparty/GPSTk/examples/navfilterex.cpp | mfkiwl/ICE | e660d031bb1bcea664db1de4946fd8781be5b627 | [
"MIT"
] | 50 | 2019-10-12T01:22:20.000Z | 2022-02-15T23:28:26.000Z | 3rdparty/GPSTk/examples/navfilterex.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | null | null | null | 3rdparty/GPSTk/examples/navfilterex.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | 14 | 2019-11-05T01:50:29.000Z | 2021-08-06T06:23:44.000Z | #include <iostream>
#include <vector>
#include "NavFilterMgr.hpp"
#include "LNavFilterData.hpp"
#include "LNavParityFilter.hpp"
#include "LNavCookFilter.hpp"
#include "CommonTime.hpp"
#include "TimeString.hpp"
#include "StringUtils.hpp"
using namespace std;
using namespace gpstk;
int main()
{
NavFilterMgr mgr;
... | 33.8875 | 79 | 0.599041 | [
"vector"
] |
d3ea8d58db4b5d86de179f54932c438d9c9f23a2 | 490 | hpp | C++ | include/editor/TransformInspector.hpp | Guarneri1743/SoftRasterizer | d7a7344e43d91ce575724cc1d121551e6008dc01 | [
"MIT"
] | 4 | 2020-12-14T10:58:35.000Z | 2020-12-14T16:38:18.000Z | include/editor/TransformInspector.hpp | J-Mat/CPU-Rasterizer | d7a7344e43d91ce575724cc1d121551e6008dc01 | [
"MIT"
] | null | null | null | include/editor/TransformInspector.hpp | J-Mat/CPU-Rasterizer | d7a7344e43d91ce575724cc1d121551e6008dc01 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include "BaseInspector.hpp"
#include "Transform.hpp"
namespace CpuRasterizer
{
class TransformInspector : public BaseInspector
{
public:
TransformInspector() {
std::fill(std::begin(position), std::end(position), 0.0f);
std::fill(std::begin(angles), std::end(angles), 0.0f);
... | 20.416667 | 61 | 0.683673 | [
"transform"
] |
108e0bfdaa34a3cb8ba74bb4b76a289d693a21f7 | 9,031 | cpp | C++ | src/plotter.cpp | simonsobs/lyrebird | 027ca633876860c492270983c3880a7d4b87f14b | [
"BSD-2-Clause"
] | null | null | null | src/plotter.cpp | simonsobs/lyrebird | 027ca633876860c492270983c3880a7d4b87f14b | [
"BSD-2-Clause"
] | 1 | 2021-02-04T03:16:43.000Z | 2021-02-04T16:43:09.000Z | src/plotter.cpp | simonsobs/lyrebird | 027ca633876860c492270983c3880a7d4b87f14b | [
"BSD-2-Clause"
] | 1 | 2019-03-19T01:27:11.000Z | 2019-03-19T01:27:11.000Z | #include "plotter.h"
#include <assert.h>
#include <math.h>
#define GLM_FORCE_RADIANS
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include <iostream>
#include "numberlineart.h"
#include <math.h>
#include "shader.h"
using namespace std;
Plotter::Plotter(int max_num_points){
max_num_points_ = m... | 29.226537 | 91 | 0.637139 | [
"vector"
] |
10924dc5ebf2b65298a59e52a7597f23009bb0a8 | 1,778 | cpp | C++ | example/example.cpp | homul/transportationSolver | c235006f3c674bf865031123be858b89ccebee82 | [
"MIT"
] | 5 | 2015-08-28T07:41:32.000Z | 2019-11-21T14:35:47.000Z | example/example.cpp | homul/transportationSolver | c235006f3c674bf865031123be858b89ccebee82 | [
"MIT"
] | null | null | null | example/example.cpp | homul/transportationSolver | c235006f3c674bf865031123be858b89ccebee82 | [
"MIT"
] | null | null | null | #include <iostream>
#include "primalSolver.h"
#include "testcommon.h"
using namespace std;
using namespace DD;
int main()
{
size_t a_size=3,b_size=4;
// The solver can be initialized during construction like here:
Matrix bin(a_size, b_size, 0.0);
PrimalSolver<false, Matrix, SparseArray> solver(a_size,b_size... | 32.327273 | 115 | 0.648481 | [
"object"
] |
10949b564bd94c69a2d87672a6dd0518603a5704 | 7,043 | hxx | C++ | main/chart2/source/model/template/ChartType.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/chart2/source/model/template/ChartType.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/chart2/source/model/template/ChartType.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... | 39.127778 | 145 | 0.662786 | [
"vector"
] |
109c5525b6953ece7436db207e218b609432dfc8 | 8,469 | hpp | C++ | routing_algorithms/many_to_many.hpp | cypox/devacus-backend | ba3d2ca8d72843560c4ff754780482dfe8a67c6b | [
"BSD-2-Clause"
] | null | null | null | routing_algorithms/many_to_many.hpp | cypox/devacus-backend | ba3d2ca8d72843560c4ff754780482dfe8a67c6b | [
"BSD-2-Clause"
] | null | null | null | routing_algorithms/many_to_many.hpp | cypox/devacus-backend | ba3d2ca8d72843560c4ff754780482dfe8a67c6b | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2014, Project OSRM, Dennis Luxen, others
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 ... | 31.958491 | 102 | 0.733853 | [
"vector"
] |
109f696300d98973fd9fae9f39b2567227c05a1a | 788 | cpp | C++ | atcoder/abc114/C.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | 1 | 2019-08-03T13:42:16.000Z | 2019-08-03T13:42:16.000Z | atcoder/abc114/C.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | null | null | null | atcoder/abc114/C.cpp | SashiRin/protrode | c03d0a6e9a5ac87d0f3d3af5d39b05a10f58527c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<ll> vll;
typedef vector<int> vi;
const ll MOD = 1e9 + 7;
const int maxn = 1e6 + 10;
int dfs(string s, int n) {
int res = 0;
if (s != "") {
if (stol(s) > n) {
return 0;
}
if (s.find('3') != s... | 17.511111 | 86 | 0.455584 | [
"vector"
] |
10a2c09741f02a6721b3a28d499eec6384c8d752 | 5,670 | cpp | C++ | Final/Dataset/B2016_Z3_Z5/student3410.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | Final/Dataset/B2016_Z3_Z5/student3410.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | Final/Dataset/B2016_Z3_Z5/student3410.cpp | Team-PyRated/PyRated | 1df171c8a5a98977b7a96ee298a288314d1b1b96 | [
"MIT"
] | null | null | null | /B2016/2017: Zadaća 3, Zadatak 4
#include <iostream>
#include <string>
#include <vector>
#include <set>
#include <list>
#include <algorithm>
#include <iterator>
int brkoraka(std::string s){
int br=0;
for(int i=0; i<s.size();i++){
while(i<s.size() && ((s[i]>='a' && s[i]<='z') || (s[i]>='A' &... | 28.208955 | 116 | 0.418166 | [
"vector"
] |
10b3570dd27e4187efb65931f294d171cc3bc481 | 507 | cpp | C++ | SPOJ/CLASSIC_QUS/LASTSHOT.cpp | raghavdubey/CP-Guide | 57458ed3ec5339defa2796ce0be2da707f66c1ec | [
"MIT"
] | 3 | 2017-10-09T08:50:54.000Z | 2017-11-01T02:28:15.000Z | SPOJ/CLASSIC_QUS/LASTSHOT.cpp | raghavdubey/CP-Guide | 57458ed3ec5339defa2796ce0be2da707f66c1ec | [
"MIT"
] | 7 | 2017-10-09T08:39:06.000Z | 2017-10-20T22:25:00.000Z | SPOJ/CLASSIC_QUS/LASTSHOT.cpp | raghavdubey/CP-Guide | 57458ed3ec5339defa2796ce0be2da707f66c1ec | [
"MIT"
] | 8 | 2017-10-09T08:51:44.000Z | 2018-10-01T11:01:07.000Z | #include <bits/stdc++.h>
using namespace std;
int counter,result;
int visited[10001];
vector<int> v[10001];
void dfs(int node)
{
int i;
counter++;
visited[node]=1;
for(i=0;i<v[node].size();i++)
{
if(!visited[v[node][i]])
{
dfs(v[node][i]);
}
}
}
int main()
{
int m,n;
cin>>n>>m;
int i,x,y,j;
for(i=0;... | 13.342105 | 36 | 0.57002 | [
"vector"
] |
10bb7a4c1072425de93f36ce364b3dea12c6e436 | 13,430 | cpp | C++ | cyberdog_ception/cyberdog_body_state/src/body_state_server.cpp | gitter-badger/cyberdog_ros2 | f995b3cbf5773a47cd2d7293b0622d91fb409cdc | [
"Apache-2.0"
] | 284 | 2021-09-15T12:31:22.000Z | 2022-03-31T01:16:13.000Z | cyberdog_ception/cyberdog_body_state/src/body_state_server.cpp | gitter-badger/cyberdog_ros2 | f995b3cbf5773a47cd2d7293b0622d91fb409cdc | [
"Apache-2.0"
] | 85 | 2021-09-18T03:44:26.000Z | 2022-03-23T12:32:55.000Z | cyberdog_ception/cyberdog_body_state/src/body_state_server.cpp | gitter-badger/cyberdog_ros2 | f995b3cbf5773a47cd2d7293b0622d91fb409cdc | [
"Apache-2.0"
] | 94 | 2021-09-15T14:40:14.000Z | 2022-03-30T06:50:11.000Z | // Copyright (c) 2021 Beijing Xiaomi Mobile Software 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
//... | 36.395664 | 100 | 0.72271 | [
"vector"
] |
10bf4e454c56d1f35186046deec401db64fa8227 | 2,045 | hpp | C++ | include/codegen/include/System/ComponentModel/DefaultEventAttribute.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/ComponentModel/DefaultEventAttribute.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/ComponentModel/DefaultEventAttribute.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:18 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Attribute
#include "System/Attribute.hpp"
#include "u... | 41.734694 | 121 | 0.716381 | [
"object"
] |
10c7973655f94f7b0f050f9b4fc76335a641b642 | 1,581 | cpp | C++ | LeetCode/Tag/Breadth-first Search/cpp/127.word-ladder.cpp | pakosel/competitive-coding-problems | 187a2f13725e06ab3301ae2be37f16fbec0c0588 | [
"MIT"
] | 17 | 2017-08-12T14:42:46.000Z | 2022-02-26T16:35:44.000Z | LeetCode/Tag/Breadth-first Search/cpp/127.word-ladder.cpp | pakosel/competitive-coding-problems | 187a2f13725e06ab3301ae2be37f16fbec0c0588 | [
"MIT"
] | 21 | 2019-09-20T07:06:27.000Z | 2021-11-02T10:30:50.000Z | LeetCode/Tag/Breadth-first Search/cpp/127.word-ladder.cpp | pakosel/competitive-coding-problems | 187a2f13725e06ab3301ae2be37f16fbec0c0588 | [
"MIT"
] | 21 | 2017-05-28T10:15:07.000Z | 2021-07-20T07:19:58.000Z | class Solution {
unordered_set<string> wordSet;
unordered_set<string> nextWords;
unordered_set<string> prevWords;
public:
int ladderLength(string beginWord, string endWord, vector<string>& wordList) {
for (string& word: wordList) wordSet.insert(word);
if (wordSet.find(endWord) == wo... | 35.133333 | 82 | 0.450348 | [
"vector"
] |
10c81489fb80a781a3317792db2f7cebcc21ed4b | 6,507 | cpp | C++ | event/zamples/libevent-bev.cpp | bbqz007/zhelper | 1402ef5226ec5320e9a97fbd6d35b3153cdf85cc | [
"MIT"
] | null | null | null | event/zamples/libevent-bev.cpp | bbqz007/zhelper | 1402ef5226ec5320e9a97fbd6d35b3153cdf85cc | [
"MIT"
] | null | null | null | event/zamples/libevent-bev.cpp | bbqz007/zhelper | 1402ef5226ec5320e9a97fbd6d35b3153cdf85cc | [
"MIT"
] | null | null | null | /**
MIT License
Copyright (c) 2020 bbqz007 <cnblogs.com/bbqzsl, github.com/bbqz007>
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 u... | 35.950276 | 124 | 0.575688 | [
"vector"
] |
10d1554045a386b401d8006b904f2caf04f79b7a | 8,438 | cpp | C++ | src/jsonwriter.cpp | matusnovak/finedata | 6c459ef2871a4b670d437b3ba8ad43f154ab704b | [
"MIT"
] | null | null | null | src/jsonwriter.cpp | matusnovak/finedata | 6c459ef2871a4b670d437b3ba8ad43f154ab704b | [
"MIT"
] | null | null | null | src/jsonwriter.cpp | matusnovak/finedata | 6c459ef2871a4b670d437b3ba8ad43f154ab704b | [
"MIT"
] | 1 | 2019-09-02T11:45:40.000Z | 2019-09-02T11:45:40.000Z | #include <fstream>
#include <json.h>
#include <ffw/data/jsonwriter.h>
struct ffw::JsonWriter::Cache {
json_object* elem = nullptr;
bool isArray = false;
};
void ffw::JsonWriter::json_object_deleter::operator() (json_object* v) const {
json_object_put(v);
}
ffw::JsonWriter::JsonWriter() {
}
ffw::JsonWrit... | 29.197232 | 98 | 0.614719 | [
"object"
] |
10decc5d8bbc5c529e007e06ad2e8ec6f3be34d4 | 19,312 | cpp | C++ | main.cpp | DulapahV/CPP-Project | ef4d0ab6381209255d6036ce47a9a58a95be1bc3 | [
"MIT"
] | null | null | null | main.cpp | DulapahV/CPP-Project | ef4d0ab6381209255d6036ce47a9a58a95be1bc3 | [
"MIT"
] | 1 | 2021-10-30T14:47:04.000Z | 2021-10-30T14:47:04.000Z | main.cpp | DulapahV/CPP-Project | ef4d0ab6381209255d6036ce47a9a58a95be1bc3 | [
"MIT"
] | 1 | 2021-12-11T13:51:45.000Z | 2021-12-11T13:51:45.000Z | #include <stdio.h>
#include <string.h>
#include <vector>
#include <stdlib.h>
#include <iostream>
#define ADMIN_USERNAME "admin"
#define ADMIN_PASSWORD "password"
using namespace std;
#define ID_LIMIT 10
#define NAME_LIMIT 30
struct Book
{
char id[10];
char name[30];
char author[30];
int pub_date[3];... | 27.667622 | 255 | 0.504143 | [
"vector"
] |
10ef15179a6d0497a09e99c3580aa41d9d8c97de | 2,587 | cpp | C++ | modules/core/Shader.cpp | skn123/OpenRT | 43c91db73e688ccd08396e1a6f68517ab702e636 | [
"BSD-3-Clause"
] | null | null | null | modules/core/Shader.cpp | skn123/OpenRT | 43c91db73e688ccd08396e1a6f68517ab702e636 | [
"BSD-3-Clause"
] | null | null | null | modules/core/Shader.cpp | skn123/OpenRT | 43c91db73e688ccd08396e1a6f68517ab702e636 | [
"BSD-3-Clause"
] | null | null | null | #include "Shader.h"
#include "Scene.h"
#include "Ray.h"
namespace rt {
Vec3f CShader::shade(const Ray& ray) const
{
Vec3f res(0, 0, 0);
Vec3f color = CShaderFlat::shade(ray);
Vec3f faceNormal = ray.hit->getNormal(ray); // face normal
Vec3f shadingNormal = ray.hit->getShadingNormal(ray); ... | 30.081395 | 113 | 0.55547 | [
"vector"
] |
10f4577249841c2c3c3d6e9eb437e70dc7a9b901 | 38,836 | cpp | C++ | src/libs/wavm_common/Emscripten.cpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:00.000Z | 2020-03-04T10:38:00.000Z | src/libs/wavm_common/Emscripten.cpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | null | null | null | src/libs/wavm_common/Emscripten.cpp | burntjam/keto | dbe32916a3bbc92fa0bbcb97d9de493d7ed63fd8 | [
"MIT"
] | 1 | 2020-03-04T10:38:01.000Z | 2020-03-04T10:38:01.000Z | #include "Inline/BasicTypes.h"
#include "Logging/Logging.h"
#include "IR/IR.h"
#include "IR/Module.h"
#include "Runtime/Runtime.h"
#include "Runtime/Intrinsics.h"
#include <time.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include <iostream>
#include <vector>
#include "keto/wavm_common/Emscripten.hpp... | 56.202605 | 1,478 | 0.662298 | [
"object",
"vector"
] |
10fa67df2761e05847ece4d5d576bb75b4809e7b | 15,100 | hpp | C++ | mm/cache_set.hpp | hlitz/cache-table | 2efb629236c5a72a3931ee3defdaa4cfcb11b7e7 | [
"BSD-3-Clause"
] | null | null | null | mm/cache_set.hpp | hlitz/cache-table | 2efb629236c5a72a3931ee3defdaa4cfcb11b7e7 | [
"BSD-3-Clause"
] | null | null | null | mm/cache_set.hpp | hlitz/cache-table | 2efb629236c5a72a3931ee3defdaa4cfcb11b7e7 | [
"BSD-3-Clause"
] | null | null | null | /*
*
* $Id$
*
* $URL$
*
* Copyright (C) 2006 Matteo Merli <matteo.merli@gmail.com>
*
*
* BSD License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* o Redistributions of source code must re... | 31.198347 | 79 | 0.622053 | [
"object"
] |
8001ce6ee72059c2300dfe81d9e2d675452555da | 14,551 | cpp | C++ | test/TestApp/AutoGenTests/AutoGenProfilesTests.cpp | PlayFab/XPlatCSdk | 101896fff5c5ce822dd188e4670a9ba8c1705619 | [
"MIT"
] | null | null | null | test/TestApp/AutoGenTests/AutoGenProfilesTests.cpp | PlayFab/XPlatCSdk | 101896fff5c5ce822dd188e4670a9ba8c1705619 | [
"MIT"
] | 1 | 2022-03-04T20:50:28.000Z | 2022-03-04T21:02:12.000Z | test/TestApp/AutoGenTests/AutoGenProfilesTests.cpp | PlayFab/XPlatCSdk | 101896fff5c5ce822dd188e4670a9ba8c1705619 | [
"MIT"
] | 3 | 2021-12-04T20:43:04.000Z | 2022-01-03T21:16:32.000Z | #include "TestAppPch.h"
#include "TestContext.h"
#include "TestApp.h"
#include "AutoGenProfilesTests.h"
#include "XAsyncHelper.h"
#include "playfab/PFAuthentication.h"
namespace PlayFabUnit
{
using namespace PlayFab::Wrappers;
AutoGenProfilesTests::ProfilesTestData AutoGenProfilesTests::testData;
void AutoGenProfil... | 34.727924 | 168 | 0.707924 | [
"model"
] |
800577f0f26b6a5be7ca2804d6121bfeceafb88f | 1,246 | cpp | C++ | intro/analogimon.cpp | eder-matheus/programming_challenges | 9d318bf5b8df18f732c07e60aa72b302ea887419 | [
"BSD-3-Clause"
] | null | null | null | intro/analogimon.cpp | eder-matheus/programming_challenges | 9d318bf5b8df18f732c07e60aa72b302ea887419 | [
"BSD-3-Clause"
] | null | null | null | intro/analogimon.cpp | eder-matheus/programming_challenges | 9d318bf5b8df18f732c07e60aa72b302ea887419 | [
"BSD-3-Clause"
] | 1 | 2021-08-24T17:18:54.000Z | 2021-08-24T17:18:54.000Z | // compute shortest path length
#include <iostream>
#include <sstream>
#include <iterator>
#include <map>
#include <cmath>
#include <vector>
int main() {
int row = 0;
int col = 0;
int p0, p1, p2, p3;
int cnt = 0;
std::pair<int, int> my_pos;
std::pair<int, int> mon_pos;
std::string line;
while (std::ge... | 23.961538 | 85 | 0.500803 | [
"vector"
] |
800bd69c0b9ac0396514ff0319352c1c5e90a809 | 887 | cpp | C++ | DinoLasers/Health.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | DinoLasers/Health.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | DinoLasers/Health.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | #include "Health.h"
Health::Health()
{
health = 100;
maxHealth = health;
}
Health::Health(float _health)
{
health = _health;
maxHealth = health;
}
float Health::GetHealth()
{
return health;
}
void Health::SetHealth(float _newHealth)
{
health = _newHealth;
}
void Health::AddHealth(float _increment)
{
healt... | 14.079365 | 82 | 0.636979 | [
"vector"
] |
800d8e3bed0416ddfe0e3df9b686bbdd14f2478a | 611 | cpp | C++ | PETCS/Intermediate/vmss7wc16c3p2.cpp | dl4us/Competitive-Programming-1 | d42fab3bd68168adbe4b5f594f19ee5dfcd1389b | [
"MIT"
] | null | null | null | PETCS/Intermediate/vmss7wc16c3p2.cpp | dl4us/Competitive-Programming-1 | d42fab3bd68168adbe4b5f594f19ee5dfcd1389b | [
"MIT"
] | null | null | null | PETCS/Intermediate/vmss7wc16c3p2.cpp | dl4us/Competitive-Programming-1 | d42fab3bd68168adbe4b5f594f19ee5dfcd1389b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int MAX = 2005;
int N, M, A, B, vis[MAX];
vector<int> adj[MAX];
void dfs(int n) {
vis[n] = 1;
for(auto &x : adj[n]) {
if(!vis[x]) {
dfs(x);
}
}
}
int main() {
cin.sync_with_stdio(0);
cin.tie(0); cout.tie(0);
cin >> N... | 19.09375 | 37 | 0.422259 | [
"vector"
] |
800e5e33efe1fc5acdf34217f7c230dd3fd2788a | 6,885 | cpp | C++ | Crowbot/Crowbot/Dialogue.cpp | pibomb/crowbot | 7acc794e3f8a2cb6529d198ada15bad6e4364ca6 | [
"Apache-2.0"
] | null | null | null | Crowbot/Crowbot/Dialogue.cpp | pibomb/crowbot | 7acc794e3f8a2cb6529d198ada15bad6e4364ca6 | [
"Apache-2.0"
] | null | null | null | Crowbot/Crowbot/Dialogue.cpp | pibomb/crowbot | 7acc794e3f8a2cb6529d198ada15bad6e4364ca6 | [
"Apache-2.0"
] | null | null | null | #include "resource.h"
Page::Page(FONTTYPE font_id_arg, int fontSize_arg, float x_offset_arg, float y_offset_arg, Rect bounding_box, std::string& input):
Drawable(bounding_box),
font_id(font_id_arg),
fontSize(fontSize_arg),
x_offset(x_offset_arg),
y_offset(y_offset_arg)
{
evaluate(bounding_box, ... | 25.690299 | 375 | 0.562237 | [
"render"
] |
8013408a4e53e86acd02e1f24e00e4b6ff1116b7 | 1,862 | cpp | C++ | 3rdParty/boost/1.71.0/libs/multi_index/test/test_observers.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | 3rdParty/boost/1.71.0/libs/multi_index/test/test_observers.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | 3rdParty/boost/1.71.0/libs/multi_index/test/test_observers.cpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /* Boost.MultiIndex test for observer memfuns.
*
* Copyright 2003-2013 Joaquin M Lopez Munoz.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*
* See http://www.boost.org/libs/multi_index for library home pag... | 32.666667 | 78 | 0.6971 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.