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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b9f20b4d75a9a3f7488a03c24289550eaeb5344 | 4,014 | cpp | C++ | src/test/MatrixSlicerSquarifiedTest.cpp | mp13on11/dwarf_mine | e9c83e8d50d5a23670a45bfd174475f7f383a709 | [
"MIT"
] | 2 | 2015-11-06T03:18:28.000Z | 2016-06-29T07:43:10.000Z | src/test/MatrixSlicerSquarifiedTest.cpp | mp13on11/dwarf_mine | e9c83e8d50d5a23670a45bfd174475f7f383a709 | [
"MIT"
] | null | null | null | src/test/MatrixSlicerSquarifiedTest.cpp | mp13on11/dwarf_mine | e9c83e8d50d5a23670a45bfd174475f7f383a709 | [
"MIT"
] | null | null | null | /*****************************************************************************
* Dwarf Mine - The 13-11 Benchmark
*
* Copyright (c) 2013 Bünger, Thomas; Kieschnick, Christian; Kusber,
* Michael; Lohse, Henning; Wuttke, Nikolai; Xylander, Oliver; Yao, Gary;
* Zimmermann, Florian
*
* Permission is hereby granted, free of... | 34.016949 | 127 | 0.622571 | mp13on11 |
4ba648fbff3e4f2cfb1f3932ec829a3dd136f4bc | 1,642 | cpp | C++ | Online Judges/LightOJ/1044 - Palindrome Partitioning.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/LightOJ/1044 - Palindrome Partitioning.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null | Online Judges/LightOJ/1044 - Palindrome Partitioning.cpp | akazad13/competitive-programming | 5cbb67d43ad8d5817459043bcccac3f68d9bc688 | [
"MIT"
] | null | null | null |
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
#define rep(i,p,n) for( i = p; i<n;i++)
#define lld long long int
#define Clear(a,b) memset(a,b,sizeof(a))
template<class T>inline bool read(T &x) {
int c=getchar();
int sgn=1;
while(~c&&c<'0'||c>'9') {
if(c=='-')sgn=-1;
c=... | 18.244444 | 82 | 0.416565 | akazad13 |
4baa81884e5b02233b0d352b352d4759631cd839 | 3,258 | cpp | C++ | sdl2/lib/sdl2/sdl-display.cpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | 1 | 2021-01-10T16:06:02.000Z | 2021-01-10T16:06:02.000Z | sdl2/lib/sdl2/sdl-display.cpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | null | null | null | sdl2/lib/sdl2/sdl-display.cpp | leocov-dev/lc-esp32-sprinkler | 816d06bbe7d3a30b8d3d79167dc1b3481ee4261b | [
"MIT"
] | null | null | null | #include "sdl-display.hpp"
#include <SDL.h>
#include <SDL2_gfxPrimitives.h>
#include <iostream>
#include "sdl-constants.hpp"
#include "sdl-utils.hpp"
#include "sdl-window-icon.hpp"
sprinkler::sdl::SDLDisplay::SDLDisplay(int height, int width, gfx::Point position)
: Display(width, height) {
window_ = std::uniq... | 36.2 | 97 | 0.645795 | leocov-dev |
4baaf8e374e98d7b5b1f671305d80b1b78af8432 | 5,490 | hpp | C++ | include/sph/kernel/computeFindNeighbors.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 14 | 2019-03-18T12:51:43.000Z | 2021-11-09T14:40:36.000Z | include/sph/kernel/computeFindNeighbors.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 41 | 2019-10-08T19:53:55.000Z | 2021-11-23T06:56:03.000Z | include/sph/kernel/computeFindNeighbors.hpp | j-piccinali/SPH-EXA_mini-app | c3ba4d37f2edf433710d5c0bc2362ec35e75df32 | [
"MIT"
] | 8 | 2019-06-20T07:11:52.000Z | 2021-10-05T13:44:07.000Z | #pragma once
#include "../cuda/cudaParticlesData.cuh"
#include "../lookupTables.hpp"
namespace sphexa
{
namespace sph
{
namespace cuda
{
template <typename T>
__global__ void findNeighbors(const cuda::DeviceLinearOctree<T> o, const int *clist, const int n, const T *x, const T *y, const T *z, const T *h, const T dis... | 34.099379 | 223 | 0.517851 | j-piccinali |
4bb5a22c79868f775c5e12e9707b821393065021 | 730 | hpp | C++ | include/scene/attachments/light.hpp | AttilioProvenzano/goma-engine | fc61e4e3db2868a70ef0b8b7b21c5fd3b1a37100 | [
"MIT"
] | 41 | 2019-05-22T17:13:14.000Z | 2021-02-25T08:15:24.000Z | include/scene/attachments/light.hpp | AttilioProvenzano/goma-engine | fc61e4e3db2868a70ef0b8b7b21c5fd3b1a37100 | [
"MIT"
] | 2 | 2019-05-08T21:59:12.000Z | 2019-05-16T21:41:13.000Z | include/scene/attachments/light.hpp | AttilioProvenzano/goma-engine | fc61e4e3db2868a70ef0b8b7b21c5fd3b1a37100 | [
"MIT"
] | 1 | 2019-07-03T01:21:35.000Z | 2019-07-03T01:21:35.000Z | #pragma once
#include "common/include.hpp"
namespace goma {
enum LightType {
Directional = 0,
Point = 1,
Spot = 2,
Ambient = 3,
Area = 4,
};
struct Light {
std::string name;
LightType type{LightType::Directional};
glm::vec3 position{glm::vec3(0.0f)};
glm::vec3 direction{0.0f, 0.... | 20.857143 | 55 | 0.620548 | AttilioProvenzano |
4bb5fa850538954aba44c2cf2cda75340f07e363 | 3,283 | cpp | C++ | graph.cpp | VishalGupta0609/algorithms | 1dd704a8e8c8e96aeaa43928258e806da3192a6c | [
"MIT"
] | 2 | 2020-10-28T15:02:41.000Z | 2021-10-02T13:18:24.000Z | graph.cpp | VishalGupta0609/algorithms | 1dd704a8e8c8e96aeaa43928258e806da3192a6c | [
"MIT"
] | 4 | 2020-10-07T05:59:13.000Z | 2021-10-02T08:01:27.000Z | graph.cpp | VishalGupta0609/algorithms | 1dd704a8e8c8e96aeaa43928258e806da3192a6c | [
"MIT"
] | 51 | 2020-10-01T03:07:30.000Z | 2021-10-05T16:25:22.000Z | #include<iostream>
using namespace std;
int main()
{
int i,j;
int cost; //weight of edge
//defining number of vertices
int n;
cout<<"Enter the number of vertices you want in the graph ";
cin>>n;
//declaring an array that contain all the vertices
int vertices[n];
fo... | 20.778481 | 117 | 0.52452 | VishalGupta0609 |
4bbe941222c19d19578cb80c2be64541790b7b9f | 1,889 | cpp | C++ | src/utility.cpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | src/utility.cpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | src/utility.cpp | ishansheth/ArkanoidGame | 81a6e48ef8ebb32dd19bbb18aeb0d95e7a1cd4d5 | [
"MIT"
] | null | null | null | #include "utility.hpp"
template<typename T1,typename T2>
bool isIntersecting(const T1& mA,const T2& mB)
{
return ((mA.right() >= mB.left())
&& (mA.left() <= mB.right())
&& (mA.bottom() >= mB.top())
&& (mA.top() <= mB.bottom()));
}
void solvePaddleBallCollision(const Paddle& mpaddle, Ball& mball) noexcept
{
if... | 29.984127 | 133 | 0.676019 | ishansheth |
4bc016ea50ad0250bbe3cda56d071c552c8601db | 677 | cpp | C++ | src/main.cpp | Danduriel/rocky2 | 1a4441957c00de5f0f457a452398b68a00c9bea4 | [
"MIT"
] | null | null | null | src/main.cpp | Danduriel/rocky2 | 1a4441957c00de5f0f457a452398b68a00c9bea4 | [
"MIT"
] | null | null | null | src/main.cpp | Danduriel/rocky2 | 1a4441957c00de5f0f457a452398b68a00c9bea4 | [
"MIT"
] | null | null | null | #include "engine.h"
#include "helper.h"
// Add only very first state game should jump into
#include "teststate.h"
#include "menustate.h"
#include "playstate.h"
int main()
{
//Instance of game engine (Holds the sfml screen)
engine game;
//Mainly to initialise the sf::window
game.init(1280,800,"Rocky ... | 18.805556 | 73 | 0.624815 | Danduriel |
4bc8eeb76fabe9f3cb2260af163788f89cc37a42 | 673 | cpp | C++ | pg_answer/0b8da730c9ad43f093ea1f3b7f40e424.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | 8 | 2019-10-09T14:33:42.000Z | 2020-12-03T00:49:29.000Z | pg_answer/0b8da730c9ad43f093ea1f3b7f40e424.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | pg_answer/0b8da730c9ad43f093ea1f3b7f40e424.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | #include <iostream>
int sumOfFactor(int x) {
constexpr int MAX{100001};
static int saved[MAX]{};
if (x < MAX && saved[x] != 0) {
return saved[x];
}
int sum{1};
for (int i{2}; i * i <= x; i++) {
if (x % i == 0) {
sum += i;
if (i * i != x) {
... | 19.794118 | 55 | 0.36107 | Guyutongxue |
4bc8fab1a0c2d8b5300f554025e93423e72c2c11 | 518 | cpp | C++ | Machines/dealer-ring-party.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | Machines/dealer-ring-party.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | Machines/dealer-ring-party.cpp | triplewz/MP-SPDZ | a858e5b440902ec25dbb97c555eef35e12fbf69c | [
"BSD-2-Clause"
] | null | null | null | /*
* dealer-ring-party.cpp
*
*/
#include "Protocols/DealerShare.h"
#include "Protocols/DealerInput.h"
#include "Processor/RingMachine.hpp"
#include "Processor/Machine.hpp"
#include "Protocols/Replicated.hpp"
#include "Protocols/DealerPrep.hpp"
#include "Protocols/DealerInput.hpp"
#include "Protocols/DealerMC.hpp"
... | 22.521739 | 75 | 0.754826 | triplewz |
4bcf0831bf1af81ed822869ddd24a1b5816e4e1c | 447 | cpp | C++ | leetcodes/MinClimingStairs.cpp | DaechurJeong/Private_Proj | 66eec4d22372166af7f7643a9b1307ca7e5ce21a | [
"MIT"
] | null | null | null | leetcodes/MinClimingStairs.cpp | DaechurJeong/Private_Proj | 66eec4d22372166af7f7643a9b1307ca7e5ce21a | [
"MIT"
] | null | null | null | leetcodes/MinClimingStairs.cpp | DaechurJeong/Private_Proj | 66eec4d22372166af7f7643a9b1307ca7e5ce21a | [
"MIT"
] | 2 | 2020-04-21T23:52:31.000Z | 2020-04-24T13:37:28.000Z | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
int minCostClimbingStairs(vector<int>& cost) {
int n = cost.size();
vector<int> dp(n);
dp[0] = cost[0], dp[1] = cost[1];
for (int i = 2; i < n; ++i)
{
dp[i] = min(dp[i - 1], dp[i - 2]) + cost[i];
}
return min(dp[n - 1], dp[n - 2]);
}... | 17.88 | 47 | 0.583893 | DaechurJeong |
4bd1184aa998e4637545a1c355d3de860a293a6a | 1,788 | cpp | C++ | backtracking/solve-sudoku.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | backtracking/solve-sudoku.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | backtracking/solve-sudoku.cpp | Nilesh-Das/mustdogfg | bb39fe6eb9dd4964f97a7ab6d4e65e4c3994fc3f | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cassert>
using namespace std;
class Solution {
public:
void print(vector<vector<char>>& board) {
for(int i = 0; i < 9; i++) {
for(int j = 0; j < 9; j++) {
cout << board[i][j] << ' ';
}
cout << '\n';
... | 28.380952 | 70 | 0.342841 | Nilesh-Das |
4bdf207a97258c246beae0a7edc6cc9a3a626f60 | 744 | hpp | C++ | ECS/includes/Event.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:00.000Z | 2020-12-23T15:31:59.000Z | ECS/includes/Event.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | null | null | null | ECS/includes/Event.hpp | LiardeauxQ/r-type | 8a77164c276b2d5958cd3504a9ea34f1cf6823cf | [
"MIT"
] | 2 | 2020-02-12T12:02:03.000Z | 2020-12-23T15:32:55.000Z | //
// Created by Quentin Liardeaux on 11/19/19.
//
#ifndef R_TYPE_IEVENT_HPP
#define R_TYPE_IEVENT_HPP
#include <string>
#include <functional>
#include <any>
using namespace std;
namespace ecs {
class Event {
public:
Event(string const &type, any value);
Event(const Event &other);
Ev... | 20.666667 | 75 | 0.620968 | LiardeauxQ |
4be18c82bc402d7e5e2dda622c69e28d8abac806 | 558 | cpp | C++ | test/tasks.cpp | CNR-STIIMA-IRAS/realtime_utilities | 5500b4221ebab92d33b0f1dc7192da8a815b5998 | [
"Apache-2.0"
] | null | null | null | test/tasks.cpp | CNR-STIIMA-IRAS/realtime_utilities | 5500b4221ebab92d33b0f1dc7192da8a815b5998 | [
"Apache-2.0"
] | 1 | 2021-02-24T15:51:52.000Z | 2021-02-24T15:51:52.000Z | test/tasks.cpp | CNR-STIIMA-IRAS/realtime_utilities | 5500b4221ebab92d33b0f1dc7192da8a815b5998 | [
"Apache-2.0"
] | 1 | 2019-12-17T00:42:54.000Z | 2019-12-17T00:42:54.000Z | #include <iostream>
#include <functional>
#include "realtime_utilities/parallel_computing.h"
int main(int argc, char* argv[])
{
auto function = [](int a) -> int
{
std::cout << "inside: " << a * 10 << std::endl;
return a*10;
};
realtime_utilities::tasks tasks;
std::vector< std::future<int> > res;
... | 16.909091 | 51 | 0.577061 | CNR-STIIMA-IRAS |
4beb6c64baf73a10fe3276a7f04d32df4c6d1d5f | 41 | hpp | C++ | src/boost_config_platform_vms.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_config_platform_vms.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_config_platform_vms.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/config/platform/vms.hpp>
| 20.5 | 40 | 0.780488 | miathedev |
4bf7ea3678948cc7b1420406fcee92633bdc1742 | 6,315 | cpp | C++ | src/v1/sqlitestatement.cpp | studiofuga/mSqliteCpp | d557d089bef57fd2ec5ece54d79ca8c34fbc6aca | [
"BSD-3-Clause"
] | 3 | 2018-06-25T20:02:26.000Z | 2021-07-08T09:38:33.000Z | src/v1/sqlitestatement.cpp | studiofuga/mSqliteCpp | d557d089bef57fd2ec5ece54d79ca8c34fbc6aca | [
"BSD-3-Clause"
] | 13 | 2018-05-05T09:38:39.000Z | 2021-03-17T11:48:07.000Z | src/v1/sqlitestatement.cpp | studiofuga/mSqliteCpp | d557d089bef57fd2ec5ece54d79ca8c34fbc6aca | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Federico Fuga on 16/12/17.
//
#include "msqlitecpp/v1/sqlitestatement.h"
using namespace sqlite;
struct sqlite::SQLiteStatement::Impl {
std::weak_ptr<SQLiteStorage> mDb;
sqlite3_stmt *stmt = nullptr;
};
sqlite::SQLiteStatement::SQLiteStatement()
{
}
sqlite::SQLiteStatement::SQLiteStateme... | 25.566802 | 118 | 0.674426 | studiofuga |
ef042e8b371aad1b5c30e9b16df40b0c48210aad | 2,630 | cpp | C++ | updater/src/Extractor.cpp | debugzxcv/unnamed-sdvx-clone | ceedc21666b2597551324714b536d2478a584200 | [
"MIT"
] | null | null | null | updater/src/Extractor.cpp | debugzxcv/unnamed-sdvx-clone | ceedc21666b2597551324714b536d2478a584200 | [
"MIT"
] | null | null | null | updater/src/Extractor.cpp | debugzxcv/unnamed-sdvx-clone | ceedc21666b2597551324714b536d2478a584200 | [
"MIT"
] | null | null | null | #include "Extractor.hpp"
#include <iostream>
#include <stdexcept>
#include "archive.h"
#include "archive_entry.h"
void Extractor::Extract(const std::string_view data)
{
struct archive* src = CreateRead(data);
struct archive* dst = CreateDiskWrite();
try
{
CopyArchive(src, dst);
}
catch (...)
{
archive_re... | 21.209677 | 88 | 0.70038 | debugzxcv |
ef057c271c7c3e886c6e16f0050b8190a0e3ba37 | 7,451 | cpp | C++ | YAX/src/Vector4.cpp | Swillis57/YAX | cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e | [
"MS-PL"
] | 1 | 2015-01-29T01:58:56.000Z | 2015-01-29T01:58:56.000Z | YAX/src/Vector4.cpp | Swillis57/YAX | cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e | [
"MS-PL"
] | 1 | 2015-03-27T11:21:08.000Z | 2015-03-27T11:21:08.000Z | YAX/src/Vector4.cpp | Swillis57/YAX | cc366b99af9bbce1d1a3a3580fad9f6c50bbfb4e | [
"MS-PL"
] | null | null | null | #include "Vector4.h"
#include "Matrix.h"
#include "MathHelper.h"
#include "Quaternion.h"
#include "Vector2.h"
#include "Vector3.h"
namespace YAX
{
const Vector4 One = Vector4(1, 1, 1, 1);
const Vector4 UnitX = Vector4(1, 0, 0, 0);
const Vector4 UnitY = Vector4(0, 1, 0, 0);
const Vector4 UnitZ = Vector4(0, 0, 1, 0... | 23.357367 | 152 | 0.610522 | Swillis57 |
ef086a03619f9cb0f6fcd0eef3e57c5dcc570252 | 2,494 | cpp | C++ | CGImysql/sql_connection_pool.cpp | luanshaaa/http-WebServer | 0cf64b5e7c9d41325148b6aa398d6bcec448b76b | [
"Apache-2.0"
] | 1 | 2021-09-20T01:26:51.000Z | 2021-09-20T01:26:51.000Z | CGImysql/sql_connection_pool.cpp | luanshaaa/http-WebServer | 0cf64b5e7c9d41325148b6aa398d6bcec448b76b | [
"Apache-2.0"
] | null | null | null | CGImysql/sql_connection_pool.cpp | luanshaaa/http-WebServer | 0cf64b5e7c9d41325148b6aa398d6bcec448b76b | [
"Apache-2.0"
] | null | null | null | //
// sql_connection_pool.cpp
//
//
// Created by apple on 8/18/21.
//
#include <stdio.h>
connection_pool::connection_pool()
{
this->CurConn=0;
this->FreeConn=0;
}
//RAII机制销毁连接池
connection_pool::~connection_pool()
{
DestroyPool();
}
//构造初始化
void connection_pool::init(string url, string User,string P... | 17.56338 | 114 | 0.556937 | luanshaaa |
ef0eac238d569447382aa06fe75a6fa29ba0979b | 3,588 | cc | C++ | src/solv_simple/restarts.cc | nerdling/SBSAT | 6328c6aa105b75693d06bf0dae4a3b5ca220318b | [
"Unlicense"
] | 4 | 2015-03-08T07:56:29.000Z | 2017-10-12T04:19:27.000Z | src/solv_simple/restarts.cc | nerdling/SBSAT | 6328c6aa105b75693d06bf0dae4a3b5ca220318b | [
"Unlicense"
] | null | null | null | src/solv_simple/restarts.cc | nerdling/SBSAT | 6328c6aa105b75693d06bf0dae4a3b5ca220318b | [
"Unlicense"
] | null | null | null | /* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */
/*********************************************************************
Copyright 1999-2007, University of Cincinnati. All rights reserved.
By using this software the USER indicates that he or she has read,
understood and will comply with the f... | 29.652893 | 76 | 0.698997 | nerdling |
ef1232f9fdd43727761e20d6f30d761879cc5982 | 8,361 | cpp | C++ | lab1/debug-exercise/abc.cpp | karl97/KompilatorerLabbz | 761f0536582050cb245972f6fd9a612e8d1a570f | [
"Apache-2.0"
] | null | null | null | lab1/debug-exercise/abc.cpp | karl97/KompilatorerLabbz | 761f0536582050cb245972f6fd9a612e8d1a570f | [
"Apache-2.0"
] | null | null | null | lab1/debug-exercise/abc.cpp | karl97/KompilatorerLabbz | 761f0536582050cb245972f6fd9a612e8d1a570f | [
"Apache-2.0"
] | null | null | null | // ------------------------------------------
// File abc.cc
// ------------------------------------------
#include <string>
#include "a.h"
#include "abscissa.h"
#include "absurdum.h"
#include "ack.h"
#include "abc.h"
// ------------------------------------------
int* allafall(int fasa, std::string* fast) {
if (... | 35.88412 | 70 | 0.625045 | karl97 |
ef16aac990f3496622a597797813a9656f0b37bc | 5,236 | hpp | C++ | src/modules/flight_mode_manager/tasks/AutoLineSmoothVel/FlightTaskAutoLineSmoothVel.hpp | CQBIT/Firmware | 6a60fba96de255134ac0e021cd1f31c67be95d74 | [
"BSD-3-Clause"
] | 1 | 2020-05-29T01:05:18.000Z | 2020-05-29T01:05:18.000Z | src/modules/flight_mode_manager/tasks/AutoLineSmoothVel/FlightTaskAutoLineSmoothVel.hpp | ZMurphyy/Firmware | 177fe4bade08440a0ae2c2679d5972b8e316ec66 | [
"BSD-3-Clause"
] | null | null | null | src/modules/flight_mode_manager/tasks/AutoLineSmoothVel/FlightTaskAutoLineSmoothVel.hpp | ZMurphyy/Firmware | 177fe4bade08440a0ae2c2679d5972b8e316ec66 | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. 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. Redistri... | 41.888 | 98 | 0.750955 | CQBIT |
ef16cf8fd5324c621648102564497d8f3c41a9ed | 5,430 | hpp | C++ | packages/monte_carlo/collision/photon/src/MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 10 | 2019-11-14T19:58:30.000Z | 2021-04-04T17:44:09.000Z | packages/monte_carlo/collision/photon/src/MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 43 | 2020-03-03T19:59:20.000Z | 2021-09-08T03:36:08.000Z | packages/monte_carlo/collision/photon/src/MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp | bam241/FRENSIE | e1760cd792928699c84f2bdce70ff54228e88094 | [
"BSD-3-Clause"
] | 6 | 2020-02-12T17:37:07.000Z | 2020-09-08T18:59:51.000Z | //---------------------------------------------------------------------------//
//!
//! \file MonteCarlo_LineEnergyAdjointPhotonScatteringDistribution.hpp
//! \author Alex Robinson
//! \brief The line energy adjoint photon scattering distribution
//!
//----------------------------------------------------------------... | 37.972028 | 96 | 0.666667 | bam241 |
fa9c08682ab4562d2f3186a7d07ce0213167c122 | 1,019 | cpp | C++ | BrickEngine/src/BrickEngine/Renderer/IndexBuffer.cpp | HomelikeBrick42/BrickEngine-4.0 | d0697ea42f604c7d9b685ef0baae96f286121431 | [
"Apache-2.0"
] | null | null | null | BrickEngine/src/BrickEngine/Renderer/IndexBuffer.cpp | HomelikeBrick42/BrickEngine-4.0 | d0697ea42f604c7d9b685ef0baae96f286121431 | [
"Apache-2.0"
] | null | null | null | BrickEngine/src/BrickEngine/Renderer/IndexBuffer.cpp | HomelikeBrick42/BrickEngine-4.0 | d0697ea42f604c7d9b685ef0baae96f286121431 | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "IndexBuffer.h"
#include "BrickEngine/Renderer/Renderer.h"
#include "BrickEngine/Renderer/OpenGL/OpenGLIndexBuffer.h"
namespace BrickEngine {
Ref<IndexBuffer> IndexBuffer::Create(uint32_t* data, uint32_t count)
{
switch (Renderer::GetAPI())
{
case RendererAPI::Unknown:
BRIC... | 25.475 | 74 | 0.727184 | HomelikeBrick42 |
fa9e47e09c98884d7591635221c32e60480fc583 | 1,475 | cc | C++ | src/ipm/ipx/src/lu_update.cc | chrhansk/HiGHS | 311aa8571925ed23c952687569dbe7207e542e0a | [
"MIT"
] | 241 | 2018-03-27T15:04:14.000Z | 2022-03-31T14:44:18.000Z | src/ipm/ipx/src/lu_update.cc | chrhansk/HiGHS | 311aa8571925ed23c952687569dbe7207e542e0a | [
"MIT"
] | 384 | 2018-03-28T10:34:36.000Z | 2022-03-31T20:19:37.000Z | src/ipm/ipx/src/lu_update.cc | chrhansk/HiGHS | 311aa8571925ed23c952687569dbe7207e542e0a | [
"MIT"
] | 54 | 2018-04-28T22:43:19.000Z | 2022-03-31T14:44:22.000Z | #include "lu_update.h"
namespace ipx {
Int LuUpdate::Factorize(const Int* Bbegin, const Int* Bend, const Int* Bi,
const double* Bx, bool strict_abs_pivottol) {
updates_ = 0;
return _Factorize(Bbegin, Bend, Bi, Bx, strict_abs_pivottol);
}
void LuUpdate::GetFactors(SparseMatrix* L, Spar... | 23.412698 | 75 | 0.667797 | chrhansk |
faa5d9282dc24eadd8aae59ebd3c2e9246bd15c0 | 4,151 | cpp | C++ | data_structures/hash_table/separate_chaining/separate_chaining_hash.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 24 | 2017-12-21T13:57:34.000Z | 2021-12-08T01:12:32.000Z | data_structures/hash_table/separate_chaining/separate_chaining_hash.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 28 | 2018-11-01T23:34:08.000Z | 2019-10-07T17:42:54.000Z | data_structures/hash_table/separate_chaining/separate_chaining_hash.cpp | kruztev/FMI-DSA | f509dba6cd95792ec9c4c9ad55620a3dc06c6602 | [
"MIT"
] | 4 | 2018-04-24T19:28:51.000Z | 2020-07-19T14:06:23.000Z | /*******************************************************************************
* This file is part of the "Data structures and algorithms" course. FMI 2018/19
*******************************************************************************/
/**
* @file separate_chaining_hash.cpp
* @author Ivan Filipov
* @date... | 31.210526 | 88 | 0.626596 | kruztev |
faa9b5e2ca6265b83fed3b5e28a84cbeab16945d | 1,482 | cpp | C++ | android-31/android/service/quickaccesswallet/GetWalletCardsError.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/service/quickaccesswallet/GetWalletCardsError.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-31/android/service/quickaccesswallet/GetWalletCardsError.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../graphics/drawable/Icon.hpp"
#include "../../os/Parcel.hpp"
#include "../../../JString.hpp"
#include "./GetWalletCardsError.hpp"
namespace android::service::quickaccesswallet
{
// Fields
JObject GetWalletCardsError::CREATOR()
{
return getStaticObjectField(
"android.service.quickaccesswallet.GetW... | 23.52381 | 95 | 0.709177 | YJBeetle |
faaa9caa847f6b6550e85973e7bd6200b3e87ccc | 314 | cpp | C++ | UVA10812.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | 17 | 2015-12-08T18:50:03.000Z | 2022-03-16T01:23:20.000Z | UVA10812.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | null | null | null | UVA10812.cpp | MaSteve/UVA-problems | 3a240fcca02e24a9c850b7e86062f8581df6f95f | [
"MIT"
] | 6 | 2017-04-04T18:16:23.000Z | 2020-06-28T11:07:22.000Z | #include <cstdio>
using namespace std;
int main() {
int cases;
scanf("%d", &cases);
for (int i = 0; i < cases; i++) {
long long s, d, r1, r2;
scanf("%lld %lld", &s, &d);
r1 = (s+d)/2;
r2 = s-r1;
if (r2 >=0 && r1 - r2 == d) printf("%lld %lld\n", r1, r2);
else printf("impossible\n");
}
return 0;
} | 19.625 | 60 | 0.519108 | MaSteve |
faac660f7683212f00cc87e2dbbc0471617883b0 | 5,107 | cpp | C++ | Filter/sort_fastq_mem_eff.cpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | 6 | 2020-08-27T00:14:44.000Z | 2022-01-20T11:11:12.000Z | Filter/sort_fastq_mem_eff.cpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | 1 | 2021-02-02T07:02:33.000Z | 2021-02-03T08:30:24.000Z | Filter/sort_fastq_mem_eff.cpp | jwnam/etching | 7f6750de03bbd44e86451ee9ab4edaa9ed77d3a3 | [
"MIT"
] | 1 | 2020-08-27T00:14:32.000Z | 2020-08-27T00:14:32.000Z | #include <string>
#include <vector>
#include <map>
#include <fstream>
#include <iostream>
#include <functional>
uint32_t adler32(std::string & input)
{
//uint32_t MOD_ADLER = 65521;
uint32_t a = 1;
uint32_t b = 0;
std::size_t Size = input.size();
for (std::size_t i = 0; i < Size ; i++ ){
a = (a + in... | 24.791262 | 120 | 0.504797 | jwnam |
faad80a483b98bbb86df5b4a0f58dbfdedf34472 | 7,893 | cpp | C++ | AdvancedSessions/Source/AdvancedSessions/Private/AdvancedIdentityLibrary.cpp | Ji-Rath/AdvancedSessionsPlugin | 94fb993ad70a7a497b827180a66a66d18e769db6 | [
"MIT"
] | 211 | 2020-06-08T19:38:26.000Z | 2022-03-25T13:51:05.000Z | AdvancedSessions/Source/AdvancedSessions/Private/AdvancedIdentityLibrary.cpp | Ji-Rath/AdvancedSessionsPlugin | 94fb993ad70a7a497b827180a66a66d18e769db6 | [
"MIT"
] | 24 | 2020-06-30T00:05:31.000Z | 2022-03-26T08:28:05.000Z | AdvancedSessions/Source/AdvancedSessions/Private/AdvancedIdentityLibrary.cpp | Ji-Rath/AdvancedSessionsPlugin | 94fb993ad70a7a497b827180a66a66d18e769db6 | [
"MIT"
] | 56 | 2020-06-08T06:56:12.000Z | 2022-03-25T13:51:10.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "AdvancedIdentityLibrary.h"
//General Log
DEFINE_LOG_CATEGORY(AdvancedIdentityLog);
void UAdvancedIdentityLibrary::GetPlayerAuthToken(APlayerController * PlayerController, FString & AuthToken, EBlueprintResultSwitch &Resul... | 33.587234 | 195 | 0.766502 | Ji-Rath |
faaf0579add76f1ace7e96e0b4cd192a432f5fb5 | 89 | cpp | C++ | GameEngineContents/Chapter7Map.cpp | AnWooJin/Portfolio | 612c1b9d29f552d1bba586f461babf7dff3a1e4e | [
"MIT"
] | null | null | null | GameEngineContents/Chapter7Map.cpp | AnWooJin/Portfolio | 612c1b9d29f552d1bba586f461babf7dff3a1e4e | [
"MIT"
] | null | null | null | GameEngineContents/Chapter7Map.cpp | AnWooJin/Portfolio | 612c1b9d29f552d1bba586f461babf7dff3a1e4e | [
"MIT"
] | null | null | null | #include "Chapter7Map.h"
Chapter7Map::Chapter7Map()
{
}
Chapter7Map::~Chapter7Map()
{
} | 9.888889 | 27 | 0.707865 | AnWooJin |
faaf227493eed0fea7e5ac75d4fa467e487c95b5 | 1,484 | cpp | C++ | Segment Tree/Sum (mem optim (Euler tour)).cpp | yokeshrana/Fast_Algorithms_in_Data_Structures | 2346fee16c6c3ffceac7cb79b1f449b4d8dc9df2 | [
"MIT"
] | 4 | 2021-01-15T16:30:48.000Z | 2021-08-12T03:17:00.000Z | Segment Tree/Sum (mem optim (Euler tour)).cpp | andy489/Fast_Algorithms_in_Data_Structures | 0f28a75030df3367902f0aa859a34096ea2b2582 | [
"MIT"
] | null | null | null | Segment Tree/Sum (mem optim (Euler tour)).cpp | andy489/Fast_Algorithms_in_Data_Structures | 0f28a75030df3367902f0aa859a34096ea2b2582 | [
"MIT"
] | 2 | 2021-02-24T14:50:08.000Z | 2021-02-28T17:39:41.000Z | // github.com/andy489
#include <stdio.h>
#include <algorithm>
int a[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
const int n = sizeof a / sizeof(int);
int t[2 * n];
using namespace std;
void build(int v, int tl, int tr) {
if (tl == tr)
t[v] = a[tl];
else {
int tm = tl + tr >> 1;
build(v + 1,... | 23.1875 | 69 | 0.382749 | yokeshrana |
fab15ac345de4294ff1ce1546e755c5446dc4a24 | 1,283 | hpp | C++ | include/RAJA/policy/loop/WorkGroup/Vtable.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | 1 | 2020-11-19T04:55:20.000Z | 2020-11-19T04:55:20.000Z | include/RAJA/policy/loop/WorkGroup/Vtable.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | null | null | null | include/RAJA/policy/loop/WorkGroup/Vtable.hpp | ggeorgakoudis/RAJA | 05f4a5e473a4160ddfdb5e829b4fdc9e0384ae26 | [
"BSD-3-Clause"
] | null | null | null | /*!
******************************************************************************
*
* \file
*
* \brief Header file containing RAJA workgroup Vtable.
*
******************************************************************************
*/
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~... | 23.759259 | 79 | 0.530008 | ggeorgakoudis |
fabaa8405311da34ea23ced24a9ce91c1c6b751e | 12,243 | cpp | C++ | CoreLib/CDate.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2016-01-30T03:25:00.000Z | 2022-01-23T23:29:22.000Z | CoreLib/CDate.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 1 | 2018-09-01T09:46:34.000Z | 2019-01-12T15:05:50.000Z | CoreLib/CDate.cpp | NuLL3rr0r/blog-subscription-service | 4458c0679229ad20ee446e1d1f7c58d1aa04b64d | [
"MIT"
] | 6 | 2017-01-05T14:55:02.000Z | 2021-03-30T14:05:10.000Z | /**
* @file
* @author Mamadou Babaei <info@babaei.net>
* @version 0.1.0
*
* @section LICENSE
*
* (The MIT License)
*
* Copyright (c) 2016 - 2021 Mamadou Babaei
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | 24.633803 | 170 | 0.548477 | NuLL3rr0r |
fabadb519efc48bf5a5ca684942147b894107661 | 20,824 | cpp | C++ | tests/unit/utils/test_pdu.cpp | ETCLabs/sACN | af246e04106f2342937566097322ac1ebb86fae0 | [
"Apache-2.0"
] | 11 | 2020-08-06T16:08:29.000Z | 2022-03-25T03:47:30.000Z | tests/unit/utils/test_pdu.cpp | ETCLabs/sACN | af246e04106f2342937566097322ac1ebb86fae0 | [
"Apache-2.0"
] | 19 | 2020-05-21T21:36:06.000Z | 2021-03-26T14:07:51.000Z | tests/unit/utils/test_pdu.cpp | ETCLabs/sACN | af246e04106f2342937566097322ac1ebb86fae0 | [
"Apache-2.0"
] | 2 | 2021-05-04T05:19:31.000Z | 2022-03-23T15:16:11.000Z | /******************************************************************************
* Copyright 2021 ETC Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 43.20332 | 121 | 0.72354 | ETCLabs |
fabf0ccfe8b774815ce0642000249c3ab15da1a2 | 723 | cpp | C++ | Kattis/Week2/Wk2b_height.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | Kattis/Week2/Wk2b_height.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | Kattis/Week2/Wk2b_height.cpp | Frodocz/CS2040C | d2e132a2f3cf56eef3f725990c7ffcf71a6a76d5 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
void insertionSort(vector<int> &a) {
int n = a.size(), cnt = 0;
for (int i = 1; i < n; ++i) {
int j = i - 1, tmp = a[i];
for (; j >= 0 && a[j] > tmp; --j) {
a[j + 1] = a[j];
++cnt;
}
a[j + 1] = t... | 17.634146 | 43 | 0.391425 | Frodocz |
facc3ef96373a65ab1db80f8e76107a0a83577c9 | 16,030 | cpp | C++ | src/rpc/client.cpp | IntegralTeam/bitcoin-sv | fa3bfb58862262bd2eb8233fd65aee4a36eece28 | [
"MIT"
] | null | null | null | src/rpc/client.cpp | IntegralTeam/bitcoin-sv | fa3bfb58862262bd2eb8233fd65aee4a36eece28 | [
"MIT"
] | null | null | null | src/rpc/client.cpp | IntegralTeam/bitcoin-sv | fa3bfb58862262bd2eb8233fd65aee4a36eece28 | [
"MIT"
] | null | null | null | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Copyright (c) 2019 Bitcoin Association
// Distributed under the Open BSV software license, see the accompanying file LICENSE.
#include "rpc/client.h"
#include "rpc/protocol.h"
#include "util.h"
#include "support/events.h"
... | 34.252137 | 125 | 0.61441 | IntegralTeam |
fadb733bcf9a30f11760de8fb5e92107df4ace98 | 3,885 | hpp | C++ | include/ShaderAST/Visitors/CloneExpr.hpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | include/ShaderAST/Visitors/CloneExpr.hpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | include/ShaderAST/Visitors/CloneExpr.hpp | Praetonus/ShaderWriter | 1c5b3961e3e1b91cb7158406998519853a4add07 | [
"MIT"
] | null | null | null | /*
See LICENSE file in root folder
*/
#ifndef ___SDW_CloneExpr_H___
#define ___SDW_CloneExpr_H___
#pragma once
#include "ShaderAST/Expr/ExprVisitor.hpp"
namespace ast
{
class ExprCloner
: public expr::Visitor
{
public:
static expr::ExprPtr submit( expr::Expr * expr );
static expr::ExprPtr submit( expr::ExprP... | 43.651685 | 78 | 0.758559 | Praetonus |
fadbd5bf79c03e167658347a73c2102ca685c543 | 6,290 | cpp | C++ | Sail/src/Sail/entities/systems/Gameplay/candles/CandlePlacementSystem.cpp | BTH-StoraSpel-DXR/SPLASH | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 12 | 2019-09-11T15:52:31.000Z | 2021-11-14T20:33:35.000Z | Sail/src/Sail/entities/systems/Gameplay/candles/CandlePlacementSystem.cpp | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 227 | 2019-09-11T08:40:24.000Z | 2020-06-26T14:12:07.000Z | Sail/src/Sail/entities/systems/Gameplay/candles/CandlePlacementSystem.cpp | BTH-StoraSpel-DXR/Game | 1bf4c9b96cbcce570ed3a97f30a556a992e1ad08 | [
"MIT"
] | 2 | 2020-10-26T02:35:18.000Z | 2020-10-26T02:36:01.000Z | #include "pch.h"
#include "CandlePlacementSystem.h"
#include "Sail/entities/components/Components.h"
#include "Network/NWrapperSingleton.h"
#include "Sail/utils/GameDataTracker.h"
#include "Sail/entities/ECS.h"
#include "Sail/entities/systems/physics/UpdateBoundingBoxSystem.h"
#include "Sail/events/EventDispatcher.h... | 35.942857 | 120 | 0.728299 | BTH-StoraSpel-DXR |
fadd48712932fb683728a410f11816edaf6fbaab | 3,107 | cpp | C++ | Samples/JapanesePhoneticAnalysis/cpp/Scenario1_Analyze.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,504 | 2019-05-07T06:56:42.000Z | 2022-03-31T19:37:59.000Z | Samples/JapanesePhoneticAnalysis/cpp/Scenario1_Analyze.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 314 | 2019-05-08T16:56:30.000Z | 2022-03-21T07:13:45.000Z | Samples/JapanesePhoneticAnalysis/cpp/Scenario1_Analyze.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 2,219 | 2019-05-07T00:47:26.000Z | 2022-03-30T21:12:31.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 43.760563 | 149 | 0.663663 | dujianxin |
fae2971ceeb3d2c00f22cb689232717f6b6027fb | 24,677 | cpp | C++ | Source/Core/Main.cpp | HuCoco/RayTracing | e1d620a2d263a986a3557379588b72aea01f9181 | [
"MIT"
] | null | null | null | Source/Core/Main.cpp | HuCoco/RayTracing | e1d620a2d263a986a3557379588b72aea01f9181 | [
"MIT"
] | null | null | null | Source/Core/Main.cpp | HuCoco/RayTracing | e1d620a2d263a986a3557379588b72aea01f9181 | [
"MIT"
] | null | null | null | //============================================================
// STUDENT NAME: HU KE
// NUS User ID.: NUSRI1613
// COMMENTS TO GRADER:
//
//
// ============================================================
//
// FILE: Main.cpp
#include <Platform/Platform.h>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#in... | 39.546474 | 186 | 0.568627 | HuCoco |
fae5e30f76170ab17e3504fc5740c20e0de08435 | 6,769 | hpp | C++ | include/codegen/include/System/IO/MemoryStream.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/System/IO/MemoryStream.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/System/IO/MemoryStream.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:09:44 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.IO.Stream
#include "System/IO/Stream.hpp"
#include "u... | 38.68 | 108 | 0.684592 | Futuremappermydud |
fae74ef5c8696a64df54c136f27a86b36f484544 | 4,586 | cpp | C++ | src/fit_nfw_mass.cpp | sjtuzyk/chandra-acis-analysis | 8d194c8107ba2e91b35eba95c044ac238ce03229 | [
"MIT"
] | 3 | 2016-05-28T00:32:55.000Z | 2022-02-28T13:36:04.000Z | src/fit_nfw_mass.cpp | sjtuzyk/chandra-acis-analysis | 8d194c8107ba2e91b35eba95c044ac238ce03229 | [
"MIT"
] | null | null | null | src/fit_nfw_mass.cpp | sjtuzyk/chandra-acis-analysis | 8d194c8107ba2e91b35eba95c044ac238ce03229 | [
"MIT"
] | 1 | 2018-10-09T16:42:18.000Z | 2018-10-09T16:42:18.000Z | /*
Fitting nfw mass profile model
Author: Junhua Gu
Last modification 20120721
*/
#include "nfw.hpp"
#include <core/optimizer.hpp>
#include <core/fitter.hpp>
#include <data_sets/default_data_set.hpp>
#include "chisq.hpp"
#include <methods/powell/powell_method.hpp>
#include <iostream>
#include <fstream>
#include ... | 28.6625 | 101 | 0.635194 | sjtuzyk |
fae829b646f33987f6861dfb4ed9ba638c78fc09 | 6,365 | cpp | C++ | core/src/cubos/core/data/yaml_deserializer.cpp | GameDevTecnico/cubos | 51f89c9f3afc8afe502d167dadecab7dfe5b1c7b | [
"MIT"
] | 2 | 2021-09-28T14:13:27.000Z | 2022-03-26T11:36:48.000Z | core/src/cubos/core/data/yaml_deserializer.cpp | GameDevTecnico/cubos | 51f89c9f3afc8afe502d167dadecab7dfe5b1c7b | [
"MIT"
] | 72 | 2021-09-29T08:55:26.000Z | 2022-03-29T21:21:00.000Z | core/src/cubos/core/data/yaml_deserializer.cpp | GameDevTecnico/cubos | 51f89c9f3afc8afe502d167dadecab7dfe5b1c7b | [
"MIT"
] | null | null | null | #include <cubos/core/data/yaml_deserializer.hpp>
using namespace cubos::core::data;
YAMLDeserializer::YAMLDeserializer(memory::Stream& stream) : Deserializer(stream)
{
this->loadDocument();
this->frame.push({Mode::Object, this->document.begin(), false});
}
#define READ_PRIMITIVE(T, value) ... | 31.20098 | 120 | 0.462215 | GameDevTecnico |
faf21d027e876586b1746651ccc97ca55b23cc10 | 3,232 | cc | C++ | sparselets/tile_sparselet_resps_sse_hos.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | 4 | 2015-03-23T05:55:23.000Z | 2019-03-05T02:18:39.000Z | sparselets/tile_sparselet_resps_sse_hos.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | null | null | null | sparselets/tile_sparselet_resps_sse_hos.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | 10 | 2015-03-23T05:55:24.000Z | 2019-03-05T02:18:51.000Z | #include <sys/types.h>
#include "mex.h"
#include <xmmintrin.h>
const int S = 3;
const int NUM_SUB_FILTERS = 4;
/*
* Hyun Oh Song (song@eecs.berkeley.edu)
* Part filter tiling
*/
static inline void do_sum_sse(double *dst, const double *src, const double *src_end) {
while (src != src_end) {
_mm_storeu_pd(dst... | 30.490566 | 110 | 0.625 | rksltnl |
faf383ac145713f5dcfd96f09c5a453b058f5fff | 15,661 | cpp | C++ | slyedit/src/main.cpp | Gibbeon/sly | 9216cf04a78f1d41af01186489ba6680b9641229 | [
"MIT"
] | null | null | null | slyedit/src/main.cpp | Gibbeon/sly | 9216cf04a78f1d41af01186489ba6680b9641229 | [
"MIT"
] | null | null | null | slyedit/src/main.cpp | Gibbeon/sly | 9216cf04a78f1d41af01186489ba6680b9641229 | [
"MIT"
] | null | null | null |
#include "sly.h"
#include "sly/d3d12.h"
#include "sly/engine.h"
#include "sly/scene.h"
//#include "sly/d3d12/gfx/commandlist.h"
#include "sly/io/memorystream.h"
#include "sly/runtime/serialization/json/jsondeserializer.h"
#include "sly/runtime/serialization/json/jsonserializer.h"
#if !_WIN32
// MacOS shader
const ch... | 32.092213 | 138 | 0.616627 | Gibbeon |
faf7f48d652d6bf1a536d50b2b6d9cfd801a8b60 | 1,794 | cpp | C++ | Practice/2018/2018.6.13/POJ1568.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.6.13/POJ1568.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.6.13/POJ1568.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=5;
const int inf=2147483647;
int mcnt,Win[11];
int Map[4][4];
int dfs(int k1,int k2,int opt);
int check(int key);
int mai... | 20.62069 | 128 | 0.506689 | SYCstudio |
fafd3b66b9deceb94bc9b26a7e498f09b611c710 | 447 | cpp | C++ | cppcode/cpp execise/day08/polycond.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | cppcode/cpp execise/day08/polycond.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | cppcode/cpp execise/day08/polycond.cpp | jiedou/study | 606676ebc3d1fb1a87de26b6609307d71dafec22 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
class A {
public:
A (void) {
foo (); // this->foo ();
}
~A (void) {
foo (); // this->foo ();
}
virtual void foo (void) {
cout << "A::foo(void)" << endl;
}
void bar (void) {
foo (); // this->foo ();
}
};
class B : public A {
public:
void foo (void) {
cout << "B... | 12.771429 | 33 | 0.47651 | jiedou |
4f0177135e5ddd67ef2580a8c0183714d0763353 | 1,737 | cpp | C++ | CreateStruct/CreateStruct.cpp | 100dlswjd/test | 5cada91ebc5154017ece501e581b2106c72a6e4e | [
"MIT"
] | 1 | 2022-01-25T10:43:28.000Z | 2022-01-25T10:43:28.000Z | CreateStruct/CreateStruct.cpp | 100dlswjd/test | 5cada91ebc5154017ece501e581b2106c72a6e4e | [
"MIT"
] | 1 | 2021-07-14T01:23:54.000Z | 2021-07-14T11:26:06.000Z | CreateStruct/CreateStruct.cpp | 100dlswjd/test | 5cada91ebc5154017ece501e581b2106c72a6e4e | [
"MIT"
] | 1 | 2021-07-12T16:37:14.000Z | 2021-07-12T16:37:14.000Z | #include<windows.h>
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
HWND hWndMain;
LPCTSTR lpszClass = TEXT("CreateStruct");
struct tag_Param {
int x;
int y;
TCHAR mes[128];
};
tag_Param Param = { 100,100,TEXT("Create Parameter") };
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPr... | 25.544118 | 160 | 0.743235 | 100dlswjd |
4f01cee9cf6141458ffc1d75a0393c42fbb0d752 | 2,466 | cpp | C++ | Jni/Main.cpp | Cos8o/DroidNong | 40d5bcb580c20293c50a434f1095340c5c37995b | [
"MIT"
] | 1 | 2021-01-15T11:26:02.000Z | 2021-01-15T11:26:02.000Z | Jni/Main.cpp | Cos8o/DroidNong | 40d5bcb580c20293c50a434f1095340c5c37995b | [
"MIT"
] | 1 | 2021-01-04T17:01:26.000Z | 2021-01-04T17:01:26.000Z | Jni/Main.cpp | Cos8o/DroidNong | 40d5bcb580c20293c50a434f1095340c5c37995b | [
"MIT"
] | 2 | 2020-08-01T03:38:18.000Z | 2020-10-25T14:53:01.000Z | #include <jni.h>
#include <dirent.h>
#include <vector>
#include <string>
#include <algorithm>
#include <fstream>
#include <sstream>
static std::string const LOCAL_PATH("/sdcard/nong");
static std::string const GAME_PATH("/data/data/com.cos8oxx.geometrynong/files");
bool copyFile(
std::string const& srcPath,
... | 19.417323 | 85 | 0.523925 | Cos8o |
4f08d2975084b75570b155e52fcb43e15b6ecf01 | 12,124 | c++ | C++ | src/extern/inventor/apps/samples/manip/constrainManip.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/extern/inventor/apps/samples/manip/constrainManip.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/extern/inventor/apps/samples/manip/constrainManip.c++ | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
*
* Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your opti... | 33.216438 | 168 | 0.661003 | OpenXIP |
4f0bb04a4738f1b7b3ca330886ad4b893655850e | 4,468 | cpp | C++ | ProjectGenesis/cloth.cpp | ConspiracyHu/2012SourcePack | e878e3a2ecece26931ad23416d4f856fd5d33540 | [
"BSD-2-Clause"
] | 115 | 2015-04-25T14:18:22.000Z | 2022-03-31T13:12:00.000Z | ProjectGenesis/cloth.cpp | ConspiracyHu/2012SourcePack | e878e3a2ecece26931ad23416d4f856fd5d33540 | [
"BSD-2-Clause"
] | null | null | null | ProjectGenesis/cloth.cpp | ConspiracyHu/2012SourcePack | e878e3a2ecece26931ad23416d4f856fd5d33540 | [
"BSD-2-Clause"
] | 13 | 2015-10-21T02:17:05.000Z | 2021-12-01T20:13:52.000Z | #include "cloth.h"
struct clothpoint
{
vector3 position;
vector3 speed;
vector3 force;
vector3 normal;
};
clothpoint cloth[15][10];
vector3 Gravity;
vector3 wind;
int xrez=14,yrez=9,mod=8;
void initcloth()
{
Gravity.x=-0.0007f;
Gravity.y=-0.0008f;
Gravity.z=0.0001f;
wind.x=-0.00033f;
wind.y=-0.0001f;
wind... | 27.243902 | 134 | 0.60385 | ConspiracyHu |
4f0f3a2012533b4f9164a4622fe18c65a035b028 | 7,630 | cpp | C++ | 2019/17/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | 2019/17/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | 2019/17/main.cpp | adrian-stanciu/adventofcode | 47b3d12226b0c71fff485ef140cd7731c9a5d72f | [
"MIT"
] | null | null | null | #include <iostream>
#include <set>
#include <string>
#include <tuple>
#include <vector>
#include "int_computer.h"
using Map = std::vector<std::vector<char>>;
auto read_map(const std::vector<long long>& prog)
{
IntComputer ic(prog);
Map map;
std::vector<char> row;
while (ic.run()) {
auto out... | 22.115942 | 82 | 0.457012 | adrian-stanciu |
4f16d39e7f1386337a63339050e2b5ad800d088c | 2,438 | cxx | C++ | Readers/FDEM/FDEMCrackJoint.cxx | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | 4 | 2016-01-21T21:45:43.000Z | 2021-07-31T19:24:09.000Z | Readers/FDEM/FDEMCrackJoint.cxx | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | null | null | null | Readers/FDEM/FDEMCrackJoint.cxx | ObjectivitySRC/PVGPlugins | 5e24150262af751159d719cc810620d1770f2872 | [
"BSD-2-Clause"
] | 6 | 2015-08-31T06:21:03.000Z | 2021-07-31T19:24:10.000Z |
#include "FDEMCrackJoint.h"
#include "vtkDoubleArray.h"
#include "vtkPoints.h"
#include "vtkCellArray.h"
#include "vtkCellData.h"
#include "vtkPolyData.h"
#define ZLEVEL 0.00001
#define MODE_CRACK 0
#define MODE_JOINT 1
// --------------------------------------
FDEMCrackJoint::FDEMCrackJoint( char* Name, int mo... | 24.38 | 104 | 0.535275 | ObjectivitySRC |
4f1a3b0a9da6e509f700595b59c4698cbb8f870c | 1,145 | cpp | C++ | src/gl/glshaderprogram.cpp | helloer/polybobin | 63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1 | [
"MIT"
] | 8 | 2016-10-06T11:49:14.000Z | 2021-11-06T21:06:36.000Z | src/gl/glshaderprogram.cpp | helloer/polybobin | 63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1 | [
"MIT"
] | 20 | 2017-04-25T14:23:02.000Z | 2018-12-04T22:46:04.000Z | src/gl/glshaderprogram.cpp | helloer/polybobin | 63b2cea40d3afcfc9d6f62f49acbfacf6a8783e1 | [
"MIT"
] | 4 | 2016-11-22T16:06:18.000Z | 2021-05-28T21:53:52.000Z | #include "glshaderprogram.hpp"
#include <system_error>
void GLShaderProgram::AddShader(GLenum type, const GLchar *code)
{
GLShader shader(type, code);
m_shaders.push_back(shader);
}
GLuint GLShaderProgram::GetUniformLocation(const GLchar *name)
{
return glGetUniformLocation(m_id, name);
}
void GLShaderPr... | 19.083333 | 120 | 0.639301 | helloer |
b7b767f3dc8042bb09e74f3acd7217f1c93de2b6 | 12,939 | cc | C++ | projects/S0009D/code/object.cc | Syrdni/S0009D | b159b3c73cc975885a7ce204c3d60f6d776f8654 | [
"MIT"
] | null | null | null | projects/S0009D/code/object.cc | Syrdni/S0009D | b159b3c73cc975885a7ce204c3d60f6d776f8654 | [
"MIT"
] | null | null | null | projects/S0009D/code/object.cc | Syrdni/S0009D | b159b3c73cc975885a7ce204c3d60f6d776f8654 | [
"MIT"
] | null | null | null | #include "object.h"
Object::Object(){}
Object::Object(MeshResource* mr, ShaderObject* so, TextureResource* tr, LightingNode* ln, Vector4D& cameraPos, std::string texturePath, Vector4D scale, float mass, bool unmovable)
{
this->scale = scale;
setupGraphicsNode(mr, so, tr, ln, cameraPos, texturePath);
rb = ... | 41.471154 | 191 | 0.668831 | Syrdni |
b7babcfe588e74cd23e0dc673d1100756a6ecaa4 | 20,579 | cpp | C++ | cpp/KineticGas.cpp | vegardjervell/Kineticgas | 5897dceb767802c4ec08b975fec216fe498aaf6e | [
"MIT"
] | 1 | 2022-01-28T16:14:06.000Z | 2022-01-28T16:14:06.000Z | cpp/KineticGas.cpp | vegardjervell/Kineticgas | 5897dceb767802c4ec08b975fec216fe498aaf6e | [
"MIT"
] | null | null | null | cpp/KineticGas.cpp | vegardjervell/Kineticgas | 5897dceb767802c4ec08b975fec216fe498aaf6e | [
"MIT"
] | null | null | null | /*
Author : Vegard Gjeldvik Jervell
Contains :
Major base-functions for KineticGas. These functions are required for all versions, regardless of what
potential model they use. Contains summational expressions for the bracket integrals, and iterfaces to
get the matrices and vectors required to eval... | 37.690476 | 191 | 0.501093 | vegardjervell |
b7bb33a392540db3d08fa93fb9aa4ae7bdf78059 | 1,772 | cpp | C++ | KEngine/Internal/KRenderDocCapture.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 13 | 2019-10-19T17:41:19.000Z | 2021-11-04T18:50:03.000Z | KEngine/Internal/KRenderDocCapture.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | 3 | 2019-12-09T06:22:43.000Z | 2020-05-28T09:33:44.000Z | KEngine/Internal/KRenderDocCapture.cpp | King19931229/KApp | f7f855b209348f835de9e5f57844d4fb6491b0a1 | [
"MIT"
] | null | null | null | #include "KRenderDocCapture.h"
#include "KBase/Publish/KSystem.h"
#include "KBase/Publish/KFileTool.h"
#include "KBase/Interface/IKLog.h"
#include <assert.h>
#ifdef _WIN32
#include <Windows.h>
#endif
KRenderDocCapture::KRenderDocCapture()
: m_Module(nullptr),
m_rdoc_api(nullptr)
{
}
KRenderDocCapture::~KRenderDoc... | 25.681159 | 113 | 0.740971 | King19931229 |
b7bbf23d8de0122178f3f6bfb9419e4dafbddaea | 2,900 | cpp | C++ | GlNddiDisplay.cpp | dave-estes-UNC/nddi | 4b38e8155bd29201152f8fa8d356e97371c60d90 | [
"Apache-2.0"
] | null | null | null | GlNddiDisplay.cpp | dave-estes-UNC/nddi | 4b38e8155bd29201152f8fa8d356e97371c60d90 | [
"Apache-2.0"
] | null | null | null | GlNddiDisplay.cpp | dave-estes-UNC/nddi | 4b38e8155bd29201152f8fa8d356e97371c60d90 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <sys/time.h>
#include "Features.h"
#include "GlNddiDisplay.h"
// public
GlNddiDisplay::GlNddiDisplay(vector<unsigned int> &frameVolumeDimensionalSizes,
unsigned int numCoefficientPlanes, unsigned int inputVectorSize,
... | 39.189189 | 186 | 0.713793 | dave-estes-UNC |
b7bf6c77995df451e0600e946a9fafccab530e6f | 413 | hpp | C++ | include/lug/Graphics/Vulkan/Builder/Texture.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 275 | 2016-10-08T15:33:17.000Z | 2022-03-30T06:11:56.000Z | include/lug/Graphics/Vulkan/Builder/Texture.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 24 | 2016-09-29T20:51:20.000Z | 2018-05-09T21:41:36.000Z | include/lug/Graphics/Vulkan/Builder/Texture.hpp | Lugdunum3D/Lugdunum3D | b6d6907d034fdba1ffc278b96598eba1d860f0d4 | [
"MIT"
] | 37 | 2017-02-25T05:03:48.000Z | 2021-05-10T19:06:29.000Z | #pragma once
#include <lug/Graphics/Render/Texture.hpp>
#include <lug/Graphics/Resource.hpp>
namespace lug {
namespace Graphics {
namespace Builder {
class Texture;
} // Builder
namespace Vulkan {
namespace Builder {
namespace Texture {
Resource::SharedPtr<lug::Graphics::Render::Texture> build(const ::lug::Graphic... | 17.208333 | 108 | 0.72155 | Lugdunum3D |
b7c29be2afd91b746cc69d39d0e9fde9e25bf38c | 1,850 | cpp | C++ | lib/iri/test/iri_gen_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 5 | 2016-04-07T19:49:39.000Z | 2021-08-03T05:24:11.000Z | lib/iri/test/iri_gen_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | null | null | null | lib/iri/test/iri_gen_test.cpp | zmij/wire | 9981eb9ea182fc49ef7243eed26b9d37be70a395 | [
"Artistic-2.0"
] | 1 | 2020-12-27T11:47:31.000Z | 2020-12-27T11:47:31.000Z | /*
* iri_gen_test.cpp
*
* Created on: Aug 19, 2015
* Author: zmij
*/
#include "grammar/grammar_gen_test.hpp"
#include <tip/iri/grammar/iri_generate.hpp>
namespace gen = tip::iri::grammar::gen;
GRAMMAR_GEN_TEST(gen::sub_delims_grammar, SubDelims, char,
::testing::Values(
GenerateSubDelims::make_test_dat... | 26.811594 | 71 | 0.681622 | zmij |
b7c3b9cdef4002b8b538298e2973aad88e6f5a94 | 3,790 | hpp | C++ | include/saci/tree/model/branch_impl.hpp | ricardocosme/saci | 2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4 | [
"BSL-1.0"
] | 1 | 2020-07-29T20:42:58.000Z | 2020-07-29T20:42:58.000Z | include/saci/tree/model/branch_impl.hpp | ricardocosme/saci | 2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4 | [
"BSL-1.0"
] | null | null | null | include/saci/tree/model/branch_impl.hpp | ricardocosme/saci | 2a6a134f63b6e69fde452e0fe9bb5acfd149a6e4 | [
"BSL-1.0"
] | null | null | null | #pragma once
#include "saci/tree/model/detail/apply_node_impl.hpp"
#include "saci/tree/model/detail/node_impl_fwd.hpp"
#include "saci/tree/model/detail/visibility.hpp"
#include "saci/tree/model/node_base.hpp"
#include <boost/fusion/include/as_vector.hpp>
#include <boost/fusion/include/for_each.hpp>
#include <boost/f... | 26.879433 | 90 | 0.656201 | ricardocosme |
b7c3c039334d9b923f1e737af3dd25ea9d5ff85a | 909 | ipp | C++ | implement/oalplus/context.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 459 | 2016-03-16T04:11:37.000Z | 2022-03-31T08:05:21.000Z | implement/oalplus/context.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 4 | 2015-08-21T02:29:15.000Z | 2020-05-02T13:50:36.000Z | implement/oalplus/context.ipp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 47 | 2016-05-31T15:55:52.000Z | 2022-03-28T14:49:40.000Z | /**
* @file oalplus/context.ipp
* @brief Implementation of Context functions
*
* @author Matus Chochlik
*
* Copyright 2010-2014 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
namesp... | 21.642857 | 70 | 0.728273 | Extrunder |
b7c4cc1029ec3ce05380092ae644a9095ba94d95 | 95 | cpp | C++ | Society2.0/Society2.0/CityGroup.cpp | simsim314/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2019-07-11T13:10:43.000Z | 2019-07-11T13:10:43.000Z | Society2.0/Society2.0/CityGroup.cpp | mdheller/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2019-02-19T12:32:52.000Z | 2019-03-07T20:49:50.000Z | Society2.0/Society2.0/CityGroup.cpp | mdheller/Society2.0 | a95e42122e2541b7544dd641247681996f1e625a | [
"Unlicense"
] | 1 | 2020-01-10T12:37:30.000Z | 2020-01-10T12:37:30.000Z | #include "CityGroup.h"
CityGroup::CityGroup()
{
}
CityGroup::~CityGroup()
{
}
| 7.307692 | 24 | 0.557895 | simsim314 |
b7c763c2ff0d1fa284137d82f57e42af6a7ce245 | 75,437 | cpp | C++ | MultiPlane/lens_halos.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 2 | 2017-03-22T13:18:32.000Z | 2021-05-01T01:54:31.000Z | MultiPlane/lens_halos.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 49 | 2016-10-05T03:08:38.000Z | 2020-11-03T15:39:26.000Z | MultiPlane/lens_halos.cpp | glenco/SLsimLib | fb7a3c450d2487a823fa3f0ae8c8ecf7945c3ebb | [
"MIT"
] | 1 | 2017-07-10T08:52:53.000Z | 2017-07-10T08:52:53.000Z | /*
* lens_halos.cpp
*
* Created on: 06.05.2013
* Author: mpetkova
*/
#include "slsimlib.h"
using namespace std;
/// Shell constructor
LensHalo::LensHalo(){
rscale = 1.0;
mass = Rsize = Rmax = xmax = posHalo[0] = posHalo[1] = 0.0;
stars_implanted = false;
elliptical_flag = false;
Dist = -1;
sta... | 34.072719 | 548 | 0.610973 | glenco |
b7cc0d9b469bff0ae0c501c7300849fefcb3d237 | 122,267 | cpp | C++ | ios/Classes/Native/Bulk_System_2.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | 149 | 2017-06-25T04:03:31.000Z | 2022-02-24T19:31:06.000Z | ios/Classes/Native/Bulk_System_2.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | 9 | 2017-06-24T23:23:11.000Z | 2019-01-16T15:22:13.000Z | ios/Classes/Native/Bulk_System_2.cpp | ShearerAWS/mini-mafia-release | 1a97656538fe24c015efbfc7954a66065139c34a | [
"MIT"
] | 29 | 2017-06-28T17:57:06.000Z | 2021-06-27T12:26:44.000Z | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | 42.601742 | 276 | 0.813817 | ShearerAWS |
b7cdd8fee874cc7a0fa0bd6c3cfee1eeeee26a58 | 414 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/tools/JiraService.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-03-18T17:22:09.000Z | 2022-03-18T17:22:09.000Z | include/RED4ext/Scripting/Natives/Generated/tools/JiraService.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | null | null | null | include/RED4ext/Scripting/Natives/Generated/tools/JiraService.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 1 | 2022-02-13T01:44:55.000Z | 2022-02-13T01:44:55.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
namespace RED4ext
{
namespace tools {
struct JiraService
{
static constexpr const char* NAME = "toolsJiraService";
static constexpr const char* ALIAS = NAME;
uint8_t unk00[0xE8 - 0x0]... | 19.714286 | 59 | 0.724638 | jackhumbert |
b7ce190ef178fda1e18a4ba7c521aa1f5c7484d6 | 7,947 | cpp | C++ | ModuleGOManager.cpp | N4bi/SahelanthropusEngine | e64c1e2a544b7f2c4e3bf50b027ef3914443ef55 | [
"MIT"
] | null | null | null | ModuleGOManager.cpp | N4bi/SahelanthropusEngine | e64c1e2a544b7f2c4e3bf50b027ef3914443ef55 | [
"MIT"
] | 1 | 2016-12-03T20:51:15.000Z | 2016-12-03T20:51:15.000Z | ModuleGOManager.cpp | N4bi/Sahelanthropus_Engine | e64c1e2a544b7f2c4e3bf50b027ef3914443ef55 | [
"MIT"
] | null | null | null | #include "Application.h"
#include "ModuleGOManager.h"
#include "GameObject.h"
#include "Component.h"
#include "ComponentTransform.h"
#include "Quadtree.h"
#include "Imgui\imgui.h"
#include <algorithm>
using namespace std;
ModuleGOManager::ModuleGOManager(Application * app, const char* name, bool start_enabled) : Mod... | 19.011962 | 124 | 0.677866 | N4bi |
b7d0f2b6c1f9e4ab5607d5a7cba3237bc92f4d23 | 39,461 | cpp | C++ | Source/AllProjects/CIDBuild/CIDBuild_ProjectInfo.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | 1 | 2019-05-28T06:33:01.000Z | 2019-05-28T06:33:01.000Z | Source/AllProjects/CIDBuild/CIDBuild_ProjectInfo.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | Source/AllProjects/CIDBuild/CIDBuild_ProjectInfo.cpp | eudora-jia/CIDLib | 02795d283d95f8a5a4fafa401b6189851901b81b | [
"MIT"
] | null | null | null | //
// FILE NAME: CIDBuild_ProjectInfo.Cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 08/21/1998
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://open... | 29.273739 | 93 | 0.563772 | eudora-jia |
b7d35659ef2060ce2c97f553eae81ce927254b82 | 729 | cpp | C++ | Source/USemLog/Private/ROSProlog/SLROSServiceClient.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 7 | 2017-10-05T09:47:40.000Z | 2020-10-15T04:02:07.000Z | Source/USemLog/Private/ROSProlog/SLROSServiceClient.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 11 | 2017-08-10T10:01:55.000Z | 2020-12-31T13:02:33.000Z | Source/USemLog/Private/ROSProlog/SLROSServiceClient.cpp | Leusmann/USemLog | 3492a4fd55a524433785802c77444982e57f2e0a | [
"BSD-3-Clause"
] | 19 | 2017-03-07T08:18:43.000Z | 2021-11-09T10:58:04.000Z | // Copyright 2020, Institute for Artificial Intelligence - University of Bremen
// Author: Jose Rojas
#include "ROSProlog/SLROSServiceClient.h"
#include "ROSProlog/SLPrologClient.h"
// Constructor
SLROSServiceClient::SLROSServiceClient()
{
}
// Destructor
SLROSServiceClient::~SLROSServiceClient()
{
}
#if SL_WITH_RO... | 22.090909 | 88 | 0.784636 | Leusmann |
b7d80910df3a3500ed9e6b8c74b25b38b73214ec | 2,465 | cpp | C++ | node_modules/pxt-common-packages/libs/core/spi.cpp | johnwing/music2 | a8940cd3e53061d7ca0461811f9ffb2440b586a1 | [
"MIT"
] | null | null | null | node_modules/pxt-common-packages/libs/core/spi.cpp | johnwing/music2 | a8940cd3e53061d7ca0461811f9ffb2440b586a1 | [
"MIT"
] | null | null | null | node_modules/pxt-common-packages/libs/core/spi.cpp | johnwing/music2 | a8940cd3e53061d7ca0461811f9ffb2440b586a1 | [
"MIT"
] | null | null | null | #include "pxt.h"
#include "ErrorNo.h"
namespace pins {
class CodalSPIProxy {
private:
DevicePin* mosi;
DevicePin* miso;
DevicePin* sck;
CODAL_SPI spi;
public:
CodalSPIProxy* next;
public:
CodalSPIProxy(DevicePin* _mosi, DevicePin* _miso, DevicePin* _sck)
: mosi(_mosi)
, miso... | 19.72 | 93 | 0.622718 | johnwing |
b7dad7284b176e251ba382227bed98e79260bec6 | 106 | hpp | C++ | fft/ft_grid_helpers.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T03:15:56.000Z | 2019-11-08T03:15:56.000Z | fft/ft_grid_helpers.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | null | null | null | fft/ft_grid_helpers.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T03:15:56.000Z | 2019-11-08T03:15:56.000Z | #pragma once
#include "ft_grid_helpers_impl/fourier_modes.hpp"
#include "ft_grid_helpers_impl/ftcut.hpp"
| 21.2 | 49 | 0.830189 | simonpp |
b7e878d6e6a49c3035795f494392cce1e16853c1 | 1,128 | cpp | C++ | Build/src/src/Scene/Courier.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | Build/src/src/Scene/Courier.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | Build/src/src/Scene/Courier.cpp | maz8569/OpenGLPAG | 3c470a6824c0d3169fdc65691f697c2af39a6442 | [
"MIT"
] | null | null | null | #include "Scene/Courier.h"
GameEngine::Courier::Courier(Ref<MousePicker> mousePicker, Ref<Model> model, std::shared_ptr<Shader> shader, std::shared_ptr<Collision> colMan)
: Entity(model, shader, colMan), m_mousePicker(mousePicker)
{
m_inputManager = mousePicker->getInputManager();
Entity::Update();
}
void GameEng... | 24.521739 | 144 | 0.646277 | maz8569 |
b7eac2e350570f6a4631b596fd22d2f531d58abc | 3,280 | hpp | C++ | include/wiztk/gui/theme.hpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 37 | 2017-11-22T14:15:33.000Z | 2021-11-25T20:39:39.000Z | include/wiztk/gui/theme.hpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 3 | 2018-03-01T12:44:22.000Z | 2021-01-04T23:14:41.000Z | include/wiztk/gui/theme.hpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 10 | 2017-11-25T19:09:11.000Z | 2020-12-02T02:05:47.000Z | /*
* Copyright 2017 - 2018 The WizTK Authors.
*
* 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 ... | 18.531073 | 75 | 0.68689 | wiztk |
b7ee91b261ce90ea20e87d53e1ddee4b85c6cebb | 911 | cpp | C++ | src/mxml/parsing/BackupHandler.cpp | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 18 | 2016-05-22T00:55:28.000Z | 2021-03-29T08:44:23.000Z | src/mxml/parsing/BackupHandler.cpp | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 6 | 2017-05-17T13:20:09.000Z | 2018-10-22T20:00:57.000Z | src/mxml/parsing/BackupHandler.cpp | dkun7944/mxml | 6450e7cab88eb6ee0ac469f437047072e1868ea4 | [
"MIT"
] | 14 | 2016-05-12T22:54:34.000Z | 2021-10-19T12:43:16.000Z | // Copyright © 2016 Venture Media Labs.
//
// This file is part of mxml. The full mxml 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 "BackupHandler.h"
namespace mxml {
using dom::Bac... | 28.46875 | 86 | 0.731065 | dkun7944 |
b7f3356d2e71d6734f46b3d88fcccf7bcd40ff47 | 287 | cpp | C++ | framework/src/Core/Network/Tcp/TcpClient.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | framework/src/Core/Network/Tcp/TcpClient.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | 3 | 2015-12-21T09:04:49.000Z | 2015-12-21T19:22:47.000Z | framework/src/Core/Network/Tcp/TcpClient.cpp | gautier-lefebvre/cppframework | bc1c3405913343274d79240b17ab75ae3f2adf56 | [
"MIT"
] | null | null | null | #include "Core/Network/Tcp/TcpClient.hh"
using namespace fwk;
TcpClient::TcpClient(const std::string& hostname, uint16_t port, TcpSocketStream* socket):
Lockable(),
hostname(hostname),
port(port),
socket(socket),
active(false),
events()
{}
TcpClient::~TcpClient(void) {}
| 19.133333 | 90 | 0.714286 | gautier-lefebvre |
b7f4b488d5a57aa67fba4e99201a3bf0ded49aab | 1,650 | cpp | C++ | potrace/src/ossimPotraceToolFactory.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 12 | 2016-09-09T01:24:12.000Z | 2022-01-09T21:45:58.000Z | potrace/src/ossimPotraceToolFactory.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 5 | 2016-02-04T16:10:40.000Z | 2021-06-29T05:00:29.000Z | potrace/src/ossimPotraceToolFactory.cpp | dardok/ossim-plugins | 3406ffed9fcab88fe4175b845381611ac4122c81 | [
"MIT"
] | 20 | 2015-11-17T11:46:22.000Z | 2021-11-12T19:23:54.000Z | //**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//*****************************************************************************************... | 27.966102 | 101 | 0.666061 | dardok |
b7f5a6353f521eeca03324ef9ee2f41d8efe1c7a | 2,578 | cpp | C++ | Practice/2018/2018.12.6/Luogu3835.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.12.6/Luogu3835.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.12.6/Luogu3835.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=505000*50;
const int inf=2147483647;
class Treap
{
public:
int key,size,ch[2];
};
int nodecnt;
Treap T[maxN];
int root[ma... | 20.140625 | 63 | 0.579131 | SYCstudio |
b7f66fd8067cc2de00df33f7a1c7dc50d7ca966a | 5,096 | cpp | C++ | RX64M/rx64m_DA_sample/main.cpp | hirakuni45/RX | 3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0 | [
"BSD-3-Clause"
] | 56 | 2015-06-04T14:15:38.000Z | 2022-03-01T22:58:49.000Z | RX64M/rx64m_DA_sample/main.cpp | hirakuni45/RX | 3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0 | [
"BSD-3-Clause"
] | 30 | 2019-07-27T11:03:14.000Z | 2021-12-14T09:59:57.000Z | RX64M/rx64m_DA_sample/main.cpp | hirakuni45/RX | 3fb91bfc8d5282cde7aa00b8bd37f4aad32582d0 | [
"BSD-3-Clause"
] | 15 | 2017-06-24T11:33:39.000Z | 2021-12-07T07:26:58.000Z | //=====================================================================//
/*! @file
@brief RX64M D/A 出力サンプル @n
・P07(176) ピンに赤色LED(VF:1.9V)を吸い込みで接続する。@n
・DA0(P03)、DA1(P05) からアナログ出力する。@n
・サンプリング間隔は 48KHz @n
・コンソールから、周波数を入力すると、その周波数で sin/cos @n
を出力する。
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Co... | 20.465863 | 92 | 0.616366 | hirakuni45 |
b7fa247532e41f32d46e4fe210c23a69688f4f49 | 6,175 | cc | C++ | libmemcached/touch.cc | bureado/libmemcached | 3f27e2b935a0580ff3fa7c098040ce96083fa70f | [
"BSD-3-Clause"
] | null | null | null | libmemcached/touch.cc | bureado/libmemcached | 3f27e2b935a0580ff3fa7c098040ce96083fa70f | [
"BSD-3-Clause"
] | 1 | 2021-03-09T05:01:19.000Z | 2021-03-09T05:01:19.000Z | libmemcached/touch.cc | bureado/libmemcached | 3f27e2b935a0580ff3fa7c098040ce96083fa70f | [
"BSD-3-Clause"
] | 2 | 2015-02-03T02:37:59.000Z | 2020-10-20T09:12:02.000Z | /* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
*
* Libmemcached library
*
* Copyright (C) 2011 Data Differential, http://datadifferential.com/
* Copyright (C) 2006-2009 Brian Aker All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... | 39.583333 | 161 | 0.717733 | bureado |
b7fbc13163bcf254debfd31d029e3753edf16856 | 1,161 | hpp | C++ | include/States/SaveState.hpp | thibautcornolti/IndieStudio | 1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7 | [
"MIT"
] | null | null | null | include/States/SaveState.hpp | thibautcornolti/IndieStudio | 1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7 | [
"MIT"
] | null | null | null | include/States/SaveState.hpp | thibautcornolti/IndieStudio | 1d0b76b1ca7b4e35b7c9d251fdb3f7ff96debfd7 | [
"MIT"
] | null | null | null | /*
** EPITECH PROJECT, 2018
** bomberman
** File description:
** SaveState.hpp
*/
#ifndef BOMBERMAN_SAVESTATE_HPP
#define BOMBERMAN_SAVESTATE_HPP
#include <time.h>
#include "../Abstracts/AState.hpp"
#include "../Abstracts/AMenuSound.hpp"
#define SAVE_BUTTON_NUMBER 2
class SaveState : public AState, public AMenuSoun... | 19.677966 | 69 | 0.723514 | thibautcornolti |
b7fcce7a23b53ad27b52bffb490cfaeac7acb822 | 1,400 | cpp | C++ | PAT_B/B1055|集体照|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | PAT_B/B1055|集体照|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | PAT_B/B1055|集体照|e.g.cpp | FunamiYui/PAT_Code_Akari | 52e06689b6bf8177c43ab9256719258c47e80b25 | [
"MIT"
] | null | null | null | //example
//对于某一排来说,每次都是左右交替进行人的放置,因此按此排内部的序号来说一定是一侧奇数一侧偶数
//最后从后排往前排一依次输出每排的人的姓名
//将所有人按身高从高到低排序,身高相同时按照姓名字典序从小到大排序
//定义变量num表示当前排的人数,初值为n - (k - 1) * (n / k),即最后一排人数
//再定义变量leftPos表示该排身高最高的人在数组中的编号,于是该排所有人在数组中的编号范围是[leftPos, leftPos + num - 1]
//当处理完一排后,将leftPos加上num即可得到前一排身高最高的人在数组中的编号
//本题必须在最后一行输出换行,否则会有若干组数据"格式错误... | 27.45098 | 77 | 0.637857 | FunamiYui |
4d001073e89c0ca5b69ecdd0dc73a9c6bba32baf | 1,318 | cpp | C++ | src/Core/Scripting/ScriptAssembly.cpp | lauriscx/DEngine | 2e64c91f64715dd730f21f27355c3efa7faff85f | [
"MIT"
] | null | null | null | src/Core/Scripting/ScriptAssembly.cpp | lauriscx/DEngine | 2e64c91f64715dd730f21f27355c3efa7faff85f | [
"MIT"
] | null | null | null | src/Core/Scripting/ScriptAssembly.cpp | lauriscx/DEngine | 2e64c91f64715dd730f21f27355c3efa7faff85f | [
"MIT"
] | null | null | null | #include "ScriptAssembly.h"
ScriptAssembly::ScriptAssembly(const std::string& Name, const std::string& AssemblyName) {
//Examples https://cpp.hotexamples.com/examples/-/-/mono_add_internal_call/cpp-mono_add_internal_call-function-examples.html
mono_set_dirs(".", ".");//Set where to search for assembly file.(Location... | 43.933333 | 150 | 0.773141 | lauriscx |
4d002074e04e0dc695f191346860b577a64b5373 | 964 | hpp | C++ | sdl2-sonic-drivers/src/drivers/midi/devices/ScummVM.hpp | 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/drivers/midi/devices/ScummVM.hpp | 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/drivers/midi/devices/ScummVM.hpp | Raffaello/sdl2-sonic-drivers | 20584f100ddd7c61f584deaee0b46c5228d8509d | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <drivers/midi/Device.hpp>
#include <drivers/midi/scummvm/MidiDriver_ADLIB.hpp>
#include <memory>
#include <cstdint>
#include <hardware/opl/OPL.hpp>
namespace drivers
{
namespace midi
{
namespace devices
{
/**
* @brief Wrapper around ScummVM MidiD... | 26.777778 | 105 | 0.570539 | Raffaello |
4d013bb873fed2521820894736d56ec8300f55e1 | 5,608 | hpp | C++ | src/math/TEuler.hpp | Tonvey/ceramics | 9735b7579c7970155f4b72b9c8a55f920800f186 | [
"MIT"
] | null | null | null | src/math/TEuler.hpp | Tonvey/ceramics | 9735b7579c7970155f4b72b9c8a55f920800f186 | [
"MIT"
] | null | null | null | src/math/TEuler.hpp | Tonvey/ceramics | 9735b7579c7970155f4b72b9c8a55f920800f186 | [
"MIT"
] | null | null | null | #pragma once
#include <array>
#include <cassert>
#include <cmath>
#include <functional>
#include <initializer_list>
#include "../utils/TProperty.hpp"
#include "TMathUtils.hpp"
#include "../CeramicsPrerequisites.h"
#include "ERotationOrder.h"
CERAMICS_NAMESPACE_BEGIN
template <class T>
struct TEuler
{
typedef T valu... | 23.464435 | 79 | 0.460057 | Tonvey |
4d034b5a6ae599a2d21dbd7aedc042bcbe70203c | 1,528 | cpp | C++ | source/Library.Shared/ModelManager.cpp | DakkyDaWolf/OpenGL | 628e9aed116022175cc0c59c88ace7688309628c | [
"MIT"
] | null | null | null | source/Library.Shared/ModelManager.cpp | DakkyDaWolf/OpenGL | 628e9aed116022175cc0c59c88ace7688309628c | [
"MIT"
] | null | null | null | source/Library.Shared/ModelManager.cpp | DakkyDaWolf/OpenGL | 628e9aed116022175cc0c59c88ace7688309628c | [
"MIT"
] | null | null | null | #include "pch.h"
#include "ModelManager.h"
using namespace std;
namespace Library
{
pair<Model, vector<MeshResource>>& ModelManager::LoadModel(const std::string& fileName)
{
Model loadedModel(fileName, true);
auto assembledEntry = make_pair(fileName, make_pair(move(loadedModel), vector<MeshRe... | 29.960784 | 104 | 0.679319 | DakkyDaWolf |
4d07adfd12de072911c72e3c60f3882768d05cbd | 740 | hpp | C++ | src/public/GpuGeometry.hpp | linuxaged/gfx | 5ec841ddabca5ce589cd1ca095ce81ec52b438ee | [
"MIT"
] | null | null | null | src/public/GpuGeometry.hpp | linuxaged/gfx | 5ec841ddabca5ce589cd1ca095ce81ec52b438ee | [
"MIT"
] | null | null | null | src/public/GpuGeometry.hpp | linuxaged/gfx | 5ec841ddabca5ce589cd1ca095ce81ec52b438ee | [
"MIT"
] | null | null | null | #pragma once
#include "GpuBuffer.hpp"
#include "GpuVertexAttribute.hpp"
namespace lxd
{
class GpuGeometry
{
public:
GpuGeometry( GpuContext* context, const GpuVertexAttributeArrays* attribs,
const GpuTriangleIndexArray* indices, const bool dynamic = false );
~GpuGeometry();
public:
c... | 27.407407 | 84 | 0.564865 | linuxaged |
4d0b7b1b15d31050b49ce1c05cde7361f680d6d3 | 7,086 | hpp | C++ | boost/hash/block_cyphers/basic_shacal.hpp | dillonl/boost-cmake | 7204d4c68345a0b26e24f51fa46a04b1d2bda3e7 | [
"BSL-1.0"
] | null | null | null | boost/hash/block_cyphers/basic_shacal.hpp | dillonl/boost-cmake | 7204d4c68345a0b26e24f51fa46a04b1d2bda3e7 | [
"BSL-1.0"
] | null | null | null | boost/hash/block_cyphers/basic_shacal.hpp | dillonl/boost-cmake | 7204d4c68345a0b26e24f51fa46a04b1d2bda3e7 | [
"BSL-1.0"
] | null | null | null |
//
// Copyright 2010 Scott McMurray.
// 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 BOOST_HASH_BLOCK_CYPHERS_BASIC_SHACAL_HPP
#define BOOST_HASH_BLOCK_CYPHERS_BASIC_SHACAL_HPP
#include ... | 30.282051 | 73 | 0.52639 | dillonl |
4d0bda3f477f32cc21f869ba4521bb21ab99bed7 | 1,571 | cpp | C++ | Solitaire/game.cpp | LazyMechanic/Solitaire | 7e6e72cf32695267e7ec7fa5c8bd366b0553b439 | [
"Apache-2.0"
] | null | null | null | Solitaire/game.cpp | LazyMechanic/Solitaire | 7e6e72cf32695267e7ec7fa5c8bd366b0553b439 | [
"Apache-2.0"
] | null | null | null | Solitaire/game.cpp | LazyMechanic/Solitaire | 7e6e72cf32695267e7ec7fa5c8bd366b0553b439 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "game.h"
short Game::g_gameCondition = Condition::Nothing;
Game::~Game()
{
}
bool Game::Init()
{
// Check files
if (!m_cardsImage.loadFromFile("data/cards.png") || !m_backgroundImage.loadFromFile("data/background.png") || !m_windowIcon.loadFromFile("data/ico.png") || !Timer::SetTimerT... | 26.183333 | 238 | 0.694462 | LazyMechanic |
4d108ef626f44e7134ef6d8bf438b938a501a2cd | 693 | hpp | C++ | engine/actions/include/HelpAction.hpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/actions/include/HelpAction.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/actions/include/HelpAction.hpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #pragma once
#include "IActionManager.hpp"
class HelpAction : public IActionManager
{
public:
ActionCostValue help(CreaturePtr creature) const;
ActionCostValue keybindings() const;
ActionCostValue introduction_roguelikes() const;
ActionCostValue game_history() const;
ActionCostValue strategy_basi... | 30.130435 | 130 | 0.776335 | sidav |
4d16b136a894f70a6cffc9c0fa53590f89c3be6f | 1,194 | cpp | C++ | ige/src/ecs/Entity.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 3 | 2021-06-05T00:36:50.000Z | 2022-02-27T10:23:53.000Z | ige/src/ecs/Entity.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 11 | 2021-05-08T22:00:24.000Z | 2021-11-11T22:33:43.000Z | ige/src/ecs/Entity.cpp | Arcahub/ige | b9f61209c924c7b683d2429a07e76251e6eb7b1b | [
"MIT"
] | 4 | 2021-05-20T12:41:23.000Z | 2021-11-09T14:19:18.000Z | #include "igepch.hpp"
#include "ige/ecs/Entity.hpp"
#include <cstddef>
#include <cstdint>
using ige::ecs::EntityId;
using ige::ecs::EntityPool;
EntityId::EntityId(std::size_t index, std::uint64_t gen)
: m_index(index)
, m_generation(gen)
{
}
std::size_t EntityId::index() const
{
return m_index;
}
std::... | 18.65625 | 56 | 0.649079 | Arcahub |
4d16d978af99044cd4ad2b4654a67b9e32983efc | 623 | cpp | C++ | usaco/CountingLiars2022Bronze.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | 1 | 2022-02-24T21:35:18.000Z | 2022-02-24T21:35:18.000Z | usaco/CountingLiars2022Bronze.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | null | null | null | usaco/CountingLiars2022Bronze.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | 1 | 2022-02-12T14:40:21.000Z | 2022-02-12T14:40:21.000Z | #include <iostream>
#include <vector>
#include <map>
using namespace std;
int main() {
int n; cin >> n;
map<int, pair<int, int>> m;
int G = 0, L = 0;
while (n--) {
char c; int p; cin >> c >> p;
if (!m.count(p)) m[p] = { 0, 0 };
if (c == 'G') {
m[p].second++; G++;
... | 20.096774 | 41 | 0.41573 | datpq |
4d1c9ed2f5b09a76c4ea8b8c399d060f47dbaf87 | 10,555 | cpp | C++ | src/apps/webpositive/support/FontSelectionView.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 4 | 2016-03-29T21:45:21.000Z | 2016-12-20T00:50:38.000Z | src/apps/webpositive/support/FontSelectionView.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | null | null | null | src/apps/webpositive/support/FontSelectionView.cpp | axeld/haiku | e3becd53eef5c093ee8c8f32bab51d40b0f2b8d4 | [
"MIT"
] | 3 | 2018-12-17T13:07:38.000Z | 2021-09-08T13:07:31.000Z | /*
* Copyright 2001-2010, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Mark Hogben
* DarkWyrm <bpmagic@columbus.rr.com>
* Axel Dörfler, axeld@pinc-software.de
* Philippe Saint-Pierre, stpere@gmail.com
* Stephan Aßmus <superstippi@gmx.de>
*/
#include "FontSelectionView.h"
#inc... | 20.028463 | 79 | 0.714543 | axeld |
4d2112cc143eb22dbf48e50678e77ceb984a7d5c | 3,255 | cpp | C++ | GUIWidgets/BasicStreamEditor/DDTable.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | 1 | 2020-07-31T07:10:11.000Z | 2020-07-31T07:10:11.000Z | GUIWidgets/BasicStreamEditor/DDTable.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | null | null | null | GUIWidgets/BasicStreamEditor/DDTable.cpp | gladk/Dyssol-open | 53eb7b589ad03eb477d743ee6a90ee10297a9366 | [
"BSD-3-Clause"
] | 1 | 2021-03-04T06:44:38.000Z | 2021-03-04T06:44:38.000Z | /* Copyright (c) 2020, Dyssol Development Team. All rights reserved. This file is part of Dyssol. See LICENSE file for license information. */
#include "DDTable.h"
#include <QHeaderView>
CDDTable::CDDTable( QWidget *parent, Qt::WindowFlags flags ) : QWidget(parent, flags)
{
m_pData = NULL;
m_bNormalize = false;
m... | 26.25 | 142 | 0.691859 | gladk |
4d24dba9103c6edaab819e7c275ffc14e2841f72 | 1,852 | hpp | C++ | include/enum_tools.hpp | upobir/Enum_Tools | 3b99d4853d4d4a23b9254bc9b7a6530b9d0e19e8 | [
"MIT"
] | null | null | null | include/enum_tools.hpp | upobir/Enum_Tools | 3b99d4853d4d4a23b9254bc9b7a6530b9d0e19e8 | [
"MIT"
] | null | null | null | include/enum_tools.hpp | upobir/Enum_Tools | 3b99d4853d4d4a23b9254bc9b7a6530b9d0e19e8 | [
"MIT"
] | null | null | null | #ifdef GENERATE_DECLARATION_FOR
#define __SIGNATURE GENERATE_DECLARATION_FOR
#define __IMPL_DECLARATION(name, ...) \
{ \
__VA_ARGS__ \
}; \
char const * enumString(name e); \
template<typename T> \
std::vector<T> const enumValues(); \
template<typename T> \
int enumCount();
#define ENUM_CLASS(name, ...) \
enum cl... | 17.980583 | 60 | 0.721382 | upobir |
4d2699f1db5c4f512e3eb5c6a710a8ff327426e5 | 742 | hpp | C++ | src/preprocess/mt-metis-0.7.2/wildriver/src/VectorReaderFactory.hpp | curiosityyy/SubgraphMatchGPU | 7089496084d94a72693dca230ed5165cb94ae4a4 | [
"MIT"
] | 2 | 2017-07-25T19:46:52.000Z | 2018-02-13T15:24:02.000Z | external/mt-metis-0.7.2/wildriver/src/VectorReaderFactory.hpp | yfg/GDSP | 56fe2242b32d3a1efd24733d0ab30242ee3df2ba | [
"MIT"
] | 25 | 2017-07-20T02:35:49.000Z | 2018-12-21T01:43:42.000Z | external/mt-metis-0.7.2/wildriver/src/VectorReaderFactory.hpp | yfg/GDSP | 56fe2242b32d3a1efd24733d0ab30242ee3df2ba | [
"MIT"
] | null | null | null | /**
* @file VectorReaderFactory.hpp
* @brief Class for instantiating vector readers.
* @author Dominique LaSalle <wildriver@domnet.org>
* Copyright 2015-2016
* @version 1
* @date 2015-02-07
*/
#ifndef WILDRIVER_VECTORREADERFACTORY_HPP
#define WILDRIVER_VECTORREADERFACTORY_HPP
#include <memory>
#include ... | 13.017544 | 70 | 0.672507 | curiosityyy |
4d2c203b5abe796346d389d430964b001bd6a2be | 4,672 | cpp | C++ | SharedCode/SMbbox3d.cpp | timskillman/raspberrypi | bf5ce1fe98f2b6571a05da2e92a7b783441ac692 | [
"MIT"
] | 17 | 2018-11-17T14:41:54.000Z | 2021-12-07T17:01:21.000Z | SharedCode/SMbbox3d.cpp | timskillman/raspberrypi | bf5ce1fe98f2b6571a05da2e92a7b783441ac692 | [
"MIT"
] | 4 | 2018-10-18T05:43:57.000Z | 2020-10-01T22:03:08.000Z | SharedCode/SMbbox3d.cpp | timskillman/raspberrypi | bf5ce1fe98f2b6571a05da2e92a7b783441ac692 | [
"MIT"
] | 4 | 2018-10-18T05:15:57.000Z | 2020-11-04T04:13:46.000Z | #include "SMbbox3d.h"
#ifdef __WINDOWS__
#include <cmath>
#endif
void SMbbox3d::init()
{
min = vec3f(1e8, 1e8, 1e8);
max = vec3f(-1e8, -1e8, -1e8);
radius = 0;
}
SMbbox3d::SMbbox3d(vec3f _min, vec3f _max)
{
init();
}
void SMbbox3d::update(vec3f point)
{
if (point.x < min.x) min.x = point.x;
if (point.x > ma... | 32.22069 | 136 | 0.648545 | timskillman |
4d2cd2c663b134e7f69151b525afbc5308ac77b0 | 571 | hpp | C++ | include/mgard-x/MDR/Writer/WriterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | include/mgard-x/MDR/Writer/WriterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | include/mgard-x/MDR/Writer/WriterInterface.hpp | JieyangChen7/MGARD | acec8facae1e2767a3adff2bb3c30f3477e69bdb | [
"Apache-2.0"
] | null | null | null | #ifndef _MDR_WRITER_INTERFACE_HPP
#define _MDR_WRITER_INTERFACE_HPP
namespace MDR {
namespace concepts {
// Refactored data writer
class WriterInterface {
public:
virtual ~WriterInterface() = default;
virtual std::vector<uint32_t> write_level_components(
const std::vector<std::vector<uint8_t *>> &level_com... | 24.826087 | 80 | 0.744308 | JieyangChen7 |
4d32964fecfdc00c83931a8d29dc1b4f3875822b | 491 | cpp | C++ | src/main.cpp | electromaggot/HelloVulkanSDL | 9f63569f1b902ec761d855d6829beead01e8f72b | [
"Unlicense"
] | 3 | 2019-12-05T04:46:47.000Z | 2021-09-04T23:14:27.000Z | src/main.cpp | electromaggot/HelloVulkanSDL | 9f63569f1b902ec761d855d6829beead01e8f72b | [
"Unlicense"
] | 2 | 2022-02-18T10:40:12.000Z | 2022-02-20T16:29:37.000Z | src/main.cpp | electromaggot/HelloVulkanSDL | 9f63569f1b902ec761d855d6829beead01e8f72b | [
"Unlicense"
] | null | null | null | //
// main.cpp
//
// Created 1/27/19 by Tadd Jensen
// © 0000 (uncopyrighted; use at will)
//
#include "HelloTriangle.h"
#include "AppConstants.h"
#include "Logging.h"
int main(int argc, char* argv[])
{
AppConstants.setExePath(argv[0]);
LogStartup();
HelloApplication app;
try {
app.Init();
app.Run();
} ca... | 15.34375 | 38 | 0.653768 | electromaggot |
2ec179ff2601e6190d42b11645f386ca07d2a501 | 3,190 | cpp | C++ | backends/analysis/ub/ControlLattice.cpp | dragosdmtrsc/bf4 | 2e15e50acc4314737d99093b3d900fa44d795958 | [
"Apache-2.0"
] | 10 | 2020-08-05T12:52:37.000Z | 2021-05-20T02:15:04.000Z | backends/analysis/ub/ControlLattice.cpp | shellqiqi/bf4 | 6c99c8f5b0dc61cf2cb7602c9f13ada7b651703f | [
"Apache-2.0"
] | 4 | 2020-09-28T12:17:50.000Z | 2021-11-23T12:23:38.000Z | backends/analysis/ub/ControlLattice.cpp | shellqiqi/bf4 | 6c99c8f5b0dc61cf2cb7602c9f13ada7b651703f | [
"Apache-2.0"
] | 2 | 2020-10-13T07:59:42.000Z | 2021-12-08T21:35:05.000Z | //
// Created by dragos on 17.12.2019.
//
#include "ControlLattice.h"
#include "AnalysisContext.h"
namespace analysis {
ControlLattice::ControlLattice(ReferenceMap *refMap, TypeMap *typeMap,
const CFG *g, NodeToFunctionMap *funmap)
: refMap(refMap), typeMap(typeMap), cfg(g), funmap... | 32.886598 | 77 | 0.655799 | dragosdmtrsc |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.