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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ee8ded60586fa797d88bc85505e874510f3c8424 | 445 | hpp | C++ | include/protocol/v7_6/protocol.hpp | Gronis/gloomhaven-helper-rfid | f04947c94e05e8fa3f2d17ded4dacb807bcf8677 | [
"MIT"
] | 11 | 2019-08-23T11:42:04.000Z | 2022-03-18T22:59:38.000Z | include/protocol/v7_6/protocol.hpp | Gronis/gloomhaven-helper-rfid | f04947c94e05e8fa3f2d17ded4dacb807bcf8677 | [
"MIT"
] | 4 | 2020-02-05T08:28:40.000Z | 2020-08-02T14:20:34.000Z | include/protocol/v7_6/protocol.hpp | Gronis/gloomhaven-helper-rfid | f04947c94e05e8fa3f2d17ded4dacb807bcf8677 | [
"MIT"
] | 3 | 2020-02-05T08:26:18.000Z | 2020-12-12T23:34:51.000Z | #ifndef __PROTOCOL_V7_6_PROTOCOL_H__
#define __PROTOCOL_V7_6_PROTOCOL_H__
#include "protocol/buffer.hpp"
#include "model/gameState.hpp"
namespace ghh
{
namespace protocol
{
namespace v7_6
{
void readGameState(ghh::GameState &state, ghh::protocol::Buffer &msg);
void writeGameState(const ghh::GameState &state, ghh::pr... | 21.190476 | 77 | 0.779775 | [
"model"
] |
ee8e8063ea089d8fd48805d8e1a9193abeebb456 | 2,648 | cpp | C++ | source/QtDataVisualization/QScatter3DSeriesSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 11 | 2017-01-30T14:19:11.000Z | 2020-05-30T13:39:16.000Z | source/QtDataVisualization/QScatter3DSeriesSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 1 | 2017-02-24T20:57:32.000Z | 2018-05-29T13:43:05.000Z | source/QtDataVisualization/QScatter3DSeriesSlots.cpp | orangesocks/Qt5xHb | 03aa383d9ae86cdadf7289d846018f8a3382a0e4 | [
"MIT"
] | 5 | 2017-01-30T14:19:12.000Z | 2020-03-28T08:54:56.000Z | /*
Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5
Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>
*/
/*
DO NOT EDIT THIS FILE - the content was created using a source code generator
*/
#include "QScatter3DSeriesSlots.h"
QScatter3DSeriesSlots::Q... | 26.747475 | 100 | 0.67636 | [
"object"
] |
ee93486db97f196274494ac8896a9ae2d518cbb9 | 2,618 | hpp | C++ | Nostra Utils/src/header/nostrautils/dat_alg/BinarySearch.hpp | Lehks/NostraUtils | ef1b2d492a1358775752a2a7621c714d86bf96b2 | [
"MIT"
] | 10 | 2018-01-07T01:00:11.000Z | 2021-09-16T14:08:45.000Z | NostraUtils/Nostra Utils/src/header/nostrautils/dat_alg/BinarySearch.hpp | Lehks/NostraEngine | 0d610dcd97ba482fd8f183795140c38728c3a6b3 | [
"MIT"
] | 107 | 2018-04-06T10:15:47.000Z | 2018-09-28T07:13:46.000Z | NostraUtils/Nostra Utils/src/header/nostrautils/dat_alg/BinarySearch.hpp | Lehks/NostraEngine | 0d610dcd97ba482fd8f183795140c38728c3a6b3 | [
"MIT"
] | null | null | null | #ifndef NOU_DAT_ALG_BINARY_SEARCH_HPP
#define NOU_DAT_ALG_BINARY_SEARCH_HPP
#include "nostrautils/dat_alg/Vector.hpp"
/**
\file dat_alg/BinarySearch.hpp
\author Lukas Gross
\since 1.0.0
\version 1.0.0
\brief This file provides a binary search algorithm.
*/
namespace NOU::NOU_DAT_ALG
{
/**
\tparam T The t... | 30.44186 | 105 | 0.692513 | [
"object",
"vector"
] |
ee9748ceae0fcccf0c62e5db3b332026583fe302 | 1,356 | hpp | C++ | libs/boost_1_72_0/tools/quickbook/src/quickbook.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/tools/quickbook/src/quickbook.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/tools/quickbook/src/quickbook.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
Copyright (c) 2009 Daniel James
Copyright (c) 2002 2004 2006 Joel de Guzman
Copyright (c) 2004 Eric Niebler
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
License,... | 30.818182 | 79 | 0.663717 | [
"vector"
] |
ee97bfcfc99eeec19d3956b33151af3d4db195e1 | 3,679 | ipp | C++ | include/dens/df.ipp | riturajkaushik/stats | 4f0bb60f3dde4acd3a860ecf03a34924223a0d2b | [
"Apache-2.0"
] | null | null | null | include/dens/df.ipp | riturajkaushik/stats | 4f0bb60f3dde4acd3a860ecf03a34924223a0d2b | [
"Apache-2.0"
] | null | null | null | include/dens/df.ipp | riturajkaushik/stats | 4f0bb60f3dde4acd3a860ecf03a34924223a0d2b | [
"Apache-2.0"
] | null | null | null | /*################################################################################
##
## Copyright (C) 2011-2018 Keith O'Hara
##
## This file is part of the StatsLib C++ library.
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance... | 28.083969 | 113 | 0.661865 | [
"vector"
] |
ee9806f14e726f4023849441a5b8b3bd71709287 | 3,152 | cpp | C++ | 0641-Design Circular Deque/0641-Design Circular Deque.cpp | zhuangli1987/LeetCode-1 | e81788abf9e95e575140f32a58fe983abc97fa4a | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 0601-0700/0641-Design Circular Deque/0641-Design Circular Deque.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 0601-0700/0641-Design Circular Deque/0641-Design Circular Deque.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | class MyCircularDeque {
public:
/** Initialize your data structure here. Set the size of the deque to be k. */
MyCircularDeque(int k) {
head = nullptr;
tail = nullptr;
sz = k;
len = 0;
}
/** Adds an item at the front of Deque. Return true if the operation is successf... | 23.699248 | 95 | 0.477792 | [
"object"
] |
ee98155cdf320b20265e0031b207c736c5ab34d6 | 1,849 | cpp | C++ | leetcode/stone-game-ii.cpp | amsubhash/competitive-programming | 02c801c631d5a830e9a4c41914091c3ac7eaf39e | [
"MIT"
] | null | null | null | leetcode/stone-game-ii.cpp | amsubhash/competitive-programming | 02c801c631d5a830e9a4c41914091c3ac7eaf39e | [
"MIT"
] | null | null | null | leetcode/stone-game-ii.cpp | amsubhash/competitive-programming | 02c801c631d5a830e9a4c41914091c3ac7eaf39e | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <list>
#include <map>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>
#define assertm(exp, msg) ... | 21.752941 | 80 | 0.457545 | [
"vector"
] |
ee9c336021ca29443a3704dd87c7eb345038d82d | 7,785 | cpp | C++ | source/adios2/toolkit/transportman/wanman/WANMan.cpp | philip-davis/ADIOS2 | e0195f731c12bb2a231faca22a719134ad6bb272 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | source/adios2/toolkit/transportman/wanman/WANMan.cpp | philip-davis/ADIOS2 | e0195f731c12bb2a231faca22a719134ad6bb272 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-01-15T15:07:21.000Z | 2020-01-15T15:07:21.000Z | source/adios2/toolkit/transportman/wanman/WANMan.cpp | philip-davis/ADIOS2 | e0195f731c12bb2a231faca22a719134ad6bb272 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* WANMan.cpp
*
* Created on: Jun 1, 2017
* Author: Jason Wang wangr1@ornl.gov
*/
#include <fstream> //TODO go away
#include <iostream> //TODO go away
#include "WANMan.h"
#include ... | 27.803571 | 79 | 0.543224 | [
"vector",
"transform"
] |
eea27feeff1f1749e441aca5b42065c185b7ddc0 | 2,568 | hpp | C++ | src/parse.hpp | icmccorm/cadical | bc0e4c5b22faad831cd7ffb8aebe2d6ccf6a2c74 | [
"MIT"
] | null | null | null | src/parse.hpp | icmccorm/cadical | bc0e4c5b22faad831cd7ffb8aebe2d6ccf6a2c74 | [
"MIT"
] | null | null | null | src/parse.hpp | icmccorm/cadical | bc0e4c5b22faad831cd7ffb8aebe2d6ccf6a2c74 | [
"MIT"
] | null | null | null | #ifndef _parse_hpp_INCLUDED
#define _parse_hpp_INCLUDED
#include <cassert>
#include <vector>
namespace CaDiCaL {
// Factors out common functions for parsing of DIMACS and solution files.
class File;
struct External;
struct Internal;
class Parser {
Solver * solver;
Internal * internal;
External * external;
... | 33.350649 | 76 | 0.674455 | [
"vector"
] |
eea33a68a10ecfb596022103bd761b5bbf518216 | 16,807 | cpp | C++ | BOT PROGRAMMING - Legend League/Coders_Strike_Back.cpp | Thomaw/CodeinGame | 185164f6dbad7c9f8bcf622d56ea8b8ef677fad6 | [
"MIT"
] | 1 | 2021-09-19T16:45:08.000Z | 2021-09-19T16:45:08.000Z | BOT PROGRAMMING - Legend League/Coders_Strike_Back.cpp | Thomaw/CodeinGame | 185164f6dbad7c9f8bcf622d56ea8b8ef677fad6 | [
"MIT"
] | null | null | null | BOT PROGRAMMING - Legend League/Coders_Strike_Back.cpp | Thomaw/CodeinGame | 185164f6dbad7c9f8bcf622d56ea8b8ef677fad6 | [
"MIT"
] | null | null | null | #pragma GCC optimize("Ofast")
#pragma GCC optimize("inline")
#pragma GCC optimize("omit-frame-pointer")
#pragma GCC optimize("unroll-loops")
#include "stdio.h"
#include "math.h"
#include <iostream>
#include <algorithm>
#include <memory>
#include <chrono>
#include <vector>
using namespace std;
using namespace std::chr... | 23.31068 | 107 | 0.47272 | [
"vector"
] |
eea3e7517862d3737c51ca822cb1340a4d8b3d14 | 479 | cpp | C++ | main.cpp | PengaloGit/connect-four-cpp | ba6324ef349ef0ea5a7b0a689ec4975e6f899ced | [
"MIT"
] | 3 | 2020-01-24T01:48:50.000Z | 2020-04-06T23:57:16.000Z | main.cpp | PengaloGit/connect-four-cpp | ba6324ef349ef0ea5a7b0a689ec4975e6f899ced | [
"MIT"
] | null | null | null | main.cpp | PengaloGit/connect-four-cpp | ba6324ef349ef0ea5a7b0a689ec4975e6f899ced | [
"MIT"
] | null | null | null | /*
* Connect Four
* MIT License, Copyright 2018 Loukmane Maada, Soukaina Moumou & Anas Limouri
*/
#include <iostream>
#include "Table.h"
#include "Jeu.h"
#include <vector>
#include <windows.h>
#include <mmsystem.h>
#include <allegro5/allegro.h>
#include <allegro5/allegro_image.h>
#include <allegro5/alleg... | 19.958333 | 78 | 0.676409 | [
"vector"
] |
eea5c6e19c67d81bf0f6f98bbb66594ca7be6a5e | 7,923 | cpp | C++ | ode-0.16.1/ode/demo/demo_convex.cpp | yuemingl/ode-python-1 | a9a12d9d3b7e611874a8d30f6a5c0b83b6087f86 | [
"MIT"
] | 9 | 2020-05-31T09:22:40.000Z | 2021-09-15T18:15:15.000Z | ode-0.16.1/ode/demo/demo_convex.cpp | yuemingl/ode-python-1 | a9a12d9d3b7e611874a8d30f6a5c0b83b6087f86 | [
"MIT"
] | 1 | 2020-11-15T11:38:45.000Z | 2020-11-15T11:38:45.000Z | ode-0.16.1/ode/demo/demo_convex.cpp | yuemingl/ode-python-1 | a9a12d9d3b7e611874a8d30f6a5c0b83b6087f86 | [
"MIT"
] | 2 | 2020-11-14T21:47:01.000Z | 2021-08-03T02:28:10.000Z | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | 25.724026 | 113 | 0.622491 | [
"geometry"
] |
eeae262ccc865bd02d02971d5f9e1a3c5e4d7f11 | 16,982 | cpp | C++ | src/plugins/geofence/gstgeofencebase.cpp | AIoT-IST/EVA_Show-Case | 14474d97c233b4740c8216ba6564454cd954129c | [
"MIT"
] | 4 | 2021-05-26T07:14:50.000Z | 2022-01-10T00:15:32.000Z | src/plugins/geofence/gstgeofencebase.cpp | maxpark/EVA_Show-Case | c21fdf7d81efaaf4b63b071eeaf8911791336058 | [
"MIT"
] | 2 | 2021-06-07T16:00:14.000Z | 2021-07-06T13:35:38.000Z | src/plugins/geofence/gstgeofencebase.cpp | maxpark/EVA_Show-Case | c21fdf7d81efaaf4b63b071eeaf8911791336058 | [
"MIT"
] | 3 | 2021-08-19T02:27:59.000Z | 2022-01-10T07:40:22.000Z | #ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst.h>
#include <gst/video/video.h>
#include <gst/video/gstvideofilter.h>
#include "gstgeofencebase.h"
#include <chrono>
#include <iostream>
#include <fstream>
#include <regex>
#include <string>
#include <vector>
#include "gstadmeta.h"
#include "utils.h"
/... | 38.334086 | 316 | 0.684548 | [
"object",
"vector",
"transform"
] |
eeb56a6b8895f29becd44150b0a239c9a49ccc84 | 1,440 | cc | C++ | HeterogeneousCore/SonicTriton/src/triton_utils.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 4 | 2015-10-12T10:31:12.000Z | 2018-02-26T20:40:58.000Z | HeterogeneousCore/SonicTriton/src/triton_utils.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 524 | 2018-01-29T15:50:45.000Z | 2021-08-04T14:03:21.000Z | HeterogeneousCore/SonicTriton/src/triton_utils.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 7 | 2018-02-19T11:17:13.000Z | 2020-10-12T21:57:00.000Z | #include "HeterogeneousCore/SonicTriton/interface/triton_utils.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <sstream>
#include <experimental/iterator>
namespace triton_utils {
template <typename C>
std::string printColl(const C& coll, con... | 37.894737 | 116 | 0.686111 | [
"vector"
] |
eeb62f3d81d53035077007c50590fd06db7b347e | 2,990 | hpp | C++ | STest/STest/Scenario/ScenarioArray.hpp | SSteve/fprime | 12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8 | [
"Apache-2.0"
] | 4 | 2021-02-20T13:38:25.000Z | 2021-05-04T17:20:34.000Z | STest/STest/Scenario/ScenarioArray.hpp | SSteve/fprime | 12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8 | [
"Apache-2.0"
] | 42 | 2021-06-10T23:31:10.000Z | 2021-06-25T00:35:31.000Z | STest/STest/Scenario/ScenarioArray.hpp | SSteve/fprime | 12c478bd79c2c4ba2d9f9e634e47f8b6557c54a8 | [
"Apache-2.0"
] | 5 | 2019-09-06T23:25:26.000Z | 2021-06-22T03:01:07.000Z | // ======================================================================
// \title ScenarioArray.hpp
// \author bocchino
// \brief An array of scenarios
//
// \copyright
// Copyright (C) 2017 California Institute of Technology.
// ALL RIGHTS RESERVED. United States Government Sponsorship
// acknowledged.
// ======... | 27.431193 | 79 | 0.435452 | [
"object"
] |
eec6263e3e2dc6ea496c097a0ff8883620855a02 | 3,951 | cpp | C++ | anno/RestDatasetFilesystem.cpp | urobots-io/anno | 8e240185e6fc0908687b15a39c892814a6bddee6 | [
"MIT"
] | 9 | 2020-07-17T05:28:52.000Z | 2022-03-03T18:26:12.000Z | anno/RestDatasetFilesystem.cpp | urobots-io/anno | 8e240185e6fc0908687b15a39c892814a6bddee6 | [
"MIT"
] | null | null | null | anno/RestDatasetFilesystem.cpp | urobots-io/anno | 8e240185e6fc0908687b15a39c892814a6bddee6 | [
"MIT"
] | null | null | null | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com
//
// Anno Labeling Tool
// 2020-2021 (c) urobots GmbH, https://urobots.io
#include "RestDatasetFilesystem.h"
#include "rest.h"
#include <QFileInfo>
#in... | 28.630435 | 122 | 0.65629 | [
"object",
"vector"
] |
eec866027043d674b75cb58720d8dd0b16d9c743 | 2,222 | cpp | C++ | Engine/src/Engine/Renderer/Window.cpp | CloseRange/GameEngine | 6b42aa383fa78c22aec8df2c51386d05eee0c0cb | [
"Apache-2.0"
] | null | null | null | Engine/src/Engine/Renderer/Window.cpp | CloseRange/GameEngine | 6b42aa383fa78c22aec8df2c51386d05eee0c0cb | [
"Apache-2.0"
] | null | null | null | Engine/src/Engine/Renderer/Window.cpp | CloseRange/GameEngine | 6b42aa383fa78c22aec8df2c51386d05eee0c0cb | [
"Apache-2.0"
] | null | null | null | #include "enpch.h"
#include "Window.h"
#include "Shader/Shader.h"
#include "Model/VertexBuffer.h"
#include "Model/IndexBuffer.h"
#include "Model/VertexArray.h"
#include "Textures/Texture.h"
#include "Renderer.h"
#include <math.h>
namespace Renderer {
Window::Window(int width, int height, const char* name) {
if (!g... | 22.444444 | 110 | 0.630513 | [
"model"
] |
eec915137f6d1286eb641534f402c4ff3dd90086 | 1,167 | cpp | C++ | euphony/src/main/cpp/tests/base2Test.cpp | aiclaudev/euphony | a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b | [
"Apache-2.0"
] | 18 | 2019-07-08T16:44:15.000Z | 2021-08-03T04:28:55.000Z | euphony/src/main/cpp/tests/base2Test.cpp | aiclaudev/euphony | a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b | [
"Apache-2.0"
] | 39 | 2021-08-09T14:09:51.000Z | 2021-10-19T15:18:44.000Z | euphony/src/main/cpp/tests/base2Test.cpp | aiclaudev/euphony | a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b | [
"Apache-2.0"
] | 20 | 2019-11-25T13:08:09.000Z | 2021-08-03T09:28:17.000Z | #include <gtest/gtest.h>
#include <Definitions.h>
#include <Base2.h>
#include <tuple>
using namespace Euphony;
typedef std::tuple<std::vector<u_int8_t>, std::string> TestParamType;
class Base2TranslationFixture : public ::testing::TestWithParam<TestParamType> {
public:
Base* base2 = nullptr;
};
TEST_P(Base2Tran... | 32.416667 | 93 | 0.706941 | [
"vector"
] |
eed35b0c037313e570ead913752afcc8486bbd91 | 7,513 | cpp | C++ | bench/BenchSpan.cpp | flier/zipkin-cpp | f86357f6e302c98ab8a070267e3f7ba85ec2c59f | [
"Apache-2.0"
] | 48 | 2017-03-06T05:07:26.000Z | 2022-03-18T08:19:36.000Z | bench/BenchSpan.cpp | flier/zipkin-cpp | f86357f6e302c98ab8a070267e3f7ba85ec2c59f | [
"Apache-2.0"
] | 19 | 2017-02-25T03:25:30.000Z | 2021-02-10T17:28:12.000Z | bench/BenchSpan.cpp | flier/zipkin-cpp | f86357f6e302c98ab8a070267e3f7ba85ec2c59f | [
"Apache-2.0"
] | 19 | 2017-04-11T09:23:42.000Z | 2022-03-08T05:24:31.000Z | #include <benchmark/benchmark_api.h>
#include <utility>
#include <thrift/transport/TBufferTransports.h>
#include <thrift/protocol/TBinaryProtocol.h>
#define RAPIDJSON_HAS_STDSTRING 1
#include <rapidjson/stringbuffer.h>
#include <rapidjson/prettywriter.h>
#include "Span.h"
#include "Tracer.h"
void bench_span_reuse(... | 25.554422 | 116 | 0.690536 | [
"vector"
] |
eed4f9a2f05f44e5afe6fb8b8b215c2209ed1575 | 10,683 | cpp | C++ | src/plugins/openmpt/libopenmpt/soundlib/Load_okt.cpp | frranck/HippoPlayer | ede5c13db160b215018ca24216131414e06d5f1f | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-17T17:14:30.000Z | 2021-07-17T17:14:30.000Z | src/plugins/openmpt/libopenmpt/soundlib/Load_okt.cpp | frranck/HippoPlayer | ede5c13db160b215018ca24216131414e06d5f1f | [
"Apache-2.0",
"MIT"
] | null | null | null | src/plugins/openmpt/libopenmpt/soundlib/Load_okt.cpp | frranck/HippoPlayer | ede5c13db160b215018ca24216131414e06d5f1f | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Load_okt.cpp
* ------------
* Purpose: OKT (Oktalyzer) module loader
* Notes : (currently none)
* Authors: Storlek (Original author - http://schismtracker.org/ - code ported with permission)
* Johannes Schultz (OpenMPT Port, tweaks)
* The OpenMPT source code is released under the BSD license. Read LICENS... | 23.634956 | 134 | 0.635215 | [
"vector"
] |
4acbfa7cedb55147b3ccd3fc1ccaf0b5aa800f17 | 7,384 | cc | C++ | tensorflow/contrib/rnn/ops/lstm_ops_test.cc | jdehotin/TensorFlow | a6c5f8e4e013e54fed8dfcf49fb6de365f018022 | [
"Apache-2.0"
] | 1 | 2021-06-10T23:59:44.000Z | 2021-06-10T23:59:44.000Z | tensorflow/contrib/rnn/ops/lstm_ops_test.cc | jdehotin/TensorFlow | a6c5f8e4e013e54fed8dfcf49fb6de365f018022 | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/rnn/ops/lstm_ops_test.cc | jdehotin/TensorFlow | a6c5f8e4e013e54fed8dfcf49fb6de365f018022 | [
"Apache-2.0"
] | 1 | 2020-07-09T22:02:18.000Z | 2020-07-09T22:02:18.000Z | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is d... | 37.482234 | 80 | 0.540628 | [
"shape",
"vector"
] |
4ad6d2b07b4a87f827a7425031ec935611e61b42 | 1,099 | cpp | C++ | client/InputAxis.cpp | KnuckStudio/RPG | 8abc4582be879f0a51506e89f6d13b2793a73d92 | [
"Apache-2.0"
] | null | null | null | client/InputAxis.cpp | KnuckStudio/RPG | 8abc4582be879f0a51506e89f6d13b2793a73d92 | [
"Apache-2.0"
] | null | null | null | client/InputAxis.cpp | KnuckStudio/RPG | 8abc4582be879f0a51506e89f6d13b2793a73d92 | [
"Apache-2.0"
] | null | null | null | #include "InputAxis.h"
#include "Math.h"
InputAxis::InputAxis(const std::vector<KeyMapping>& mappings) :
m_mappings(mappings),
m_sensitivity(1.0f),
m_gravity(1.0f),
m_value(0.0f),
m_range(-1.0f, 1.0f),
m_defaultValue(0.0f)
{
}
InputAxis::~InputAxis()
{
}
const std::vector<InputAxis::KeyMapping>& InputAxis:... | 14.851351 | 72 | 0.726115 | [
"vector"
] |
4adc7b23f275178c829f572305db7318f5e31e26 | 1,243 | cpp | C++ | tests/WordSearchIITest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | tests/WordSearchIITest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | tests/WordSearchIITest.cpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #include "catch.hpp"
#include "WordSearchII.hpp"
using namespace std;
TEST_CASE("Word Search II") {
WordSearchII s;
SECTION("Sample test") {
vector<string> words{"oath", "pea", "eat", "rain"};
vector<vector<char>> board{
{'o', 'a', 'a', 'n'},
{'e', 't', 'a', 'e... | 30.317073 | 64 | 0.459372 | [
"vector"
] |
4adf47bab612271a6df28e5fa16ed566f4ebf5c0 | 1,614 | cpp | C++ | projects/USDExporter/source/CalcSurfaceArea.cpp | ft-lab/Shade3D_USDExporter | 981494219a510d679369726229decbb9c7dac36e | [
"MIT"
] | 5 | 2019-10-13T00:53:45.000Z | 2021-02-15T15:43:39.000Z | projects/USDExporter/source/CalcSurfaceArea.cpp | ft-lab/Shade3D_USDExporter | 981494219a510d679369726229decbb9c7dac36e | [
"MIT"
] | null | null | null | projects/USDExporter/source/CalcSurfaceArea.cpp | ft-lab/Shade3D_USDExporter | 981494219a510d679369726229decbb9c7dac36e | [
"MIT"
] | 1 | 2021-08-13T10:54:47.000Z | 2021-08-13T10:54:47.000Z | /**
* Meshの表面積を計算.
*/
#include "CalcSurfaceArea.h"
#include "MathUtil.h"
namespace
{
/**
* 多角形の三角形分割クラス.
*/
std::vector<int> m_triangleIndex;
class CDivideTrianglesOutput : public sxsdk::shade_interface::output_function_class {
private:
public:
virtual void output (int i0 , int i1 , int i2 , int i3) {
... | 24.830769 | 153 | 0.653036 | [
"vector"
] |
4adf94ca59fa33c584876078d246beaa82fb0a0c | 9,376 | cpp | C++ | src/runtime.cpp | viroulep/replay_tool | 6eeae5fee1dfc2fe1a96977aa16e06ecdf8fa2e1 | [
"MIT"
] | null | null | null | src/runtime.cpp | viroulep/replay_tool | 6eeae5fee1dfc2fe1a96977aa16e06ecdf8fa2e1 | [
"MIT"
] | null | null | null | src/runtime.cpp | viroulep/replay_tool | 6eeae5fee1dfc2fe1a96977aa16e06ecdf8fa2e1 | [
"MIT"
] | null | null | null | #include "runtime.hpp"
#include "KernelsBlas.hpp"
#include "KernelsBandwidth.hpp"
#include <pthread.h>
using namespace std;
map<string, KernelFunction> Runtime::kernels_;
set<string> Runtime::watchedKernels_;
void dummy(const vector<Param *> *)
{}
uint64_t inline getCycles() {
uint64_t low, high;
asm volatile... | 26.411268 | 158 | 0.623827 | [
"vector"
] |
4adfd4a4cfb2b7cbda04978038614d34d482eefe | 1,083 | cpp | C++ | src/JSPromise.cpp | Superxwolf/JavascriptCorePP | f5e336b98284cd21fa48b03304438d6b3a55446b | [
"MIT"
] | 5 | 2021-03-22T09:05:37.000Z | 2021-12-12T22:39:52.000Z | src/JSPromise.cpp | Superxwolf/JavascriptCorePP | f5e336b98284cd21fa48b03304438d6b3a55446b | [
"MIT"
] | null | null | null | src/JSPromise.cpp | Superxwolf/JavascriptCorePP | f5e336b98284cd21fa48b03304438d6b3a55446b | [
"MIT"
] | 1 | 2021-02-15T06:04:25.000Z | 2021-02-15T06:04:25.000Z | #include "JavaScriptCorePP/JSPromise.h"
namespace JavaScriptCorePP
{
JSPromise::JSPromise(const JSContext& context, JSObjectRef promiseObj, JSObjectRef resolveFunc, JSObjectRef rejectFunc) :
_context(context), _promise(context, promiseObj), _resolve(context, resolveFunc), _reject(context, rejectFunc) {}
JSPromise... | 24.066667 | 138 | 0.748846 | [
"vector"
] |
4ae0bb1efacce4efd9b5aefd363380dda9820873 | 1,396 | cpp | C++ | Problems/Timus/1788_On_the_Benefits_of_Umbrellas/src/main.cpp | grand87/timus | 8edcae276ab74b68fff18da3722460f492534a8a | [
"MIT"
] | null | null | null | Problems/Timus/1788_On_the_Benefits_of_Umbrellas/src/main.cpp | grand87/timus | 8edcae276ab74b68fff18da3722460f492534a8a | [
"MIT"
] | 1 | 2019-05-09T19:17:00.000Z | 2019-05-09T19:17:00.000Z | Problems/Timus/1788_On_the_Benefits_of_Umbrellas/src/main.cpp | grand87/timus | 8edcae276ab74b68fff18da3722460f492534a8a | [
"MIT"
] | null | null | null | /*
* @author v.sharayenko (grand87@yandex.ru)
*/
#pragma comment(linker, "/STACK:16777216")
#include <stdio.h>
#include <vector>
#include <algorithm>
using namespace std;
//#define ONLINE_JUDGE
typedef vector<size_t> VectorInt;
size_t getSumOfUpset(const VectorInt& upSets, size_t boys, size_t k)
{
size_t su... | 19.942857 | 92 | 0.567335 | [
"vector"
] |
4ae641316737782c8ea81a2bd682df5d0e1a0abd | 5,037 | hpp | C++ | perftest/perf_test.hpp | kiwicom/catboost-cxx | 7ae872fe9418215b6592e1a947d1cd4bc5b10b3d | [
"MIT"
] | 5 | 2021-02-17T14:46:26.000Z | 2021-08-28T20:10:02.000Z | perftest/perf_test.hpp | kiwicom/catboost-cxx | 7ae872fe9418215b6592e1a947d1cd4bc5b10b3d | [
"MIT"
] | null | null | null | perftest/perf_test.hpp | kiwicom/catboost-cxx | 7ae872fe9418215b6592e1a947d1cd4bc5b10b3d | [
"MIT"
] | 3 | 2020-12-18T07:43:29.000Z | 2021-04-26T13:29:43.000Z | #pragma once
#include <sys/time.h>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
inline double ftime() {
struct timeval tv;
gettimeofday(&tv, nullptr);
return double(tv.tv_sec) + double(tv.tv_usec) / 1000000.0;
}
struct TestData {
std::vector<double> l... | 34.265306 | 115 | 0.526305 | [
"vector",
"model"
] |
4aed5f5f530569b7a84fdc1174164b34183c4cdf | 12,607 | cpp | C++ | race_obstacle_detector/src/wait_until_unblocked_action.cpp | buzzer/tams_pr2 | 73eada99f88c300858f05d57b868e6a8109a800c | [
"BSD-2-Clause"
] | null | null | null | race_obstacle_detector/src/wait_until_unblocked_action.cpp | buzzer/tams_pr2 | 73eada99f88c300858f05d57b868e6a8109a800c | [
"BSD-2-Clause"
] | null | null | null | race_obstacle_detector/src/wait_until_unblocked_action.cpp | buzzer/tams_pr2 | 73eada99f88c300858f05d57b868e6a8109a800c | [
"BSD-2-Clause"
] | null | null | null | #include <ros/ros.h>
#include <actionlib/server/simple_action_server.h>
#include <actionlib/client/simple_action_client.h>
#include <race_obstacle_detector/WaitUntilUnblockedAction.h>
#include <race_msgs/BoundingBox.h>
#include <pr2_controllers_msgs/PointHeadAction.h>
#include <tf/transform_listener.h>
#include "geome... | 33.263852 | 126 | 0.634806 | [
"object",
"transform"
] |
4af30a5d9d392a867d415c4c585f5487282479b6 | 8,406 | cpp | C++ | ann_benchmark/src/vespa/ann_benchmark/vespa_ann_benchmark.cpp | Rexiome/vespa | 23e9dd2577e9d5bd32e410e2759a82aad6e185ee | [
"Apache-2.0"
] | null | null | null | ann_benchmark/src/vespa/ann_benchmark/vespa_ann_benchmark.cpp | Rexiome/vespa | 23e9dd2577e9d5bd32e410e2759a82aad6e185ee | [
"Apache-2.0"
] | null | null | null | ann_benchmark/src/vespa/ann_benchmark/vespa_ann_benchmark.cpp | Rexiome/vespa | 23e9dd2577e9d5bd32e410e2759a82aad6e185ee | [
"Apache-2.0"
] | null | null | null | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <vespa/searchcommon/attribute/hnsw_index_params.h>
#include <vespa/searchlib/attribute/attributevector.h>
#include <vespa/searchlib/attribute/attrib... | 33.895161 | 140 | 0.694266 | [
"vector"
] |
4af48b028f4a2b875872537fbb4f9cad262266d5 | 17,995 | hpp | C++ | modules/cudaarithm/include/opencv2/cudaarithm.hpp | Nerei/opencv | 92d5f8744c872ccf63b17334f018343973353e47 | [
"BSD-3-Clause"
] | 1 | 2015-04-22T14:10:46.000Z | 2015-04-22T14:10:46.000Z | modules/cudaarithm/include/opencv2/cudaarithm.hpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"BSD-3-Clause"
] | null | null | null | modules/cudaarithm/include/opencv2/cudaarithm.hpp | lastlegion/opencv | 4b31b9cb8cbc673ca8db95fdec8a3e707d04fef2 | [
"BSD-3-Clause"
] | 2 | 2018-05-03T21:08:19.000Z | 2020-09-26T06:27:08.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 47.986667 | 163 | 0.735871 | [
"vector",
"transform"
] |
4af71cb99b2678aaca38f1901a02e80dcd19609d | 3,432 | cpp | C++ | code/engine.vc2008/xrGame/doors_manager.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/engine.vc2008/xrGame/doors_manager.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/engine.vc2008/xrGame/doors_manager.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 3 | 2019-10-20T19:35:34.000Z | 2022-02-28T01:42:10.000Z | ////////////////////////////////////////////////////////////////////////////
// Created : 23.06.2009
// Author : Dmitriy Iassenev
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "doors_manager.h"
#include "gameobject.h"
... | 29.084746 | 133 | 0.637821 | [
"object"
] |
4af892bf8e2ccad50ce8ed619fb5ee70246ba952 | 26,591 | hpp | C++ | src/share/types.hpp | IvanRublev/Karabiner-Elements | b1f4e1077f639484eea14066a277722304d0e760 | [
"Unlicense"
] | 271 | 2016-10-03T22:35:55.000Z | 2022-02-14T05:40:39.000Z | src/share/types.hpp | IvanRublev/Karabiner-Elements | b1f4e1077f639484eea14066a277722304d0e760 | [
"Unlicense"
] | 2 | 2017-02-03T03:16:21.000Z | 2017-06-10T09:52:46.000Z | src/share/types.hpp | IvanRublev/Karabiner-Elements | b1f4e1077f639484eea14066a277722304d0e760 | [
"Unlicense"
] | 25 | 2016-10-06T19:20:13.000Z | 2021-06-17T03:02:09.000Z | #pragma once
#include "boost_defs.hpp"
#include "Karabiner-VirtualHIDDevice/dist/include/karabiner_virtual_hid_device_methods.hpp"
#include "apple_hid_usage_tables.hpp"
#include "system_preferences.hpp"
#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/hid/IOHIDUsageTables.h>
#inc... | 37.034819 | 152 | 0.732165 | [
"vector"
] |
ab007de5ffbefaf6e85ec7ebe70e859387cecd03 | 4,788 | cpp | C++ | day10a.cpp | henbr/aoc2019 | 30f6ff902c5c48536db188bac1516df5dff2cb48 | [
"MIT"
] | null | null | null | day10a.cpp | henbr/aoc2019 | 30f6ff902c5c48536db188bac1516df5dff2cb48 | [
"MIT"
] | null | null | null | day10a.cpp | henbr/aoc2019 | 30f6ff902c5c48536db188bac1516df5dff2cb48 | [
"MIT"
] | null | null | null | #include <vector>
#include <string>
#include <iostream>
#include <numeric>
#include <limits>
using namespace std;
vector<string> input = {
/*
"#.#...#.#.",
".###....#.",
".#....#...",
"##.#.#.#.#",
"....#.#.#.",
".##..###.#",
"..#...##..",
"..##....##",
"......#...",
".##... | 26.021739 | 106 | 0.225564 | [
"vector"
] |
ab0fba7c258e65d800b165dd09a07da3f61761ac | 3,117 | cpp | C++ | solutions/LeetCode/C++/955.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/955.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/955.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 8 ms submission
auto _ = []() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
return 0;
} ();
class Solution {
public:
int minDeletionSize(const vector<string>& a) {
... | 35.420455 | 141 | 0.49984 | [
"vector"
] |
ab14741d4c671ab10e452e4eb342944d17965109 | 5,134 | cpp | C++ | src/messagedigest/windows/DigestEngineImpl.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 147 | 2017-10-05T01:42:02.000Z | 2022-01-21T08:15:05.000Z | src/messagedigest/windows/DigestEngineImpl.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 20 | 2018-05-17T01:55:16.000Z | 2021-04-20T07:27:00.000Z | src/messagedigest/windows/DigestEngineImpl.cpp | commshare/easyhttpcpp | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | [
"MIT"
] | 32 | 2018-05-05T13:04:34.000Z | 2022-03-25T16:57:11.000Z | /*
* Copyright 2017 Sony Corporation
*/
#include "easyhttpcpp/common/CoreLogger.h"
#include "easyhttpcpp/common/StringUtil.h"
#include "easyhttpcpp/messagedigest/DigestConstants.h"
#include "easyhttpcpp/messagedigest/DigestUtil.h"
#include "easyhttpcpp/messagedigest/MessageDigestException.h"
#include "DigestEngineI... | 35.164384 | 125 | 0.673744 | [
"object",
"vector"
] |
ab1f0b7b1d80490ed5d4418c5bf375f0dd2d7c15 | 9,864 | cc | C++ | src/primitives/matrix_test.cc | elp2/ray-tracer-challenge | 685ed92c1c0b4483d6f18ccbc7c678a55d0eb541 | [
"Apache-2.0"
] | 1 | 2020-12-23T05:00:13.000Z | 2020-12-23T05:00:13.000Z | src/primitives/matrix_test.cc | elp2/ray-tracer-challenge | 685ed92c1c0b4483d6f18ccbc7c678a55d0eb541 | [
"Apache-2.0"
] | null | null | null | src/primitives/matrix_test.cc | elp2/ray-tracer-challenge | 685ed92c1c0b4483d6f18ccbc7c678a55d0eb541 | [
"Apache-2.0"
] | 1 | 2021-05-18T22:19:08.000Z | 2021-05-18T22:19:08.000Z | #include "gtest/gtest.h"
#include "primitives/matrix.h"
#include "primitives/tuple.h"
class MatrixTest : public ::testing::Test {
protected:
MatrixTest() {};
~MatrixTest() {};
};
TEST(MatrixTest, SetGet) {
Matrix m = Matrix(3, 4);
ASSERT_FLOAT_EQ(m(0, 0), 0.0);
m.Set(1.0, 1, 1);
ASSERT_FLOAT_EQ(m(1, 1)... | 34.013793 | 95 | 0.410381 | [
"vector"
] |
ab239aaf51e8d9c93dfa2be9e543b38eaaf200b5 | 508 | cpp | C++ | Disruptor.PerfTests/EventCountingWorkHandler.cpp | ulricheck/Disruptor-cpp | fd2cef124f5bf2dbbe399137fd69e85844b90a6b | [
"Apache-2.0"
] | 250 | 2017-12-21T15:19:30.000Z | 2022-03-30T05:55:24.000Z | Disruptor.PerfTests/EventCountingWorkHandler.cpp | ulricheck/Disruptor-cpp | fd2cef124f5bf2dbbe399137fd69e85844b90a6b | [
"Apache-2.0"
] | 14 | 2018-06-21T22:57:47.000Z | 2022-01-26T07:48:47.000Z | Disruptor.PerfTests/EventCountingWorkHandler.cpp | ulricheck/Disruptor-cpp | fd2cef124f5bf2dbbe399137fd69e85844b90a6b | [
"Apache-2.0"
] | 84 | 2018-01-06T13:55:54.000Z | 2022-01-20T07:15:55.000Z | #include "stdafx.h"
#include "EventCountingWorkHandler.h"
namespace Disruptor
{
namespace PerfTests
{
EventCountingWorkHandler::EventCountingWorkHandler(const std::vector< std::shared_ptr< PaddedLong > >& counters, std::int32_t index)
: m_counters(counters)
, m_index(index)
{
}
void ... | 22.086957 | 136 | 0.688976 | [
"vector"
] |
ab23fe923097466b86438a8a7c645dbed9442f7e | 3,357 | cpp | C++ | Fierce-Engine/src/system/render/vulkan/VK_Renderpass.cpp | TB989/Fierce-Engine-V1 | 007d41dec19b461a66595a6c5d4dae5e3ce8880d | [
"Apache-2.0"
] | null | null | null | Fierce-Engine/src/system/render/vulkan/VK_Renderpass.cpp | TB989/Fierce-Engine-V1 | 007d41dec19b461a66595a6c5d4dae5e3ce8880d | [
"Apache-2.0"
] | null | null | null | Fierce-Engine/src/system/render/vulkan/VK_Renderpass.cpp | TB989/Fierce-Engine-V1 | 007d41dec19b461a66595a6c5d4dae5e3ce8880d | [
"Apache-2.0"
] | null | null | null | #include "VK_Renderpass.h"
#include "VK_Device.h"
VK_Renderpass::VK_Renderpass(VK_Device* device){
m_device = device;
}
VK_Renderpass::~VK_Renderpass(){
vkDestroyRenderPass(m_device->getDevice(), renderpass,nullptr);
}
void VK_Renderpass::create() {
VkSubpassDescription subpass{};
subpass.pipelineBi... | 41.444444 | 128 | 0.785523 | [
"render",
"vector"
] |
ab2b1607e08a0ee3865c82dc227be6cdc5e30fde | 7,892 | cpp | C++ | SDL_Core/src/components/JSONHandler/src/RPC2ObjectsImpl/NsRPC2Communication/UI/AlertMarshaller.cpp | tizenorg/profile.ivi.smartdevicelink | fed006e168bb6fa6bdab49c7e07031cd3eb495fc | [
"BSD-3-Clause"
] | null | null | null | SDL_Core/src/components/JSONHandler/src/RPC2ObjectsImpl/NsRPC2Communication/UI/AlertMarshaller.cpp | tizenorg/profile.ivi.smartdevicelink | fed006e168bb6fa6bdab49c7e07031cd3eb495fc | [
"BSD-3-Clause"
] | null | null | null | SDL_Core/src/components/JSONHandler/src/RPC2ObjectsImpl/NsRPC2Communication/UI/AlertMarshaller.cpp | tizenorg/profile.ivi.smartdevicelink | fed006e168bb6fa6bdab49c7e07031cd3eb495fc | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2013, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of condit... | 29.781132 | 126 | 0.661556 | [
"vector"
] |
ab2d008e9a55bb23fbdde4fe590af61c5787705e | 2,674 | cpp | C++ | src/strategy/generic/ConserveManaStrategy.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 12 | 2022-03-23T05:14:53.000Z | 2022-03-30T12:12:58.000Z | src/strategy/generic/ConserveManaStrategy.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 24 | 2022-03-23T13:56:37.000Z | 2022-03-31T18:23:32.000Z | src/strategy/generic/ConserveManaStrategy.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 3 | 2022-03-24T21:47:10.000Z | 2022-03-31T06:21:46.000Z | /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#include "ConserveManaStrategy.h"
#include "GenericSpellActions.h"
#include "LastSpellCastValue.h"
#includ... | 30.386364 | 205 | 0.664174 | [
"vector"
] |
ab496e1d377f978727a5efa04fd07b9a3225a585 | 4,935 | hpp | C++ | src/Emulators/nestopiaue/core/api/NstApiCheats.hpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 34 | 2021-05-29T07:04:17.000Z | 2022-03-10T20:16:03.000Z | src/Emulators/nestopiaue/core/api/NstApiCheats.hpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-12-25T13:05:21.000Z | 2022-01-19T17:35:17.000Z | src/Emulators/nestopiaue/core/api/NstApiCheats.hpp | slajerek/RetroDebugger | e761e4f9efd103a05e65ef283423b142fa4324c7 | [
"Apache-2.0",
"MIT"
] | 6 | 2021-12-24T18:37:41.000Z | 2022-02-06T23:06:02.000Z | ////////////////////////////////////////////////////////////////////////////////////////
//
// Nestopia - NES/Famicom emulator written in C++
//
// Copyright (C) 2003-2008 Martin Freij
//
// This file is part of Nestopia.
//
// Nestopia is free software; you can redistribute it and/or modify
// it under the te... | 23.5 | 107 | 0.589463 | [
"object"
] |
ab4c89aee947e6d08b6ff898863f2cdb83702ecc | 7,795 | hpp | C++ | pybnesian/models/DynamicBayesianNetwork.hpp | davenza/PyBNesian | 3ed65e6a24d8e16ee00bf8c47ab6828692463499 | [
"MIT"
] | 8 | 2021-06-22T19:21:12.000Z | 2022-03-26T13:08:05.000Z | pybnesian/models/DynamicBayesianNetwork.hpp | davenza/PyBNesian | 3ed65e6a24d8e16ee00bf8c47ab6828692463499 | [
"MIT"
] | null | null | null | pybnesian/models/DynamicBayesianNetwork.hpp | davenza/PyBNesian | 3ed65e6a24d8e16ee00bf8c47ab6828692463499 | [
"MIT"
] | 3 | 2021-08-20T13:44:46.000Z | 2022-03-27T02:57:02.000Z | #ifndef PYBNESIAN_MODELS_DYNAMICBAYESIANNETWORK_HPP
#define PYBNESIAN_MODELS_DYNAMICBAYESIANNETWORK_HPP
#include <dataset/dynamic_dataset.hpp>
#include <factors/continuous/LinearGaussianCPD.hpp>
#include <factors/continuous/CKDE.hpp>
#include <factors/discrete/DiscreteFactor.hpp>
#include <models/BayesianNetwork.hpp>
... | 44.798851 | 120 | 0.690443 | [
"object",
"vector"
] |
ab4f29893c1c8cb7e7152b8fc242f243a3c5b5cd | 1,815 | cpp | C++ | game/prefabs/CheckPointPrefab.cpp | Khuongnb1997/game-aladdin | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | [
"MIT"
] | 2 | 2017-11-08T16:27:25.000Z | 2018-08-10T09:08:35.000Z | game/prefabs/CheckPointPrefab.cpp | Khuongnb1997/game-aladdin | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | [
"MIT"
] | null | null | null | game/prefabs/CheckPointPrefab.cpp | Khuongnb1997/game-aladdin | 74b13ffcd623de0d6f799b0669c7e8917eef3b14 | [
"MIT"
] | 4 | 2017-11-08T16:25:30.000Z | 2021-05-23T06:14:59.000Z | #include "CheckpointPrefab.h"
#include "../Define.h"
#include "../scripts/CheckpointController.h"
USING_NAMESPACE_ALA;
ALA_CLASS_SOURCE_1(CheckpointPrefab, ala::PrefabV2)
void CheckpointPrefab::doInstantiate( ala::GameObject* object, std::istringstream& argsStream ) const {
// args
const auto index = nextInt( ar... | 27.089552 | 103 | 0.619835 | [
"object",
"transform"
] |
ab52aabec92260dda16c3b8d43403d6543f0ff51 | 1,806 | cpp | C++ | client/demo/main.cpp | andywang0607/ScreenCaptureService | a421520283e6586cc25760894753acce576ee60a | [
"MIT"
] | null | null | null | client/demo/main.cpp | andywang0607/ScreenCaptureService | a421520283e6586cc25760894753acce576ee60a | [
"MIT"
] | null | null | null | client/demo/main.cpp | andywang0607/ScreenCaptureService | a421520283e6586cc25760894753acce576ee60a | [
"MIT"
] | null | null | null | #include <opencv2/opencv.hpp>
#include "threadsafe_queue.hpp"
#include "include/ScreenCaptureApi.h"
#include <thread>
#include <chrono>
#include <spdlog/spdlog.h>
static ScreenCaptureApi *api = nullptr;
threadsafe_queue<cv::Mat> imgQueue;
class MySpi : public ScreenCaptureSpi
{
void onStreamRtn(unsigned char *... | 25.43662 | 100 | 0.63732 | [
"vector"
] |
ab5b21c791d672e51f39b5f1273d9555044e32a1 | 28,013 | hpp | C++ | sparta/sparta/statistics/Expression.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 44 | 2019-12-13T06:39:13.000Z | 2022-03-29T23:09:28.000Z | sparta/sparta/statistics/Expression.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 222 | 2020-01-14T21:58:56.000Z | 2022-03-31T20:05:12.000Z | sparta/sparta/statistics/Expression.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 19 | 2020-01-03T19:03:22.000Z | 2022-01-09T08:36:20.000Z | // <Expression.hpp> -*- C++ -*-
#pragma once
#include <iostream>
#include <sstream>
#include <memory>
#include "sparta/simulation/TreeNode.hpp"
#include "sparta/utils/SpartaAssert.hpp"
#include "sparta/utils/SpartaException.hpp"
#include "sparta/statistics/ExpressionNode.hpp"
#include "sparta/statistics/ExpressionNo... | 35.776501 | 147 | 0.598222 | [
"object",
"vector"
] |
ab5ba9108af72c9a9a04a23a69fd39fc5d30e05d | 3,155 | cpp | C++ | leetcode/30_days_challenge/2021_3_March/28.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | 1 | 2020-05-05T13:06:51.000Z | 2020-05-05T13:06:51.000Z | leetcode/30_days_challenge/2021_3_March/28.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | leetcode/30_days_challenge/2021_3_March/28.cpp | bvbasavaraju/competitive_programming | a82ffc1b639588a84f4273b44285d57cdc2f4b11 | [
"Apache-2.0"
] | null | null | null | /****************************************************
Date: March 28th
link: https://leetcode.com/explore/challenge/card/march-leetcoding-challenge-2021/591/week-4-march-22nd-march-28th/3681/
****************************************************/
#include <iostream>
#include <vector>
#include <list>
#include <algorith... | 20.620915 | 153 | 0.489065 | [
"vector"
] |
ab615726230f29a35bdd6ccc12820335a8001878 | 5,102 | cpp | C++ | tests/unit/parse/control/capture.cpp | qedalab/vcd_assert | 40da307e60600fc4a814d4bba4679001f49f4375 | [
"BSD-2-Clause"
] | 1 | 2019-04-30T17:56:23.000Z | 2019-04-30T17:56:23.000Z | tests/unit/parse/control/capture.cpp | qedalab/vcd_assert | 40da307e60600fc4a814d4bba4679001f49f4375 | [
"BSD-2-Clause"
] | null | null | null | tests/unit/parse/control/capture.cpp | qedalab/vcd_assert | 40da307e60600fc4a814d4bba4679001f49f4375 | [
"BSD-2-Clause"
] | 4 | 2018-08-01T08:32:00.000Z | 2019-12-18T06:34:33.000Z | #include "parse/actions/apply/integer.hpp"
#include "parse/actions/apply/string.hpp"
#include "parse/actions/apply/value.hpp"
#include "parse/actions/command/apply.hpp"
#include "parse/actions/command/apply0.hpp"
#include "parse/actions/command/inner_action.hpp"
#include "parse/actions/control.hpp"
#include "parse/acti... | 32.08805 | 120 | 0.715406 | [
"object"
] |
ab63e3db9c41d94454852f4428173deef620189a | 1,720 | hh | C++ | MCDataProducts/inc/CaloHitMC.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 1 | 2021-06-23T22:09:28.000Z | 2021-06-23T22:09:28.000Z | MCDataProducts/inc/CaloHitMC.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | 125 | 2020-04-03T13:44:30.000Z | 2021-10-15T21:29:57.000Z | MCDataProducts/inc/CaloHitMC.hh | lborrel/Offline | db9f647bad3c702171ab5ffa5ccc04c82b3f8984 | [
"Apache-2.0"
] | null | null | null | //
// This calss contains CaloMCEdep for each CaloDigi, matching deposited energy at MC level to reco digi hits
// Notes:
// CaloEdepMC: the list of CaloEDepMC is ordered by energy - most energetic first.
// time: taken as the time of the most energetic contribution.
//
//
#ifndef MCDataProducts_CaloHitMC_hh
#de... | 35.833333 | 108 | 0.55 | [
"vector"
] |
0365a8b99532d4c22cf4ce3c9578e2e85536ae78 | 78,397 | cpp | C++ | Tools/KLEE_Platform/stp/build/lib/Parser/lexsmt.cpp | seclab-ucr/SCENT | f2fbfc5902b2dbd7dc72c8dc23ff28e24c31e50a | [
"MIT"
] | 3 | 2019-10-24T00:49:51.000Z | 2020-12-16T13:34:49.000Z | Tools/KLEE_Platform/stp/build/lib/Parser/lexsmt.cpp | seclab-ucr/SCENT | f2fbfc5902b2dbd7dc72c8dc23ff28e24c31e50a | [
"MIT"
] | null | null | null | Tools/KLEE_Platform/stp/build/lib/Parser/lexsmt.cpp | seclab-ucr/SCENT | f2fbfc5902b2dbd7dc72c8dc23ff28e24c31e50a | [
"MIT"
] | 1 | 2020-11-14T03:08:53.000Z | 2020-11-14T03:08:53.000Z | #line 2 "/home/yue/Work/stp/build/lib/Parser/lexsmt.cpp"
#line 4 "/home/yue/Work/stp/build/lib/Parser/lexsmt.cpp"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
#define yy_create_buffer smt_create_buffer
#define yy_delete_buffer smt_delete_buffer
#define yy_flex_debug smt_flex_debug
#de... | 28.612044 | 117 | 0.615342 | [
"object"
] |
0368b4f56a4a9d941df827994cd74adb32a6a8f6 | 12,533 | cpp | C++ | OBJLoader.cpp | Locky-Brand/Simple-OBJ-file-3d-model-loader | 959fbbb9320d5b1ce8f545f95196b58546d1298a | [
"MIT"
] | null | null | null | OBJLoader.cpp | Locky-Brand/Simple-OBJ-file-3d-model-loader | 959fbbb9320d5b1ce8f545f95196b58546d1298a | [
"MIT"
] | null | null | null | OBJLoader.cpp | Locky-Brand/Simple-OBJ-file-3d-model-loader | 959fbbb9320d5b1ce8f545f95196b58546d1298a | [
"MIT"
] | null | null | null | #include "OBJLoader.h"
namespace OBJFile {
OBJLoader::OBJLoader() {
}
OBJLoader::~OBJLoader() {
}
loadInfo OBJLoader::load(const char* iPath, float* iRawArray) {
std::ifstream file(iPath, std::ios_base::binary);
if (file.is_open()) {
std::vector<fileVec3> verts;
std::vector<fileVec3> norms;
std::v... | 27.91314 | 193 | 0.560361 | [
"vector"
] |
0371ba8c20b3116529637cbb899f7e82c18233b0 | 2,302 | cpp | C++ | hamming_distance/hamming_distance.cpp | hossein1387/random_sw_experiments | 9b5163e2e67b7f3d89f67e57e1c7aa3b8b40011c | [
"MIT"
] | 1 | 2017-05-04T03:21:06.000Z | 2017-05-04T03:21:06.000Z | hamming_distance/hamming_distance.cpp | hossein1387/random_sw_experiments | 9b5163e2e67b7f3d89f67e57e1c7aa3b8b40011c | [
"MIT"
] | null | null | null | hamming_distance/hamming_distance.cpp | hossein1387/random_sw_experiments | 9b5163e2e67b7f3d89f67e57e1c7aa3b8b40011c | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#include <string>
#include <bitset>
#include <fstream>
#define SIZE_OF_ARRAY 10
#define NUM_BITS 31
#define MAX_RAND_VAL (1<<NUM_BITS)
#define OUTPUT_FILE_NAME "array.txt"
unsigned int hamming_res[SIZE_OF_AR... | 28.073171 | 120 | 0.617724 | [
"3d"
] |
0371fe0dbc0d311e20a71cfb602aa783b19a9499 | 3,148 | hpp | C++ | geometry/angles.hpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 2 | 2019-01-24T15:36:20.000Z | 2019-12-26T10:03:48.000Z | geometry/angles.hpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 1 | 2018-03-07T15:05:23.000Z | 2018-03-07T15:05:23.000Z | geometry/angles.hpp | marceldallagnol/omim | 774de15a3b8c369acbf412f15a1db61717358262 | [
"Apache-2.0"
] | 1 | 2019-08-09T21:31:29.000Z | 2019-08-09T21:31:29.000Z | #pragma once
#include "geometry/point2d.hpp"
#include "base/matrix.hpp"
#include "std/cmath.hpp"
#include "std/string.hpp"
namespace ang
{
template <typename T>
class Angle
{
T m_val;
T m_sin;
T m_cos;
public:
Angle() : m_val(0), m_sin(0), m_cos(1) {}
Angle(T const & val) : m_val(val),... | 23.492537 | 122 | 0.58831 | [
"geometry",
"vector"
] |
0376fe373c8e64c7766b792233fbebf7af92f5f5 | 16,755 | cc | C++ | Chapter12/examples-ch12.cc | Vaibhav-Kashyap/Mastering-cpp-stl17-packt | b28dbbb89ad6caf65b614312102162178bd4618b | [
"MIT"
] | 89 | 2017-10-29T23:05:25.000Z | 2022-03-06T07:47:15.000Z | Chapter12/examples-ch12.cc | harkhuang/Mastering-the-Cpp17-STL | b28dbbb89ad6caf65b614312102162178bd4618b | [
"MIT"
] | null | null | null | Chapter12/examples-ch12.cc | harkhuang/Mastering-the-Cpp17-STL | b28dbbb89ad6caf65b614312102162178bd4618b | [
"MIT"
] | 43 | 2017-09-28T06:17:17.000Z | 2022-03-06T07:47:38.000Z | #include <cassert>
#include <chrono>
#include <cstdio>
#include <fstream>
#include <future>
#include <iostream>
#include <string>
#define USE_BOOST 1
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
#define u8string string
#if 0
#include <charconv>
#else
#include <system_error>
namespace std {
... | 23.598592 | 126 | 0.627216 | [
"object",
"vector"
] |
037be70ad2a2b8ae7a3a4b517a8e5b321fea5a4c | 6,244 | hpp | C++ | rr_evgp/src/costmap_plugins/skeletonize.hpp | ebretl/roboracing-software | 8803c97a885500069d04e70894b19f807ae5baf9 | [
"MIT"
] | null | null | null | rr_evgp/src/costmap_plugins/skeletonize.hpp | ebretl/roboracing-software | 8803c97a885500069d04e70894b19f807ae5baf9 | [
"MIT"
] | null | null | null | rr_evgp/src/costmap_plugins/skeletonize.hpp | ebretl/roboracing-software | 8803c97a885500069d04e70894b19f807ae5baf9 | [
"MIT"
] | null | null | null | #include <opencv2/opencv.hpp>
namespace rr {
cv::Mat thinObstacles(const cv::Mat& grid_in) {
std::vector<cv::Point> points;
cv::findNonZero(grid_in, points);
cv::Rect r = cv::boundingRect(points);
// Zhang thinning "A Fast Parallel Algorithm for Thinning Digital Patterns"
// ref https://rosettaco... | 39.27044 | 120 | 0.462524 | [
"vector"
] |
037dc48f1359f0f66ce2e4a215f972e3632a6d67 | 75,208 | cpp | C++ | src/ode/ode/src/ode_MT/clustering/cluster.cpp | victorhu3/webots | 60d173850f0b4714c500db004e69f2df8cfb9e8a | [
"Apache-2.0"
] | 1,561 | 2019-09-04T11:32:32.000Z | 2022-03-31T18:00:09.000Z | src/ode/ode/src/ode_MT/clustering/cluster.cpp | victorhu3/webots | 60d173850f0b4714c500db004e69f2df8cfb9e8a | [
"Apache-2.0"
] | 2,184 | 2019-09-03T11:35:02.000Z | 2022-03-31T10:01:44.000Z | src/ode/ode/src/ode_MT/clustering/cluster.cpp | victorhu3/webots | 60d173850f0b4714c500db004e69f2df8cfb9e8a | [
"Apache-2.0"
] | 1,013 | 2019-09-07T05:09:32.000Z | 2022-03-31T13:01:28.000Z | #include "cluster.h"
#include "collision_kernel.h"
#include "joints/joints.h"
#include "ode/objects.h"
#include "util.h"
#include "ode/odemath.h"
#include "collision_std.h"
#include "heightfield.h"
#include "collision_trimesh_internal.h"
// Externally defined functions
extern void addObjectToList( dObject *obj, dObjec... | 36.776528 | 241 | 0.594126 | [
"geometry",
"object",
"vector",
"transform"
] |
037f97fc0eb8a2c0d15a1aaf7c37845ba4e2fd81 | 3,797 | cpp | C++ | code/sg-parser.cpp | Pascal-So/StreamGraph | 2f2954c30973d891d23476dcda9c37ab4125c77c | [
"MIT"
] | null | null | null | code/sg-parser.cpp | Pascal-So/StreamGraph | 2f2954c30973d891d23476dcda9c37ab4125c77c | [
"MIT"
] | null | null | null | code/sg-parser.cpp | Pascal-So/StreamGraph | 2f2954c30973d891d23476dcda9c37ab4125c77c | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include "sg-parser.hpp"
#include "sg-helpers.hpp"
std::string strip_bash_comments(std::string command){
// this variable will be set to 0 while outside a
// quote, and inside a quote it will hold the
// character used to quote.
char quote_char = 0;
// if the current charac... | 28.125926 | 84 | 0.627337 | [
"vector"
] |
03809e78177afa7e42a898f82599be261e73e732 | 5,777 | cc | C++ | dbs/src/model/DescribeBackupPlanListResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | 3 | 2020-01-06T08:23:14.000Z | 2022-01-22T04:41:35.000Z | dbs/src/model/DescribeBackupPlanListResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | dbs/src/model/DescribeBackupPlanListResult.cc | sdk-team/aliyun-openapi-cpp-sdk | d0e92f6f33126dcdc7e40f60582304faf2c229b7 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 36.333333 | 116 | 0.755409 | [
"vector",
"model"
] |
0389490f992450d92f36568028345df2d357ffc3 | 16,008 | cpp | C++ | apps/examples/multi_window_example/multi_window_example_app/multi_window_example_app.cpp | themancalledjakob/island | 8925045a6ffb596e960ae17412848f40249ebe24 | [
"MIT"
] | 542 | 2020-05-28T18:15:12.000Z | 2022-03-05T19:53:59.000Z | apps/examples/multi_window_example/multi_window_example_app/multi_window_example_app.cpp | themancalledjakob/island | 8925045a6ffb596e960ae17412848f40249ebe24 | [
"MIT"
] | 23 | 2020-06-12T19:40:21.000Z | 2021-11-11T19:44:02.000Z | apps/examples/multi_window_example/multi_window_example_app/multi_window_example_app.cpp | themancalledjakob/island | 8925045a6ffb596e960ae17412848f40249ebe24 | [
"MIT"
] | 23 | 2020-05-28T19:21:50.000Z | 2021-11-11T18:56:30.000Z | #include "multi_window_example_app.h"
#include "le_window.h"
#include "le_renderer.h"
#include "le_camera.h"
#include "le_pipeline_builder.h"
#include "le_ui_event.h"
#include "le_mesh.h"
#define GLM_FORCE_DEPTH_ZERO_TO_ONE // vulkan clip space is from 0 to 1
#define GLM_FORCE_RIGHT_HANDED // glTF uses right h... | 33.630252 | 126 | 0.636057 | [
"mesh",
"vector",
"model"
] |
03928687c92920fee5f9b440d1d5058f6335b87c | 2,026 | cpp | C++ | test/cppunit_tests/WarpedUnitTest.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 12 | 2015-03-13T09:58:25.000Z | 2021-09-23T11:48:42.000Z | test/cppunit_tests/WarpedUnitTest.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | 1 | 2015-12-09T05:21:44.000Z | 2015-12-17T19:37:12.000Z | test/cppunit_tests/WarpedUnitTest.cpp | wilseypa/warped | 8842cf88b11213b6b69e53de5e969c4e3c2c8bd5 | [
"MIT"
] | null | null | null | #include "WarpedUnitTest.h"
Event*
WarpedUnitTest::getEvent1() {
static Event* event1 = new UnitTestEvent(IntVTime::getIntVTimeZero(), getSimObj1ID());
return event1;
}
Event*
WarpedUnitTest::getEvent2() {
static Event* event2 = new UnitTestEvent(IntVTime::getIntVTimeZero(), getSimObj1ID());
return ev... | 27.378378 | 90 | 0.614018 | [
"vector"
] |
039a8c3eb510e43fc34abec7d934ad27d3f69d4c | 2,241 | hpp | C++ | include/GTGE/Physics.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 31 | 2015-03-19T08:44:48.000Z | 2021-12-15T20:52:31.000Z | include/GTGE/Physics.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 19 | 2015-07-09T09:02:44.000Z | 2016-06-09T03:51:03.000Z | include/GTGE/Physics.hpp | mackron/GTGameEngine | 380d1e01774fe6bc2940979e4e5983deef0bf082 | [
"BSD-3-Clause"
] | 3 | 2017-10-04T23:38:18.000Z | 2022-03-07T08:27:13.000Z | // Copyright (C) 2011 - 2014 David Reid. See included LICENCE.
#ifndef GT_Physics
#define GT_Physics
#include "Physics/CollisionWorld.hpp"
#include "Physics/DynamicsWorld.hpp"
#include "Physics/SceneNodeMotionState.hpp"
#include "Physics/btEllipsoidShape.hpp"
#include "Physics/StaticMeshCollisionShape.hpp"
... | 26.678571 | 125 | 0.587238 | [
"object",
"shape",
"transform"
] |
039e80417cdc83a8a08df6edfd129f0e801efdf2 | 253 | cpp | C++ | ports/sysutils/intel-pcm/dragonfly/patch-dashboard.cpp | zrj-rimwis/DeltaPorts | 4aa1e3e6aa12300fd9dd3f3b4501cde94b12b4a9 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ports/sysutils/intel-pcm/dragonfly/patch-dashboard.cpp | zrj-rimwis/DeltaPorts | 4aa1e3e6aa12300fd9dd3f3b4501cde94b12b4a9 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | ports/sysutils/intel-pcm/dragonfly/patch-dashboard.cpp | zrj-rimwis/DeltaPorts | 4aa1e3e6aa12300fd9dd3f3b4501cde94b12b4a9 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | --- dashboard.cpp.orig 2021-05-15 15:52:05 UTC
+++ dashboard.cpp
@@ -13,6 +13,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIG
#include <vector>
#include <memory>
+#include <mutex>
#include <unistd.h>
#include "cpucounters.h"
#include "dashboard.h"
| 23 | 58 | 0.683794 | [
"vector"
] |
03a1e8c10dd92acb93f47448051508fb37a77b9d | 3,073 | cpp | C++ | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-config/source/model/Evaluation.cpp | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | 2 | 2019-02-08T21:29:57.000Z | 2021-07-27T06:59:19.000Z | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-config/source/model/Evaluation.cpp | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | null | null | null | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-config/source/model/Evaluation.cpp | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | 24.388889 | 109 | 0.760169 | [
"model"
] |
03a6d484443f12c174cb8301b78978716f29e836 | 870 | cpp | C++ | codeforces/manthan16/B/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | codeforces/manthan16/B/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | 19 | 2016-05-04T02:46:31.000Z | 2021-11-27T06:18:33.000Z | codeforces/manthan16/B/main.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
template<typename P, typename Q>
ostream& operator << (ostream& os, pair<P, Q> p)
{
os << "(" << p.first <<... | 18.125 | 49 | 0.493103 | [
"vector"
] |
03afd7239f569a64149d0bd8b9b872164d414f07 | 11,647 | cpp | C++ | artifact/storm/src/storm/storage/dd/sylvan/SylvanAddIterator.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/storage/dd/sylvan/SylvanAddIterator.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | null | null | null | artifact/storm/src/storm/storage/dd/sylvan/SylvanAddIterator.cpp | glatteis/tacas21-artifact | 30b4f522bd3bdb4bebccbfae93f19851084a3db5 | [
"MIT"
] | 1 | 2022-02-05T12:39:53.000Z | 2022-02-05T12:39:53.000Z | #include "storm/storage/dd/sylvan/SylvanAddIterator.h"
#include "storm/storage/dd/sylvan/InternalSylvanAdd.h"
#include "storm/storage/dd/DdManager.h"
#include "storm/storage/expressions/ExpressionManager.h"
#include "storm/utility/macros.h"
#include "storm/exceptions/NotImplementedException.h"
#include <cmath>
#in... | 58.235 | 621 | 0.606251 | [
"vector"
] |
03c710b1d4e0fca9dbece7a6a9a532ff127a6a64 | 128,420 | cpp | C++ | 3rdparty/GPSTk/ext/lib/Geomatics/EarthOrientation.cpp | mfkiwl/ICE | e660d031bb1bcea664db1de4946fd8781be5b627 | [
"MIT"
] | 50 | 2019-10-12T01:22:20.000Z | 2022-02-15T23:28:26.000Z | 3rdparty/GPSTk/ext/lib/Geomatics/EarthOrientation.cpp | wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation | 2f1ff054b7c5059da80bb3b2f80c05861a02cc36 | [
"MIT"
] | null | null | null | 3rdparty/GPSTk/ext/lib/Geomatics/EarthOrientation.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 | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; ei... | 44.221763 | 86 | 0.507616 | [
"object",
"vector",
"model"
] |
03cc8de682582be0c07edeb397b0b0e453b1366b | 61,133 | cpp | C++ | pwiz_tools/Bumbershoot/myrimatch/myrimatch.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz_tools/Bumbershoot/myrimatch/myrimatch.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | pwiz_tools/Bumbershoot/myrimatch/myrimatch.cpp | austinkeller/pwiz | aa8e575cb40fd5e97cc7d922e4d8da44c9277cca | [
"Apache-2.0"
] | null | null | null | //
// $Id$
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software... | 45.861215 | 207 | 0.484419 | [
"vector"
] |
03cdc95e2ba6813da83b3d346f17fcc4dde0c0db | 470 | cpp | C++ | Algorithms/Graph-Theory/journey-to-the-moon.cpp | RitvijSrivastava/Hackerrank-1 | 781e60ff18b581bda88be63bd095118778bc2d56 | [
"MIT"
] | 29 | 2018-10-08T18:14:09.000Z | 2021-10-10T08:37:06.000Z | Algorithms/Graph-Theory/journey-to-the-moon.cpp | RitvijSrivastava/Hackerrank-1 | 781e60ff18b581bda88be63bd095118778bc2d56 | [
"MIT"
] | 36 | 2018-10-03T18:39:26.000Z | 2021-10-08T21:21:40.000Z | Algorithms/Graph-Theory/journey-to-the-moon.cpp | RitvijSrivastava/Hackerrank-1 | 781e60ff18b581bda88be63bd095118778bc2d56 | [
"MIT"
] | 86 | 2018-10-03T19:19:40.000Z | 2021-12-23T11:59:22.000Z | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
vector<vector<int>> g;
int n, m, x, y, c=0, i, j;
cin>>n>>m;
g.resize(n, vector<int>(n, 0));
for(i=0; i<n; i++) g[i][i] = 1;
while(m--) {
cin>>x>>y;
g[... | 18.076923 | 35 | 0.440426 | [
"vector"
] |
03d0311bf3ab02e110dd3db87b86307e70a36655 | 15,987 | cpp | C++ | demo/wiced-43xxx/rama_mqtt/rama_mqtt.cpp | OlafFilies/holonomic | 99858d87032082a48c452ef37ac33d26a9cc752c | [
"MIT"
] | 1 | 2021-07-27T16:19:56.000Z | 2021-07-27T16:19:56.000Z | demo/wiced-43xxx/rama_mqtt/rama_mqtt.cpp | OlafFilies/holonomic | 99858d87032082a48c452ef37ac33d26a9cc752c | [
"MIT"
] | null | null | null | demo/wiced-43xxx/rama_mqtt/rama_mqtt.cpp | OlafFilies/holonomic | 99858d87032082a48c452ef37ac33d26a9cc752c | [
"MIT"
] | null | null | null | /**
* ============================================================================
* \name : Rama Killough a holonomic driving platform
* \author : Dr. Olaf Filies, Marcus Gordon Filies
* \version : 0.0.1
* \copyright : Infineon Technologies AG
* \brief Controlling 3 wheel holonomic platf... | 33.099379 | 189 | 0.632889 | [
"object"
] |
03d201fdf723cd7898c8e1a712c5b979b3305354 | 1,524 | cpp | C++ | codeforces/1511/b/b.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 3 | 2020-02-08T10:34:16.000Z | 2020-02-09T10:23:19.000Z | codeforces/1511/b/b.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | null | null | null | codeforces/1511/b/b.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 2 | 2020-10-02T19:05:32.000Z | 2021-09-08T07:01:49.000Z | #include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
#include "/debug.h"
#else
#define db(...)
#endif
#define all(v) v.begin(), v.end()
#define pb push_back
using ll = long long;
const int NAX = 2e5 + 5, MOD = 1000000007;
const int NAX_PRIME = 2e5 + 5;
bool is_composite[NAX_PRIME];
vector<int> primes;
vector<... | 18.361446 | 57 | 0.459974 | [
"vector"
] |
03d7775a277eca22e5bc8ab88aa2b74eb7cfb15c | 3,741 | cpp | C++ | src/SpectralClustering/Kmeans.cpp | gbull122/SpectralClustering | 76c1ab9e06a88a40807b5dad6f15bac9efb2da52 | [
"MIT"
] | 2 | 2020-01-03T03:25:11.000Z | 2020-04-20T15:50:32.000Z | src/SpectralClustering/Kmeans.cpp | gbull122/SpectralClustering | 76c1ab9e06a88a40807b5dad6f15bac9efb2da52 | [
"MIT"
] | null | null | null | src/SpectralClustering/Kmeans.cpp | gbull122/SpectralClustering | 76c1ab9e06a88a40807b5dad6f15bac9efb2da52 | [
"MIT"
] | null | null | null | /*
* Kmeans.cpp
*
* Created on: 04-Mar-2009
* Author: sbutler
*/
#define EIGEN2_SUPPORT
#include "Kmeans.h"
#include <map>
#include <iostream>
Kmeans::Kmeans() {
}
Kmeans::~Kmeans() {
}
/**
* kmeans clustering
* based on kmeans matlab script by Ian T Nabney (1996-2001)
*
* @param data affinity matr... | 23.092593 | 102 | 0.603849 | [
"vector"
] |
03d79832aaeeadaae7c5387b0589446f4b21beb3 | 21,430 | cpp | C++ | Graphics/GraphicsEngineD3D11/src/PipelineStateD3D11Impl.cpp | azhirnov/DiligentCore | 28ad08478938d8c910195eff169513cd4eef9e3e | [
"Apache-2.0"
] | null | null | null | Graphics/GraphicsEngineD3D11/src/PipelineStateD3D11Impl.cpp | azhirnov/DiligentCore | 28ad08478938d8c910195eff169513cd4eef9e3e | [
"Apache-2.0"
] | null | null | null | Graphics/GraphicsEngineD3D11/src/PipelineStateD3D11Impl.cpp | azhirnov/DiligentCore | 28ad08478938d8c910195eff169513cd4eef9e3e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-2021 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* 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/LICENS... | 42.435644 | 232 | 0.652217 | [
"object",
"vector"
] |
03dca44ccf5356346812f0411ba979e38d9f61d0 | 7,652 | cpp | C++ | src/Backend/Window/Backend.cpp | texus/TGUI | 87042f5dfafe9421d8a916b23ce7575d16f06d4c | [
"Zlib"
] | 543 | 2015-01-03T22:53:59.000Z | 2022-03-25T08:55:45.000Z | src/Backend/Window/Backend.cpp | texus/TGUI | 87042f5dfafe9421d8a916b23ce7575d16f06d4c | [
"Zlib"
] | 118 | 2015-01-21T12:22:58.000Z | 2022-03-31T17:05:33.000Z | src/Backend/Window/Backend.cpp | texus/TGUI | 87042f5dfafe9421d8a916b23ce7575d16f06d4c | [
"Zlib"
] | 111 | 2015-02-02T13:22:13.000Z | 2022-03-31T08:09:40.000Z | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TGUI - Texus' Graphical User Interface
// Copyright (C) 2012-2021 Bruno Van de Velde (vdv_b@tgui.eu)
//
// This software is provided 'as-is', without any express or implied warranty.
/... | 38.26 | 170 | 0.381469 | [
"object"
] |
03de80207f1aaebd780ecca1ccc0d5b0a6ff69eb | 11,251 | cpp | C++ | ullr/src/ullr/graphics/loader/assimpModelLoader.cpp | jonestristand/UllrEngine | cb7e7e2e07afd9e8926d0b05fcba3c7201ec0355 | [
"Apache-2.0"
] | null | null | null | ullr/src/ullr/graphics/loader/assimpModelLoader.cpp | jonestristand/UllrEngine | cb7e7e2e07afd9e8926d0b05fcba3c7201ec0355 | [
"Apache-2.0"
] | null | null | null | ullr/src/ullr/graphics/loader/assimpModelLoader.cpp | jonestristand/UllrEngine | cb7e7e2e07afd9e8926d0b05fcba3c7201ec0355 | [
"Apache-2.0"
] | null | null | null | #include "ullrpch.h"
#include "assimpModelLoader.h"
#include "assimp/Importer.hpp"
#include "assimp/scene.h"
#include "assimp/postprocess.h"
#include "stb_image.h"
#include <iostream>
#include "ullr/graphics/animation/animatedModel.h"
#include "ullr/graphics/animation/jointTransform.h"
namespace Ullr::Graphics::Lo... | 37.755034 | 177 | 0.656119 | [
"mesh",
"vector",
"model",
"transform"
] |
03e0c008215be77e888d5ee6f71bb79b5eef03bd | 8,718 | cpp | C++ | frontend/parser/Variable.cpp | patrickf2000/tiny-lang | 0339bf046be53e31130c47a9eae4c0a62fe5a1a6 | [
"BSD-3-Clause"
] | null | null | null | frontend/parser/Variable.cpp | patrickf2000/tiny-lang | 0339bf046be53e31130c47a9eae4c0a62fe5a1a6 | [
"BSD-3-Clause"
] | null | null | null | frontend/parser/Variable.cpp | patrickf2000/tiny-lang | 0339bf046be53e31130c47a9eae4c0a62fe5a1a6 | [
"BSD-3-Clause"
] | null | null | null | //
// Copyright 2021-2022 Patrick Flynn
// This file is part of the Tiny Lang compiler.
// Tiny Lang is licensed under the BSD-3 license. See the COPYING file for more information.
//
#include <iostream>
#include <string>
#include <vector>
#include <parser/Parser.hpp>
#include <ast.hpp>
// Builds a variable declarati... | 33.660232 | 98 | 0.580294 | [
"vector"
] |
03e3b18407a366794d23a8cea3890b6a7b6997f9 | 3,083 | hpp | C++ | src/framework/results/result.hpp | garrison/qiskit-aer | 24c51a675b8653c8ad2af587d40b795ac94c07c7 | [
"Apache-2.0"
] | 313 | 2018-12-19T09:19:12.000Z | 2022-03-21T18:15:41.000Z | src/framework/results/result.hpp | garrison/qiskit-aer | 24c51a675b8653c8ad2af587d40b795ac94c07c7 | [
"Apache-2.0"
] | 933 | 2018-12-21T02:56:49.000Z | 2022-03-30T01:19:54.000Z | src/framework/results/result.hpp | chriseclectic/qiskit-aer | 61b028b7ccd1d6e96c8de48a10648c0bc3c07ff9 | [
"Apache-2.0"
] | 313 | 2018-12-19T14:52:55.000Z | 2022-02-28T20:20:14.000Z | /**
* This code is part of Qiskit.
*
* (C) Copyright IBM 2018, 2019.
*
* This code is licensed under the Apache License, Version 2.0. You may
* obtain a copy of this license in the LICENSE.txt file in the root directory
* of this source tree or at http://www.apache.org/licenses/LICENSE-2.0.
*
* Any modificatio... | 28.813084 | 80 | 0.570873 | [
"vector"
] |
03e957a239a8bf81a58de9bf8d141b017fd2c272 | 5,836 | cc | C++ | src/core/http_module_static.cc | archilleu/muinx | 5b9cae589a0b3b1ca126912ca7bbda6c9f8d8e35 | [
"Unlicense"
] | null | null | null | src/core/http_module_static.cc | archilleu/muinx | 5b9cae589a0b3b1ca126912ca7bbda6c9f8d8e35 | [
"Unlicense"
] | null | null | null | src/core/http_module_static.cc | archilleu/muinx | 5b9cae589a0b3b1ca126912ca7bbda6c9f8d8e35 | [
"Unlicense"
] | null | null | null | //---------------------------------------------------------------------------
#include <memory>
#include <sys/types.h>
#include <sys/stat.h>
#include "defines.h"
#include "base/include/function.h"
#include "../tools/muinx_logger.h"
#include "http_module_core.h"
#include "http_module_static.h"
#include "http_module_filt... | 31.545946 | 128 | 0.546436 | [
"vector"
] |
03f081849a2bcbe24f6bf8059affe56970764b59 | 7,223 | cpp | C++ | machine-learning/small-tasks/support-vector-machine.cpp | nothingelsematters/university | 5561969b1b11678228aaf7e6660e8b1a93d10294 | [
"WTFPL"
] | 1 | 2018-06-03T17:48:50.000Z | 2018-06-03T17:48:50.000Z | machine-learning/small-tasks/support-vector-machine.cpp | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | null | null | null | machine-learning/small-tasks/support-vector-machine.cpp | nothingelsematters/University | b1e188cb59e5a436731b92c914494626a99e1ae0 | [
"WTFPL"
] | 14 | 2019-04-07T21:27:09.000Z | 2021-12-05T13:37:25.000Z | #include <iostream>
#include <iomanip>
#include <limits>
#include <algorithm>
#include <vector>
#include <set>
#include <random>
using std::pair;
using std::vector;
using std::set;
using std::mt19937;
class SupportVectorMachine {
public:
SupportVectorMachine(
vector<vector<double>> objects,
vect... | 27.154135 | 120 | 0.473903 | [
"vector"
] |
03f5e8bf7cf3db8d96793f09ce004c2ca670ca88 | 7,488 | cc | C++ | mysql-dst/mysql-cluster/unittest/gunit/byteorder-t.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | mysql-dst/mysql-cluster/unittest/gunit/byteorder-t.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | mysql-dst/mysql-cluster/unittest/gunit/byteorder-t.cc | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | /* Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... | 30.315789 | 80 | 0.641827 | [
"vector"
] |
03fb15f6a23abe1fb57ded9db144e021bbdafe9b | 33,486 | cxx | C++ | PWGCF/Correlations/JCORRAN/Pro/AliBSDiJetTask.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWGCF/Correlations/JCORRAN/Pro/AliBSDiJetTask.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWGCF/Correlations/JCORRAN/Pro/AliBSDiJetTask.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | /*************************************************************************
*
* Copyright(c) 1998-2018, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributor... | 35.137461 | 195 | 0.626142 | [
"vector"
] |
03fbda6e266e0acb9e3760ab22d993ad03fc42eb | 2,742 | cpp | C++ | 072.cpp | zawa-tin/practice90 | cbd3378920958727df6ccbf4f1b5f116f0e2ad24 | [
"MIT"
] | null | null | null | 072.cpp | zawa-tin/practice90 | cbd3378920958727df6ccbf4f1b5f116f0e2ad24 | [
"MIT"
] | null | null | null | 072.cpp | zawa-tin/practice90 | cbd3378920958727df6ccbf4f1b5f116f0e2ad24 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
// clang-format off
using namespace std;
#define all(a) a.begin(), a.end()
#define over_load_(_1, _2, _3, _4, NAME, ...) NAME
#define rep(...) over_load_(__VA_ARGS__, rep4, rep3, rep2)(__VA_ARGS__)
#define rep2(i, r) for (int i = 0; i < static_cast<int>(r); (i) += 1)
#define rep3(i, l, r) for... | 28.268041 | 115 | 0.530999 | [
"vector"
] |
03fe6490a5a2eb500a27848beefb4479231d8b61 | 4,645 | cc | C++ | src/default_lemma_job_generator.cc | benjaminkiesl/ut_tamarin | fc58f5e721b9c9577c475ba4768fdb13c81206d1 | [
"MIT"
] | 3 | 2020-09-04T14:02:52.000Z | 2021-08-28T16:44:09.000Z | src/default_lemma_job_generator.cc | benjaminkiesl/ut_tamarin | fc58f5e721b9c9577c475ba4768fdb13c81206d1 | [
"MIT"
] | 2 | 2021-08-25T10:38:58.000Z | 2021-10-07T10:18:02.000Z | src/default_lemma_job_generator.cc | benjaminkiesl/ut_tamarin | fc58f5e721b9c9577c475ba4768fdb13c81206d1 | [
"MIT"
] | null | null | null | // MIT License
//
// Copyright (c) 2020 Benjamin Kiesl
//
// 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, modi... | 38.38843 | 79 | 0.637675 | [
"vector"
] |
ff01449a5ec55672d519dfcf0d79d8e5ffe0b635 | 4,462 | cc | C++ | libs/quadwild/libs/CoMISo/NSolver/COMISOSolver.cc | Pentacode-IAFA/Quad-Remeshing | f8fd4c10abf1c54656b38a00b8a698b952a85fe2 | [
"Apache-2.0"
] | 29 | 2019-11-27T00:43:07.000Z | 2020-02-25T14:35:54.000Z | libs/quadwild/libs/CoMISo/NSolver/COMISOSolver.cc | Pentacode-IAFA/Quad-Remeshing | f8fd4c10abf1c54656b38a00b8a698b952a85fe2 | [
"Apache-2.0"
] | 1 | 2018-11-14T23:14:58.000Z | 2018-11-14T23:14:58.000Z | libs/quadwild/libs/CoMISo/NSolver/COMISOSolver.cc | Pentacode-IAFA/Quad-Remeshing | f8fd4c10abf1c54656b38a00b8a698b952a85fe2 | [
"Apache-2.0"
] | 4 | 2019-11-27T05:19:03.000Z | 2020-03-23T22:49:53.000Z | //=============================================================================
//
// CLASS COMISOSolver - IMPLEMENTATION
//
//=============================================================================
//== INCLUDES =================================================================
//== COMPILE-TIME PACKAGE REQUIR... | 31.64539 | 108 | 0.452488 | [
"vector",
"model"
] |
ff0157b19b0ce5daa66f1d73b16b2e0950b44a9f | 1,618 | cpp | C++ | tooltip.cpp | darkoppressor/huberts-island-adventure-mouse-o-war | 9ff8d9e2c2b388bf762a0e463238794fb0233df8 | [
"MIT"
] | null | null | null | tooltip.cpp | darkoppressor/huberts-island-adventure-mouse-o-war | 9ff8d9e2c2b388bf762a0e463238794fb0233df8 | [
"MIT"
] | null | null | null | tooltip.cpp | darkoppressor/huberts-island-adventure-mouse-o-war | 9ff8d9e2c2b388bf762a0e463238794fb0233df8 | [
"MIT"
] | null | null | null | /* Copyright (c) 2012-2013 Cheese and Bacon Games, LLC */
/* See the file docs/COPYING.txt for copying permission. */
#include "tooltip.h"
#include "world.h"
#include "render.h"
#include "holidays.h"
using namespace std;
Tooltip::Tooltip(){
on=false;
message="";
//Starting coordinates.
x=0;
y=0... | 20.481013 | 78 | 0.563659 | [
"render"
] |
ff0198156a0b632b6887fd70429ba00c81a5dad2 | 829 | hpp | C++ | flare_skia/include/flare_skia/skr_actor_base_path.hpp | taehyub/flare_cpp | 7731bc0bcf2ce721f103586a48f74aa5c12504e8 | [
"MIT"
] | null | null | null | flare_skia/include/flare_skia/skr_actor_base_path.hpp | taehyub/flare_cpp | 7731bc0bcf2ce721f103586a48f74aa5c12504e8 | [
"MIT"
] | null | null | null | flare_skia/include/flare_skia/skr_actor_base_path.hpp | taehyub/flare_cpp | 7731bc0bcf2ce721f103586a48f74aa5c12504e8 | [
"MIT"
] | null | null | null | #ifndef _SKR_ACTOR_BASE_PATH_HPP_
#define _SKR_ACTOR_BASE_PATH_HPP_
#include "SkPath.h"
#include <thorvg.h>
class SkPath;
namespace flare
{
class ActorBasePath;
class SkrActorBasePath
{
SkPath m_Path;
ActorBasePath* m_BasePath;
protected:
bool m_IsPathValid;
private:
void updatePath();
protected:
... | 15.641509 | 60 | 0.73462 | [
"shape"
] |
ff0cb3705cb8aa6a4ff82762e31599be36d5bce0 | 3,686 | cpp | C++ | libs/hwui/tests/common/scenes/SimpleColorMatrixAnimation.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 164 | 2015-01-05T16:49:11.000Z | 2022-03-29T20:40:27.000Z | libs/hwui/tests/common/scenes/SimpleColorMatrixAnimation.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 127 | 2015-01-12T12:02:32.000Z | 2021-11-28T08:46:25.000Z | libs/hwui/tests/common/scenes/SimpleColorMatrixAnimation.cpp | rio-31/android_frameworks_base-1 | 091a068a3288d27d77636708679dde58b7b7fd25 | [
"Apache-2.0"
] | 1,141 | 2015-01-01T22:54:40.000Z | 2022-02-09T22:08:26.000Z | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 42.367816 | 99 | 0.594954 | [
"vector"
] |
d42e7d773f5e8b68e59ef7a309ccf2499715f6ef | 6,193 | cc | C++ | content/browser/cache_storage/cross_sequence/cross_sequence_cache_storage_manager.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/cache_storage/cross_sequence/cross_sequence_cache_storage_manager.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/cache_storage/cross_sequence/cross_sequence_cache_storage_manager.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "content/browser/cache_storage/cross_sequence/cross_sequence_cache_storage_manager.h"
#include "base/bind_helpers.h"
#include "content/browser/c... | 41.563758 | 94 | 0.772485 | [
"object"
] |
d42feaf001fc2432f733381ac5085b1489588c97 | 19,423 | cc | C++ | test/gtest/ucp/test_ucp_peer_failure.cc | lemonrock/ucx-patches | e20898d1c139225068d7354dbdf094444d642de4 | [
"BSD-3-Clause"
] | 1 | 2021-04-12T09:07:21.000Z | 2021-04-12T09:07:21.000Z | test/gtest/ucp/test_ucp_peer_failure.cc | lemonrock/ucx-patches | e20898d1c139225068d7354dbdf094444d642de4 | [
"BSD-3-Clause"
] | null | null | null | test/gtest/ucp/test_ucp_peer_failure.cc | lemonrock/ucx-patches | e20898d1c139225068d7354dbdf094444d642de4 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (C) Mellanox Technologies Ltd. 2001-2017. ALL RIGHTS RESERVED.
*
* See file LICENSE for terms.
*/
#include "test_ucp_tag.h"
#include "ucp_datatype.h"
extern "C" {
#include <malloc.h>
}
class test_ucp_peer_failure_base {
protected:
enum {
FAIL_AFTER_WIREUP = ucp_test::DEFAULT_PARAM_VARIA... | 30.113178 | 94 | 0.629666 | [
"vector"
] |
d4356c0f4918ab30aa78d716270b36d54039c1fe | 29,750 | cc | C++ | shill/vpn/l2tp_ipsec_driver_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | shill/vpn/l2tp_ipsec_driver_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | shill/vpn/l2tp_ipsec_driver_test.cc | Toromino/chromiumos-platform2 | 97e6ba18f0e5ab6723f3448a66f82c1a07538d87 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Chromium OS 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 "shill/vpn/l2tp_ipsec_driver.h"
#include <utility>
#include <base/containers/contains.h>
#include <base/files/file_util.h>
#include <base/fi... | 38.387097 | 315 | 0.724739 | [
"vector"
] |
d43f5973c672f50740ed609dbe5489115fc54a86 | 7,171 | cpp | C++ | src/CwshInPlaceCommand.cpp | colinw7/Cwsh | f39e93ca48e92b14a55c1dce8c85b37843cff81e | [
"MIT"
] | 1 | 2021-12-23T02:22:56.000Z | 2021-12-23T02:22:56.000Z | src/CwshInPlaceCommand.cpp | colinw7/Cwsh | f39e93ca48e92b14a55c1dce8c85b37843cff81e | [
"MIT"
] | null | null | null | src/CwshInPlaceCommand.cpp | colinw7/Cwsh | f39e93ca48e92b14a55c1dce8c85b37843cff81e | [
"MIT"
] | null | null | null | #include <CwshI.h>
CwshInPlaceCommand::
CwshInPlaceCommand(Cwsh *cwsh, const CwshWord &word) :
cwsh_(cwsh), word_(word)
{
}
bool
CwshInPlaceCommand::
expand(CwshWordArray &words)
{
bool flag = false;
const CwshSubWordArray &sub_words = word_.getSubWords();
std::string str1;
int num_sub_words = sub_words.s... | 22.339564 | 85 | 0.583601 | [
"vector"
] |
d442209f2c1156b20e22b75e445eee000a811ef3 | 9,857 | cpp | C++ | packages/CLPBN/clpbn/bp/CFactorGraph.cpp | miar/yap-6.3 | 6b2121d03942ba821da87a829b86ce40caf06585 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | null | null | null | packages/CLPBN/clpbn/bp/CFactorGraph.cpp | miar/yap-6.3 | 6b2121d03942ba821da87a829b86ce40caf06585 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | null | null | null | packages/CLPBN/clpbn/bp/CFactorGraph.cpp | miar/yap-6.3 | 6b2121d03942ba821da87a829b86ce40caf06585 | [
"Artistic-1.0-Perl",
"ClArtistic"
] | null | null | null |
#include "CFactorGraph.h"
#include "Factor.h"
bool CFactorGraph::checkForIdenticalFactors = true;
CFactorGraph::CFactorGraph (const FactorGraph& fg)
{
groundFg_ = &fg;
freeColor_ = 0;
const VarNodes& varNodes = fg.varNodes();
varSignatures_.reserve (varNodes.size());
for (unsigned i = 0; i < varNodes.si... | 28.991176 | 73 | 0.610733 | [
"vector"
] |
d447ae09a867b27f4ab8f0b3f7d3aed1bab25f45 | 2,080 | cpp | C++ | src/intheap.cpp | vnetserg/contraction | 9cbc47841359121a1cc7c632f3d2ee02ef6c05fb | [
"MIT"
] | 1 | 2021-03-18T03:13:49.000Z | 2021-03-18T03:13:49.000Z | src/intheap.cpp | vnetserg/contraction | 9cbc47841359121a1cc7c632f3d2ee02ef6c05fb | [
"MIT"
] | null | null | null | src/intheap.cpp | vnetserg/contraction | 9cbc47841359121a1cc7c632f3d2ee02ef6c05fb | [
"MIT"
] | 1 | 2019-10-14T14:35:56.000Z | 2019-10-14T14:35:56.000Z | #include <vector>
#include <math.h>
#include "../include/intheap.hpp"
// PUBLIC
IntHeap::IntHeap(int64_t max_size) : pos(max_size, -1)
{
heap.reserve(sqrt(max_size));
}
void IntHeap::push(int64_t el, int64_t prio)
{
pos[el] = heap.size();
heap.push_back(HeapItem(el, prio));
swim(heap.size()-1);
}
b... | 16.25 | 70 | 0.543269 | [
"vector"
] |
d44d79563d7e523e9592ff106edf061aec3b69ba | 34,023 | cpp | C++ | src/ardrone_driver.cpp | Hurisa/ardrone_autonomy | 1f897b3ed8f74d4cc176cd5867e9152faee20f3b | [
"BSD-3-Clause"
] | null | null | null | src/ardrone_driver.cpp | Hurisa/ardrone_autonomy | 1f897b3ed8f74d4cc176cd5867e9152faee20f3b | [
"BSD-3-Clause"
] | null | null | null | src/ardrone_driver.cpp | Hurisa/ardrone_autonomy | 1f897b3ed8f74d4cc176cd5867e9152faee20f3b | [
"BSD-3-Clause"
] | null | null | null | /**
Software License Agreement (BSD)
\file ardrone_driver.cpp
\authors Mani Monajjemi <mmonajje@sfu.ca>
\copyright Copyright (c) 2012, Autonomy Lab (Simon Fraser University), All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that
the fo... | 39.561628 | 139 | 0.687182 | [
"vector",
"transform"
] |
d4505c15323216eebf000ee1493c8cd11acc7b59 | 2,871 | cpp | C++ | src/audiosystems/OpenSLES/OpenSLES_AudioManager.cpp | Tomcodon/libxal | a40100c5965e463c7596f0a16a1c32cbabdea754 | [
"BSD-3-Clause"
] | null | null | null | src/audiosystems/OpenSLES/OpenSLES_AudioManager.cpp | Tomcodon/libxal | a40100c5965e463c7596f0a16a1c32cbabdea754 | [
"BSD-3-Clause"
] | null | null | null | src/audiosystems/OpenSLES/OpenSLES_AudioManager.cpp | Tomcodon/libxal | a40100c5965e463c7596f0a16a1c32cbabdea754 | [
"BSD-3-Clause"
] | null | null | null | /// @file
/// @version 3.4
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
///
/// @section DESCRIPTION
///
/// Represents an implementation of the AudioManager for OpenSLES.
... | 27.873786 | 116 | 0.710902 | [
"object"
] |
d452b996ba5f210086abbf2eb89b86098ca4d1ff | 1,358 | cpp | C++ | src/strategy/actions/HelpAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 12 | 2022-03-23T05:14:53.000Z | 2022-03-30T12:12:58.000Z | src/strategy/actions/HelpAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 24 | 2022-03-23T13:56:37.000Z | 2022-03-31T18:23:32.000Z | src/strategy/actions/HelpAction.cpp | htc16/mod-playerbots | 2307e3f980035a244bfb4fedefda5bc55903d470 | [
"MIT"
] | 3 | 2022-03-24T21:47:10.000Z | 2022-03-31T06:21:46.000Z | /*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#include "HelpAction.h"
#include "ChatActionContext.h"
#include "Event.h"
#include "Playerbots.h"
HelpAct... | 23.824561 | 205 | 0.664212 | [
"object"
] |
d45347b17671e2bf7dcc47449a6b2bb400da48ff | 6,201 | hpp | C++ | include/bouge/IOModules/XMLParserCommon/XMLSerializer.hpp | lucasb-eyer/bouge | 0ac49789101a6c42c1ef404cc324d1f5ec05d1d8 | [
"Zlib"
] | 3 | 2015-10-10T21:27:00.000Z | 2016-05-29T05:48:23.000Z | include/bouge/IOModules/XMLParserCommon/XMLSerializer.hpp | lucasb-eyer/bouge | 0ac49789101a6c42c1ef404cc324d1f5ec05d1d8 | [
"Zlib"
] | null | null | null | include/bouge/IOModules/XMLParserCommon/XMLSerializer.hpp | lucasb-eyer/bouge | 0ac49789101a6c42c1ef404cc324d1f5ec05d1d8 | [
"Zlib"
] | 1 | 2019-03-18T05:23:45.000Z | 2019-03-18T05:23:45.000Z | ////////////////////////////////////////////////////////////
//
// Bouge - Modern and flexible skeletal animation library
// Copyright (C) 2010 Lucas Beyer (pompei2@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages... | 36.910714 | 102 | 0.627318 | [
"object",
"vector"
] |
d4549a1899e8c5a2357f345f3a88ee80d2b1583a | 1,268 | cc | C++ | leetcode/1-100/91-decode-ways/91.cc | punkieL/proCon | 7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af | [
"MIT"
] | 1 | 2015-10-06T16:27:42.000Z | 2015-10-06T16:27:42.000Z | leetcode/1-100/91-decode-ways/91.cc | punkieL/proCon | 7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af | [
"MIT"
] | 1 | 2015-10-06T16:24:16.000Z | 2015-10-06T16:24:16.000Z | leetcode/1-100/91-decode-ways/91.cc | punkieL/proCon | 7e994d67e5efdf7ac0b1bee5e0b19b317f07e8af | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
int numDecodings(string s) {
if(s.length() < 1) return 0;
vector<int> mem(s.length()+1, 1);
dp(s, mem, 1);
//show(mem);
return mem[s.length()];
}
void dp(string& a, vecto... | 20.126984 | 69 | 0.526814 | [
"vector"
] |
d46dc0497b58261bf3be4828ded0701c4355c630 | 8,052 | cc | C++ | chrome/browser/ui/signin/profile_colors_util.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/ui/signin/profile_colors_util.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/ui/signin/profile_colors_util.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.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/ui/signin/profile_colors_util.h"
#include "base/containers/contains.h"
#include "base/rand_util.h"
#include "build/build_config.... | 38.161137 | 80 | 0.764158 | [
"vector"
] |
d47367d6430d6b11134065ed0ef27e6c16728ee4 | 248 | hpp | C++ | examples/simple/src/for_codegen/3_typeclass_combinations/Spell_MagicItem_typeclass_combo.hpp | mohibqureshi/CXXCTP | db7c80da469fe3511f7d8ac7f7dee7391122dac6 | [
"MIT"
] | 63 | 2019-08-30T11:53:47.000Z | 2021-05-19T06:17:47.000Z | examples/simple/src/for_codegen/3_typeclass_combinations/Spell_MagicItem_typeclass_combo.hpp | mohibqureshi/CXXCTP | db7c80da469fe3511f7d8ac7f7dee7391122dac6 | [
"MIT"
] | 96 | 2019-09-16T05:03:31.000Z | 2020-10-14T14:33:50.000Z | examples/simple/src/for_codegen/3_typeclass_combinations/Spell_MagicItem_typeclass_combo.hpp | mohibqureshi/CXXCTP | db7c80da469fe3511f7d8ac7f7dee7391122dac6 | [
"MIT"
] | 27 | 2019-09-25T10:12:37.000Z | 2020-05-06T02:59:44.000Z | #pragma once
#include "cxxctp_macros.hpp"
#include <vector>
#include <string>
#include <iostream>
// just wraps multiple `traits`, forwards calls
/// \note example of combined typeclasses
$typeclass_combo(
typeclass_combo(Spell, MagicItem)
)
| 17.714286 | 47 | 0.75 | [
"vector"
] |
d47a69699a22af7b1e62e1454dc37e086363ac6d | 25,667 | cc | C++ | decoder/earley_composer.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 114 | 2015-01-11T05:41:03.000Z | 2021-08-31T03:47:12.000Z | decoder/earley_composer.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 29 | 2015-01-09T01:00:09.000Z | 2019-09-25T06:04:02.000Z | decoder/earley_composer.cc | kho/cdec | d88186af251ecae60974b20395ce75807bfdda35 | [
"BSD-3-Clause-LBNL",
"Apache-2.0"
] | 50 | 2015-02-13T13:48:39.000Z | 2019-08-07T09:45:11.000Z | #include "earley_composer.h"
#include <iostream>
#include <fstream>
#include <map>
#include <queue>
#ifndef HAVE_OLD_CPP
# include <unordered_map>
# include <unordered_set>
#else
# include <tr1/unordered_map>
# include <tr1/unordered_set>
namespace std { using std::tr1::unordered_map; using std::tr1::unordered_multise... | 33.683727 | 115 | 0.630381 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.