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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2aa45eb5782d7f52fe663b4119150edaa5203635 | 4,918 | hpp | C++ | cannon/ml/piecewise_lstd.hpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | cannon/ml/piecewise_lstd.hpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | 46 | 2021-01-12T23:03:52.000Z | 2021-10-01T17:29:01.000Z | cannon/ml/piecewise_lstd.hpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | #ifndef CANNON_ML_PIECEWISE_LSTD_H
#define CANNON_ML_PIECEWISE_LSTD_H
/*!
* \file cannon/ml/piecewise_lstd.hpp
* \brief File containing PiecewiseLSTDFilter class definition.
*/
#include <Eigen/Core>
using namespace Eigen;
namespace cannon {
namespace ml {
/*!
* \brief Class representing a Least-Squa... | 36.977444 | 95 | 0.618747 | [
"vector"
] |
2aa723619b75d2e254a870e377ec83e6d9df9127 | 37,330 | cpp | C++ | src/gpu/gl/GrGLProgram.cpp | coltorchen/android-skia | 91bb0c6f4224715ab78e3f64ba471a42d5d5a307 | [
"BSD-3-Clause"
] | 2 | 2017-05-19T08:53:12.000Z | 2017-08-28T11:59:26.000Z | src/gpu/gl/GrGLProgram.cpp | coltorchen/android-skia | 91bb0c6f4224715ab78e3f64ba471a42d5d5a307 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | src/gpu/gl/GrGLProgram.cpp | coltorchen/android-skia | 91bb0c6f4224715ab78e3f64ba471a42d5d5a307 | [
"BSD-3-Clause"
] | 2 | 2017-08-09T09:03:23.000Z | 2020-05-26T09:14:49.000Z | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrGLProgram.h"
#include "GrAllocator.h"
#include "GrEffect.h"
#include "GrGLEffect.h"
#include "GrGpuGL.h"
#include "GrGLShaderVar.h"
#include "GrBackendEffectFacto... | 40.313175 | 146 | 0.550844 | [
"solid"
] |
2ab4384323d6f965ca2446dba426be1657490cae | 18,419 | hpp | C++ | include/base_pxfoundations/foundation/PsMathUtils.hpp | DeanoC/base_pxfoundations | 8150e24a606b184781bf1552e09f17c03e67e501 | [
"BSD-3-Clause"
] | null | null | null | include/base_pxfoundations/foundation/PsMathUtils.hpp | DeanoC/base_pxfoundations | 8150e24a606b184781bf1552e09f17c03e67e501 | [
"BSD-3-Clause"
] | null | null | null | include/base_pxfoundations/foundation/PsMathUtils.hpp | DeanoC/base_pxfoundations | 8150e24a606b184781bf1552e09f17c03e67e501 | [
"BSD-3-Clause"
] | null | null | null | //
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... | 29.329618 | 119 | 0.692166 | [
"vector"
] |
2ab629f1d7aa1847a3eb1ec385cd20b9efff1d41 | 7,953 | cc | C++ | test/av1_fwd_txfm2d_test.cc | mzso/av1 | a77c871ee03f9a3445f3bdb7cfd7dad4e3fd2db1 | [
"BSD-2-Clause"
] | null | null | null | test/av1_fwd_txfm2d_test.cc | mzso/av1 | a77c871ee03f9a3445f3bdb7cfd7dad4e3fd2db1 | [
"BSD-2-Clause"
] | null | null | null | test/av1_fwd_txfm2d_test.cc | mzso/av1 | a77c871ee03f9a3445f3bdb7cfd7dad4e3fd2db1 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | 37.338028 | 80 | 0.676223 | [
"vector"
] |
2ab6ed2856f26decb73a7c29c98fa9263601249c | 21,481 | cpp | C++ | src/main.cpp | Sennevds/MQTTLeds | 6af9d726ce472974ddcb1e1b3a6f6a9970dcf920 | [
"MIT"
] | null | null | null | src/main.cpp | Sennevds/MQTTLeds | 6af9d726ce472974ddcb1e1b3a6f6a9970dcf920 | [
"MIT"
] | null | null | null | src/main.cpp | Sennevds/MQTTLeds | 6af9d726ce472974ddcb1e1b3a6f6a9970dcf920 | [
"MIT"
] | null | null | null |
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include "FastLED.h"
#include <ESP8266mDNS.h>
#include <ArduinoOTA.h>
/************ WIFI and MQTT INFORMATION (CHANGE THESE FOR YOUR SETUP) ******************/
#define wifi_ssid "YourSSID" //enter your WIFI SSID
#define wifi_password "YourWIFIPassword" //enter your... | 32.895865 | 198 | 0.58568 | [
"solid"
] |
2aba1cb0a1673518ee3d3535881f84d059df30c2 | 853 | hpp | C++ | includes/nomad/State/IntroState.hpp | manning390/Nomad | d2a7aabb9bd4cfe56cc37bd786533634f019c02a | [
"MIT"
] | null | null | null | includes/nomad/State/IntroState.hpp | manning390/Nomad | d2a7aabb9bd4cfe56cc37bd786533634f019c02a | [
"MIT"
] | null | null | null | includes/nomad/State/IntroState.hpp | manning390/Nomad | d2a7aabb9bd4cfe56cc37bd786533634f019c02a | [
"MIT"
] | null | null | null | #ifndef STATE_INTROSTATE
#define STATE_INTROSTATE
#include <vector>
#include "State/State.hpp"
#include <SFML/Graphics/Text.hpp>
#include <SFML/Graphics/Font.hpp>
#include <SFML/Graphics/Color.hpp>
#include <SFML/Graphics/Sprite.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
cla... | 21.871795 | 86 | 0.656506 | [
"vector"
] |
2aba4df00705590c99463d87b8b055b169df2e2a | 33,503 | hpp | C++ | sdl/Hypergraph/fs/Compose.hpp | sdl-research/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 29 | 2015-01-26T21:49:51.000Z | 2021-06-18T18:09:42.000Z | sdl/Hypergraph/fs/Compose.hpp | hypergraphs/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 1 | 2015-12-08T15:03:15.000Z | 2016-01-26T14:31:06.000Z | sdl/Hypergraph/fs/Compose.hpp | hypergraphs/hyp | d39f388f9cd283bcfa2f035f399b466407c30173 | [
"Apache-2.0"
] | 4 | 2015-11-21T14:25:38.000Z | 2017-10-30T22:22:00.000Z | // Copyright 2014-2015 SDL plc
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing,... | 38.509195 | 120 | 0.676865 | [
"object"
] |
2ac0b1ec69fa9aaac95f97820c9533e5805c953c | 21,143 | cpp | C++ | src/unit_test/hostintf/sai_hostif_unit_test.cpp | Dell-Networking/sonic-sai-common | 0ad86ab7f29732d318013e55fe11e7197c7c1246 | [
"Apache-2.0"
] | 1 | 2020-07-30T02:53:02.000Z | 2020-07-30T02:53:02.000Z | src/unit_test/hostintf/sai_hostif_unit_test.cpp | Dell-Networking/sonic-sai-common | 0ad86ab7f29732d318013e55fe11e7197c7c1246 | [
"Apache-2.0"
] | null | null | null | src/unit_test/hostintf/sai_hostif_unit_test.cpp | Dell-Networking/sonic-sai-common | 0ad86ab7f29732d318013e55fe11e7197c7c1246 | [
"Apache-2.0"
] | 4 | 2016-08-12T19:06:03.000Z | 2020-07-30T02:53:04.000Z | /************************************************************************
* LEGALESE: "Copyright (c) 2015, Dell Inc. All rights reserved."
*
* This source code is confidential, proprietary, and contains trade
* secrets that are the sole property of Dell Inc.
* Copy and/or distribution of this source code or disassemb... | 36.898778 | 108 | 0.692002 | [
"object"
] |
2ac6d8f7eb497a2ef6111b42b4ce00eeb9122e47 | 5,657 | cpp | C++ | AtCoder/ABC/200/D.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | 2 | 2018-12-11T14:37:24.000Z | 2022-01-23T18:11:54.000Z | AtCoder/ABC/200/D.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | AtCoder/ABC/200/D.cpp | Mindjolt2406/Competitive-Programming | d000d98bf7005ee4fb809bcea2f110e4c4793b80 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
// g++ -std=c++17 -Wl,-stack_size -Wl,0x10000000 main.cpp
#define mt make_tuple
#define mp make_pair
#define pu push_back
#define INF 1000000001
#define MOD 1000000007
#define EPS 1e-6
#define ll long long int
#define ld long double
#define fi first
#define se second
#define all(v) v.begin(),v.e... | 32.889535 | 224 | 0.416652 | [
"vector"
] |
2ad0ed5dab893c1bbe72924620c67c724c2b43fe | 1,335 | cpp | C++ | src/chesslbl.cpp | elvisxiaozhi/For-English-Learner | 88dd74ff2d6b9c77cf40e7dc376d278368bc861b | [
"MIT"
] | null | null | null | src/chesslbl.cpp | elvisxiaozhi/For-English-Learner | 88dd74ff2d6b9c77cf40e7dc376d278368bc861b | [
"MIT"
] | 1 | 2018-09-23T14:00:06.000Z | 2018-09-23T14:00:06.000Z | src/chesslbl.cpp | elvisxiaozhi/For-English-Learner | 88dd74ff2d6b9c77cf40e7dc376d278368bc861b | [
"MIT"
] | null | null | null | #include "chesslbl.h"
#include <QMouseEvent>
const int ChessLbl::circle = 0;
const int ChessLbl::cross = 1;
const int ChessLbl::unfilled = 2;
ChessLbl::ChessLbl(QWidget *parent, int row, int col) : QLabel(parent), isCross(unfilled)
{
this->row = row;
this->col = col;
setMinimumSize(87, 87);
... | 27.8125 | 104 | 0.598502 | [
"solid"
] |
2ad4f1fdb931defcb5f52f480c8b339b87ea2b0e | 22,376 | cpp | C++ | src/test/performanceTester.cpp | Tobi2001/asr_psm | 18f0959c4a69a6e254d7b53a4d6cc6e6b28f0ccc | [
"BSD-3-Clause"
] | 1 | 2019-10-29T13:37:30.000Z | 2019-10-29T13:37:30.000Z | src/test/performanceTester.cpp | Tobi2001/asr_psm | 18f0959c4a69a6e254d7b53a4d6cc6e6b28f0ccc | [
"BSD-3-Clause"
] | null | null | null | src/test/performanceTester.cpp | Tobi2001/asr_psm | 18f0959c4a69a6e254d7b53a4d6cc6e6b28f0ccc | [
"BSD-3-Clause"
] | 1 | 2019-11-03T14:00:30.000Z | 2019-11-03T14:00:30.000Z |
#include <ros/package.h>
#include <boost/filesystem/path.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <ISM/utility/TableHelper.hpp>
#include "learner/SceneLearningEngine.h"
#include "inference/model/SceneModelDescription.h"
#include <sys/time.h>
#include <string>
#include <chrono>
#include <v... | 37.925424 | 194 | 0.656775 | [
"object",
"vector",
"model"
] |
2ad5a8eff54a82113976fff4bacac18f9fca09ce | 3,658 | hpp | C++ | cvxpy/cvxcore/src/LinOp.hpp | TShimko126/cvxpy | 8b89b3f8ef7daba1db39f5029e4902f06c75b29f | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-09-24T12:59:45.000Z | 2021-09-24T13:00:08.000Z | cvxpy/cvxcore/src/LinOp.hpp | TShimko126/cvxpy | 8b89b3f8ef7daba1db39f5029e4902f06c75b29f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | cvxpy/cvxcore/src/LinOp.hpp | TShimko126/cvxpy | 8b89b3f8ef7daba1db39f5029e4902f06c75b29f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2021-09-24T13:00:18.000Z | 2021-09-24T13:00:18.000Z | // Copyright 2017 Steven Diamond
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 27.712121 | 77 | 0.691635 | [
"vector"
] |
2ae381c41c695af71cb39ba2816b1e9112f35630 | 50,413 | cpp | C++ | arangod/VocBase/replication-dump.cpp | asaaki/ArangoDB | a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82 | [
"Apache-2.0"
] | 15 | 2019-08-08T02:06:36.000Z | 2019-10-15T17:52:58.000Z | arangod/VocBase/replication-dump.cpp | asaaki/ArangoDB | a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82 | [
"Apache-2.0"
] | null | null | null | arangod/VocBase/replication-dump.cpp | asaaki/ArangoDB | a1d4f6f33c09ffd6f67744dbe748e83dc0fe6b82 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// @brief replication dump functions
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (t... | 35.033356 | 135 | 0.563922 | [
"vector"
] |
2aeabe34b4bb07942b3baabc5f78ec574a1dd01a | 6,823 | cpp | C++ | plugins/community/repos/bsp/src/TunedDelayLine.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/bsp/src/TunedDelayLine.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/bsp/src/TunedDelayLine.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | /*
Copyright (c) 2018 bsp
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, distribute, sublicense,... | 29.034043 | 179 | 0.697933 | [
"model"
] |
2aee94170fc66e132ee5c1372780f380c4f1dd16 | 4,206 | cpp | C++ | jni/pendercanvasjs/pendercanvasjs.cpp | lorinbeer/vatedroid | dbc648ef2d39b9d55c247db8c68818fb11d2fdc8 | [
"Apache-2.0"
] | 7 | 2015-02-05T03:45:23.000Z | 2020-07-04T15:01:22.000Z | jni/pendercanvasjs/pendercanvasjs.cpp | lorinbeer/vatedroid | dbc648ef2d39b9d55c247db8c68818fb11d2fdc8 | [
"Apache-2.0"
] | null | null | null | jni/pendercanvasjs/pendercanvasjs.cpp | lorinbeer/vatedroid | dbc648ef2d39b9d55c247db8c68818fb11d2fdc8 | [
"Apache-2.0"
] | null | null | null |
#include <list>
#include <assert.h>
#include <android/log.h>
#include <stdio.h>
#include "pendercanvasjs.h"
v8::Handle<v8::Value> ParmenidesConstructorHelper(const v8::Arguments & args);
/*
* dynamically defines the canvas api
*/
PenderCanvasJS::PenderCanvasJS() {
HandleScope localscope;
Handle<FunctionTempl... | 42.484848 | 119 | 0.503566 | [
"render",
"object",
"transform"
] |
2aef5b5d5a919cf6ad5e1df96db76371d518ce08 | 886 | hpp | C++ | libs/imagecolor/include/sge/image/color/any/compare.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/imagecolor/include/sge/image/color/any/compare.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/imagecolor/include/sge/image/color/any/compare.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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 SGE_IMAGE_COLOR_ANY_COMPARE_HPP_INCLUDED
#define SGE_IMAGE_COLOR_ANY_COMPARE_HPP_INCLUDED
... | 27.6875 | 77 | 0.713318 | [
"object"
] |
2af161509c6f505b1e585af8c0172b52ad9b614c | 4,834 | hpp | C++ | src/ct_icp/types.hpp | xiang-1208/ct_icp | 42928e584c24595c49e147e2ea120f8cc31ec716 | [
"MIT"
] | 123 | 2021-10-08T01:51:45.000Z | 2022-03-31T08:55:15.000Z | src/ct_icp/types.hpp | ZuoJiaxing/ct_icp | 1c371331aad833faec157c015fb8f72143019caa | [
"MIT"
] | 9 | 2021-10-19T07:25:46.000Z | 2022-03-31T03:20:19.000Z | src/ct_icp/types.hpp | ZuoJiaxing/ct_icp | 1c371331aad833faec157c015fb8f72143019caa | [
"MIT"
] | 23 | 2021-10-08T01:49:01.000Z | 2022-03-24T15:35:07.000Z | #ifndef CT_ICP_TYPES_HPP
#define CT_ICP_TYPES_HPP
#include <map>
#include <unordered_map>
#include <list>
#include <tsl/robin_map.h>
#include <Eigen/Dense>
#include <Eigen/StdVector>
#include <glog/logging.h>
#include "utils.hpp"
#define _USE_MATH_DEFINES
#include <math.h>
namespace ct_icp {
// A Point3D
... | 29.839506 | 116 | 0.590401 | [
"vector"
] |
2afb0499aad86a7301866f4e3907f60a04d56df1 | 2,729 | hpp | C++ | parser/ParseLimit.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 82 | 2016-04-18T03:59:06.000Z | 2019-02-04T11:46:08.000Z | parser/ParseLimit.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 265 | 2016-04-19T17:52:43.000Z | 2018-10-11T17:55:08.000Z | parser/ParseLimit.hpp | Hacker0912/quickstep-datalog | 1de22e7ab787b5efa619861a167a097ff6a4f549 | [
"Apache-2.0"
] | 68 | 2016-04-18T05:00:34.000Z | 2018-10-30T12:41:02.000Z | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | 29.989011 | 114 | 0.702089 | [
"vector"
] |
6304ba8d0c7eb60668c02a60d63ab2a739d801b3 | 912 | cpp | C++ | gui/qt-gui/processor/houghtransform.cpp | yleniaBattistini/ObjectTracker | 9f408d2c8e55209e80592ab17e6cddfddb38f5c4 | [
"MIT"
] | null | null | null | gui/qt-gui/processor/houghtransform.cpp | yleniaBattistini/ObjectTracker | 9f408d2c8e55209e80592ab17e6cddfddb38f5c4 | [
"MIT"
] | null | null | null | gui/qt-gui/processor/houghtransform.cpp | yleniaBattistini/ObjectTracker | 9f408d2c8e55209e80592ab17e6cddfddb38f5c4 | [
"MIT"
] | null | null | null | #include "houghtransform.h"
#include <opencv2\imgcodecs.hpp>
#include <opencv2\highgui.hpp>
#include <opencv2\imgproc.hpp>
#include <opencv2\core\types.hpp>
#include <vector>
using namespace cv;
using namespace std;
void HoughTransform::houghTransform(Mat& input, vector<Rect> &circles)
{
// Circle Detection Hough ... | 25.333333 | 99 | 0.639254 | [
"vector",
"transform"
] |
630a4cde48abb39c17cc77b22b3c9076aa1e9bbb | 20,281 | hpp | C++ | src/libraries/core/interpolation/volPointInterpolation/volPointInterpolation.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/interpolation/volPointInterpolation/volPointInterpolation.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/core/interpolation/volPointInterpolation/volPointInterpolation.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 28.685997 | 80 | 0.580001 | [
"mesh"
] |
debdcfcf54bdccb1437ecf3b8a42044d2975768e | 2,942 | cpp | C++ | src/stats/StatisticalFormulas.cpp | IreneGR92/Group-augmentation-Basic | 9225c44e6608981d25b45e5575fd9922a358d1e0 | [
"MIT"
] | 1 | 2018-12-22T08:49:09.000Z | 2018-12-22T08:49:09.000Z | src/stats/StatisticalFormulas.cpp | IreneGR92/Group-augmentation-Basic | 9225c44e6608981d25b45e5575fd9922a358d1e0 | [
"MIT"
] | null | null | null | src/stats/StatisticalFormulas.cpp | IreneGR92/Group-augmentation-Basic | 9225c44e6608981d25b45e5575fd9922a358d1e0 | [
"MIT"
] | 1 | 2018-12-22T08:49:10.000Z | 2018-12-22T08:49:10.000Z |
#include "StatisticalFormulas.h"
#include <cmath>
#include <numeric>
#include <algorithm>
#include <functional>
#include <assert.h>
double StatisticalFormulas::calculateMean() {
double sum = std::accumulate(individualValues.begin(), individualValues.end(), 0.0);
double counter = individualValues.size();
... | 25.807018 | 98 | 0.632223 | [
"vector",
"transform"
] |
debeaebd1cf8c98380e16e19e1ae43cb797cb0d8 | 1,884 | cpp | C++ | Amazon_group.cpp | sayantabonny/ElementsOfProgramming | 74c1c34eb856fc7e9d6c1c7e13829c1e48f8f881 | [
"MIT"
] | null | null | null | Amazon_group.cpp | sayantabonny/ElementsOfProgramming | 74c1c34eb856fc7e9d6c1c7e13829c1e48f8f881 | [
"MIT"
] | null | null | null | Amazon_group.cpp | sayantabonny/ElementsOfProgramming | 74c1c34eb856fc7e9d6c1c7e13829c1e48f8f881 | [
"MIT"
] | null | null | null | #include<iostream>
#include<set>
#include<vector>
using namespace std;
int main()
{
int m[4][4] = {{1,0,0,1},{0,1,1,0},{0,1,1,1},{1,0,1,1}};
int group=0;
vector<set<int>> groups {{1,1}};
//cout<<groups.size()<<endl;
for(int i=0;i<4;i++)
{
for(int j=0;j<4;j++)
{
... | 28.545455 | 86 | 0.288747 | [
"vector"
] |
dec0d6bf2cab3f537f84e31c8a1402bdae9ab0e9 | 137,426 | cpp | C++ | Dots/geometries/david.cpp | xjorma/HoloGrail | 678db2a5f98261b0d8d6c3cdaffe481a42802845 | [
"MIT"
] | 6 | 2021-04-05T05:57:59.000Z | 2022-02-20T00:14:15.000Z | Dots/geometries/david.cpp | xjorma/HoloGrail | 678db2a5f98261b0d8d6c3cdaffe481a42802845 | [
"MIT"
] | null | null | null | Dots/geometries/david.cpp | xjorma/HoloGrail | 678db2a5f98261b0d8d6c3cdaffe481a42802845 | [
"MIT"
] | null | null | null | #include "demopch.h"
#include "./headers/geometries.h"
Geometry David = Geometry
(
{
{0.195080563426, 0.0789999961853, 0.202600091696}, {0.195080563426, 0.121000006795, 0.202600091696}, {0.14423827827, 0.0789999961853, 0.0792968720198}, {0.14423827827, 0.121000006795, 0.0792968720198}, {0.093737795949, 0.078999996... | 404.194118 | 449 | 0.706344 | [
"geometry"
] |
dec49aaae9c699a41de87b26497cb3b4a77c0d8f | 966 | hpp | C++ | src/org/apache/poi/sl/draw/binding/CTGeomGuide.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/sl/draw/binding/CTGeomGuide.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | src/org/apache/poi/sl/draw/binding/CTGeomGuide.hpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /POI/java/org/apache/poi/sl/draw/binding/CTGeomGuide.java
#pragma once
#include <fwd-POI.hpp>
#include <java/lang/fwd-POI.hpp>
#include <org/apache/poi/sl/draw/binding/fwd-POI.hpp>
#include <java/lang/Object.hpp>
struct default_init_tag;
class poi::sl::draw::binding::CTGeomGuide
: public virtu... | 22.465116 | 75 | 0.665631 | [
"object"
] |
dec85920a171c58d624b9a02375b979354b58e29 | 5,259 | cpp | C++ | src/shader.cpp | xslattery/OpenGL-Voxel-Terrain | c3fc0f7931c52054f9f2c71e5c06193c486d08b0 | [
"MIT"
] | null | null | null | src/shader.cpp | xslattery/OpenGL-Voxel-Terrain | c3fc0f7931c52054f9f2c71e5c06193c486d08b0 | [
"MIT"
] | 1 | 2020-02-01T07:05:48.000Z | 2020-04-14T05:35:49.000Z | src/shader.cpp | xslattery/OpenGL-Voxel-Terrain | c3fc0f7931c52054f9f2c71e5c06193c486d08b0 | [
"MIT"
] | null | null | null | //
// shader.cpp
// RTSProject
//
// Created by Xavier Slattery.
// Copyright © 2015 Xavier Slattery. All rights reserved.
//
#include <OpenGL/gl3.h>
#include <glm/glm.hpp>
#include <fstream>
#include <string>
#include <vector>
#include "typedefs.hpp"
#include "shader.hpp"
unsigned int LoadShaders( const char *... | 38.669118 | 105 | 0.697851 | [
"vector"
] |
dec85bd2d317de9c9941212ffa365be842f77618 | 1,059 | hh | C++ | Alignment/Geners/interface/PackerIOCycle.hh | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Alignment/Geners/interface/PackerIOCycle.hh | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Alignment/Geners/interface/PackerIOCycle.hh | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #ifndef GENERS_PACKERIOCYCLE_HH_
#define GENERS_PACKERIOCYCLE_HH_
#include "Alignment/Geners/interface/GenericIO.hh"
namespace gs {
namespace Private {
// Before calling this, make sure that iostack is properly filled
template<typename Pack, unsigned long N>
struct PackerIOCycle
{
... | 29.416667 | 73 | 0.539188 | [
"vector"
] |
ded126df06be33aad48e5cbee3a3baa128a80301 | 2,996 | cpp | C++ | aws-cpp-sdk-mediastore-data/source/model/GetObjectResult.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-05T18:20:03.000Z | 2022-01-05T18:20:03.000Z | aws-cpp-sdk-mediastore-data/source/model/GetObjectResult.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-mediastore-data/source/model/GetObjectResult.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/mediastore-data/model/GetObjectResult.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/... | 27.740741 | 98 | 0.724967 | [
"model"
] |
ded2c632317bc94f574df09fee423fe9b623e7c9 | 1,363 | hpp | C++ | include/KdTree.hpp | Ip-umd/EucledianClustering | 42120be32297a1cc42113aad5fba46326defcbc3 | [
"BSD-3-Clause"
] | null | null | null | include/KdTree.hpp | Ip-umd/EucledianClustering | 42120be32297a1cc42113aad5fba46326defcbc3 | [
"BSD-3-Clause"
] | null | null | null | include/KdTree.hpp | Ip-umd/EucledianClustering | 42120be32297a1cc42113aad5fba46326defcbc3 | [
"BSD-3-Clause"
] | 1 | 2021-06-03T07:04:18.000Z | 2021-06-03T07:04:18.000Z | /**
* @file KdTree.hpp
* @author Ishan Patel
* @brief Header file for KdTree.cpp
* Declaration of the member variables and functions in the KdTree class.
*/
#ifndef INCLUDE_KDTREE_HPP_
#define INCLUDE_KDTREE_HPP_
#include <vector>
#include "Node.hpp"
class KdTree
{
private:
// Object of Node... | 29.630435 | 157 | 0.72047 | [
"object",
"vector"
] |
ded920cb892fc107fe327925fd1422704fb62249 | 1,877 | cpp | C++ | android-28/android/graphics/ColorSpace_Rgb_TransferParameters.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-28/android/graphics/ColorSpace_Rgb_TransferParameters.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-30/android/graphics/ColorSpace_Rgb_TransferParameters.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../JObject.hpp"
#include "./ColorSpace_Rgb_TransferParameters.hpp"
namespace android::graphics
{
// Fields
jdouble ColorSpace_Rgb_TransferParameters::a()
{
return getField<jdouble>(
"a"
);
}
jdouble ColorSpace_Rgb_TransferParameters::b()
{
return getField<jdouble>(
"b"
);
}
jdouble C... | 19.757895 | 167 | 0.701652 | [
"object"
] |
dee661a052802f9e89d08ed7956dcc5c3a86ec80 | 2,181 | cpp | C++ | src/voronoi/src/voronoi_cell.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | 2 | 2016-12-06T17:51:30.000Z | 2018-06-21T08:52:58.000Z | src/voronoi/src/voronoi_cell.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | src/voronoi/src/voronoi_cell.cpp | frmr/gs | b9721ad27f59ca2e19f637bccd9eba32b663b6a3 | [
"MIT"
] | null | null | null | #include "voronoi_cell.h"
#include "../glm/gtc/matrix_transform.hpp"
VoronoiCell::VoronoiCell(mpvec3 p)
{
position = p;
}
void VoronoiCell::addCorner(glm::dvec3 c)
{
corners.push_back(glm::normalize(c));
}
void VoronoiCell::sortCorners()
{
corners = quicksort(corners);
}
std::vector<glm::dvec3> Voronoi... | 25.658824 | 78 | 0.569005 | [
"vector",
"transform"
] |
def5057d4e86e75e51cb2fa2531558533a42ea5b | 280 | cpp | C++ | EulerRender/src/graphics/MeshMaterial.cpp | jjovanovski/eulerrender | 9ef87b4c0c3667414edc8104c84d3ac08aa2303d | [
"MIT"
] | null | null | null | EulerRender/src/graphics/MeshMaterial.cpp | jjovanovski/eulerrender | 9ef87b4c0c3667414edc8104c84d3ac08aa2303d | [
"MIT"
] | null | null | null | EulerRender/src/graphics/MeshMaterial.cpp | jjovanovski/eulerrender | 9ef87b4c0c3667414edc8104c84d3ac08aa2303d | [
"MIT"
] | null | null | null | #include "MeshMaterial.h"
using namespace Euler;
MeshMaterial::MeshMaterial() {
}
MeshMaterial::MeshMaterial(Mesh * mesh, Material * material) {
this->mesh = mesh;
this->material = material;
}
MeshMaterial::~MeshMaterial() {
Dispose();
}
void MeshMaterial::Dispose() {
} | 14 | 62 | 0.703571 | [
"mesh"
] |
deff149ab6fea61cd1faba5e7ed8c18559ebdaad | 6,399 | hpp | C++ | avl/AVL-extra.hpp | udupa-varun/coursera-cs400 | cf073e6fe816c0d1f8fe95cae10448e979fec2ce | [
"MIT"
] | 2 | 2021-05-19T02:49:55.000Z | 2021-05-20T03:14:24.000Z | avl/AVL-extra.hpp | udupa-varun/coursera-cs400 | cf073e6fe816c0d1f8fe95cae10448e979fec2ce | [
"MIT"
] | null | null | null | avl/AVL-extra.hpp | udupa-varun/coursera-cs400 | cf073e6fe816c0d1f8fe95cae10448e979fec2ce | [
"MIT"
] | null | null | null | /**
* AVL tree - Additional definitions for debugging, etc.
*
* @author Eric Huber
*/
#pragma once
#include <stack>
#include "AVL.hpp"
// printInOrder: Print the tree contents to std::cout using an in-order
// traversal. The "_printInOrder" version is for internal use by the
// public wrapper function "printInO... | 27.346154 | 97 | 0.641663 | [
"vector"
] |
7206a8ab58e1199a8d0e4af4271501fb7887de34 | 16,475 | cpp | C++ | sources/Framework/Tools/LightmapGenerator/spLightmapShaderDispatcher.cpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/Framework/Tools/LightmapGenerator/spLightmapShaderDispatcher.cpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/Framework/Tools/LightmapGenerator/spLightmapShaderDispatcher.cpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2016-10-31T06:08:44.000Z | 2019-08-02T16:12:33.000Z | /*
* Lightmap shader dispatcher file
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#include "Framework/Tools/LightmapGenerator/spLightmapShaderDispatcher.hpp"
#ifdef SP_COMPILE_WITH_LIGHTMAPGENERATOR
#include "Fra... | 30.173993 | 152 | 0.656146 | [
"render",
"vector",
"model"
] |
720d4036a35be53f39565e3f7da27be757b1cc94 | 3,036 | cpp | C++ | game/src/zombie.cpp | speedy0/SoldierNo1296 | bd379e9e21d6bab585c2b68c43016a1e5b6ffc59 | [
"MIT"
] | null | null | null | game/src/zombie.cpp | speedy0/SoldierNo1296 | bd379e9e21d6bab585c2b68c43016a1e5b6ffc59 | [
"MIT"
] | null | null | null | game/src/zombie.cpp | speedy0/SoldierNo1296 | bd379e9e21d6bab585c2b68c43016a1e5b6ffc59 | [
"MIT"
] | null | null | null | #pragma once
#include "pch.h"
#include "zombie.h"
zombie::zombie() {};
zombie::~zombie() {};
void zombie::initialise(engine::ref<engine::game_object> object, glm::vec3 position, glm::vec3 forward) {
m_zom = object;
m_zom->set_forward(forward);
m_zom->set_position(position);
m_zom->animated_mesh()->set_default_an... | 32.297872 | 118 | 0.725955 | [
"object"
] |
72129fa5167ad0d4dce43caffd49fde6bb1804e8 | 1,581 | hpp | C++ | include/cinatra/io_service_pool.hpp | wofeicaoge/cinatra | 249fbbb7d271ec4483bed35b63e26c40343a3ff6 | [
"MIT"
] | null | null | null | include/cinatra/io_service_pool.hpp | wofeicaoge/cinatra | 249fbbb7d271ec4483bed35b63e26c40343a3ff6 | [
"MIT"
] | null | null | null | include/cinatra/io_service_pool.hpp | wofeicaoge/cinatra | 249fbbb7d271ec4483bed35b63e26c40343a3ff6 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <memory>
#include <thread>
#include "use_asio.hpp"
#include "utils.hpp"
namespace cinatra
{
class io_service_pool : private noncopyable{
public:
explicit io_service_pool(const std::size_t pool_size = 1) : next_io_service_(0) {
for (std::size_t i = 0; i < pool_size; ++i)
... | 21.958333 | 83 | 0.661607 | [
"vector"
] |
72167af10009d5af4c8c944fbc6179c3896e527e | 16,647 | cpp | C++ | toolbox/unused/garment_shape.cpp | katjawolff/custom_fit_garments | 1d6f9dcba612010bb5552201f39595f7b288b8d5 | [
"MIT"
] | 4 | 2021-08-15T09:28:51.000Z | 2022-03-14T10:19:09.000Z | toolbox/unused/garment_shape.cpp | katjawolff/custom_fit_garments | 1d6f9dcba612010bb5552201f39595f7b288b8d5 | [
"MIT"
] | 1 | 2021-12-24T07:16:34.000Z | 2021-12-24T07:16:34.000Z | toolbox/unused/garment_shape.cpp | katjawolff/custom_fit_garments | 1d6f9dcba612010bb5552201f39595f7b288b8d5 | [
"MIT"
] | null | null | null | #include "garment_shape.h"
#include <vector>
#include <iostream>
#include <iomanip>
#include <igl/edges.h>
#include "../adjacency.h"
using namespace std;
using namespace Eigen;
typedef Triplet<double> Tri;
RestShape::RestShape(){}
void RestShape::init(const MatrixXi& F) {
// create adjacency information - E4:... | 39.261792 | 193 | 0.532348 | [
"shape",
"vector",
"transform"
] |
7228240259c1c47bd2a2343e4b21d7fb4dc5d7d7 | 1,310 | cc | C++ | src/contests/2010-regional/H/H.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | 2 | 2019-09-07T17:00:26.000Z | 2020-08-05T02:08:35.000Z | src/contests/2010-regional/H/H.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | null | null | null | src/contests/2010-regional/H/H.cc | cbarnson/UVa | 0dd73fae656613e28b5aaf5880c5dad529316270 | [
"Unlicense",
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define FR(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef vector<int> vi;
typedef long long ll;
typedef pair<int, int> ii;
typedef vector<double> vd;
vd minL = { 125, 90, 0.25 };
vd maxL = { 290, 155, 7 };
vd maxPk = { 380, 300, 50 };
double l, h, t;
double s = 0;
bool isl... | 16.582278 | 46 | 0.448092 | [
"vector"
] |
72285e86e18343b62d42dcac434409f405ebe634 | 1,498 | hpp | C++ | include/mcnla/core/la/dense/routine/dot.hpp | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | include/mcnla/core/la/dense/routine/dot.hpp | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | include/mcnla/core/la/dense/routine/dot.hpp | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file include/mcnla/core/la/dense/routine/dot.hpp
/// @brief The BLAS DOT routine.
///
/// @author Mu Yang <<emfomy@gmail.com>>
///
#ifndef MCNLA_CORE_LA_DENSE_ROUTINE_DOT_HPP_
#de... | 28.807692 | 128 | 0.453271 | [
"vector"
] |
5cfcea12affd54e50353adfc122b3c3c6b0b7501 | 2,224 | cpp | C++ | USACOcontests/platinum/2016.01/fortmoo.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 14 | 2019-08-14T00:43:10.000Z | 2021-12-16T05:43:31.000Z | USACOcontests/platinum/2016.01/fortmoo.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | null | null | null | USACOcontests/platinum/2016.01/fortmoo.cpp | eyangch/competitive-programming | 59839efcec72cb792e61b7d316f83ad54f16a166 | [
"MIT"
] | 6 | 2020-12-30T03:30:17.000Z | 2022-03-11T03:40:02.000Z | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pii;
template <typename T1, typename T2>
ostream &operator <<(ostream &os, pair<T1, T2> p){os << p.first << " " << p.second; return os;}
template <typename T>
ostream &operator <<(ostream &os, vector<T> ... | 30.054054 | 101 | 0.415468 | [
"vector"
] |
cf0224c4e36035f7c5568be02a0ff738aec588e6 | 5,254 | cpp | C++ | MCGIDI/Test/samplePhotoAtomic/samplePhotoAtomic.cpp | Mathnerd314/gidiplus | ed4c48ab399a964fe782f73d0a065849b00090bb | [
"MIT-0",
"MIT"
] | null | null | null | MCGIDI/Test/samplePhotoAtomic/samplePhotoAtomic.cpp | Mathnerd314/gidiplus | ed4c48ab399a964fe782f73d0a065849b00090bb | [
"MIT-0",
"MIT"
] | null | null | null | MCGIDI/Test/samplePhotoAtomic/samplePhotoAtomic.cpp | Mathnerd314/gidiplus | ed4c48ab399a964fe782f73d0a065849b00090bb | [
"MIT-0",
"MIT"
] | null | null | null | /*
# <<BEGIN-copyright>>
# Copyright 2019, Lawrence Livermore National Security, LLC.
# See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: MIT
# <<END-copyright>>
*/
static char const *description = "Reads a photo-atomic protare and loops over each reaction. For each reaction, one product samp... | 41.698413 | 174 | 0.60925 | [
"model"
] |
cf0c8d6f75d3ec10013ccf3b14fda1bd95d85bcd | 4,127 | cc | C++ | pyaims/src/libpyaims/vector/numpytypes.cc | brainvisa/aims-free | 5852c1164292cadefc97cecace022d14ab362dc4 | [
"CECILL-B"
] | 4 | 2019-07-09T05:34:10.000Z | 2020-10-16T00:03:15.000Z | pyaims/src/libpyaims/vector/numpytypes.cc | brainvisa/aims-free | 5852c1164292cadefc97cecace022d14ab362dc4 | [
"CECILL-B"
] | 72 | 2018-10-31T14:52:50.000Z | 2022-03-04T11:22:51.000Z | pyaims/src/libpyaims/vector/numpytypes.cc | brainvisa/aims-free | 5852c1164292cadefc97cecace022d14ab362dc4 | [
"CECILL-B"
] | null | null | null |
#include <pyaims/vector/numpytypes_d.h>
#include <iostream>
#include <cstdio>
PyArray_Descr* NPY_AimsRGB_Descr()
{
static PyArray_Descr* descr = 0;
if( !descr )
{
PyObject *op;
op = Py_BuildValue( "[(s, s)]", "v", "3u1" );
PyArray_DescrConverter( op, &descr );
Py_DECREF( op );
}
return de... | 30.345588 | 60 | 0.751393 | [
"vector"
] |
cf1205f573e97c8a060e7ed9ca011af1317d63d0 | 826 | hpp | C++ | mge_v18_student_version/src/mge/core/Subject.hpp | TristanSmeets/Agent-OwO | 9ee94c8fd605cdf2b2274624ef55f83e527ee472 | [
"MIT"
] | null | null | null | mge_v18_student_version/src/mge/core/Subject.hpp | TristanSmeets/Agent-OwO | 9ee94c8fd605cdf2b2274624ef55f83e527ee472 | [
"MIT"
] | null | null | null | mge_v18_student_version/src/mge/core/Subject.hpp | TristanSmeets/Agent-OwO | 9ee94c8fd605cdf2b2274624ef55f83e527ee472 | [
"MIT"
] | null | null | null | #pragma once
#include "mge/core/Observer.hpp"
#include <vector>
#include <algorithm>
#include "mge/util/EventQueue/EventStructs.hpp"
template <typename T> class Subject
{
public:
Subject(){};
virtual ~Subject()
{
std::cout << "GC running on:Subject\n";
for (int index = 0; index < observers.size(); ++index)
{... | 18.772727 | 94 | 0.676755 | [
"vector"
] |
cf14ec91517f69dc2644e84d998396a82515e784 | 5,863 | cpp | C++ | ConsoleRpg/ConsoleRpg/Event.cpp | LucasRKrueger/RPG_game | bc27de5b1d0e5ca34fc1141b2832c291f667cf5f | [
"MIT"
] | 2 | 2020-05-27T19:58:48.000Z | 2020-05-27T19:58:50.000Z | ConsoleRpg/ConsoleRpg/Event.cpp | LucasRKrueger/RPG_game | bc27de5b1d0e5ca34fc1141b2832c291f667cf5f | [
"MIT"
] | null | null | null | ConsoleRpg/ConsoleRpg/Event.cpp | LucasRKrueger/RPG_game | bc27de5b1d0e5ca34fc1141b2832c291f667cf5f | [
"MIT"
] | null | null | null | #include "Event.h"
Event::Event()
{
this->numberOfEvents = 2;
}
Event::~Event()
{
}
void Event::generateEvent(Character& character)
{
int i = rand() % this->numberOfEvents;
i = 0;
switch (i)
{
case 0:
enemyEncouter(character);
break;
case 1:
puzzleEncouter(character);
break;
case 2:
break;
defau... | 19.543333 | 92 | 0.6321 | [
"vector"
] |
cf171f708b7b3f642569f387ef604f0666845097 | 11,734 | cpp | C++ | TabulaRasa/Source/Game/World.cpp | Halliom/Tabula-Rasa | 2c1f1e0373851786cdbdb02c6792f71392ce98f9 | [
"MIT"
] | null | null | null | TabulaRasa/Source/Game/World.cpp | Halliom/Tabula-Rasa | 2c1f1e0373851786cdbdb02c6792f71392ce98f9 | [
"MIT"
] | null | null | null | TabulaRasa/Source/Game/World.cpp | Halliom/Tabula-Rasa | 2c1f1e0373851786cdbdb02c6792f71392ce98f9 | [
"MIT"
] | null | null | null | #include "World.h"
#include "glm/common.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "../Platform/Platform.h"
#include "../Engine/Block.h"
#include "../Engine/Chunk.h"
#include "../Engine/ScriptEngine.h"
#include "../Engine/ChunkManager.h"
#include "../Engine/Core/Memory.h"
#include "../Engine/Camera.h"
#inc... | 26.368539 | 179 | 0.64948 | [
"vector"
] |
cf1d78e1832e348cfd67577bf8a58a1bdd3f1432 | 1,943 | cpp | C++ | qt/render_bmp_as_movie/myutilities.cpp | kurekagura/samples | f8aacc470883cf2eb92ae36064cb6d24ffae967f | [
"MIT"
] | null | null | null | qt/render_bmp_as_movie/myutilities.cpp | kurekagura/samples | f8aacc470883cf2eb92ae36064cb6d24ffae967f | [
"MIT"
] | null | null | null | qt/render_bmp_as_movie/myutilities.cpp | kurekagura/samples | f8aacc470883cf2eb92ae36064cb6d24ffae967f | [
"MIT"
] | null | null | null | #include "myutilities.h"
#include <vector>
#include <opencv2/opencv.hpp>
#include <filesystem>
#include <Windows.h>
std::vector<cv::Mat> my_load_images(bool toRGB){
std::vector<cv::Mat> pseudo_device;
//映像入力デバイスを想定,ダミーでオンメモリ(pseudo_device_)に取り込んでおく.
//連番画像ファイルの一覧取得・ソート
const char* input_fil... | 32.383333 | 109 | 0.607308 | [
"vector"
] |
cf1f42d8de692742a1c41aad5a327e91609da61d | 7,632 | cxx | C++ | VTK/Graphics/vtkExtractSelection.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 1 | 2016-05-09T00:36:44.000Z | 2016-05-09T00:36:44.000Z | VTK/Graphics/vtkExtractSelection.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | null | null | null | VTK/Graphics/vtkExtractSelection.cxx | certik/paraview | 973d37b466552ce770ac0674f30040bb7e31d7fe | [
"BSD-3-Clause"
] | 3 | 2015-05-14T21:18:53.000Z | 2022-03-07T02:53:45.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkExtractSelection.cxx,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | 29.241379 | 78 | 0.631944 | [
"mesh"
] |
cf2284489214067efa02a990ffe1dd6a2e707b79 | 50,320 | cpp | C++ | src/njli/World.cpp | njligames/Engine | 899c7b79cea33a72fc34f159134f721b56715d3d | [
"MIT"
] | 1 | 2019-02-13T05:41:54.000Z | 2019-02-13T05:41:54.000Z | src/njli/World.cpp | njligames/Engine | 899c7b79cea33a72fc34f159134f721b56715d3d | [
"MIT"
] | null | null | null | src/njli/World.cpp | njligames/Engine | 899c7b79cea33a72fc34f159134f721b56715d3d | [
"MIT"
] | null | null | null | //
// World.cpp
// JLIGameEngineTest
//
// Created by James Folk on 11/21/14.
// Copyright (c) 2014 James Folk. All rights reserved.
//
#include "World.h"
#include "SceneState.h"
#include "SceneStateMachine.h"
#include "btVector2.h"
#include "GLPlatform.h"
#include "tinyxml.h"
#include "Log.h"
#define TAG "World... | 30.185963 | 136 | 0.579332 | [
"render",
"transform"
] |
cf2969e22f0443d1b1ca86bad46ba4b79738e2cc | 14,113 | cpp | C++ | sdl2-sonic-drivers/src/audio/scummvm/RateConverter.cpp | Raffaello/sdl2-sonic-drivers | 20584f100ddd7c61f584deaee0b46c5228d8509d | [
"Apache-2.0"
] | 3 | 2021-10-31T14:24:00.000Z | 2022-03-16T08:15:31.000Z | sdl2-sonic-drivers/src/audio/scummvm/RateConverter.cpp | Raffaello/sdl2-sonic-drivers | 20584f100ddd7c61f584deaee0b46c5228d8509d | [
"Apache-2.0"
] | 48 | 2020-06-05T11:11:29.000Z | 2022-02-27T23:58:44.000Z | sdl2-sonic-drivers/src/audio/scummvm/RateConverter.cpp | Raffaello/sdl2-sonic-drivers | 20584f100ddd7c61f584deaee0b46c5228d8509d | [
"Apache-2.0"
] | null | null | null | #include <audio/scummvm/RateConverter.hpp>
#include <audio/scummvm/AudioStream.hpp>
#include <audio/scummvm/Mixer.hpp>
#include <cassert>
#include <cstdlib>
#include <spdlog/spdlog.h>
namespace audio
{
namespace scummvm
{
// TODO split into multiple class and in its own namesapce
// TO... | 36.187179 | 145 | 0.50953 | [
"object"
] |
cf3ccdad7a9de6b51916a98e9db8fd85c1826a3c | 679 | hpp | C++ | include/ez/imgui/Context.hpp | errata-c/ez-imgui | 171fdf7b4564f10034367425eb0d61e50dc6b786 | [
"MIT"
] | null | null | null | include/ez/imgui/Context.hpp | errata-c/ez-imgui | 171fdf7b4564f10034367425eb0d61e50dc6b786 | [
"MIT"
] | null | null | null | include/ez/imgui/Context.hpp | errata-c/ez-imgui | 171fdf7b4564f10034367425eb0d61e50dc6b786 | [
"MIT"
] | null | null | null | #pragma once
#include <cinttypes>
#include <string>
#include <chrono>
#include <ez/input/InputEvent.hpp>
#include "Backend.hpp"
struct ImGuiContext;
namespace ez::window {
class Window;
}
namespace ez::imgui {
// Associate with a window.
// That way we can use clipboard and update mouse and other things.
cla... | 16.975 | 68 | 0.701031 | [
"render"
] |
cf45a76ab6616424432ef398f735f9ced2c0e852 | 10,162 | cpp | C++ | src/main.cpp | adct-the-experimenter/dance-fighters | 758ba76eeb50e1c815ae5b3ec5923d64f9214154 | [
"MIT"
] | null | null | null | src/main.cpp | adct-the-experimenter/dance-fighters | 758ba76eeb50e1c815ae5b3ec5923d64f9214154 | [
"MIT"
] | null | null | null | src/main.cpp | adct-the-experimenter/dance-fighters | 758ba76eeb50e1c815ae5b3ec5923d64f9214154 | [
"MIT"
] | null | null | null | #include "core/coordinator.h"
#include "raylib.h"
#include "systems/InputReactorSystem.h"
#include "systems/PhysicsSystem.h"
#include "systems/CameraSystem.h"
#include "systems/RenderSystem.h"
#include "systems/AnimationSystem.h"
#include "core/ControllerInputHandler.h"
#include "core/ControllerInput.h"
#include "... | 22.139434 | 94 | 0.731254 | [
"render",
"vector",
"model",
"transform"
] |
cf46d52afd1a036ae2146f1aca543f9e2d2e5c98 | 9,141 | cpp | C++ | src/mutatee/mutatee.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | null | null | null | src/mutatee/mutatee.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | null | null | null | src/mutatee/mutatee.cpp | ikitayama/cobi | e9bc4a5675ead1874ad9ffa953de8edb3a763479 | [
"BSD-3-Clause"
] | 1 | 2018-12-14T02:45:41.000Z | 2018-12-14T02:45:41.000Z | /*****************************************************************************
** Cobi http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 2009-2010 **
** ... | 29.204473 | 178 | 0.614484 | [
"vector"
] |
cf555990cea662bd383d6a46f5ff8d56045e5c9f | 1,288 | cpp | C++ | source_code/Scenes/Game/Map/bonus_points_manager.cpp | nooro/Pac-Man | 46b15ee00a4159696686080ea20f119736f15f45 | [
"MIT"
] | 9 | 2016-12-19T11:15:55.000Z | 2019-12-10T15:46:48.000Z | source_code/Scenes/Game/Map/bonus_points_manager.cpp | nooro/Pac-Man | 46b15ee00a4159696686080ea20f119736f15f45 | [
"MIT"
] | null | null | null | source_code/Scenes/Game/Map/bonus_points_manager.cpp | nooro/Pac-Man | 46b15ee00a4159696686080ea20f119736f15f45 | [
"MIT"
] | 2 | 2017-01-31T23:56:08.000Z | 2022-01-27T12:39:23.000Z | #include "bonus_points_manager.h"
SDL_Texture *BonusPointsManager::texture = NULL;
vector<SDL_Rect> BonusPointsManager::points;
SDL_Color BonusPointsManager::color;
void BonusPointsManager::Add(SDL_Rect rect)
{
BonusPointsManager::points.push_back(rect);
}
void BonusPointsManager::Delete(int index)
{
BonusPo... | 27.404255 | 108 | 0.755435 | [
"render",
"vector"
] |
cf5b6199568fac190613bf5dd6f310f0a4911f0f | 481 | hh | C++ | src/option/option.hh | Idotno-1/MarioLANG | 61871c5e0582a8caff5df85166af84d4e558e6e5 | [
"MIT"
] | null | null | null | src/option/option.hh | Idotno-1/MarioLANG | 61871c5e0582a8caff5df85166af84d4e558e6e5 | [
"MIT"
] | null | null | null | src/option/option.hh | Idotno-1/MarioLANG | 61871c5e0582a8caff5df85166af84d4e558e6e5 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
#include <optional>
#include <sstream>
#include <string>
#include <vector>
namespace option_parser
{
struct Options
{
Options()
{
display_ = false;
delay_ = -1;
}
std::vector<std::string> paths_; // ONE REQUIRED
... | 19.24 | 65 | 0.586279 | [
"vector"
] |
cf5bab0db94c05be17de9e7156f187b741f037e6 | 5,840 | cpp | C++ | cpp/test/util/DictTest.cpp | 311labs/SRL | c3f0069270ada3784f2a81d9ec9e390e31e53a59 | [
"MIT"
] | 2 | 2018-12-21T01:55:23.000Z | 2021-11-29T01:30:37.000Z | cpp/test/util/DictTest.cpp | 311labs/SRL | c3f0069270ada3784f2a81d9ec9e390e31e53a59 | [
"MIT"
] | null | null | null | cpp/test/util/DictTest.cpp | 311labs/SRL | c3f0069270ada3784f2a81d9ec9e390e31e53a59 | [
"MIT"
] | null | null | null |
#include "DictTest.h"
#include "srl/util/Dictionary.h"
#include "srl/sys/System.h"
#include "srl/fs/TextFile.h"
#include "srl/math/Random.h"
using namespace SRL;
using namespace SRL::Test;
// int get_index(Util::Dictionary<int, String>::Entry *entry, Util::Dictionary<int, String> &dict)
// {
// Util::Dictionary... | 30.103093 | 128 | 0.568322 | [
"shape"
] |
cf5dfbad7b99faf1b2a9f6fe3707923f48f2edde | 12,969 | cpp | C++ | Game/Source/System.cpp | Micadurp/Blonic-The-Hooker | af35ce1ba18abc94827c79c53bf9605255211772 | [
"MIT"
] | null | null | null | Game/Source/System.cpp | Micadurp/Blonic-The-Hooker | af35ce1ba18abc94827c79c53bf9605255211772 | [
"MIT"
] | null | null | null | Game/Source/System.cpp | Micadurp/Blonic-The-Hooker | af35ce1ba18abc94827c79c53bf9605255211772 | [
"MIT"
] | null | null | null | #include "System.h"
System::System()
{
currentLevel = 0;
gamePlay = nullptr;
LevelInfo level;
level.scene = L"hus01_export";
level.collision = L"hus01_collision";
level.kristall = L"kristall01_collision";
level.winPlane = L"hus01_winning";
levels.push_back(level);
level.scene = L"hus02_export";
level.coll... | 20.985437 | 212 | 0.702753 | [
"render",
"object"
] |
cf6be5acf38ebfde0285f448f8c36e130481ca03 | 4,836 | cpp | C++ | util/hardwareabstraction.cpp | OpenTactile/ScratchyShow | 475c460a5f7280092afc90e8b53c1c868af8b155 | [
"MIT"
] | 3 | 2017-11-17T11:48:51.000Z | 2018-04-25T14:39:20.000Z | util/hardwareabstraction.cpp | OpenTactile/ScratchyShow | 475c460a5f7280092afc90e8b53c1c868af8b155 | [
"MIT"
] | null | null | null | util/hardwareabstraction.cpp | OpenTactile/ScratchyShow | 475c460a5f7280092afc90e8b53c1c868af8b155 | [
"MIT"
] | null | null | null | #include "hardwareabstraction.h"
#include "view/view.h"
#include "model/tactiledisplay.h"
#include "model/actuator.h"
#include <itchy/tactilemousequery.h>
#include <scratchy/mousepositionquery.h>
#include <scratchy/graphicaldisplay.h>
#include <scratchy/signalmanager.h>
#include <unistd.h>
#include <mutex>
#include ... | 22.919431 | 81 | 0.594706 | [
"model"
] |
cf772a13357dbb03b046231f77363694a25b613b | 782 | cpp | C++ | src/caffe/layers/activation/dropout_layer.cpp | JEF1056/MetaLearning-Neural-Style | 94ac33cb6a62c4de8ff2aeac3572afd61f1bda5d | [
"MIT"
] | 126 | 2017-09-14T01:53:15.000Z | 2021-03-24T08:57:41.000Z | src/caffe/layers/activation/dropout_layer.cpp | hli1221/styletransfer | 5101f2c024638d3e111644c64398b3290fdeaec6 | [
"BSD-2-Clause"
] | 17 | 2017-09-14T09:11:50.000Z | 2019-11-27T08:56:52.000Z | src/caffe/layers/activation/dropout_layer.cpp | hli1221/styletransfer | 5101f2c024638d3e111644c64398b3290fdeaec6 | [
"BSD-2-Clause"
] | 34 | 2017-09-14T09:14:21.000Z | 2020-12-16T09:49:40.000Z | // TODO (sergeyk): effect should not be dependent on phase. wasted memcpy.
#include <vector>
#include "caffe/layers/activation/dropout_layer.hpp"
#include "caffe/util/math_functions.hpp"
namespace caffe {
void DropoutLayer::LayerSetUp(const vector<Blob*>& bottom, const vector<Blob*>& top)
{
threshold_ = this->l... | 20.578947 | 85 | 0.699488 | [
"vector"
] |
cf77b11e08a62a922ea1569d6346d39afa5be774 | 3,127 | cpp | C++ | src/DiagHN.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | 3 | 2015-09-21T20:58:45.000Z | 2019-03-20T01:21:41.000Z | src/DiagHN.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | null | null | null | src/DiagHN.cpp | lgds/NRG_USP | ff66846e92498aa429cce6fc5793bec23ad03eb4 | [
"MIT"
] | null | null | null |
#include "NRGclasses.hpp"
void CNRGmatrix::DiagHN(vector<double> ParamsHN,
CNRGbasisarray* pAbasis,
CNRGbasisarray* pSingleSite,
CNRGmatrix* MatArray,
CNRGarray* pAeig,bool display)
{
// New (July 08) // display is dummy, can be omitted
ClearAll();
SyncNRGarray(*pAbasis);
int icount=0;
fo... | 25.842975 | 80 | 0.600256 | [
"vector"
] |
cf7c8591ac066e241833cae9cc7010e36bb45782 | 19,934 | cpp | C++ | src/graph/executor/algo/BatchShortestPath.cpp | pengweisong/nebula | 56856e76a80785da0ec96c3a32f9bf6feb02c740 | [
"Apache-2.0"
] | null | null | null | src/graph/executor/algo/BatchShortestPath.cpp | pengweisong/nebula | 56856e76a80785da0ec96c3a32f9bf6feb02c740 | [
"Apache-2.0"
] | null | null | null | src/graph/executor/algo/BatchShortestPath.cpp | pengweisong/nebula | 56856e76a80785da0ec96c3a32f9bf6feb02c740 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2022 vesoft inc. All rights reserved.
//
// This source code is licensed under Apache 2.0 License.
#include "graph/executor/algo/BatchShortestPath.h"
#include <climits>
#include "graph/service/GraphFlags.h"
#include "sys/sysinfo.h"
using nebula::storage::StorageClient;
DECLARE_uint32(num_path_thread... | 36.778598 | 100 | 0.599478 | [
"vector"
] |
cf7d52429b153412c0007f7cf611608ab610bf57 | 11,311 | cpp | C++ | interfaces/matlab/src/funcs.cpp | nzjrs/opencv_old_libdc1394 | b4ed48568cd774e8ec47336d59887261eb8d518c | [
"BSD-3-Clause"
] | 1 | 2016-05-09T04:17:32.000Z | 2016-05-09T04:17:32.000Z | interfaces/matlab/src/funcs.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | null | null | null | interfaces/matlab/src/funcs.cpp | hcl3210/opencv | b34b1c3540716a3dadfd2b9e3bbc4253774c636d | [
"BSD-3-Clause"
] | null | null | null | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 28.708122 | 90 | 0.594377 | [
"vector"
] |
cf7e37991c425fd125a336f6088e021487599ff5 | 12,006 | cpp | C++ | Sandbox/Source/Source.cpp | TheFlyingPandaa/Leaf-Drop | 476a957fc2a958b2f741fb11b49d9e3172246524 | [
"Apache-2.0"
] | 1 | 2019-02-27T06:24:49.000Z | 2019-02-27T06:24:49.000Z | Sandbox/Source/Source.cpp | TheFlyingPandaa/Leaf-Drop | 476a957fc2a958b2f741fb11b49d9e3172246524 | [
"Apache-2.0"
] | null | null | null | Sandbox/Source/Source.cpp | TheFlyingPandaa/Leaf-Drop | 476a957fc2a958b2f741fb11b49d9e3172246524 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <Core.h>
#include "Leaf-Drop/Objects/Lights/DirectionalLight.h"
#include "Leaf-Drop/Objects/Lights/PointLight.h"
#include <algorithm>
#if _DEBUG
//Allocates memory to the console
void _alocConsole() {
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
AllocConsole();
FILE* f... | 27.727483 | 101 | 0.642345 | [
"vector"
] |
cf804fe832790dc25918f77001455228e79b933c | 7,142 | cpp | C++ | HelperFunctions/getVkBufferImageCopyCollection.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getVkBufferImageCopyCollection.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getVkBufferImageCopyCollection.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-2020 Douglas Kaip
*
* 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 t... | 31.60177 | 160 | 0.547606 | [
"object",
"vector"
] |
cf94a89b4a44a23aa2402d9bc12dc051ddb55f58 | 16,290 | cc | C++ | riscos/libs/tbx/tbx/view/listview.cc | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | riscos/libs/tbx/tbx/view/listview.cc | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | riscos/libs/tbx/tbx/view/listview.cc | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | /*
* tbx RISC OS toolbox library
*
* Copyright (C) 2010 Alan Buckley All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including with... | 24.570136 | 90 | 0.647452 | [
"render"
] |
cf99e43ec8863803c7216212a375fd70604b8877 | 1,254 | cc | C++ | jml/boosting/testing/orthogonal_test.cc | etnrlz/rtbkit | 0d9cd9e2ee2d7580a27453ad0a2d815410d87091 | [
"Apache-2.0"
] | 737 | 2015-01-04T01:40:46.000Z | 2022-03-07T10:09:23.000Z | jml/boosting/testing/orthogonal_test.cc | TuanTranEngineer/rtbkit | 502d06acc3f8d90438946b6ae742190f2f4b4fbb | [
"Apache-2.0"
] | 56 | 2015-01-05T16:01:03.000Z | 2020-06-22T19:02:37.000Z | jml/boosting/testing/orthogonal_test.cc | TuanTranEngineer/rtbkit | 502d06acc3f8d90438946b6ae742190f2f4b4fbb | [
"Apache-2.0"
] | 329 | 2015-01-01T06:54:27.000Z | 2022-02-12T22:21:02.000Z | /* orthogonal_test.cc
Jeremy Barnes, 22 March 2006
Copyright (c) Jeremy Barnes, 2006. All rights reserved.
$Source$
Test of the orthogonal array.
*/
#include <iostream>
#include "jml/boosting/config_impl.h"
#include <boost/multi_array.hpp>
#include "jml/stats/distribution.h"
using namespace std;
typed... | 21.254237 | 70 | 0.61244 | [
"shape"
] |
cfa03d0eafa893d23466b20148ff51900b20d2e6 | 1,399 | hh | C++ | src/designstate.hh | bert/arachne-pnr | c40fb2289952f4f120cc10a5a4c82a6fb88442dc | [
"MIT"
] | 299 | 2015-05-27T13:33:37.000Z | 2018-08-21T23:36:24.000Z | src/designstate.hh | bert/arachne-pnr | c40fb2289952f4f120cc10a5a4c82a6fb88442dc | [
"MIT"
] | 81 | 2015-05-31T16:34:33.000Z | 2018-07-24T14:03:35.000Z | src/designstate.hh | bert/arachne-pnr | c40fb2289952f4f120cc10a5a4c82a6fb88442dc | [
"MIT"
] | 69 | 2015-05-28T09:06:06.000Z | 2018-08-20T19:57:26.000Z | /* Copyright (C) 2015 Cotton Seed
This file is part of arachne-pnr. Arachne-pnr is free software;
you can redistribute it and/or modify it under the terms of the GNU
General Public License version 2 as published by the Free Software
Foundation.
This program is distributed in the hope that it wil... | 28.55102 | 74 | 0.731237 | [
"vector",
"model"
] |
cfa6e33fbf3072f017d24c98138edb3f24921733 | 1,616 | cpp | C++ | ACM-ICPC/12791.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | ACM-ICPC/12791.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | ACM-ICPC/12791.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int n, x, y;
vector<pair<int, string> > v;
vector<pair<int, string> > ans;
int main() {
v.push_back({ 1967, "DavidBowie" });
v.push_back({ 1969, "SpaceOddity" });
v.push_back({ 1970, "TheManWhoSoldTheWorld" });
v.push_back({... | 26.933333 | 78 | 0.568688 | [
"vector"
] |
cfa8d397075732eb1198ffe7ef5b62f59667dc70 | 6,123 | cpp | C++ | apps/source_apps/AppList.cpp | Matt99-MK/SEth | 3fb36631bce88755e6e66e5b8425b694ef633eee | [
"MIT"
] | null | null | null | apps/source_apps/AppList.cpp | Matt99-MK/SEth | 3fb36631bce88755e6e66e5b8425b694ef633eee | [
"MIT"
] | null | null | null | apps/source_apps/AppList.cpp | Matt99-MK/SEth | 3fb36631bce88755e6e66e5b8425b694ef633eee | [
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
// Name: AppList.cpp
// Author: Mateusz Kosmala <mateuszkosmala1@gmail.com>
// Created: 2012-03-03
// Copyright: (c) 2020 by Mateusz Kosmala
// Licence: wxWindows licence
/////////////////////////////////////////////////... | 30.311881 | 168 | 0.73526 | [
"model"
] |
bbbca34b0f543cbb77222bbfe6cc89d33fc89bed | 49,963 | cpp | C++ | src/evaluate.cpp | moterink/Delocto | e421871de34f9a6d461e7e429e732a4d971a4ce1 | [
"MIT"
] | 13 | 2018-02-04T21:04:04.000Z | 2022-03-10T08:03:44.000Z | src/evaluate.cpp | moterink/Delocto | e421871de34f9a6d461e7e429e732a4d971a4ce1 | [
"MIT"
] | 3 | 2021-01-26T18:13:05.000Z | 2022-01-15T09:27:55.000Z | src/evaluate.cpp | moterink/Delocto | e421871de34f9a6d461e7e429e732a4d971a4ce1 | [
"MIT"
] | null | null | null | /*
Delocto Chess Engine
Copyright (c) 2018-2021 Moritz Terink
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... | 42.485544 | 311 | 0.601045 | [
"object",
"transform"
] |
bbbeaf2ec64092f6c75cd76bdbbe0277a21c4976 | 642 | hpp | C++ | Xcode/PathTracer/HittableVector.hpp | saldavonschwartz/pathTracer | b5a0cfcd6a55c2368be134baaaa6df214838f78e | [
"MIT"
] | null | null | null | Xcode/PathTracer/HittableVector.hpp | saldavonschwartz/pathTracer | b5a0cfcd6a55c2368be134baaaa6df214838f78e | [
"MIT"
] | null | null | null | Xcode/PathTracer/HittableVector.hpp | saldavonschwartz/pathTracer | b5a0cfcd6a55c2368be134baaaa6df214838f78e | [
"MIT"
] | null | null | null | //
// HittableVector.hpp
// PathTracer
//
// Created by Federico Saldarini on 4/16/20.
// Copyright © 2020 Federico Saldarini. All rights reserved.
//
#ifndef HittableVector_hpp
#define HittableVector_hpp
#include "Hittable.hpp"
#include <vector>
#include <memory>
using std::vector;
using std::shared_ptr;
clas... | 20.709677 | 81 | 0.735202 | [
"vector"
] |
bbbfcd0ae9699240cbc1602ee2eac681d8775ccc | 27,768 | cpp | C++ | src/BehaviorPlanner.cpp | gddavis21/CarND-Path-Planning | f7871afae85c03baf6cec206068119cedc6b54b0 | [
"MIT"
] | null | null | null | src/BehaviorPlanner.cpp | gddavis21/CarND-Path-Planning | f7871afae85c03baf6cec206068119cedc6b54b0 | [
"MIT"
] | null | null | null | src/BehaviorPlanner.cpp | gddavis21/CarND-Path-Planning | f7871afae85c03baf6cec206068119cedc6b54b0 | [
"MIT"
] | null | null | null | #include "BehaviorPlanner.h"
#include <limits>
#include <algorithm>
#include <iostream>
using namespace std;
const static double timeStep = 1.5; // sec
//static const size_t ID_EGO = numeric_limits<size_t>::max();
BehaviorPlanner::BehaviorPlanner(
const DrivingParameters &drivingParams,
const HighwayParamet... | 33.415162 | 126 | 0.652766 | [
"vector"
] |
bbc30d49f60cfea00a85a8813c65c5bb12186d1a | 659 | cpp | C++ | Sid's Contests/LeetCode contests/Weekly Contest 254/Array With Elements Not Equal to Average of Neighbors.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 14 | 2021-08-22T18:21:14.000Z | 2022-03-08T12:04:23.000Z | Sid's Contests/LeetCode contests/Weekly Contest 254/Array With Elements Not Equal to Average of Neighbors.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 1 | 2021-10-17T18:47:17.000Z | 2021-10-17T18:47:17.000Z | Sid's Contests/LeetCode contests/Weekly Contest 254/Array With Elements Not Equal to Average of Neighbors.cpp | Tiger-Team-01/DSA-A-Z-Practice | e08284ffdb1409c08158dd4e90dc75dc3a3c5b18 | [
"MIT"
] | 5 | 2021-09-01T08:21:12.000Z | 2022-03-09T12:13:39.000Z | class Solution {
public:
//OM GAN GANAPATHAYE NAMO NAMAH
//JAI SHRI RAM
//JAI BAJRANGBALI
//AMME NARAYANA, DEVI NARAYANA, LAKSHMI NARAYANA, BHADRE NARAYANA
vector<int> rearrangeArray(vector<int>& nums) {
sort(nums.begin(), nums.end());
int ind = 0, n = nums.size();
vector<... | 23.535714 | 69 | 0.424886 | [
"vector"
] |
bbd3f9b11fb2551c18f4cdcff0bf96028343fb28 | 19,487 | cpp | C++ | src/ising/solver.cpp | dkitch/maxsat-ising | ef6fe68f73e23b6d5729786a77aa468c4250f9b8 | [
"MIT"
] | 13 | 2016-10-27T22:56:45.000Z | 2022-03-06T12:48:02.000Z | src/ising/solver.cpp | dkitch/maxsat-ising | ef6fe68f73e23b6d5729786a77aa468c4250f9b8 | [
"MIT"
] | null | null | null | src/ising/solver.cpp | dkitch/maxsat-ising | ef6fe68f73e23b6d5729786a77aa468c4250f9b8 | [
"MIT"
] | 2 | 2016-10-23T15:13:44.000Z | 2021-08-30T11:51:33.000Z | #include "solver.h"
using namespace std;
using namespace ::boost::tuples;
using namespace ::boost;
void run_solver(int max_sites,
map< set< tuple<int,int,int,int,int> >, double> &J,
map< set< tuple<int,int,int,int,int> >, double> &lowerboundclustertype,
map< set< tuple<... | 43.400891 | 137 | 0.445169 | [
"3d"
] |
bbd6e5692c9fd3f874c14fb7b623006c1e90114c | 1,791 | cpp | C++ | iterative/Juez07/Source.cpp | albertopastormr/algorithms_eda | ecbd815dbbafb1e69ca74bd92cd94be0d7d9857d | [
"MIT"
] | null | null | null | iterative/Juez07/Source.cpp | albertopastormr/algorithms_eda | ecbd815dbbafb1e69ca74bd92cd94be0d7d9857d | [
"MIT"
] | null | null | null | iterative/Juez07/Source.cpp | albertopastormr/algorithms_eda | ecbd815dbbafb1e69ca74bd92cd94be0d7d9857d | [
"MIT"
] | 1 | 2018-11-02T13:52:28.000Z | 2018-11-02T13:52:28.000Z | // Alberto Pastor Moreno
// E46
// Coste Lineal
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <string>
/*
method seqBlancos( v: array<string>) returns( ini : int, fin : int)
requires v != null && v.Length > 0
ensures sum(v[ini..fin+1]) == sumMaxima(v[..])
*/
struct tIntervalo
{... | 20.123596 | 92 | 0.621999 | [
"vector"
] |
bbd8352152c5626e0161e1afcd064639fea67ecd | 195 | cpp | C++ | c++/TC/SRM/570/Div2/500.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/TC/SRM/570/Div2/500.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null | c++/TC/SRM/570/Div2/500.cpp | taku-xhift/labo | 89dc28fdb602c7992c6f31920714225f83a11218 | [
"MIT"
] | null | null | null |
#include <array>
#include <iostream>
#include <vector>
#include <string>
#include <sstream>
class {
static
static void test() {
}
};
int main() {
}
| 7.222222 | 22 | 0.507692 | [
"vector"
] |
bbdc6f3ffd83159ad98c5c730c4fa8f4d45a5da9 | 2,962 | cpp | C++ | tests/DataTests.cpp | hnord-vdx/wallet-core | 21b3db0240622234d05854263b9e125c1001e870 | [
"MIT"
] | 263 | 2019-02-14T22:45:57.000Z | 2019-08-07T14:47:58.000Z | tests/DataTests.cpp | hnord-vdx/wallet-core | 21b3db0240622234d05854263b9e125c1001e870 | [
"MIT"
] | 414 | 2019-02-16T21:19:32.000Z | 2019-08-07T19:09:45.000Z | tests/DataTests.cpp | hnord-vdx/wallet-core | 21b3db0240622234d05854263b9e125c1001e870 | [
"MIT"
] | 172 | 2019-02-18T03:36:55.000Z | 2019-08-07T08:48:05.000Z | // Copyright © 2017-2022 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "Data.h"
#include "HexCoding.h"
#include <gtest/g... | 30.536082 | 80 | 0.662728 | [
"vector"
] |
bbf0318c4634f84c5bcdbe457f970fec229d4c04 | 3,028 | cpp | C++ | src/gripper/serial/fiveFingerSerialGripper.cpp | HSRobot/hiropV3 | 3f094035229708302aec976cfb252f7bcdb7cd3f | [
"BSD-3-Clause"
] | null | null | null | src/gripper/serial/fiveFingerSerialGripper.cpp | HSRobot/hiropV3 | 3f094035229708302aec976cfb252f7bcdb7cd3f | [
"BSD-3-Clause"
] | null | null | null | src/gripper/serial/fiveFingerSerialGripper.cpp | HSRobot/hiropV3 | 3f094035229708302aec976cfb252f7bcdb7cd3f | [
"BSD-3-Clause"
] | null | null | null | #include "fiveFingerSerialGripper.h"
fiveFingerSerialGripper::fiveFingerSerialGripper(){}
int fiveFingerSerialGripper::getForceVal(std::vector<int> &data)
{
unsigned char buffer[] = ARRAY_READ_FORCE_FIVEFINGER_GRIPPER;
int size_buffer = ARRAY_SIZE(buffer);
buffer[size_buffer-1] = getCheckNum(buffer,size... | 24.617886 | 81 | 0.593131 | [
"vector"
] |
bbf310adaa77b65e3b044e5a53acdf1118f81a83 | 7,586 | cc | C++ | test/gtest/ucp/ucp_test.cc | abouteiller/ucx | f4196de7b4be0a78412d548a025d46ec3163767a | [
"BSD-3-Clause"
] | null | null | null | test/gtest/ucp/ucp_test.cc | abouteiller/ucx | f4196de7b4be0a78412d548a025d46ec3163767a | [
"BSD-3-Clause"
] | null | null | null | test/gtest/ucp/ucp_test.cc | abouteiller/ucx | f4196de7b4be0a78412d548a025d46ec3163767a | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (C) Mellanox Technologies Ltd. 2001-2014. ALL RIGHTS RESERVED.
* See file LICENSE for terms.
*/
#include "ucp_test.h"
#include <common/test_helpers.h>
extern "C" {
#include <ucs/arch/atomic.h>
}
std::string ucp_test::m_last_err_msg;
std::ostream& operator<<(std::ostream& os, const ucp_test_param& ... | 26.432056 | 91 | 0.621803 | [
"vector"
] |
bbfc53002a0fa51a1ddd813e09ec65529f112de7 | 5,918 | cpp | C++ | src/GaussianChannelFeatures.cpp | bobetocalo/bobetocalo_eccv18 | c82c13598836200f9deff751b89ab14345de69ab | [
"BSD-2-Clause"
] | 78 | 2018-10-10T12:20:48.000Z | 2021-09-16T16:33:58.000Z | src/GaussianChannelFeatures.cpp | bobetocalo/bobetocalo_eccv18 | c82c13598836200f9deff751b89ab14345de69ab | [
"BSD-2-Clause"
] | 4 | 2018-11-09T07:06:28.000Z | 2020-04-03T19:24:07.000Z | src/GaussianChannelFeatures.cpp | bobetocalo/bobetocalo_eccv18 | c82c13598836200f9deff751b89ab14345de69ab | [
"BSD-2-Clause"
] | 18 | 2018-10-25T10:51:52.000Z | 2021-06-01T12:35:44.000Z | /** ****************************************************************************
* @file GaussianChannelFeatures.cpp
* @brief Face detection and recognition framework
* @author Roberto Valle Fernandez
* @date 2015/06
* @copyright All rights reserved.
* Software developed by UPM PCR Group: http://ww... | 36.530864 | 133 | 0.561 | [
"shape",
"vector"
] |
010b2762b679a6da06810a431a79463e9128751d | 73,447 | cxx | C++ | printscan/ui/printui/traynot.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | printscan/ui/printui/traynot.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | printscan/ui/printui/traynot.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (C) Microsoft Corporation, 1995 - 1999
All rights reserved.
Module Name:
traynot.cxx
Abstract:
tray notifications and balloon help
Author:
Lazar Ivanov (LazarI) 25-Apr-2000
Revision History:
--*/
#include "precomp.hxx"
#pragma hdrstop
#include "prids.h"
#i... | 35.008103 | 148 | 0.530083 | [
"object"
] |
011d62716e19f86f0f23ee9e35e90a21b4b8ee48 | 3,662 | hpp | C++ | include/SystemManager/SystemManager.hpp | cristianglezm/AntFarm | df7551621ad6eda6dae43a2ede56222500be1ae1 | [
"Apache-2.0"
] | null | null | null | include/SystemManager/SystemManager.hpp | cristianglezm/AntFarm | df7551621ad6eda6dae43a2ede56222500be1ae1 | [
"Apache-2.0"
] | 1 | 2016-03-13T10:55:21.000Z | 2016-03-13T10:55:21.000Z | include/SystemManager/SystemManager.hpp | cristianglezm/AntFarm | df7551621ad6eda6dae43a2ede56222500be1ae1 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////
// Copyright 2014 Cristian Glez <Cristian.glez.m@gmail.com>
//
// 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... | 39.376344 | 109 | 0.57018 | [
"render"
] |
0123f8411324d2e796a9b2ee3bf1e3508ec19f24 | 9,783 | cpp | C++ | VSDataReduction/VSNSpaceCutsCalc.cpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | 1 | 2018-04-17T14:03:36.000Z | 2018-04-17T14:03:36.000Z | VSDataReduction/VSNSpaceCutsCalc.cpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | VSDataReduction/VSNSpaceCutsCalc.cpp | sfegan/ChiLA | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | [
"BSD-3-Clause"
] | null | null | null | //-*-mode:c++; mode:font-lock;-*-
/*! \file VSNSpaceCutsCalc.cpp
Calculate whether event is in the array and scope filter volume
\author Stephen Fegan \n
UCLA \n
sfegan@astro.ucla.edu \n
\version 1.0
\date 05/09/2007
$Id:... | 28.438953 | 79 | 0.676071 | [
"vector"
] |
012ee24f38b5dc62371986cab78ac4bf2be279cf | 14,409 | cxx | C++ | main/sc/source/filter/excel/xlroot.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sc/source/filter/excel/xlroot.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sc/source/filter/excel/xlroot.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 33.983491 | 145 | 0.677146 | [
"object",
"vector"
] |
013a511f7c547a7bae7458790a4868990f50bc27 | 12,612 | hpp | C++ | include/Org/BouncyCastle/Math/EC/FpFieldElement.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Math/EC/FpFieldElement.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Org/BouncyCastle/Math/EC/FpFieldElement.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: Org.BouncyCastle.Math.EC.AbstractFpFieldElement
#include "Org/BouncyCa... | 70.853933 | 226 | 0.740327 | [
"object"
] |
013a93fb8a2d13547ee5ee372d5e33e65e57489d | 42,581 | cc | C++ | tests/unit/io/Serialization_unittest.cc | srgnuclear/shogun | 33c04f77a642416376521b0cd1eed29b3256ac13 | [
"Ruby",
"MIT"
] | 1 | 2015-11-05T18:31:14.000Z | 2015-11-05T18:31:14.000Z | tests/unit/io/Serialization_unittest.cc | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | tests/unit/io/Serialization_unittest.cc | waderly/shogun | 9288b6fa38e001d63c32188f7f847dadea66e2ae | [
"Ruby",
"MIT"
] | null | null | null | /*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2013 Soumyajit De
*/
#include <shogun/lib/com... | 24.401719 | 81 | 0.7222 | [
"vector"
] |
01474a262a821c6020773b968ba9e25efca7013f | 1,534 | cpp | C++ | src/cegis/jsa/preprocessing/default_jsa_constant_strategy.cpp | lihaol/cbmc | ea3a21fb0a4e9775736cac4abf2bedfd410c7885 | [
"BSD-4-Clause"
] | 1 | 2021-08-17T08:41:12.000Z | 2021-08-17T08:41:12.000Z | src/cegis/jsa/preprocessing/default_jsa_constant_strategy.cpp | lihaol/cbmc | ea3a21fb0a4e9775736cac4abf2bedfd410c7885 | [
"BSD-4-Clause"
] | null | null | null | src/cegis/jsa/preprocessing/default_jsa_constant_strategy.cpp | lihaol/cbmc | ea3a21fb0a4e9775736cac4abf2bedfd410c7885 | [
"BSD-4-Clause"
] | null | null | null | /*******************************************************************\
Module: Counterexample-Guided Inductive Synthesis
Author: Daniel Kroening, kroening@kroening.com
Pascal Kesseli, pascal.kesseli@cs.ox.ac.uk
\*******************************************************************/
#include <util/arith_tools.h... | 31.958333 | 79 | 0.699478 | [
"vector"
] |
014b5d10adcb645d379b7eddf0146e24a47714b5 | 2,908 | cpp | C++ | src/glParticleRenderer.cpp | IcedLeon/Introduction-to-3D-with-OpenGL | 7e0edcb768d2e2b4b19cb5015a73335c60cd8f60 | [
"MIT"
] | null | null | null | src/glParticleRenderer.cpp | IcedLeon/Introduction-to-3D-with-OpenGL | 7e0edcb768d2e2b4b19cb5015a73335c60cd8f60 | [
"MIT"
] | null | null | null | src/glParticleRenderer.cpp | IcedLeon/Introduction-to-3D-with-OpenGL | 7e0edcb768d2e2b4b19cb5015a73335c60cd8f60 | [
"MIT"
] | null | null | null | #include "glParticleRenderer.h"
#include "ParticleSystem.h"
#include "gl_core_4_4.h"
#include <assert.h>
void GLParticleRenderer::Generate(ParticleSystem* a_oSys, bool a_bUseQuads)
{
assert(a_oSys != nullptr);
m_oSystem = a_oSys;
const size_t count = a_oSys->AllTheParticles();
glGenVertexArrays(1, &m_uiVAO);
g... | 27.17757 | 99 | 0.717675 | [
"render"
] |
0154d72ef160085b4148bc21704cc8596c43fbcd | 15,722 | cc | C++ | src/bringup/bin/console-launcher/main.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | 5 | 2022-01-10T20:22:17.000Z | 2022-01-21T20:14:17.000Z | src/bringup/bin/console-launcher/main.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-Clause"
] | null | null | null | src/bringup/bin/console-launcher/main.cc | fabio-d/fuchsia-stardock | e57f5d1cf015fe2294fc2a5aea704842294318d2 | [
"BSD-2-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 <fidl/fuchsia.boot/cpp/wire.h>
#include <fidl/fuchsia.hardware.virtioconsole/cpp/wire.h>
#include <fidl/fuchsia.io/cpp/wire.h>
#include <fidl/fuch... | 38.819753 | 100 | 0.613026 | [
"vector"
] |
015eab2ac6b798da3ba93b93d25ce76e1cf6152e | 54,574 | cpp | C++ | D-Squared-Engine/source/Test.Library.Shared/VectorTest.cpp | stropheum/D_Square_Engine | 4e607f7cd6f5e7ffd9dc5207dc2b29ad6c4fa5b1 | [
"MIT"
] | null | null | null | D-Squared-Engine/source/Test.Library.Shared/VectorTest.cpp | stropheum/D_Square_Engine | 4e607f7cd6f5e7ffd9dc5207dc2b29ad6c4fa5b1 | [
"MIT"
] | null | null | null | D-Squared-Engine/source/Test.Library.Shared/VectorTest.cpp | stropheum/D_Square_Engine | 4e607f7cd6f5e7ffd9dc5207dc2b29ad6c4fa5b1 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "CppUnitTest.h"
#include "LeakDetector.h"
#include <Vector.h>
#include "Foo.h"
#include "implementation.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace TestLibraryDesktop
{
TEST_CLASS(VectorTest)
{
public:
Library::Vector<int> intor;
... | 36.899256 | 106 | 0.535823 | [
"vector"
] |
6c675a690bf74dacd0ec943c5110a3aa98d6386c | 3,151 | cpp | C++ | examples/scalapack2scalapack.cpp | aldubois/grid2grid | 99ef5af129cc3b55006acdf3eb64fe942f4f12de | [
"BSD-3-Clause"
] | 1 | 2019-05-10T08:49:02.000Z | 2019-05-10T08:49:02.000Z | examples/scalapack2scalapack.cpp | aldubois/grid2grid | 99ef5af129cc3b55006acdf3eb64fe942f4f12de | [
"BSD-3-Clause"
] | 6 | 2019-08-22T15:03:00.000Z | 2021-01-11T09:45:33.000Z | examples/scalapack2scalapack.cpp | aldubois/grid2grid | 99ef5af129cc3b55006acdf3eb64fe942f4f12de | [
"BSD-3-Clause"
] | 2 | 2020-05-15T22:52:31.000Z | 2020-09-11T17:12:54.000Z | #include <grid2grid/transform.hpp>
#include <grid2grid/cantor_mapping.hpp>
#include <mpi.h>
#include <options.hpp>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace grid2grid;
int main( int argc, char **argv ) {
options::initialize(argc, argv);
MPI_Init(&argc, &... | 36.218391 | 101 | 0.633767 | [
"vector",
"transform"
] |
6c6a8627f3347816c67efbd7323aa83bdc9f81dd | 874 | cpp | C++ | lava/framework/core/options/shadermoduleoptions.cpp | BalderOdinson/LavaVk | f3241e1077bbfc8bbf14267d35e9c72272fceefa | [
"MIT"
] | null | null | null | lava/framework/core/options/shadermoduleoptions.cpp | BalderOdinson/LavaVk | f3241e1077bbfc8bbf14267d35e9c72272fceefa | [
"MIT"
] | null | null | null | lava/framework/core/options/shadermoduleoptions.cpp | BalderOdinson/LavaVk | f3241e1077bbfc8bbf14267d35e9c72272fceefa | [
"MIT"
] | null | null | null | //
// Created by dorian on 11. 12. 2019..
//
#include "shadermoduleoptions.h"
#include "lava/framework/gl_includer.h"
#include <utility>
LavaVk::Core::ShaderModuleOptions::ShaderModuleOptions(std::string filename, vk::ShaderStageFlagBits stage,
std::vector<Shader... | 31.214286 | 117 | 0.675057 | [
"vector"
] |
6c72b32e3ed6a0cca1de3c6461af7defc46ccdc3 | 22,107 | cpp | C++ | src/qt/qtwebkit/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp | viewdy/phantomjs | eddb0db1d253fd0c546060a4555554c8ee08c13c | [
"BSD-3-Clause"
] | 1 | 2015-05-27T13:52:20.000Z | 2015-05-27T13:52:20.000Z | src/qt/qtwebkit/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | null | null | null | src/qt/qtwebkit/Source/WebKit2/WebProcess/WebPage/WebFrame.cpp | mrampersad/phantomjs | dca6f77a36699eb4e1c46f7600cca618f01b0ac3 | [
"BSD-3-Clause"
] | 1 | 2022-02-18T10:41:38.000Z | 2022-02-18T10:41:38.000Z | /*
* Copyright (C) 2010 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 28.090216 | 229 | 0.701316 | [
"vector"
] |
6c737cc83e3ee37cbbd69d148fa17e008fbd5bf2 | 31,439 | hh | C++ | src/usr.bin/dtc/fdt.hh | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/usr.bin/dtc/fdt.hh | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/usr.bin/dtc/fdt.hh | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 David Chisnall
* All rights reserved.
*
* This software was developed by SRI International and the University of
* Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
* ("CTSRD"), as part of the DARPA CRASH researc... | 29.409729 | 97 | 0.691275 | [
"vector"
] |
6c7426518723f8549322f6a34041411762b90b88 | 2,261 | cxx | C++ | PreemptiveSJF.cxx | scr1pti3/Algorithm | 2a350096cba8447fb9439fb54f79461b084be58f | [
"MIT"
] | null | null | null | PreemptiveSJF.cxx | scr1pti3/Algorithm | 2a350096cba8447fb9439fb54f79461b084be58f | [
"MIT"
] | null | null | null | PreemptiveSJF.cxx | scr1pti3/Algorithm | 2a350096cba8447fb9439fb54f79461b084be58f | [
"MIT"
] | null | null | null | #include "Process.cxx"
#include "tool.cxx"
#include <iostream>
#include <memory_resource>
#include <queue>
#include <vector>
float Process::get_wait_time() const {
return stop_time - execution_time - arrival_time;
}
int main() {
// Psuedo Processes
Process P1{"A", 12.0f, 0.0f};
Process P2{"B", 4.0f, 3.0f};
... | 27.240964 | 79 | 0.650597 | [
"vector"
] |
6c758c31093b2d62dfad4eba08a9cd7ccc5a6499 | 2,903 | hpp | C++ | src/fwdmodel/gravmag.hpp | divad-nhok/obsidian_fork | e5bee2b706f78249564f06c88a18be086b17c895 | [
"MIT"
] | 7 | 2015-01-04T13:50:24.000Z | 2022-01-22T01:03:57.000Z | src/fwdmodel/gravmag.hpp | divad-nhok/obsidian_fork | e5bee2b706f78249564f06c88a18be086b17c895 | [
"MIT"
] | 1 | 2018-08-16T00:46:58.000Z | 2018-08-16T00:46:58.000Z | src/fwdmodel/gravmag.hpp | divad-nhok/obsidian_fork | e5bee2b706f78249564f06c88a18be086b17c895 | [
"MIT"
] | 9 | 2016-08-31T05:42:00.000Z | 2022-01-21T21:37:47.000Z | //!
//! Contains common interface used by both gravity and magnetic forward models.
//!
//! \file fwdmodel/gravmag.hpp
//! \author Darren Shen
//! \author Alistair Reid
//! \date 2014
//! \license Affero General Public License version 3 or later
//! \copyright (c) 2014, NICTA
//!
#pragma once
#include <Eigen/Dense>
#... | 38.197368 | 140 | 0.633827 | [
"mesh",
"object"
] |
6c77f5f3dd59d97d26325d84f228b9eaf23eb67e | 2,972 | cpp | C++ | tests/sandbox/SandboxApp.cpp | ChepChaf/TwoDE | f1dddc6522dd60b47c905c1441eb033de79f8a8d | [
"MIT"
] | null | null | null | tests/sandbox/SandboxApp.cpp | ChepChaf/TwoDE | f1dddc6522dd60b47c905c1441eb033de79f8a8d | [
"MIT"
] | null | null | null | tests/sandbox/SandboxApp.cpp | ChepChaf/TwoDE | f1dddc6522dd60b47c905c1441eb033de79f8a8d | [
"MIT"
] | null | null | null | #include "SandboxApp.h"
#include <iostream>
void SandboxApp::start()
{
TWODE_INFO("Hello from SandboxApp");
player = TwoDE::Locator::getLocator().getSceneManagerSystem().CreateEntity();
renderer->drawSprite(player, TwoDE::Sprite("resources/sprites/Character01.png"), TwoDE::Vector3{ 0.0f, 0.0f, 1.0f })... | 30.958333 | 126 | 0.646703 | [
"transform"
] |
6c78f406b2ea2f8505461d0d88f07aa628c252e5 | 896 | hpp | C++ | TestFreeLicense/Renderer/RenderRoutine.hpp | darktemplar216/PhysicsTest_Chapter2 | ca1a6ed2b9b4e8f6e7bbc76225c3b7e2c2732680 | [
"Apache-2.0"
] | 4 | 2020-07-22T06:58:20.000Z | 2021-12-09T13:49:10.000Z | TestFreeLicense/Renderer/RenderRoutine.hpp | darktemplar216/PhysicsTest_Chapter2 | ca1a6ed2b9b4e8f6e7bbc76225c3b7e2c2732680 | [
"Apache-2.0"
] | null | null | null | TestFreeLicense/Renderer/RenderRoutine.hpp | darktemplar216/PhysicsTest_Chapter2 | ca1a6ed2b9b4e8f6e7bbc76225c3b7e2c2732680 | [
"Apache-2.0"
] | 3 | 2019-11-03T19:03:41.000Z | 2020-12-02T07:08:00.000Z | //
// RenderRoutine.hpp
// PhysicsTest
//
// Created by TaoweisMac on 2017/5/29.
// Copyright © 2017年 TaoweisMac. All rights reserved.
//
#ifndef RenderRoutine_hpp
#define RenderRoutine_hpp
#include <stdio.h>
#include "GMath.h"
class ShaderProgram;
class SceneMgr;
class RenderRoutine
{
friend class SceneMgr... | 15.186441 | 54 | 0.646205 | [
"render"
] |
6c7aa181c246fee577d6d6ca6d102154a303fcf7 | 3,909 | cc | C++ | src/pass/unroll_nonconstant_extent.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 286 | 2020-06-23T06:40:44.000Z | 2022-03-30T01:27:49.000Z | src/pass/unroll_nonconstant_extent.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 10 | 2020-07-31T03:26:59.000Z | 2021-12-27T15:00:54.000Z | src/pass/unroll_nonconstant_extent.cc | KnowingNothing/akg-test | 114d8626b824b9a31af50a482afc07ab7121862b | [
"Apache-2.0"
] | 30 | 2020-07-17T01:04:14.000Z | 2021-12-27T14:05:19.000Z | /**
* Copyright 2019-2021 Huawei Technologies 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 applicabl... | 26.412162 | 110 | 0.640061 | [
"vector"
] |
6c7ae601adf0febe1fbf95e157f46e684c20f54c | 1,693 | cpp | C++ | components/xtl/tests/tr1/smart_ptr/mt-tests/weak_ptr_mt.cpp | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/xtl/tests/tr1/smart_ptr/mt-tests/weak_ptr_mt.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/xtl/tests/tr1/smart_ptr/mt-tests/weak_ptr_mt.cpp | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #include "shared.h"
int const n = 16384;
int const k = 512; // vector size
int const m = 16; // threads
void test( stl::vector< xtl::shared_ptr<int> > & v )
{
using namespace std; // printf, rand
stl::vector< xtl::weak_ptr<int> > w( v.begin(), v.end() );
int s = 0, f = 0, r = 0;
for( int i = 0; i <... | 19.917647 | 100 | 0.431187 | [
"vector"
] |
6c7f73e3e62344e66390bf54491b0a9d00be6f64 | 10,087 | cpp | C++ | src/cc/Books/CormenIntroductionToAlgorithms/Graph-test.cpp | nuggetwheat/study | 1e438a995c3c6ce783af9ae6a537c349afeedbb8 | [
"MIT"
] | null | null | null | src/cc/Books/CormenIntroductionToAlgorithms/Graph-test.cpp | nuggetwheat/study | 1e438a995c3c6ce783af9ae6a537c349afeedbb8 | [
"MIT"
] | null | null | null | src/cc/Books/CormenIntroductionToAlgorithms/Graph-test.cpp | nuggetwheat/study | 1e438a995c3c6ce783af9ae6a537c349afeedbb8 | [
"MIT"
] | null | null | null |
#include <algorithm>
#include <cassert>
#include <functional>
#include <iostream>
#include <iterator>
#include <limits>
#include <list>
#include <random>
#include <sstream>
#include <vector>
#include "Graph.hpp"
using namespace std;
namespace {
// BFS
const initializer_list<char> test_bfs_nodes {
'r', 's', ... | 30.38253 | 127 | 0.490037 | [
"vector"
] |
6c81d51615651742504f594936fb847da8592d8f | 20,795 | cpp | C++ | Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/Streamer.cpp | denfrost/UE5MainStreaming | b16e03a9bf01987d390f066f500bcff4b75ea790 | [
"MIT"
] | 2 | 2021-11-26T13:33:32.000Z | 2021-12-31T08:52:21.000Z | Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/Streamer.cpp | denfrost/UE5MainStreaming | b16e03a9bf01987d390f066f500bcff4b75ea790 | [
"MIT"
] | null | null | null | Engine/Plugins/Media/PixelStreaming/Source/PixelStreaming/Private/Streamer.cpp | denfrost/UE5MainStreaming | b16e03a9bf01987d390f066f500bcff4b75ea790 | [
"MIT"
] | 1 | 2021-10-11T10:05:52.000Z | 2021-10-11T10:05:52.000Z | // Copyright Epic Games, Inc. All Rights Reserved.
#include "Streamer.h"
#include "AudioCapturer.h"
#include "VideoCapturer.h"
#include "PlayerSession.h"
#include "VideoEncoderFactory.h"
#include "PixelStreamerDelegates.h"
#include "PixelStreamingEncoderFactory.h"
#include "PixelStreamingSettings.h"
#include "WebRTCLo... | 36.610915 | 160 | 0.788651 | [
"render",
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.