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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1b803621efe045366886c0a1b59f2ed773f422a0 | 574 | cpp | C++ | simple-functions-no-ec/main.cpp | masterl/input-studies | d713cb69ca196e9e2606f35ed385c4ba87b26e5c | [
"MIT"
] | null | null | null | simple-functions-no-ec/main.cpp | masterl/input-studies | d713cb69ca196e9e2606f35ed385c4ba87b26e5c | [
"MIT"
] | null | null | null | simple-functions-no-ec/main.cpp | masterl/input-studies | d713cb69ca196e9e2606f35ed385c4ba87b26e5c | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <string>
std::string read_line();
int read_integer();
int main()
{
int number;
std::string user_input;
std::cout << "Input a number: ";
number = read_integer();
std::cout << "\nYou typed [" << number << "]" << std::endl;
return 0;
}
std::str... | 13.348837 | 63 | 0.587108 | masterl |
1b813949c2042cc6e45b8322514a5bc0bafb5b3e | 190 | cc | C++ | src/cli_main.cc | jeresch/oonalysis | 09b49dcd57616e56ff9abcd8989ef18be1489b9a | [
"BSD-Source-Code"
] | 2 | 2019-01-02T12:06:32.000Z | 2020-05-24T06:08:57.000Z | src/cli_main.cc | jeresch/oonalysis | 09b49dcd57616e56ff9abcd8989ef18be1489b9a | [
"BSD-Source-Code"
] | null | null | null | src/cli_main.cc | jeresch/oonalysis | 09b49dcd57616e56ff9abcd8989ef18be1489b9a | [
"BSD-Source-Code"
] | null | null | null | #include "cli/cli.h"
extern "C" {
#include "util/log.h"
}
int main(int argc, char** argv) {
LOG(INFO, "Welcome to oonalysis");
oonalysis::cli::main_cli(argc, argv);
return 0;
}
| 17.272727 | 41 | 0.621053 | jeresch |
1b8482420c31b42c9add65105da57c73414dc212 | 1,593 | hpp | C++ | library/text/cpp/include/tetengo/text/grapheme_splitting/character_width.hpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | library/text/cpp/include/tetengo/text/grapheme_splitting/character_width.hpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | 41 | 2021-06-25T14:20:29.000Z | 2022-01-16T02:50:50.000Z | library/text/cpp/include/tetengo/text/grapheme_splitting/character_width.hpp | tetengo/tetengo | 66e0d03635583c25be4320171f3cc1e7f40a56e6 | [
"MIT"
] | null | null | null | /*! \file
\brief A character width.
Copyright (C) 2019-2022 kaoru https://www.tetengo.org/
*/
#if !defined(TETENGO_TEXT_GRAPHEMESPLITTING_CHARACTERWIDTH_HPP)
#define TETENGO_TEXT_GRAPHEMESPLITTING_CHARACTERWIDTH_HPP
#include <cstddef>
#include <boost/core/noncopyable.hpp>
namespace tetengo:... | 20.960526 | 90 | 0.526051 | tetengo |
1b8987cb6145386e75379d6bbe0588eec6ee2d5d | 5,693 | hpp | C++ | src/GL3Engine/Graphics/Texture.hpp | Mati365/Potato3D-Engine | bf683a7213716d17d61d0e53edb32469af5166eb | [
"Unlicense",
"MIT"
] | null | null | null | src/GL3Engine/Graphics/Texture.hpp | Mati365/Potato3D-Engine | bf683a7213716d17d61d0e53edb32469af5166eb | [
"Unlicense",
"MIT"
] | null | null | null | src/GL3Engine/Graphics/Texture.hpp | Mati365/Potato3D-Engine | bf683a7213716d17d61d0e53edb32469af5166eb | [
"Unlicense",
"MIT"
] | null | null | null | #ifndef TEXTURE_HPP_
#define TEXTURE_HPP_
#include <SOIL/SOIL.h>
#include "Types.hpp"
namespace GL3Engine {
namespace CoreMaterial {
extern void putGLTextureFlags(GLenum, GLuint);
struct TextureFlags {
GLenum type;
GLenum bytes;
GLuint flags;
... | 30.607527 | 81 | 0.436325 | Mati365 |
b842f440de57c2f990b04c6041f743dc33fde7a6 | 12,178 | cpp | C++ | high-precision-anticyclic-fft/src/bench_fft_mpfr.cpp | tfhe/experimental-tfhe | 248ee1fd69e4344d19026371dec251c6ab28edfc | [
"Apache-2.0"
] | 15 | 2017-08-13T01:43:58.000Z | 2021-09-10T08:56:16.000Z | high-precision-anticyclic-fft/src/bench_fft_mpfr.cpp | tfhe/experimental-tfhe | 248ee1fd69e4344d19026371dec251c6ab28edfc | [
"Apache-2.0"
] | null | null | null | high-precision-anticyclic-fft/src/bench_fft_mpfr.cpp | tfhe/experimental-tfhe | 248ee1fd69e4344d19026371dec251c6ab28edfc | [
"Apache-2.0"
] | 1 | 2018-02-08T01:09:00.000Z | 2018-02-08T01:09:00.000Z | #include <complex>
#include <iostream>
#include <cstdint>
#include <vector>
#include <cassert>
#include <random>
#include <gmpxx.h>
#include <mpfr.h>
using namespace std;
typedef int64_t Torus64;
typedef int32_t Torus32;
#ifndef ALPHA_BITS
const int ALPHA_BITS = 60;
#endif
const int MIN_N = 1000*ALPHA_BITS/35;
con... | 25.318087 | 157 | 0.558712 | tfhe |
b843d7d12819e48802975de313149d93dbedb6cc | 308 | cpp | C++ | Passing_Arg_P.cpp | sinarashidiazar/cpp | 97ff3b6821efb3857b7a1a4cc24a6294e7279e75 | [
"MIT"
] | null | null | null | Passing_Arg_P.cpp | sinarashidiazar/cpp | 97ff3b6821efb3857b7a1a4cc24a6294e7279e75 | [
"MIT"
] | null | null | null | Passing_Arg_P.cpp | sinarashidiazar/cpp | 97ff3b6821efb3857b7a1a4cc24a6294e7279e75 | [
"MIT"
] | null | null | null | // PASSING ARGUMENTS THROUGH POINTERS
#include <iostream>
#include <conio.h>
using namespace std;
void f(int *);
main()
{
int a=2;
f(&a);
cout<<a; //5
getch();
}
void f(int *n)
{
*n=*n+3;
}
/*
main()
{
int a=2;
f(a);
cout<<a; //5
getch();
}
void f(int &n)
{
n=n+3;
}
*/
| 7.512195 | 38 | 0.493506 | sinarashidiazar |
b84463e5c7a059f32238d831a304570db5df1e7b | 495 | cpp | C++ | src/0078.cpp | shuihan0555/LeetCode-Solutions-in-Cpp17 | 8bb69fc546486c5e73839431204927626601dd18 | [
"MIT"
] | null | null | null | src/0078.cpp | shuihan0555/LeetCode-Solutions-in-Cpp17 | 8bb69fc546486c5e73839431204927626601dd18 | [
"MIT"
] | null | null | null | src/0078.cpp | shuihan0555/LeetCode-Solutions-in-Cpp17 | 8bb69fc546486c5e73839431204927626601dd18 | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<int>> subsets(vector<int>& nums) {
vector<vector<int>> res;
vector<int> tmp;
dfs(res, tmp, nums, 0);
return res;
}
void dfs(vector<vector<int>>& res, vector<int>& tmp, vector<int>& nums, int n)
{
res.emplace_back(tmp);
... | 24.75 | 82 | 0.490909 | shuihan0555 |
b844ab8f2e3ac093152c84bbd96f9db4b071c51c | 325 | cpp | C++ | array.cpp | siddharthshenoy/LEET | 130a7c526417ea9d1896553c8f048e248d4bba35 | [
"MIT"
] | null | null | null | array.cpp | siddharthshenoy/LEET | 130a7c526417ea9d1896553c8f048e248d4bba35 | [
"MIT"
] | null | null | null | array.cpp | siddharthshenoy/LEET | 130a7c526417ea9d1896553c8f048e248d4bba35 | [
"MIT"
] | null | null | null | class Solution {
public:
int removeElement(vector<int>& nums, int val) {
int i;
for(i=0;i<nums.size();i++){
if(nums[i]==val){
swap(nums[i],nums[nums.size()-1]);
nums.pop_back();
i=-1;
}
}
return nums.size();
... | 21.666667 | 51 | 0.409231 | siddharthshenoy |
b848bb7b3559c79aafb7e54b2aedd6a6e5db6231 | 4,512 | cpp | C++ | Systems/Device.cpp | Excelsus4/TrexRunner | 6b1bfdab63c7554c09072cc1b889de0e58415f49 | [
"MIT"
] | null | null | null | Systems/Device.cpp | Excelsus4/TrexRunner | 6b1bfdab63c7554c09072cc1b889de0e58415f49 | [
"MIT"
] | null | null | null | Systems/Device.cpp | Excelsus4/TrexRunner | 6b1bfdab63c7554c09072cc1b889de0e58415f49 | [
"MIT"
] | null | null | null | #pragma once
#include "stdafx.h"
#include "Device.h"
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
InitWindow(hInstance, nShowCmd);
InitDirect3D(hInstance);
Running();
Destroy();
return 0;
}
HWND Hwnd = NULL;
wstring Title = L"Draw Sprite";
IDXGISwapChain* ... | 19.964602 | 95 | 0.706117 | Excelsus4 |
b8496a25aaa6a44d87ea167c384c7cb261cb3d2c | 2,248 | hpp | C++ | src/world/TextureInfoCollection.hpp | desktopgame/ofxPlanet | fe364e83f4c0ec0f169df63ce989a88ae6328c07 | [
"BSD-2-Clause",
"MIT"
] | 3 | 2020-02-24T14:19:20.000Z | 2021-05-17T11:25:07.000Z | src/world/TextureInfoCollection.hpp | desktopgame/ofxPlanet | fe364e83f4c0ec0f169df63ce989a88ae6328c07 | [
"BSD-2-Clause",
"MIT"
] | 1 | 2020-02-25T09:20:34.000Z | 2020-02-25T09:38:49.000Z | src/world/TextureInfoCollection.hpp | desktopgame/ofxPlanet | fe364e83f4c0ec0f169df63ce989a88ae6328c07 | [
"BSD-2-Clause",
"MIT"
] | 1 | 2021-08-14T07:12:42.000Z | 2021-08-14T07:12:42.000Z | #pragma once
#ifndef WORLD_TEXTURECOLLECTIONINFO_HPP
#define WORLD_TEXTURECOLLECTIONINFO_HPP
#include <string>
#include <vector>
#include "Optional.hpp"
namespace ofxPlanet {
/**
* TextureMappingRule is sides in block mapped texture.
*/
struct TextureMappingRule {
explicit TextureMappingRule();
Opti... | 25.545455 | 75 | 0.585854 | desktopgame |
b84a9740cc8baff0def9813075bef61e37af9f25 | 494 | cpp | C++ | Solutions-to-Books/C++Primer/Chapter08/8.09.cpp | Horizon-Blue/playground | 4bd42bfcec60b8e89e127f4784c99f6ba669d359 | [
"MIT"
] | 2 | 2016-08-31T19:13:24.000Z | 2017-02-18T18:48:31.000Z | Solutions-to-Books/C++Primer/Chapter08/8.09.cpp | Horizon-Blue/playground | 4bd42bfcec60b8e89e127f4784c99f6ba669d359 | [
"MIT"
] | 1 | 2018-12-10T16:32:26.000Z | 2018-12-27T19:50:48.000Z | Solutions-to-Books/C++Primer/Chapter08/8.09.cpp | Horizon-Blue/playground | 4bd42bfcec60b8e89e127f4784c99f6ba669d359 | [
"MIT"
] | null | null | null | // Exercise 8.9
// Use the function you wrote for the first exercise in
// Section 8.1.2 (p.314) to print the contents of an
// istringstream object.
// Xiaoyan Wang 3/25/2016
// Mostly copied from 8.2.cpp
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
istream& ifunc(istream& is) {
st... | 18.296296 | 55 | 0.653846 | Horizon-Blue |
b84c6b20e984cbe23d04fe7302a3ea6d153e22da | 4,352 | cpp | C++ | src/Renderer.cpp | bashawhm/Clay | d34f10c26a1991655b1cc353b1e023988a7457bd | [
"MIT"
] | null | null | null | src/Renderer.cpp | bashawhm/Clay | d34f10c26a1991655b1cc353b1e023988a7457bd | [
"MIT"
] | null | null | null | src/Renderer.cpp | bashawhm/Clay | d34f10c26a1991655b1cc353b1e023988a7457bd | [
"MIT"
] | 1 | 2019-08-05T01:43:16.000Z | 2019-08-05T01:43:16.000Z | #include "Renderer.h"
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <string>
#include <sstream>
#include <assert.h>
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#include "Texture.h"
#include "RenderModel.h"
#include "json.cpp"
using json = nlohmann::json;
using namespace std;
#define WINDO... | 29.605442 | 167 | 0.596507 | bashawhm |
b85293857ab5daecf290dc9c27ba52360bc4c690 | 7,816 | cpp | C++ | src/Native/gc/softwarewritewatch.cpp | lambdageek/corert | 11136ad55767485063226be08cfbd32ed574ca43 | [
"MIT"
] | 9 | 2018-02-28T14:24:42.000Z | 2021-07-07T13:12:15.000Z | src/Native/gc/softwarewritewatch.cpp | lambdageek/corert | 11136ad55767485063226be08cfbd32ed574ca43 | [
"MIT"
] | 8 | 2016-12-02T10:22:20.000Z | 2020-10-08T15:06:17.000Z | src/Native/gc/softwarewritewatch.cpp | lambdageek/corert | 11136ad55767485063226be08cfbd32ed574ca43 | [
"MIT"
] | 23 | 2017-06-05T16:21:58.000Z | 2022-01-31T11:01:47.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "common.h"
#include "gcenv.h"
#include "env/gcenv.os.h"
#include "softwarewritewatch.h"
#ifdef FEATURE_USE... | 32.164609 | 136 | 0.610287 | lambdageek |
b853a7bf267c6fb2fee68f89dc90eda9e959dca6 | 229 | cc | C++ | src/Reader/reader_base.cc | studla/RYUTO | 43abd5757745a14d0ee8824093bbfa7a361581d8 | [
"BSD-3-Clause"
] | 3 | 2021-07-26T08:48:51.000Z | 2022-03-27T07:33:21.000Z | src/Reader/reader_base.cc | studla/RYUTO | 43abd5757745a14d0ee8824093bbfa7a361581d8 | [
"BSD-3-Clause"
] | 3 | 2019-06-03T08:40:23.000Z | 2020-09-16T11:34:53.000Z | src/Reader/reader_base.cc | studla/RYUTO | 43abd5757745a14d0ee8824093bbfa7a361581d8 | [
"BSD-3-Clause"
] | 1 | 2019-06-07T21:52:26.000Z | 2019-06-07T21:52:26.000Z | /*
* File: reader_base.cc
* Author: Thomas Gatter <thomas(at)bioinf.uni-leipzig.de>
*
* Created on December 2, 2015, 5:51 PM
*/
#include "reader_base.h"
reader_base::reader_base() {
}
reader_base::~reader_base() {
}
| 14.3125 | 58 | 0.659389 | studla |
b854d5d500fb7bd0b40f7f4b71cf8763e4da3d29 | 1,873 | cpp | C++ | Hollow_Faith/Motor2D/j1GUIconsole.cpp | juanha2/PlatformerGame | f95af3cb237ff8fcb59f16f58598ca0a94cf9f1c | [
"Unlicense"
] | 4 | 2019-10-27T16:47:13.000Z | 2020-03-16T17:02:36.000Z | Hollow_Faith/Motor2D/j1GUIconsole.cpp | juanha2/PlatformerGame | f95af3cb237ff8fcb59f16f58598ca0a94cf9f1c | [
"Unlicense"
] | null | null | null | Hollow_Faith/Motor2D/j1GUIconsole.cpp | juanha2/PlatformerGame | f95af3cb237ff8fcb59f16f58598ca0a94cf9f1c | [
"Unlicense"
] | 8 | 2019-12-19T15:16:50.000Z | 2020-06-14T22:12:33.000Z | #include "j1GUIconsole.h"
#include "j1App.h"
#include "j1GUI.h"
#include "j1Textures.h"
#include "j1Fonts.h"
#include "j1Window.h"
j1GUIconsole::j1GUIconsole() {
this->type = GUItype::GUI_CONSOLE;
texture = App->gui->GetAtlasTexture();
}
j1GUIconsole::~j1GUIconsole() {
}
bool j1GUIconsole::Start() {
//Adding c... | 27.144928 | 227 | 0.674319 | juanha2 |
b857f20838af04dc83fc106d98f392ff55e4e060 | 13,476 | cpp | C++ | src/ModelPredictiveControl.cpp | stephane-caron/lipm_walking_controller | d70ae07354f552a27b44885cdb263fec03875d36 | [
"BSD-2-Clause"
] | 121 | 2018-09-25T11:14:37.000Z | 2022-03-31T05:31:39.000Z | src/ModelPredictiveControl.cpp | stephane-caron/lipm_walking_controller | d70ae07354f552a27b44885cdb263fec03875d36 | [
"BSD-2-Clause"
] | 57 | 2018-09-21T01:37:54.000Z | 2020-12-29T15:59:24.000Z | src/ModelPredictiveControl.cpp | stephane-caron/lipm_walking_controller | d70ae07354f552a27b44885cdb263fec03875d36 | [
"BSD-2-Clause"
] | 35 | 2018-09-21T01:07:40.000Z | 2022-02-25T21:36:47.000Z | /*
* Copyright (c) 2018-2019, CNRS-UM LIRMM
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of con... | 36.520325 | 119 | 0.625111 | stephane-caron |
b85b847ae5920f980028cd30b025fe5753268e5c | 14,017 | cpp | C++ | tests/app/main.cpp | cwyyprog/bitshares-core | f47c115cd21e62829e242447398b20b40a32cddf | [
"MIT"
] | 7 | 2016-07-04T20:07:12.000Z | 2020-10-20T16:26:14.000Z | tests/app/main.cpp | cwyyprog/bitshares-core | f47c115cd21e62829e242447398b20b40a32cddf | [
"MIT"
] | 19 | 2018-02-01T18:30:11.000Z | 2019-02-11T16:53:33.000Z | tests/app/main.cpp | cwyyprog/bitshares-core | f47c115cd21e62829e242447398b20b40a32cddf | [
"MIT"
] | 7 | 2016-11-10T05:04:08.000Z | 2020-10-20T16:26:20.000Z | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the... | 39.934473 | 120 | 0.708354 | cwyyprog |
b85c4ab022281377307b8eaad0a59d6f8e1c1a4a | 3,676 | hpp | C++ | ufora/FORA/Native/TypedNativeExpressionConstantConversion.hpp | ufora/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 571 | 2015-11-05T20:07:07.000Z | 2022-01-24T22:31:09.000Z | ufora/FORA/Native/TypedNativeExpressionConstantConversion.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 218 | 2015-11-05T20:37:55.000Z | 2021-05-30T03:53:50.000Z | ufora/FORA/Native/TypedNativeExpressionConstantConversion.hpp | timgates42/ufora | 04db96ab049b8499d6d6526445f4f9857f1b6c7e | [
"Apache-2.0",
"CC0-1.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 40 | 2015-11-07T21:42:19.000Z | 2021-05-23T03:48:19.000Z | /***************************************************************************
Copyright 2015 Ufora 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/licen... | 24.184211 | 77 | 0.737486 | ufora |
b85e1ed85b521e819607ad2a6d9b280c94f80dcc | 3,164 | cpp | C++ | Fog/FogLabelStatement.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | Fog/FogLabelStatement.cpp | UltimateScript/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | 2 | 2021-07-07T17:31:49.000Z | 2021-07-16T11:40:38.000Z | Fog/FogLabelStatement.cpp | OuluLinux/FOG | edc96d916fc299f0a822f8c534a4e7487c0e3ea2 | [
"BSD-3-Clause"
] | null | null | null | #include <Fog/FogIncludeAll.h>
TYPEINFO_SINGLE(FogLabelStatement, Super)
FOGTOKEN_LEAF_IMPL(FogLabelStatement)
FogLabelStatement::FogLabelStatement(FogName& aLabel, FogRaw& aStatement)
:
_label(aLabel),
_statement(aStatement)
{}
FogLabelStatement::FogLabelStatement(const This& aStatement)
:
Super(aState... | 29.027523 | 112 | 0.773704 | UltimateScript |
b860d07e7f0ca9016b7cf1b290d96410ee724861 | 4,411 | cpp | C++ | src/blfwk/src/SimPacketizer.cpp | ko7m/NXP_Kinetis_Bootloader | 664682cc8ff8faca4e1e0532afb4e6c85dfdf18e | [
"BSD-3-Clause"
] | 22 | 2016-10-01T16:22:43.000Z | 2021-07-19T19:03:14.000Z | src/blfwk/src/SimPacketizer.cpp | ko7m/NXP_Kinetis_Bootloader | 664682cc8ff8faca4e1e0532afb4e6c85dfdf18e | [
"BSD-3-Clause"
] | 12 | 2016-11-20T21:26:48.000Z | 2018-04-30T19:06:15.000Z | src/blfwk/src/SimPacketizer.cpp | ko7m/NXP_Kinetis_Bootloader | 664682cc8ff8faca4e1e0532afb4e6c85dfdf18e | [
"BSD-3-Clause"
] | 11 | 2016-09-25T22:41:53.000Z | 2021-10-05T11:00:41.000Z | /*
* Copyright (c) 2013-14, Freescale Semiconductor, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice,... | 32.433824 | 105 | 0.63659 | ko7m |
b86526003835356b7678a1e03a9960969e01b831 | 3,470 | cpp | C++ | src/Core/Support/Debug.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | 1 | 2021-04-24T12:29:42.000Z | 2021-04-24T12:29:42.000Z | src/Core/Support/Debug.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | null | null | null | src/Core/Support/Debug.cpp | ennis/autograph-pipelines | afc66ef60bf99fca26d200bd7739528e1bf3ed8c | [
"MIT"
] | null | null | null | #ifdef AG_WINDOWS
#include <Windows.h>
#endif
#include <autograph/Core/Support/Debug.h>
#include <exception>
#include <iostream>
namespace ag {
template <typename ResultT, ResultT OffsetBasis, ResultT Prime>
class basic_fnv1a final {
static_assert(std::is_unsigned<ResultT>::value, "need unsigned integer");
public:... | 26.090226 | 75 | 0.660807 | ennis |
b86665de99719224220cb3c4d4fb28877fea534f | 1,339 | hpp | C++ | DoremiEngine/Graphic/Include/Internal/Manager/ShaderManagerImpl.hpp | meraz/doremi | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:05.000Z | 2020-03-23T15:42:05.000Z | DoremiEngine/Graphic/Include/Internal/Manager/ShaderManagerImpl.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | null | null | null | DoremiEngine/Graphic/Include/Internal/Manager/ShaderManagerImpl.hpp | Meraz/ssp15 | 452d08ebd10db50d9563c1cf97699571889ab18f | [
"MIT"
] | 1 | 2020-03-23T15:42:06.000Z | 2020-03-23T15:42:06.000Z | #pragma once
#include <Interface/Manager/ShaderManager.hpp>
#include <string>
namespace DoremiEngine
{
namespace Graphic
{
struct GraphicModuleContext;
class ShaderManagerImpl : public ShaderManager
{
public:
// TODOKO Add docs
ShaderManagerImpl(const Gra... | 41.84375 | 148 | 0.696042 | meraz |
b86bca70f1c8a709987e141703c46bc8a9f5ae97 | 1,230 | cpp | C++ | src/Camera.cpp | rabowling/senior-project | 07d7a1fba73376bc197f2ff045c057f0808d7612 | [
"MIT"
] | 1 | 2021-06-15T01:44:41.000Z | 2021-06-15T01:44:41.000Z | src/Camera.cpp | rabowling/senior-project | 07d7a1fba73376bc197f2ff045c057f0808d7612 | [
"MIT"
] | null | null | null | src/Camera.cpp | rabowling/senior-project | 07d7a1fba73376bc197f2ff045c057f0808d7612 | [
"MIT"
] | null | null | null | #include "Camera.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <cmath>
#include <algorithm>
#include <memory>
#include <iostream>
#include "Application.h"
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/quaternion.hpp>
using namespace std;
using namespace glm;
void Camera::update(glm:... | 20.5 | 82 | 0.63252 | rabowling |
b86d3c30da3b6cdb850c35dba2153ee65ed1dcb4 | 770 | cpp | C++ | src/elona/random.cpp | nanbansenji/ElonaFoobar | ddbd6639db8698e89f09b2512526e855d8016e46 | [
"MIT"
] | 1 | 2020-09-11T05:09:53.000Z | 2020-09-11T05:09:53.000Z | src/elona/random.cpp | AFB111/elonafoobar | da7a3c86dd45e68e6e490fb260ead1d67c9fff5e | [
"MIT"
] | 4 | 2021-10-30T16:45:25.000Z | 2021-11-23T06:25:43.000Z | src/elona/random.cpp | nanbansenji/ElonaFoobar | ddbd6639db8698e89f09b2512526e855d8016e46 | [
"MIT"
] | null | null | null | #include "random.hpp"
#include "gdata.hpp"
namespace elona
{
namespace detail
{
xoshiro256::xoshiro256_engine engine{std::random_device{}()};
} // namespace detail
void randomize()
{
++game_data.random_seed_offset;
randomize(game_data.random_seed + game_data.random_seed_offset);
}
int roll(int x, int... | 13.050847 | 68 | 0.549351 | nanbansenji |
b87403c37289509837985f283a779204eeecb0a5 | 1,944 | hpp | C++ | Test/SimpleKernel.hpp | lamsoa729/STKFMM | 26d7d971c198e3bed68eb8373e5590a6eb72f764 | [
"Apache-2.0"
] | null | null | null | Test/SimpleKernel.hpp | lamsoa729/STKFMM | 26d7d971c198e3bed68eb8373e5590a6eb72f764 | [
"Apache-2.0"
] | null | null | null | Test/SimpleKernel.hpp | lamsoa729/STKFMM | 26d7d971c198e3bed68eb8373e5590a6eb72f764 | [
"Apache-2.0"
] | null | null | null | #ifndef SIMPLEKERNEL_HPP
#define SIMPLEKERNEL_HPP
// 3 3 4 4/16/9/7
void StokesSLPVel(double *s, double *t, double *f, double *pvel);
void StokesSLPVelGrad(double *s, double *t, double *f, double *pvelGrad);
void StokesSLTraction(double *s, double *t, double *f, ... | 43.2 | 84 | 0.612654 | lamsoa729 |
b87413395c10e909fc0cd6508677e37abb6f170d | 880 | cpp | C++ | source/parlex/src/match.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | source/parlex/src/match.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | source/parlex/src/match.cpp | dlin172/Plange | 4b36a1225b2263bc8d38a6d1cc9b50c3d4b58e04 | [
"BSD-3-Clause"
] | null | null | null | #include "parlex/detail/match.hpp"
#include "utils.hpp"
namespace parlex {
namespace detail {
match::match(uint32_t documentPosition, uint16_t recognizerIndex, uint32_t const consumedCharacterCount) : match_class(documentPosition, recognizerIndex), consumed_character_count(consumedCharacterCount) {}
match::match(str... | 30.344828 | 206 | 0.763636 | dlin172 |
b8760e4a5edd2aa80cfdd7bc84c4485846bba99d | 2,837 | hpp | C++ | example/contrib/socks-client/socks/query.hpp | omegacoleman/beast | 98bd70d8747ff42f2d825e0d9773e8ba37dfdefd | [
"BSL-1.0"
] | null | null | null | example/contrib/socks-client/socks/query.hpp | omegacoleman/beast | 98bd70d8747ff42f2d825e0d9773e8ba37dfdefd | [
"BSL-1.0"
] | null | null | null | example/contrib/socks-client/socks/query.hpp | omegacoleman/beast | 98bd70d8747ff42f2d825e0d9773e8ba37dfdefd | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2018 jackarain (jack dot wgm at gmail dot com)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef SOCKS_QUERY_HPP
#define ... | 19.701389 | 79 | 0.522735 | omegacoleman |
b877c5719762559aaef1cf34d76178d00a0c54cb | 819 | cpp | C++ | Armenian SPOJ Solutions/OBCHESS.cpp | aristakesyanl/Armenian-Spoj-Solutions | 89d9ed139b5fd93c56f16d2944317e912524a705 | [
"MIT"
] | 1 | 2021-03-31T12:45:15.000Z | 2021-03-31T12:45:15.000Z | Armenian SPOJ Solutions/OBCHESS.cpp | aristakesyanl/Armenian-Spoj-Solutions | 89d9ed139b5fd93c56f16d2944317e912524a705 | [
"MIT"
] | null | null | null | Armenian SPOJ Solutions/OBCHESS.cpp | aristakesyanl/Armenian-Spoj-Solutions | 89d9ed139b5fd93c56f16d2944317e912524a705 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include<cmath>
using namespace std;
int ABS(int n)
{
if(n>=0) return n;
return (-1)*n;
}
int main()
{
ios_base::sync_with_stdio(false);
int arr[8][8];
for (int i = 0; i < 8; i++)
{
for (int j = 0; j < 8; j++)
{
cin >> ar... | 19.5 | 121 | 0.367521 | aristakesyanl |
b87833d603759181855606047bf43b3748b9b03f | 548 | cpp | C++ | Cpp/Math/Problems/fizzbuzz.cpp | mailtokartik1/InterviewBit-Solutions | 8a9be25cf55947aff456c7c138e2ee6f518aa6a5 | [
"MIT"
] | 58 | 2019-06-15T01:35:06.000Z | 2021-04-27T08:32:39.000Z | Math/Problems/fizzbuzz.cpp | mojo912/InterviewBit-Solutions | 62fb19efff15bbe3b42183c12d2e6adf7c4c2a84 | [
"MIT"
] | 3 | 2019-06-17T00:20:13.000Z | 2019-06-30T05:41:10.000Z | Math/Problems/fizzbuzz.cpp | mojo912/InterviewBit-Solutions | 62fb19efff15bbe3b42183c12d2e6adf7c4c2a84 | [
"MIT"
] | 14 | 2019-06-15T01:35:09.000Z | 2020-08-27T19:45:28.000Z | vector<string> Solution::fizzBuzz(int A) {
vector<string> B(A);
// check if (i + 1) is divisible by 3 or 5
for (int i = 0; i < B.size(); i ++) {
if ((i + 1) % 3 == 0 && (i + 1) % 5 == 0) {
B[i] = "FizzBuzz";
continue;
} else if ((i + 1) % 3 == 0) {
B[i] ... | 23.826087 | 51 | 0.355839 | mailtokartik1 |
b8789b28ab839fd718c561e459903e13478f192f | 753 | cpp | C++ | src/cells/src/lib/logic/display/MapDisplay.cpp | SimonPiCarter/GameEngine | 10d366bd37d202a5a22eb504b2a2dd9a49669dc8 | [
"Apache-2.0"
] | null | null | null | src/cells/src/lib/logic/display/MapDisplay.cpp | SimonPiCarter/GameEngine | 10d366bd37d202a5a22eb504b2a2dd9a49669dc8 | [
"Apache-2.0"
] | 15 | 2021-05-18T14:16:03.000Z | 2021-06-17T19:36:32.000Z | src/cells/src/lib/logic/display/MapDisplay.cpp | SimonPiCarter/GameEngine | 10d366bd37d202a5a22eb504b2a2dd9a49669dc8 | [
"Apache-2.0"
] | null | null | null | #include "MapDisplay.h"
#include <engine/GraphicEngine.h>
#include "logic/layout/MapLayout.h"
MapDisplay::MapDisplay(std::string const &scene_p, MapLayout const * layout_p)
: _scene(scene_p)
, _layout(layout_p)
{}
MapDisplay * newMapDisplay(std::string const &scene_p, MapLayout const * layout_p, GraphicEngine & ... | 27.888889 | 109 | 0.737052 | SimonPiCarter |
b87f8b6080b1f1a434b2da9413584760af8b8b50 | 677 | cpp | C++ | BST/111. Minimum Depth of Binary Tree.cpp | YuPeize/LeetCode- | b01d00f28e1eedcb04aee9eca984685bd9d52791 | [
"MIT"
] | null | null | null | BST/111. Minimum Depth of Binary Tree.cpp | YuPeize/LeetCode- | b01d00f28e1eedcb04aee9eca984685bd9d52791 | [
"MIT"
] | null | null | null | BST/111. Minimum Depth of Binary Tree.cpp | YuPeize/LeetCode- | b01d00f28e1eedcb04aee9eca984685bd9d52791 | [
"MIT"
] | null | null | null | /*
author: ypz
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int minDepth(TreeNode* root) {
if(root == NULL) return 0;
el... | 25.074074 | 90 | 0.524372 | YuPeize |
b8826393ac775fa038ff398105f4c36129eda5ab | 2,042 | cpp | C++ | test/c++/nda_storage.cpp | Wentzell/nda | 69106a64799e7942bf4b1b78fdadf3e7c9477c70 | [
"Apache-2.0"
] | 1 | 2022-03-08T06:35:19.000Z | 2022-03-08T06:35:19.000Z | test/c++/nda_storage.cpp | smile1103/nda | ff2239b910a5964942833e07d282a8cea32cb6fa | [
"Apache-2.0"
] | null | null | null | test/c++/nda_storage.cpp | smile1103/nda | ff2239b910a5964942833e07d282a8cea32cb6fa | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018-2021 Simons Foundation
//
// 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.txt
//
// Unless required by applicable l... | 22.688889 | 75 | 0.635162 | Wentzell |
b886eef21a6ba7a1968b95823cded463ab384aad | 4,874 | cpp | C++ | library/Java/Util/Concurrent/Semaphore/SemaphoreTest.cpp | foodtiny/native | 9025d337c50951b2d31eb243d0b5414496171ea5 | [
"Zlib"
] | 19 | 2017-06-10T11:32:06.000Z | 2018-07-07T13:38:50.000Z | library/Java/Util/Concurrent/Semaphore/SemaphoreTest.cpp | tinylife-io/native | 9025d337c50951b2d31eb243d0b5414496171ea5 | [
"Zlib"
] | 188 | 2017-06-10T19:45:18.000Z | 2018-07-27T16:52:21.000Z | library/Java/Util/Concurrent/Semaphore/SemaphoreTest.cpp | foodtiny/native | 9025d337c50951b2d31eb243d0b5414496171ea5 | [
"Zlib"
] | 8 | 2017-06-23T06:59:16.000Z | 2018-07-19T11:38:24.000Z | /**
* Copyright 2017-2020 Tiny Express Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of condi... | 33.383562 | 79 | 0.710915 | foodtiny |
b88bd9c3977e9eceafbfb8f74681164f293ea7ba | 17,197 | cpp | C++ | source/Tokenizer.cpp | xzrunner/cslang | 179b645c9693c3c791be11a32db877be483e9a48 | [
"MIT"
] | null | null | null | source/Tokenizer.cpp | xzrunner/cslang | 179b645c9693c3c791be11a32db877be483e9a48 | [
"MIT"
] | null | null | null | source/Tokenizer.cpp | xzrunner/cslang | 179b645c9693c3c791be11a32db877be483e9a48 | [
"MIT"
] | null | null | null | #include "cslang/Tokenizer.h"
#include "cslang/keyword.h"
#define HIGH_4BIT(v) ((v) >> (8 * sizeof(int) - 4) & 0x0f)
#define HIGH_3BIT(v) ((v) >> (8 * sizeof(int) - 3) & 0x07)
#define HIGH_1BIT(v) ((v) >> (8 * sizeof(int) - 1) & 0x01)
namespace
{
// todo: wide
void AppendSTR(std::string& str, char*... | 17.747162 | 93 | 0.531314 | xzrunner |
b88f7497c90b2b2e511bbd11481fae6b85a1507e | 531 | cc | C++ | Daily_Problem/2101/Beginning/210109_Best_Time_To_Buy_And_Sell_Stock_III/method1/solution.cc | sheriby/DandAInLeetCode | dd7f5029aa0c297ea82bb20f882b524789f35c96 | [
"MIT"
] | 1 | 2020-02-07T12:25:56.000Z | 2020-02-07T12:25:56.000Z | Daily_Problem/2101/Beginning/210109_Best_Time_To_Buy_And_Sell_Stock_III/method1/solution.cc | sheriby/DandAInLeetCode | dd7f5029aa0c297ea82bb20f882b524789f35c96 | [
"MIT"
] | null | null | null | Daily_Problem/2101/Beginning/210109_Best_Time_To_Buy_And_Sell_Stock_III/method1/solution.cc | sheriby/DandAInLeetCode | dd7f5029aa0c297ea82bb20f882b524789f35c96 | [
"MIT"
] | null | null | null | #include <vector>
using std::vector;
class Solution {
public:
// 又是股票问题,动态规划
int maxProfit(vector<int>& prices) {
int n = prices.size();
int buy1 = -prices[0], sell1 = 0;
int buy2 = -prices[0], sell2 = 0;
for (int i = 1; i < n; ++i) {
buy1 = std::max(buy1, -prices... | 26.55 | 54 | 0.489642 | sheriby |
b890d8a0ca6fcb2177fe596be01eb0c34c4cc758 | 5,149 | cpp | C++ | samples/Common/SampleFramework_Windows.cpp | SoulForMachine/GLSlayer | 37a0fab90c4e2c3a22279cc93d39e8f3091b5e12 | [
"MIT"
] | null | null | null | samples/Common/SampleFramework_Windows.cpp | SoulForMachine/GLSlayer | 37a0fab90c4e2c3a22279cc93d39e8f3091b5e12 | [
"MIT"
] | 1 | 2017-10-24T12:19:52.000Z | 2017-10-24T12:19:52.000Z | samples/Common/SampleFramework_Windows.cpp | SoulForMachine/GLSlayer | 37a0fab90c4e2c3a22279cc93d39e8f3091b5e12 | [
"MIT"
] | null | null | null |
#include "SampleFramework_Windows.h"
#include <cassert>
#include "GLSlayer/RenderContextInit.h"
#include "ISample.h"
#pragma comment(lib, "winmm.lib")
#pragma comment(lib, "GLSlayer.lib")
SampleFramework::SampleFramework(const wchar_t* name, int wndWidth, int wndHeight)
: _appName(name)
, _wndWidth(wndWidth)
, ... | 18.655797 | 122 | 0.703632 | SoulForMachine |
b8959baefbe63158ad4c81e5b51e6c6f8542f7ea | 774 | cpp | C++ | addons/role/config.cpp | JeffPerk/HavocTeam | 6fb616c41da4baece79ebac941bac72a78c715f9 | [
"MIT"
] | null | null | null | addons/role/config.cpp | JeffPerk/HavocTeam | 6fb616c41da4baece79ebac941bac72a78c715f9 | [
"MIT"
] | 7 | 2021-11-22T04:36:52.000Z | 2021-12-13T18:55:24.000Z | addons/role/config.cpp | JeffPerk/HavocTeam | 6fb616c41da4baece79ebac941bac72a78c715f9 | [
"MIT"
] | null | null | null | #include "script_component.hpp"
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"havoc_main"};
author = "";
authors[] = {""};
VERSION_CONFIG;
};
};
#inc... | 21.5 | 43 | 0.52584 | JeffPerk |
b896eac1a6f0c72429150e6a6b60f352dc5abbc0 | 200,737 | inl | C++ | 2d_samples/pmj02_65.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | 1 | 2021-12-10T23:35:04.000Z | 2021-12-10T23:35:04.000Z | 2d_samples/pmj02_65.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | null | null | null | 2d_samples/pmj02_65.inl | st-ario/rayme | 315c57c23f4aa4934a8a80e84e3243acd3400808 | [
"MIT"
] | null | null | null | {std::array<float,2>{0.112185247f, 0.532156646f},
std::array<float,2>{0.805555999f, 0.294173867f},
std::array<float,2>{0.498026997f, 0.193157688f},
std::array<float,2>{0.589425921f, 0.773976266f},
std::array<float,2>{0.302895069f, 0.95057106f},
std::array<float,2>{0.746437192f, 0.122187138f},
std::array<float,2>{0.2218... | 49.008057 | 51 | 0.734728 | st-ario |
b899df87e8d62a1020c5dbdb3dcaca9161f8c4da | 6,066 | cpp | C++ | C++/Vector4.cpp | Izhido/MiniVideoCard | bcfe5a979d8cdcaf9d5a438798e58eca4fbaa1b0 | [
"MIT"
] | 1 | 2017-05-12T15:21:00.000Z | 2017-05-12T15:21:00.000Z | C++/Vector4.cpp | Izhido/MiniVideoCard | bcfe5a979d8cdcaf9d5a438798e58eca4fbaa1b0 | [
"MIT"
] | null | null | null | C++/Vector4.cpp | Izhido/MiniVideoCard | bcfe5a979d8cdcaf9d5a438798e58eca4fbaa1b0 | [
"MIT"
] | null | null | null | //
// Vector4.cpp
// MiniVideoCard
//
// Created by Heriberto Delgado on 4/24/17.
// Copyright © 2017 Heriberto Delgado. All rights reserved.
//
#include "Vector4.h"
#include <cmath>
namespace MiniVideoCard
{
using namespace std;
Vector4::Vector4()
{
source = new vector<double>(4);
... | 19.823529 | 87 | 0.491263 | Izhido |
b89f98ab630861341e4c18551e3ba73349b145d5 | 15,272 | cc | C++ | test/f32-vdivc-relu.cc | kimishpatel/XNNPACK | 71c4d1a0b281563948210d713b6ea04f0ab7b418 | [
"BSD-3-Clause"
] | 1 | 2021-07-05T21:25:45.000Z | 2021-07-05T21:25:45.000Z | test/f32-vdivc-relu.cc | kimishpatel/XNNPACK | 71c4d1a0b281563948210d713b6ea04f0ab7b418 | [
"BSD-3-Clause"
] | 1 | 2021-04-06T08:53:46.000Z | 2021-04-07T10:55:44.000Z | test/f32-vdivc-relu.cc | kimishpatel/XNNPACK | 71c4d1a0b281563948210d713b6ea04f0ab7b418 | [
"BSD-3-Clause"
] | 2 | 2021-04-05T13:17:54.000Z | 2021-04-09T00:23:23.000Z | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
//
// Auto-generated file. Do not edit!
// Specification: test/f32-vdivc-relu.yaml
// Generator: tools/generate-vbinary-test.py
#include <gtest/gtest.... | 34.709091 | 134 | 0.729767 | kimishpatel |
b89fe533e9ef7d1c71158b974bcdc0da8af3c7b0 | 1,177 | hpp | C++ | src/bgs_engine/utils/pyutils.hpp | codpro880/heartspeed | 8027216fe3c3bb0bd702c823b876dfa42c91ce7a | [
"MIT"
] | 3 | 2019-04-28T16:01:38.000Z | 2020-12-06T02:39:03.000Z | src/bgs_engine/utils/pyutils.hpp | codpro880/heartspeed | 8027216fe3c3bb0bd702c823b876dfa42c91ce7a | [
"MIT"
] | 12 | 2020-12-06T05:30:02.000Z | 2021-04-27T00:18:13.000Z | src/bgs_engine/utils/pyutils.hpp | codpro880/heartspeed | 8027216fe3c3bb0bd702c823b876dfa42c91ce7a | [
"MIT"
] | null | null | null | #pragma once
#include <set>
#include <string>
#include <vector>
#include <unordered_set>
namespace pyutils {
template <typename T1, typename T2>
bool in(T1 to_find, std::vector<T2> vec) {
return std::find(vec.begin(), vec.end(), to_find) != vec.end();
}
template <typename T1, typename T2>
... | 30.973684 | 106 | 0.629567 | codpro880 |
b8a2826d3cc571ef68e839fac575526e961f6916 | 1,302 | cpp | C++ | src/eepp/ui/uieventdispatcher.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | src/eepp/ui/uieventdispatcher.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | null | null | null | src/eepp/ui/uieventdispatcher.cpp | jayrulez/eepp | 09c5c1b6b4c0306bb0a188474778c6949b5df3a7 | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #include <eepp/ui/uieventdispatcher.hpp>
#include <eepp/ui/uiscenenode.hpp>
#include <eepp/ui/uiwidget.hpp>
#include <eepp/window/inputevent.hpp>
#include <eepp/window/window.hpp>
namespace EE { namespace UI {
UIEventDispatcher* UIEventDispatcher::New( SceneNode* sceneNode ) {
return eeNew( UIEventDispatcher, ( scen... | 27.702128 | 90 | 0.722734 | jayrulez |
b8a78ee407f8c2ed483e83d3171b0468536e498d | 723 | cpp | C++ | AIC/AIC'20 - Level 1 Training/Week #11/V.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 3 | 2020-11-01T06:31:30.000Z | 2022-02-21T20:37:51.000Z | AIC/AIC'20 - Level 1 Training/Week #11/V.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | null | null | null | AIC/AIC'20 - Level 1 Training/Week #11/V.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 1 | 2021-05-05T18:56:31.000Z | 2021-05-05T18:56:31.000Z | //https://codeforces.com/group/Rv2Qzg0DgK/contest/291373/problem/V
#include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
typedef long long ll;
typedef long double ld;
ll mod = 1e9 + 7;
void solve ()
{
ll d;
cin >> d;
if (!d)
{
cout << "Y " << 0.000000000 << " " << 0.00... | 19.540541 | 71 | 0.470263 | MaGnsio |
b8a7b79c89288860224ae75b3a34c6d0a1c730ba | 8,451 | cpp | C++ | openstudiocore/src/utilities/core/System.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 4 | 2015-05-02T21:04:15.000Z | 2015-10-28T09:47:22.000Z | openstudiocore/src/utilities/core/System.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | null | null | null | openstudiocore/src/utilities/core/System.cpp | BIMDataHub/OpenStudio-1 | 13ec115b00aa6a2af1426ceb26446f05014c8c8d | [
"blessing"
] | 1 | 2020-11-12T21:52:36.000Z | 2020-11-12T21:52:36.000Z | /**********************************************************************
* Copyright (c) 2008-2015, Alliance for Sustainable Energy.
* 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 ... | 26.914013 | 114 | 0.568572 | BIMDataHub |
b8ac2b1f6429115981daf70980d15abdb730ed60 | 6,737 | cpp | C++ | samplecode/psi/Networking/AbstractNetworkOps.cpp | juniuszhou/incubator-mesatee-sgx | 63970120ffe0b2899909407dff1f449ddd0294a0 | [
"Apache-2.0"
] | 1 | 2021-04-06T05:53:44.000Z | 2021-04-06T05:53:44.000Z | samplecode/psi/Networking/AbstractNetworkOps.cpp | juniuszhou/incubator-mesatee-sgx | 63970120ffe0b2899909407dff1f449ddd0294a0 | [
"Apache-2.0"
] | null | null | null | samplecode/psi/Networking/AbstractNetworkOps.cpp | juniuszhou/incubator-mesatee-sgx | 63970120ffe0b2899909407dff1f449ddd0294a0 | [
"Apache-2.0"
] | 5 | 2019-05-23T02:54:44.000Z | 2019-07-03T02:32:52.000Z | // Copyright (C) 2017-2019 Baidu, Inc. All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 34.372449 | 145 | 0.654891 | juniuszhou |
b8b09cb873f39c39cadfd4d13d084a9e83f23cb0 | 15,587 | cpp | C++ | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/type_traits/test/src/unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file unit_test_fnd_type_traits_is_nothrow_move_assignable.cpp
*
* @brief is_nothrow_move_assignable のテスト
*
* @author myoukaku
*/
#include <bksge/fnd/type_traits/is_nothrow_move_assignable.hpp>
#include <bksge/fnd/config.hpp>
#include <gtest/gtest.h>
#include <cstddef>
#include "type_traits_te... | 54.5 | 89 | 0.796561 | myoukaku |
b8b5202e27369a74430aa130db68501ff6891eec | 7,644 | cpp | C++ | mobile/src/operators/kernel/fpga/V2/psroi_pool_kernel.cpp | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | 1 | 2019-08-21T05:54:42.000Z | 2019-08-21T05:54:42.000Z | mobile/src/operators/kernel/fpga/V2/psroi_pool_kernel.cpp | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | null | null | null | mobile/src/operators/kernel/fpga/V2/psroi_pool_kernel.cpp | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | 1 | 2019-10-11T09:34:49.000Z | 2019-10-11T09:34:49.000Z | /* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 37.655172 | 79 | 0.669021 | hcj5206 |
b8b78ce03ce88990d5527bc5b35bf80976b92c48 | 10,392 | cpp | C++ | red-microdnf/microdnf/commands/advisory/advisory.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | 5 | 2021-02-24T09:00:36.000Z | 2022-02-10T16:37:10.000Z | red-microdnf/microdnf/commands/advisory/advisory.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | null | null | null | red-microdnf/microdnf/commands/advisory/advisory.cpp | redpesk-labs/red-pak | bd11881f50ae627a0641448ae0b307a9a9e2877e | [
"Apache-2.0"
] | null | null | null | /*
Copyright (C) 2021 Red Hat, Inc.
This file is part of microdnf: https://github.com/rpm-software-management/libdnf/
Microdnf 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 2 of the License, or
... | 44.221277 | 155 | 0.705639 | redpesk-labs |
b8bac0e5d60cfff9a9be59952de077f3d2294cf1 | 3,546 | cpp | C++ | liblava/asset/write_image.cpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | 11 | 2018-10-26T02:15:53.000Z | 2019-05-25T16:08:17.000Z | liblava/asset/write_image.cpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | null | null | null | liblava/asset/write_image.cpp | TheLavaBlock/LavaBlock | fc2eadb75dfa58622a1941911f20fe31f8780f30 | [
"MIT"
] | null | null | null | /**
* @file liblava/asset/write_image.cpp
* @brief Write image data to file
* @authors Lava Block OÜ and contributors
* @copyright Copyright (c) 2018-present, MIT License
*/
#include <liblava/asset/write_image.hpp>
#include <liblava/resource/format.hpp>
#define STB_IMAGE_WRITE_IMPLEMENTATI... | 37.723404 | 79 | 0.545403 | TheLavaBlock |
b8bf5a2a3d963b36cde083ca61b3043efb6afa48 | 9,580 | cpp | C++ | old/src/resources/TexturePool.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | 5 | 2018-08-16T00:55:33.000Z | 2020-06-19T14:30:17.000Z | old/src/resources/TexturePool.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | old/src/resources/TexturePool.cpp | fuchstraumer/Caelestis | 9c4b76288220681bb245d84e5d7bf8c7f69b2716 | [
"MIT"
] | null | null | null | #include "resources/TexturePool.hpp"
#include "command/TransferPool.hpp"
#include "resource/DescriptorSet.hpp"
#include "resource/DescriptorPool.hpp"
#include "resource/DescriptorSetLayout.hpp"
#include "util/easylogging++.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb/stb_image.h"
namespace vpsk {
TexturePool:... | 52.065217 | 188 | 0.643946 | fuchstraumer |
b8bfd6f1c0a6458a56b771a83746516946943bb4 | 10,255 | cpp | C++ | monodrive/core/src/DataFrame.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | null | null | null | monodrive/core/src/DataFrame.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | null | null | null | monodrive/core/src/DataFrame.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | 1 | 2021-08-19T16:42:04.000Z | 2021-08-19T16:42:04.000Z | // Copyright (C) 2017-2020, monoDrive, LLC. All Rights Reserved.
#include "DataFrame.h"
#include "Stopwatch.h"
#define IMU_DATA_PACKET_SIZE 35
#define GPS_DATA_PACKET_SIZE 66
#define LIDAR_PACKET_SIZE 1206
ByteBuffer BinaryDataFrame::write() const {
ByteBuffer buffer = data_frame;
write_mono_header(buffer);
... | 29.638728 | 95 | 0.69137 | tomd-tc |
b8c03410ed29ed47d5733852a62c406b6b55a807 | 8,343 | hpp | C++ | booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/util/Counter.hpp | Markfrancisrogers/BooleanNetwork | 62e755d938b70e5907e8561909a0637f0682b9b4 | [
"Apache-2.0"
] | 2 | 2017-07-04T14:57:48.000Z | 2017-08-04T19:03:51.000Z | booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/util/Counter.hpp | Markfrancisrogers/BooleanNetwork | 62e755d938b70e5907e8561909a0637f0682b9b4 | [
"Apache-2.0"
] | null | null | null | booleannetwork-code-66-trunk/booleannetwork-code-66-trunk/include/BnSimulator/util/Counter.hpp | Markfrancisrogers/BooleanNetwork | 62e755d938b70e5907e8561909a0637f0682b9b4 | [
"Apache-2.0"
] | null | null | null | /*
* Counter.hpp
*
* Created on: Aug 23, 2009
* Author: stewie
*/
#ifndef COUNTER_HPP_
#define COUNTER_HPP_
#include <cassert>
#include <cstddef>
#include <ostream>
#include <utility>
#include <map>
#include <algorithm> // for std::swap
#include <functional> // for std::less
#include <boost/type_traits.hp... | 27.354098 | 81 | 0.694115 | Markfrancisrogers |
fef630089d62ff61e4f4594c83b262fe9c6b6871 | 522 | cpp | C++ | C++-practice/碱基配对2.cpp | GengchenXU/Star-gazer | 19a119390d3f1bfa56c4dda1b04f6c673e49be24 | [
"MIT"
] | 4 | 2019-11-08T11:04:02.000Z | 2021-09-08T08:24:50.000Z | C++-practice/碱基配对2.cpp | GengchenXU/Star-gazer | 19a119390d3f1bfa56c4dda1b04f6c673e49be24 | [
"MIT"
] | 1 | 2019-11-08T11:07:35.000Z | 2019-11-22T06:33:24.000Z | C++-practice/碱基配对2.cpp | GengchenXU/Star-gazer | 19a119390d3f1bfa56c4dda1b04f6c673e49be24 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<string.h>
int main()
{
int n;
scanf("%d",&n);
char a[100][100];
for(int i=0;i<n;i++)
{
scanf("%s",a[i]);
}
for(int j=0;j<n;j++){
for(int k=0;a[j][k]!='\0';k++) //for(int k=0;k<strlen(a[j]);k++) a[j]!='\0'wrong //
{
switch(a[j][k]){
case 'A': printf(... | 20.076923 | 91 | 0.408046 | GengchenXU |
fef735766ae662e378631ffe8044b7b8f5a9012d | 364 | cpp | C++ | Sandbox/PhysicsDemo/Entry.cpp | antjowie/Aphelion-engine | e26287d240db37f3e6df289dec760b1e4404135b | [
"MIT"
] | 3 | 2019-11-11T16:16:27.000Z | 2019-11-11T16:16:36.000Z | Sandbox/PhysicsDemo/Entry.cpp | antjowie/Aphelion-engine | e26287d240db37f3e6df289dec760b1e4404135b | [
"MIT"
] | 1 | 2020-05-03T14:58:09.000Z | 2020-05-03T14:58:09.000Z | Sandbox/PhysicsDemo/Entry.cpp | antjowie/Shinobu-engine | e26287d240db37f3e6df289dec760b1e4404135b | [
"MIT"
] | null | null | null | #include "Aphelion/Core/EntryPoint.h"
#include "PhysicsDemoLayer.h"
#include "PhysicsRaycastLayer.h"
extern std::unique_ptr<ap::Application> ap::CreateApplication()
{
auto app = std::make_unique<ap::Application>();
app->GetLayerStack().PushLayer(new PhysicsDemoLayer());
//app->GetLayerStack().PushLayer(new... | 28 | 64 | 0.730769 | antjowie |
fef9bb230a36eac781b7d57746884ea493766b0b | 930 | cpp | C++ | unit/util/std_expr.test.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 143 | 2015-06-22T12:30:01.000Z | 2022-03-21T08:41:17.000Z | unit/util/std_expr.test.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 542 | 2017-06-02T13:46:26.000Z | 2022-03-31T16:35:17.000Z | unit/util/std_expr.test.cpp | shmarovfedor/esbmc | 3226a3d68b009d44b9535a993ac0f25e1a1fbedd | [
"BSD-3-Clause"
] | 81 | 2015-10-21T22:21:59.000Z | 2022-03-24T14:07:55.000Z | #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#include <catch2/catch.hpp>
#include <util/arith_tools.h>
#include <util/c_types.h>
#include <util/config.h>
#include <util/namespace.h>
#include <util/simplify_expr.h>
#include <util/std_expr.h>
#include <util/std_types.h... | 30 | 96 | 0.692473 | shmarovfedor |
fefb47768604aa04897836cb0a95e66a5d198c52 | 12,705 | cpp | C++ | Signer/DlgGetPattern.cpp | WhiteGroup/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | 15 | 2016-11-03T20:39:13.000Z | 2022-01-17T16:00:21.000Z | Signer/DlgGetPattern.cpp | ZhuHuiBeiShaDiao/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | null | null | null | Signer/DlgGetPattern.cpp | ZhuHuiBeiShaDiao/JAV-AV-Engine | c258c1bb283d2cccc358dab5d3a7bacd4fc35790 | [
"MIT"
] | 16 | 2016-11-04T11:40:39.000Z | 2022-02-25T07:25:52.000Z | #include "DlgGetPattern.h"
#include "ui_GetPattern.h"
#include "QGetPatternModel.h"
#include <QFileDialog>
#include <QObject>
#include <QMessageBox>
#include <QMenu>
#include <QVariant>
extern QFileDialog *q_pFileOpenDialog ;
//---------------------------------------------------------------------
DlgGetPattern::DlgGetP... | 35 | 251 | 0.645258 | WhiteGroup |
3a02f7d0c09d0939d19ed2b928d006dbdc3a47f2 | 57,541 | cpp | C++ | Core/burn/drv/irem/d_m90.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 17 | 2018-05-24T05:20:45.000Z | 2021-12-24T07:27:22.000Z | Core/burn/drv/irem/d_m90.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 6 | 2016-10-20T02:36:07.000Z | 2017-03-08T15:23:06.000Z | Core/burn/drv/irem/d_m90.cpp | atship/FinalBurn-X | 3ee18ccd6efc1bbb3a807d2c206106a5a4000e8d | [
"Apache-2.0"
] | 5 | 2019-01-21T00:45:00.000Z | 2021-07-20T08:34:22.000Z | // FB Alpha Irem M90 driver module
// Based on MAME driver by Bryan McPhail
#include "tiles_generic.h"
#include "z80_intf.h"
#include "burn_ym2151.h"
#include "nec_intf.h"
#include "irem_cpu.h"
#include "dac.h"
static UINT8 *AllMem;
static UINT8 *MemEnd;
static UINT8 *AllRam;
static UINT8 *RamEnd;
static UINT8 *DrvV3... | 31.633315 | 174 | 0.591978 | atship |
3a08f5606313c47d45294e741e1348a65ec86d4c | 3,566 | hpp | C++ | Graphics/install-sh/include/sh/ShVariantCast.hpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 2 | 2017-10-29T06:43:05.000Z | 2020-03-27T10:27:07.000Z | Graphics/install-sh/include/sh/ShVariantCast.hpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | null | null | null | Graphics/install-sh/include/sh/ShVariantCast.hpp | Solidstatewater/Anubis-Engine | d2720167c0d5306d4d12a027dc31686b5cbb0f18 | [
"BSD-2-Clause"
] | 5 | 2016-02-06T11:01:51.000Z | 2019-03-18T13:56:00.000Z | // Sh: A GPU metaprogramming language.
//
// Copyright (c) 2003 University of Waterloo Computer Graphics Laboratory
// Project administrator: Michael D. McCool
// Authors: Zheng Qin, Stefanus Du Toit, Kevin Moule, Tiberiu S. Popa,
// Michael D. McCool
//
// This software is provided 'as-is', without any expre... | 34.288462 | 86 | 0.706955 | Solidstatewater |
3a0d4e9d5fe8b941da502811d249aa5a1b8facce | 380 | hpp | C++ | include/level_1.hpp | BokorBence/Jack-O-Lector | dde9a10be4b89ea1634b7945a99de7ea41862051 | [
"MIT"
] | null | null | null | include/level_1.hpp | BokorBence/Jack-O-Lector | dde9a10be4b89ea1634b7945a99de7ea41862051 | [
"MIT"
] | 11 | 2021-09-30T14:25:02.000Z | 2021-12-07T12:04:23.000Z | include/level_1.hpp | BokorBence/Jack-O-Lector | dde9a10be4b89ea1634b7945a99de7ea41862051 | [
"MIT"
] | 1 | 2021-10-03T13:23:39.000Z | 2021-10-03T13:23:39.000Z | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include "../include/level.hpp"
#include "../include/guard.hpp"
#include "../include/walkingEntity.hpp"
#include "../include/entity.hpp"
#include "../include/tile.hpp"
class Level_1 : public Level {
public:
Level_1(std::string ... | 19 | 39 | 0.7 | BokorBence |
3a10184692feff001722e8ddd18daa835b08f012 | 4,209 | cpp | C++ | Cpufit/matlab/mex/CpufitMex.cpp | yongdengzhang/Gpufit | 6e719585badff1c40488a1439fa04da1792e41b8 | [
"MIT"
] | null | null | null | Cpufit/matlab/mex/CpufitMex.cpp | yongdengzhang/Gpufit | 6e719585badff1c40488a1439fa04da1792e41b8 | [
"MIT"
] | null | null | null | Cpufit/matlab/mex/CpufitMex.cpp | yongdengzhang/Gpufit | 6e719585badff1c40488a1439fa04da1792e41b8 | [
"MIT"
] | 1 | 2019-06-18T15:13:27.000Z | 2019-06-18T15:13:27.000Z | #include "Cpufit/cpufit.h"
#include <mex.h>
#include <cstring>
#include <string>
/*
Get a arbitrary scalar (non complex) and check for class id.
https://www.mathworks.com/help/matlab/apiref/mxclassid.html
*/
template<class T> inline bool get_scalar(const mxArray *p, T &v, const mxClassID id)
{
if (mxIsNumeric(p) ... | 28.828767 | 97 | 0.614635 | yongdengzhang |
3a125c822043a6e75043a8a29a1ca8dfce289d91 | 4,422 | cc | C++ | bwt_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 9 | 2019-09-17T10:33:58.000Z | 2021-07-29T10:03:42.000Z | bwt_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | null | null | null | bwt_test.cc | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 1 | 2019-10-05T04:31:22.000Z | 2019-10-05T04:31:22.000Z | // Copyright Stephan T. Lavavej, http://nuwen.net .
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://boost.org/LICENSE_1_0.txt .
#include "bwt.hh"
#include "clock.hh"
#include "file.hh"
#include "gluon.hh"
#include "memory.hh"
#include "string.... | 29.284768 | 111 | 0.54161 | nurettin |
3a12949c40a464222685ff4a9c6f1983a4b61919 | 230 | cc | C++ | Mu2eG4/src/checkParticleCodeForG4.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 9 | 2020-03-28T00:21:41.000Z | 2021-12-09T20:53:26.000Z | Mu2eG4/src/checkParticleCodeForG4.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 684 | 2019-08-28T23:37:43.000Z | 2022-03-31T22:47:45.000Z | Mu2eG4/src/checkParticleCodeForG4.cc | resnegfk/Offline | 4ba81dad54486188fa83fea8c085438d104afbbc | [
"Apache-2.0"
] | 61 | 2019-08-16T23:28:08.000Z | 2021-12-20T08:29:48.000Z | #include "Offline/Mu2eG4/inc/checkParticleCodeForG4.hh"
#include "Geant4/G4ParticleTable.hh"
namespace mu2e {
bool checkParticleCodeForG4(int pdgId) {
return G4ParticleTable::GetParticleTable()->FindParticle(pdgId);
}
}
| 23 | 68 | 0.773913 | resnegfk |
3a168a4bfe6a2474ffe24aaa073159b33d9fcaa8 | 20,290 | cpp | C++ | Samples/2.0/ApiUsage/InstantRadiosity/InstantRadiosityGameState.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 701 | 2019-09-08T15:56:41.000Z | 2022-03-31T05:51:26.000Z | Samples/2.0/ApiUsage/InstantRadiosity/InstantRadiosityGameState.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 204 | 2019-09-01T23:02:32.000Z | 2022-03-28T14:58:39.000Z | Samples/2.0/ApiUsage/InstantRadiosity/InstantRadiosityGameState.cpp | resttime/ogre-next | 7435e60bd6df422d2fb4c742a493c3f37ef9a7a9 | [
"MIT"
] | 188 | 2019-09-05T05:14:46.000Z | 2022-03-22T21:51:39.000Z |
#include "InstantRadiosityGameState.h"
#include "CameraController.h"
#include "GraphicsSystem.h"
#include "OgreSceneManager.h"
#include "OgreItem.h"
#include "OgreMeshManager.h"
#include "OgreMeshManager2.h"
#include "OgreMesh2.h"
#include "OgreCamera.h"
#include "OgreHlmsPbsDatablock.h"
#include "OgreRoot.h"
#in... | 42.987288 | 105 | 0.55106 | resttime |
3a18c2fe3e04ba95cadeb351200c26063f0c34b4 | 1,534 | cpp | C++ | KITTIVoxelizer/Source/Geometry/Animation/CatmullRom.cpp | AlfonsoLRz/KITTIVoxelizer | d718a1e0072d94e047c149f52fc202314f09d82e | [
"MIT"
] | 14 | 2021-08-23T04:59:21.000Z | 2022-03-25T10:34:55.000Z | KITTIVoxelizer/Source/Geometry/Animation/CatmullRom.cpp | AlfonsoLRz/KITTIVoxelizer | d718a1e0072d94e047c149f52fc202314f09d82e | [
"MIT"
] | null | null | null | KITTIVoxelizer/Source/Geometry/Animation/CatmullRom.cpp | AlfonsoLRz/KITTIVoxelizer | d718a1e0072d94e047c149f52fc202314f09d82e | [
"MIT"
] | 6 | 2021-08-05T17:10:10.000Z | 2022-03-31T17:26:47.000Z | #include "stdafx.h"
#include "CatmullRom.h"
/// [Static attributes]
const float CatmullRom::COEFFICIENTS[16] = { -1, 2, -1, 0, 3, -5, 0, 2, -3, 4, 1, 0, 1, -1, 0, 0 };
/// [Public methods]
CatmullRom::CatmullRom(std::vector<vec4>& waypoints) : Interpolation(waypoints)
{
}
CatmullRom::~CatmullRom()
{
}
vec4 Catmul... | 27.392857 | 138 | 0.556714 | AlfonsoLRz |
3a1bbb866653c97f411fa16a03b97daa79b15912 | 351 | hpp | C++ | oauth/include/oauth/authorize.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | oauth/include/oauth/authorize.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | oauth/include/oauth/authorize.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | #ifndef OAUTH_AUTHORIZE_HPP
#define OAUTH_AUTHORIZE_HPP
#include <oauth/credentials.hpp>
namespace network {
struct Request;
} // namespace network
namespace oauth {
/// Add App and Account OAuth 1.0a header to HTTP request.
void authorize(network::Request& request, Credentials const& keys);
} // namespace oauth
... | 21.9375 | 67 | 0.769231 | zina1995 |
3a1d2339b1f819cc8eb9f71ca30e1e25415aab87 | 4,220 | cpp | C++ | tests/GoogleTest/GoogleTestFinderTest.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | tests/GoogleTest/GoogleTestFinderTest.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | null | null | null | tests/GoogleTest/GoogleTestFinderTest.cpp | clagah/mull | 9b5a7824b4f3ecdeff64e3b77ee63db2b40b3f99 | [
"Apache-2.0"
] | 1 | 2019-06-10T02:43:04.000Z | 2019-06-10T02:43:04.000Z | #include "mull/TestFrameworks/GoogleTest/GoogleTestFinder.h"
#include "FixturePaths.h"
#include "TestModuleFactory.h"
#include "mull/Config/ConfigParser.h"
#include "mull/Config/Configuration.h"
#include "mull/Driver.h"
#include "mull/Filter.h"
#include "mull/ModuleLoader.h"
#include "mull/MutationsFinder.h"
#include "... | 28.513514 | 78 | 0.755924 | clagah |
3a1e55936c6a7e7c5f307e8496c6ae0515aca40c | 2,916 | cpp | C++ | packages/SFML/src/SFML/Graphics/Glsl.cpp | JamesOrson/KomodoCPP | 62d481f1125213f9fe7553fa680eba31c38a7c74 | [
"Unlicense"
] | 1 | 2019-07-03T12:27:16.000Z | 2019-07-03T12:27:16.000Z | ext/SFML/src/SFML/Graphics/Glsl.cpp | Senryoku/NESen | 7573eddc55da0e140cf01e609b1041b2c6e4e853 | [
"MIT"
] | 9 | 2019-07-03T12:31:39.000Z | 2019-07-05T14:30:59.000Z | engine/third_party/SFML/src/SFML/Graphics/Glsl.cpp | wemadedis/wme | f84ecb6106614eefaa3bf233ca7927ad7708f143 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2019 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages a... | 33.517241 | 101 | 0.509945 | JamesOrson |
3a20cf2915156bd1063602f5ec1eac9955448318 | 1,298 | cpp | C++ | CONTRIB/LLVM/_Demo/Lib_GZ/Debugging.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 1 | 2021-05-05T20:42:24.000Z | 2021-05-05T20:42:24.000Z | CONTRIB/LLVM/_Demo/Lib_GZ/Debugging.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | CONTRIB/LLVM/_Demo/Lib_GZ/Debugging.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | null | null | null | //This file is part of "GZE - GroundZero Engine"
//The permisive licence allow to use GZE for free or commercial project (Apache License, Version 2.0).
//For conditions of distribution and use, see copyright notice in Licence.txt, this license must be included with any distribution of the code.
//Though not required... | 31.658537 | 143 | 0.714946 | Cwc-Test |
3a22bd657441b1b00eb4ee549ae2f009ab03e1df | 298 | hpp | C++ | include/clientdata.hpp | Kuxe/swordbow-magic | 22c4bde7fe70728f631bfa77765dbe8ea121df33 | [
"MIT"
] | 1 | 2020-03-29T16:20:02.000Z | 2020-03-29T16:20:02.000Z | include/clientdata.hpp | Kuxe/swordbow-magic | 22c4bde7fe70728f631bfa77765dbe8ea121df33 | [
"MIT"
] | 47 | 2015-01-02T16:54:57.000Z | 2015-10-08T21:09:06.000Z | include/clientdata.hpp | Kuxe/swordbow-magic | 22c4bde7fe70728f631bfa77765dbe8ea121df33 | [
"MIT"
] | 2 | 2015-01-02T17:23:18.000Z | 2020-03-29T16:20:04.000Z | #ifndef CLIENTDATA_HPP
#define CLIENTDATA_HPP
#include "timer.hpp"
typedef unsigned int ID;
//Intended as value in unordered_maps where key is the IpAddress
struct ClientData {
uint16_t sequence;
ID id;
bool congested = false;
Timer congestionTimer;
};
#endif //CLIENTDATA_HPP
| 17.529412 | 64 | 0.741611 | Kuxe |
3a26f1198d2d4049b8c04928d3e29b7dbe326aa3 | 989 | cpp | C++ | C_C++_Projects/0_Reference Sheets/testmergesort.cpp | sunjerry019/RandomCodes | 4402604aaeee63bb1ce6fa962c496b438bb17e50 | [
"MIT"
] | null | null | null | C_C++_Projects/0_Reference Sheets/testmergesort.cpp | sunjerry019/RandomCodes | 4402604aaeee63bb1ce6fa962c496b438bb17e50 | [
"MIT"
] | null | null | null | C_C++_Projects/0_Reference Sheets/testmergesort.cpp | sunjerry019/RandomCodes | 4402604aaeee63bb1ce6fa962c496b438bb17e50 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <iterator>
#include <algorithm> // for std::inplace_merge
#include <functional> // for std::less
using namespace std;
template<typename RandomAccessIterator, typename Order>
void mergesort(RandomAccessIterator first, RandomAccessIterator last, Order order)
{
if (last - fir... | 24.725 | 93 | 0.647118 | sunjerry019 |
3a26fdc90c4cdb999d47cb65e158e0347b58db77 | 8,681 | cpp | C++ | plugins/community/repos/ImpromptuModular/src/IMWidgets.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | plugins/community/repos/ImpromptuModular/src/IMWidgets.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | plugins/community/repos/ImpromptuModular/src/IMWidgets.cpp | x42/VeeSeeVSTRack | 0f5576f92e026ac1480e1477e55084911eca4052 | [
"Zlib",
"BSD-3-Clause"
] | null | null | null | //***********************************************************************************************
//Impromptu Modular: Modules for VCV Rack by Marc Boulé
//
//Based on code from Valley Rack Free by Dale Johnson
//See ./LICENSE.txt for all licenses
//**********************************************************************... | 26.628834 | 134 | 0.646239 | x42 |
3a270e5805aca8f01acf5f84d4a443a56727c652 | 1,283 | cpp | C++ | Kattis/zoo.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | 3 | 2021-02-19T17:01:11.000Z | 2021-03-11T16:50:19.000Z | Kattis/zoo.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | Kattis/zoo.cpp | YourName0729/competitive-programming | 437ef18a46074f520e0bfa0bdd718bb6b1c92800 | [
"MIT"
] | null | null | null | // https://open.kattis.com/problems/zoo
#include <bits/stdc++.h>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/assoc_container.hpp>
#define For(i, n) for (int i = 0; i < n; ++i)
#define Forcase int __t = 0; cin >> __t; while (__t--)
#define ll long long
#define ull unsigned long long
#define ar array
using... | 21.745763 | 117 | 0.522993 | YourName0729 |
3a2d1c7038692a23a9c99fd3b89475cf1a73ef0b | 7,981 | cpp | C++ | submodules/libtgvoip/JitterBuffer.cpp | we11cheng/WCTelegram | 8d6e098be215ea6e8c4f557a8e5a03620c0fad61 | [
"MIT"
] | 3 | 2018-08-28T12:37:54.000Z | 2021-11-19T03:23:26.000Z | submodules/libtgvoip/JitterBuffer.cpp | we11cheng/WCTelegram | 8d6e098be215ea6e8c4f557a8e5a03620c0fad61 | [
"MIT"
] | null | null | null | submodules/libtgvoip/JitterBuffer.cpp | we11cheng/WCTelegram | 8d6e098be215ea6e8c4f557a8e5a03620c0fad61 | [
"MIT"
] | 4 | 2020-02-24T15:32:39.000Z | 2021-11-19T03:23:20.000Z | //
// Created by Grishka on 19.06.16.
//
#include "JitterBuffer.h"
#include "logging.h"
CJitterBuffer::CJitterBuffer(CMediaStreamItf *out, uint32_t step):bufferPool(JITTER_SLOT_SIZE, JITTER_SLOT_COUNT){
if(out)
out->SetCallback(CJitterBuffer::CallbackOut, this);
this->step=step;
memset(slots, 0, sizeof(jitter_pa... | 22.673295 | 140 | 0.697281 | we11cheng |
3a2d1f56ce25ea37596fea40e4126e743ed018c4 | 5,916 | cpp | C++ | core/fpdfapi/edit/cpdf_pagecontentmanager.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | 7 | 2018-05-17T22:53:33.000Z | 2022-02-05T15:51:41.000Z | core/fpdfapi/edit/cpdf_pagecontentmanager.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | null | null | null | core/fpdfapi/edit/cpdf_pagecontentmanager.cpp | WarGloom/pdfium | e9a79aa2ef7d63aa8e1b2716d25725cf280f199f | [
"Apache-2.0"
] | 3 | 2018-05-17T22:53:42.000Z | 2022-01-18T05:53:34.000Z | // Copyright 2018 PDFium 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 "core/fpdfapi/edit/cpdf_pagecontentmanager.h"
#include <map>
#include <numeric>
#include <vector>
#include "core/fpdfapi/page/cpdf_pageobject.h"
#inc... | 38.167742 | 80 | 0.709601 | WarGloom |
3a2d48768066e8e3b0b260fd1796dd04a796a243 | 774 | cpp | C++ | src/stp/tactics/passive/Halt.cpp | maxthielen/yml | 58f5a1707f1034eb4e24c305e416def1e5cbf50b | [
"MIT"
] | 16 | 2018-10-10T09:55:22.000Z | 2021-04-26T09:58:47.000Z | src/stp/tactics/passive/Halt.cpp | maxthielen/yml | 58f5a1707f1034eb4e24c305e416def1e5cbf50b | [
"MIT"
] | 688 | 2018-09-26T11:42:21.000Z | 2022-03-17T09:32:25.000Z | src/stp/tactics/passive/Halt.cpp | maxthielen/yml | 58f5a1707f1034eb4e24c305e416def1e5cbf50b | [
"MIT"
] | 5 | 2018-12-25T12:45:56.000Z | 2020-09-25T07:51:02.000Z | //
// Created by jessevw on 24.03.20.
/// ROTATES robot to face forwards
//
#include "stp/tactics/passive/Halt.h"
#include "stp/skills/Rotate.h"
namespace rtt::ai::stp::tactic {
Halt::Halt() { skills = collections::state_machine<Skill, Status, StpInfo>{skill::Rotate()}; }
std::optional<StpInfo> Halt::calculateInfo... | 23.454545 | 94 | 0.700258 | maxthielen |
3a2de28a2e2afa326429e5a2042fc971ccda01d9 | 5,256 | cc | C++ | src/third_party/v8-3.25/src/checks.cc | stbrody/mongo | e6df4d48792498545a9069f08ff78f7840700ef6 | [
"Apache-2.0"
] | 29 | 2015-01-31T08:17:36.000Z | 2022-03-06T04:40:57.000Z | src/third_party/v8-3.25/src/checks.cc | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | 1 | 2015-05-29T16:12:10.000Z | 2015-05-29T16:12:10.000Z | src/third_party/v8-3.25/src/checks.cc | wujf/mongo | f2f48b749ded0c5585c798c302f6162f19336670 | [
"Apache-2.0"
] | 12 | 2015-01-24T08:40:28.000Z | 2017-10-04T17:23:39.000Z | // Copyright 2006-2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this lis... | 36.248276 | 80 | 0.641172 | stbrody |
3a307acbf76bd4a189e8c7fca568b6e6e2455c94 | 6,244 | cpp | C++ | src/detail/Testing.cpp | bgn9000/rapidcheck | 593ada72f6938221973bf30bf7a7f7e6a24160de | [
"BSD-2-Clause"
] | null | null | null | src/detail/Testing.cpp | bgn9000/rapidcheck | 593ada72f6938221973bf30bf7a7f7e6a24160de | [
"BSD-2-Clause"
] | null | null | null | src/detail/Testing.cpp | bgn9000/rapidcheck | 593ada72f6938221973bf30bf7a7f7e6a24160de | [
"BSD-2-Clause"
] | 1 | 2019-03-05T13:52:28.000Z | 2019-03-05T13:52:28.000Z | #include "Testing.h"
#include "rapidcheck/BeforeMinimalTestCase.h"
#include "rapidcheck/shrinkable/Operations.h"
namespace rc {
namespace detail {
namespace {
int sizeFor(const TestParams ¶ms, int i) {
// We want sizes to be evenly spread, even when maxSuccess is not an even
// multiple of the number of size... | 32.520833 | 79 | 0.679693 | bgn9000 |
3a359443aef92d044f2e2c17a2fdcdb2726fa5de | 10,708 | cpp | C++ | MonoNative/mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative/mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative/mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | #include <mscorlib/System/Globalization/mscorlib_System_Globalization_IdnMapping.h>
#include <mscorlib/System/mscorlib_System_String.h>
#include <mscorlib/System/mscorlib_System_Type.h>
namespace mscorlib
{
namespace System
{
namespace Globalization
{
//Public Methods
mscorlib::System::Boolean IdnMappin... | 50.037383 | 189 | 0.716287 | brunolauze |
3a36f2586e4c69b6430af41dcf65449445ac5975 | 5,021 | cpp | C++ | src/onthepitch/player/playerbase.cpp | alexhuntley/GameplayFootball | 67a3c123e31384b757b1d223c53acf9f7fcb8b41 | [
"Apache-2.0"
] | 56 | 2020-07-22T22:11:06.000Z | 2022-03-09T08:11:43.000Z | GameplayFootball/src/onthepitch/player/playerbase.cpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 9 | 2021-04-22T07:06:25.000Z | 2022-01-22T12:54:52.000Z | GameplayFootball/src/onthepitch/player/playerbase.cpp | ElsevierSoftwareX/SOFTX-D-20-00016 | 48c28adb72aa167a251636bc92111b3c43c0be67 | [
"MIT"
] | 18 | 2020-10-15T08:11:07.000Z | 2022-03-23T14:49:46.000Z | // written by bastiaan konings schuiling 2008 - 2015
// this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important.
// i do not offer support, so don't ask. to be used for inspiration :)
#include "player.hpp"
#include "../match.hpp"
#include "cont... | 32.393548 | 188 | 0.678749 | alexhuntley |
3a37280be2819c3b911a1cb0c6d36b1840eb1bd7 | 1,266 | hpp | C++ | libs/tl/tl/containers/array.hpp | tuket/reproject | 8f93f93904be550941c008ea023cd707838520ff | [
"MIT"
] | null | null | null | libs/tl/tl/containers/array.hpp | tuket/reproject | 8f93f93904be550941c008ea023cd707838520ff | [
"MIT"
] | null | null | null | libs/tl/tl/containers/array.hpp | tuket/reproject | 8f93f93904be550941c008ea023cd707838520ff | [
"MIT"
] | null | null | null | #pragma once
#include <tl/int_types.hpp>
#include <initializer_list>
#include <assert.h>
namespace tl
{
template<typename T, size_t N>
class Array
{
public:
static constexpr size_t s_size = N;
typedef T ElemTypes;
typedef const T* ConstIterator;
typedef T* Iterator;
constexpr size_t size()const{... | 20.095238 | 55 | 0.594787 | tuket |
3a389e08c6abd56436e6ea987651dfcac6b97292 | 1,096 | cpp | C++ | 11195.cpp | michaelarakel/uva-solutions | b91f4c40970200c29db6bda5822bc89ccda1a977 | [
"Unlicense"
] | null | null | null | 11195.cpp | michaelarakel/uva-solutions | b91f4c40970200c29db6bda5822bc89ccda1a977 | [
"Unlicense"
] | null | null | null | 11195.cpp | michaelarakel/uva-solutions | b91f4c40970200c29db6bda5822bc89ccda1a977 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
using namespace std;
int counter;
const int maxn = 15;
bool col[maxn], diag1[2 * maxn - 1], diag2[2 * maxn - 1];
char v[maxn][maxn];
void sol (int Qnum, int n)
{
if (Qnum == n)
{
++counter;
return;
}
int i = Qnum;
for (int j = 0; j ... | 17.967213 | 70 | 0.474453 | michaelarakel |
3a3b4342021435ef567dc0ea843cb9bfee2eefef | 61 | cpp | C++ | source/materials/Lambertian.cpp | zhanghao00925/CG-Path_Tracing-Algorithm | 12bd6d7334051aa2bb0544dd26bfe4ad13ec5560 | [
"MIT"
] | 3 | 2020-04-05T13:09:17.000Z | 2021-03-16T10:56:17.000Z | source/materials/Lambertian.cpp | zhanghao00925/CG-Path_Tracing-Algorithm | 12bd6d7334051aa2bb0544dd26bfe4ad13ec5560 | [
"MIT"
] | null | null | null | source/materials/Lambertian.cpp | zhanghao00925/CG-Path_Tracing-Algorithm | 12bd6d7334051aa2bb0544dd26bfe4ad13ec5560 | [
"MIT"
] | 1 | 2020-02-19T02:59:44.000Z | 2020-02-19T02:59:44.000Z | //
// Created by hao on 2/27/19.
//
#include "Lambertian.h"
| 10.166667 | 29 | 0.606557 | zhanghao00925 |
3a3c2f709fe302b70818aec8d117c149c2c78e40 | 849 | hpp | C++ | cbir/f2d_descriptor.hpp | stereomatchingkiss/ocv_libs | 1424ac2f8a2c034513483b3050d8138ca0a0ae3f | [
"FSFAP"
] | 18 | 2015-12-17T05:28:37.000Z | 2021-05-21T02:59:29.000Z | cbir/f2d_descriptor.hpp | stereomatchingkiss/ocv_libs | 1424ac2f8a2c034513483b3050d8138ca0a0ae3f | [
"FSFAP"
] | null | null | null | cbir/f2d_descriptor.hpp | stereomatchingkiss/ocv_libs | 1424ac2f8a2c034513483b3050d8138ca0a0ae3f | [
"FSFAP"
] | 8 | 2017-05-10T11:20:13.000Z | 2021-06-19T17:06:06.000Z | #ifndef OCV_CBIR_F2D_DETECTOR_H
#define OCV_CBIR_F2D_DETECTOR_H
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include <vector>
/*!
* \addtogroup ocv
* @{
*/
namespace ocv{
/*!
* \addtogroup cbir
* @{
*/
namespace cbir{
class f2d_detector
{
public:
using result_type =
std::pair<st... | 18.866667 | 70 | 0.652532 | stereomatchingkiss |
3a3d6d492d0370c3705873e3aaad9a9a94e1cff1 | 1,482 | hh | C++ | src/semantic/Scope.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | 1 | 2020-01-06T09:43:56.000Z | 2020-01-06T09:43:56.000Z | src/semantic/Scope.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | src/semantic/Scope.hh | walecome/seal | 204b2dbad9f0bf3ac77f5e32173de39ef1fb81c1 | [
"MIT"
] | null | null | null | #pragma once
#include <cassert>
#include <string>
#include <unordered_map>
#include "Constants.hh"
#include "Error.hh"
class FunctionDecl;
class VariableDecl;
struct Scope;
static FunctionDecl *get_context(Scope *, FunctionDecl *);
struct Scope {
Scope(Scope *parent = nullptr, FunctionDecl *context = nullptr)
... | 29.058824 | 75 | 0.7139 | walecome |
3a3d85281ac19d495973da02fc33971c8576dd1e | 1,076 | cpp | C++ | codeforce1/143C. Help Farmer.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce1/143C. Help Farmer.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | codeforce1/143C. Help Farmer.cpp | khaled-farouk/My_problem_solving_solutions | 46ed6481fc9b424d0714bc717cd0ba050a6638ef | [
"MIT"
] | null | null | null | /*
Idea:
- Brute force.
- Try any 3 combination of divisors of `n` to construct A, B and C.
*/
#include <bits/stdc++.h>
using namespace std;
long long n;
vector<long long> d;
void divisors(long long x) {
d.clear();
int sqrtx = sqrt(x);
for(int i = 1; i <= sqrtx + 1; ++i)
if(x % i == 0) {
d... | 21.098039 | 71 | 0.398699 | khaled-farouk |
3a437a8590195242701d215fa2dfda5de27fa5b1 | 1,337 | cpp | C++ | ql/time/daycounters/thirty365.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 3,358 | 2015-12-18T02:56:17.000Z | 2022-03-31T02:42:47.000Z | ql/time/daycounters/thirty365.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 965 | 2015-12-21T10:35:28.000Z | 2022-03-30T02:47:00.000Z | ql/time/daycounters/thirty365.cpp | urgu00/QuantLib | fecce0abb0ff3d50da29c129f8f9e73176e20ab9 | [
"BSD-3-Clause"
] | 1,663 | 2015-12-17T17:45:38.000Z | 2022-03-31T07:58:29.000Z | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2015 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it ... | 36.135135 | 79 | 0.676141 | urgu00 |
3a440ec6e6a0cd1f2bd3726de847c341647e1c28 | 2,168 | cpp | C++ | test/test1.cpp | mithun218/GiNaCDE | 8dae46abf589bfa9056a10bb4e6b5a46172996cf | [
"MIT"
] | 1 | 2021-11-22T01:09:10.000Z | 2021-11-22T01:09:10.000Z | test/test1.cpp | mithun218/GiNaCDE | 8dae46abf589bfa9056a10bb4e6b5a46172996cf | [
"MIT"
] | 19 | 2021-11-08T10:02:51.000Z | 2022-02-04T10:36:15.000Z | test/test1.cpp | mithun218/GiNaCDE | 8dae46abf589bfa9056a10bb4e6b5a46172996cf | [
"MIT"
] | 1 | 2021-11-10T09:53:18.000Z | 2021-11-10T09:53:18.000Z |
/** @file test1.cpp
*
* Program to test GiNaCDE library. This solve following odes
i. linear ode - the damped harmonic oscillator.
ii. nonlinear ode - modified Painlev-Ince equation */
#include "GiNaCDE.h"
int main()
{
const ex u=reader("u"),x=reader("x"),a=reader("a"),b... | 27.1 | 96 | 0.536439 | mithun218 |
3a450cce383110cc96872beee9404707f25c3ca1 | 1,043 | cpp | C++ | Geeks For Geeks Solutions/HashMap/Union of two arrays.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 169 | 2021-05-30T10:02:19.000Z | 2022-03-27T18:09:32.000Z | Geeks For Geeks Solutions/HashMap/Union of two arrays.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 1 | 2021-10-02T14:46:26.000Z | 2021-10-02T14:46:26.000Z | Geeks For Geeks Solutions/HashMap/Union of two arrays.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 44 | 2021-05-30T19:56:29.000Z | 2022-03-17T14:49:00.000Z |
//Initial template for C++
#include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
//User function template in C++
class Solution{
public:
//Function to return the count of number of elements in union of two arrays.
int doUnion(int a[], int n, int b[], int m) {
unordered_map<int,i... | 16.555556 | 80 | 0.400767 | bilwa496 |
3a4ef8ea9a4a81fc72a15f8fcf13d2be9a659e90 | 744 | cpp | C++ | ares/sfc/coprocessor/spc7110/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/sfc/coprocessor/spc7110/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 245 | 2021-10-08T09:14:46.000Z | 2022-03-31T08:53:13.000Z | ares/sfc/coprocessor/spc7110/serialization.cpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | auto SPC7110::serialize(serializer& s) -> void {
Thread::serialize(s);
s(ram);
s(r4801);
s(r4802);
s(r4803);
s(r4804);
s(r4805);
s(r4806);
s(r4807);
s(r4809);
s(r480a);
s(r480b);
s(r480c);
s(dcuPending);
s(dcuMode);
s(dcuAddress);
s(dcuOffset);
s(dcuTile);
if(decompressor) s(*dec... | 12.196721 | 48 | 0.543011 | CasualPokePlayer |
3a50d2f3bc544022ad0983f8063b399920b2a825 | 8,527 | cc | C++ | src/zg/extrapolation.cc | arnabSur/tchecker | 24ba7703068a41c6e9c613b4ef80ad6c788e65bc | [
"MIT"
] | 7 | 2019-08-12T12:22:07.000Z | 2021-11-18T01:48:27.000Z | src/zg/extrapolation.cc | arnabSur/tchecker | 24ba7703068a41c6e9c613b4ef80ad6c788e65bc | [
"MIT"
] | 40 | 2019-07-03T04:31:19.000Z | 2022-03-31T03:40:43.000Z | src/zg/extrapolation.cc | arnabSur/tchecker | 24ba7703068a41c6e9c613b4ef80ad6c788e65bc | [
"MIT"
] | 8 | 2019-07-04T06:40:49.000Z | 2021-12-03T15:51:50.000Z | /*
* This file is a part of the TChecker project.
*
* See files AUTHORS and LICENSE for copyright details.
*
*/
#include "tchecker/zg/extrapolation.hh"
#include "tchecker/clockbounds/solver.hh"
namespace tchecker {
namespace zg {
/* no_extrapolation_t */
void no_extrapolation_t::extrapolate(tchecker::dbm::db_... | 32.177358 | 124 | 0.727571 | arnabSur |
3a5154314cb86cd231ccafc0de91077024488816 | 4,435 | cpp | C++ | extensions/mxhumanizer.cpp | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-04-08T21:03:09.000Z | 2016-03-20T17:46:31.000Z | extensions/mxhumanizer.cpp | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | null | null | null | extensions/mxhumanizer.cpp | arturocepeda/Modus | 849c9ada0e8bf7803db6e1b5c6098ab5898bc430 | [
"MIT"
] | 2 | 2015-08-18T08:59:07.000Z | 2021-04-02T23:03:48.000Z |
////////////////////////////////////////////////////////////////////////
//
// Modus
// C++ Music Library
// [eXtension]
//
// Copyright (c) 2012-2015 Arturo Cepeda
//
// --------------------------------------------------------------------
//
// This file is part of Modus. Permission is hereby granted, free
// ... | 37.268908 | 117 | 0.596618 | arturocepeda |
3a55fbaf2e1554ce4afd7b4bce1c2ae93604b4a2 | 18,792 | cpp | C++ | NewsExercise/main.cpp | Thanatoslayer6/CPP_Programming | 2a00e1db709b8b5c65969706b8a18af8c62761de | [
"BSD-3-Clause"
] | null | null | null | NewsExercise/main.cpp | Thanatoslayer6/CPP_Programming | 2a00e1db709b8b5c65969706b8a18af8c62761de | [
"BSD-3-Clause"
] | null | null | null | NewsExercise/main.cpp | Thanatoslayer6/CPP_Programming | 2a00e1db709b8b5c65969706b8a18af8c62761de | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
string database[][2] = {
{"admin12345", "wisdom123"},
{"ellejohn", "pass123"},
{"test", "pp"}
};
string username, password;
int pageNum;
bool loggedIn = false;
string Pages[7] = { "Front Page", "Headline", "News Articles", "Entertainment", "Sports... | 63.060403 | 116 | 0.461047 | Thanatoslayer6 |
3a567f2dbfee9b91afa133c07a065e585936ea74 | 5,839 | cpp | C++ | imagery/netwin.cpp | Pokefinder-org/DiskImagery64 | 10557fed083834455f8ace70a1d740a9b007d853 | [
"X11"
] | null | null | null | imagery/netwin.cpp | Pokefinder-org/DiskImagery64 | 10557fed083834455f8ace70a1d740a9b007d853 | [
"X11"
] | null | null | null | imagery/netwin.cpp | Pokefinder-org/DiskImagery64 | 10557fed083834455f8ace70a1d740a9b007d853 | [
"X11"
] | 1 | 2021-07-01T10:14:19.000Z | 2021-07-01T10:14:19.000Z | #include "netwin.h"
#include "codenet.h"
#include "preferences.h"
#include <QGridLayout>
#include <QLabel>
#include <QTextEdit>
#include <QToolButton>
NetWin::NetWin(QWidget *parent) : QDialog(parent, Qt::Tool), m_copyDialog(nullptr) {
setWindowTitle("DiskImagery64: " + tr("Network"));
QGridLayout *layout = n... | 25.722467 | 101 | 0.668265 | Pokefinder-org |
3a5c030f53942c88c502b4e217a56c2e349ac17d | 6,816 | cpp | C++ | src/beast/beast/utility/impl/Journal.cpp | SingaporeLMC/LMC | b8734f7c67c829f69ae06c1217b9f64e2c078a1a | [
"BSL-1.0"
] | null | null | null | src/beast/beast/utility/impl/Journal.cpp | SingaporeLMC/LMC | b8734f7c67c829f69ae06c1217b9f64e2c078a1a | [
"BSL-1.0"
] | null | null | null | src/beast/beast/utility/impl/Journal.cpp | SingaporeLMC/LMC | b8734f7c67c829f69ae06c1217b9f64e2c078a1a | [
"BSL-1.0"
] | 1 | 2018-11-23T01:30:41.000Z | 2018-11-23T01:30:41.000Z | //------------------------------------------------------------------------------
/*
This file is part of Beast: https://github.com/vinniefalco/Beast
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without f... | 22.201954 | 91 | 0.563527 | SingaporeLMC |
3a5d3c5b446a9f5dc2404172c899fb91591c9851 | 11,876 | cpp | C++ | Source/CompilingLibrary/Parser/Parser.cpp | KonstantinTomashevich/simple-llvm-language-compiler | 6adddedf57c5b964c430d0bffe6b0391c762cdd3 | [
"MIT"
] | null | null | null | Source/CompilingLibrary/Parser/Parser.cpp | KonstantinTomashevich/simple-llvm-language-compiler | 6adddedf57c5b964c430d0bffe6b0391c762cdd3 | [
"MIT"
] | null | null | null | Source/CompilingLibrary/Parser/Parser.cpp | KonstantinTomashevich/simple-llvm-language-compiler | 6adddedf57c5b964c430d0bffe6b0391c762cdd3 | [
"MIT"
] | null | null | null | #include "Parser.hpp"
#include <assert.h>
#include <iostream>
#include <cctype>
#include <cstdio>
#include <memory>
namespace Compiling
{
namespace Parser
{
void Parser::EatToken ()
{
lastTokenIndex_++;
if (lastTokenIndex_ < currentTokensList_.size ())
{
currentToken_ = currentTokensList_.at (lastT... | 33.834758 | 129 | 0.623611 | KonstantinTomashevich |
3a5e0c10a393e2a094f6e4aa5684b3ac7a5e3c74 | 7,968 | cpp | C++ | src/pgen/03_test_turb_sn.cpp | zunyibrt/athena_snclouds | f0faca6486844ed5080b37d9db50f8f9c18b55d6 | [
"BSD-3-Clause"
] | null | null | null | src/pgen/03_test_turb_sn.cpp | zunyibrt/athena_snclouds | f0faca6486844ed5080b37d9db50f8f9c18b55d6 | [
"BSD-3-Clause"
] | null | null | null | src/pgen/03_test_turb_sn.cpp | zunyibrt/athena_snclouds | f0faca6486844ed5080b37d9db50f8f9c18b55d6 | [
"BSD-3-Clause"
] | null | null | null | //========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD License, see LICENSE file for details
//===============================... | 33.338912 | 98 | 0.567897 | zunyibrt |
3a65754f15dd6d962d17dd4e924af4790dbf3d9e | 795 | hpp | C++ | test/00-Common/Src/Camera.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | test/00-Common/Src/Camera.hpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | test/00-Common/Src/Camera.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | #pragma once
#include "Prerequisites.hpp"
namespace vkapp
{
class Camera
{
public:
void update();
inline void reset()
{
m_position = utils::Vec3{};
m_rotation = utils::Quaternion{};
}
inline void translate( utils::Vec3 const & value )
{
m_position += value;
}
inline void rotate( utils::... | 14.722222 | 55 | 0.654088 | DragonJoker |
3a666ae84aab7a31cde136ba2b10e74a70ec0aa5 | 739 | cpp | C++ | AcCoRD2/src/passive_actor_no_shape.cpp | Jackrekirby/AcCoRD2 | d712b3f7e73f32dc1894fcb79bec4510a13a9dce | [
"MIT"
] | null | null | null | AcCoRD2/src/passive_actor_no_shape.cpp | Jackrekirby/AcCoRD2 | d712b3f7e73f32dc1894fcb79bec4510a13a9dce | [
"MIT"
] | null | null | null | AcCoRD2/src/passive_actor_no_shape.cpp | Jackrekirby/AcCoRD2 | d712b3f7e73f32dc1894fcb79bec4510a13a9dce | [
"MIT"
] | null | null | null | // The AcCoRD 2 Simulator (Actor - based Communication via Reaction - Diffusion)
// Copyright 2021 Jack Kirby. All rights reserved.
// For license details, read LICENSE.txt in the root AcCoRD2 directory
#include "pch.h"
#include "passive_actor_no_shape.h"
namespace accord
{
PassiveActorNoShape::PassiveActorNoShape(... | 21.114286 | 94 | 0.752368 | Jackrekirby |
3a668554f7f9290e5d42bcd53422d131c2c6a034 | 7,914 | cpp | C++ | tests/ocltst/module/perf/OCLPerfImageReadWrite.cpp | jpsamaroo/ROCm-OpenCL-Runtime | 875c1f8b4741a7285757a9bc7e98405bc202785a | [
"MIT"
] | 7 | 2022-03-23T07:04:20.000Z | 2022-03-30T02:44:42.000Z | tests/ocltst/module/perf/OCLPerfImageReadWrite.cpp | jpsamaroo/ROCm-OpenCL-Runtime | 875c1f8b4741a7285757a9bc7e98405bc202785a | [
"MIT"
] | null | null | null | tests/ocltst/module/perf/OCLPerfImageReadWrite.cpp | jpsamaroo/ROCm-OpenCL-Runtime | 875c1f8b4741a7285757a9bc7e98405bc202785a | [
"MIT"
] | null | null | null | /* Copyright (c) 2010-present Advanced Micro Devices, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modif... | 35.330357 | 116 | 0.651756 | jpsamaroo |
3a680558fb9748b2fe804d11555e879f291a5077 | 3,375 | cpp | C++ | +sl/+array/+indices/private/mex_ismember_tol.cpp | JimHokanson/matlab_standard_library | b474cce3c70397f9695aa75cd293546734bd39ef | [
"MIT"
] | 4 | 2015-07-08T21:53:37.000Z | 2020-04-08T18:15:06.000Z | +sl/+array/+indices/private/mex_ismember_tol.cpp | JimHokanson/matlab_standard_library | b474cce3c70397f9695aa75cd293546734bd39ef | [
"MIT"
] | 41 | 2015-02-19T12:45:57.000Z | 2020-03-29T18:29:49.000Z | +sl/+array/+indices/private/mex_ismember_tol.cpp | JimHokanson/matlab_standard_library | b474cce3c70397f9695aa75cd293546734bd39ef | [
"MIT"
] | 5 | 2015-03-27T00:47:39.000Z | 2020-06-08T03:29:36.000Z |
#include "mex.h"
#include "matrix.h"
#include <algorithm>
#include <cmath>
#include "MexSupport.h"
#include "MexAlgorithmSupport.h"
#include "MexDataTypes.h"
using namespace std;
using namespace MexSupport;
void print_usage();
void mexFunction(int nlhs, mxArray** plhs, int nrhs, const mxArray * prhs[]... | 29.347826 | 79 | 0.507556 | JimHokanson |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.