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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf587ef4acde1693b48b94fe816d0f62da1c7c18 | 58,240 | cc | C++ | pmem-mariadb/sql/multi_range_read.cc | wc222/pmdk-examples | 64aadc3a70471c469ac8e214eb1e04ff47cf18ff | [
"BSD-3-Clause"
] | 1 | 2019-10-31T08:25:52.000Z | 2019-10-31T08:25:52.000Z | pmem-mariadb/sql/multi_range_read.cc | WSCWDA/pmdk-examples | c3d079e52cd18b0e14836ef42bad9a995336bf90 | [
"BSD-3-Clause"
] | 1 | 2021-02-24T05:26:44.000Z | 2021-02-24T05:26:44.000Z | pmem-mariadb/sql/multi_range_read.cc | isabella232/pmdk-examples | be7a5a18ba7bb8931e512f6d552eadf820fa2235 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (C) 2010, 2011 Monty Program Ab
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 the hope that it will be useful,
... | 31.498107 | 86 | 0.648644 | [
"object"
] |
cf60ef629b6a1654e9b882d23de18571116ba661 | 879 | cc | C++ | chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | chrome/browser/ui/app_list/test/app_list_service_test_api_ash.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.000Z | // Copyright 2013 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/app_list/test/app_list_service_test_api_ash.h"
#include "ash/shell.h"
#include "ash/test/app_list_controller_test_api.h"
#inc... | 30.310345 | 74 | 0.76223 | [
"model"
] |
cf61d14b3df537d4d484935c45d0c9d2c48326a4 | 48,249 | cpp | C++ | youbot_simulation/youbot_gazebo_control/src/steered_wheel_base_controller.cpp | Vvlad1slavV/robocup_pkg | f1bb3e7e63391d4207172d7cc0e35ecd0c65c360 | [
"Apache-2.0"
] | null | null | null | youbot_simulation/youbot_gazebo_control/src/steered_wheel_base_controller.cpp | Vvlad1slavV/robocup_pkg | f1bb3e7e63391d4207172d7cc0e35ecd0c65c360 | [
"Apache-2.0"
] | null | null | null | youbot_simulation/youbot_gazebo_control/src/steered_wheel_base_controller.cpp | Vvlad1slavV/robocup_pkg | f1bb3e7e63391d4207172d7cc0e35ecd0c65c360 | [
"Apache-2.0"
] | 1 | 2020-11-16T11:37:01.000Z | 2020-11-16T11:37:01.000Z | /// \file steered_wheel_base_controller.cpp
///
/// \brief Steered-wheel base controller
///
/// Copyright (c) 2013-2014 Wunderkammer Laboratory
///
/// This file contains the source code for SteeredWheelBaseController,
/// a base controller for mobile robots. It works with bases that have two or
/// more independently... | 33.882725 | 182 | 0.648304 | [
"geometry",
"object",
"vector",
"model",
"transform"
] |
cf649557d4fb180bdf613af0890f916d4f26308c | 35,163 | cxx | C++ | SmallUPBP/src/Bre/Bre.cxx | PetrVevoda/smallupbp | 15430256733938d529a2f5c7ef4cdcd940ae4208 | [
"MIT",
"Apache-2.0",
"Unlicense"
] | 107 | 2015-01-27T22:01:49.000Z | 2021-12-27T07:44:25.000Z | SmallUPBP/src/Bre/Bre.cxx | PetrVevoda/smallupbp | 15430256733938d529a2f5c7ef4cdcd940ae4208 | [
"MIT",
"Apache-2.0",
"Unlicense"
] | 1 | 2015-03-17T18:53:59.000Z | 2015-03-17T18:53:59.000Z | SmallUPBP/src/Bre/Bre.cxx | PetrVevoda/smallupbp | 15430256733938d529a2f5c7ef4cdcd940ae4208 | [
"MIT",
"Apache-2.0",
"Unlicense"
] | 17 | 2015-03-12T19:11:30.000Z | 2020-11-30T15:51:23.000Z | /*
* Copyright (C) 2014, Petr Vevoda, Martin Sik (http://cgg.mff.cuni.cz/~sik/),
* Tomas Davidovic (http://www.davidovic.cz), Iliyan Georgiev (http://www.iliyan.com/),
* Jaroslav Krivanek (http://cgg.mff.cuni.cz/~jaroslav/)
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of th... | 34.172012 | 180 | 0.695077 | [
"object",
"vector"
] |
cf6a81ea664648af90cfc6754032a8547694cdcf | 18,907 | cpp | C++ | src/bin/manager/silvia_manager.cpp | identificaatcie/silvia | 2dc4b8b6e31f084692114a820b3a13a56a43b966 | [
"BSD-3-Clause"
] | null | null | null | src/bin/manager/silvia_manager.cpp | identificaatcie/silvia | 2dc4b8b6e31f084692114a820b3a13a56a43b966 | [
"BSD-3-Clause"
] | null | null | null | src/bin/manager/silvia_manager.cpp | identificaatcie/silvia | 2dc4b8b6e31f084692114a820b3a13a56a43b966 | [
"BSD-3-Clause"
] | null | null | null | /* $Id$ */
/*
* Copyright (c) 2014 Antonio de la Piedra
* Copyright (c) 2013 Roland van Rijswijk-Deij
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source cod... | 26.554775 | 153 | 0.657852 | [
"vector"
] |
cf788e69cb80c52ebf47ea9efc5e1ca777065973 | 1,005 | hpp | C++ | othello_cpp/src/colorprint.hpp | Esgrove/othellogame | f11c52f0e399c9402eafcc2249dc433817ae0e46 | [
"MIT"
] | null | null | null | othello_cpp/src/colorprint.hpp | Esgrove/othellogame | f11c52f0e399c9402eafcc2249dc433817ae0e46 | [
"MIT"
] | null | null | null | othello_cpp/src/colorprint.hpp | Esgrove/othellogame | f11c52f0e399c9402eafcc2249dc433817ae0e46 | [
"MIT"
] | null | null | null | //==========================================================
// Colorprint util
// Interface for colored printing
// Akseli Lukkarila
//==========================================================
#pragma once
#include <fmt/color.h>
#include <fmt/ostream.h>
#include <iostream> // std::cout
#include <string> // std::... | 30.454545 | 111 | 0.589055 | [
"object"
] |
cf80a479b6548b7d92590985032ea28ba6effcc8 | 2,078 | cpp | C++ | lib/poplibs_test/Embedding.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | 1 | 2021-02-23T05:58:24.000Z | 2021-02-23T05:58:24.000Z | lib/poplibs_test/Embedding.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | lib/poplibs_test/Embedding.cpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#include "poplibs_test/Embedding.hpp"
#include <poputil/exceptions.hpp>
namespace poplibs_test {
namespace embedding {
void multiSlice(const boost::multi_array<double, 2> &embeddingMatrix,
const std::vector<unsigned> &indices,
... | 34.633333 | 79 | 0.604909 | [
"shape",
"vector"
] |
cf8e2dcde3733dd7215dd78e903b25e3838f3906 | 1,675 | cpp | C++ | atcoder/abc/abc138/d.cpp | yu3mars/proconVSCodeGcc | fcf36165bb14fb6f555664355e05dd08d12e426b | [
"MIT"
] | null | null | null | atcoder/abc/abc138/d.cpp | yu3mars/proconVSCodeGcc | fcf36165bb14fb6f555664355e05dd08d12e426b | [
"MIT"
] | null | null | null | atcoder/abc/abc138/d.cpp | yu3mars/proconVSCodeGcc | fcf36165bb14fb6f555664355e05dd08d12e426b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define all(x) (x).begin(),(x).end()
#define m0(x) memset(x,0,sizeof(x))
int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1,... | 19.476744 | 58 | 0.421493 | [
"vector"
] |
cf9c0cc6b32c498d7570b501194faffff8882ddf | 60,348 | cc | C++ | src/socket.cc | ymrdf/socketjs | 683cc160f2dd2a2ac638af04ad801e46b6ebeea2 | [
"MIT"
] | 1 | 2021-03-01T07:19:26.000Z | 2021-03-01T07:19:26.000Z | src/socket.cc | ymrdf/socketjs | 683cc160f2dd2a2ac638af04ad801e46b6ebeea2 | [
"MIT"
] | null | null | null | src/socket.cc | ymrdf/socketjs | 683cc160f2dd2a2ac638af04ad801e46b6ebeea2 | [
"MIT"
] | null | null | null | // socket.cc
#include "socket.h"
namespace node_socket {
sockaddr_in value_to_addr(Napi::Value orgv){
Napi::Object addr = orgv.As<Napi::Object>();
int sin_family = addr.Get("sin_family").As<Napi::Number>().Int32Value();
int sin_port = addr.Get("sin_port").As<Napi::Number>().Int32Value();
unsigned in... | 29.904856 | 130 | 0.702061 | [
"object"
] |
cfa7105e2c52b11909a4d7544a91b8f848171bbe | 1,913 | cxx | C++ | competitive_coding/spoj/dp/alicecub.cxx | 5aurabhpathak/src | dda72beba2aaae67542a2f10e89048e86d04cb28 | [
"BSD-3-Clause"
] | 1 | 2021-07-07T06:51:18.000Z | 2021-07-07T06:51:18.000Z | competitive_coding/spoj/dp/alicecub.cxx | 5aurabhpathak/all-I-ve-done | dda72beba2aaae67542a2f10e89048e86d04cb28 | [
"BSD-3-Clause"
] | null | null | null | competitive_coding/spoj/dp/alicecub.cxx | 5aurabhpathak/all-I-ve-done | dda72beba2aaae67542a2f10e89048e86d04cb28 | [
"BSD-3-Clause"
] | 1 | 2020-08-11T09:53:22.000Z | 2020-08-11T09:53:22.000Z | #include <algorithm>
#include <bitset>
#include <climits>
#include <iostream>
#include <queue>
#include <string>
#include <vector>
using namespace std;
struct Vertex
{
bitset<16> b;
int dist;
Vertex(const char *c) : b(bitset<16>(c)), dist(0) {}
};
vector<Vertex> bfs();
vector<Vertex> neighbours(Vertex &, vector<Ve... | 24.21519 | 73 | 0.545217 | [
"vector"
] |
bbb92a1f46548aa004035d14a7c684932cd5956f | 24,008 | cpp | C++ | Source/Cpp/Generated/Time_TypeSupportC.cpp | binary42/OpenDDS | c614bd4207aa962aedc257b669298dbeda05acaa | [
"MIT"
] | 1 | 2019-01-11T12:12:42.000Z | 2019-01-11T12:12:42.000Z | Source/Cpp/Generated/Time_TypeSupportC.cpp | binary42/OpenDDS | c614bd4207aa962aedc257b669298dbeda05acaa | [
"MIT"
] | null | null | null | Source/Cpp/Generated/Time_TypeSupportC.cpp | binary42/OpenDDS | c614bd4207aa962aedc257b669298dbeda05acaa | [
"MIT"
] | null | null | null | // -*- C++ -*-
// $Id$
/**
* Code generated by the The ACE ORB (TAO) IDL Compiler v2.2a_p15
* TAO and the TAO IDL Compiler have been developed by:
* Center for Distributed Object Computing
* Washington University
* St. Louis, MO
* USA
* http://www.cs.wustl.edu/~schmidt/doc-center.h... | 23.888557 | 98 | 0.681481 | [
"object"
] |
bbddfc7711a3e21647a318f093bf2ab41540f6a0 | 7,501 | cpp | C++ | projects/Sandbox/source/Erosion.cpp | TKscoot/Ivy | 3b0a09d719e28c260c8eb5d7fbeb52be876e2af8 | [
"Apache-2.0"
] | 2 | 2021-11-04T04:01:26.000Z | 2021-11-04T04:05:12.000Z | projects/Sandbox/source/Erosion.cpp | TKscoot/Ivy | 3b0a09d719e28c260c8eb5d7fbeb52be876e2af8 | [
"Apache-2.0"
] | null | null | null | projects/Sandbox/source/Erosion.cpp | TKscoot/Ivy | 3b0a09d719e28c260c8eb5d7fbeb52be876e2af8 | [
"Apache-2.0"
] | null | null | null | #include "Erosion.h"
/*#include <cmath>
#include <iostream>
#include <omp.h>
template <compute_mode_e COMPUTE_MODE>
Erosion<COMPUTE_MODE>::Erosion(unsigned mapSize) : mapSize(mapSize)
{
initializeBrushIndices();
}
template <compute_mode_e COMPUTE_MODE>
void Erosion<COMPUTE_MODE>::setSeed(int newSeed)
{
seed = newSe... | 38.466667 | 128 | 0.696574 | [
"vector"
] |
bbe343648b06b3856241fb9ae97ccb47a33e05a4 | 3,854 | cpp | C++ | src/wsjcpp_package_downloader_http.cpp | sea-kg/cppspm | 3f394dabbb28cbc2c957eed038f3eda260039b84 | [
"MIT"
] | 21 | 2020-03-27T17:49:16.000Z | 2020-10-11T10:29:37.000Z | src/wsjcpp_package_downloader_http.cpp | sea-kg/cppspm | 3f394dabbb28cbc2c957eed038f3eda260039b84 | [
"MIT"
] | 104 | 2019-11-22T20:29:47.000Z | 2021-10-06T03:38:16.000Z | src/wsjcpp_package_downloader_http.cpp | sea-kg/cppspm | 3f394dabbb28cbc2c957eed038f3eda260039b84 | [
"MIT"
] | 1 | 2020-05-25T13:54:13.000Z | 2020-05-25T13:54:13.000Z |
#include "wsjcpp_package_downloader_http.h"
#include <wsjcpp_core.h>
#include <wsjcpp_hashes.h>
#include <wsjcpp_package_manager.h>
// ---------------------------------------------------------------------
// WsjcppPackageDownloaderHttp
WsjcppPackageDownloaderHttp::WsjcppPackageDownloaderHttp()
: WsjcppPackageDownl... | 37.057692 | 130 | 0.596264 | [
"vector"
] |
bbed0d7d428e3eb5ab7ee108f3cf75928dfd8969 | 5,205 | cpp | C++ | src/Network.cpp | shans96/basic-neural-network | a9f1aa02f2802cd7f923d88316c9731784b8c4d9 | [
"MIT"
] | null | null | null | src/Network.cpp | shans96/basic-neural-network | a9f1aa02f2802cd7f923d88316c9731784b8c4d9 | [
"MIT"
] | null | null | null | src/Network.cpp | shans96/basic-neural-network | a9f1aa02f2802cd7f923d88316c9731784b8c4d9 | [
"MIT"
] | null | null | null | #include "Network.hpp"
Network::Network(const std::vector<int> layer_data)
: weights(0), biases(0)
{
initialize_layers(layer_data);
generate_weights();
generate_biases();
}
Network::Network(const std::vector<int> layer_data,
std::vector<Eigen::MatrixXd> network_weights, std::vector<Eigen::MatrixXd> networ... | 32.735849 | 148 | 0.708934 | [
"vector"
] |
bbeea1d782b54d11d58a84422f7655845c5074c9 | 4,152 | cpp | C++ | src/modules/adc_readout/test/UDPClientTest.cpp | ess-dmsc/event-formation-un | 62a2842ea7140162ab9625d22b96f6df369ec07c | [
"BSD-2-Clause"
] | 8 | 2017-12-02T09:20:26.000Z | 2022-03-28T08:17:40.000Z | src/modules/adc_readout/test/UDPClientTest.cpp | ess-dmsc/event-formation-un | 62a2842ea7140162ab9625d22b96f6df369ec07c | [
"BSD-2-Clause"
] | 296 | 2017-10-24T09:06:10.000Z | 2022-03-31T07:31:06.000Z | src/modules/adc_readout/test/UDPClientTest.cpp | ess-dmsc/event-formation-un | 62a2842ea7140162ab9625d22b96f6df369ec07c | [
"BSD-2-Clause"
] | 8 | 2018-04-08T15:35:50.000Z | 2021-04-12T05:06:15.000Z | /** Copyright (C) 2018-2020 European Spallation Source ERIC */
/** @file
*
* \brief Unit tests.
*/
#include <adc_readout/UDPClient.h>
#include <common/testutils/TestUDPServer.h>
#include <chrono>
#include <gtest/gtest.h>
using namespace std::chrono_literals;
class UDPClientTest : public ::testing::Test {
public... | 35.487179 | 80 | 0.713391 | [
"vector"
] |
bbf4c243801bef5452611b49ad027887ef174c27 | 45,879 | cpp | C++ | Genesis/LifeOfGaben.cpp | andrewpham/Genesis-Engine | 7e3f35fbb21ffb3820b4ea39c030f0db5eb8f8d5 | [
"MIT"
] | 6 | 2015-07-30T00:21:19.000Z | 2018-01-08T09:11:55.000Z | Genesis/LifeOfGaben.cpp | andrewpham/Genesis-Engine | 7e3f35fbb21ffb3820b4ea39c030f0db5eb8f8d5 | [
"MIT"
] | null | null | null | Genesis/LifeOfGaben.cpp | andrewpham/Genesis-Engine | 7e3f35fbb21ffb3820b4ea39c030f0db5eb8f8d5 | [
"MIT"
] | null | null | null | // GL includes
#include <gengine/Model.h>
#include "LifeOfGaben.h"
genesis::InputManager _gabenGameInputManager;
genesis::ResourceManager _gabenGameResourceManager;
static GLfloat _health = 100.0f;
static GLfloat _secondsSinceDamaged = 0.0f;
Direction vectorDirection(glm::vec2);
glm::quat rotationBetweenVectors(glm::... | 47.200617 | 201 | 0.735086 | [
"geometry",
"render",
"object",
"vector",
"model"
] |
bbfaed82f6a95280fb1295e28ada173649fe31b3 | 1,250 | cpp | C++ | TopicWiseQuestions/DP/Cses/BookShop/main.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | TopicWiseQuestions/DP/Cses/BookShop/main.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | TopicWiseQuestions/DP/Cses/BookShop/main.cpp | jeevanpuchakay/a2oj | f867e9b2ced6619be3ca6b1a1a1838107322782d | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long double ld;
typedef long long int ll;
#define endl "\n"
vector<vector<ll>> adjlist;
ll max(ll x, ll y) { return (x > y) ? x : y; }
ll min(ll x, ll y) { return (x > y) ? y : x; }
#define mod 1000000007
ll cases = 1, n, sum, m;
ll x, y;
void solveCase()
{
cin... | 24.509804 | 115 | 0.4832 | [
"vector"
] |
bbfc01eacaf536f85d3e67134835b146737e37cf | 591,846 | cpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_11.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_11.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/fragmented/Cisco_IOS_XE_native_11.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XE_native_11.hpp"
#include "Cisco_IOS_XE_native_12.hpp"
using namespace ydk;
namespace cisco_ios_xe {
namespace Cisco_IOS_XE_native {
Native::Ip::Nbar::Attribut... | 30.668774 | 487 | 0.664423 | [
"vector"
] |
bbfdf8d266732320da2bc8e6285bbf3e81e435a7 | 19,687 | cpp | C++ | src/imgui/im_tools.cpp | Sanceilaks/lemi_project_loader | e7461e8292911b7074322390677f276f5b3cc34b | [
"MIT"
] | null | null | null | src/imgui/im_tools.cpp | Sanceilaks/lemi_project_loader | e7461e8292911b7074322390677f276f5b3cc34b | [
"MIT"
] | 1 | 2021-05-07T10:11:51.000Z | 2021-05-07T10:11:51.000Z | src/imgui/im_tools.cpp | Sanceilaks/lemi_project_loader | e7461e8292911b7074322390677f276f5b3cc34b | [
"MIT"
] | 1 | 2021-06-13T12:19:40.000Z | 2021-06-13T12:19:40.000Z | #define IMGUI_DEFINE_MATH_OPERATORS
#include "im_tools.h"
#include <stack>
#include "imgui_internal.h"
#include <Windows.h>
void ImGui::BorderPrevItem(const ImVec4& color)
{
GetWindowDrawList()->AddRect(GetItemRectMin(), GetItemRectMax(), GetColorU32(color));
}
void ImGui::FullscreenNextWindow()
{
SetNextWindowPos... | 25.175192 | 187 | 0.684208 | [
"render"
] |
0101e44cb40a624a06b47e26413ce81a58a0cdf2 | 762 | hpp | C++ | EnjoyEngine/EnjoyEngine/ECSSystem.hpp | Jar0T/EnjoyEngine_dll | 41e242a35e886a103e44f82d65586f19e0f4f81e | [
"MIT"
] | 1 | 2020-11-01T17:18:59.000Z | 2020-11-01T17:18:59.000Z | EnjoyEngine/EnjoyEngine/ECSSystem.hpp | Jar0T/EnjoyEngine_dll | 41e242a35e886a103e44f82d65586f19e0f4f81e | [
"MIT"
] | 21 | 2020-06-26T21:54:14.000Z | 2020-10-20T10:50:10.000Z | EnjoyEngine/EnjoyEngine/ECSSystem.hpp | Jar0T/EnjoyEngine_dll | 41e242a35e886a103e44f82d65586f19e0f4f81e | [
"MIT"
] | null | null | null | #pragma once
#include "ECSComponent.hpp"
#include "Time.hpp"
#ifdef ENJOYENGINE_EXPORTS
#define ENJOYENGINE_API __declspec(dllexport)
#else
#define ENJOYENGINE_API __declspec(dllimport)
#endif
namespace EE {
class ENJOYENGINE_API BaseECSSystem {
public:
enum class Flags : uint32_t {
NO_FLAG,
OPTIONAL_COMPO... | 20.052632 | 86 | 0.757218 | [
"vector"
] |
010462c1f50ca34659d7a9f693b3de4833980ceb | 92,394 | hxx | C++ | main/filter/inc/filter/msfilter/escherex.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/filter/inc/filter/msfilter/escherex.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/filter/inc/filter/msfilter/escherex.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 56.998149 | 228 | 0.60478 | [
"geometry",
"object",
"shape",
"vector",
"model",
"transform",
"3d",
"solid"
] |
010a98298165b56c631307165deea9049bd04620 | 2,072 | cc | C++ | hologram_dashboard/server/request_handler/hologram_data_availability_reader.cc | googleinterns/sarahchen-intern-2020 | 6ca0891655b89221aa52ac4db104a80559f3701b | [
"Apache-2.0"
] | 1 | 2020-06-04T23:10:54.000Z | 2020-06-04T23:10:54.000Z | hologram_dashboard/server/request_handler/hologram_data_availability_reader.cc | googleinterns/sarahchen-intern-2020 | 6ca0891655b89221aa52ac4db104a80559f3701b | [
"Apache-2.0"
] | 6 | 2020-05-29T18:46:35.000Z | 2022-03-02T09:31:41.000Z | hologram_dashboard/server/request_handler/hologram_data_availability_reader.cc | googleinterns/sarahchen-intern-2020 | 6ca0891655b89221aa52ac4db104a80559f3701b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 37 | 80 | 0.723938 | [
"vector"
] |
010df3c77996822c08f82b72727763385caf9ecd | 14,090 | hpp | C++ | include/oglplus/ext/ARB_compatibility.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 364 | 2015-01-01T09:38:23.000Z | 2022-03-22T05:32:00.000Z | include/oglplus/ext/ARB_compatibility.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 55 | 2015-01-06T16:42:55.000Z | 2020-07-09T04:21:41.000Z | include/oglplus/ext/ARB_compatibility.hpp | matus-chochlik/oglplus | 76dd964e590967ff13ddff8945e9dcf355e0c952 | [
"BSL-1.0"
] | 57 | 2015-01-07T18:35:49.000Z | 2022-03-22T05:32:04.000Z | /**
* @file oglplus/ext/ARB_compatibility.hpp
* @brief Wrapper for the ARB_compatibility extension
*
* @author Matus Chochlik
*
* Copyright 2010-2019 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENS... | 25.711679 | 79 | 0.622356 | [
"object"
] |
011bba3cf3e7225537447196d1aaaaf7556b6d2e | 11,643 | cpp | C++ | src/ofApp.cpp | JesseScott/Decanter | c9c205282d2af11de395237ba8b5b19af0466b0b | [
"MIT"
] | 1 | 2017-10-25T17:42:33.000Z | 2017-10-25T17:42:33.000Z | src/ofApp.cpp | JesseScott/Decanter | c9c205282d2af11de395237ba8b5b19af0466b0b | [
"MIT"
] | null | null | null | src/ofApp.cpp | JesseScott/Decanter | c9c205282d2af11de395237ba8b5b19af0466b0b | [
"MIT"
] | null | null | null | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
// Screen
ofSetWindowTitle("beeeeeeeer");
ofBackground(255);
// Font
mainFont.loadFont("font/Ostrich.ttf", 40);
subFont.loadFont("font/Ostrich.ttf", 25);
// Misc
ver... | 27.459906 | 93 | 0.478485 | [
"vector"
] |
012528ab308e82ca6467d2420519e38391104c49 | 2,079 | cpp | C++ | boost_example/IoContextPool.cpp | 1261385937/beast_example | 88bade87f25a8ebcfe8e6f68825a055959ac720a | [
"MIT"
] | 1 | 2019-04-25T04:59:22.000Z | 2019-04-25T04:59:22.000Z | boost_example/IoContextPool.cpp | 1261385937/beast_example | 88bade87f25a8ebcfe8e6f68825a055959ac720a | [
"MIT"
] | null | null | null | boost_example/IoContextPool.cpp | 1261385937/beast_example | 88bade87f25a8ebcfe8e6f68825a055959ac720a | [
"MIT"
] | null | null | null | #include "IoContextPool.h"
#include <vector>
#include <thread>
#include "boost/asio/io_context.hpp"
#include "log.h"
struct dividend::IoContextPool::Impl
{
std::vector<std::unique_ptr<std::thread>> thread_vec;
std::vector<std::unique_ptr<boost::asio::io_context>> io_context_vec;
std::vector<std::unique_ptr<boost::a... | 26.653846 | 100 | 0.686388 | [
"vector"
] |
0126c93cc8163da5f5c373e5d16bce976317516e | 2,100 | cpp | C++ | answers/Google code jam/Round A China New Grad Test 2014 Problem B. Rational Number Tree.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | 3 | 2015-09-04T21:32:31.000Z | 2020-12-06T00:37:32.000Z | answers/Google code jam/Round A China New Grad Test 2014 Problem B. Rational Number Tree.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | null | null | null | answers/Google code jam/Round A China New Grad Test 2014 Problem B. Rational Number Tree.cpp | FeiZhan/Algo-Collection | 708c4a38112e0b381864809788b9e44ac5ae4d05 | [
"MIT"
] | null | null | null | //
#define _FILE_DEBUG_
//#define _C_LAN_
//#define _DEBUG_OUTPUT_
#ifdef _FILE_DEBUG_
#include <fstream>
#endif
#include <iostream>
#include <stdio.h>
using namespace std;
#include <vector>
#include <queue>
#include <algorithm>
int main(int argc, char *argv[])
{
#ifdef _FILE_DEBUG_
ifstream fin;
... | 22.580645 | 86 | 0.587619 | [
"vector"
] |
012c59e2a7c24470a093b88446789716623158c1 | 3,216 | hpp | C++ | smacc2_sm_reference_library/sm_aws_warehouse_navigation/include/sm_aws_warehouse_navigation/states/st_acquire_sensors.hpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 48 | 2021-05-28T01:33:20.000Z | 2022-03-24T03:16:03.000Z | smacc2_sm_reference_library/sm_aws_warehouse_navigation/include/sm_aws_warehouse_navigation/states/st_acquire_sensors.hpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 75 | 2021-06-25T22:11:21.000Z | 2022-03-30T13:05:38.000Z | smacc2_sm_reference_library/sm_aws_warehouse_navigation/include/sm_aws_warehouse_navigation/states/st_acquire_sensors.hpp | reelrbtx/SMACC2 | ac61cb1599f215fd9f0927247596796fc53f82bf | [
"Apache-2.0"
] | 14 | 2021-06-16T12:10:57.000Z | 2022-03-01T18:23:27.000Z | // Copyright 2021 RobosoftAI Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 32.16 | 97 | 0.703669 | [
"vector"
] |
0130e44a88cd9ff1096ebabaceb41d04710e0432 | 3,632 | hpp | C++ | include/muse_smc/smc/traits/hypothesis.hpp | doge-of-the-day/muse_smc | a44a8840571639a99826408a43b29d7f74d8739b | [
"BSD-3-Clause"
] | 1 | 2020-12-10T10:51:28.000Z | 2020-12-10T10:51:28.000Z | include/muse_smc/smc/traits/hypothesis.hpp | doge-of-the-day/muse_smc | a44a8840571639a99826408a43b29d7f74d8739b | [
"BSD-3-Clause"
] | null | null | null | include/muse_smc/smc/traits/hypothesis.hpp | doge-of-the-day/muse_smc | a44a8840571639a99826408a43b29d7f74d8739b | [
"BSD-3-Clause"
] | 2 | 2019-11-07T02:02:05.000Z | 2021-06-21T09:12:03.000Z | #ifndef MUSE_SMC_TRAITS_HYPOTHESIS_HPP
#define MUSE_SMC_TRAITS_HYPOTHESIS_HPP
#include <type_traits>
namespace muse_smc {
namespace traits {
/**
* @brief Defines the data type the filter is working with.
* @tparam Hypothesis_T sample type to set the trait for
*/
template <typename Hypothesis_T>
struct Data {
s... | 33.943925 | 82 | 0.718337 | [
"transform"
] |
01341e372e809fb9d48c50841b911db5f756909a | 6,687 | cpp | C++ | fizzbuzz/fizzbuzz.cpp | uxvworks/code_tests | 8e64a399a2785fa14968ce2a722513e9f937a5d5 | [
"MIT"
] | null | null | null | fizzbuzz/fizzbuzz.cpp | uxvworks/code_tests | 8e64a399a2785fa14968ce2a722513e9f937a5d5 | [
"MIT"
] | null | null | null | fizzbuzz/fizzbuzz.cpp | uxvworks/code_tests | 8e64a399a2785fa14968ce2a722513e9f937a5d5 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2016 Phillip Yeager
// Contact: Phillip Yeager <uxv.works@gmail.com>
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
//... | 32.461165 | 99 | 0.61971 | [
"vector"
] |
014bc0f1763642610c26cedb76fddccb9ba33416 | 69,893 | cpp | C++ | tests/DtlsClientServerTest.cpp | tarm-project/tarm-io | 6aebd85573f65017decf81be073c8b13ce6ac12c | [
"MIT"
] | 4 | 2021-01-14T15:19:35.000Z | 2022-01-09T09:22:18.000Z | tests/DtlsClientServerTest.cpp | ink-splatters/tarm-io | 6aebd85573f65017decf81be073c8b13ce6ac12c | [
"MIT"
] | null | null | null | tests/DtlsClientServerTest.cpp | ink-splatters/tarm-io | 6aebd85573f65017decf81be073c8b13ce6ac12c | [
"MIT"
] | 1 | 2020-08-05T21:14:59.000Z | 2020-08-05T21:14:59.000Z | /*----------------------------------------------------------------------------------------------
* Copyright (c) 2020 - present Alexander Voitenko
* Licensed under the MIT License. See License.txt in the project root for license information.
*------------------------------------------------------------------------... | 37.944083 | 133 | 0.620177 | [
"vector"
] |
014fcf0be3224cada7764173525efc0c61194ec8 | 2,607 | hpp | C++ | sources/SceneGraph/Animation/spMorphTargetAnimation.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/SceneGraph/Animation/spMorphTargetAnimation.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/SceneGraph/Animation/spMorphTargetAnimation.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2016-10-31T06:08:44.000Z | 2019-08-02T16:12:33.000Z | /*
* Morph target animation header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_MORPHTARGET_ANIMATION_H__
#define __SP_MORPHTARGET_ANIMATION_H__
#include "Base/spStandard.hpp"
#include "SceneGraph/spS... | 28.336957 | 142 | 0.64135 | [
"mesh",
"object",
"vector",
"model"
] |
015fc0cfa07e538595e9441f5e6bfe8e74219e52 | 4,437 | cc | C++ | java/dynasm.cc | penberg/hornet | 1cb54380d12eb35a0ef1fefe14aec11bf3b7b426 | [
"BSD-2-Clause"
] | 35 | 2015-01-17T12:14:30.000Z | 2021-09-05T16:29:09.000Z | java/dynasm.cc | penberg/hornet | 1cb54380d12eb35a0ef1fefe14aec11bf3b7b426 | [
"BSD-2-Clause"
] | 2 | 2015-05-22T16:51:24.000Z | 2015-07-15T19:28:44.000Z | java/dynasm.cc | penberg/hornet | 1cb54380d12eb35a0ef1fefe14aec11bf3b7b426 | [
"BSD-2-Clause"
] | 4 | 2015-09-29T05:54:27.000Z | 2018-04-06T12:44:53.000Z | #include "hornet/java.hh"
#include "hornet/translator.hh"
#include "hornet/vm.hh"
#include <sys/mman.h>
#include <cassert>
#include <classfile_constants.h>
#include <jni.h>
using namespace std;
namespace hornet {
static const int mmap_size = 4096;
class dynasm_translator : public translator {
public:
dynasm_... | 28.811688 | 160 | 0.709714 | [
"vector"
] |
01626e58c254c53b5ca34b47e79c8d7890285feb | 1,248 | cc | C++ | dataframe/edm4hepRDF.cc | fdplacido/EDM4hep | ad89a9077feaf222ee5249b626d7d74b3dc33a13 | [
"Apache-2.0"
] | 5 | 2019-10-29T10:13:25.000Z | 2020-02-24T13:12:20.000Z | dataframe/edm4hepRDF.cc | fdplacido/EDM4hep | ad89a9077feaf222ee5249b626d7d74b3dc33a13 | [
"Apache-2.0"
] | 82 | 2020-03-03T12:08:24.000Z | 2022-03-25T16:36:51.000Z | dataframe/edm4hepRDF.cc | fdplacido/EDM4hep | ad89a9077feaf222ee5249b626d7d74b3dc33a13 | [
"Apache-2.0"
] | 9 | 2020-03-20T06:14:48.000Z | 2022-03-25T14:22:38.000Z | #include "edm4hepRDF.h"
#include "Math/Vector4D.h"
namespace edm4hep {
std::vector<float> pt (std::vector<MCParticleData> const& in){
std::vector<float> result;
for (size_t i = 0; i < in.size(); ++i) {
result.push_back(std::sqrt(in[i].momentum.x * in[i].momentum.x + in[i].momentum.y * in[i].momentum.y));
}
... | 29.023256 | 107 | 0.643429 | [
"vector"
] |
6c632aae1186d0d60db41d7bbf1c733c88c7930c | 729 | cpp | C++ | ABC/ABC089/B.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | 1 | 2021-06-01T17:13:44.000Z | 2021-06-01T17:13:44.000Z | ABC/ABC089/B.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | null | null | null | ABC/ABC089/B.cpp | rajyan/AtCoder | 2c1187994016d4c19b95489d2f2d2c0eab43dd8e | [
"MIT"
] | null | null | null | //#include <cstdio>
//#include <cmath>
//#include <iostream>
//#include <sstream>
//#include <string>
//#include <vector>
//#include <set>
//#include <queue>
//#include <algorithm>
//
//#ifdef _DEBUG
//#define DMP(x) cerr << #x << ": " << x << "\n"
//#else
//#define DMP(x) ((void)0)
//#endif
//
//const int MOD = 100000... | 17.357143 | 48 | 0.532236 | [
"vector"
] |
6c6390d2463d46c9a6f6b11ac52445279b68079a | 9,311 | cpp | C++ | Assignment 3/bestfirstsearch.cpp | utkarsh1097/COL362-Assignments | b01b79e3d7e6aa3c53759015a3387a43fe821a11 | [
"MIT"
] | null | null | null | Assignment 3/bestfirstsearch.cpp | utkarsh1097/COL362-Assignments | b01b79e3d7e6aa3c53759015a3387a43fe821a11 | [
"MIT"
] | null | null | null | Assignment 3/bestfirstsearch.cpp | utkarsh1097/COL362-Assignments | b01b79e3d7e6aa3c53759015a3387a43fe821a11 | [
"MIT"
] | null | null | null | #include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<queue>
#include<algorithm>
using namespace std;
double **datapoints, **mbr_min, **mbr_max; //Stores the datapoints, all the min mbr, all the max mbr
int **indexes; //Store indexes of all datapoints
int sort_dim, counter; //Dimension on which sort has t... | 23.752551 | 177 | 0.617442 | [
"vector"
] |
6c6593fa4cec4d435d33f3dced0b61ae8e4ca233 | 4,705 | cpp | C++ | src/gfx/file/scene_file.cpp | johannes-braun/graphics_utilities | 191772a3ff1c14eea74b9b5614b6226cf1f8abb7 | [
"MIT"
] | null | null | null | src/gfx/file/scene_file.cpp | johannes-braun/graphics_utilities | 191772a3ff1c14eea74b9b5614b6226cf1f8abb7 | [
"MIT"
] | null | null | null | src/gfx/file/scene_file.cpp | johannes-braun/graphics_utilities | 191772a3ff1c14eea74b9b5614b6226cf1f8abb7 | [
"MIT"
] | null | null | null | #include "file.hpp"
#include <assimp/Importer.hpp>
#include <assimp/postprocess.h>
#include <assimp/scene.h>
#include <assimp/vector3.h>
#include <gfx/log.hpp>
#include <glm/glm.hpp>
namespace gfx
{
void handle_node(scene_file& file, aiNode* node, const aiScene* scene, const glm::mat4& transform) noexcept
{
const ... | 46.127451 | 138 | 0.643146 | [
"mesh",
"transform"
] |
6c6dfea6a3d08352aa4cd045a0fbd52670e29c04 | 7,469 | cc | C++ | linker/linker.cc | rpjohnst/dejavu-llvm | 568dfa38f226a8994d0bfc07db2cdb466db10529 | [
"MIT"
] | 6 | 2017-07-13T09:01:38.000Z | 2021-11-03T06:50:02.000Z | linker/linker.cc | rpjohnst/dejavu-llvm | 568dfa38f226a8994d0bfc07db2cdb466db10529 | [
"MIT"
] | 9 | 2018-02-08T23:19:47.000Z | 2018-02-12T19:09:01.000Z | linker/linker.cc | rpjohnst/dejavu-llvm | 568dfa38f226a8994d0bfc07db2cdb466db10529 | [
"MIT"
] | 1 | 2020-05-17T17:34:03.000Z | 2020-05-17T17:34:03.000Z | #include <dejavu/linker/linker.h>
#include <dejavu/linker/game.h>
#include <dejavu/compiler/lexer.h>
#include <dejavu/compiler/parser.h>
#include <dejavu/compiler/codegen.h>
#include <dejavu/system/buffer.h>
#include <llvm/PassManager.h>
#include <llvm/Analysis/Passes.h>
#include <llvm/IR/Verifier.h>
#include <llvm/T... | 25.404762 | 87 | 0.63623 | [
"object"
] |
6c700262a3fd9c48a998b926da0d4afae16bb21e | 1,756 | cpp | C++ | 3rd_4th_5th_sems/PP lab/Programming-paradigms-lab/Assignment 4/Question 2/src/clerk.cpp | iamshnoo/IIEST_labs | 9f2cb85035ff2049e4c3438cc45d1e8c96938022 | [
"BSD-3-Clause"
] | null | null | null | 3rd_4th_5th_sems/PP lab/Programming-paradigms-lab/Assignment 4/Question 2/src/clerk.cpp | iamshnoo/IIEST_labs | 9f2cb85035ff2049e4c3438cc45d1e8c96938022 | [
"BSD-3-Clause"
] | null | null | null | 3rd_4th_5th_sems/PP lab/Programming-paradigms-lab/Assignment 4/Question 2/src/clerk.cpp | iamshnoo/IIEST_labs | 9f2cb85035ff2049e4c3438cc45d1e8c96938022 | [
"BSD-3-Clause"
] | null | null | null | //clerk.cpp
#include "clerk.hpp" // header in local directory
#include <iostream> // header in standard library
using namespace cleric;
// Default constructor
Clerk::Clerk(/* no args */) : Person()
{
position = "ASDFG";
salary = 9999;
}
// Parameterized constructor
Clerk::Clerk(std::string ... | 23.105263 | 93 | 0.607631 | [
"object"
] |
6c723d7a87e3bb03d9453cd5572830c39b0bb847 | 701 | cpp | C++ | Other Concepts/Preprocessor_Solution.cpp | aydinsimsek/HackerRank-solutions-cpp | acc567c4c169694e4086012e9acc6682884382e7 | [
"MIT"
] | null | null | null | Other Concepts/Preprocessor_Solution.cpp | aydinsimsek/HackerRank-solutions-cpp | acc567c4c169694e4086012e9acc6682884382e7 | [
"MIT"
] | null | null | null | Other Concepts/Preprocessor_Solution.cpp | aydinsimsek/HackerRank-solutions-cpp | acc567c4c169694e4086012e9acc6682884382e7 | [
"MIT"
] | null | null | null | #define FUNCTION(name, op)
#define minimum(a, b) if(b < a) a = b
#define maximum(a, b) if(b > a) a = b
#define foreach(a, b) for(int b = 0; b < a.size(); b++)
#define io(a) cin >> a
#define INF 100000000
#define toStr(a) #a
#include <iostream>
#include <vector>
using namespace std;
#if !defined toStr || !defin... | 18.945946 | 70 | 0.599144 | [
"vector"
] |
6c76349868d1ac99c1a7d243ce797de8250da592 | 1,000 | cpp | C++ | platforms/leetcode/0319_first_day_where_you_have_been_in_all_the_rooms.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | 2 | 2020-09-17T09:04:00.000Z | 2020-11-20T19:43:18.000Z | platforms/leetcode/0319_first_day_where_you_have_been_in_all_the_rooms.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/leetcode/0319_first_day_where_you_have_been_in_all_the_rooms.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | #include "../../template.hpp"
int sol(const vector<int>& nums) {
int n = nums.size();
int mod = 1e9 + 7;
vector<vector<int64_t>> dp(2, vector<int64_t>(n + 1)); // dp[0][i] - the first odd times, dp[1][i] - even times
dp[0][1] = 0;
dp[1][1] = 1;
for (int i = 2; i <= n; ++i) {
dp[0][i] = ... | 43.478261 | 308 | 0.519 | [
"vector"
] |
6c7f2ac83905ec82ce4a0cfd0dac68ac9e9ecf12 | 16,936 | cpp | C++ | moos-ivp/ivp/src/lib_logutils/LogUtils.cpp | EasternEdgeRobotics/2018 | 24df2fe56fa6d172ba3c34c1a97f249dbd796787 | [
"MIT"
] | null | null | null | moos-ivp/ivp/src/lib_logutils/LogUtils.cpp | EasternEdgeRobotics/2018 | 24df2fe56fa6d172ba3c34c1a97f249dbd796787 | [
"MIT"
] | null | null | null | moos-ivp/ivp/src/lib_logutils/LogUtils.cpp | EasternEdgeRobotics/2018 | 24df2fe56fa6d172ba3c34c1a97f249dbd796787 | [
"MIT"
] | null | null | null | /*****************************************************************/
/* NAME: Michael Benjamin */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: LogUtils.cpp */
/* DATE: August 7th, 2008 ... | 25.506024 | 81 | 0.523441 | [
"vector"
] |
6c8ceea0d95b3d8938643096775d652687af5cd1 | 96,419 | cc | C++ | stapl_release/benchmarks/composition/sweeps.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/benchmarks/composition/sweeps.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/benchmarks/composition/sweeps.cc | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 34.484621 | 80 | 0.578278 | [
"mesh",
"vector",
"3d"
] |
6c8e8716f4a5e45cc0ff96c5eb76af6741b51e76 | 2,809 | cpp | C++ | CGALWrapper/Geometry/Box2_EEK.cpp | unitycoder/CGALDotNet | 90682724a55aec2818847500047d4785aa7e1d67 | [
"MIT"
] | null | null | null | CGALWrapper/Geometry/Box2_EEK.cpp | unitycoder/CGALDotNet | 90682724a55aec2818847500047d4785aa7e1d67 | [
"MIT"
] | null | null | null | CGALWrapper/Geometry/Box2_EEK.cpp | unitycoder/CGALDotNet | 90682724a55aec2818847500047d4785aa7e1d67 | [
"MIT"
] | null | null | null |
#include "Box2_EEK.h"
#include <CGAL/Iso_rectangle_2.h>
#include <CGAL/Aff_transformation_2.h>
#include <CGAL/Cartesian_converter.h>
typedef CGAL::Iso_rectangle_2<EEK> Box2;
typedef CGAL::Aff_transformation_2<EEK> Transformation2;
void* Box2_EEK_Create(const Point2d& min, const Point2d& max)
{
auto _min = min.ToCGA... | 20.064286 | 93 | 0.707725 | [
"transform"
] |
6c97639bc039f8515f05b6e2f23cecbf238e64d6 | 5,582 | cpp | C++ | rapp_hazard_detection/src/door_check.cpp | DEVX1/NAOrapp-Pythonlib | d07d7fe304556cad24e7e138df4e41376eacb6a7 | [
"Apache-2.0"
] | null | null | null | rapp_hazard_detection/src/door_check.cpp | DEVX1/NAOrapp-Pythonlib | d07d7fe304556cad24e7e138df4e41376eacb6a7 | [
"Apache-2.0"
] | null | null | null | rapp_hazard_detection/src/door_check.cpp | DEVX1/NAOrapp-Pythonlib | d07d7fe304556cad24e7e138df4e41376eacb6a7 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
Copyright 2015 RAPP
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-... | 30.172973 | 118 | 0.59029 | [
"vector"
] |
6c9e28c43000bdcfe45f95f169c542fffcf9a7f7 | 634 | cc | C++ | examples/gtk/gtk.cc | dmikushin/libjingle | b9754327f3e4361cea9d27683a3b5817afb99819 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | examples/gtk/gtk.cc | dmikushin/libjingle | b9754327f3e4361cea9d27683a3b5817afb99819 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | examples/gtk/gtk.cc | dmikushin/libjingle | b9754327f3e4361cea9d27683a3b5817afb99819 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #include "media/devices/gtkvideorenderer.h"
#include <vector>
int main(int argc, char* argv[])
{
cricket::GtkVideoRenderer renderer;
const int width = 300;
const int height = 200;
std::vector<uint8> pixels(width * height * 4);
while (1)
{
for (int j = 0; j < height; j++)
for (int i = 0; i < width; i++... | 21.133333 | 76 | 0.561514 | [
"vector"
] |
6c9e3ae1e9c8b7e5d14b64f49a6677862cc770b2 | 615 | cpp | C++ | Easy/136_singleNumber/136_singleNumber/main.cpp | yangbingjie/Leetcode | 2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916 | [
"MIT"
] | 1 | 2020-10-08T06:15:37.000Z | 2020-10-08T06:15:37.000Z | Easy/136_singleNumber/136_singleNumber/main.cpp | yangbingjie/Leetcode | 2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916 | [
"MIT"
] | null | null | null | Easy/136_singleNumber/136_singleNumber/main.cpp | yangbingjie/Leetcode | 2f1e386cfb8b2d7d49cf0e7dcf0bce1c936e1916 | [
"MIT"
] | null | null | null | //
// main.cpp
// 136_singleNumber
//
// Created by Bella Yang on 2019/9/23.
// Copyright © 2019 Bella Yang. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int singleNumber(vector<int>& nums) {
int result = 0;
for(int i = 0; i < nums.... | 20.5 | 53 | 0.56748 | [
"vector"
] |
6ca0116c322bd0380ac331163817471906d1292d | 14,473 | hpp | C++ | Includes/Core/Matrix/MatrixCSR.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 216 | 2017-01-25T04:34:30.000Z | 2021-07-15T12:36:06.000Z | Includes/Core/Matrix/MatrixCSR.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 323 | 2017-01-26T13:53:13.000Z | 2021-07-14T16:03:38.000Z | Includes/Core/Matrix/MatrixCSR.hpp | ADMTec/CubbyFlow | c71457fd04ccfaf3ef22772bab9bcec4a0a3b611 | [
"MIT"
] | 33 | 2017-01-25T05:05:49.000Z | 2021-06-17T17:30:56.000Z | // This code is based on Jet framework.
// Copyright (c) 2018 Doyub Kim
// CubbyFlow is voxel-based fluid simulation engine for computer games.
// Copyright (c) 2020 CubbyFlow Team
// Core Part: Chris Ohk, Junwoo Hwang, Jihong Sin, Seungwoo Yoo
// AI Part: Dongheon Cho, Minseo Kim
// We are making my contributions/subm... | 31.949227 | 80 | 0.655773 | [
"vector"
] |
6ca4ab156d47dd087bf089116ad9289d4c8d127d | 11,544 | cc | C++ | src/base/WCSimFitterTrackParMap.cc | chipsneutrino/chips-reco | 0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba | [
"MIT"
] | null | null | null | src/base/WCSimFitterTrackParMap.cc | chipsneutrino/chips-reco | 0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba | [
"MIT"
] | null | null | null | src/base/WCSimFitterTrackParMap.cc | chipsneutrino/chips-reco | 0d9e7e8a1dd749a2b0b0d64eabf0b32d895f19ba | [
"MIT"
] | null | null | null | /*
* WCSimFitterTrackParMap.cc
*
* Created on: 27 May 2015
* Author: andy
*/
#include "WCSimFitterTrackParMap.hh"
#include "WCSimFitterInterface.hh"
#include "WCSimFitterConfig.hh"
#include "WCSimTrackParameterEnums.hh"
#include <cassert>
#ifndef REFLEX_DICTIONARY
ClassImp(WCSimFitterTrackParMap)
#endif
W... | 27.420428 | 150 | 0.741857 | [
"vector"
] |
6cbb3b00773d4c5033cd20eb82839326f9737a37 | 28,292 | cpp | C++ | generator/cfg.cpp | igormironchik/cfgfile | 7d319aad671f0767f7d29a93ad279b4413bcbda2 | [
"MIT"
] | 5 | 2017-05-13T05:28:27.000Z | 2019-07-15T07:39:58.000Z | generator/cfg.cpp | igormironchik/cfgfile | 7d319aad671f0767f7d29a93ad279b4413bcbda2 | [
"MIT"
] | 2 | 2018-02-20T21:15:45.000Z | 2018-09-23T07:38:28.000Z | generator/cfg.cpp | igormironchik/cfgfile | 7d319aad671f0767f7d29a93ad279b4413bcbda2 | [
"MIT"
] | 2 | 2017-09-11T13:10:52.000Z | 2019-11-23T22:52:52.000Z |
/*!
\file
\author Igor Mironchik (igor.mironchik at gmail dot com).
Copyright (c) 2017 Igor Mironchik
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 witho... | 20.122333 | 101 | 0.68507 | [
"vector"
] |
6cbc919c88f3da4253c4b5914e0d465549fca988 | 6,515 | cpp | C++ | AllJoyn/Platform/DeviceProviders/AllJoynSignal.cpp | shuWebDev/samples | 4b2c23cf16bdbe58cb2beba7c202c85242419d2e | [
"MIT"
] | 1,433 | 2015-04-30T09:26:53.000Z | 2022-03-26T12:44:12.000Z | AllJoyn/Platform/DeviceProviders/AllJoynSignal.cpp | LeCampusAzure/ms-iot-samples | c0da021a312a631c8a26771a0d203e0de80fc597 | [
"MIT"
] | 530 | 2015-05-02T09:12:48.000Z | 2018-01-03T17:52:01.000Z | AllJoyn/Platform/DeviceProviders/AllJoynSignal.cpp | LeCampusAzure/ms-iot-samples | c0da021a312a631c8a26771a0d203e0de80fc597 | [
"MIT"
] | 1,878 | 2015-04-30T04:18:57.000Z | 2022-03-15T16:51:17.000Z | //
// Copyright (c) 2015, Microsoft Corporation
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 35.796703 | 192 | 0.658173 | [
"object",
"vector"
] |
6cc08351d8363737a0780d9c5df9b00d1d1de980 | 3,602 | hpp | C++ | include/analysis.hpp | CrazyOverdose/lab-04-boost-filesystem | b0ce1ab53ae3e9fe2f8a7e60bf56d0555bb7d42a | [
"MIT"
] | null | null | null | include/analysis.hpp | CrazyOverdose/lab-04-boost-filesystem | b0ce1ab53ae3e9fe2f8a7e60bf56d0555bb7d42a | [
"MIT"
] | null | null | null | include/analysis.hpp | CrazyOverdose/lab-04-boost-filesystem | b0ce1ab53ae3e9fe2f8a7e60bf56d0555bb7d42a | [
"MIT"
] | null | null | null | //Copyright 2019 CrazyOverdose
#ifndef INCLUDE_ANALYSIS_HPP_
#define INCLUDE_ANALYSIS_HPP_
#include <boost/filesystem.hpp>
#include <vector>
#include <string>
#include <cstdlib>
struct Date {
int day;
int month;
int year;
};
struct information {
std::string title; //название файла
std:: string ... | 24.337838 | 80 | 0.557746 | [
"vector"
] |
6cc2f0c0c5037cdc8694010b843bc49c15afa729 | 15,135 | cpp | C++ | src/model_parser.cpp | SausageTaste/DalbaragiTools | d07e82ecdb9117cffa886e50b89808e2dbf245c6 | [
"MIT"
] | null | null | null | src/model_parser.cpp | SausageTaste/DalbaragiTools | d07e82ecdb9117cffa886e50b89808e2dbf245c6 | [
"MIT"
] | null | null | null | src/model_parser.cpp | SausageTaste/DalbaragiTools | d07e82ecdb9117cffa886e50b89808e2dbf245c6 | [
"MIT"
] | null | null | null | #include "daltools/model_parser.h"
#include "daltools/byte_tool.h"
#include "daltools/konst.h"
#include "daltools/compression.h"
namespace dalp = dal::parser;
namespace {
std::optional<std::vector<uint8_t>> unzip_dal_model(const uint8_t* const buf, const size_t buf_size) {
const auto expected_unzipped... | 37.555831 | 146 | 0.615064 | [
"mesh",
"render",
"vector",
"model"
] |
6cca769a208e3bf898b57f1bb12ba7b699487176 | 630 | cpp | C++ | src/sofar_isa/src/main.cpp | CristinaNRR/SOFAR | 194ed37a0b870a586ea048a0d3c4d97750201ec4 | [
"Unlicense"
] | 1 | 2021-11-06T17:53:13.000Z | 2021-11-06T17:53:13.000Z | src/sofar_isa/src/main.cpp | isabella-sole/Software_Architecture_Project | 194ed37a0b870a586ea048a0d3c4d97750201ec4 | [
"Unlicense"
] | null | null | null | src/sofar_isa/src/main.cpp | isabella-sole/Software_Architecture_Project | 194ed37a0b870a586ea048a0d3c4d97750201ec4 | [
"Unlicense"
] | 2 | 2021-11-06T14:45:05.000Z | 2022-01-28T08:33:43.000Z | #include "menuwindow.h"
#include "welcome.h"
#include <QApplication>
#include <cstdlib>
#include <iostream>
#include <string>
#include "ros/ros.h"
int main(int argc, char *argv[])
{
ros::init(argc, argv, "GUI");
ros::NodeHandle n;
QApplication a(argc, argv); //object creation
welcome *wel= new welc... | 21 | 105 | 0.660317 | [
"object"
] |
6cd13dd759f4524b509e5d79f6b45faf5eea92f4 | 7,069 | cpp | C++ | platform/linux/src/Rtt_LinuxSimulatorView.cpp | seyhajin/corona | 844986781ce1b07f9f876e759c6405b4c56c6898 | [
"MIT"
] | null | null | null | platform/linux/src/Rtt_LinuxSimulatorView.cpp | seyhajin/corona | 844986781ce1b07f9f876e759c6405b4c56c6898 | [
"MIT"
] | null | null | null | platform/linux/src/Rtt_LinuxSimulatorView.cpp | seyhajin/corona | 844986781ce1b07f9f876e759c6405b4c56c6898 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
/////////////////////////... | 25.428058 | 122 | 0.668553 | [
"object",
"vector"
] |
6ce4f512d285341b3d9f1f13cd9b66480bfca979 | 7,571 | cpp | C++ | hackathon/LXF/wrong_area_search/get_sub_terafly.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | 1 | 2021-12-27T19:14:03.000Z | 2021-12-27T19:14:03.000Z | hackathon/LXF/wrong_area_search/get_sub_terafly.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | hackathon/LXF/wrong_area_search/get_sub_terafly.cpp | zzhmark/vaa3d_tools | 3ca418add85a59ac7e805d55a600b78330d7e53d | [
"MIT"
] | null | null | null | #include "get_sub_terafly.h"
#include "find_wrong_area.h"
#define MHDIS(a,b) ( (fabs((a).x-(b).x)) + (fabs((a).y-(b).y)) + (fabs((a).z-(b).z)) )
#define NTDIS(a,b) (sqrt(((a).x-(b).x)*((a).x-(b).x)+((a).y-(b).y)*((a).y-(b).y)+((a).z-(b).z)*((a).z-(b).z)))
bool get_sub_terafly(V3DPluginCallback2 &callback,QWidget *pare... | 33.648889 | 156 | 0.507595 | [
"model"
] |
6ce774789a489c292cb546d50dc098304eda98aa | 929 | cpp | C++ | Level-2/22. HashMap and Heap/Group Shifted String.cpp | anubhvshrma18/PepCoding | 1d5ebd43e768ad923bf007c8dd584e217df1f017 | [
"Apache-2.0"
] | 22 | 2021-06-02T04:25:55.000Z | 2022-01-30T06:25:07.000Z | Level-2/22. HashMap and Heap/Group Shifted String.cpp | amitdubey6261/PepCoding | 1d5ebd43e768ad923bf007c8dd584e217df1f017 | [
"Apache-2.0"
] | 2 | 2021-10-17T19:26:10.000Z | 2022-01-14T18:18:12.000Z | Level-2/22. HashMap and Heap/Group Shifted String.cpp | amitdubey6261/PepCoding | 1d5ebd43e768ad923bf007c8dd584e217df1f017 | [
"Apache-2.0"
] | 8 | 2021-07-21T09:55:15.000Z | 2022-01-31T10:32:51.000Z | #include<bits/stdc++.h>
using namespace std;
vector<vector<string>> groupShiftedStrings(vector<string> &v){
map<string,vector<string>> map;
for(auto s:v){
string temp="";
for(int i=1;i<s.length();i++){
int cc=s[i]-'0',pc = s[i-1]-'0';
int diff = (cc - pc +... | 18.58 | 62 | 0.499462 | [
"vector"
] |
6cf4020b3769e0570f9f99b23172145bee131229 | 22,260 | cpp | C++ | eval/evalExcess.cpp | ATSUnderground/peridetic | e7f86937080309aa8c0c27153de3f963c8f12ad8 | [
"MIT"
] | 10 | 2021-02-25T22:26:39.000Z | 2022-02-25T17:53:31.000Z | eval/evalExcess.cpp | ATSUnderground/peridetic | e7f86937080309aa8c0c27153de3f963c8f12ad8 | [
"MIT"
] | 2 | 2021-02-26T08:04:18.000Z | 2022-01-02T20:15:29.000Z | eval/evalExcess.cpp | ATSUnderground/peridetic | e7f86937080309aa8c0c27153de3f963c8f12ad8 | [
"MIT"
] | 3 | 2021-02-26T07:57:45.000Z | 2022-02-25T17:53:36.000Z | //
//
// MIT License
//
// Copyright (c) 2020 Stellacore Corporation.
//
// 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 ... | 26.065574 | 78 | 0.650898 | [
"shape",
"vector",
"transform"
] |
6cfa2e8b067e2f897bfd65b8f95c5be14734337f | 873 | cpp | C++ | CSES Problems/IntroductoryProblems/CreatingStringsI.cpp | davimedio01/competitive-programming | e2a90f0183c11a90a50738a9a690efe03773d43f | [
"MIT"
] | 2 | 2020-09-10T15:48:02.000Z | 2020-09-12T00:05:35.000Z | CSES Problems/IntroductoryProblems/CreatingStringsI.cpp | davimedio01/competitive-programming | e2a90f0183c11a90a50738a9a690efe03773d43f | [
"MIT"
] | null | null | null | CSES Problems/IntroductoryProblems/CreatingStringsI.cpp | davimedio01/competitive-programming | e2a90f0183c11a90a50738a9a690efe03773d43f | [
"MIT"
] | null | null | null | /*
Author: Davi Augusto Neves Leite
Date: 15/09/2020
*/
#include <bits/stdc++.h>
#define MODULO 1000000007
typedef long long ll;
using namespace std;
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
/*freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);*/
st... | 20.785714 | 62 | 0.593356 | [
"vector"
] |
2f5a74d5ff177b0e3bd7da0995c005a31a9c822b | 3,189 | cpp | C++ | MeshIO/FEHyperSurfImport.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 27 | 2020-06-25T06:34:52.000Z | 2022-03-11T08:58:57.000Z | MeshIO/FEHyperSurfImport.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 42 | 2020-06-15T18:40:57.000Z | 2022-03-24T05:38:54.000Z | MeshIO/FEHyperSurfImport.cpp | chunkeey/FEBioStudio | f342d4ac2bc3581db792373c4265454109af92b3 | [
"MIT"
] | 12 | 2020-06-27T13:58:57.000Z | 2022-03-24T05:39:10.000Z | /*This file is part of the FEBio Studio source code and is licensed under the MIT license
listed below.
See Copyright-FEBio-Studio.txt for details.
Copyright (c) 2020 University of Utah, The Trustees of Columbia University in
the City of New York, and others.
Permission is hereby granted, free of charge, to any per... | 26.355372 | 89 | 0.688931 | [
"object",
"model"
] |
2f5c9651d586308baba14deb3b3a93ed2349b80f | 624 | hxx | C++ | src/cpp/include/seq/seq.hxx | sguzman/Pretty-Print-Library | 555780f94a0a5d04c84f3c254b500f8944826d70 | [
"MIT"
] | 1 | 2018-06-20T17:47:15.000Z | 2018-06-20T17:47:15.000Z | src/cpp/include/seq/seq.hxx | sguzman/Pretty-Print-Library | 555780f94a0a5d04c84f3c254b500f8944826d70 | [
"MIT"
] | null | null | null | src/cpp/include/seq/seq.hxx | sguzman/Pretty-Print-Library | 555780f94a0a5d04c84f3c254b500f8944826d70 | [
"MIT"
] | null | null | null | #pragma once
#include <array>
// Some util definitions
#include "../util/def.hxx"
// Main implementation of sequence printing
#include "../seq/impl/seq-impl.hxx"
// Impl for array
#include "../seq/array/array.hxx"
// Impl for deque
#include "../seq/deque/deque.hxx"
// Impl for forward_list
#include "../seq/forward_... | 24 | 75 | 0.703526 | [
"vector"
] |
2f5dfc8d79a18f3cd364cfe7a439f9bd49a27e05 | 341 | cpp | C++ | 1295. Find Numbers with Even Number of Digits.cpp | MadanParth786/LeetcodeSolutions_PracticeQuestions | 8a9c1eb88a6d5214abdb2becf2115a51e317a5c4 | [
"MIT"
] | 1 | 2022-01-19T14:25:36.000Z | 2022-01-19T14:25:36.000Z | 1295. Find Numbers with Even Number of Digits.cpp | MadanParth786/LeetcodeSolutions_PracticeQuestions | 8a9c1eb88a6d5214abdb2becf2115a51e317a5c4 | [
"MIT"
] | null | null | null | 1295. Find Numbers with Even Number of Digits.cpp | MadanParth786/LeetcodeSolutions_PracticeQuestions | 8a9c1eb88a6d5214abdb2becf2115a51e317a5c4 | [
"MIT"
] | null | null | null | class Solution {
public:
int FindNumbers(vector<int>& nums) {
int n=nums.size();
int count=0;
for(int i=0;i<n;i++){
if((9<=nums[i] and nums[i]<=99) or (1000<=nums[i] and nums[i]<=9999) or (nums[i]==10000)){
count+=1;
}
}
retur... | 24.357143 | 103 | 0.434018 | [
"vector"
] |
2f6adb85c62b0fcb28a2435b03fece2cdc8f47e9 | 24,932 | cc | C++ | qtchat/src/0.9.7/core/chatter.cc | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | qtchat/src/0.9.7/core/chatter.cc | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | qtchat/src/0.9.7/core/chatter.cc | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | #include <fstream.h>
#include <iomanip.h>
#include <list> // STL linked list
#include <string> // STL string class
#include <stdio.h>
#include <stdlib.h>
#include <qfontmetrics.h>
#include "chatter.h"
#include "net.h"
typedef list<string> StringList;
class ChatterRef : public StateObject {
public:
// Constructor... | 28.428734 | 130 | 0.663003 | [
"object",
"3d"
] |
2f6d1090741b679dc61f0cfa31c34995f0c81927 | 3,278 | cpp | C++ | src/ofApp.cpp | Poofjunior/of3DTests | fe2f4ddf8e23a3595813e57cf24a315291da4b19 | [
"MIT"
] | null | null | null | src/ofApp.cpp | Poofjunior/of3DTests | fe2f4ddf8e23a3595813e57cf24a315291da4b19 | [
"MIT"
] | null | null | null | src/ofApp.cpp | Poofjunior/of3DTests | fe2f4ddf8e23a3595813e57cf24a315291da4b19 | [
"MIT"
] | null | null | null | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
ofSetFrameRate(60);
ofBackground(ofColor::dimGray);
ofNoFill();
currView_.encodeRotation(0, 1, 0, 0);
lastMouseX_ = 0;
lastMouseY_ = 0;
q1.encodeRotation(M_PI/120, 1, 0, 1);
q2.encod... | 24.646617 | 77 | 0.516168 | [
"vector"
] |
2f6d41a7438ad89a0cf2ce83a1774ea57892e6ec | 2,335 | hpp | C++ | Engine/Source/Core/RHI/Public/Texture3D.hpp | rbetik12/RightEngine | d7db7605da0e33b8ae696429b4085e154fd9c2fa | [
"MIT"
] | null | null | null | Engine/Source/Core/RHI/Public/Texture3D.hpp | rbetik12/RightEngine | d7db7605da0e33b8ae696429b4085e154fd9c2fa | [
"MIT"
] | null | null | null | Engine/Source/Core/RHI/Public/Texture3D.hpp | rbetik12/RightEngine | d7db7605da0e33b8ae696429b4085e154fd9c2fa | [
"MIT"
] | null | null | null | #pragma once
#include "Texture.hpp"
#include <array>
namespace RightEngine
{
struct CubeMapFaces
{
std::vector<uint8_t> face1;
std::vector<uint8_t> face2;
std::vector<uint8_t> face3;
std::vector<uint8_t> face4;
std::vector<uint8_t> face5;
std::vector<uint8_t> fa... | 29.1875 | 98 | 0.416702 | [
"vector"
] |
2f765ac1eba23c65eec7ee51d4255c4d665884fa | 4,096 | cpp | C++ | src/dg/src/analysis/ReachingDefinitions/Srg/MarkerSRGBuilderFS.cpp | examon/llvm-stuff | 0c226536361c1d4ba95b86dd7a8672525db83a78 | [
"Apache-2.0"
] | 1 | 2019-12-16T01:48:08.000Z | 2019-12-16T01:48:08.000Z | src/dg/src/analysis/ReachingDefinitions/Srg/MarkerSRGBuilderFS.cpp | examon/llvm-stuff | 0c226536361c1d4ba95b86dd7a8672525db83a78 | [
"Apache-2.0"
] | 2 | 2018-10-18T05:28:07.000Z | 2018-11-21T10:20:23.000Z | src/analysis/ReachingDefinitions/Srg/MarkerSRGBuilderFS.cpp | ManSoSec/dg | 4bd115f8cf26d3584f009c92c0f7c21b1fb57307 | [
"MIT"
] | 1 | 2021-02-10T02:14:31.000Z | 2021-02-10T02:14:31.000Z | #include "analysis/ReachingDefinitions/Srg/MarkerSRGBuilderFS.h"
using namespace dg::analysis::rd::srg;
/**
* Saves the current definition of certain variable in given block
* Used from value numbering procedures.
*/
void MarkerSRGBuilderFS::writeVariableStrong(const DefSite& var, NodeT *assignment, BlockT *block) ... | 41.795918 | 166 | 0.685303 | [
"vector"
] |
2f76b4fd15317b27085a2917e8d4bbe455a71a6e | 1,273 | cpp | C++ | sources/2015/2015_02.cpp | tbielak/AoC_cpp | 69f36748536e60a1b88f9d44a285feff20df8470 | [
"MIT"
] | 2 | 2021-02-01T13:19:37.000Z | 2021-02-25T10:39:46.000Z | sources/2015/2015_02.cpp | tbielak/AoC_cpp | 69f36748536e60a1b88f9d44a285feff20df8470 | [
"MIT"
] | null | null | null | sources/2015/2015_02.cpp | tbielak/AoC_cpp | 69f36748536e60a1b88f9d44a285feff20df8470 | [
"MIT"
] | null | null | null | #include "2015_02.h"
namespace Day02_2015
{
int part_one(const t_items& items)
{
int area = 0;
vector<int> s(3);
for (const auto& x : items)
{
const auto& [l, w, h] = x;
s[0] = l * w;
s[1] = w * h;
s[2] = h * l;
sort(s.begin(), s.end());
area += accumulate(s.begin(), s.end(), 0) * 2 + s[0];... | 20.868852 | 103 | 0.571092 | [
"vector"
] |
2f7f93c6f0319cd457b11ace7d0e81a82fec994d | 564 | cpp | C++ | C++/0398-Random-Pick-Index/soln-2.cpp | wyaadarsh/LeetCode-Solutions | 3719f5cb059eefd66b83eb8ae990652f4b7fd124 | [
"MIT"
] | 5 | 2020-07-24T17:48:59.000Z | 2020-12-21T05:56:00.000Z | C++/0398-Random-Pick-Index/soln-2.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | null | null | null | C++/0398-Random-Pick-Index/soln-2.cpp | zhangyaqi1989/LeetCode-Solutions | 2655a1ffc8678ad1de6c24295071308a18c5dc6e | [
"MIT"
] | 2 | 2020-07-24T17:49:01.000Z | 2020-08-31T19:57:35.000Z | class Solution {
vector<int> nums;
public:
Solution(vector<int> nums) {
this->nums = nums;
}
int pick(int target) {
int cnt = 1, idx = 0, n = nums.size();
for(int i = 0; i < n; ++i) {
if (nums[i] == target) {
int r = rand() % cnt;
... | 21.692308 | 64 | 0.453901 | [
"object",
"vector"
] |
2f80423cd080b117b00402a2d91e65ab15cdd0b2 | 3,236 | hpp | C++ | test/utils.hpp | bloomen/densitas | ede7f20ca40609c7991aed5bc39ed1f2ca85b62a | [
"MIT"
] | 3 | 2017-05-04T20:34:28.000Z | 2018-05-20T17:04:39.000Z | test/utils.hpp | bloomen/densitas | ede7f20ca40609c7991aed5bc39ed1f2ca85b62a | [
"MIT"
] | null | null | null | test/utils.hpp | bloomen/densitas | ede7f20ca40609c7991aed5bc39ed1f2ca85b62a | [
"MIT"
] | null | null | null | #pragma once
#include <libunittest/all.hpp>
#include <densitas/all.hpp>
#define ARMA_DONT_USE_CXX11
#include <armadillo>
using namespace unittest::assertions;
typedef arma::vec vector_t;
typedef arma::mat matrix_t;
inline
vector_t mkcol(std::vector<double> data)
{
vector_t col(data.size());
std::copy(data.... | 22.472222 | 123 | 0.633189 | [
"vector"
] |
2f9f211645fcbbda61f82d65349836d0c761e200 | 3,623 | cpp | C++ | extobject.cpp | apfeltee/escript | d0dd02c0f05d100755333d90033f1324dfef99e3 | [
"MIT"
] | null | null | null | extobject.cpp | apfeltee/escript | d0dd02c0f05d100755333d90033f1324dfef99e3 | [
"MIT"
] | null | null | null | extobject.cpp | apfeltee/escript | d0dd02c0f05d100755333d90033f1324dfef99e3 | [
"MIT"
] | null | null | null | // ExtObject.cpp
// This file is part of the EScript programming language (https://github.com/EScript)
//
// Copyright (C) 2011-2013 Claudius Jähn <ClaudiusJ@live.de>
// Copyright (C) 2012 Benjamin Eikel <benjamin@eikel.org>
//
// Licensed under the MIT License. See LICENSE file for details.
// ------------------------... | 29.217742 | 114 | 0.510351 | [
"object"
] |
2fa2c4f5335a54dbfb4fb62df38c2f3d9bb0a2f6 | 3,875 | cpp | C++ | Homeworks/04_Homework/05_zuma.cpp | NaskoVasilev/Data-Structures-And-Algorithms | 1a4dba588df7e88498fddda9c04a8832f8c0dad8 | [
"MIT"
] | 2 | 2021-10-31T18:32:47.000Z | 2022-01-28T08:58:34.000Z | Homeworks/04_Homework/05_zuma.cpp | NaskoVasilev/Data-Structures-And-Algorithms | 1a4dba588df7e88498fddda9c04a8832f8c0dad8 | [
"MIT"
] | null | null | null | Homeworks/04_Homework/05_zuma.cpp | NaskoVasilev/Data-Structures-And-Algorithms | 1a4dba588df7e88498fddda9c04a8832f8c0dad8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <string>
#include <list>
using namespace std;
int main() {
int n;
cin >> n;
vector<list<int>::iterator> references;
list<int> balls;
list<int>::iterator pointer;
for (int i = 0; i < n; ++i) {
int ball;
cin >> ball;
balls.p... | 27.877698 | 107 | 0.535226 | [
"vector"
] |
2fa434342d0d8d7a32f91bb4f8992a9a949ba498 | 2,386 | cpp | C++ | ClassicIE9/ClassicIE9DLL/ClassicIE9DLL.cpp | sedwards/ClassicShell | c7d4bac036d7da8e053bc12decfcd2e3744e0e76 | [
"MIT"
] | 11 | 2015-10-23T03:14:26.000Z | 2021-04-19T21:40:28.000Z | ClassicIE9/ClassicIE9DLL/ClassicIE9DLL.cpp | vonchenplus/ClassicShell | c7d4bac036d7da8e053bc12decfcd2e3744e0e76 | [
"MIT"
] | null | null | null | ClassicIE9/ClassicIE9DLL/ClassicIE9DLL.cpp | vonchenplus/ClassicShell | c7d4bac036d7da8e053bc12decfcd2e3744e0e76 | [
"MIT"
] | 14 | 2015-11-13T07:09:35.000Z | 2020-04-05T13:10:45.000Z | // Classic Shell (c) 2009-2013, Ivo Beltchev
// The sources for Classic Shell are distributed under the MIT open source license
#include "stdafx.h"
#include "resource.h"
#include "ClassicIE9DLL_i.h"
#include "ClassicIE9DLL.h"
#include "Settings.h"
#include "dllmain.h"
CSIE9API void LogMessage( const char *t... | 24.597938 | 108 | 0.706203 | [
"object"
] |
2fa76d0bfdd11c598362b08fd2ce1d170dbd2077 | 2,677 | cpp | C++ | aws-cpp-sdk-pinpoint-sms-voice-v2/source/model/AccountLimitName.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-pinpoint-sms-voice-v2/source/model/AccountLimitName.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-pinpoint-sms-voice-v2/source/model/AccountLimitName.cpp | Nexuscompute/aws-sdk-cpp | e7ef485e46e6962c9e084b8c9b104c1bfcceaf26 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/pinpoint-sms-voice-v2/model/AccountLimitName.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using names... | 31.494118 | 98 | 0.629809 | [
"model"
] |
2fa9386b1b32769a5f37a41e52fabe9fa84d80e2 | 1,458 | hxx | C++ | src/core/ipcsoc.hxx | LittleGreyCells/escheme-interpreter | 4843c2615f7f576c52c1d56ba3b6b94795d8f584 | [
"MIT"
] | null | null | null | src/core/ipcsoc.hxx | LittleGreyCells/escheme-interpreter | 4843c2615f7f576c52c1d56ba3b6b94795d8f584 | [
"MIT"
] | null | null | null | src/core/ipcsoc.hxx | LittleGreyCells/escheme-interpreter | 4843c2615f7f576c52c1d56ba3b6b94795d8f584 | [
"MIT"
] | null | null | null | #ifndef IPCSOC_HXX
#define IPCSOC_HXX
// syntax: (SOCKET-CREATE-TCP [<server-flag>]) -> <sockfd>
// syntax: (SOCKET-CREATE-UDP) -> <sockfd>
// syntax: (SOCKET-READ <sockfd> <numbytes>) -> <byte-vector>
// syntax: (SOCKET-WRITE <sockfd> <byte-vector>) -> <fixnum>
// syntax: (SOCKET-RECVFROM <sockfd> <numbytes> <from-a... | 25.578947 | 93 | 0.628258 | [
"vector"
] |
2fb1d0fc5ba70a64100010d5938d4556edb474f5 | 9,530 | hxx | C++ | Modules/IO/ImageIO/include/otbImageSeriesFileReader.hxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Modules/IO/ImageIO/include/otbImageSeriesFileReader.hxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Modules/IO/ImageIO/include/otbImageSeriesFileReader.hxx | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
* Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fil... | 32.087542 | 95 | 0.700315 | [
"vector"
] |
2fc1b770c196c6b9cd780636aecd9de33c09e357 | 6,132 | cpp | C++ | ttk/core/vtk/ttkPersistenceDiagramsClustering/ttkPersistenceDiagramsClustering.cpp | julesvidal/wasserstein-pd-barycenter | 1f62a5e1c40700030357b2bfb9a2f86fe4736861 | [
"BSD-Source-Code"
] | 1 | 2019-09-10T12:36:52.000Z | 2019-09-10T12:36:52.000Z | ttk/core/vtk/ttkPersistenceDiagramsClustering/ttkPersistenceDiagramsClustering.cpp | julesvidal/wasserstein-pd-barycenter | 1f62a5e1c40700030357b2bfb9a2f86fe4736861 | [
"BSD-Source-Code"
] | null | null | null | ttk/core/vtk/ttkPersistenceDiagramsClustering/ttkPersistenceDiagramsClustering.cpp | julesvidal/wasserstein-pd-barycenter | 1f62a5e1c40700030357b2bfb9a2f86fe4736861 | [
"BSD-Source-Code"
] | 1 | 2021-04-28T12:36:58.000Z | 2021-04-28T12:36:58.000Z | #include <ttkPersistenceDiagramsClustering.h>
#ifndef macroDiagramTuple
#define macroDiagramTuple std::tuple<ttk::SimplexId, ttk::CriticalType, ttk::SimplexId, \
ttk::CriticalType, VTK_TT, ttk::SimplexId, \
VTK_TT, float, float, float, VTK_TT, float, float, float>
#endif
#ifndef macroMatchingTupl... | 33.326087 | 153 | 0.753914 | [
"vector"
] |
2fc7738c4502ac4c3f21b591f399e660d7e61607 | 3,843 | cpp | C++ | reflex/ext/reflex/shape.cpp | xord/reflexion | 7d864267152dca1ffeef757d0584777b16a92ede | [
"MIT"
] | 3 | 2015-12-18T09:04:48.000Z | 2022-01-04T22:21:20.000Z | reflex/ext/reflex/shape.cpp | xord/reflexion | 7d864267152dca1ffeef757d0584777b16a92ede | [
"MIT"
] | null | null | null | reflex/ext/reflex/shape.cpp | xord/reflexion | 7d864267152dca1ffeef757d0584777b16a92ede | [
"MIT"
] | null | null | null | #include "reflex/ruby/shape.h"
#include <rays/ruby/bounds.h>
#include "reflex/exception.h"
#include "reflex/ruby/view.h"
#include "defs.h"
#include "selector.h"
RUCY_DEFINE_WRAPPER_VALUE_FROM_TO(Reflex::Shape)
#define THIS to<Reflex::Shape*>(self)
#define CHECK RUCY_CHECK_OBJ(Reflex::Shape, self)
#defin... | 16.564655 | 78 | 0.745251 | [
"shape"
] |
2fced6c55050bbe492ae3ffc964562917ea38288 | 897 | hpp | C++ | RubikSolver-iOS/RubikSolver-ImageProcessingEngine/Source/ColorDetector.hpp | rhcpfan/ios-rubik-solver | 3429f9b0a2eee218db70a3aca7324662a6231b69 | [
"MIT"
] | 129 | 2017-03-13T12:20:38.000Z | 2022-01-31T16:07:06.000Z | RubikSolver-iOS/RubikSolver-ImageProcessingEngine/Source/ColorDetector.hpp | rhcpfan/ios-rubik-solver | 3429f9b0a2eee218db70a3aca7324662a6231b69 | [
"MIT"
] | 5 | 2017-03-17T10:39:23.000Z | 2019-01-03T16:00:49.000Z | RubikSolver-iOS/RubikSolver-ImageProcessingEngine/Source/ColorDetector.hpp | rhcpfan/ios-rubik-solver | 3429f9b0a2eee218db70a3aca7324662a6231b69 | [
"MIT"
] | 15 | 2017-03-14T06:25:20.000Z | 2022-03-25T06:17:34.000Z | //
// ColorDetector.hpp
// RubikSolver
//
// Created by rhcpfan on 15/01/17.
// Copyright © 2017 HomeApps. All rights reserved.
//
#ifndef ColorDetector_hpp
#define ColorDetector_hpp
#include <stdio.h>
#include <opencv2/opencv.hpp>
#endif /* ColorDetector_hpp */
class ColorDetector
{
private:
... | 27.181818 | 118 | 0.688963 | [
"vector"
] |
2fd0b9aecf722de4309565897ce7fca3341e48e6 | 2,204 | cpp | C++ | geode/force/Gravity.cpp | jjqcat/geode | 157cc904c113cc5e29a1ffe7c091a83b8ec2cf8e | [
"BSD-3-Clause"
] | 75 | 2015-02-08T22:04:31.000Z | 2022-02-26T14:31:43.000Z | geode/force/Gravity.cpp | bantamtools/geode | d906f1230b14953b68af63aeec2f7b0418d5fdfd | [
"BSD-3-Clause"
] | 15 | 2015-01-08T15:11:38.000Z | 2021-09-05T13:27:22.000Z | geode/force/Gravity.cpp | bantamtools/geode | d906f1230b14953b68af63aeec2f7b0418d5fdfd | [
"BSD-3-Clause"
] | 22 | 2015-03-11T16:43:13.000Z | 2021-02-15T09:37:51.000Z | //#####################################################################
// Class Gravity
//#####################################################################
#include <geode/force/Gravity.h>
#include <geode/python/Class.h>
namespace geode {
typedef real T;
template<> GEODE_DEFINE_TYPE(Gravity<Vector<real,3> >)
tem... | 29.783784 | 119 | 0.667423 | [
"vector"
] |
2fd729c776804db8c9a2e07c9a2a607ccd84a406 | 1,455 | cpp | C++ | Websites/HackeEarth/hackerEarthMayEasy2.cpp | TechieErica/Algorithms | cfe3b0ba7853e57e4e594179213ef93c18a440d6 | [
"MIT"
] | 1 | 2020-05-15T02:19:19.000Z | 2020-05-15T02:19:19.000Z | Websites/HackeEarth/hackerEarthMayEasy2.cpp | Ergerica/Algorithms | cfe3b0ba7853e57e4e594179213ef93c18a440d6 | [
"MIT"
] | null | null | null | Websites/HackeEarth/hackerEarthMayEasy2.cpp | Ergerica/Algorithms | cfe3b0ba7853e57e4e594179213ef93c18a440d6 | [
"MIT"
] | null | null | null |
//https://www.hackerearth.com/submission/25990669/ Hacker earth extra points 0.16 points
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi ;
typedef vector<string> vs ;
typedef vector<long long> vl ;
#define FOR(i,a,b) for(int i=a;i<b;++i)
#define rep(i,n) FOR(i,0,n)
ll... | 21.397059 | 93 | 0.470103 | [
"vector"
] |
7c841dda58885240753ff69b7ebae8c88534ecd8 | 5,186 | cpp | C++ | Game/graphics/worldview.cpp | djeada/OpenGothic | a10fc3dd7a296a96b72bb8d3f9cf3b40da992580 | [
"MIT"
] | 1 | 2020-07-03T22:51:15.000Z | 2020-07-03T22:51:15.000Z | Game/graphics/worldview.cpp | djeada/OpenGothic | a10fc3dd7a296a96b72bb8d3f9cf3b40da992580 | [
"MIT"
] | null | null | null | Game/graphics/worldview.cpp | djeada/OpenGothic | a10fc3dd7a296a96b72bb8d3f9cf3b40da992580 | [
"MIT"
] | null | null | null | #include "worldview.h"
#include <Tempest/Application>
#include "world/world.h"
#include "rendererstorage.h"
#include "graphics/submesh/packedmesh.h"
#include "graphics/dynamic/painter3d.h"
using namespace Tempest;
WorldView::WorldView(const World &world, const PackedMesh &wmesh, const RendererStorage &storage)
: ... | 29.134831 | 114 | 0.688392 | [
"mesh"
] |
7c844794c41d0bb69633ab033b8600374ac0ea8c | 447 | cpp | C++ | ARRAYS/Easy/Check if the Sentence Is Pangram/Code.cpp | HassanRahim26/LEETCODE | c0ec81b037ff7b2d6e6030ac9835c21ed825100f | [
"MIT"
] | 3 | 2021-08-31T11:02:28.000Z | 2022-01-17T08:07:00.000Z | ARRAYS/Easy/Check if the Sentence Is Pangram/Code.cpp | HassanRahim26/LEETCODE | c0ec81b037ff7b2d6e6030ac9835c21ed825100f | [
"MIT"
] | null | null | null | ARRAYS/Easy/Check if the Sentence Is Pangram/Code.cpp | HassanRahim26/LEETCODE | c0ec81b037ff7b2d6e6030ac9835c21ed825100f | [
"MIT"
] | null | null | null | /*
PROBLEM LINK:- https://leetcode.com/problems/check-if-the-sentence-is-pangram/
*/
class Solution {
public:
bool checkIfPangram(string str) {
int n = str.size();
vector v(26,0);
for(int i = 0; i < n; i++)
{
v[str[i]-'a']++;
}
for(int i... | 18.625 | 78 | 0.418345 | [
"vector"
] |
7c8741663e0bfa21bd7a26ac8df5ee01cf0cf033 | 2,096 | hpp | C++ | src/plugins/intel_gna/layers/gna_crop_layer.hpp | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/plugins/intel_gna/layers/gna_crop_layer.hpp | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/plugins/intel_gna/layers/gna_crop_layer.hpp | kurylo/openvino | 4da0941cd2e8f9829875e60df73d3cd01f820b9c | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <legacy/ie_layers.h>
#include "gna_graph_tools.hpp"
namespace GNAPluginNS {
class GNACropLayer {
InferenceEngine::CNNLayerPtr cropLayer;
public:
explicit GNACropLayer(InferenceEngine::CNNLayerPtr lay... | 30.823529 | 112 | 0.643607 | [
"vector"
] |
7c8e9b0a87d3001e793317631b8578c1f6d33e20 | 427 | cpp | C++ | leetcode/archives_am/852.peak-index-in-a-mountain-array.cpp | saurabhraj042/dsaPrep | 0973a03bc565a2850003c7e48d99b97ff83b1d01 | [
"MIT"
] | 23 | 2021-10-30T04:11:52.000Z | 2021-11-27T09:16:18.000Z | leetcode/archives_am/852.peak-index-in-a-mountain-array.cpp | saurabhraj042/dsaPrep | 0973a03bc565a2850003c7e48d99b97ff83b1d01 | [
"MIT"
] | null | null | null | leetcode/archives_am/852.peak-index-in-a-mountain-array.cpp | saurabhraj042/dsaPrep | 0973a03bc565a2850003c7e48d99b97ff83b1d01 | [
"MIT"
] | 4 | 2021-10-30T03:26:05.000Z | 2021-11-14T12:15:04.000Z | // https://leetcode.com/problems/peak-index-in-a-mountain-array/
class Solution {
public:
int peakIndexInMountainArray(vector<int>& a) {
int l = 0;
int h = size(a) - 1;
while(l < h){
int m = (l + h) / 2;
if(a[m] < a[m+1]){
l = m +... | 21.35 | 64 | 0.367681 | [
"vector"
] |
7c9626337adbf9a5e4cf475a429712bc6ba51f29 | 21,950 | cpp | C++ | util/test/demos/d3d11/d3d11_pixel_history_zoo.cpp | orsonbraines/renderdoc | ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e | [
"MIT"
] | 1 | 2022-02-17T21:18:24.000Z | 2022-02-17T21:18:24.000Z | util/test/demos/d3d11/d3d11_pixel_history_zoo.cpp | orsonbraines/renderdoc | ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e | [
"MIT"
] | null | null | null | util/test/demos/d3d11/d3d11_pixel_history_zoo.cpp | orsonbraines/renderdoc | ed9ac9f7bf594f79f834ce8fa0b9717b69d13b0e | [
"MIT"
] | null | null | null | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2022 Baldur Karlsson
*
* 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... | 29.782904 | 100 | 0.680729 | [
"vector"
] |
7c9d2b57ac9927ba214d9e4f04db2b983ebab617 | 1,543 | cpp | C++ | minpro2017/c.cpp | nel215/atcoder-grand-contest | a13ce146516c03881f50b7ac284be23d16d29ffe | [
"MIT"
] | null | null | null | minpro2017/c.cpp | nel215/atcoder-grand-contest | a13ce146516c03881f50b7ac284be23d16d29ffe | [
"MIT"
] | null | null | null | minpro2017/c.cpp | nel215/atcoder-grand-contest | a13ce146516c03881f50b7ac284be23d16d29ffe | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <deque>
#include <complex>
#include <algorithm>
#include <cstdio>
#include <cmath>
#include <cstring>
#define REP(i,x) for(int i=0 ; i<(... | 20.851351 | 93 | 0.456902 | [
"vector"
] |
7cab94a20de3a1cf0e5d9be5fc1e589dcf81c1b5 | 18,166 | cpp | C++ | src/sendData.cpp | lbussy/tiltbridge | eef5406c4eb598febe4e22651dacfef24b63efd8 | [
"Apache-2.0"
] | null | null | null | src/sendData.cpp | lbussy/tiltbridge | eef5406c4eb598febe4e22651dacfef24b63efd8 | [
"Apache-2.0"
] | null | null | null | src/sendData.cpp | lbussy/tiltbridge | eef5406c4eb598febe4e22651dacfef24b63efd8 | [
"Apache-2.0"
] | null | null | null | //
// Created by John Beeler on 2/18/19.
//
#include<ctime>
#include <nlohmann/json.hpp>
// for convenience
using json = nlohmann::json;
#include "tiltBridge.h"
#include "wifi_setup.h"
#include "sendData.h"
#include <Arduino.h>
#include <HTTPClient.h>
#include <WiFi.h>
#ifdef USE_SECURE_GSCRIPTS
#include <WiFiMu... | 38.324895 | 177 | 0.627106 | [
"object"
] |
7caccfff8a66fbe6b18c5b904e749311944dfc15 | 38,691 | cpp | C++ | tests/model/test-brep.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 64 | 2019-08-02T14:31:01.000Z | 2022-03-30T07:46:50.000Z | tests/model/test-brep.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 395 | 2019-08-02T17:15:10.000Z | 2022-03-31T15:10:27.000Z | tests/model/test-brep.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 8 | 2019-08-19T21:32:15.000Z | 2022-03-06T18:41:10.000Z | /*
* Copyright (c) 2019 - 2021 Geode-solutions
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, mer... | 43.967045 | 80 | 0.638055 | [
"mesh",
"geometry",
"model"
] |
7cb1353bfe7eab7e790ff2229beaa55d612c0f0c | 815 | hpp | C++ | src/Tools/Math/Galois.hpp | codechecker123/aff3ct | 030af3e990027fa803fb2c68f974c9ec0ee79b5d | [
"MIT"
] | null | null | null | src/Tools/Math/Galois.hpp | codechecker123/aff3ct | 030af3e990027fa803fb2c68f974c9ec0ee79b5d | [
"MIT"
] | null | null | null | src/Tools/Math/Galois.hpp | codechecker123/aff3ct | 030af3e990027fa803fb2c68f974c9ec0ee79b5d | [
"MIT"
] | null | null | null | #ifndef GALOIS_HPP
#define GALOIS_HPP
#include <vector>
namespace aff3ct
{
namespace tools
{
class Galois
{
protected:
const int K;
const int N; // number of non-nul elements in the field : N = 2^m - 1
const int m; // order of the Galois Field
std::vector<int> alpha_to; // log table of GF(2**m)
std::vector<int>... | 19.878049 | 95 | 0.674847 | [
"vector"
] |
7cc1524168c6f0a48d5ba6af3b44cc855b7bfeab | 10,059 | cc | C++ | src/catkin_ws/src/obstacles/src/cv_sphere.cc | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | src/catkin_ws/src/obstacles/src/cv_sphere.cc | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | src/catkin_ws/src/obstacles/src/cv_sphere.cc | JakobThumm/safe_rl_manipulators | 1724aee2ec4cbbd8fecfbf1653991e182d4ca48b | [
"MIT"
] | null | null | null | #ifndef _VELODYNE_PLUGIN_HH_
#define _VELODYNE_PLUGIN_HH_
#include <random>
#include <gazebo/gazebo.hh>
#include <gazebo/common/common.hh>
#include <gazebo/physics/physics.hh>
#include <gazebo/transport/transport.hh>
#include <gazebo/msgs/msgs.hh>
#include <thread>
#include "ros/ros.h"
#include "ros/callback_queue.h"
... | 36.445652 | 132 | 0.642807 | [
"model"
] |
7cc5487bcbfbf5f62f337ee54cfdf2860ea1f943 | 1,020 | hh | C++ | examples/instance/instance.hh | BlurryLight/DiRenderLab | e07f2e5cbbb30511c9f610fc6e4c9d03c92ec3e3 | [
"MIT"
] | 2 | 2021-04-21T04:28:36.000Z | 2022-03-04T07:55:11.000Z | examples/instance/instance.hh | BlurryLight/DiRenderLab | e07f2e5cbbb30511c9f610fc6e4c9d03c92ec3e3 | [
"MIT"
] | null | null | null | examples/instance/instance.hh | BlurryLight/DiRenderLab | e07f2e5cbbb30511c9f610fc6e4c9d03c92ec3e3 | [
"MIT"
] | 2 | 2021-08-04T10:31:56.000Z | 2021-11-20T09:22:24.000Z | //
// Created by zhong on 2021/5/1.
//
#ifndef DIRENDERLAB_INSTANCE_HH
#define DIRENDERLAB_INSTANCE_HH
#include "GLwrapper/global.hh"
#include "GLwrapper/glsupport.hh"
#include "GLwrapper/texture.hh"
#include "GLwrapper/vertex_array.hh"
using DRL::RenderBase;
class InstanceRender : public RenderBase {
protected:
DRL... | 26.842105 | 74 | 0.746078 | [
"render",
"vector",
"model"
] |
7cc5d3807068494374a4e60a0910f2b5cb215848 | 22,301 | cpp | C++ | Project2/Project2/Project2.cpp | jakemanning/cs2413 | 8c031fb285ed63dd08022fa99f2672022e969659 | [
"MIT"
] | 2 | 2019-04-24T03:33:30.000Z | 2019-05-06T00:40:47.000Z | Project2/Project2/Project2.cpp | jakemanning/cs2413 | 8c031fb285ed63dd08022fa99f2672022e969659 | [
"MIT"
] | null | null | null | Project2/Project2/Project2.cpp | jakemanning/cs2413 | 8c031fb285ed63dd08022fa99f2672022e969659 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class Exception { }; // Generic, all exceptions derive from this
class IncorrectTab : public Exception { }; // In case the user asked for a browser tab that doesn't exist yet
class IncorrectAction : public Exception { }; // In case the user asked for an ac... | 32.89233 | 217 | 0.653379 | [
"object",
"vector"
] |
7cca822575258b5f65fd6070e6bc3dced69fc9bd | 5,751 | cpp | C++ | src/map.cpp | LukaC256/termsweeper | 295199139ca8785c5df51ab9cb837faff6efc7a1 | [
"MIT"
] | null | null | null | src/map.cpp | LukaC256/termsweeper | 295199139ca8785c5df51ab9cb837faff6efc7a1 | [
"MIT"
] | null | null | null | src/map.cpp | LukaC256/termsweeper | 295199139ca8785c5df51ab9cb837faff6efc7a1 | [
"MIT"
] | null | null | null | #include "map.hpp"
#include "characters.hpp"
#include "vector.hpp"
#include <cstdlib>
#include <ctime>
#include <random>
#include <iostream>
using namespace std;
const CVector vDirs[] = {
CVector(-1, -1),
CVector(0, -1),
CVector(1, -1),
CVector(-1, 0),
CVector(1, 0),
CVector(-1, 1),
CVector(0, 1),
CVector(1, ... | 20.321555 | 101 | 0.569814 | [
"vector"
] |
7cccfe4b4afe2fd2b31c01c14824f3d5c8857037 | 2,635 | cpp | C++ | src/Constellation.cpp | cooperhewitt/Planetary | 03b152c255d191e3a0f6e90369126b8017ac60c0 | [
"BSD-3-Clause"
] | 43 | 2015-02-07T13:30:03.000Z | 2021-08-02T02:58:57.000Z | src/Constellation.cpp | bobwol/Planetary | 03b152c255d191e3a0f6e90369126b8017ac60c0 | [
"BSD-3-Clause"
] | 4 | 2015-01-04T23:54:22.000Z | 2021-05-12T09:56:09.000Z | src/Constellation.cpp | bobwol/Planetary | 03b152c255d191e3a0f6e90369126b8017ac60c0 | [
"BSD-3-Clause"
] | 23 | 2015-01-03T10:00:37.000Z | 2021-04-16T18:57:52.000Z | //
// Constellation.cpp
// Kepler
//
// Created by Tom Carden on 6/14/11.
// Copyright 2013 Smithsonian Institution. All rights reserved.
//
#include "Constellation.h"
#include "cinder/gl/gl.h"
#include "Globals.h"
using std::vector;
using namespace ci;
void Constellation::setup(const vector<NodeArtist*> &filter... | 30.639535 | 107 | 0.69981 | [
"vector"
] |
7ccf87bdb260d4ee963f3b7002621c4b5b9997a3 | 363 | cpp | C++ | problems/single_number.cpp | zZnghialamZz/CSLearning | 315ad93c76add64e31e6ade182c7d1a3fdffcc18 | [
"MIT"
] | null | null | null | problems/single_number.cpp | zZnghialamZz/CSLearning | 315ad93c76add64e31e6ade182c7d1a3fdffcc18 | [
"MIT"
] | null | null | null | problems/single_number.cpp | zZnghialamZz/CSLearning | 315ad93c76add64e31e6ade182c7d1a3fdffcc18 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
class Solution {
public:
static int single_number(const std::vector<int>& input) {
int unique = 0;
for (const int& i : input) {
unique ^= i;
}
return unique;
}
};
int main() {
std::vector<int> input { 4, 1, 2, 1, 2 };
std::cout << Solution().single_... | 17.285714 | 60 | 0.586777 | [
"vector"
] |
7ced491b97eb063e914c24ec662e8d3ff23b008c | 1,908 | cpp | C++ | lightoj/nf wa 1353 - Paths in a Tree bfs dfs .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | 1 | 2021-11-22T02:26:43.000Z | 2021-11-22T02:26:43.000Z | lightoj/nf wa 1353 - Paths in a Tree bfs dfs .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | lightoj/nf wa 1353 - Paths in a Tree bfs dfs .cpp | priojeetpriyom/competitive-programming | 0024328972d4e14c04c0fd5d6dd3cdf131d84f9d | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
//int kk[111];
int vis[20100];
int par[20100];
vector<int> conn [20100];
//
void dfs(int u, int par) {
// printf("u %d\n", u);
int len = conn[u].size();
vis[u]++;
// printf("len %d\n");
// int ans=0;
for(int ... | 18.891089 | 71 | 0.375262 | [
"vector"
] |
7cf6bd76e9ec52a7397093fdc9b1bc74cf778707 | 27,218 | cc | C++ | libs/quadwild/libs/CoMISo/NSolver/TAOSolver.cc | Pentacode-IAFA/Quad-Remeshing | f8fd4c10abf1c54656b38a00b8a698b952a85fe2 | [
"Apache-2.0"
] | 216 | 2018-09-09T11:53:56.000Z | 2022-03-19T13:41:35.000Z | libs/quadwild/libs/CoMISo/NSolver/TAOSolver.cc | Pentacode-IAFA/Quad-Remeshing | f8fd4c10abf1c54656b38a00b8a698b952a85fe2 | [
"Apache-2.0"
] | 13 | 2018-10-23T08:29:09.000Z | 2021-09-08T06:45:34.000Z | libs/quadwild/libs/CoMISo/NSolver/TAOSolver.cc | Pentacode-IAFA/Quad-Remeshing | f8fd4c10abf1c54656b38a00b8a698b952a85fe2 | [
"Apache-2.0"
] | 41 | 2018-09-13T08:50:41.000Z | 2022-02-23T00:33:54.000Z | //=============================================================================
//
// CLASS TAOSolver - IMPLEMENTATION
//
//=============================================================================
//== COMPILE-TIME PACKAGE REQUIREMENTS ========================================
#include <CoMISo/Config/config.hh>
#... | 27.218 | 98 | 0.587075 | [
"vector"
] |
cfb3053dfb88aa0a492d14c148d0d1f173f91452 | 1,030 | cpp | C++ | Languages/C++/median.cpp | Nandini2901/Hacktoberfest-1 | ac5eff7c8678f3ce00041bdba20c63c416dac690 | [
"MIT"
] | 1 | 2020-10-03T03:17:03.000Z | 2020-10-03T03:17:03.000Z | Languages/C++/median.cpp | Nandini2901/Hacktoberfest-1 | ac5eff7c8678f3ce00041bdba20c63c416dac690 | [
"MIT"
] | 1 | 2020-10-01T18:03:45.000Z | 2020-10-01T18:03:45.000Z | Languages/C++/median.cpp | Nandini2901/Hacktoberfest-1 | ac5eff7c8678f3ce00041bdba20c63c416dac690 | [
"MIT"
] | 4 | 2020-10-07T14:58:50.000Z | 2020-10-24T10:13:17.000Z | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int getMedian(vector<int> a, int n, int median)
{
sort(a.begin(),a.end());
int mid = a.at(n/2);
int count = 0,i;
if(mid == median)
return 0;
if(mid < median)
{
for(i = n/2; a.at(i) < medi... | 18.727273 | 48 | 0.363107 | [
"vector"
] |
cfb39c4411a8c9c416c9f9284a0c6f98b566fe39 | 44,048 | hpp | C++ | hpx/runtime/actions/preprocessed/construct_continuation_functions_5.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/runtime/actions/preprocessed/construct_continuation_functions_5.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | hpx/runtime/actions/preprocessed/construct_continuation_functions_5.hpp | andreasbuhr/hpx | 4366a90aacbd3e95428a94ab24a1646a67459cc2 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2013 Hartmut Kaiser
// Copyright (c) 2012-2013 Thomas Heller
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// This file has been automatically generated using the Boost.Wave tool.
// Do n... | 42.476374 | 490 | 0.558663 | [
"object"
] |
cfbf316a240bef76417455d6fa6f39f9acb46c75 | 1,828 | cpp | C++ | problems/encoding-decoding/PrintDecodedDigitSequence.cpp | rahulpawar1489/Algorithms | bdf26092f141526b7f3147772732bfbfb4fe1a17 | [
"MIT"
] | 1 | 2022-01-02T12:17:19.000Z | 2022-01-02T12:17:19.000Z | problems/encoding-decoding/PrintDecodedDigitSequence.cpp | rahulpawar1489/Algorithms | bdf26092f141526b7f3147772732bfbfb4fe1a17 | [
"MIT"
] | null | null | null | problems/encoding-decoding/PrintDecodedDigitSequence.cpp | rahulpawar1489/Algorithms | bdf26092f141526b7f3147772732bfbfb4fe1a17 | [
"MIT"
] | 1 | 2021-03-27T18:42:13.000Z | 2021-03-27T18:42:13.000Z | // https://www.geeksforgeeks.org/print-all-possible-decodings-of-a-given-digit-sequence/
#include <iostream>
#include <string>
#include <vector>
void printVector(std::vector<std::string>& vector)
{
for (auto str : vector) {
std::cout << str << " ";
}
std::cout << "\n";
}
char getChar(int digit)
... | 22.024096 | 88 | 0.515317 | [
"vector"
] |
cfbf40ea5be118c9497bce31e97e8d258acd778a | 9,823 | hpp | C++ | byte_code.hpp | rcdomigan/atl | 6a6777a2f714480366551a4462c986a2f9d7612f | [
"Apache-2.0"
] | null | null | null | byte_code.hpp | rcdomigan/atl | 6a6777a2f714480366551a4462c986a2f9d7612f | [
"Apache-2.0"
] | 42 | 2015-01-01T20:20:29.000Z | 2017-05-31T02:02:58.000Z | byte_code.hpp | rcdomigan/atl | 6a6777a2f714480366551a4462c986a2f9d7612f | [
"Apache-2.0"
] | null | null | null | #ifndef BYTE_CODE_HPP
#define BYTE_CODE_HPP
/**
* @file /home/ryan/programming/atl/byte_code.hpp
* @author Ryan Domigan <ryan_domigan@sutdents@uml.edu>
* Created on Oct 01, 2015
*
* Definition of the byte-code for my dumb assembler/linker
*/
#include <iostream>
#include <map>
#include <string>
#include <vector>... | 25.251928 | 184 | 0.664054 | [
"object",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.