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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
deb17cc9b7275ab1aa770170580ab8645cf8393e | 10,691 | cpp | C++ | src/modules/user/LevelModule.cpp | caelwithcats/UmikoBot | e7e3ee0fd7e4bb296b85ea5f384e21ca59f44fe9 | [
"MIT"
] | null | null | null | src/modules/user/LevelModule.cpp | caelwithcats/UmikoBot | e7e3ee0fd7e4bb296b85ea5f384e21ca59f44fe9 | [
"MIT"
] | null | null | null | src/modules/user/LevelModule.cpp | caelwithcats/UmikoBot | e7e3ee0fd7e4bb296b85ea5f384e21ca59f44fe9 | [
"MIT"
] | null | null | null | #include "LevelModule.h"
#include "UmikoBot.h"
#include "core/Permissions.h"
using namespace Discord;
LevelModule::LevelModule(UmikoBot* client)
: Module("levels", true), m_client(client)
{
m_timer.setInterval(30 * 1000);
QObject::connect(&m_timer, &QTimer::timeout,
[this]()
{
for (auto it = m_exp.begin(); i... | 24.520642 | 104 | 0.612571 | [
"object"
] |
deb5789c776d8b10ff6ce8249d7573915d04ecbe | 227 | cc | C++ | src/matrix_vector.cc | j-haj/ublas-eigen-benchmark | 8dec4a509a486f5812719ec612367c6df5026412 | [
"MIT"
] | 1 | 2017-09-22T04:29:40.000Z | 2017-09-22T04:29:40.000Z | src/matrix_vector.cc | j-haj/ublas-eigen-benchmark | 8dec4a509a486f5812719ec612367c6df5026412 | [
"MIT"
] | null | null | null | src/matrix_vector.cc | j-haj/ublas-eigen-benchmark | 8dec4a509a486f5812719ec612367c6df5026412 | [
"MIT"
] | null | null | null | /* vim: set ts=2 sts=2 et sw=2 tw=80: */
/**
* matrix_vector.hpp
*
* Author: Jeff Hajewski
* Created: 7/25/2017
*
* Matrix vector multiplication benchmarks
*/
#include <Eigen/Dense>
struct MatrixMatrixBenchmarks {
};
| 14.1875 | 42 | 0.665198 | [
"vector"
] |
deb801e365db136a0610884c8341429bc0cc7235 | 5,274 | cpp | C++ | tests/test.cpp | karel-chladek/basic_slot_map | 0645e2c07b3a9c1ea9810665e92dd143137d9543 | [
"MIT"
] | 2 | 2021-05-19T17:12:25.000Z | 2021-11-25T08:49:51.000Z | tests/test.cpp | karel-chladek/basic_slot_map | 0645e2c07b3a9c1ea9810665e92dd143137d9543 | [
"MIT"
] | null | null | null | tests/test.cpp | karel-chladek/basic_slot_map | 0645e2c07b3a9c1ea9810665e92dd143137d9543 | [
"MIT"
] | null | null | null | #include <iostream>
#include "slotmap.hpp"
#include "catch.hpp"
template struct slot_map< int >;
TEST_CASE( "constructors" ) {
slot_map< int > sm;
REQUIRE( sm.empty() );
REQUIRE( sm.size() == 0 );
slot_map< int > sm2( sm );
REQUIRE( sm.empty() );
REQUIRE( sm.size() == 0 );
typename slot... | 23.544643 | 63 | 0.539818 | [
"vector"
] |
6311e8765f5699d6b728e02a04604c9a58e3efb6 | 7,673 | cpp | C++ | Network.cpp | AODQ/Pulcher-Client | 9d62526d4072fd0a4ac7ce438d86ae5bc8dd03b1 | [
"BSD-3-Clause"
] | null | null | null | Network.cpp | AODQ/Pulcher-Client | 9d62526d4072fd0a4ac7ce438d86ae5bc8dd03b1 | [
"BSD-3-Clause"
] | null | null | null | Network.cpp | AODQ/Pulcher-Client | 9d62526d4072fd0a4ac7ce438d86ae5bc8dd03b1 | [
"BSD-3-Clause"
] | null | null | null | /* (c) CiggBit. All rights reserved.
* See license.txt for more information
*/
#include "AOD.h"
#include "Client_Vars.h"
#include "Game_Manager.h"
#include "Network.h"
#include "Player.h"
#include "PulNet_Handler.h"
#include <fstream>
#include <future>
#include <iostream>
#include <mutex>
#include <s... | 31.446721 | 80 | 0.61762 | [
"vector"
] |
6316ccdd04b238701d96ee5c59e2eafcda8bfc2f | 18,603 | cpp | C++ | src/TAO/API/session.cpp | Zephyr-blues/LLL-TAO | 83fa6fff3dc3f911d99abc9be2474c75c1bcfd93 | [
"MIT"
] | null | null | null | src/TAO/API/session.cpp | Zephyr-blues/LLL-TAO | 83fa6fff3dc3f911d99abc9be2474c75c1bcfd93 | [
"MIT"
] | null | null | null | src/TAO/API/session.cpp | Zephyr-blues/LLL-TAO | 83fa6fff3dc3f911d99abc9be2474c75c1bcfd93 | [
"MIT"
] | null | null | null | /*__________________________________________________________________________________________
(c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++
(c) Copyright The Nexus Developers 2014 - 2019
Distributed under the MIT software license, see the accompanying
... | 34.386322 | 136 | 0.54545 | [
"vector"
] |
6318fa3995c1b40380d7dbf3ab4c0cb2d35d23a1 | 15,428 | hh | C++ | RAVL2/Core/Container/Buffer/SizeBufferAccess.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/Container/Buffer/SizeBufferAccess.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/Container/Buffer/SizeBufferAccess.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2001, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here... | 32.208768 | 131 | 0.633977 | [
"object",
"vector"
] |
63225940c722d30ce6037d60e9da455307c7e9b1 | 12,366 | cpp | C++ | BackEnd.cpp | aaraia/msg_app_king | e6e0dc4166d473d3077c76bdfe646b63452d9916 | [
"CC0-1.0"
] | null | null | null | BackEnd.cpp | aaraia/msg_app_king | e6e0dc4166d473d3077c76bdfe646b63452d9916 | [
"CC0-1.0"
] | null | null | null | BackEnd.cpp | aaraia/msg_app_king | e6e0dc4166d473d3077c76bdfe646b63452d9916 | [
"CC0-1.0"
] | null | null | null | #include "BackEnd.h"
// app
#include "CommsLayer.h"
#include "Message.h"
namespace MessageService {
void BackEnd::shutdown()
{
BaseQueue<BaseMessageRef>::shutdown();
}
void BackEnd::work(BaseMessageRef msg)
{
// check if a shutdown has been intitated
if (m_shutdown) return;
switch (msg->getId())... | 31.953488 | 165 | 0.585638 | [
"vector"
] |
632fa09a31b28dd9ad3575c807cf81c59312a13c | 2,254 | cpp | C++ | Miscellaneous/kirito.cpp | hardik0899/Competitive_Programming | 199039ad7a26a5f48152fe231a9ca5ac8685a707 | [
"MIT"
] | 1 | 2020-10-16T18:14:30.000Z | 2020-10-16T18:14:30.000Z | Miscellaneous/kirito.cpp | hardik0899/Competitive_Programming | 199039ad7a26a5f48152fe231a9ca5ac8685a707 | [
"MIT"
] | null | null | null | Miscellaneous/kirito.cpp | hardik0899/Competitive_Programming | 199039ad7a26a5f48152fe231a9ca5ac8685a707 | [
"MIT"
] | 1 | 2021-01-06T04:45:38.000Z | 2021-01-06T04:45:38.000Z | #define __USE_MINGW_ANSI_STDIO 0
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
#include <algorithm>
#include <queue>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <stack>
#include <deque>
#include <string.h>
#include <math.h>
using namespace std... | 24.769231 | 67 | 0.495563 | [
"vector"
] |
6349e7706cc7c70e892f342ad3f5d43f9bb6ff52 | 57,177 | cpp | C++ | TravelCrash/Plugins/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniAssetInstanceInput.cpp | all-in-one-of/HoudiniBugs | 00ccf448e4536241c9e4cf25ee4906f38479032c | [
"Unlicense"
] | null | null | null | TravelCrash/Plugins/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniAssetInstanceInput.cpp | all-in-one-of/HoudiniBugs | 00ccf448e4536241c9e4cf25ee4906f38479032c | [
"Unlicense"
] | null | null | null | TravelCrash/Plugins/HoudiniEngine/Source/HoudiniEngineRuntime/Private/HoudiniAssetInstanceInput.cpp | all-in-one-of/HoudiniBugs | 00ccf448e4536241c9e4cf25ee4906f38479032c | [
"Unlicense"
] | null | null | null | /*
* Copyright (c) <2017> Side Effects Software Inc.
*
* 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... | 41.075431 | 259 | 0.66999 | [
"mesh",
"object",
"transform"
] |
635049a9bcdc72ef088737318c88d87406c54a4e | 43,788 | hpp | C++ | include/psi/path_base.hpp | cartoonist/psi | 56caf15a9e1b1e395d99e42bad3972ee00bb0d8d | [
"MIT"
] | 19 | 2019-03-26T05:01:04.000Z | 2022-03-04T00:09:11.000Z | include/psi/path_base.hpp | cartoonist/psi | 56caf15a9e1b1e395d99e42bad3972ee00bb0d8d | [
"MIT"
] | 1 | 2020-01-27T23:09:08.000Z | 2020-01-27T23:09:08.000Z | include/psi/path_base.hpp | cartoonist/psi | 56caf15a9e1b1e395d99e42bad3972ee00bb0d8d | [
"MIT"
] | 1 | 2019-07-23T01:42:56.000Z | 2019-07-23T01:42:56.000Z | /**
* @file path_base.hpp
* @brief Path template class definitions.
*
* This header file defines Path template class in variation graph, its specializations
* for different purposes.
*
* @author Ali Ghaffaari (\@cartoonist), <ali.ghaffaari@mpi-inf.mpg.de>
*
* @internal
* Created: Sat Mar 31... | 33.197877 | 108 | 0.510345 | [
"vector",
"transform"
] |
6353e4bd8859d7bc81c1a667989ecd0e6374ba3d | 5,823 | cpp | C++ | src/app/core/log.cpp | botorabi/Meet4Eat-Desktop | a3f27df5ab4b4697fcb5682900f48716b2021869 | [
"MIT"
] | 1 | 2018-03-20T08:21:34.000Z | 2018-03-20T08:21:34.000Z | src/app/core/log.cpp | botorabi/Meet4Eat-Desktop | a3f27df5ab4b4697fcb5682900f48716b2021869 | [
"MIT"
] | 2 | 2018-03-15T10:13:59.000Z | 2018-03-15T10:20:15.000Z | src/app/core/log.cpp | botorabi/Meet4Eat-Desktop | a3f27df5ab4b4697fcb5682900f48716b2021869 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2017 by Botorabi. All rights reserved.
* https://github.com/botorabi/Meet4Eat
*
* License: MIT License (MIT), read the LICENSE text in
* main directory for more details.
*/
/*
General purpose log system
This code is basing on the open-source project yag2002.sf.net
*/
#include "... | 24.56962 | 108 | 0.531685 | [
"vector"
] |
63581ac3ceb058b9fb072f639369a22be96f7302 | 571 | hpp | C++ | include/utils.hpp | PurplePachyderm/tensorslow | 3ccd881700b301b81154a5b1a787ec91461a6436 | [
"Unlicense"
] | 2 | 2020-10-19T08:57:25.000Z | 2020-10-26T17:50:50.000Z | include/utils.hpp | PurplePachyderm/tensorslow | 3ccd881700b301b81154a5b1a787ec91461a6436 | [
"Unlicense"
] | 5 | 2020-10-23T14:50:07.000Z | 2020-11-26T12:28:11.000Z | include/utils.hpp | PurplePachyderm/tensorslow | 3ccd881700b301b81154a5b1a787ec91461a6436 | [
"Unlicense"
] | 2 | 2020-10-26T17:49:04.000Z | 2021-08-31T00:51:09.000Z | /*
* Misc utility functions to be reused in main parts of the library
* NOTE For now, this has only been created to avoid double definition of split
*/
#include <vector>
#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#define BARWIDTH 30
namespace ts {
std::vector<std::string> split(std:... | 21.148148 | 78 | 0.7338 | [
"vector"
] |
6360bd98e4d0dc37f94314d39ef7bb97c85cd14c | 1,308 | cpp | C++ | src/ex4_delete_def/main.cpp | pumpkin-code/dsba-ads-lect8 | 237c0c2624fc0fa2606bbd8389d674bf4bf51ae4 | [
"BSD-3-Clause"
] | null | null | null | src/ex4_delete_def/main.cpp | pumpkin-code/dsba-ads-lect8 | 237c0c2624fc0fa2606bbd8389d674bf4bf51ae4 | [
"BSD-3-Clause"
] | null | null | null | src/ex4_delete_def/main.cpp | pumpkin-code/dsba-ads-lect8 | 237c0c2624fc0fa2606bbd8389d674bf4bf51ae4 | [
"BSD-3-Clause"
] | null | null | null | /*! \file main.cpp
* \author Sergey Shershakov
* \version 0.1
* \date 11.02.2020
*
* Demonstrates how to lock copy constructor and copy assignment operator
* from being used.
*/
#include <iostream>
//#include <stdexcept>
//#include <cassert>
/*****************************************... | 21.8 | 85 | 0.521407 | [
"object"
] |
636440f36ebee2caf0c6d9fff07b94dd0546de98 | 993 | hpp | C++ | inc/ojlibs/disjoint_set.hpp | georeth/OJLIBS | de59d4fd21255cc2f0a580db7726b634449e6885 | [
"MIT"
] | 15 | 2017-03-26T03:54:16.000Z | 2021-04-04T13:10:43.000Z | inc/ojlibs/disjoint_set.hpp | georeth/OJLIBS | de59d4fd21255cc2f0a580db7726b634449e6885 | [
"MIT"
] | null | null | null | inc/ojlibs/disjoint_set.hpp | georeth/OJLIBS | de59d4fd21255cc2f0a580db7726b634449e6885 | [
"MIT"
] | 1 | 2018-03-06T09:59:14.000Z | 2018-03-06T09:59:14.000Z | #ifndef OJLIBS_INC_DISJOINT_SET_H_
#define OJLIBS_INC_DISJOINT_SET_H_
#include <vector>
namespace ojlibs { // TO_BE_REMOVED
struct disjoint_set {
std::vector<int> parent;
void reset(int size){
parent.resize(size);
for (int i = 0; i < (int)parent.size(); i++){
parent[i] = i;
... | 26.131579 | 69 | 0.55287 | [
"vector"
] |
636533e890a11d30a1bf69b4045c6fda202fb7d3 | 2,216 | hpp | C++ | services/disk/disk.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 7 | 2019-06-02T12:04:22.000Z | 2019-10-15T18:01:21.000Z | services/disk/disk.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 26 | 2019-10-27T12:58:42.000Z | 2020-05-30T16:43:48.000Z | services/disk/disk.hpp | jinntechio/RocketJoe | 9b08a21fda1609c57b40ef8b9750897797ac815b | [
"BSD-3-Clause"
] | 1 | 2020-05-25T09:28:46.000Z | 2020-05-25T09:28:46.000Z | #pragma once
#include <components/document/document.hpp>
#include <components/document/document_id.hpp>
#include <components/protocol/base.hpp>
#include <core/file/file.hpp>
#include <boost/filesystem.hpp>
#include <wal/base.hpp>
namespace rocksdb {
class DB;
}
namespace services::disk {
class metadata_t;
... | 39.571429 | 152 | 0.722924 | [
"vector"
] |
6367784fa4287fa5b5720080942fe84846462db6 | 528 | cxx | C++ | Algorithms/Implementation/non-divisible-subset.cxx | will-crawford/HackerRank | 74965480ee6a51603eb320e5982b0943fdaf1302 | [
"MIT"
] | null | null | null | Algorithms/Implementation/non-divisible-subset.cxx | will-crawford/HackerRank | 74965480ee6a51603eb320e5982b0943fdaf1302 | [
"MIT"
] | null | null | null | Algorithms/Implementation/non-divisible-subset.cxx | will-crawford/HackerRank | 74965480ee6a51603eb320e5982b0943fdaf1302 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int n, k; cin >> n >> k;
vector<int> counts (k, 0);
for ( int i = n, Si; --i >= 0; cin >> Si, ++counts[ Si % k ] )
;
int i, j;
for ( i = 0, j = counts.size(); ++i... | 22 | 81 | 0.456439 | [
"vector"
] |
63753480700061fa690338a1cb585eac3473eff5 | 1,658 | cpp | C++ | src/node_log.cpp | cutting-room-floor/node-mapbox-gl-native | a4c3a043604de518bbdd289871aed1df862a77cf | [
"BSD-3-Clause"
] | 1 | 2019-11-25T11:51:33.000Z | 2019-11-25T11:51:33.000Z | src/node_log.cpp | cutting-room-floor/node-mapbox-gl-native | a4c3a043604de518bbdd289871aed1df862a77cf | [
"BSD-3-Clause"
] | 1 | 2018-03-26T06:48:05.000Z | 2018-03-26T06:48:05.000Z | src/node_log.cpp | cutting-room-floor/node-mapbox-gl-native | a4c3a043604de518bbdd289871aed1df862a77cf | [
"BSD-3-Clause"
] | null | null | null | #include "node_log.hpp"
#include "util/async_queue.hpp"
namespace node_mbgl {
struct NodeLogObserver::LogMessage {
mbgl::EventSeverity severity;
mbgl::Event event;
int64_t code;
std::string text;
LogMessage(mbgl::EventSeverity severity_, mbgl::Event event_, int64_t code_, std::string text_)
... | 30.145455 | 120 | 0.610374 | [
"object"
] |
63774b250ddc0b6fbab0cb4ac303f057aa1a0eb2 | 19,498 | cc | C++ | src/net/cert/internal/cert_issuer_source_aia_unittest.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/net/cert/internal/cert_issuer_source_aia_unittest.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/net/cert/internal/cert_issuer_source_aia_unittest.cc | Mr-Sheep/naiveproxy | 9f6e9768295f6d1d41517a15a621d4756bd7d6be | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 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 "net/cert/internal/cert_issuer_source_aia.h"
#include <memory>
#include "net/cert/cert_net_fetcher.h"
#include "net/cert/internal/cert_errors.h... | 38.840637 | 80 | 0.736999 | [
"object",
"vector"
] |
637beae93a5526845d5de502a001183c7e1c57a2 | 5,210 | cpp | C++ | src/mainwindow.cpp | Sangeun44/Half-Edge-Mesh | 0ab055fd5aee275c64167ac2b5ae75278e9dc488 | [
"MIT"
] | null | null | null | src/mainwindow.cpp | Sangeun44/Half-Edge-Mesh | 0ab055fd5aee275c64167ac2b5ae75278e9dc488 | [
"MIT"
] | null | null | null | src/mainwindow.cpp | Sangeun44/Half-Edge-Mesh | 0ab055fd5aee275c64167ac2b5ae75278e9dc488 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include <ui_mainwindow.h>
#include "cameracontrolshelp.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->mygl->setFocus();
//obj pressed clear lists
connect(ui->mygl, SIGNAL(sendOBJ(bool)), this, SLOT(loa... | 30.828402 | 123 | 0.691363 | [
"mesh"
] |
6384d9fba487ab159416a322c6ed25a88940cc53 | 33,405 | cpp | C++ | PacMan_CANOpen/Core1.cpp | CS150Student/PacManFirmware | 4ea440d419f02ba715865b602f0bdc30c0e9a1c0 | [
"MIT"
] | 1 | 2020-06-23T04:10:11.000Z | 2020-06-23T04:10:11.000Z | PacMan_CANOpen/Core1.cpp | CS150Student/PacManFirmware | 4ea440d419f02ba715865b602f0bdc30c0e9a1c0 | [
"MIT"
] | 1 | 2020-02-27T23:29:43.000Z | 2020-02-27T23:29:43.000Z | PacMan_CANOpen/Core1.cpp | CS150Student/PacManFirmware | 4ea440d419f02ba715865b602f0bdc30c0e9a1c0 | [
"MIT"
] | 1 | 2021-05-19T07:08:10.000Z | 2021-05-19T07:08:10.000Z | /**
* @file Core1.cpp
* @author Clement Hathaway (cwbh10@gmail.com)
* @brief The Code running on Core1 controlling much of the data processing
* @version 1.0
* @date 2020-04-13
*
* @copyright Copyright (c) 2020
*
*/
#include "Core1.h"
uint8_t cellFaults[16];
/**
* @brief A Callback triggered by the warnin... | 44.838926 | 199 | 0.650382 | [
"object",
"model"
] |
638c518eb4e9277568f14fb1a43cb671a388295b | 51,715 | cxx | C++ | com/ole32/com/moniker2/citemmon.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/com/moniker2/citemmon.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/com/moniker2/citemmon.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1993 - 1993.
//
// File: citemmon.cxx
//
// Contents: Implementation of CItemMoniker
//
// Classes:
//
// Functions:
//
// History: 12-27-93 Eri... | 25.870435 | 102 | 0.506313 | [
"object"
] |
638cc94f83ab54b3c432757373d53f5f0dd225b3 | 7,911 | cc | C++ | third_party/blink/renderer/core/html/track/automatic_track_selection.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/html/track/automatic_track_selection.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/html/track/automatic_track_selection.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2015 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 "third_party/blink/renderer/core/html/track/automatic_track_selection.h"
#include "third_party/blink/renderer/core/html/track/text_track.h"
#inc... | 36.625 | 123 | 0.727594 | [
"vector"
] |
b0cf1a83ecab791868d7106e157d38a8a14296b4 | 11,561 | cpp | C++ | src/enemies.cpp | suryanshsrivastava/jetpack-joyride-opengl | a67136c456dbbacc5c11ba5425dc2a8d4e656656 | [
"MIT"
] | null | null | null | src/enemies.cpp | suryanshsrivastava/jetpack-joyride-opengl | a67136c456dbbacc5c11ba5425dc2a8d4e656656 | [
"MIT"
] | null | null | null | src/enemies.cpp | suryanshsrivastava/jetpack-joyride-opengl | a67136c456dbbacc5c11ba5425dc2a8d4e656656 | [
"MIT"
] | null | null | null | #include "enemies.h"
#include "main.h"
FireLine::FireLine(float x, float y, double angle, color_t color) {
this->position = glm::vec3(x, y, 0);
this->rotation = rand()%180;
this->radius=0.1;
this->length=1;
GLfloat vertex_buffer_data_circular[2000];
int sides = 100;
float theta = (2*M_PIl)... | 37.535714 | 132 | 0.613961 | [
"model"
] |
b0db0f8cddfc87616c5aff1ed4764b17108e1039 | 1,032 | cpp | C++ | toonz/sources/toonzlib/observer.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonzlib/observer.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonzlib/observer.cpp | ss23/opentoonz | b42e43d4b8d9fedc26022d145218b9a147a30985 | [
"BSD-3-Clause"
] | 1 | 2019-10-07T17:12:30.000Z | 2019-10-07T17:12:30.000Z |
#include "toonz/observer.h"
// OBSOLETO??
TNotifier *TNotifier::instance()
{
static TNotifier theNotifier;
return &theNotifier;
}
/*
void TNotifier::attach(TChangeObserver*observer)
{
std::vector<TObserverList*>::iterator it;
for(it = m_obsList.begin(); it != m_obsList.end(); ++it)
(*it)->attach(observer)... | 22.434783 | 70 | 0.675388 | [
"vector"
] |
b0eb2add4d025aad67b754a15120e4072e32092e | 3,651 | cpp | C++ | leetcode/212.cpp | Moonshile/MyAlgorithmCandy | e1ab006a5abe7d2749ae564ad2bffc4a628ed31b | [
"Apache-2.0"
] | 2 | 2016-11-26T02:56:35.000Z | 2019-06-17T04:09:02.000Z | leetcode/212.cpp | Moonshile/MyAlgorithmCandy | e1ab006a5abe7d2749ae564ad2bffc4a628ed31b | [
"Apache-2.0"
] | null | null | null | leetcode/212.cpp | Moonshile/MyAlgorithmCandy | e1ab006a5abe7d2749ae564ad2bffc4a628ed31b | [
"Apache-2.0"
] | 3 | 2016-07-18T14:13:20.000Z | 2019-06-17T04:08:32.000Z | class TrieNode {
friend class Trie;
public:
// Initialize your data structure here.
TrieNode(char charactor): c(charactor), word_end(false) {
for (auto &c: children) {
c = nullptr;
}
}
TrieNode(): TrieNode('.') {}
~TrieNode() {
for (auto &c: children... | 26.845588 | 116 | 0.435771 | [
"vector"
] |
b0f3679c200c691ac896c1f209f461699da4db28 | 40,063 | cpp | C++ | ugene/src/plugins/workflow_designer/src/library/CreateExternalProcessDialog.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/plugins/workflow_designer/src/library/CreateExternalProcessDialog.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/plugins/workflow_designer/src/library/CreateExternalProcessDialog.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2012 UniPro <ugene@unipro.ru>
* http://ugene.unipro.ru
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version... | 38.228053 | 182 | 0.63817 | [
"model"
] |
b0fb01fa7b1be34a32493fbb49659bb615ccd454 | 1,178 | cpp | C++ | LeetCode/100/67.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/100/67.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | LeetCode/100/67.cpp | K-ona/C-_Training | d54970f7923607bdc54fc13677220d1b3daf09e5 | [
"Apache-2.0"
] | null | null | null | // created by Kona @VSCode
#include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <queue>
#include <vector>
#include <string.h>
// #define LOCAL_TEST
typedef long long ll;
using std::cin;
using std::cout;
using std::endl;
using std::map;
using std::queue;
using std::string;
using std::vect... | 19.633333 | 51 | 0.526316 | [
"vector"
] |
b0fb5f8d00c706d04b8f2f84fdc1b9d26a8dd34d | 31,360 | cpp | C++ | matlab/external/external_codes/sfop-1.0/src/CImageCl.cpp | kmyid/TILDE | a9fcedd805a1531144b6701187ad061055c12a99 | [
"ImageMagick",
"Unlicense"
] | 36 | 2015-06-05T22:09:34.000Z | 2019-01-06T12:15:45.000Z | matlab/external/external_codes/sfop-1.0/src/CImageCl.cpp | Raverstern/TILDE | a5c2b98835fe61ca20f3139c1d82ab97f5f1779d | [
"ImageMagick",
"Unlicense"
] | 5 | 2020-01-02T15:01:36.000Z | 2021-12-05T18:05:35.000Z | matlab/external/external_codes/sfop-1.0/src/CImageCl.cpp | Raverstern/TILDE | a5c2b98835fe61ca20f3139c1d82ab97f5f1779d | [
"ImageMagick",
"Unlicense"
] | 18 | 2015-06-11T01:26:18.000Z | 2018-07-26T08:46:25.000Z | #include "CImageCl.h"
namespace SFOP {
COpenCl* CImageCl::s_opencl_p = NULL;
void CImageCl::initOpenCl()
{
std::string kernelNames[] = {
"downsample", "findLocalMax", "convRow", "convCol",
"hessian", "inverse", "gradient", "solver", "negDefinite", "filter",
"triSqr", "lambda2",... | 44.928367 | 112 | 0.639254 | [
"vector"
] |
b0ffa21e57a0c3c1cf15945fac476e3171a876f2 | 5,872 | cc | C++ | src/lib/fidl_codec/builtin_semantic_test.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | src/lib/fidl_codec/builtin_semantic_test.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | src/lib/fidl_codec/builtin_semantic_test.cc | sysidos/fuchsia | 0c00fd3c78a9c0111af4689f1e038b3926c4dc9b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Fuchsia 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 <memory>
#include "gtest/gtest.h"
#include "library_loader.h"
#include "src/lib/fidl_codec/semantic.h"
#include "src/lib/fidl_codec/semantic_pars... | 38.631579 | 97 | 0.731267 | [
"object"
] |
7c028cec1eef4f8ca121e979df41121ba184c8d6 | 2,839 | cpp | C++ | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/argos/simulation_random_walk/buzz_closures_quadmapper_no_sensing.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | 3 | 2021-07-05T17:59:01.000Z | 2022-03-31T12:46:25.000Z | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/argos/simulation_random_walk/buzz_closures_quadmapper_no_sensing.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | null | null | null | tx2-setup/robust_pose_graph_optimization/buzz_slam/src/argos/simulation_random_walk/buzz_closures_quadmapper_no_sensing.cpp | SnowCarter/DOOR-SLAM | cf56d2b4b7a21ed7c6445f01600408c9dd5235c6 | [
"MIT"
] | 3 | 2020-03-25T16:21:25.000Z | 2021-07-05T16:37:34.000Z | #include "buzz_controller_quadmapper_no_sensing.h"
namespace buzz_quadmapper {
/****************************************/
/************ Buzz Closures *************/
/****************************************/
/****************************************/
/****************************************/
static int BuzzMoveFor... | 38.364865 | 175 | 0.602677 | [
"vector"
] |
7c07140eaed4dc006ebf1411db967e92d165f643 | 262,838 | cpp | C++ | lib/wx/c_src/gen/wxe_wrapper_3.cpp | martin-g/otp | bb07f4fb30e93be9844227558ef1f83a69909eb3 | [
"Apache-2.0"
] | 1 | 2019-02-27T19:13:07.000Z | 2019-02-27T19:13:07.000Z | lib/wx/c_src/gen/wxe_wrapper_3.cpp | martin-g/otp | bb07f4fb30e93be9844227558ef1f83a69909eb3 | [
"Apache-2.0"
] | 1 | 2021-01-20T17:39:01.000Z | 2021-01-20T17:39:01.000Z | lib/wx/c_src/gen/wxe_wrapper_3.cpp | martin-g/otp | bb07f4fb30e93be9844227558ef1f83a69909eb3 | [
"Apache-2.0"
] | null | null | null | /*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2008-2020. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | 35.523449 | 201 | 0.68874 | [
"vector"
] |
7c0a43d0ecb79a72c612b4514cf1f1aea82913ac | 1,211 | cc | C++ | LeetCode-210.cc | therainmak3r/dirty-laundry | 39e295e9390b62830bef53282cdcb63716efac45 | [
"MIT"
] | 20 | 2015-12-22T14:14:59.000Z | 2019-10-25T12:14:23.000Z | LeetCode-210.cc | therainmak3r/dirty-laundry | 39e295e9390b62830bef53282cdcb63716efac45 | [
"MIT"
] | null | null | null | LeetCode-210.cc | therainmak3r/dirty-laundry | 39e295e9390b62830bef53282cdcb63716efac45 | [
"MIT"
] | 2 | 2016-06-27T13:34:08.000Z | 2018-10-02T20:36:54.000Z | class Solution {
public:
void recur(vector<vector<int>> &adj, vector<int> &visited, vector<int> &cycle, queue<int> &nodes, int current, int &valid)
{
if (cycle[current] == 1)
valid = 0;
if (valid == 0)
return;
if (visited[current] == 1)
return;
cycle[current] = 1;
vi... | 27.522727 | 125 | 0.554088 | [
"vector"
] |
7c137049460cac28ee930b0c80ee8ec799cdf39a | 31,825 | cpp | C++ | mysql-dst/mysql-cluster/storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | mysql-dst/mysql-cluster/storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | mysql-dst/mysql-cluster/storage/ndb/src/kernel/vm/ndbd_malloc_impl.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | /*
Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed i... | 22.994942 | 88 | 0.595287 | [
"vector"
] |
7c193c511abcd1037a9f81ae4af5663181497e46 | 16,310 | cxx | C++ | Software/SlicerModules/AAA_GenerateAbaqusFile/AAA_GenerateAbaqusFile/AAA_GenerateAbaqusFile.cxx | ISML-UWA/BioPARR | 48dfaa9c94416ec6f67e29082e75c06f9471d9b7 | [
"BSD-3-Clause"
] | 1 | 2021-11-03T04:08:51.000Z | 2021-11-03T04:08:51.000Z | Software/SlicerModules/AAA_GenerateAbaqusFile/AAA_GenerateAbaqusFile/AAA_GenerateAbaqusFile.cxx | ISML-UWA/BioPARR | 48dfaa9c94416ec6f67e29082e75c06f9471d9b7 | [
"BSD-3-Clause"
] | 1 | 2021-11-03T07:07:15.000Z | 2021-11-03T07:07:15.000Z | Software/SlicerModules/AAA_GenerateAbaqusFile/AAA_GenerateAbaqusFile/AAA_GenerateAbaqusFile.cxx | ISML-UWA/BioPARR | 48dfaa9c94416ec6f67e29082e75c06f9471d9b7 | [
"BSD-3-Clause"
] | null | null | null | // VTK includes
#include <vtkDebugLeaks.h>
#include <vtkSmartPointer.h>
#include <vtkUnstructuredGridReader.h>
#include <vtkXMLPolyDataReader.h>
#include <vtkGeometryFilter.h>
#include <vtkAppendFilter.h>
#include <vtkUnstructuredGrid.h>
#include <vtkPoints.h>
#include <vtkQuadraticTetra.h>
#include <vtkMath.h>
#inclu... | 28.024055 | 133 | 0.643593 | [
"mesh",
"solid"
] |
7c1d8e769f374a84a8b55b6e649595e85252dcd6 | 643 | hpp | C++ | src/rogue-card/scene/GameOver.hpp | padawin/RogueCard | 7a5d04fa2d7be47c1542b6d4908e277ccbbd01fc | [
"MIT"
] | null | null | null | src/rogue-card/scene/GameOver.hpp | padawin/RogueCard | 7a5d04fa2d7be47c1542b6d4908e277ccbbd01fc | [
"MIT"
] | null | null | null | src/rogue-card/scene/GameOver.hpp | padawin/RogueCard | 7a5d04fa2d7be47c1542b6d4908e277ccbbd01fc | [
"MIT"
] | null | null | null | #ifndef __GAMEOVER_STATE__
#define __GAMEOVER_STATE__
#include <string.h>
#include "../game/SceneState.hpp"
#include "../sdl2/Renderer.hpp"
#include "../sdl2/Text.hpp"
#include "menus/EndGame.hpp"
class GameOverScene : public SceneState {
private:
std::shared_ptr<SDL2Renderer> m_renderer;
int m_iTitleXPos = 0;
Te... | 22.964286 | 81 | 0.765163 | [
"render"
] |
7c2792708ef2ad4f24bcab797cee8834fcb9c7bd | 7,343 | cc | C++ | PiMulator/Bank_Hardware_Design/software_src/main.cc | hplp/PiMulator | 498cbe0b1e176c7d1cc2721f20d7bc0f193a3e3b | [
"BSD-2-Clause"
] | null | null | null | PiMulator/Bank_Hardware_Design/software_src/main.cc | hplp/PiMulator | 498cbe0b1e176c7d1cc2721f20d7bc0f193a3e3b | [
"BSD-2-Clause"
] | null | null | null | PiMulator/Bank_Hardware_Design/software_src/main.cc | hplp/PiMulator | 498cbe0b1e176c7d1cc2721f20d7bc0f193a3e3b | [
"BSD-2-Clause"
] | null | null | null | /*
* DRAM Bank Hardware Test for (i) Bank Software Model and (ii) Bank Hardware Model
* The main idea of this test is to (1) first, write all Bank memory location with known data
* (all NUM_ROWS * NUM_COLS locations) and then (2) second, to read all Bank memory locations
* and make sure the read data for each Ba... | 29.023715 | 124 | 0.689773 | [
"model"
] |
7c3c734cef8b410fe9397f9cdf28b40b36123b77 | 6,219 | cpp | C++ | BLAXED/NightMode.cpp | prismatical/BX-CSGO | 24b2cadefdc40cb8d3fca0aab08ec54241518958 | [
"MIT"
] | 19 | 2018-03-04T08:04:29.000Z | 2022-01-27T11:28:36.000Z | BLAXED/NightMode.cpp | prismatical/BX-CSGO | 24b2cadefdc40cb8d3fca0aab08ec54241518958 | [
"MIT"
] | 1 | 2019-12-27T15:43:41.000Z | 2020-05-18T19:16:42.000Z | BLAXED/NightMode.cpp | prismatical/BX-CSGO | 24b2cadefdc40cb8d3fca0aab08ec54241518958 | [
"MIT"
] | 9 | 2019-03-30T22:39:25.000Z | 2021-08-13T19:27:27.000Z | #include "SDK.h"
#include "Global.h"
#include "NightMode.h"
#include "ConvarSpoofer.h"
#include "AutoWall.h"
namespace NightMode
{
bool done = false;
class MaterialBackup
{
public:
MaterialHandle_t handle;
IMaterial* pMaterial;
float color[3];
float alpha;
bool translucent;
bool nodraw;
MaterialBa... | 25.383673 | 150 | 0.662164 | [
"vector",
"model"
] |
7c48a3af579de80679da3f47f3c111a62ba0581f | 1,527 | hpp | C++ | jarngreipr/geometry/dihedral.hpp | yutakasi634/Jarngreipr | 1213ec5200c650fc6afd4c9f0a842a077a73d050 | [
"MIT"
] | 2 | 2018-10-05T11:17:59.000Z | 2020-12-20T02:26:58.000Z | jarngreipr/geometry/dihedral.hpp | yutakasi634/Jarngreipr | 1213ec5200c650fc6afd4c9f0a842a077a73d050 | [
"MIT"
] | 8 | 2018-10-22T18:34:17.000Z | 2019-11-20T08:20:55.000Z | jarngreipr/geometry/dihedral.hpp | yutakasi634/Jarngreipr | 1213ec5200c650fc6afd4c9f0a842a077a73d050 | [
"MIT"
] | 4 | 2018-10-05T12:30:11.000Z | 2021-04-28T11:58:34.000Z | #ifndef JARNGREIPR_GEOMETRY_DIHEDRAL
#define JARNGREIPR_GEOMETRY_DIHEDRAL
#include <jarngreipr/geometry/angle.hpp>
namespace jarngreipr
{
/*! @brief Calculate dihedral angle formed by p1, p2, p3, and p4.
* o p1 | o p1
* / | dih _ /
* p2 o | / /
* \ | p4 o---... | 33.933333 | 91 | 0.574984 | [
"geometry",
"vector"
] |
7c55287b32dc2ae9627bd56a818e3d639e0120e4 | 9,052 | cpp | C++ | Source/Renderer.cpp | Nickelium/Rasterizer | 76673ec0ab9eb472e1bb097a2b98effe8e5668e6 | [
"MIT"
] | 14 | 2019-02-08T10:14:36.000Z | 2022-02-05T20:37:30.000Z | Source/Renderer.cpp | dimutch833/Rasterizer | 76673ec0ab9eb472e1bb097a2b98effe8e5668e6 | [
"MIT"
] | null | null | null | Source/Renderer.cpp | dimutch833/Rasterizer | 76673ec0ab9eb472e1bb097a2b98effe8e5668e6 | [
"MIT"
] | 1 | 2019-12-02T17:10:47.000Z | 2019-12-02T17:10:47.000Z | #include "Renderer.h"
#include "SDL2/include/SDL.h"
#include <algorithm>
#include "Window.h"
#include "Triangle.h"
#include "Maths.h"
#include "Scene.h"
#include "Texture.h"
#include "Camera.h"
#include "IShader.h"
#include "Shaders.h"
Renderer::Renderer(Window* window)
:renderMode(RENDER_MODE::RM_WIREFRAME),
wi... | 28.199377 | 144 | 0.634666 | [
"render",
"object"
] |
7c570a193489f78b3aa34065021c6fc5fa3c777c | 13,848 | cpp | C++ | hw3/myplugin.cpp | adityag6994/quad_arrt | 4235b3985fb5327cffaa136929859bac124ee934 | [
"BSD-2-Clause"
] | null | null | null | hw3/myplugin.cpp | adityag6994/quad_arrt | 4235b3985fb5327cffaa136929859bac124ee934 | [
"BSD-2-Clause"
] | null | null | null | hw3/myplugin.cpp | adityag6994/quad_arrt | 4235b3985fb5327cffaa136929859bac124ee934 | [
"BSD-2-Clause"
] | null | null | null | #include <openrave/openrave.h>
#include <openrave/plugin.h>
#include <openrave/planningutils.h>
#include <boost/bind.hpp>
#include <boost/algorithm/string/classification.hpp> // Include boost::for is_any_of
#include <boost/algorithm/string/split.hpp> // Include for boost::split
#include <iostream>
#include <string.h>... | 28.552577 | 142 | 0.553871 | [
"vector"
] |
7c5e64447e7b54e18002b82ec3714a6738eee889 | 303 | cc | C++ | Tests/Base/Tie.cc | hung0913208/Base | 420b4ce8e08f9624b4e884039218ffd233b88335 | [
"BSD-3-Clause"
] | null | null | null | Tests/Base/Tie.cc | hung0913208/Base | 420b4ce8e08f9624b4e884039218ffd233b88335 | [
"BSD-3-Clause"
] | null | null | null | Tests/Base/Tie.cc | hung0913208/Base | 420b4ce8e08f9624b4e884039218ffd233b88335 | [
"BSD-3-Clause"
] | 2 | 2020-11-04T08:00:37.000Z | 2020-11-06T08:33:33.000Z | #include <Auto.h>
#include <Unittest.h>
#include <Utils.h>
TEST(Tie, Simple) {
Vector<Base::Auto> args;
Int a, b;
args.push_back(Base::Auto::As(1));
args.push_back(Base::Auto::As(2));
Base::Bond(a, b) = args;
EXPECT_EQ(a, 1);
EXPECT_EQ(b, 2);
}
int main() { return RUN_ALL_TESTS(); }
| 15.947368 | 38 | 0.617162 | [
"vector"
] |
7c624e5acfca91c077569f37a9a31e5a00bbbbc6 | 4,031 | hpp | C++ | include/bsl/ut_scenario.hpp | Bareflank/dynarray | 6509cfff948fa34b98585512d7be33a36e2f9522 | [
"MIT"
] | 52 | 2019-10-28T19:05:52.000Z | 2022-03-31T18:04:47.000Z | include/bsl/ut_scenario.hpp | Bareflank/dynarray | 6509cfff948fa34b98585512d7be33a36e2f9522 | [
"MIT"
] | 44 | 2019-11-01T16:53:36.000Z | 2022-02-24T07:52:08.000Z | include/bsl/ut_scenario.hpp | Bareflank/dynarray | 6509cfff948fa34b98585512d7be33a36e2f9522 | [
"MIT"
] | 5 | 2019-10-28T19:05:53.000Z | 2021-07-28T20:20:42.000Z | /// @copyright
/// Copyright (C) 2020 Assured Information Security, Inc.
///
/// @copyright
/// 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 limita... | 33.87395 | 81 | 0.589432 | [
"object"
] |
7c77e51a6f958ad67b4101672255f43459cb0899 | 906 | cpp | C++ | sources/chap01/ex05.cpp | ClazyChen/ds-lab | d7ce031bb1e22230be5687ac848e897a6d589ddf | [
"MIT"
] | 4 | 2022-03-12T14:42:21.000Z | 2022-03-30T02:09:55.000Z | sources/chap01/ex05.cpp | ClazyChen/ds-lab | d7ce031bb1e22230be5687ac848e897a6d589ddf | [
"MIT"
] | null | null | null | sources/chap01/ex05.cpp | ClazyChen/ds-lab | d7ce031bb1e22230be5687ac848e897a6d589ddf | [
"MIT"
] | 1 | 2022-03-29T18:17:55.000Z | 2022-03-29T18:17:55.000Z | #include <iostream>
#include <vector>
using namespace std;
// 这个例子展示角谷猜想
// 输入:正整数x
// 输出:对x反复进行操作:如果是奇数,乘3再加1;如果是偶数,除以2。直到x变为1为止。
// 目前的猜想是,任何整数都会通过若干次操作变为1,然后重复1、4、2的循环。
// 因此,角谷猜想的验证程序,是否满足有限性是一个未解决的问题
// 从而在严格的定义下,这不能够成为一个算法
class Collatz {
public:
vector<int> generate(int x) {
vector<int> result {x}... | 20.590909 | 46 | 0.537528 | [
"vector"
] |
7c790db36cd3e6a322ff4027e37717b959299739 | 1,930 | cpp | C++ | src/z_subsystem_group.cpp | thekannman/z_terahertz | 3fdf2d42c1c7fb58757074527b43e0a33a059c22 | [
"MIT"
] | 2 | 2019-03-28T04:19:56.000Z | 2021-12-27T12:05:04.000Z | src/z_subsystem_group.cpp | thekannman/z_terahertz | 3fdf2d42c1c7fb58757074527b43e0a33a059c22 | [
"MIT"
] | null | null | null | src/z_subsystem_group.cpp | thekannman/z_terahertz | 3fdf2d42c1c7fb58757074527b43e0a33a059c22 | [
"MIT"
] | 1 | 2019-03-28T03:02:55.000Z | 2019-03-28T03:02:55.000Z | //Copyright (c) 2015 Zachary Kann
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, publish, distr... | 41.956522 | 80 | 0.757513 | [
"vector"
] |
7c794ee2ddac3e4305209afed481e921d16a9918 | 21,822 | cpp | C++ | 3.7.0/lldb-3.7.0.src/source/DataFormatters/ValueObjectPrinter.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 3 | 2016-02-10T14:18:40.000Z | 2018-02-05T03:15:56.000Z | 3.7.0/lldb-3.7.0.src/source/DataFormatters/ValueObjectPrinter.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | 1 | 2016-02-10T15:40:03.000Z | 2016-02-10T15:40:03.000Z | 3.7.0/lldb-3.7.0.src/source/DataFormatters/ValueObjectPrinter.cpp | androm3da/clang_sles | 2ba6d0711546ad681883c42dfb8661b842806695 | [
"MIT"
] | null | null | null | //===-- ValueObjectPrinter.cpp -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------... | 30.266297 | 185 | 0.581248 | [
"object"
] |
75adef17f4301a0ea4cf7cc9e998f53f386cfd21 | 137 | cpp | C++ | src/projectiles/projectileAssets.cpp | dannyoboy/HurtEngine | 858412502ba97e38e424ff69d51dfdd3d5ad125b | [
"MIT"
] | null | null | null | src/projectiles/projectileAssets.cpp | dannyoboy/HurtEngine | 858412502ba97e38e424ff69d51dfdd3d5ad125b | [
"MIT"
] | null | null | null | src/projectiles/projectileAssets.cpp | dannyoboy/HurtEngine | 858412502ba97e38e424ff69d51dfdd3d5ad125b | [
"MIT"
] | null | null | null | #include "projectileAssets.h"
Mesh * bulletMesh = nullptr;
Material * bulletMaterial = nullptr;
Material * cannonballMaterial = nullptr; | 27.4 | 40 | 0.781022 | [
"mesh"
] |
75bdc0144cfac1297cd35a32610950ac3f0a7893 | 1,819 | cpp | C++ | soj/1687.cpp | huangshenno1/project_euler | 8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d | [
"MIT"
] | null | null | null | soj/1687.cpp | huangshenno1/project_euler | 8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d | [
"MIT"
] | null | null | null | soj/1687.cpp | huangshenno1/project_euler | 8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d | [
"MIT"
] | null | null | null | #include <cstdio>
#include <vector>
#include <queue>
#include <algorithm>
using namespace std;
struct Edge
{
int from,to;
int d;
Edge(int from, int to, int d) {this->from=from; this->to=to; this->d=d;}
};
const int INF = 0x7fffffff;
const int maxn = 50010;
int n,st,ed;
int dis[maxn];
int cnt[maxn];
bool v... | 18.947917 | 76 | 0.418362 | [
"vector"
] |
75c2d520de0575b97ee180f4c333a9b6c05eb7ad | 1,525 | cpp | C++ | interfaces/native_cpp/nfc_standard/test/nfc_ce_gtestcase/src/test_nfc_ce_host_service.cpp | dawmlight/communication_nfc | 84a10d69eb9cb3128e864230c53d5a5e6660dfb9 | [
"Apache-2.0"
] | null | null | null | interfaces/native_cpp/nfc_standard/test/nfc_ce_gtestcase/src/test_nfc_ce_host_service.cpp | dawmlight/communication_nfc | 84a10d69eb9cb3128e864230c53d5a5e6660dfb9 | [
"Apache-2.0"
] | null | null | null | interfaces/native_cpp/nfc_standard/test/nfc_ce_gtestcase/src/test_nfc_ce_host_service.cpp | dawmlight/communication_nfc | 84a10d69eb9cb3128e864230c53d5a5e6660dfb9 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 34.659091 | 116 | 0.707541 | [
"vector"
] |
75c555af1f98842108998f66e67f5d023d784048 | 2,105 | cc | C++ | leetcode/ds_graph_clone_graph.cc | prashrock/C- | 3ed46815d40b3e42cd9f36d23c8ee2a9de742323 | [
"MIT"
] | 1 | 2016-12-05T10:42:46.000Z | 2016-12-05T10:42:46.000Z | leetcode/ds_graph_clone_graph.cc | prashrock/CPP | 3ed46815d40b3e42cd9f36d23c8ee2a9de742323 | [
"MIT"
] | null | null | null | leetcode/ds_graph_clone_graph.cc | prashrock/CPP | 3ed46815d40b3e42cd9f36d23c8ee2a9de742323 | [
"MIT"
] | null | null | null | //g++-5 --std=c++11 -g -Wall -Werror -o ds_graph_clone_graph ds_graph_clone_graph.cc
/**
* @file Clone Graph
* @brief Given an undirected graph, clone (deep copy) it
*/
// https://leetcode.com/problems/clone-graph/
#include <iostream> /* std::cout */
#include <algorithm> /* std... | 32.890625 | 84 | 0.631354 | [
"vector"
] |
75c5e451333bfd517bcf6da125b365f64f680018 | 789 | cpp | C++ | week7/w7d1/sortk.cpp | ash20012003/IPMPRepo | 3d288e8ab1c1a25113c45e983da7f7e780ff66d4 | [
"MIT"
] | 2 | 2021-11-13T05:41:49.000Z | 2022-02-06T16:12:56.000Z | week7/w7d1/sortk.cpp | ash20012003/IPMPRepo | 3d288e8ab1c1a25113c45e983da7f7e780ff66d4 | [
"MIT"
] | null | null | null | week7/w7d1/sortk.cpp | ash20012003/IPMPRepo | 3d288e8ab1c1a25113c45e983da7f7e780ff66d4 | [
"MIT"
] | null | null | null | void sortk(int nums[], int k, int n) {
priority_queue<int, vector<int>, greater<int> > gq(nums,nums+k+1);
vector<int> ans;
int index = 0;
for (int i = k + 1; i < n; i++) {
// ans.push_back(gq.top());
nums[index++] = gq.top();
gq.pop();
gq.push(nums[i]);
}
while (g... | 29.222222 | 99 | 0.580482 | [
"vector"
] |
75c669770931e94fd645e14ab781ec5ba41fcf87 | 5,416 | cpp | C++ | TRAP/src/Graphics/API/Vulkan/Internals/Objects/VulkanRenderPass.cpp | GamesTrap/TRAP | 007de9ce70273cb8ae11066cc8488d9db78b1038 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-23T18:18:19.000Z | 2019-05-27T21:10:07.000Z | TRAP/src/Graphics/API/Vulkan/Internals/Objects/VulkanRenderPass.cpp | GamesTrap/TRAP | 007de9ce70273cb8ae11066cc8488d9db78b1038 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | 88 | 2018-08-02T01:08:04.000Z | 2019-07-24T19:13:26.000Z | TRAP/src/Graphics/API/Vulkan/Internals/Objects/VulkanRenderPass.cpp | GamesTrap/TRAP | 007de9ce70273cb8ae11066cc8488d9db78b1038 | [
"MIT",
"Zlib",
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2018-08-02T01:10:40.000Z | 2020-08-14T14:05:58.000Z | #include "TRAPPCH.h"
#include "VulkanRenderPass.h"
#include "VulkanDevice.h"
#include "Graphics/API/Vulkan/VulkanCommon.h"
#include "Graphics/API/Vulkan/Internals/VulkanInitializers.h"
#include "VulkanSurface.h"
#include "Graphics/API/Vulkan/VulkanRenderer.h"
#include "VulkanCommandBuffer.h"
#include "VulkanSwapchain... | 35.168831 | 134 | 0.687223 | [
"vector"
] |
75c8ca14d0bd9668cbe4d56fbaaba8be4f388ca0 | 690 | cpp | C++ | Homeworks/2_ImageWarping/myproject/src/App/Warp.cpp | SqrtiZhang/CG | 462415eea0af981797172281a023066ff557a33a | [
"MIT"
] | 5 | 2021-06-02T02:41:48.000Z | 2022-02-09T09:56:10.000Z | Homeworks/2_ImageWarping/myproject/src/App/Warp.cpp | SqrtiZhang/CG | 462415eea0af981797172281a023066ff557a33a | [
"MIT"
] | null | null | null | Homeworks/2_ImageWarping/myproject/src/App/Warp.cpp | SqrtiZhang/CG | 462415eea0af981797172281a023066ff557a33a | [
"MIT"
] | 1 | 2022-01-06T11:22:14.000Z | 2022-01-06T11:22:14.000Z | #include "Warp.h"
Warp::Warp()
{
}
Warp::~Warp()
{
}
double Warp::get_distance(QPoint p1, QPoint p2)
{
return qSqrt((p1.x() - p2.x())*(p1.x() - p2.x()) + (p1.y() - p2.y())*(p1.y() - p2.y()));
}
void Warp::set_s(QPoint s)
{
this->start_point=s;
}
void Warp::set_q(vector<QPoint> q_)
{
for(int i=0;i<q_.... | 15.681818 | 92 | 0.531884 | [
"vector"
] |
75c8de5f732784a9fb4583930892131ec898e2ce | 701 | cpp | C++ | src/sleek/node/billboard/billboard.cpp | Phirxian/sleek-engine | 741d55c8daad67ddf631e8b8fbdced59402d7bda | [
"BSD-2-Clause"
] | null | null | null | src/sleek/node/billboard/billboard.cpp | Phirxian/sleek-engine | 741d55c8daad67ddf631e8b8fbdced59402d7bda | [
"BSD-2-Clause"
] | null | null | null | src/sleek/node/billboard/billboard.cpp | Phirxian/sleek-engine | 741d55c8daad67ddf631e8b8fbdced59402d7bda | [
"BSD-2-Clause"
] | null | null | null | #include "../scene.h"
#include "billboard.h"
namespace sleek
{
namespace scene3d
{
namespace billboard
{
Billboard::Billboard(Scene *smgr) noexcept : Node(smgr)
{
}
Billboard::Billboard(Scene *smgr, driver::texture *i) noexcept : Node(smgr)
... | 21.90625 | 96 | 0.442225 | [
"render"
] |
75cb4b2eae6b3912eedb8f7258132d28314ae675 | 1,303 | cpp | C++ | 252/D[ Playing with Permutations ].cpp | mejanvijay/codeforces-jvj_iit-submissions | 2a2aac7e93ca92e75887eff92361174aa36207c8 | [
"MIT"
] | null | null | null | 252/D[ Playing with Permutations ].cpp | mejanvijay/codeforces-jvj_iit-submissions | 2a2aac7e93ca92e75887eff92361174aa36207c8 | [
"MIT"
] | null | null | null | 252/D[ Playing with Permutations ].cpp | mejanvijay/codeforces-jvj_iit-submissions | 2a2aac7e93ca92e75887eff92361174aa36207c8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <iomanip>
#include <stdio.h>
#include <set>
#include <vector>
#include <map>
#include <cmath>
#include <algorithm>
#include <memory.h>
#include <string>
#include <sstream>
using namespace std;
const int N = 11111;
int n, k, i, z;
int a[N], q[N], v[N], b[N], s[N];
int main() {
// freope... | 22.465517 | 61 | 0.444359 | [
"vector"
] |
75d37bfacc786e4781ad406bf073d71e99c45209 | 5,516 | cpp | C++ | tests/integration/streamingmemory_tests/executionphase_gradsumdec_test.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 61 | 2020-07-06T17:11:46.000Z | 2022-03-12T14:42:51.000Z | tests/integration/streamingmemory_tests/executionphase_gradsumdec_test.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 1 | 2021-02-25T01:30:29.000Z | 2021-11-09T11:13:14.000Z | tests/integration/streamingmemory_tests/executionphase_gradsumdec_test.cpp | gglin001/popart | 3225214343f6d98550b6620e809a3544e8bcbfc6 | [
"MIT"
] | 6 | 2020-07-15T12:33:13.000Z | 2021-11-07T06:55:00.000Z | // Copyright (c) 2020 Graphcore Ltd. All rights reserved.
#define BOOST_TEST_MODULE ExecutionPhaseGradSumDecTest
#include <../test_runner.hpp>
#include <boost/test/unit_test.hpp>
#include <string>
#include <popart/builder.hpp>
#include <popart/ir.hpp>
#include <popart/op/add.hpp>
#include <popart/op/identity.hpp>
#inc... | 36.529801 | 80 | 0.612582 | [
"vector",
"model"
] |
75d55729af3422f0e6654e3a45411d2d70f37a03 | 20,083 | cxx | C++ | TPC/TPCbase/AliTPCBoundaryVoltError.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | TPC/TPCbase/AliTPCBoundaryVoltError.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | TPC/TPCbase/AliTPCBoundaryVoltError.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 44.235683 | 132 | 0.637604 | [
"vector"
] |
75ec66e1d50005888961e18a59f9cc73597c8501 | 29,446 | cpp | C++ | sta-src/SEM/StructureSubsystem.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 6 | 2018-09-05T12:41:59.000Z | 2021-07-01T05:34:23.000Z | sta-src/SEM/StructureSubsystem.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-02-07T19:09:21.000Z | 2015-08-14T03:15:42.000Z | sta-src/SEM/StructureSubsystem.cpp | hoehnp/SpaceDesignTool | 9abd34048274b2ce9dbbb685124177b02d6a34ca | [
"IJG"
] | 2 | 2015-03-25T15:50:31.000Z | 2017-12-06T12:16:47.000Z | /*
This program is free software; you can redistribute it and/or modify it under
the terms of the European Union Public Licence - EUPL v.1.1 as published by
the European Commission.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of... | 33.197294 | 125 | 0.619439 | [
"shape"
] |
75ecf6ac9bf6ff6ac3f9b3e254728cac5dd7d300 | 866 | hpp | C++ | common/VectorNut.hpp | cjang/chai | 7faba752cc4491d1b30590abef21edc4efffa0f6 | [
"Unlicense"
] | 11 | 2015-06-12T19:54:14.000Z | 2021-11-26T10:45:18.000Z | common/VectorNut.hpp | cjang/chai | 7faba752cc4491d1b30590abef21edc4efffa0f6 | [
"Unlicense"
] | null | null | null | common/VectorNut.hpp | cjang/chai | 7faba752cc4491d1b30590abef21edc4efffa0f6 | [
"Unlicense"
] | null | null | null | // Copyright 2012 Chris Jang (fastkor@gmail.com) under The Artistic License 2.0
#ifndef _CHAI_VECTOR_NUT_HPP_
#define _CHAI_VECTOR_NUT_HPP_
#include <stdint.h>
#include <vector>
#include "FrontMem.hpp"
#include "SingleNut.hpp"
namespace chai_internal {
class AstVariable;
////////////////////////////////////////
/... | 21.65 | 79 | 0.699769 | [
"vector"
] |
75f39888a3338b771017fd95c7fcf0373ddfa0b5 | 9,494 | cpp | C++ | p/interlinked-dylibs/update_dyld_shared_cache_compat.cpp | AgesX/old_dyld | 33d635b73c47ac6e7de93d3ebd6c3afa8d9458b4 | [
"MIT"
] | 672 | 2019-10-09T11:15:13.000Z | 2021-09-21T10:02:33.000Z | dyld-635.2/interlinked-dylibs/update_dyld_shared_cache_compat.cpp | KaiserFeng/KFAppleOpenSource | 7ea6ab19f1492a2da262d3554f90882393f975a4 | [
"MIT"
] | 19 | 2019-11-05T03:32:31.000Z | 2021-07-15T11:16:25.000Z | dyld-635.2/interlinked-dylibs/update_dyld_shared_cache_compat.cpp | KaiserFeng/KFAppleOpenSource | 7ea6ab19f1492a2da262d3554f90882393f975a4 | [
"MIT"
] | 216 | 2019-10-10T01:47:36.000Z | 2021-09-23T07:56:54.000Z | /* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
*
* Copyright (c) 2014 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 ... | 30.625806 | 252 | 0.69328 | [
"vector"
] |
75ffdf002938274064b615a0cc8f7499849c9261 | 2,849 | cpp | C++ | lintcode/smallestRecwithBlack.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | lintcode/smallestRecwithBlack.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | lintcode/smallestRecwithBlack.cpp | Broadroad/learnLeetcode | c4af121b3451caa4d53819c5f8c62b38e8e5fb87 | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
/**
* @param image: a binary matrix with '0' and '1'
* @param x: the location of one of the black pixels
* @param y: the location of one of the black pixels
* @return: an integer
*/
int minArea(vector<vector<char>> &image, int x, int y) {
if (image.size(... | 26.37963 | 69 | 0.41769 | [
"vector"
] |
2f0f9d00b6886e96861e70f3015b349306d2963e | 1,369 | cpp | C++ | ch10/ex10_3_4.cpp | jl1987/Cpp-Primer | 028dcb44318667bb8713c82ce0c86676a3dcda27 | [
"CC0-1.0"
] | 1 | 2019-05-02T19:19:11.000Z | 2019-05-02T19:19:11.000Z | ch10/ex10_3_4.cpp | jl1987/Cpp-Primer | 028dcb44318667bb8713c82ce0c86676a3dcda27 | [
"CC0-1.0"
] | null | null | null | ch10/ex10_3_4.cpp | jl1987/Cpp-Primer | 028dcb44318667bb8713c82ce0c86676a3dcda27 | [
"CC0-1.0"
] | null | null | null | //! @Alan
//!
//! Exercise 10.3:
//! Use accumulate to sum the elements in a vector<int>.
//!
//! Exercise 10.4:
//! Assuming v is a vector<double>, what, if anything,
//! is wrong with calling accumulate(v.cbegin(), v.cend(), 0)?
// Check the comments below.
//!
#include <iostream>
#include <string>
#include <vector... | 27.38 | 95 | 0.609204 | [
"vector"
] |
2f17a5a93cad518445b0fe25303e2d1a93d860b9 | 3,628 | cpp | C++ | aws-cpp-sdk-location/source/model/CalculateRouteRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-location/source/model/CalculateRouteRequest.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-location/source/model/CalculateRouteRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"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/location/model/CalculateRouteRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::LocationService::Model;
using namespace Aws::Utils::Json... | 29.983471 | 141 | 0.777563 | [
"model"
] |
2f1a0c44d02b0b85d6c5d76db5d908e1d6f63554 | 8,077 | cpp | C++ | examples/ThirdPartyLibs/Gwen/Controls/TreeControl.cpp | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 9,136 | 2015-01-02T00:41:45.000Z | 2022-03-31T15:30:02.000Z | examples/ThirdPartyLibs/Gwen/Controls/TreeControl.cpp | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 2,424 | 2015-01-05T08:55:58.000Z | 2022-03-30T19:34:55.000Z | examples/ThirdPartyLibs/Gwen/Controls/TreeControl.cpp | felipeek/bullet3 | 6a59241074720e9df119f2f86bc01765917feb1e | [
"Zlib"
] | 2,921 | 2015-01-02T10:19:30.000Z | 2022-03-31T02:48:42.000Z | /*
GWEN
Copyright (c) 2010 Facepunch Studios
See license in Gwen.h
*/
#include "Gwen/Controls/TreeControl.h"
#include "Gwen/Controls/ScrollControl.h"
#include "Gwen/Utility.h"
using namespace Gwen;
using namespace Gwen::Controls;
GWEN_CONTROL_CONSTRUCTOR(TreeControl)
{
m_TreeControl = this;
m_bUpdateScrollBar =... | 26.656766 | 87 | 0.704469 | [
"render"
] |
2f20fd97398b99a321b82a394fb47942f408f9d1 | 5,711 | cc | C++ | DPGAnalysis/Skims/src/ZElectronsSelector.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | DPGAnalysis/Skims/src/ZElectronsSelector.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | DPGAnalysis/Skims/src/ZElectronsSelector.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | // -*- C++ -*-
// Class: ZElectronsSelector
//
// Original Author: Silvia Taroni
// Created: Wed, 29 Nov 2017 18:23:54 GMT
//
//
#include "FWCore/PluginManager/interface/ModuleDef.h"
// system include files
#include <algorithm>
#include <iostream>
#include <memory>
#include <string>
#include <vector> ... | 33.397661 | 111 | 0.725092 | [
"vector"
] |
2f2de0ed0f4a03facaadf556e2cf840a6e39dc8b | 17,216 | cxx | C++ | ThirdParty/CosmoHaloFinder/vtkcosmohalofinder/FOFDistribute.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 815 | 2015-01-03T02:14:04.000Z | 2022-03-26T07:48:07.000Z | ThirdParty/CosmoHaloFinder/vtkcosmohalofinder/FOFDistribute.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2015-04-28T20:10:37.000Z | 2021-08-20T18:19:01.000Z | ThirdParty/CosmoHaloFinder/vtkcosmohalofinder/FOFDistribute.cxx | xj361685640/ParaView | 0a27eef5abc5a0c0472ab0bc806c4db881156e64 | [
"Apache-2.0",
"BSD-3-Clause"
] | 328 | 2015-01-22T23:11:46.000Z | 2022-03-14T06:07:52.000Z | /*=========================================================================
Copyright (c) 2007, Los Alamos National Security, LLC
All rights reserved.
Copyright 2007. Los Alamos National Security, LLC.
This software was produced under U.S. Government contract DE-AC52-06NA25396
for Los Alamos National Laboratory (LAN... | 35.351129 | 90 | 0.601359 | [
"vector",
"3d"
] |
2f32bb287b54dc9101a9143f3c10107319a2ffe9 | 23,072 | cpp | C++ | src/data/Scenario.cpp | wssuite/NurseScheduler | e5059e06b97154d5993a67aa3a0aa2c65ff45d0a | [
"MIT"
] | 14 | 2020-05-04T01:24:36.000Z | 2022-03-20T15:04:52.000Z | src/data/Scenario.cpp | legraina/StaticNurseScheduler | e5059e06b97154d5993a67aa3a0aa2c65ff45d0a | [
"MIT"
] | 19 | 2020-04-28T18:55:00.000Z | 2020-05-15T08:59:00.000Z | src/data/Scenario.cpp | legraina/NurseScheduler | e5059e06b97154d5993a67aa3a0aa2c65ff45d0a | [
"MIT"
] | 6 | 2018-09-28T01:51:31.000Z | 2020-04-19T04:53:03.000Z | //
// Scenario.cpp
// Project:RosterDesNurses
//
// Created by J��r��my Omer on 18/12/2013.
// Copyright (c) 2014 J��r��my Omer. All rights reserved.
//
#include <sstream>
#include <string>
#include <solvers/Solver.h>
#include "data/Scenario.h"
#include "data/Nurse.h"
#include "tools/MyTools.h"
using std::strin... | 34.333333 | 177 | 0.666826 | [
"vector"
] |
2f44f23fad1dc14256fa4f61e71ddcb84aae5809 | 4,187 | cpp | C++ | source/GFX/CelImages.cpp | BodbDearg/phoenix_doom | 9648b1cc742634d5aefc18cd3699cd7cb2c0e21c | [
"MIT"
] | 29 | 2019-09-25T06:29:07.000Z | 2022-02-20T23:52:36.000Z | source/GFX/CelImages.cpp | monyarm/phoenix_doom | 78c75f985803b94b981469ac32764169ed56aee4 | [
"MIT"
] | 4 | 2019-09-25T03:24:31.000Z | 2020-09-07T18:38:32.000Z | source/GFX/CelImages.cpp | monyarm/phoenix_doom | 78c75f985803b94b981469ac32764169ed56aee4 | [
"MIT"
] | 4 | 2019-09-26T06:43:12.000Z | 2020-09-05T16:25:03.000Z | #include "CelImages.h"
#include "Base/Resource.h"
#include "Game/Resources.h"
#include <vector>
BEGIN_NAMESPACE(CelImages)
// Note: I'm using a flat vector here instead of something like a map because it offers constant time access.
// There is one array slot here per resource in the resource manager. This might see... | 32.968504 | 109 | 0.703368 | [
"vector"
] |
2f4e5a096f1cc5de465effeb722ae30d24875f76 | 5,652 | hpp | C++ | engine/include/Utils/utils.hpp | Vbif/geometric-diversity | 6e9d5a923db68acb14a0a603bd2859f4772db201 | [
"MIT"
] | null | null | null | engine/include/Utils/utils.hpp | Vbif/geometric-diversity | 6e9d5a923db68acb14a0a603bd2859f4772db201 | [
"MIT"
] | null | null | null | engine/include/Utils/utils.hpp | Vbif/geometric-diversity | 6e9d5a923db68acb14a0a603bd2859f4772db201 | [
"MIT"
] | null | null | null | #ifndef __UTILS_UTILS_H__
#define __UTILS_UTILS_H__
#pragma once
#include "platform.h"
#include "Utils/IPoint.h"
#include "Utils/Color.h"
#include "Utils/Float.hpp"
#include "Utils/Int.h"
#include "EngineAssert.h"
#include "ThreadSupport.h"
#define DECLARE_ENUM_CLASS_FLAGS(Enum) \
constexpr Enum operator|(Enum lhs,... | 23.848101 | 136 | 0.715145 | [
"vector"
] |
2f4f0b36b0fbfd8bb010a937085e22baf0c63a01 | 2,274 | hpp | C++ | framework/include/node.hpp | ttobollik/CGLab_-Haffky117185_Tobollik118988 | 74c2bb2fdba634de95a74224369ae55913a3c7b5 | [
"MIT"
] | null | null | null | framework/include/node.hpp | ttobollik/CGLab_-Haffky117185_Tobollik118988 | 74c2bb2fdba634de95a74224369ae55913a3c7b5 | [
"MIT"
] | null | null | null | framework/include/node.hpp | ttobollik/CGLab_-Haffky117185_Tobollik118988 | 74c2bb2fdba634de95a74224369ae55913a3c7b5 | [
"MIT"
] | null | null | null | #ifndef NODE_HPP
#define NODE_HPP
#include <glm/glm.hpp>
#include <iostream>
#include <vector>
#include <memory>
/*
Node which models transformations existing for all types of nodes (transform, name etc.)
*/
class Node {
public:
//constructors
//default
Node();
//using pointer to parent and name
Node(std::share... | 33.940299 | 102 | 0.747581 | [
"object",
"vector",
"transform"
] |
2f523969d10a120a8ebeb6ebd3e7744d6f23a171 | 12,182 | cpp | C++ | AADC/src/adtfUser/dev/src/objectFilter/object_filter.cpp | AADC-Fruit/AADC_2015_FRUIT | 88bd18871228cb48c46a3bd803eded6f14dbac08 | [
"BSD-3-Clause"
] | 1 | 2018-05-10T22:35:25.000Z | 2018-05-10T22:35:25.000Z | AADC/src/adtfUser/dev/src/objectFilter/object_filter.cpp | AADC-Fruit/AADC_2015_FRUIT | 88bd18871228cb48c46a3bd803eded6f14dbac08 | [
"BSD-3-Clause"
] | null | null | null | AADC/src/adtfUser/dev/src/objectFilter/object_filter.cpp | AADC-Fruit/AADC_2015_FRUIT | 88bd18871228cb48c46a3bd803eded6f14dbac08 | [
"BSD-3-Clause"
] | null | null | null | #include "stdafx.h"
#include "object_filter.h"
#include <opencv/cv.h>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "cvBlob/cvblob.h"
#include "../util/point_transformer.h"
#include "../util/vector2.h"
#include <fstream>
#include <sstream>
#include <iostream>
using namespace cv... | 43.045936 | 161 | 0.621491 | [
"render",
"object",
"vector"
] |
01694919c31fd5b6c8238be46bc7e8b680a69055 | 1,126 | cpp | C++ | Plugins/org.blueberry.ui.qt/src/berryShowInContext.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/org.blueberry.ui.qt/src/berryShowInContext.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/org.blueberry.ui.qt/src/berryShowInContext.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY o... | 22.52 | 108 | 0.64476 | [
"object"
] |
018926413ecb9664fb39c1987d94c48b3c7d9a2c | 6,199 | cpp | C++ | 3rdparty/openmm/platforms/opencl/tests/TestOpenCLDeviceQuery.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 5 | 2020-07-31T17:33:03.000Z | 2022-01-01T19:24:37.000Z | 3rdparty/openmm/platforms/opencl/tests/TestOpenCLDeviceQuery.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 11 | 2020-06-16T05:05:42.000Z | 2022-03-30T09:59:14.000Z | 3rdparty/openmm/platforms/opencl/tests/TestOpenCLDeviceQuery.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 9 | 2020-01-24T12:02:37.000Z | 2020-10-16T06:23:56.000Z | /**
* This file is adapted from vexcl's (https://github.com/ddemidov/vexcl)
* example "devlist.cpp", which is
*
* Copyright (c) 2012-2014 Denis Demidov <dennis.demidov@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files... | 44.597122 | 150 | 0.58461 | [
"vector"
] |
019be7764e70d0b07af091de60cfc0b3bf597f76 | 2,815 | cc | C++ | lib/feature_names.cc | tmcombi/tmcombi | 976d3f333c01104e5efcabd8834854ad7677ea73 | [
"MIT"
] | null | null | null | lib/feature_names.cc | tmcombi/tmcombi | 976d3f333c01104e5efcabd8834854ad7677ea73 | [
"MIT"
] | null | null | null | lib/feature_names.cc | tmcombi/tmcombi | 976d3f333c01104e5efcabd8834854ad7677ea73 | [
"MIT"
] | 3 | 2019-03-31T19:04:20.000Z | 2020-01-13T22:32:09.000Z | #ifndef TMC_UNIT_TESTS
#define BOOST_TEST_MODULE lib_test_feature_names
#endif
#include <boost/test/included/unit_test.hpp>
#include "feature_names.h"
#ifndef TMC_UNIT_TESTS
bool is_critical(const std::exception& ) { return true; }
#endif
BOOST_AUTO_TEST_SUITE( feature_names )
BOOST_AUTO_TEST_CASE( from_string_stre... | 39.647887 | 96 | 0.512966 | [
"vector"
] |
019cddc27e1cdf897df4c8e1825e61cdc8fb8182 | 1,239 | hpp | C++ | examples/Example_get_apr_by_block.hpp | mosaic-group/LibAPR | 69097a662bf671d77a548fc47dae2c590675bfac | [
"Apache-2.0"
] | 27 | 2018-12-03T20:38:44.000Z | 2022-03-23T17:53:51.000Z | examples/Example_get_apr_by_block.hpp | mosaic-group/LibAPR | 69097a662bf671d77a548fc47dae2c590675bfac | [
"Apache-2.0"
] | 49 | 2018-11-28T09:10:56.000Z | 2022-01-12T20:42:11.000Z | examples/Example_get_apr_by_block.hpp | mosaic-group/LibAPR | 69097a662bf671d77a548fc47dae2c590675bfac | [
"Apache-2.0"
] | 7 | 2018-02-13T07:41:56.000Z | 2018-04-11T13:54:39.000Z | //
// Created by joel on 03.11.20.
//
#ifndef LIBAPR_EXAMPLE_GET_APR_BY_BLOCK_HPP
#define LIBAPR_EXAMPLE_GET_APR_BY_BLOCK_HPP
#include <functional>
#include <string>
#include "algorithm/APRParameters.hpp"
#include "data_structures/Mesh/PixelData.hpp"
#include "data_structures/APR/APR.hpp"
#include "algorithm/APRConv... | 27.533333 | 91 | 0.715093 | [
"mesh"
] |
01a0a230d0f03f91df0ff5662142fa984b484f5b | 1,210 | cpp | C++ | Codechef/DSA Learning Series/Dynamic Programming Basics/AMSGAME2.cpp | JanaSabuj/cpmaster | d943780c7ca4badbefbce2d300848343c4032650 | [
"MIT"
] | null | null | null | Codechef/DSA Learning Series/Dynamic Programming Basics/AMSGAME2.cpp | JanaSabuj/cpmaster | d943780c7ca4badbefbce2d300848343c4032650 | [
"MIT"
] | null | null | null | Codechef/DSA Learning Series/Dynamic Programming Basics/AMSGAME2.cpp | JanaSabuj/cpmaster | d943780c7ca4badbefbce2d300848343c4032650 | [
"MIT"
] | null | null | null | /*
Sabuj Jana / @greenindia
https://www.janasabuj.github.io
*/
#include <bits/stdc++.h>
using namespace std;
#define crap ios::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define int long long int
#define double long double
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
#define endl "\n"
v... | 22.407407 | 127 | 0.568595 | [
"vector"
] |
01a54bd2bad5f2b4595f2920fe2bd6dba75802ba | 4,768 | cpp | C++ | src/tmx/TmxTools/src/j2735dump/j2735dump.cpp | networkmodeling/V2X-Hub | d363f49a4c9af76823a23033b9f7983f2f6ae095 | [
"Apache-2.0"
] | 56 | 2019-04-25T19:06:11.000Z | 2022-03-25T20:26:25.000Z | src/tmx/TmxTools/src/j2735dump/j2735dump.cpp | networkmodeling/V2X-Hub | d363f49a4c9af76823a23033b9f7983f2f6ae095 | [
"Apache-2.0"
] | 184 | 2019-04-24T18:20:08.000Z | 2022-03-22T18:56:45.000Z | src/tmx/TmxTools/src/j2735dump/j2735dump.cpp | networkmodeling/V2X-Hub | d363f49a4c9af76823a23033b9f7983f2f6ae095 | [
"Apache-2.0"
] | 34 | 2019-04-03T15:21:16.000Z | 2022-03-20T04:26:53.000Z | /*
* j2735dump.cpp
*
* Created on: Dec 15, 2016
* @author: gmb
*/
#include <boost/property_tree/ptree.hpp>
#include <boost/version.hpp>
#include <cstdio>
#include <tmx/j2735_messages/J2735MessageFactory.hpp>
#include <tmx/messages/message_converter.hpp>
#include <PluginExec.h>
#include <BsmConverter.h>
#if... | 24.326531 | 147 | 0.681628 | [
"vector"
] |
01a6837400450853544ea7a57f98e34bdb5758de | 221 | cpp | C++ | Dataset/Leetcode/test/55/484.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/55/484.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/test/55/484.cpp | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution {
public:
bool XXX(vector<int>& nums) {
int n=nums.size();
for(int i=0,j=0;i<n;i++){
if(j<i)return false;
j=max(j,i+nums[i]);
}
return true;
}
};
| 17 | 33 | 0.452489 | [
"vector"
] |
01af5263f44f8a9ffcf31cca14c9a381a950af33 | 11,540 | cpp | C++ | include/hydro/engine/document/Resolver.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/engine/document/Resolver.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/engine/document/Resolver.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 16.485714 | 147 | 0.67149 | [
"model"
] |
01ba8e8337e8cb773d6420ea68d6eb2b2b95ae4a | 1,107 | hpp | C++ | DataSpec/DNAMP1/ScriptObjects/VisorGoo.hpp | jackoalan/urde | 413483a996805a870f002324ee46cfc123f4df06 | [
"MIT"
] | 267 | 2016-03-10T21:59:16.000Z | 2021-03-28T18:21:03.000Z | DataSpec/DNAMP1/ScriptObjects/VisorGoo.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 129 | 2016-03-12T10:17:32.000Z | 2021-04-05T20:45:19.000Z | DataSpec/DNAMP1/ScriptObjects/VisorGoo.hpp | cobalt2727/metaforce | 3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a | [
"MIT"
] | 31 | 2016-03-20T00:20:11.000Z | 2021-03-10T21:14:11.000Z | #pragma once
#include "../../DNACommon/DNACommon.hpp"
#include "IScriptObject.hpp"
#include "Parameters.hpp"
namespace DataSpec::DNAMP1 {
struct VisorGoo : IScriptObject {
AT_DECL_DNA_YAMLV
String<-1> name;
Value<atVec3f> position;
UniqueID32 particle;
UniqueID32 electric;
Value<float> minDist;
Value<fl... | 27.675 | 83 | 0.682023 | [
"vector"
] |
01c16bddf7609824f7a7a3f9762b506db0e7bdb7 | 47,370 | cc | C++ | chromeos/dbus/session_manager_client.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromeos/dbus/session_manager_client.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromeos/dbus/session_manager_client.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/dbus/session_manager_client.h"
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <utility>
#include "base/bind.... | 40.765921 | 80 | 0.696707 | [
"object",
"vector"
] |
01d2c696023a22b2d19e3d4c179327a6f65ef54e | 373 | hpp | C++ | corex/src/corex/core/components/RenderLineSegments.hpp | seanballais/gwo-visualization | 470561c603236d6a858b78a8585fd0bae71612a5 | [
"MIT"
] | null | null | null | corex/src/corex/core/components/RenderLineSegments.hpp | seanballais/gwo-visualization | 470561c603236d6a858b78a8585fd0bae71612a5 | [
"MIT"
] | null | null | null | corex/src/corex/core/components/RenderLineSegments.hpp | seanballais/gwo-visualization | 470561c603236d6a858b78a8585fd0bae71612a5 | [
"MIT"
] | null | null | null | #ifndef COREX_CORE_COMPONENTS_RENDER_LINE_SEGMENTS_HPP
#define COREX_CORE_COMPONENTS_RENDER_LINE_SEGMENTS_HPP
#include <EASTL/vector.h>
#include <SDL2/SDL.h>
#include <corex/core/ds/Point.hpp>
namespace corex::core
{
struct RenderLineSegments
{
eastl::vector<Point> vertices;
SDL_Color colour;
};
}
nam... | 15.541667 | 54 | 0.761394 | [
"vector"
] |
01d73250523a57e3cb41ae39213d215014a370ad | 35,187 | cpp | C++ | Tests/GPUTestFramework/src/GPUTestingEnvironment.cpp | AnomalousMedical/DiligentCore | 5751cdba04373ced8c49ef40ce6a9dffb41a141e | [
"Apache-2.0"
] | null | null | null | Tests/GPUTestFramework/src/GPUTestingEnvironment.cpp | AnomalousMedical/DiligentCore | 5751cdba04373ced8c49ef40ce6a9dffb41a141e | [
"Apache-2.0"
] | null | null | null | Tests/GPUTestFramework/src/GPUTestingEnvironment.cpp | AnomalousMedical/DiligentCore | 5751cdba04373ced8c49ef40ce6a9dffb41a141e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-2022 Diligent Graphics LLC
* Copyright 2015-2019 Egor Yusov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | 38.667033 | 166 | 0.594538 | [
"vector"
] |
01e272703daa79f9da6b5f1103df07f7a09a55b3 | 2,215 | cpp | C++ | app/src/main/jni/RenderingText/RenderingText.cpp | qige023/learning-opengles3-android | cbe0742637a6eeed41c76756021913cc570cc30e | [
"MIT"
] | 10 | 2015-05-06T17:59:51.000Z | 2019-12-03T10:08:23.000Z | app/src/main/jni/RenderingText/RenderingText.cpp | qige023/OpenGL-ES3-Programming-On-Android | cbe0742637a6eeed41c76756021913cc570cc30e | [
"MIT"
] | null | null | null | app/src/main/jni/RenderingText/RenderingText.cpp | qige023/OpenGL-ES3-Programming-On-Android | cbe0742637a6eeed41c76756021913cc570cc30e | [
"MIT"
] | null | null | null | #include "RenderingText.h"
#include <iostream>
using std::cout;
using std::endl;
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtx/string_cast.hpp>
using glm::vec3;
using glm::vec4;
#include "esutil.h"
#include "esfile.h"
RenderingText::RenderingText() { }
RenderingText::~R... | 28.397436 | 123 | 0.684876 | [
"render",
"model",
"transform",
"3d"
] |
01e644b382028d1c1c28875169a58de067446ed0 | 1,686 | cc | C++ | Codeforces/236 Division 1/Problem D/D.cc | VastoLorde95/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 170 | 2017-07-25T14:47:29.000Z | 2022-01-26T19:16:31.000Z | Codeforces/236 Division 1/Problem D/D.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | null | null | null | Codeforces/236 Division 1/Problem D/D.cc | navodit15/Competitive-Programming | 6c990656178fb0cd33354cbe5508164207012f24 | [
"MIT"
] | 55 | 2017-07-28T06:17:33.000Z | 2021-10-31T03:06:22.000Z | #include <cstdio>
#include <iostream>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <map>
#include <set>
#include <vector>
#include <utility>
#include <queue>
#include <stack>
#define sd(x) scanf("%d",&x)
#define sd2(x,y) scanf("%d%d",&x,&y)
#define sd3(x,y,z) scanf("%d%d%d",&x,&y,&z)
#define fi f... | 24.794118 | 79 | 0.520759 | [
"vector"
] |
543fe0b1e7814d5a8b6e666e7a031eb9de56ed08 | 855 | cpp | C++ | 692.top-k-frequent-words.158916980.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 692.top-k-frequent-words.158916980.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 692.top-k-frequent-words.158916980.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
struct compare{
bool operator()(pair<string,int>a, pair<string,int>b)
{
if(a.second!=b.second)return a.second<b.second;
else return a.first>b.first;
}
};
vector<string> topKFrequent(vector<string>& words, int k) {
priority_queue<pair<str... | 28.5 | 79 | 0.509942 | [
"vector"
] |
5443b39bc6522ebe1ed91096ddce8b2caf9be196 | 26,136 | cc | C++ | alljoyn_c/src/PermissionConfigurator.cc | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 33 | 2018-01-12T00:37:43.000Z | 2022-03-24T02:31:36.000Z | alljoyn_c/src/PermissionConfigurator.cc | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 1 | 2020-01-05T05:51:27.000Z | 2020-01-05T05:51:27.000Z | alljoyn_c/src/PermissionConfigurator.cc | liuxiang88/core-alljoyn | 549c966482d9b89da84aa528117584e7049916cb | [
"Apache-2.0"
] | 30 | 2017-12-13T23:24:00.000Z | 2022-01-25T02:11:19.000Z | /**
* @file
* PermissionConfigurator is responsible for managing an application's Security 2.0 settings.
*/
/******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contributors and others.
*
*... | 33.811125 | 194 | 0.677189 | [
"vector"
] |
545b1bc559eb572a3ba0d85b7528de3d375f114f | 5,034 | hpp | C++ | src/yael_io.hpp | LiliMeng/btrf | c13da164b11c5ada522fa40deeaffc32192c4bf9 | [
"BSD-2-Clause"
] | 9 | 2017-10-28T15:24:04.000Z | 2021-12-28T13:51:05.000Z | src/yael_io.hpp | LiliMeng/btrf | c13da164b11c5ada522fa40deeaffc32192c4bf9 | [
"BSD-2-Clause"
] | null | null | null | src/yael_io.hpp | LiliMeng/btrf | c13da164b11c5ada522fa40deeaffc32192c4bf9 | [
"BSD-2-Clause"
] | 3 | 2017-11-08T16:10:39.000Z | 2019-05-21T03:40:02.000Z | //
// yael_io.h
// OLNN
//
// Created by jimmy on 2016-12-01.
// Copyright (c) 2016 Nowhere Planet. All rights reserved.
//
#ifndef OLNN_yael_io_h
#define OLNN_yael_io_h
// file IO for http://corpus-texmex.irisa.fr/
#include <stdio.h>
#include <Eigen/Dense>
#include <assert.h>
using Eigen::MatrixXf;
using Eigen... | 49.841584 | 124 | 0.605085 | [
"vector"
] |
545e8b0bdf0624a7f64a09ed4a335e48c045d312 | 2,533 | cpp | C++ | QuickSort_Viz/source/rects.cpp | AkashBujju/Practice_Excercises | 850ad69e8f77f5e34428f7264ca94fc54605b351 | [
"MIT"
] | null | null | null | QuickSort_Viz/source/rects.cpp | AkashBujju/Practice_Excercises | 850ad69e8f77f5e34428f7264ca94fc54605b351 | [
"MIT"
] | null | null | null | QuickSort_Viz/source/rects.cpp | AkashBujju/Practice_Excercises | 850ad69e8f77f5e34428f7264ca94fc54605b351 | [
"MIT"
] | null | null | null | #include "rects.h"
#include <cstdlib>
#include <glm/gtc/type_ptr.hpp>
#include <iostream>
extern float map(float src, float src_start, float src_end, float des_start, float des_end);
void Rects::init(GLint program, std::vector<glm::vec3> colors, std::vector<float> numbers) {
this->program = program;
this->per_width... | 31.271605 | 96 | 0.694828 | [
"vector"
] |
546398288a5869ef5f68d960fe16d0e58af90b95 | 3,251 | cpp | C++ | SOCEngine/SOCEngine/Rendering/Postprocessing/DepthOfField.cpp | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 14 | 2015-12-24T03:08:59.000Z | 2021-12-13T13:29:07.000Z | SOCEngine/SOCEngine/Rendering/Postprocessing/DepthOfField.cpp | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 106 | 2015-08-16T10:32:47.000Z | 2018-10-08T19:01:44.000Z | SOCEngine/SOCEngine/Rendering/Postprocessing/DepthOfField.cpp | Jin02/SOCEngine | 7a04d914149783f54aecf2fbbc4e78a7325f0fbd | [
"MIT"
] | 2 | 2018-03-02T06:17:08.000Z | 2020-02-11T11:19:41.000Z | #include "DepthOfField.h"
#include "AutoBinder.hpp"
using namespace Device;
using namespace Rendering;
using namespace Rendering::Buffer;
using namespace Rendering::Shader;
using namespace Rendering::PostProcessing;
using namespace Rendering::Texture;
using namespace Rendering::Renderer;
using namespace Rendering::Ren... | 34.585106 | 179 | 0.767764 | [
"render",
"vector"
] |
54720f7350eb33db0364dd9152714d57caaa53d9 | 2,728 | cpp | C++ | src/closed_loop_control/main.cpp | karanchawla/CallistoRover | c83c1eb155dd9045f296238252fe412894b93beb | [
"MIT"
] | 5 | 2019-03-16T09:41:42.000Z | 2021-09-07T05:04:33.000Z | src/closed_loop_control/main.cpp | karanchawla/CallistoRover | c83c1eb155dd9045f296238252fe412894b93beb | [
"MIT"
] | null | null | null | src/closed_loop_control/main.cpp | karanchawla/CallistoRover | c83c1eb155dd9045f296238252fe412894b93beb | [
"MIT"
] | 6 | 2017-05-15T15:30:51.000Z | 2020-07-24T13:48:57.000Z | #include "mbed.h"
#include "QEI.h"
#include <cstdlib>
#include <ros.h>
#include <std_msgs/Float32.h>
#include <std_msgs/Int32.h>
#include "Sabertooth.h"
#include <cmath>
//Defining the pins
#ifdef TARGET_LPC1768
#define MOTORSHIELD_IN1 p23
#define MOTORSHIELD_IN2 p24
#define MOTORSHIELD_IN3 p29
#define MO... | 19.768116 | 135 | 0.756598 | [
"object"
] |
547e8c024aa6ffe5fbc05d80d4ebceb87531c07c | 1,216 | hpp | C++ | libs/core/include/fcppt/mpl/list/drop.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 13 | 2015-02-21T18:35:14.000Z | 2019-12-29T14:08:29.000Z | libs/core/include/fcppt/mpl/list/drop.hpp | cpreh/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 5 | 2016-08-27T07:35:47.000Z | 2019-04-21T10:55:34.000Z | libs/core/include/fcppt/mpl/list/drop.hpp | freundlich/fcppt | 17df1b1ad08bf2435f6902d5465e3bc3fe5e3022 | [
"BSL-1.0"
] | 8 | 2015-01-10T09:22:37.000Z | 2019-12-01T08:31:12.000Z | // Copyright Carl Philipp Reh 2009 - 2021.
// 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)
#ifndef FCPPT_MPL_LIST_DROP_HPP_INCLUDED
#define FCPPT_MPL_LIST_DROP_HPP_INCLUDED
#include <fcppt/... | 30.4 | 81 | 0.703947 | [
"object"
] |
5484228dff22e66c5d1465e727a7fd3f2f2a9389 | 10,748 | cpp | C++ | extra_visitors/rosparam/src/reader.cpp | asherikov/ariles | cab7f0498f036fbb15ae152804ead56200af5d45 | [
"Apache-2.0"
] | 4 | 2020-03-08T17:09:25.000Z | 2021-05-02T08:53:14.000Z | extra_visitors/rosparam/src/reader.cpp | asherikov/ariles | cab7f0498f036fbb15ae152804ead56200af5d45 | [
"Apache-2.0"
] | 12 | 2019-09-19T09:35:51.000Z | 2021-07-08T18:49:20.000Z | extra_visitors/rosparam/src/reader.cpp | asherikov/ariles | cab7f0498f036fbb15ae152804ead56200af5d45 | [
"Apache-2.0"
] | 3 | 2020-06-02T08:14:47.000Z | 2021-05-02T08:54:09.000Z | /**
@file
@author Alexander Sherikov
@copyright 2018 Alexander Sherikov, Licensed under the Apache License, Version 2.0.
(see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
@brief
*/
#include <boost/lexical_cast.hpp>
#include "common.h"
namespace ariles2
{
namespace ns_rospar... | 41.022901 | 120 | 0.414682 | [
"vector"
] |
548876e87d01fa61de02d30ca078e84fdf426e9a | 4,508 | cpp | C++ | src/ui/widgets/group.cpp | CommitteeOfZero/impacto | 87e0aa27d59d8f350849dfb20048679b2a3db1e3 | [
"0BSD"
] | 45 | 2020-02-01T19:10:13.000Z | 2022-03-11T01:45:52.000Z | src/ui/widgets/group.cpp | Enorovan/impacto | 807c5247dca2720e3e1205fca4724ad1fafb1ab4 | [
"0BSD"
] | 7 | 2020-01-26T17:30:00.000Z | 2021-09-26T10:00:46.000Z | src/ui/widgets/group.cpp | Enorovan/impacto | 807c5247dca2720e3e1205fca4724ad1fafb1ab4 | [
"0BSD"
] | 11 | 2020-02-01T23:01:50.000Z | 2021-12-15T14:39:27.000Z | #include "group.h"
#include "../../profile/game.h"
#include "../../inputsystem.h"
#include "../../renderer2d.h"
namespace Impacto {
namespace UI {
namespace Widgets {
Group::Group(Menu* ctx) {
MenuContext = ctx;
Bounds = RectF(0.0f, 0.0f, 0.0f, 0.0f);
RenderingBounds =
RectF(0.0f, 0.0f, Profile::DesignWi... | 24.769231 | 80 | 0.626886 | [
"render"
] |
5490e7b369d3a799d0b62ed5557511db10e58af2 | 1,541 | hpp | C++ | data/test/cpp/5490e7b369d3a799d0b62ed5557511db10e58af2Core.hpp | harshp8l/deep-learning-lang-detection | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | [
"MIT"
] | 84 | 2017-10-25T15:49:21.000Z | 2021-11-28T21:25:54.000Z | data/test/cpp/5490e7b369d3a799d0b62ed5557511db10e58af2Core.hpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 5 | 2018-03-29T11:50:46.000Z | 2021-04-26T13:33:18.000Z | data/test/cpp/5490e7b369d3a799d0b62ed5557511db10e58af2Core.hpp | vassalos/deep-learning-lang-detection | cbb00b3e81bed3a64553f9c6aa6138b2511e544e | [
"MIT"
] | 24 | 2017-11-22T08:31:00.000Z | 2022-03-27T01:22:31.000Z | #ifndef ___INANITY_OIL_CORE_HPP___
#define ___INANITY_OIL_CORE_HPP___
#include "oil.hpp"
#include "../inanity/script/script.hpp"
#include "../inanity/script/np/np.hpp"
#include "../inanity/meta/decl.hpp"
#include "../inanity/String.hpp"
BEGIN_INANITY
class FileSystem;
class File;
END_INANITY
BEGIN_INANITY_SCRIPT
... | 20.012987 | 90 | 0.791694 | [
"object"
] |
5495c9314b97a1005a48e7fd2c11239ba632bf6b | 16,315 | hh | C++ | aspects/thermal/GunnsThermalPhaseChangeBattery.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 18 | 2020-01-23T12:14:09.000Z | 2022-02-27T22:11:35.000Z | aspects/thermal/GunnsThermalPhaseChangeBattery.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 39 | 2020-11-20T12:19:35.000Z | 2022-02-22T18:45:55.000Z | aspects/thermal/GunnsThermalPhaseChangeBattery.hh | nasa/gunns | 248323939a476abe5178538cd7a3512b5f42675c | [
"NASA-1.3"
] | 7 | 2020-02-10T19:25:43.000Z | 2022-03-16T01:10:00.000Z | #ifndef GunnsThermalPhaseChangeBattery_EXISTS
#define GunnsThermalPhaseChangeBattery_EXISTS
/**
@file
@brief GUNNS Thermal Phase Change Battery Link declarations
@defgroup TSM_GUNNS_THERMAL_PHASE_CHANGE_BATTERY GUNNS Thermal Phase Change Battery Link
@ingroup TSM_GUNNS_THERMAL
@copyright Copyright 2019 Unit... | 59.981618 | 166 | 0.595587 | [
"vector",
"model"
] |
54a79a96d9e434bf871ac059bd63c4d26b9afaed | 395 | cpp | C++ | src/test_app/constructors/player.cpp | rationalis-petra/mecs | 461eacff6b9449eb1a6bdf2f9faf45c6d2265d65 | [
"MIT"
] | null | null | null | src/test_app/constructors/player.cpp | rationalis-petra/mecs | 461eacff6b9449eb1a6bdf2f9faf45c6d2265d65 | [
"MIT"
] | null | null | null | src/test_app/constructors/player.cpp | rationalis-petra/mecs | 461eacff6b9449eb1a6bdf2f9faf45c6d2265d65 | [
"MIT"
] | null | null | null | #include <string>
#include "engine.hpp"
#include "test_app.hpp"
using std::string;
void make_player(World& world) {
world.create_entity()
.add_component<Model>(new Model(world, "container.jpg", "player", {0, 0, 0}))
.add_component<Input>(new Input)
.add_component<RigidBody>(new RigidBody(0, 0, 0))
... | 26.333333 | 81 | 0.696203 | [
"model"
] |
54b2ce92bf2ea85d7879ee7d42c03e7313d8e0e2 | 1,089 | cpp | C++ | p130/p130_2.cpp | suzyz/leetcode_practice | e22dc5a81e065dc962e5561b14ac84b9a2302e8a | [
"MIT"
] | 1 | 2019-10-07T05:00:21.000Z | 2019-10-07T05:00:21.000Z | p130/p130_2.cpp | suzyz/leetcode_practice | e22dc5a81e065dc962e5561b14ac84b9a2302e8a | [
"MIT"
] | null | null | null | p130/p130_2.cpp | suzyz/leetcode_practice | e22dc5a81e065dc962e5561b14ac84b9a2302e8a | [
"MIT"
] | null | null | null | class Solution {
public:
void solve(vector<vector<char>>& board) {
int n = board.size();
if (n == 0)
return;
int m = board[0].size();
if (m == 0)
return;
for (int i = 0; i < n; ++i)
{
dfs(i,0,n,m,board);
dfs(i,m-1,n,m,board);
... | 22.22449 | 65 | 0.332415 | [
"vector"
] |
2a5e5b34884b1cbe82b173381a0752a281ca2ded | 1,080 | hpp | C++ | third_party/amo/amo/object.hpp | amoylel/NCUI | a3b315ebf97d9903766efdafa42c24d4212d5ad6 | [
"BSD-2-Clause"
] | 24 | 2018-11-20T14:45:57.000Z | 2021-12-30T13:38:42.000Z | third_party/amo/amo/object.hpp | amoylel/NCUI | a3b315ebf97d9903766efdafa42c24d4212d5ad6 | [
"BSD-2-Clause"
] | null | null | null | third_party/amo/amo/object.hpp | amoylel/NCUI | a3b315ebf97d9903766efdafa42c24d4212d5ad6 | [
"BSD-2-Clause"
] | 11 | 2018-11-29T00:09:14.000Z | 2021-11-23T08:13:17.000Z | #ifndef AMO_OBJECT_HPP__
#define AMO_OBJECT_HPP__
#include <amo/uid.hpp>
#include <amo/logger.hpp>
#include <set>
namespace amo {
class object {
public:
object() : valid_object(true) { }
virtual ~object() {}
operator bool() {
return is_valid();
}... | 18.947368 | 50 | 0.491667 | [
"object"
] |
2a688b441e30f3e8e3aa293c8ca77cf0d247bcb0 | 4,554 | cpp | C++ | source/file/sequence/GenBankFile.cpp | Frangou-Lab/libgene | 28d11eea1489dd473f8376ff6475b53f12594fe6 | [
"Apache-2.0"
] | null | null | null | source/file/sequence/GenBankFile.cpp | Frangou-Lab/libgene | 28d11eea1489dd473f8376ff6475b53f12594fe6 | [
"Apache-2.0"
] | null | null | null | source/file/sequence/GenBankFile.cpp | Frangou-Lab/libgene | 28d11eea1489dd473f8376ff6475b53f12594fe6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Frangou Lab
*
* 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 i... | 32.070423 | 155 | 0.659859 | [
"vector"
] |
2a9a2fa5b5f08aeb987023b093626fc9224073d7 | 1,874 | cpp | C++ | Engine/Source/FishEngine/Physics/Rigidbody.cpp | ValtoGameEngines/Fish-Engine | a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9 | [
"MIT"
] | 240 | 2017-02-17T10:08:19.000Z | 2022-03-25T14:45:29.000Z | Engine/Source/FishEngine/Physics/Rigidbody.cpp | ValtoGameEngines/Fish-Engine | a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9 | [
"MIT"
] | 2 | 2016-10-12T07:08:38.000Z | 2017-04-05T01:56:30.000Z | Engine/Source/FishEngine/Physics/Rigidbody.cpp | yushroom/FishEngine | a4b9fb9b0a6dc202f7990e75f4b7d8d5163209d9 | [
"MIT"
] | 39 | 2017-03-02T09:40:07.000Z | 2021-12-04T07:28:53.000Z | #include <FishEngine/Rigidbody.hpp>
#include <FishEngine/GameObject.hpp>
#include <FishEngine/PhysicsSystem.hpp>
#include <FishEngine/Gizmos.hpp>
#include <FishEngine/Transform.hpp>
#include <FishEngine/PhysicsSystem.hpp>
#include <FishEngine/Collider.hpp>
using namespace FishEngine;
using namespace physx;
extern phy... | 27.15942 | 108 | 0.726788 | [
"shape",
"transform"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.