hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 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 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 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 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ac967366949dbe3f638032dfce127f62cf8ad06 | 4,138 | cpp | C++ | src/condor_gridmanager/boinc-client.cpp | sridish123/htcondor | 481d975fd8602242f6a052aab04e20b0b560db89 | [
"Apache-2.0"
] | 217 | 2015-01-08T04:49:42.000Z | 2022-03-27T10:11:58.000Z | src/condor_gridmanager/boinc-client.cpp | sridish123/htcondor | 481d975fd8602242f6a052aab04e20b0b560db89 | [
"Apache-2.0"
] | 185 | 2015-05-03T13:26:31.000Z | 2022-03-28T03:08:59.000Z | src/condor_gridmanager/boinc-client.cpp | sridish123/htcondor | 481d975fd8602242f6a052aab04e20b0b560db89 | [
"Apache-2.0"
] | 133 | 2015-02-11T09:17:45.000Z | 2022-03-31T07:28:54.000Z | #include "condor_common.h"
#include "condor_debug.h"
#include "condor_config.h"
#include "gahp_common.h"
#include "boincjob.h"
#include "gahp-client.h"
using std::set;
using std::vector;
using std::pair;
using std::string;
int GahpClient::boinc_submit( const char *batch_name,
const std::set<BoincJob *> &jo... | 29.557143 | 87 | 0.589899 | sridish123 |
7acd61a3f6537f24b796f183aa72bb1775340c01 | 4,101 | cpp | C++ | src/camera_model_filter/CameraModelFilter.cpp | Tobi2001/asr_next_best_view | 7dace46b903d15e218a39f994802288103818f48 | [
"BSD-3-Clause"
] | 9 | 2019-12-10T07:39:07.000Z | 2022-03-25T11:40:02.000Z | src/camera_model_filter/CameraModelFilter.cpp | Tobi2001/asr_next_best_view | 7dace46b903d15e218a39f994802288103818f48 | [
"BSD-3-Clause"
] | null | null | null | src/camera_model_filter/CameraModelFilter.cpp | Tobi2001/asr_next_best_view | 7dace46b903d15e218a39f994802288103818f48 | [
"BSD-3-Clause"
] | 2 | 2020-01-13T17:41:33.000Z | 2022-03-25T11:40:04.000Z | /**
Copyright (c) 2016, Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided th... | 39.057143 | 755 | 0.787369 | Tobi2001 |
7acd9e946c6ca74c7a80aca9542ff51c5e30f033 | 2,706 | cpp | C++ | examples/SplineDev.cpp | bmharper/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | 7 | 2015-12-18T04:17:29.000Z | 2020-03-13T15:38:54.000Z | examples/SplineDev.cpp | benharper123/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | null | null | null | examples/SplineDev.cpp | benharper123/xo | 575429591c166cc70db60385d2a6563d0f9bc9ed | [
"Unlicense"
] | 4 | 2016-09-18T13:16:02.000Z | 2022-03-23T11:33:53.000Z | #include "../xo/xo.h"
#include <omp.h>
// This was used when developing the spline rendering code
void Render(xo::Canvas2D* canvas, int cx, int cy, float scale);
void xoMain(xo::SysWnd* wnd)
{
int left = 550;
int width = 1000;
int top = 60;
int height = 1000;
wnd->SetPosition(xo::Box(left, top, left + width, t... | 29.736264 | 127 | 0.608647 | bmharper |
7ad071cb5777505968fc4620b5d2ebad0926b154 | 464 | cpp | C++ | 08. classes-and-objects/homework/02. distance.cpp | ihristova11/cpp-fundamentals | a72a0fb9e302921760a81f0a3436039b34b0981f | [
"MIT"
] | null | null | null | 08. classes-and-objects/homework/02. distance.cpp | ihristova11/cpp-fundamentals | a72a0fb9e302921760a81f0a3436039b34b0981f | [
"MIT"
] | null | null | null | 08. classes-and-objects/homework/02. distance.cpp | ihristova11/cpp-fundamentals | a72a0fb9e302921760a81f0a3436039b34b0981f | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
struct Point
{
Point(double xp, double yp)
{
x = xp;
y = yp;
}
public:
double x;
double y;
double distanceToPoint(Point a)
{
return sqrt(pow(abs(a.x - this->x), 2.0) + (pow(abs(a.y - this->y), 2.0)));
}
};
int main()
{
int... | 12.540541 | 77 | 0.575431 | ihristova11 |
7ad0bcc40231933ba0dafb97efda25266b4355df | 6,377 | cpp | C++ | c++/floor_fHf/solver_floor_fHf.cpp | marcusvaltonen/minimal_indoor_uav | 79f3a26f2a6c10ee74a9fb70c5f3b42e4cf105ca | [
"MIT"
] | null | null | null | c++/floor_fHf/solver_floor_fHf.cpp | marcusvaltonen/minimal_indoor_uav | 79f3a26f2a6c10ee74a9fb70c5f3b42e4cf105ca | [
"MIT"
] | null | null | null | c++/floor_fHf/solver_floor_fHf.cpp | marcusvaltonen/minimal_indoor_uav | 79f3a26f2a6c10ee74a9fb70c5f3b42e4cf105ca | [
"MIT"
] | 1 | 2020-09-15T17:05:32.000Z | 2020-09-15T17:05:32.000Z | #include <Eigen/Dense>
using namespace Eigen;
MatrixXcd solver_floor_fHf(const VectorXd& data)
{
// Compute coefficients
const double* d = data.data();
VectorXd coeffs(45);
coeffs[0] = 1;
coeffs[1] = -1;
coeffs[2] = d[20]*d[28];
coeffs[3] = -d[18]*d[28];
coeffs[4] = -d[19]*d[29];
c... | 58.504587 | 254 | 0.493649 | marcusvaltonen |
7ad1ad887976ef560596186d1dea1867a528d111 | 2,421 | cpp | C++ | lib/stages/removeEv.cpp | james-s-willis/kotekan | 155e874bb039702cec72c1785362a017548aa00a | [
"MIT"
] | null | null | null | lib/stages/removeEv.cpp | james-s-willis/kotekan | 155e874bb039702cec72c1785362a017548aa00a | [
"MIT"
] | null | null | null | lib/stages/removeEv.cpp | james-s-willis/kotekan | 155e874bb039702cec72c1785362a017548aa00a | [
"MIT"
] | null | null | null | #include "removeEv.hpp"
#include "datasetManager.hpp"
#include "errors.h"
#include "visBuffer.hpp"
#include "visUtil.hpp"
using kotekan::bufferContainer;
using kotekan::Config;
using kotekan::Stage;
REGISTER_KOTEKAN_STAGE(removeEv);
removeEv::removeEv(Config& config, const string& unique_name, bufferContainer& buf... | 33.625 | 99 | 0.697233 | james-s-willis |
7ad487f6292732c62c147417a586cf00245677d9 | 59 | cpp | C++ | test_lib/test_lib.cpp | antonte/coddle | 906c0262c1f7ce251d40879f2377e77c2ff1db9f | [
"MIT"
] | null | null | null | test_lib/test_lib.cpp | antonte/coddle | 906c0262c1f7ce251d40879f2377e77c2ff1db9f | [
"MIT"
] | 2 | 2015-04-09T23:55:06.000Z | 2017-04-15T01:37:36.000Z | test_lib/test_lib.cpp | antonte/coddle | 906c0262c1f7ce251d40879f2377e77c2ff1db9f | [
"MIT"
] | null | null | null | #include "test_lib.hpp"
int test_lib()
{
return 1000;
}
| 8.428571 | 23 | 0.661017 | antonte |
7ad7066d9fe6444678b3f5cd01d67b925e152743 | 51,314 | cc | C++ | src/half_edge_mesh.cc | paulmiller/glFun | 39df2c7f92b41c09d618b81e2016f1c530fb2108 | [
"Unlicense"
] | null | null | null | src/half_edge_mesh.cc | paulmiller/glFun | 39df2c7f92b41c09d618b81e2016f1c530fb2108 | [
"Unlicense"
] | null | null | null | src/half_edge_mesh.cc | paulmiller/glFun | 39df2c7f92b41c09d618b81e2016f1c530fb2108 | [
"Unlicense"
] | null | null | null | #include "half_edge_mesh.h"
#include "scoped_timer.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include <limits>
#include <memory>
#include <stack>
#include <unordered_map>
HalfEdgeMesh::VertexIndex HalfEdgeMesh::AddVertex() {
auto [index, realloc_offset] = vertices_.Append({});
if(realloc_offset... | 34.978868 | 80 | 0.608762 | paulmiller |
7adc771d4ad2194a9a2a255551fb24ac549e72b7 | 1,136 | cpp | C++ | dll/src/EngineAPI/Color.cpp | Dingf/GDCommunityLauncher | 43ca2d6fa8024dffad1e0919c609b0d48a3427b7 | [
"MIT"
] | null | null | null | dll/src/EngineAPI/Color.cpp | Dingf/GDCommunityLauncher | 43ca2d6fa8024dffad1e0919c609b0d48a3427b7 | [
"MIT"
] | null | null | null | dll/src/EngineAPI/Color.cpp | Dingf/GDCommunityLauncher | 43ca2d6fa8024dffad1e0919c609b0d48a3427b7 | [
"MIT"
] | null | null | null | #include "EngineAPI/Color.h"
namespace EngineAPI
{
const Color Color::BLUE(0.224f, 0.667f, 0.808f, 1.0f);
const Color Color::GREEN(0.063f, 0.918f, 0.365f, 1.0f);
const Color Color::RED(1.000f, 0.258f, 0.000f, 1.0f);
const Color Color::WHITE(1.000f, 1.000f, 1.000f, 1.0f);
const Color Color::YELLOW(1... | 49.391304 | 63 | 0.639965 | Dingf |
7add2ca114c004456a6b0bd40f20646ff4e1ea83 | 1,009 | cpp | C++ | Codes/Maths/sample-problems/LeetCode-216-combination-sum-ii-v2.cpp | fahimfarhan/FarCryCoding | ed9005194736c2b719823683c1295946bcb49910 | [
"MIT"
] | null | null | null | Codes/Maths/sample-problems/LeetCode-216-combination-sum-ii-v2.cpp | fahimfarhan/FarCryCoding | ed9005194736c2b719823683c1295946bcb49910 | [
"MIT"
] | null | null | null | Codes/Maths/sample-problems/LeetCode-216-combination-sum-ii-v2.cpp | fahimfarhan/FarCryCoding | ed9005194736c2b719823683c1295946bcb49910 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
class Solution {
public:
vector<vector<int>> combinationSum3(int k, int n) {
this->k = k;
this->n = n;
this->ssf = 0;
isVisited.resize(10, false);
path.clear();
result.clear();
for(int i=1; i<10; i++) {
backTrack(i, ... | 15.287879 | 55 | 0.49554 | fahimfarhan |
7ade4fcf23be7aa9cadc6ffe27b203ec1247194d | 10,363 | cpp | C++ | src/apps/mplayerc/PlayerVolumeCtrl.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | src/apps/mplayerc/PlayerVolumeCtrl.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | 1 | 2019-11-14T04:18:32.000Z | 2019-11-14T04:18:32.000Z | src/apps/mplayerc/PlayerVolumeCtrl.cpp | chinajeffery/MPC-BE--1.2.3 | 2229fde5535f565ba4a496a7f73267bd2c1ad338 | [
"MIT"
] | null | null | null | /*
* $Id: VolumeCtrl.cpp 527 2012-06-10 13:47:31Z exodus8 $
*
* (C) 2003-2006 Gabest
* (C) 2006-2013 see Authors.txt
*
* This file is part of MPC-BE.
*
* MPC-BE 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 Fo... | 25.842893 | 125 | 0.639583 | chinajeffery |
7ae00b38be1a91a34dc3e9154730c798086f9ab3 | 4,895 | cpp | C++ | src/mapleall/maple_be/src/cg/aarch64/aarch64_optimize_common.cpp | openmaple/MapleCompiler | 1648e63144766563f1ec44a25e0b618415648627 | [
"MulanPSL-1.0"
] | 5 | 2019-09-02T04:44:52.000Z | 2021-11-08T12:23:51.000Z | src/mapleall/maple_be/src/cg/aarch64/aarch64_optimize_common.cpp | openmaple/MapleCompiler | 1648e63144766563f1ec44a25e0b618415648627 | [
"MulanPSL-1.0"
] | 2 | 2020-07-21T01:22:01.000Z | 2021-12-06T08:07:16.000Z | src/mapleall/maple_be/src/cg/aarch64/aarch64_optimize_common.cpp | openmaple/MapleCompiler | 1648e63144766563f1ec44a25e0b618415648627 | [
"MulanPSL-1.0"
] | 4 | 2019-09-02T04:46:52.000Z | 2020-09-10T11:30:03.000Z | /*
* Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THI... | 35.992647 | 116 | 0.707252 | openmaple |
7ae204501b18372062674f5087090a50acaa0b7d | 8,018 | cpp | C++ | CRAB/journal.cpp | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 11 | 2020-08-04T08:37:46.000Z | 2022-03-31T22:35:15.000Z | CRAB/journal.cpp | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 1 | 2020-12-16T16:51:52.000Z | 2020-12-18T06:35:38.000Z | Unrest-iOS/journal.cpp | arvindrajayadav/unrest | d89f20e95fbcdef37a47ab1454b2479522a0e43f | [
"MIT"
] | 7 | 2020-08-04T09:34:20.000Z | 2021-09-11T03:00:16.000Z | #include "stdafx.h"
#include "journal.h"
using namespace pyrodactyl::image;
using namespace pyrodactyl::ui;
//------------------------------------------------------------------------
// Purpose: Load game
//------------------------------------------------------------------------
void Journal::Load(const std::string &... | 28.432624 | 120 | 0.514343 | arvindrajayadav |
7ae81b78415046d120da9add591a41dd5c23c326 | 463 | hpp | C++ | src/renderpass.hpp | nicokoch/vkBasalt | 39cec21d26e096f0dd4d0c3d446f82e20841d365 | [
"Zlib"
] | null | null | null | src/renderpass.hpp | nicokoch/vkBasalt | 39cec21d26e096f0dd4d0c3d446f82e20841d365 | [
"Zlib"
] | null | null | null | src/renderpass.hpp | nicokoch/vkBasalt | 39cec21d26e096f0dd4d0c3d446f82e20841d365 | [
"Zlib"
] | null | null | null | #ifndef RENDERPASS_HPP_INCLUDED
#define RENDERPASS_HPP_INCLUDED
#include <vector>
#include <fstream>
#include <string>
#include <iostream>
#include <vector>
#include "vulkan/vulkan.h"
#include "vulkan/vk_layer.h"
#include "vulkan/vk_layer_dispatch_table.h"
namespace vkBasalt
{
void createRenderPass(const VkDevice... | 22.047619 | 143 | 0.794816 | nicokoch |
7aeacb01491a4f23aa39b4ba127bef6c872744eb | 14,682 | hh | C++ | net.ssa/xrLC/OpenMesh/Core/Mesh/Kernels/Common/AttribKernelT.hh | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:19.000Z | 2022-03-26T17:00:19.000Z | xrLC/OpenMesh/Core/Mesh/Kernels/Common/AttribKernelT.hh | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | null | null | null | xrLC/OpenMesh/Core/Mesh/Kernels/Common/AttribKernelT.hh | ixray-team/xray-vss-archive | b245c8601dcefb505b4b51f58142da6769d4dc92 | [
"Linux-OpenIB"
] | 1 | 2022-03-26T17:00:21.000Z | 2022-03-26T17:00:21.000Z | /*===========================================================================*\
* *
* OpenMesh *
* Copyright (C) 2001-2003 by Computer Graphics Group, RWTH Aachen *
... | 31.040169 | 80 | 0.551424 | ixray-team |
7aec20a3863be1448d380a37dd1ff7381a4ef18e | 1,141 | cpp | C++ | test/0005_specifers.pp.cpp | WCIofQMandRA/global-variable | 62e6b3f6e2f714f6e0de06027b2d48716635d109 | [
"FSFAP"
] | 4 | 2021-02-03T03:28:21.000Z | 2021-12-08T05:39:53.000Z | test/0005_specifers.pp.cpp | WCIofQMandRA/global-variable | 62e6b3f6e2f714f6e0de06027b2d48716635d109 | [
"FSFAP"
] | null | null | null | test/0005_specifers.pp.cpp | WCIofQMandRA/global-variable | 62e6b3f6e2f714f6e0de06027b2d48716635d109 | [
"FSFAP"
] | null | null | null | //Author: 张子辰
//This file is in public domain.
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <random>
using namespace std;
int main()
{
vector<string> spec={"extern","static","const","volatile","thread_local"};
mt19937_64 rand64;
rand64.seed(random_device()());
ofstream test(... | 20.017544 | 83 | 0.606486 | WCIofQMandRA |
7aeeb54238745c41d5f0c5d81c5ee58d49ab7969 | 2,386 | cc | C++ | packages/mccomponents/tests/libmccomponents/kernels/sample/diffraction/test_SingleCrystalDiffractionKernel.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 5 | 2017-01-16T03:59:47.000Z | 2020-06-23T02:54:19.000Z | packages/mccomponents/tests/libmccomponents/kernels/sample/diffraction/test_SingleCrystalDiffractionKernel.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 293 | 2015-10-29T17:45:52.000Z | 2022-01-07T16:31:09.000Z | packages/mccomponents/tests/libmccomponents/kernels/sample/diffraction/test_SingleCrystalDiffractionKernel.cc | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 1 | 2019-05-25T00:53:31.000Z | 2019-05-25T00:53:31.000Z | // -*- C++ -*-
//
// Jiao Lin <jiao.lin@gmail.com>
//
#include <iostream>
#include <cassert>
#include <algorithm>
#include "mccomponents/math/random.h"
#include "mccomponents/kernels/sample/diffraction/SingleCrystalDiffractionKernel.h"
#ifdef DEBUG
#include "journal/debug.h"
#endif
void test1()
{
using namespace m... | 30.202532 | 103 | 0.660101 | mcvine |
7aeeff2f924b6bb37decd3dab1920be1b084cf55 | 401 | hpp | C++ | include/amy/detail/mariadb_types.hpp | finito/amy | 58d97d443a0dd3165da42e02b1608a52b874afa0 | [
"MIT"
] | null | null | null | include/amy/detail/mariadb_types.hpp | finito/amy | 58d97d443a0dd3165da42e02b1608a52b874afa0 | [
"MIT"
] | null | null | null | include/amy/detail/mariadb_types.hpp | finito/amy | 58d97d443a0dd3165da42e02b1608a52b874afa0 | [
"MIT"
] | null | null | null | #ifndef __AMY_DETAIL_MARIADB_TYPES_HPP__
#define __AMY_DETAIL_MARIADB_TYPES_HPP__
#include <amy/detail/mysql_types.hpp>
namespace amy {
namespace detail {
const int progress_callback = MYSQL_PROGRESS_CALLBACK;
const int nonblock = MYSQL_OPT_NONBLOCK;
} // namespace detail
} // namespace a... | 22.277778 | 63 | 0.745636 | finito |
7af045997ffc90272d7bb2c725cd29db3b211da8 | 760 | cpp | C++ | qt_course/examples/01_trivial/05_string/main.cpp | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | 1 | 2020-10-25T12:28:50.000Z | 2020-10-25T12:28:50.000Z | qt_course/examples/01_trivial/05_string/main.cpp | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | null | null | null | qt_course/examples/01_trivial/05_string/main.cpp | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | null | null | null | #include <QString>
#include <QDebug>
int main(void)
{
QString str("ABCDEFGHIJKL");
qDebug() << str;
qDebug() << str.size();
qDebug() << str.capacity();
qDebug() << str.contains("XYZ");
qDebug() << str.contains("DEF");
qDebug() << str.indexOf("DEF");
qDebug() << str.indexOf("DEF", 4);
qDebug() << str.startsW... | 17.674419 | 64 | 0.551316 | matus-chochlik |
7af2b34683dc4d05a3b0c63fa95999d929d276ac | 863 | cpp | C++ | src/apps/debuganalyzer/gui/AbstractGeneralPage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/apps/debuganalyzer/gui/AbstractGeneralPage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/apps/debuganalyzer/gui/AbstractGeneralPage.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#include "AbstractGeneralPage.h"
#include <GridLayoutBuilder.h>
#include <GroupLayoutBuilder.h>
AbstractGeneralPage::AbstractGeneralPage()
:
BGroupView(B_VERTICAL),
fDataView(NULL)
{
SetName("Genera... | 18.361702 | 69 | 0.725377 | Kirishikesan |
7af358287abdc714a16480a634a1d12e692301c1 | 1,657 | cpp | C++ | products/BellHybrid/apps/application-bell-settings/models/alarm_settings/AlarmSettingsModel.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | 1 | 2021-11-11T22:56:43.000Z | 2021-11-11T22:56:43.000Z | products/BellHybrid/apps/application-bell-settings/models/alarm_settings/AlarmSettingsModel.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | null | null | null | products/BellHybrid/apps/application-bell-settings/models/alarm_settings/AlarmSettingsModel.cpp | bitigchi/MuditaOS | 425d23e454e09fd6ae274b00f8d19c57a577aa94 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include <models/alarm_settings/AlarmSettingsModel.hpp>
#include <apps-common/ApplicationCommon.hpp>
#include <db/SystemSettings.hpp>
namespace app::bell_settings
{
void AlarmTon... | 31.865385 | 112 | 0.694025 | bitigchi |
7af3e09b74f907712fbd78a40a5af788bf75162b | 31,478 | hpp | C++ | include/sdsl/csa_alphabet_strategy.hpp | wolfee001/sdsl-lite | 3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75 | [
"BSD-3-Clause"
] | 54 | 2017-03-23T23:10:40.000Z | 2022-03-22T14:25:11.000Z | include/sdsl/csa_alphabet_strategy.hpp | wolfee001/sdsl-lite | 3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75 | [
"BSD-3-Clause"
] | 65 | 2017-05-09T05:28:43.000Z | 2021-12-16T13:02:25.000Z | include/sdsl/csa_alphabet_strategy.hpp | wolfee001/sdsl-lite | 3061a0b64f75f070bb8f4a1f91e570fcfc7ebe75 | [
"BSD-3-Clause"
] | 23 | 2017-03-23T23:11:44.000Z | 2022-02-20T22:36:33.000Z | // Copyright (c) 2016, the SDSL Project Authors. All rights reserved.
// Please see the AUTHORS file for details. Use of this source code is governed
// by a BSD license that can be found in the LICENSE file.
/*!\file csa_alphabet_strategy.hpp
* \brief csa_alphabet_strategy.hpp includes different strategy classes fo... | 31.446553 | 125 | 0.612904 | wolfee001 |
7af466f9820e60fd0c05d3e29504c9955c7c9f57 | 1,947 | hpp | C++ | gui/include/windows/PokerWin.hpp | JMassing/Pokerbot | 40b2e4756fc8ef1be4af4d649deb6035a9774bdc | [
"MIT"
] | 1 | 2021-12-10T06:27:47.000Z | 2021-12-10T06:27:47.000Z | gui/include/windows/PokerWin.hpp | JMassing/Pokerbot | 40b2e4756fc8ef1be4af4d649deb6035a9774bdc | [
"MIT"
] | null | null | null | gui/include/windows/PokerWin.hpp | JMassing/Pokerbot | 40b2e4756fc8ef1be4af4d649deb6035a9774bdc | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include "IWindow.hpp"
#include "Mapping.hpp"
#include "LayoutConfig.hpp"
#include "GuiPokerInterface.hpp"
#include "PlaceBetWin.hpp"
#include "WhoWonWin.hpp"
#include "NextRoundWin.hpp"
namespace gui {
/** \ingroup gui
* @class PokerWin
* @author Julian Massing (julimassing@gmai... | 27.422535 | 118 | 0.70416 | JMassing |
7af8fa1daa6a3d5140a6a87d1af39c6c630dd43b | 18,881 | cpp | C++ | Server/Source/Worker.cpp | ppenguin/audiogridder | 4b83a99618f35d7421cd3be36454fe397a5babd3 | [
"MIT"
] | null | null | null | Server/Source/Worker.cpp | ppenguin/audiogridder | 4b83a99618f35d7421cd3be36454fe397a5babd3 | [
"MIT"
] | null | null | null | Server/Source/Worker.cpp | ppenguin/audiogridder | 4b83a99618f35d7421cd3be36454fe397a5babd3 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Andreas Pohl
* Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING)
*
* Author: Andreas Pohl
*/
#include "Worker.hpp"
#include "KeyAndMouse.hpp"
#include "Defaults.hpp"
#include "NumberConversion.hpp"
#include "App.hpp"
#include "CPUInfo.hpp"
#ifdef JUCE_MAC
#i... | 35.827324 | 115 | 0.554949 | ppenguin |
bb007be11e3c8aadc5be9eb5736b21a7ec5e0359 | 1,021 | cpp | C++ | solutions/LeetCode/C++/190.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 854 | 2018-11-09T08:06:16.000Z | 2022-03-31T06:05:53.000Z | solutions/LeetCode/C++/190.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 29 | 2019-06-02T05:02:25.000Z | 2021-11-15T04:09:37.000Z | solutions/LeetCode/C++/190.cpp | timxor/leetcode-journal | 5f1cb6bcc44a5bc33d88fb5cdb4126dfc6f4232a | [
"MIT"
] | 347 | 2018-12-23T01:57:37.000Z | 2022-03-12T14:51:21.000Z | __________________________________________________________________________________________________
sample 4 ms submission
class Solution {
public:
uint32_t reverseBits(uint32_t n) {
uint32_t ret=0;
for(int i=0;i<32;i++){
ret<<=1;
if(n&1)
ret++;
n>>... | 28.361111 | 98 | 0.596474 | timxor |
bb03e1887066a1960615a1707d8aeed136896f60 | 245 | hpp | C++ | Sources/Dynamics/py_dynamics.hpp | tvieijra/netket | ef3ff32b242f25b6a6ae0f08db1aada85775a2ea | [
"Apache-2.0"
] | 10 | 2019-11-29T02:51:53.000Z | 2021-08-14T18:52:33.000Z | Sources/Dynamics/py_dynamics.hpp | tvieijra/netket | ef3ff32b242f25b6a6ae0f08db1aada85775a2ea | [
"Apache-2.0"
] | 2 | 2018-11-04T14:38:01.000Z | 2018-11-08T16:56:10.000Z | Sources/Dynamics/py_dynamics.hpp | tvieijra/netket | ef3ff32b242f25b6a6ae0f08db1aada85775a2ea | [
"Apache-2.0"
] | 6 | 2019-12-02T07:29:01.000Z | 2021-04-04T21:55:21.000Z | #ifndef NETKET_DYNAMICS_PY_DYNAMICS_HPP
#define NETKET_DYNAMICS_PY_DYNAMICS_HPP
#include <pybind11/pybind11.h>
namespace netket {
void AddDynamicsModule(pybind11::module m);
} // namespace netket
#endif // NETKET_DYNAMICS_PY_DYNAMICS_HPP
| 18.846154 | 43 | 0.816327 | tvieijra |
bb058adb6b8b268f2c74b06fa0dc1e3069839fc0 | 704 | hpp | C++ | pycppad/adfun.hpp | utke1/pycppad | 0713cd0fbbce5f4475934adc55a42eac56e4fbb6 | [
"Unlicense"
] | 15 | 2015-09-09T04:50:57.000Z | 2022-01-18T00:54:33.000Z | pycppad/adfun.hpp | utke1/pycppad | 0713cd0fbbce5f4475934adc55a42eac56e4fbb6 | [
"Unlicense"
] | 1 | 2016-11-21T03:36:05.000Z | 2016-11-23T14:10:46.000Z | pycppad/adfun.hpp | utke1/pycppad | 0713cd0fbbce5f4475934adc55a42eac56e4fbb6 | [
"Unlicense"
] | 7 | 2016-11-13T02:43:59.000Z | 2021-01-11T16:31:04.000Z | # ifndef PYCPPAD_ADFUN_INCLUDED
# define PYCPPAD_ADFUN_INCLUDED
# include "environment.hpp"
namespace pycppad {
// -------------------------------------------------------------
// class ADFun<Base>
template <class Base>
class ADFun{
private:
CppAD::ADFun<Base> f_;
public:
// python constructor call
ADFun(... | 22 | 65 | 0.636364 | utke1 |
bb079fa2509fe771a068f58806656df9f279ad0c | 2,387 | hpp | C++ | exa/internal/exa/detail/io_task.hpp | chronos38/exa | 96092b34eebecf55d3fe8280a86fbe63bf546af3 | [
"MIT"
] | null | null | null | exa/internal/exa/detail/io_task.hpp | chronos38/exa | 96092b34eebecf55d3fe8280a86fbe63bf546af3 | [
"MIT"
] | null | null | null | exa/internal/exa/detail/io_task.hpp | chronos38/exa | 96092b34eebecf55d3fe8280a86fbe63bf546af3 | [
"MIT"
] | null | null | null | #pragma once
#include <exa/task.hpp>
#include <exa/enum_flag.hpp>
#include <future>
#include <any>
#include <tuple>
namespace exa
{
namespace detail
{
class io_task
{
public:
template <class Result, class Function, class = std::enable_if_t<!std::is_void_v<Result>>>
... | 28.759036 | 102 | 0.408463 | chronos38 |
bb0b6025e027ae40999759fb880597e0c98f416a | 15,325 | cpp | C++ | D&D Wrath of Silumgar/Motor2D/ctSettings.cpp | Wilhelman/DD-Shadow-over-Mystara | d4303ad87cc442414c0facb71ce9cd5564b51039 | [
"MIT"
] | 3 | 2019-06-21T04:40:16.000Z | 2020-07-07T13:09:53.000Z | D&D Wrath of Silumgar/Motor2D/ctSettings.cpp | Wilhelman/DD-Shadow-over-Mystara | d4303ad87cc442414c0facb71ce9cd5564b51039 | [
"MIT"
] | 56 | 2018-05-07T10:30:08.000Z | 2018-05-15T08:27:06.000Z | D&D Wrath of Silumgar/Motor2D/ctSettings.cpp | Wilhelman/DD-Shadow-over-Mystara | d4303ad87cc442414c0facb71ce9cd5564b51039 | [
"MIT"
] | 3 | 2019-01-03T17:24:57.000Z | 2019-05-04T08:49:12.000Z | #include "ctDefs.h"
#include "ctLog.h"
#include "ctApp.h"
#include "ctInput.h"
#include "ctTextures.h"
#include "ctAudio.h"
#include "ctRender.h"
#include "ctWindow.h"
#include "ctEntities.h"
#include "ctSettings.h"
#include "ctFadeToBlack.h"
#include "ctMainMenu.h"
ctSettings::ctSettings() : ctModule()
{
name = "... | 33.904867 | 205 | 0.697292 | Wilhelman |
bb0b8185eea9ed69c2601096250e6c0930675b53 | 3,675 | cpp | C++ | Tools/ResourcerDoc/DocumentOptions.cpp | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 32 | 2016-05-22T23:09:19.000Z | 2022-03-13T03:32:27.000Z | Tools/ResourcerDoc/DocumentOptions.cpp | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 2 | 2016-05-30T19:45:58.000Z | 2018-01-24T22:29:51.000Z | Tools/ResourcerDoc/DocumentOptions.cpp | CarysT/medusa | 8e79f7738534d8cf60577ec42ed86621533ac269 | [
"MIT"
] | 17 | 2016-05-27T11:01:42.000Z | 2022-03-13T03:32:30.000Z | // DocumentOptions.cpp : implementation file
//
#include "stdafx.h"
#include "Resource.h"
#include "DocumentOptions.h"
#include "DirDialog.h"
#include "System/LocalizedString.h"
#include <io.h> // _access
/////////////////////////////////////////////////////////////////////////////
// DocumentOptions dialog
D... | 23.113208 | 81 | 0.683265 | CarysT |
bb0df2c453d0fc87eca6787520d9f2f1a809d580 | 178 | cpp | C++ | src/solver/embed.cpp | ChristopherKotthoff/Aphros-with-GraphContraction | 18af982a50e350a8bf6979ae5bd25b2ef4d3792a | [
"MIT"
] | 252 | 2020-06-03T16:01:59.000Z | 2022-03-30T14:06:32.000Z | src/solver/embed.cpp | ChristopherKotthoff/Aphros-with-GraphContraction | 18af982a50e350a8bf6979ae5bd25b2ef4d3792a | [
"MIT"
] | 4 | 2021-03-13T11:13:55.000Z | 2022-03-31T15:11:22.000Z | src/solver/embed.cpp | ChristopherKotthoff/Aphros-with-GraphContraction | 18af982a50e350a8bf6979ae5bd25b2ef4d3792a | [
"MIT"
] | 27 | 2020-09-18T04:12:03.000Z | 2022-03-30T04:22:42.000Z | // Created by Petr Karnakov on 11.02.2020
// Copyright 2020 ETH Zurich
#include "embed.ipp"
#define X(dim) template class Embed<MeshCartesian<double, dim>>;
MULTIDIMX
#undef X
| 19.777778 | 64 | 0.747191 | ChristopherKotthoff |
bb0ebdbfb40ba9c6fa7affc13b0afa31658d2b8a | 1,117 | cpp | C++ | Online-Judges/UVa/10101_Bangla_Numbers.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | 3 | 2021-06-15T01:19:23.000Z | 2022-03-16T18:23:53.000Z | Online-Judges/UVa/10101_Bangla_Numbers.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | Online-Judges/UVa/10101_Bangla_Numbers.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long int llint;
#define endn '\n'
void ot(llint n) {
if (n <= 0) return;
llint tmp = n % 10000000; n /= 10000000;
ot(n);
string str;
int tmp2 = tmp % 100;
if (tmp2) str = " " + to_string(tmp2);
tmp /= 100;
if (tmp > 0) {
... | 21.480769 | 63 | 0.442256 | shihab4t |
bb119acc860c8087b6c7dfb2c2a44e333452c2a5 | 5,039 | hpp | C++ | Array/Array.hpp | PrathameshThorat008/Advance-ADT | d89ccc777624bf8cfcb7144980c14efce919084f | [
"MIT"
] | null | null | null | Array/Array.hpp | PrathameshThorat008/Advance-ADT | d89ccc777624bf8cfcb7144980c14efce919084f | [
"MIT"
] | 1 | 2022-01-23T06:53:08.000Z | 2022-03-18T06:41:02.000Z | Array/Array.hpp | PrathameshThorat008/Advance-ADT | d89ccc777624bf8cfcb7144980c14efce919084f | [
"MIT"
] | null | null | null | #pragma once
#include <stdlib.h>
#include <algorithm>
#include <iostream>
using namespace std;
template <class T>
class Array
{
private:
T *arr;
public:
int length;
Array() : length(0), arr((T *)malloc(sizeof(T) * length)){};
Array(Array<T> *arr2)
: length(0), arr((T *)malloc(sizeof(T) * lengt... | 18.732342 | 64 | 0.372495 | PrathameshThorat008 |
bb11f90a51d53f666ca45a600bf9500d1b7f425e | 222 | hpp | C++ | lib/CManager/src/cmd_analog.hpp | sinanislekdemir/minik | cde6f228e20c51d96cdb3c84e8ae4c85a5b2f4fb | [
"BSD-3-Clause"
] | 8 | 2022-01-01T19:36:06.000Z | 2022-01-25T15:57:28.000Z | lib/CManager/src/cmd_analog.hpp | sinanislekdemir/minik | cde6f228e20c51d96cdb3c84e8ae4c85a5b2f4fb | [
"BSD-3-Clause"
] | 4 | 2022-01-17T15:45:39.000Z | 2022-02-27T19:52:42.000Z | lib/CManager/src/cmd_analog.hpp | sinanislekdemir/minik | cde6f228e20c51d96cdb3c84e8ae4c85a5b2f4fb | [
"BSD-3-Clause"
] | null | null | null | #ifndef _cmd_analog_hpp
#define _cmd_analog_hpp
#include "program.hpp"
int command_analogread(command c, program *p);
int command_analogwrite(command c, program *p);
int command_analogref(command c, program *p);
#endif
| 20.181818 | 47 | 0.788288 | sinanislekdemir |
bb144a48837ce3d7314a9db645fa243a4980301d | 1,721 | cpp | C++ | test/local_search/2_local_search/2_local_search_test.cpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | test/local_search/2_local_search/2_local_search_test.cpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | test/local_search/2_local_search/2_local_search_test.cpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | 1 | 2021-02-24T06:23:56.000Z | 2021-02-24T06:23:56.000Z | //=======================================================================
// Copyright (c)
//
// 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)
//====================================================================... | 28.683333 | 77 | 0.63742 | Kommeren |
bb1a1c710bace271469ed546b4ceb4e039e0539e | 2,487 | cpp | C++ | framework/src/manager/TReadoutBoard.cpp | AudreyFrancisco/MultiLadderOperation | fd6fefd616d73487835c31bc9916bbd8490d1864 | [
"BSD-4-Clause"
] | null | null | null | framework/src/manager/TReadoutBoard.cpp | AudreyFrancisco/MultiLadderOperation | fd6fefd616d73487835c31bc9916bbd8490d1864 | [
"BSD-4-Clause"
] | null | null | null | framework/src/manager/TReadoutBoard.cpp | AudreyFrancisco/MultiLadderOperation | fd6fefd616d73487835c31bc9916bbd8490d1864 | [
"BSD-4-Clause"
] | null | null | null | #include <exception>
#include <stdexcept>
#include "TChipConfig.h"
#include "TBoardConfig.h"
#include "TReadoutBoard.h"
using namespace std;
//___________________________________________________________________
TReadoutBoard::TReadoutBoard() : TVerbosity()
{ }
//______________________________________________________... | 31.481013 | 95 | 0.71532 | AudreyFrancisco |
bb1d10516e634fb98b369a62d7b4a3ed741e5018 | 40,219 | cpp | C++ | source/Library/System/Environment.cpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | source/Library/System/Environment.cpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | source/Library/System/Environment.cpp | dracc/VCMP-SqMod | d3e6adea147f5b2cae5119ddd6028833aa625c09 | [
"MIT"
] | null | null | null | // ------------------------------------------------------------------------------------------------
#include "Library/System/Environment.hpp"
// ------------------------------------------------------------------------------------------------
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
/... | 33.266336 | 104 | 0.520823 | dracc |
bb1eb41d93a007996849ded2f45c54f258c57a7b | 15,113 | cpp | C++ | ds/security/csps/cryptoflex/slbcci/v1card.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/csps/cryptoflex/slbcci/v1card.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/csps/cryptoflex/slbcci/v1card.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | // V1Card.cpp: implementation of the CV2Card class.
//
// (c) Copyright Schlumberger Technology Corp., unpublished work, created
// 1999. This computer program includes Confidential, Proprietary
// Information and is a Trade Secret of Schlumberger Technology Corp. All
// use, disclosure, and/or reproduction is pro... | 23.875197 | 103 | 0.536558 | npocmaka |
bb273f3bdb11d6262d7f465851fc9144b956ade5 | 6,448 | cpp | C++ | lammps-master/src/compute_fragment_atom.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | lammps-master/src/compute_fragment_atom.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | lammps-master/src/compute_fragment_atom.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | 26.318367 | 82 | 0.519386 | rajkubp020 |
bb316da5751b41614f789db5d168f9ec47ffeabd | 5,090 | cpp | C++ | 3rdparty/openmm/plugins/amoeba/openmmapi/src/AmoebaWcaDispersionForce.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 5 | 2020-07-31T17:33:03.000Z | 2022-01-01T19:24:37.000Z | 3rdparty/openmm/plugins/amoeba/openmmapi/src/AmoebaWcaDispersionForce.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 11 | 2020-06-16T05:05:42.000Z | 2022-03-30T09:59:14.000Z | 3rdparty/openmm/plugins/amoeba/openmmapi/src/AmoebaWcaDispersionForce.cpp | merkys/MMB | 0531385b8367405e1188e31c3eef7aa4cc50170b | [
"MIT"
] | 9 | 2020-01-24T12:02:37.000Z | 2020-10-16T06:23:56.000Z | /* -------------------------------------------------------------------------- *
* OpenMMAmoeba *
* -------------------------------------------------------------------------- *
* This is part of the OpenMM molecular simulation toolkit originating from *
... | 37.153285 | 126 | 0.616699 | merkys |
bb32644997946e6a4025f9719b3aa0c385636be7 | 5,265 | cpp | C++ | source/GeomUtils.cpp | sindney/nest3d-cpp | 033575364c14a48499ddbb0cbf489b7e72b0d9b7 | [
"MIT"
] | 2 | 2018-01-11T13:00:14.000Z | 2018-01-12T02:02:16.000Z | source/GeomUtils.cpp | sindney/nest3d-cpp | 033575364c14a48499ddbb0cbf489b7e72b0d9b7 | [
"MIT"
] | null | null | null | source/GeomUtils.cpp | sindney/nest3d-cpp | 033575364c14a48499ddbb0cbf489b7e72b0d9b7 | [
"MIT"
] | null | null | null | #include "GeomUtils.h"
namespace nest
{
using namespace std;
bool GeomUtils::BSBS(Vector4 ¢er0, float radius0, Vector4 ¢er1, float radius1)
{
float x = center0.x - center1.x;
float y = center0.y - center1.y;
float z = center0.z - center1.z;
return (x * x + y * y + z * z) <= (radius0 + radius1) * (... | 21.577869 | 137 | 0.545109 | sindney |
bb342ca2cd0cdefd902e65dc12fba3aa83fdff98 | 237 | cpp | C++ | src/0081/0081-Search-In-Rotated-Sorted-Array-II.cpp | coldnew/leetcode-solutions | 3bc7943f8341397840ecd34aefc5af6e52b09b4e | [
"Unlicense"
] | 2 | 2022-03-10T17:06:18.000Z | 2022-03-11T08:52:00.000Z | src/0081/0081-Search-In-Rotated-Sorted-Array-II.cpp | coldnew/leetcode-solutions | 3bc7943f8341397840ecd34aefc5af6e52b09b4e | [
"Unlicense"
] | null | null | null | src/0081/0081-Search-In-Rotated-Sorted-Array-II.cpp | coldnew/leetcode-solutions | 3bc7943f8341397840ecd34aefc5af6e52b09b4e | [
"Unlicense"
] | null | null | null | #include <vector>
#include "leetcode_utils.h"
using namespace std;
class Solution1 {
public:
bool search(vector<int>& nums, int target) {
for (auto& n : nums)
if (n == target)
return true;
return false;
}
};
| 15.8 | 46 | 0.616034 | coldnew |
bb3489a82893551a049dea1fc46cea0e9af79823 | 123 | hpp | C++ | addons/qstore/configs/CfgWeapons.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null | addons/qstore/configs/CfgWeapons.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null | addons/qstore/configs/CfgWeapons.hpp | SOCOMD/SOCOMD-MODS-2021 | 834cd5f99831bd456179a1f55f5a91398c29bf57 | [
"MIT"
] | null | null | null | class CfgWeapons {
class Default;
#include "weapons/ExtrasOptions.hpp"
#include "weapons/GrenadeOptions.hpp"
}; | 24.6 | 41 | 0.715447 | SOCOMD |
7d68c31b97696dd78d4a5ecf9eee213df7d2cade | 6,224 | cpp | C++ | src/Renderer.cpp | MetalYos/3DModeler | ea8d50571dbd715c5f004360d26356a179e5862f | [
"MIT"
] | null | null | null | src/Renderer.cpp | MetalYos/3DModeler | ea8d50571dbd715c5f004360d26356a179e5862f | [
"MIT"
] | null | null | null | src/Renderer.cpp | MetalYos/3DModeler | ea8d50571dbd715c5f004360d26356a179e5862f | [
"MIT"
] | null | null | null | #include "Renderer.h"
Renderer::~Renderer()
{
destroyBuffers();
}
void Renderer::Init(int width, int height)
{
m_Width = width;
m_Height = height;
setAspectRatio();
initBuffers();
isInit = true;
}
/*----------------------------------------- Getters -----------------------------------------*... | 24.124031 | 112 | 0.508515 | MetalYos |
7d68c52fc885cd20e77dda22f02e1852a0bfd277 | 34 | hpp | C++ | src/boost_timer_config.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_timer_config.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_timer_config.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/timer/config.hpp>
| 17 | 33 | 0.764706 | miathedev |
7d6a10c32b20c50b10da41e4826aa291fdccfe00 | 1,833 | cpp | C++ | Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/gamepad.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 45 | 2017-07-24T05:31:06.000Z | 2019-03-29T12:23:57.000Z | Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/gamepad.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 7 | 2019-01-14T14:46:46.000Z | 2019-01-25T20:57:05.000Z | Real-Time Corruptor/BizHawk_RTC/waterbox/pcfx/input/gamepad.cpp | redscientistlabs/Bizhawk50X-Vanguard | 96e0f5f87671a1230784c8faf935fe70baadfe48 | [
"MIT"
] | 10 | 2017-07-24T02:11:43.000Z | 2018-12-27T20:49:37.000Z | /******************************************************************************/
/* Mednafen NEC PC-FX Emulation Module */
/******************************************************************************/
/* gamepad.cpp:
** Copyright (C) 2006-2016 Mednafen Team
**
** This program ... | 22.62963 | 80 | 0.637752 | redscientistlabs |
7d6afb61fb2fd326afbcd061baef925287502f92 | 543 | cpp | C++ | src/gameobjects/room.cpp | Pfeifenjoy/Theseus | 9b427c16deaaacfff2e174e3dd133feed9724d3b | [
"MIT"
] | 6 | 2016-10-28T15:39:09.000Z | 2019-04-16T09:00:03.000Z | src/gameobjects/room.cpp | Pfeifenjoy/Theseus | 9b427c16deaaacfff2e174e3dd133feed9724d3b | [
"MIT"
] | null | null | null | src/gameobjects/room.cpp | Pfeifenjoy/Theseus | 9b427c16deaaacfff2e174e3dd133feed9724d3b | [
"MIT"
] | 6 | 2017-02-22T17:25:32.000Z | 2021-02-03T19:17:06.000Z | #include "room.hpp"
#include "../engine/texturemanager.hpp"
using namespace std;
using namespace theseus::engine;
using namespace theseus::gameobjects;
Room::Room(sf::Vector2f size) {
sf::Texture *texture;
texture = &TextureManager::instance().getTexture("floor_red.png");
setTexture(0, *texture);
// Repeat tex... | 22.625 | 85 | 0.721915 | Pfeifenjoy |
7d724c41cd6ea5052177b2e7b181d5eb11bb4e9e | 364 | cc | C++ | 05/io.cc | sandeep-krishnamurthy/cpp_from_scratch | e1c5f339c3c6ff81ff3e460edc942acbcf834582 | [
"Apache-2.0"
] | 2 | 2018-11-30T17:57:35.000Z | 2018-11-30T18:13:09.000Z | 05/io.cc | sandeep-krishnamurthy/cpp_from_scratch | e1c5f339c3c6ff81ff3e460edc942acbcf834582 | [
"Apache-2.0"
] | null | null | null | 05/io.cc | sandeep-krishnamurthy/cpp_from_scratch | e1c5f339c3c6ff81ff3e460edc942acbcf834582 | [
"Apache-2.0"
] | 1 | 2018-11-30T18:13:14.000Z | 2018-11-30T18:13:14.000Z | #include <iostream>
/*
* Read integer from terminal
*/
int read_integer()
{
int input;
std::cin >> input;
return input;
}
/*
* Read Float from terminal
*/
int read_float()
{
float input;
std::cin >> input;
return input;
}
/*
* Read Char from terminal
*/
int read_char()
{
char input... | 11.741935 | 30 | 0.582418 | sandeep-krishnamurthy |
7d74521ae7f4718efcf775474f825c935ebbec25 | 5,312 | cpp | C++ | test/encoding/encoding_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 5 | 2016-04-07T19:49:39.000Z | 2021-08-03T05:24:11.000Z | test/encoding/encoding_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | null | null | null | test/encoding/encoding_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 1 | 2020-12-27T11:47:31.000Z | 2020-12-27T11:47:31.000Z | /*
* buffers_test.cpp
*
* Created on: Dec 14, 2015
* Author: zmij
*/
#include <gtest/gtest.h>
#include <wire/encoding/buffers.hpp>
#include <wire/encoding/detail/fixed_size_io.hpp>
#include <vector>
#include <type_traits>
namespace wire {
namespace encoding {
namespace test {
template< typename T >
class... | 32.193939 | 92 | 0.677711 | zmij |
7d74bbb6c9d84a6c21a561e9c3b39292614a0dc2 | 1,567 | cc | C++ | third_party/blink/renderer/core/timing/performance_paint_timing.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | third_party/blink/renderer/core/timing/performance_paint_timing.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/core/timing/performance_paint_timing.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 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 "third_party/blink/renderer/core/timing/performance_paint_timing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_object_builder.h"
#... | 31.34 | 76 | 0.719847 | zealoussnow |
7d7b54062f9a6d0db7349bfa766fda19f9f4a33c | 1,723 | cc | C++ | test/segment_patch_test.cc | WuJoel2020/aom | 65e6b6954c45c1b12883942b14d1988da377e0cd | [
"BSD-2-Clause"
] | null | null | null | test/segment_patch_test.cc | WuJoel2020/aom | 65e6b6954c45c1b12883942b14d1988da377e0cd | [
"BSD-2-Clause"
] | null | null | null | test/segment_patch_test.cc | WuJoel2020/aom | 65e6b6954c45c1b12883942b14d1988da377e0cd | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2019, 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... | 35.895833 | 80 | 0.68137 | WuJoel2020 |
7d7f3382877a0bc88ce686c957f828082adf235f | 4,088 | cpp | C++ | engine/src/core/window.cpp | JackiBackiBoy/ox3d | a96e41b8a6886b0e8fa811e500718b6e457b162d | [
"Apache-2.0"
] | 1 | 2022-02-24T21:19:25.000Z | 2022-02-24T21:19:25.000Z | engine/src/core/window.cpp | JackiBackiBoy/ox3d | a96e41b8a6886b0e8fa811e500718b6e457b162d | [
"Apache-2.0"
] | null | null | null | engine/src/core/window.cpp | JackiBackiBoy/ox3d | a96e41b8a6886b0e8fa811e500718b6e457b162d | [
"Apache-2.0"
] | null | null | null | #include "window.h"
#include <iostream>
#include <vector>
#include "rendering/model.h"
#include "input/keyboard.h"
#include "input/mouse.h"
#include "ui/uiFont.h"
using namespace ox;
Window::Window(const uint32_t& width, const uint32_t& height, const std::string& title)
: m_Width(width), m_Height(height), m_Title(t... | 27.436242 | 87 | 0.705724 | JackiBackiBoy |
7d817da41723ebe764e2e9a007dd8fc31afdceae | 834 | hpp | C++ | matrix/linear-equation.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 69 | 2020-11-06T05:21:42.000Z | 2022-03-29T03:38:35.000Z | matrix/linear-equation.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 21 | 2020-07-25T04:47:12.000Z | 2022-02-01T14:39:29.000Z | matrix/linear-equation.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 9 | 2020-11-06T11:55:10.000Z | 2022-03-20T04:45:31.000Z | #pragma once
#include "gauss-elimination.hpp"
template <typename mint>
vector<vector<mint>> LinearEquation(vector<vector<mint>> a, vector<mint> b) {
int H = a.size(), W = a[0].size();
for (int i = 0; i < H; i++) a[i].push_back(b[i]);
auto p = GaussElimination(a, W, true);
int rank = p.first;
for (int i = ... | 23.828571 | 77 | 0.492806 | NachiaVivias |
7d8289ffc393b5fbc3922f08f321372494bf5cd6 | 1,808 | cpp | C++ | breath/meta/test/is_2s_complement_test.cpp | erez-o/breath | adf197b4e959beffce11e090c5e806d2ff4df38a | [
"BSD-3-Clause"
] | null | null | null | breath/meta/test/is_2s_complement_test.cpp | erez-o/breath | adf197b4e959beffce11e090c5e806d2ff4df38a | [
"BSD-3-Clause"
] | null | null | null | breath/meta/test/is_2s_complement_test.cpp | erez-o/breath | adf197b4e959beffce11e090c5e806d2ff4df38a | [
"BSD-3-Clause"
] | null | null | null | // ===========================================================================
// This is an open source non-commercial project.
// Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++, C#, and Java:
// http://www.viva64.c... | 31.719298 | 78 | 0.522677 | erez-o |
7d82d7de9c6fd605a2ded04360c69ac156858fee | 6,507 | tcc | C++ | flens/blas/closures/level2/mvswitch.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 98 | 2015-01-26T20:31:37.000Z | 2021-09-09T15:51:37.000Z | flens/blas/closures/level2/mvswitch.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 16 | 2015-01-21T07:43:45.000Z | 2021-12-06T12:08:36.000Z | flens/blas/closures/level2/mvswitch.tcc | stip/FLENS | 80495fa97dda42a0acafc8f83fc9639ae36d2e10 | [
"BSD-3-Clause"
] | 31 | 2015-01-05T08:06:45.000Z | 2022-01-26T20:12:00.000Z | /*
* Copyright (c) 2012, Michael Lehn
*
* 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,... | 31.897059 | 79 | 0.681113 | stip |
7d8416cc564537ada66cc5cd7a9ffb15664d331e | 1,117 | cpp | C++ | 108.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | 1 | 2018-03-19T05:18:49.000Z | 2018-03-19T05:18:49.000Z | 108.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | 108.cpp | abraxaslee/ACM-ICPC | d8db31a4a2a36258bfba42a806b02bbf3eceaf2b | [
"MIT"
] | null | null | null | //2012/03/22
//108.cpp
//Run time: 0.008
#include <stdio.h>
#define INF -2147483647
int sum[105][105];
int N;
int Kadane(int *array){
static int i, max, sum;
max = INF;
for(sum=i=0; i<N; ++i){
sum += array[i];
if(sum < 0) sum = 0;
else if(sum > max) max = sum;
}
return max;
}
int K... | 16.426471 | 36 | 0.482543 | abraxaslee |
7d865997b7659ef789e0c81f435f330dd4c9c828 | 6,843 | hxx | C++ | com/ole32/com/dcomrem/chock.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/ole32/com/dcomrem/chock.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/ole32/com/dcomrem/chock.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+-------------------------------------------------------------------
//
// File: chock.hxx
//
// Contents: APIs for channel hooks
//
//--------------------------------------------------------------------
#ifndef _CHOCK_HXX_
#define _CHOCK_HXX_
/****************************************************... | 35.455959 | 99 | 0.565103 | npocmaka |
7d86df06afe2b822404093af3a1d7049a1597364 | 571 | cpp | C++ | BashuOJ-Code/2898.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/2898.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/2898.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
#include<iomanip>
#include<cmath>
#include<climits>
using namespace std;
int n,m,f[305][305]={0};
int main(){
cin>>n>>m;
int x,y,z;
for(int i=1;i<=n;i++)
for(int j=1;j<=n;j++)
if(i!=j)f[i][j]=INT_MIN;
for(int i=1;i<=m;i++)cin>>x>>y>>z,f[x][y]=z;
for(int k=1;... | 21.961538 | 77 | 0.556918 | magicgh |
7d88a0fd2e1c42b149dbca54a32cda90d253b8ef | 6,971 | hpp | C++ | sources/SoundSystem/spSoundEffect.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/SoundSystem/spSoundEffect.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/SoundSystem/spSoundEffect.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2020-02-15T09:17:41.000Z | 2020-05-21T14:10:40.000Z | /*
* Sound effect interface header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_AUDIO_SOUNDEFFECT_H__
#define __SP_AUDIO_SOUNDEFFECT_H__
#include "Base/spStandard.hpp"
namespace sp
{
namespace audio... | 30.047414 | 111 | 0.744943 | rontrek |
7d88fb0477e803fc74bdf7a279d3d388c4238830 | 2,097 | cc | C++ | code/qttoolkit/qtaddons/attributecontrollerwidget/code/stringcontroller.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/qttoolkit/qtaddons/attributecontrollerwidget/code/stringcontroller.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/qttoolkit/qtaddons/attributecontrollerwidget/code/stringcontroller.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// stringcontroller.cc
// (C) 2013-2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "stringcontroller.h"
#include "game/entity.h"... | 27.592105 | 146 | 0.533619 | gscept |
7d8ae07cf9e3aa1686166fff377d61f1fc10dfb5 | 5,000 | cpp | C++ | src/detail/LuaPbIntfImpl.cpp | zhuyadong/LuaPbIntf | 94b99ffececb455cc6483cfe897f3601d7bcf479 | [
"MIT"
] | null | null | null | src/detail/LuaPbIntfImpl.cpp | zhuyadong/LuaPbIntf | 94b99ffececb455cc6483cfe897f3601d7bcf479 | [
"MIT"
] | null | null | null | src/detail/LuaPbIntfImpl.cpp | zhuyadong/LuaPbIntf | 94b99ffececb455cc6483cfe897f3601d7bcf479 | [
"MIT"
] | 1 | 2018-09-10T10:26:38.000Z | 2018-09-10T10:26:38.000Z | #include "LuaPbIntfImpl.h"
#include "MessageSetter.h"
#include "MsgToTbl.h"
// for LuaException
#include <LuaIntf/LuaIntf.h>
#include <LuaIntf/LuaState.h>
#include <google/protobuf/compiler/importer.h> // for DiskSourceTree
#include <google/protobuf/descriptor.h> // for Descriptor
#include <google/protobuf/dynamic... | 30.674847 | 88 | 0.7212 | zhuyadong |
7d8f0c7d898969b06ab52c266bebf6b76f2b6522 | 26,529 | cpp | C++ | src/graphics/gfx_hud.cpp | q4a/TheXTech | 574a4ad6723cce804732337073db9d093cb700b1 | [
"MIT"
] | null | null | null | src/graphics/gfx_hud.cpp | q4a/TheXTech | 574a4ad6723cce804732337073db9d093cb700b1 | [
"MIT"
] | null | null | null | src/graphics/gfx_hud.cpp | q4a/TheXTech | 574a4ad6723cce804732337073db9d093cb700b1 | [
"MIT"
] | null | null | null | /*
* TheXTech - A platform game engine ported from old source code for VB6
*
* Copyright (c) 2009-2011 Andrew Spinks, original VB6 code
* Copyright (c) 2020-2021 Vitaly Novichkov <admin@wohlnet.ru>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated ... | 60.020362 | 366 | 0.486223 | q4a |
7d94b5c0e7b53664a967b5e0c84d8e9f59921dbe | 737 | cpp | C++ | source/debugging_main.cpp | Arpit-Rulania/cpp_word_ladder | afa53979c53b6450a245b34fd32d3da41c332dbe | [
"Apache-2.0"
] | null | null | null | source/debugging_main.cpp | Arpit-Rulania/cpp_word_ladder | afa53979c53b6450a245b34fd32d3da41c332dbe | [
"Apache-2.0"
] | null | null | null | source/debugging_main.cpp | Arpit-Rulania/cpp_word_ladder | afa53979c53b6450a245b34fd32d3da41c332dbe | [
"Apache-2.0"
] | null | null | null | #include "comp6771/word_ladder.hpp"
#include <iostream>
// Please note: it's not good practice to test your code via a main function that does
// printing. Instead, you should be using your test folder. This file should only really
// be used for more "primitive" debugging as we know that playing solely with test
//... | 36.85 | 90 | 0.68114 | Arpit-Rulania |
7d96a801fdd861b7c68010bb53e59bc22b9d908b | 2,539 | cpp | C++ | src/presentation/models/movedatamodel.cpp | karagog/GKChess | cda731f5a130255f00002ed9489cd8524ac3d863 | [
"Apache-2.0"
] | null | null | null | src/presentation/models/movedatamodel.cpp | karagog/GKChess | cda731f5a130255f00002ed9489cd8524ac3d863 | [
"Apache-2.0"
] | null | null | null | src/presentation/models/movedatamodel.cpp | karagog/GKChess | cda731f5a130255f00002ed9489cd8524ac3d863 | [
"Apache-2.0"
] | null | null | null | /*Copyright 2014 George Karagoulis
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, softwar... | 26.447917 | 108 | 0.701063 | karagog |
7d96ff40d68658bdc9dc889dd9e0790c4b35c83c | 144 | hpp | C++ | src/code_gen/include/code_gen.hpp | aroques/compiler | ee2557af9146a6fc7c8db4c505f787a6b3200bba | [
"MIT"
] | 2 | 2019-02-15T10:08:42.000Z | 2021-06-20T19:25:38.000Z | src/code_gen/include/code_gen.hpp | aroques/compiler | ee2557af9146a6fc7c8db4c505f787a6b3200bba | [
"MIT"
] | 2 | 2019-04-10T13:44:09.000Z | 2019-04-14T17:18:58.000Z | src/code_gen/include/code_gen.hpp | aroques/compiler | ee2557af9146a6fc7c8db4c505f787a6b3200bba | [
"MIT"
] | null | null | null | #ifndef CODE_GEN_HPP
#define CODE_GEN_HPP
#include "parser/include/Node.hpp"
std::string generate_target(Node* root);
#endif // !CODE_GEN_HPP | 18 | 40 | 0.777778 | aroques |
7d99abc7f77057dcb7962a5203a13f669c0a0764 | 2,434 | cpp | C++ | auv_guidance/src/min_jerk_trajectory.cpp | osu-uwrt/auv_gnc | 40dbe4bda0c00fd41ed714cc2ea82f0c319e5e46 | [
"BSD-2-Clause"
] | 31 | 2019-08-07T08:04:51.000Z | 2022-03-19T10:03:42.000Z | auv_guidance/src/min_jerk_trajectory.cpp | Chandler-Xu/auv_gnc | 9e9efb49fd2a88a76b97c2381bb6138ec7513520 | [
"BSD-2-Clause"
] | null | null | null | auv_guidance/src/min_jerk_trajectory.cpp | Chandler-Xu/auv_gnc | 9e9efb49fd2a88a76b97c2381bb6138ec7513520 | [
"BSD-2-Clause"
] | 11 | 2019-09-17T14:01:01.000Z | 2022-03-16T11:45:33.000Z | #include "auv_guidance/min_jerk_trajectory.hpp"
#include <iostream>
namespace auv_guidance
{
/**
* @param start Initial conditions of position, velocity, and acceleration.
* @param end Final conditions of position, velocity, and acceleration
* @param duration Duration for which trajectory will occur
*/
MinJerkTraje... | 32.026316 | 147 | 0.576828 | osu-uwrt |
7d99dbcd0ba0abfad905db57df7fd967e3c55e9e | 2,658 | cpp | C++ | ARK2D/src/ARK2D/UI/ComboBoxItem.cpp | ashleygwinnell/ark2d | bbfbee742ace9c52841dad4fab74d0d120ffe662 | [
"Unlicense"
] | 6 | 2015-08-25T19:16:20.000Z | 2021-04-19T16:47:58.000Z | ARK2D/src/ARK2D/UI/ComboBoxItem.cpp | ashleygwinnell/ark2d | bbfbee742ace9c52841dad4fab74d0d120ffe662 | [
"Unlicense"
] | 1 | 2015-09-17T14:03:12.000Z | 2015-09-17T14:03:12.000Z | ARK2D/src/ARK2D/UI/ComboBoxItem.cpp | ashleygwinnell/ark2d | bbfbee742ace9c52841dad4fab74d0d120ffe662 | [
"Unlicense"
] | 1 | 2018-10-02T19:59:47.000Z | 2018-10-02T19:59:47.000Z | /*
* ComboBoxItem.cpp
*
* Created on: 14 Jul 2011
* Author: Ashley
*/
#include "ComboBoxItem.h"
#include "ComboBox.h"
#include "../ARK2D.h"
#include "Button.h"
namespace ARK {
namespace UI {
ComboBoxItem::ComboBoxItem():
AbstractUIComponent(),
parent(NULL),
m_text("") {
m_width = 2... | 25.075472 | 163 | 0.607223 | ashleygwinnell |
7d9b992cff65f8c1270b72673eb6b215169e04d7 | 21,873 | cc | C++ | arcane/ceapart/src/arcane/tests/AMRCartesianMeshTesterModule.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/ceapart/src/arcane/tests/AMRCartesianMeshTesterModule.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/ceapart/src/arcane/tests/AMRCartesianMeshTesterModule.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | 34.445669 | 107 | 0.579756 | JeromeDuboisPro |
7da3965752d36faf440c4d8a7e04af250c85ecdd | 5,217 | cc | C++ | rrd/src/factory.cc | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 40 | 2015-03-10T07:55:39.000Z | 2021-06-11T10:13:56.000Z | rrd/src/factory.cc | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 297 | 2015-04-30T10:02:04.000Z | 2022-03-09T13:31:54.000Z | rrd/src/factory.cc | centreon-lab/centreon-broker | b412470204eedc01422bbfd00bcc306dfb3d2ef5 | [
"Apache-2.0"
] | 29 | 2015-08-03T10:04:15.000Z | 2021-11-25T12:21:00.000Z | /*
** Copyright 2011-2015 Centreon
**
** 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... | 28.664835 | 78 | 0.607437 | centreon-lab |
7da3dcf9ddee43685c8567fd00efdefea85b9be0 | 2,528 | cpp | C++ | 3rd_party/occa/src/occa/internal/lang/type/functionPtr.cpp | RonRahaman/nekRS | ffc02bca33ece6ba3330c4ee24565b1c6b5f7242 | [
"BSD-3-Clause"
] | 312 | 2015-07-02T09:02:09.000Z | 2022-03-30T16:13:23.000Z | 3rd_party/occa/src/occa/internal/lang/type/functionPtr.cpp | neams-th-coe/nekRS | 5d2c8ab3d14b3fb16db35682336a1f96000698bb | [
"BSD-3-Clause"
] | 520 | 2015-07-12T18:32:38.000Z | 2022-03-31T16:15:00.000Z | 3rd_party/occa/src/occa/internal/lang/type/functionPtr.cpp | neams-th-coe/nekRS | 5d2c8ab3d14b3fb16db35682336a1f96000698bb | [
"BSD-3-Clause"
] | 79 | 2015-07-22T22:10:56.000Z | 2022-03-17T09:07:01.000Z | #include <occa/internal/lang/type/functionPtr.hpp>
#include <occa/internal/lang/variable.hpp>
namespace occa {
namespace lang {
functionPtr_t::functionPtr_t() :
type_t(),
returnType(),
isBlock(false) {}
functionPtr_t::functionPtr_t(const vartype_t &returnType_,
... | 26.061856 | 67 | 0.56606 | RonRahaman |
7da503332eb9c01fe8a27c3e8922159a23d89e29 | 752 | cpp | C++ | baekjoon/11727.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/11727.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | baekjoon/11727.cpp | GihwanKim/Baekjoon | 52eb2bf80bb1243697858445e5b5e2d50d78be4e | [
"MIT"
] | null | null | null | /*
11727 : 2×n 타일링 2
URL : https://www.acmicpc.net/problem/11727
Input #1 :
2
Output #1 :
3
Input #2 :
8
Output #2 :
171
Input #3 :
12
Output #3 :
2731
*/
#include <iostream>
#include <cstring>
#define MAX_N 1001
#define MOD 10007
using ... | 13.192982 | 62 | 0.486702 | GihwanKim |
7da5cf270a212137dd4cf4cd4675ec43c6c03dec | 10,982 | hpp | C++ | viennagrid/algorithm/geometry.hpp | viennagrid/viennagrid-dev | 6e47c8d098a0b691d6b9988f2444cd11d440f4c2 | [
"MIT"
] | 7 | 2015-09-13T03:50:58.000Z | 2019-06-27T14:24:49.000Z | viennagrid/algorithm/geometry.hpp | viennagrid/viennagrid-dev | 6e47c8d098a0b691d6b9988f2444cd11d440f4c2 | [
"MIT"
] | null | null | null | viennagrid/algorithm/geometry.hpp | viennagrid/viennagrid-dev | 6e47c8d098a0b691d6b9988f2444cd11d440f4c2 | [
"MIT"
] | 5 | 2015-07-03T07:14:15.000Z | 2021-05-20T00:51:58.000Z | #ifndef VIENNAGRID_ALGORITHM_GEOMETRY_HPP
#define VIENNAGRID_ALGORITHM_GEOMETRY_HPP
/* =======================================================================
Copyright (c) 2011-2014, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
... | 36.364238 | 205 | 0.664087 | viennagrid |
7da76807c52c0d703a05f4f77c3cb7c33747c03d | 393 | cpp | C++ | Uva-494 - Kindergarten Counting Game.cpp | Samim-Arefin/UVa-Problem-Solution | 8556639b9e718299f4a52920034dfa0264e06f8e | [
"MIT"
] | 1 | 2020-11-02T22:18:22.000Z | 2020-11-02T22:18:22.000Z | Uva-494 - Kindergarten Counting Game.cpp | Samim-Arefin/UVa-Problem-Solution | 8556639b9e718299f4a52920034dfa0264e06f8e | [
"MIT"
] | null | null | null | Uva-494 - Kindergarten Counting Game.cpp | Samim-Arefin/UVa-Problem-Solution | 8556639b9e718299f4a52920034dfa0264e06f8e | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include<cstring>
#include<cstdio>
using namespace std;
int main()
{
int count = 0,k=0;
string str;
while (getline(cin, str))
{
for (int i = 0; i<str.length(); i++)
{
if ((str[i]>='a' && str[i]<='z') || (str[i]>='A' && str[i]<='Z'))
{
k = 1;
}
else
{
co... | 14.035714 | 68 | 0.486005 | Samim-Arefin |
7da86fdc3a6b20c376e6cc5be514261b4b395669 | 2,448 | cpp | C++ | src/main.cpp | zhitko/speech-rate-meter | 6414215f15c4c21bb5afe4bf16dcdbc4164d8f57 | [
"MIT"
] | 4 | 2021-03-14T09:47:58.000Z | 2021-08-05T10:15:15.000Z | src/main.cpp | zhitko/speech-rate-meter | 6414215f15c4c21bb5afe4bf16dcdbc4164d8f57 | [
"MIT"
] | 3 | 2021-05-21T09:39:16.000Z | 2022-03-28T13:17:31.000Z | src/main.cpp | zhitko/speech-rate-meter | 6414215f15c4c21bb5afe4bf16dcdbc4164d8f57 | [
"MIT"
] | 1 | 2021-05-05T21:07:32.000Z | 2021-05-05T21:07:32.000Z | #include <QtWidgets/QApplication>
#include <QQmlApplicationEngine>
#include <QFileInfo>
#include <QStringList>
#include <QDirIterator>
#include <QDir>
#include <QDateTime>
#include <QTextCodec>
#include "backend.h"
#include "settings.h"
#include "applicationconfig.h"
#include "qml/qmlfileinfo.h"
#include "qml/qmlpoint... | 26.608696 | 116 | 0.688725 | zhitko |
7dad3646cc4818631270df897879dca9c9f89008 | 288 | cpp | C++ | Core/Surface.cpp | zgub4/op3d | 2a9a01b3b7666f4ef1afcb279530c57126e3baa8 | [
"Apache-2.0"
] | 2 | 2017-03-02T15:40:58.000Z | 2017-05-19T07:58:05.000Z | Core/Surface.cpp | zgub4/op3d | 2a9a01b3b7666f4ef1afcb279530c57126e3baa8 | [
"Apache-2.0"
] | 2 | 2017-04-05T01:50:36.000Z | 2017-04-06T09:20:12.000Z | Core/Surface.cpp | zgub4/op3d | 2a9a01b3b7666f4ef1afcb279530c57126e3baa8 | [
"Apache-2.0"
] | null | null | null | #include "Surface.h"
#include <stdexcept>
void op3d::Surface::create(const VkInstance& instance, GLFWwindow* window)
{
if (glfwCreateWindowSurface(instance, window, nullptr, replace()) != VK_SUCCESS)
{
throw std::runtime_error("Failed to create VkSurfaceKHR!");
}
}
| 24 | 84 | 0.697917 | zgub4 |
7dafe8bed18d89d649b3d442050edc5458882964 | 3,276 | cpp | C++ | lab01/LoadedDie.cpp | jrgoldfinemiddleton/cs162 | dea72d9219e748e15a5796177a6b018bcab7816e | [
"BSD-2-Clause"
] | 3 | 2016-11-04T20:18:46.000Z | 2019-04-22T05:00:03.000Z | lab01/LoadedDie.cpp | jrgoldfinemiddleton/cs162 | dea72d9219e748e15a5796177a6b018bcab7816e | [
"BSD-2-Clause"
] | 1 | 2016-11-04T20:23:25.000Z | 2016-11-04T20:23:45.000Z | lab01/LoadedDie.cpp | jrgoldfinemiddleton/cs162 | dea72d9219e748e15a5796177a6b018bcab7816e | [
"BSD-2-Clause"
] | 6 | 2015-12-25T16:14:46.000Z | 2019-04-22T05:00:04.000Z | /*********************************************************************
** Program Filename: LoadedDie.cpp
** Author: Jason Goldfine-Middleton
** Date: 09/26/15
** Description: The LoadedDie class implementation file.
** Input: N/A
** Output: N/A
*******************************************************************... | 30.90566 | 71 | 0.502137 | jrgoldfinemiddleton |
7db33c0b3176bdacbd16de10c56795ea0457a18c | 4,384 | cpp | C++ | oskar/settings/test/Test_DateTime.cpp | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 46 | 2015-12-15T14:24:16.000Z | 2022-01-24T16:54:49.000Z | oskar/settings/test/Test_DateTime.cpp | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 37 | 2016-08-04T17:53:03.000Z | 2022-03-10T10:22:01.000Z | oskar/settings/test/Test_DateTime.cpp | happyseayou/OSKAR | 3fb995ed39deb6b11da12524e8e30f0ca8f9c39b | [
"BSD-3-Clause"
] | 32 | 2016-05-09T10:30:11.000Z | 2022-01-26T07:55:27.000Z | /*
* Copyright (c) 2015-2021, The OSKAR Developers.
* See the LICENSE file at the top-level directory of this distribution.
*/
#include <gtest/gtest.h>
#include "settings/oskar_settings_types.h"
#include <cstdio>
using namespace std;
using namespace oskar;
TEST(settings_types, DateTime)
{
/*
* d-M-yyyy ... | 32.235294 | 72 | 0.584398 | happyseayou |
7db6756ae7222f4da506e70a3ff1f6a58eb28567 | 545 | hpp | C++ | include/Client.hpp | SokolovVadim/Server | 4d69a5bee42173b3a8e37dfa2dcd62d7aba25a93 | [
"MIT"
] | null | null | null | include/Client.hpp | SokolovVadim/Server | 4d69a5bee42173b3a8e37dfa2dcd62d7aba25a93 | [
"MIT"
] | null | null | null | include/Client.hpp | SokolovVadim/Server | 4d69a5bee42173b3a8e37dfa2dcd62d7aba25a93 | [
"MIT"
] | null | null | null | //
// Created by vadim on 15.08.19.
//
#ifndef SERVER_CLIENT_HPP
#define SERVER_CLIENT_HPP
#include "Inet.hpp"
#include "Subroutine.hpp"
void ClientRoutine(const std::string & script_name);
void ExecuteScript(const std::string & script_name);
class Client
{
public:
Client();
~Client();
void Init();
... | 18.166667 | 54 | 0.695413 | SokolovVadim |
7db68987b9886e429db35e11547376b8bfd58222 | 6,683 | cpp | C++ | plugins/src/amxinfo.cpp | SL-RP/PawnPlus | be9c7bf801d4338516f930817d295f2a51754bdc | [
"MIT"
] | 79 | 2018-03-07T22:49:20.000Z | 2022-03-31T04:55:30.000Z | plugins/src/amxinfo.cpp | SL-RP/PawnPlus | be9c7bf801d4338516f930817d295f2a51754bdc | [
"MIT"
] | 45 | 2018-07-13T20:57:40.000Z | 2022-02-01T17:55:34.000Z | plugins/src/amxinfo.cpp | SL-RP/PawnPlus | be9c7bf801d4338516f930817d295f2a51754bdc | [
"MIT"
] | 29 | 2018-03-23T08:22:02.000Z | 2022-02-13T22:59:50.000Z | #include "amxinfo.h"
#include "natives.h"
#include "modules/tags.h"
#include "modules/amxutils.h"
#include <unordered_map>
#include "subhook/subhook.h"
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#else
#include <signal.h>
#include <setjmp.h>
#endif
struct natives_extra : public amx::extra
{
nativ... | 21.983553 | 130 | 0.679635 | SL-RP |
7dbc6963058fa5fddf6d30ec2fbcd352cf7c7db9 | 655 | cpp | C++ | qt-mvvm/source/libmvvm_model/mvvm/model/datarole.cpp | seaCheng/animation- | 89a0cb0efbcfea202965a5851979ae6f1b67f8f0 | [
"BSD-3-Clause"
] | 6 | 2021-12-08T03:09:47.000Z | 2022-02-24T03:51:14.000Z | qt-mvvm/source/libmvvm_model/mvvm/model/datarole.cpp | seaCheng/animation- | 89a0cb0efbcfea202965a5851979ae6f1b67f8f0 | [
"BSD-3-Clause"
] | null | null | null | qt-mvvm/source/libmvvm_model/mvvm/model/datarole.cpp | seaCheng/animation- | 89a0cb0efbcfea202965a5851979ae6f1b67f8f0 | [
"BSD-3-Clause"
] | null | null | null | // ************************************************************************** //
//
// Model-view-view-model framework for large GUI applications
//
//! @license GNU General Public License v3 or higher (see COPYING)
//! @authors see AUTHORS
//
// ********************************************************************... | 31.190476 | 85 | 0.540458 | seaCheng |
7dbd7789fc2435b41cc0344951cc4cae807877c1 | 4,592 | cpp | C++ | apps/cloud_composer/tools/fpfh_estimation.cpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | apps/cloud_composer/tools/fpfh_estimation.cpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | apps/cloud_composer/tools/fpfh_estimation.cpp | yxlao/StanfordPCL | 98a8663f896c1ba880d14efa2338b7cfbd01b6ef | [
"MIT"
] | null | null | null | #include <pcl/apps/cloud_composer/tools/fpfh_estimation.h>
#include <pcl/apps/cloud_composer/items/cloud_item.h>
#include <pcl/apps/cloud_composer/items/normals_item.h>
#include <pcl/apps/cloud_composer/items/fpfh_item.h>
#include <pcl/features/fpfh.h>
#include <pcl/point_types.h>
#include <pcl/filters/filter.h>
Q_EX... | 40.637168 | 80 | 0.627831 | yxlao |
7dbe880049933ad81ebb8398d21d1dd1d6bf12ef | 486 | cpp | C++ | Game/Source/GargoyleBattle_Dungeon_3.cpp | aNnAm2606/PROJECT-II-BAKARA-SAN | 84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f | [
"MIT"
] | null | null | null | Game/Source/GargoyleBattle_Dungeon_3.cpp | aNnAm2606/PROJECT-II-BAKARA-SAN | 84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f | [
"MIT"
] | 7 | 2022-03-19T21:14:34.000Z | 2022-03-19T21:53:13.000Z | Game/Source/GargoyleBattle_Dungeon_3.cpp | aNnAm2606/PROJECT-II-BAKARA-SAN | 84bbc8cc9f7ea9f5b1b3ece4ea4053c74e7ece7f | [
"MIT"
] | 1 | 2022-03-08T12:25:02.000Z | 2022-03-08T12:25:02.000Z | #include "GargoyleBattle_Dungeon_3.h"
#include "App.h"
#include "BattleScene.h"
#include "TownScene.h"
GargoyleBattle_Dungeon_3::GargoyleBattle_Dungeon_3()
{
}
GargoyleBattle_Dungeon_3::~GargoyleBattle_Dungeon_3()
{
}
void GargoyleBattle_Dungeon_3::SetBattlefield()
{
app->battleScene->SetNextScene(m_OriginScene);
... | 25.578947 | 82 | 0.798354 | aNnAm2606 |
7dc1fa1a581e5594ebe010195f234eac9646ae2e | 931 | cc | C++ | GUI/ManualWindow.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | GUI/ManualWindow.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | GUI/ManualWindow.cc | jwillemsen/sidecar | 941d9f3b84d05ca405df1444d4d9fd0bde03887f | [
"MIT"
] | null | null | null | #include "QtCore/QFile"
#include "ManualWindow.h"
#include "ui_ManualWindow.h"
using namespace SideCar::GUI;
ManualWindow::ManualWindow(const QString& appName, const QString& manualPath) :
Super(appName, appName + " Manual"), gui_(new Ui::ManualWindow), manualPath_(manualPath)
{
gui_->setupUi(this);
setO... | 29.09375 | 111 | 0.665951 | jwillemsen |
7dc4808bd90cc71a1087549443b89edad2c30a9d | 6,563 | cpp | C++ | Developments/solidity-develop/test/libsolidity/JSONCompiler.cpp | jansenbarabona/NFT-Game-Development | 49bf6593925123f0212dac13badd609be3866561 | [
"MIT"
] | null | null | null | Developments/solidity-develop/test/libsolidity/JSONCompiler.cpp | jansenbarabona/NFT-Game-Development | 49bf6593925123f0212dac13badd609be3866561 | [
"MIT"
] | null | null | null | Developments/solidity-develop/test/libsolidity/JSONCompiler.cpp | jansenbarabona/NFT-Game-Development | 49bf6593925123f0212dac13badd609be3866561 | [
"MIT"
] | null | null | null | /*
This file is part of solidity.
solidity 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.
solidity is distributed in the hope that i... | 31.401914 | 115 | 0.705622 | jansenbarabona |
7dc6074a80a31cee9949ec855703627d2d6be7c3 | 27,321 | cpp | C++ | src/3rdparty/kjs/src/kjs/array_object.cpp | afarcat/QtHtmlView | fff12b6f5c08c2c6db15dd73e4f0b55421827b39 | [
"Apache-2.0"
] | null | null | null | src/3rdparty/kjs/src/kjs/array_object.cpp | afarcat/QtHtmlView | fff12b6f5c08c2c6db15dd73e4f0b55421827b39 | [
"Apache-2.0"
] | null | null | null | src/3rdparty/kjs/src/kjs/array_object.cpp | afarcat/QtHtmlView | fff12b6f5c08c2c6db15dd73e4f0b55421827b39 | [
"Apache-2.0"
] | null | null | null | /*
* This file is part of the KDE libraries
* Copyright (C) 1999-2000 Harri Porten (porten@kde.org)
* Copyright (C) 2003, 2007 Apple Inc. All rights reserved.
* Copyright (C) 2003 Peter Kelly (pmk@post.com)
* Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com)
* Copyright (C) 2008 Janusz Lewandowski (lew2... | 35.071887 | 134 | 0.532411 | afarcat |
7dc6130c25cc81c91c2ab47777fdc7ae10dee10c | 308 | cpp | C++ | src/functions.cpp | fangzhou-xie/decimal | 9439bffda0cc8bad18f0be971788516ff1f5520c | [
"MIT"
] | null | null | null | src/functions.cpp | fangzhou-xie/decimal | 9439bffda0cc8bad18f0be971788516ff1f5520c | [
"MIT"
] | null | null | null | src/functions.cpp | fangzhou-xie/decimal | 9439bffda0cc8bad18f0be971788516ff1f5520c | [
"MIT"
] | null | null | null | // define some functions
#include <Rcpp.h>
using namespace Rcpp;
#include "utils.h"
// [[Rcpp::export]]
std::string sum_decimal_cpp(std::vector<std::string> s) {
decimal<10> out;
for (size_t i = 0; i < s.size(); i++) {
auto t = read_decimal(s[i]);
out += t;
}
return toString(out);
} | 17.111111 | 57 | 0.600649 | fangzhou-xie |
7dcae2839feabc574ae87e7bed82766a135fd751 | 2,931 | cpp | C++ | pxr/base/arch/errno.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 3,680 | 2016-07-26T18:28:11.000Z | 2022-03-31T09:55:05.000Z | pxr/base/arch/errno.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 1,759 | 2016-07-26T19:19:59.000Z | 2022-03-31T21:24:00.000Z | pxr/base/arch/errno.cpp | DougRogers-DigitalFish/USD | d8a405a1344480f859f025c4f97085143efacb53 | [
"BSD-2-Clause"
] | 904 | 2016-07-26T18:33:40.000Z | 2022-03-31T09:55:16.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 32.566667 | 78 | 0.666325 | DougRogers-DigitalFish |
7dccd426d0bb409edc389c3318f3fc3813d32231 | 492 | cpp | C++ | HackerRank/CPP/Strings/StringStream.cpp | AdityaChirravuri/CompetitiveProgramming | 642550e8916b3f7939a1fdd52d10f5f8ae43f161 | [
"MIT"
] | 1 | 2021-07-13T01:49:25.000Z | 2021-07-13T01:49:25.000Z | HackerRank/CPP/Strings/StringStream.cpp | AdityaChirravuri/CompetitiveProgramming | 642550e8916b3f7939a1fdd52d10f5f8ae43f161 | [
"MIT"
] | null | null | null | HackerRank/CPP/Strings/StringStream.cpp | AdityaChirravuri/CompetitiveProgramming | 642550e8916b3f7939a1fdd52d10f5f8ae43f161 | [
"MIT"
] | null | null | null | #include <sstream>
#include <vector>
#include <iostream>
using namespace std;
vector<int> parseInts(string str) {
// Complete this function
stringstream ss (str);
vector<int>m;
int t;
char ch;
while(ss >> t){
m.push_back(t);
ss >> ch;
}
return m;
}
int main() {
string... | 16.4 | 46 | 0.542683 | AdityaChirravuri |
7dcd354881ba4f97eca8ca38363310105ce736b8 | 572 | cpp | C++ | string-algorithms/hashing/basic_string_hashing.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | string-algorithms/hashing/basic_string_hashing.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | string-algorithms/hashing/basic_string_hashing.cpp | dushimsam/deep-dive-in-algorithms | 0c6a04b3115ba789ab4aca68cce51c9a3c3a075a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*** source :->
*
* https://cp-algorithms.com/string/string-hashing.html
*
*
***/
long long computer_hash(string str)
{
const int increase = 31;
const int m = 1e9 + 9;
long long hash_value = 0;
long long p = 1;
for (int i = 0; i < str.length();... | 17.333333 | 56 | 0.534965 | dushimsam |
7dcdf1044c758407f6651eb7e1d19dfc26a38866 | 6,149 | cpp | C++ | 720Core/Logger.cpp | imengyu/720PanoramaViewer | bab70a1a1dd06f35ba0fb2418765fadb5cab2a17 | [
"MIT"
] | 2 | 2021-04-27T02:44:31.000Z | 2021-06-10T08:29:49.000Z | 720Core/Logger.cpp | imengyu/720PanoramaViewer | bab70a1a1dd06f35ba0fb2418765fadb5cab2a17 | [
"MIT"
] | null | null | null | 720Core/Logger.cpp | imengyu/720PanoramaViewer | bab70a1a1dd06f35ba0fb2418765fadb5cab2a17 | [
"MIT"
] | 1 | 2021-09-07T11:31:07.000Z | 2021-09-07T11:31:07.000Z | #include "Logger.h"
#include "CStringHlp.h"
#include "720Core.h"
#include <ctime>
using namespace std;
#undef LogError2
#undef LogWarn2
#undef LogInfo2
#undef Log2
Logger* globalStaticLogger = nullptr;
void LoggerInternal::InitConst() { globalStaticLogger = new LoggerInternal(L"App"); }
void LoggerInternal::Destr... | 26.734783 | 159 | 0.721581 | imengyu |
7dcfc29ce50fc95177da56fffa01b77e75cb4225 | 34,825 | cpp | C++ | src/add-ons/accelerants/radeon_hd/display.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/add-ons/accelerants/radeon_hd/display.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/add-ons/accelerants/radeon_hd/display.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2006-2013, Haiku, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Alexander von Gluck, kallisti5@unixzen.com
* Bill Randle, billr@neocat.org
*/
/*
* It's dangerous to go alone, take this!
* framebuffer -> crtc -> encoder -> transmitter -> connector -> ... | 30.361813 | 78 | 0.724652 | Kirishikesan |
7dd2919f15af955fbc9110ac596633082ae5fa40 | 360 | cpp | C++ | utils/printVector.cpp | juangl/random-algorithms | 0d5a934e8a3d23c410f6e72fb57ad5cb67d519da | [
"MIT"
] | 1 | 2019-01-12T23:58:23.000Z | 2019-01-12T23:58:23.000Z | utils/printVector.cpp | juangl/random-algorithms | 0d5a934e8a3d23c410f6e72fb57ad5cb67d519da | [
"MIT"
] | null | null | null | utils/printVector.cpp | juangl/random-algorithms | 0d5a934e8a3d23c410f6e72fb57ad5cb67d519da | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
template <class T>
void printVector(const T& vec) {
for (int i = 0; i < vec.size(); i++) {
cout << vec[i];
if (i != vec.size() - 1) {
cout << ", ";
}
}
cout << endl;
}
template <class T>
void printIter(const T& vec) {
for (const auto& e : vec) {
... | 15.652174 | 40 | 0.508333 | juangl |
7dd330da723c44ad111558e0d9e26ce2ee04919b | 487 | cpp | C++ | test/language/expressions/cpp/FloatTypeTest.cpp | PeachOS/zserio | ea01f6906c125a6baab7e8ed865eeb08cd46c37c | [
"BSD-3-Clause"
] | 2 | 2019-02-06T17:50:24.000Z | 2019-11-20T16:51:34.000Z | test/language/expressions/cpp/FloatTypeTest.cpp | PeachOS/zserio | ea01f6906c125a6baab7e8ed865eeb08cd46c37c | [
"BSD-3-Clause"
] | 1 | 2019-11-25T16:25:51.000Z | 2019-11-25T18:09:39.000Z | test/language/expressions/cpp/FloatTypeTest.cpp | PeachOS/zserio | ea01f6906c125a6baab7e8ed865eeb08cd46c37c | [
"BSD-3-Clause"
] | null | null | null | #include "math.h"
#include "gtest/gtest.h"
#include "expressions/float_type/FloatTypeExpression.h"
namespace expressions
{
namespace float_type
{
TEST(FloatTypeTest, result)
{
FloatTypeExpression floatTypeExpression;
const float floatValue = 15.0;
floatTypeExpression.setFloatValue(floatValue);
cons... | 20.291667 | 61 | 0.737166 | PeachOS |
7dd54c8d9c7f6ef4156ffc7006c10936f187e60a | 328 | cpp | C++ | source/Item22_11/main.cpp | hakobyankhachatur/Scott-Meyers-Effective-Modern-C- | 41e78619b9622ef7f01746fdebadb5e1da005157 | [
"MIT"
] | null | null | null | source/Item22_11/main.cpp | hakobyankhachatur/Scott-Meyers-Effective-Modern-C- | 41e78619b9622ef7f01746fdebadb5e1da005157 | [
"MIT"
] | null | null | null | source/Item22_11/main.cpp | hakobyankhachatur/Scott-Meyers-Effective-Modern-C- | 41e78619b9622ef7f01746fdebadb5e1da005157 | [
"MIT"
] | null | null | null | #include <iostream>
#include "Widget.h"
int main() {
std::cout << "Hello, World!" << std::endl;
std::shared_ptr<Widget> p1(new Widget);
std::cout<<p1.use_count()<<std::endl;
std::shared_ptr<Widget> p2(p1);
std::cout<<p1.use_count()<<std::endl;
std::cout<<p2.use_count()<<std::endl;
retu... | 18.222222 | 46 | 0.594512 | hakobyankhachatur |
7dd8063423dfb331deaeb05626cca1af90f76db3 | 1,058 | cc | C++ | geometry/visualization/visualize_nullspace_demo.cc | jpanikulam/experiments | be36319a89f8baee54d7fa7618b885edb7025478 | [
"MIT"
] | 1 | 2019-04-14T11:40:28.000Z | 2019-04-14T11:40:28.000Z | geometry/visualization/visualize_nullspace_demo.cc | IJDykeman/experiments-1 | 22badf166b2ea441e953939463f751020b8c251b | [
"MIT"
] | 5 | 2018-04-18T13:54:29.000Z | 2019-08-22T20:04:17.000Z | geometry/visualization/visualize_nullspace_demo.cc | IJDykeman/experiments-1 | 22badf166b2ea441e953939463f751020b8c251b | [
"MIT"
] | 1 | 2018-12-24T03:45:47.000Z | 2018-12-24T03:45:47.000Z | #include "eigen.hh"
#include "geometry/visualization/visualize_nullspace.hh"
#include "viewer/primitives/simple_geometry.hh"
#include "viewer/window_3d.hh"
namespace geometry {
namespace visualization {
using Vec3 = Eigen::Vector3d;
void go() {
const auto view = viewer::get_window3d("Mr. Demo");
view->set_targ... | 27.128205 | 88 | 0.660681 | jpanikulam |
7ddbfacb89354b289ede7f6dd88e02e9cdcf382a | 2,043 | hpp | C++ | include/locic/AST/PredicateDecl.hpp | scross99/locic | a24bb380e17f8af69e7389acf8ce354c91a2abf3 | [
"MIT"
] | 80 | 2015-02-19T21:38:57.000Z | 2016-05-25T06:53:12.000Z | include/locic/AST/PredicateDecl.hpp | scross99/locic | a24bb380e17f8af69e7389acf8ce354c91a2abf3 | [
"MIT"
] | 8 | 2015-02-20T09:47:20.000Z | 2015-11-13T07:49:17.000Z | include/locic/AST/PredicateDecl.hpp | scross99/locic | a24bb380e17f8af69e7389acf8ce354c91a2abf3 | [
"MIT"
] | 6 | 2015-02-20T11:26:19.000Z | 2016-04-13T14:30:39.000Z | #ifndef LOCIC_AST_PREDICATEDECL_HPP
#define LOCIC_AST_PREDICATEDECL_HPP
#include <string>
#include <locic/AST/Node.hpp>
#include <locic/AST/Symbol.hpp>
#include <locic/Support/String.hpp>
namespace locic {
namespace AST {
struct TypeDecl;
class PredicateDecl {
public:
enum Kind {
TRUE,
... | 20.636364 | 84 | 0.639256 | scross99 |
7de09a8863662ed3a96921dc1216de15d6dd9b56 | 593 | cpp | C++ | src/SML.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | 1 | 2020-10-08T09:31:54.000Z | 2020-10-08T09:31:54.000Z | src/SML.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | null | null | null | src/SML.cpp | aceoyale/SML | 513d60be40f1e2629b4475cfdf1b4913c1a5154a | [
"MIT"
] | null | null | null | #include <iostream>
#include <math.h>
#include "SMLMath.h"
#include "SMLMat1x3.h"
#include "SMLMat3x1.h"
#include "SMLMat4x4.h"
#include "SMLDef.h"
#include "SMLFunc.h"
int main()
{
Vector a(1.345, 1.23, 3.556);
SML::Vector b(2.145, 7.089, 0.0000156);
SML::Vector result(a + b);
Vector subresult(a - b);
std::cout... | 25.782609 | 83 | 0.598651 | aceoyale |
7de8e5b6d911a85db251431e73407508ac656775 | 95,740 | cpp | C++ | openbabel-2.4.1/src/formats/xml/cmlformat.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | 1 | 2017-09-16T07:36:29.000Z | 2017-09-16T07:36:29.000Z | openbabel-2.4.1/src/formats/xml/cmlformat.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | null | null | null | openbabel-2.4.1/src/formats/xml/cmlformat.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | null | null | null | /**********************************************************************
Copyright (C) 2005 by Chris Morley
Some portions Copyright (C) 2006 by Geoffrey R. Hutchison
This file is part of the Open Babel project.
For more information, see <http://openbabel.org/>
This program is free software; you can redistribute it and... | 39.742632 | 129 | 0.553823 | sxhexe |
7de9e2dfb07f68c7edf63741cba4d4dcb53ce302 | 1,018 | cpp | C++ | inference-engine/src/inference_engine/builders/ie_output_layer_layer.cpp | fujunwei/dldt | 09497b7724de4be92629f7799b8538b483d809a2 | [
"Apache-2.0"
] | 1 | 2021-07-30T17:03:50.000Z | 2021-07-30T17:03:50.000Z | inference-engine/src/inference_engine/builders/ie_output_layer_layer.cpp | fujunwei/dldt | 09497b7724de4be92629f7799b8538b483d809a2 | [
"Apache-2.0"
] | null | null | null | inference-engine/src/inference_engine/builders/ie_output_layer_layer.cpp | fujunwei/dldt | 09497b7724de4be92629f7799b8538b483d809a2 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <builders/ie_output_layer.hpp>
#include <string>
using namespace InferenceEngine;
Builder::OutputLayer::OutputLayer(const std::string& name): LayerDecorator("Output", name) {
getLayer()->getInputPorts().resize(1);
}
... | 26.789474 | 106 | 0.717092 | fujunwei |
8fbb8e224adec7c19b35abc8842255960b940af2 | 18,000 | cpp | C++ | src_main/materialsystem/shaderapidx9/d3d_async.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 25 | 2018-02-28T15:04:42.000Z | 2021-08-16T03:49:00.000Z | src_main/materialsystem/shaderapidx9/d3d_async.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 1 | 2019-09-20T11:06:03.000Z | 2019-09-20T11:06:03.000Z | src_main/materialsystem/shaderapidx9/d3d_async.cpp | ArcadiusGFN/SourceEngine2007 | 51cd6d4f0f9ed901cb9b61456eb621a50ce44f55 | [
"bzip2-1.0.6"
] | 9 | 2019-07-31T11:58:20.000Z | 2021-08-31T11:18:15.000Z | // Copyright © 1996-2018, Valve Corporation, All rights reserved.
//
// Purpose: Methods for muti-core dx9 threading
#include "d3d_async.h"
#include <cstdlib>
#include "ShaderAPIDX8_Global.h"
#include "UtlDict.h"
#include "UtlStringMap.h"
#include "UtlVector.h"
#include "base/include/windows/windows_light.h"
#include... | 30.821918 | 80 | 0.618778 | ArcadiusGFN |