blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d9fdb30a5c20bd1238f1b470f996c83518c35467 | 2fdbf2ba994ba3ed64f0e2dc75cd2dfce4936583 | /spectre/commandlist/abstractcommand.cpp | c1e6f721bb923ca356f220fcd45539325da1045e | [] | no_license | TERRANZ/terragraph | 36219a4e512e15a925769512a6b60637d39830bf | ea8c36070f532ad0a4af08e46b19f4ee1b85f279 | refs/heads/master | 2020-05-25T10:31:26.994233 | 2011-01-29T21:23:04 | 2011-01-29T21:23:04 | 1,047,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | abstractcommand.cpp | #include "abstractcommand.h"
AbstractCommand::AbstractCommand()
{
}
AbstractCommand::~AbstractCommand()
{
}
bool AbstractCommand::execute()
{
return true;
}
void AbstractCommand::undo()
{
}
string AbstractCommand::text() const
{
return "Нет действия.";
}
|
9d95a33a91ffa55a1b9bf030c5142c4bcda57f71 | cc4b7ca3978816bdd7a6de8a37af8b67caa019da | /include/CreateTree.hh | 0e1cd7bcdfc05ad5bbcefe8bc3937bfef5850737 | [] | no_license | marco-toli/TB_timing | 961853fd34b97584dfa5cf6d1d9bdb3f1f7cb42a | 6a08c862251533d7a443dd9525c351182804fa43 | refs/heads/master | 2021-06-03T22:11:59.088634 | 2018-04-05T13:30:16 | 2018-04-05T13:30:16 | 32,146,872 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,237 | hh | CreateTree.hh | #ifndef CreateTree_H
#define CreateTree_H 1
#include <iostream>
#include <vector>
#include "TString.h"
#include "TH2F.h"
#include "TH3F.h"
#include "TFile.h"
#include "TTree.h"
#include "TNtuple.h"
class CreateTree
{
private:
TTree* ftree ;
TString fname ;
public:
CreateTree (TString name);
~Create... |
0feb9953b874afa369664d4ce20da62d0e47bb24 | a6d9abf3e5de8ce5f0347d10f1d14ce767a78e38 | /yuki/yuki_explicit_markup.h | 0fa6203a52d12c96cc053e140330eabdd321dc9c | [] | no_license | Tecyle/yuki | 59b5dfc61cb863421c4ff3a444f584110c5628cf | 0ec1c333e374c5e4c82cbd298775f0e7e3253b23 | refs/heads/master | 2021-01-22T18:37:43.701425 | 2017-11-04T03:38:43 | 2017-11-04T03:38:43 | 100,765,626 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,297 | h | yuki_explicit_markup.h | #pragma once
/*
显式标记块识别要点:
1. 以 ``..`` 打头,后面至少跟一个空格或者回车
2. 遇到相对于 ``..`` 标记非缩进的行认为显式标记块结束
以下结构均为显式标记块的具体实例:
1. 脚注。
2. 引用标注。
3. 超链接目标。
4. 替换目标定义。
5. 指令。
6. 注释。
识别的依据为:
1. 遇到第一个字符,如果为 ``[``,判断是否为脚注和引用标注,否则为注释。
2. 遇到第一个字符,如果为 ``_``,判断是否为超链接目标,否则为注释。
3. 遇到第一个字符,如果为 ``|``,判断是否为替换目标定义,否则为注释。
4. 遇到第一个字符,如果是换... |
d22d23e4b300015bc1d5d0bb6c637efd353cf207 | 0e782c46fd93da70ce3bfc6ea7ff763225b31afd | /inc/SpriteHandler.h | 0babf62ba785dcd3632b2c810dd7fb2a97201724 | [] | no_license | dupesnduds/Mp | 58940e12b42ce6169222ce863e6257f5d22726b9 | 4854ba197a8e4701d8fc3cdddbe45636225c555f | refs/heads/master | 2021-05-26T20:09:00.285677 | 2011-09-19T00:50:36 | 2011-09-19T00:50:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | h | SpriteHandler.h | /*
============================================================================
Name : SpriteHandler.h
Author : Cleave Pokotea
Version :
Copyright : 2006 - 2007
Description : SpriteHandler.h - header file
============================================================================
*/
#ifndef SPR... |
65c2acb1201a49ea5f350bc1ee8ca1cd9d7f6d05 | 0bc0903fc444257398798e286d96b3ff3fca2901 | /src/common/protocol/Errors.h | faf98cc1612516c01c19f123cad643d63cb1e8b7 | [
"Apache-2.0"
] | permissive | smartdu/kafkaclient-cpp | 675bdc7f9ab6a0e7d98511364f85e4932762782b | 03d108808a50a13d7a26e63461a1ac27c5bc141c | refs/heads/master | 2020-05-18T00:14:17.062934 | 2019-05-15T03:43:33 | 2019-05-15T03:43:33 | 184,055,595 | 5 | 1 | Apache-2.0 | 2019-05-13T08:11:57 | 2019-04-29T11:07:51 | C++ | UTF-8 | C++ | false | false | 4,126 | h | Errors.h | #ifndef __KFK_ERRORS_H__
#define __KFK_ERRORS_H__
#pragma once
#include <map>
#include "Object.h"
#include "ApiException.h"
class Errors
: public Object
{
public:
static Errors* UNKNOWN_SERVER_ERROR;
static Errors* NONE;
static Errors* OFFSET_OUT_OF_RANGE;
static Errors* CORRUPT_MESSAGE;
static Er... |
dcb4299319c54f6f69317d80240dfdacbd1d6672 | 4a5f17a5ecf1ffdb326634dbcc0b6bcacefcda3f | /RegexSplitter.h | 30785f8f7a8851f4a05e66ad55846a6f9ee347f1 | [] | no_license | F-Bergemann/RegexSplitter | e2a39994dabff10df1c5b5b02054f885a346a9fc | 613c3948c74f451b98e5e19bfabfd20e5bbdf7af | refs/heads/master | 2023-03-01T22:20:59.881793 | 2021-02-04T15:02:26 | 2021-02-04T15:02:26 | 330,185,286 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,935 | h | RegexSplitter.h | /*
* RegexSplitter.h
*
* Created on: Jan 9, 2020
* Author: frank
*/
#ifndef REGEX_SPLITTER_H_
#define REGEX_SPLITTER_H_
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <boost/spirit/include/qi.hpp>
namespace qi = boost::spirit::qi;
// for testing parser only, without AST c... |
b42f1fcb1902654681b5f0e5179bcb7bd7e708a9 | 50618ddcbf1357623c11c442dac7247163eada5e | /SQF/Alternative Files/database_loot/dayz_code/Configs/CfgRPG/CfgEXP.hpp | e4d7c4c92c275c72a885c61f7a9aa2822f129d0d | [] | no_license | DevVault/DayZUnleashed | 24c574a28a1c543c5d696012077ebc33034032ed | ae7753e36ac9c90e9fc235582478827ee83a3d73 | refs/heads/master | 2021-05-30T00:35:14.875976 | 2015-10-31T02:59:21 | 2015-10-31T02:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,095 | hpp | CfgEXP.hpp | //[player,"Generic_Survival"] call DZU_fnc_giveEXP;
class CfgEXP{
class Default {
Name=""; //value of %2
Description="";
Image="";
Message="You were awarded %1 %2 experience.";
Experience=1; //value of %1
MiniumGain=1;
};
class Generic: Default{... |
e2916eb8337644910f4ea1d22c4dd39188ef4bbe | cbd7f17ec8e983e3f302aa3c9a4c5bd676789bef | /code/steps/source/model/sg_models/exciter_model/CSEET2_test.cpp | 722aea0b5479caff24bb7c7dbe7b8e336444420f | [
"MIT"
] | permissive | yuanzy97/steps | 477bce28a11c8e5890f27bb56490f3b80b343048 | 139193a9c84ad15e342f632ac29afac909802b78 | refs/heads/master | 2023-04-29T10:00:13.987075 | 2022-04-13T13:08:17 | 2022-04-13T13:08:17 | 256,682,978 | 0 | 0 | MIT | 2020-04-18T06:13:20 | 2020-04-18T06:13:20 | null | UTF-8 | C++ | false | false | 6,923 | cpp | CSEET2_test.cpp | #include "header/basic/test_macro.h"
#include "header/model/sg_models/exciter_model/CSEET2_test.h"
#include "header/basic/utility.h"
#include "header/steps_namespace.h"
#ifdef ENABLE_STEPS_TEST
using namespace std;
CSEET2_TEST::CSEET2_TEST() : EXCITER_MODEL_TEST()
{
TEST_ADD(CSEET2_TEST::test_get_model_name);
... |
4a912e6069e47afa48598740335cb6c0c3661470 | 8ba095c9000f17ebd673388f02782e6a1ab53261 | /final project 2021/ScheduleMatch.cpp | 3093339a6f41482333068b4bc48e4da2fd673893 | [] | no_license | saadzafar649/cricbuzz | aea37f2538569299dc154d8fa29368f369ecec6f | 0b35cb120c370c8b6a58a29ca0bbbbfcab5cbbdc | refs/heads/main | 2023-07-27T09:21:01.734287 | 2021-09-13T17:56:03 | 2021-09-13T17:56:03 | 406,071,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27 | cpp | ScheduleMatch.cpp | #include "ScheduleMatch.h"
|
f63bf76adee2fd36f7516dd2acbacbf55bfa2b2d | 7cfca3ef1787866b534d23135b2c35112af4b41a | /Game/PlayerBullet.h | 2822ae8ed396fe7115bd2cb90bd22d3e3d5deeb3 | [] | no_license | LaraCTimm/ShapeInvaders | 1bc42a7345f91043719e8ac706e484b5d82e51dc | 530c0a9aa7e7ccdea2d15ccc787d8be2ea09cafc | refs/heads/master | 2021-07-12T06:27:55.503084 | 2017-10-17T09:31:35 | 2017-10-17T09:31:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | PlayerBullet.h | #ifndef PLAYER_BULLET_H
#define PLAYER_BULLET_H
#include "GameObject.h"
#include "Game.h"
#include "Player.h"
/**
* @class PlayerBullet
* @brief Represents the bullet belonging to the player
*
* Inherited from the GameObject Class.
*/
class PlayerBullet : public GameObject
{
public:
PlayerBullet(float xCo... |
65a0123292c7f9ffdcf4c04ac9c75c6e15975143 | d153a62031abc47079f3bd60890d1bde11148d31 | /src/CubeAsset.cc | c6fdcd8419512f27632bc352127a03302045e503 | [
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | markgosling/3D_Platformer | 5d7186ff29e0dab08950fffa2de9ec46547d606f | 8a56960fc1c562c80a8b5ec221b776cff812020b | refs/heads/master | 2021-01-21T13:43:59.318809 | 2016-04-24T23:47:16 | 2016-04-24T23:47:16 | 51,597,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,044 | cc | CubeAsset.cc | #include "CubeAsset.h"
/**
* @file CubeAsset.cc
* @version 1.1
*
* @section Description
*
* CubeAsset extends GameAsset with variables and methods which
* are used to draw a cube object on screen. It also stores the
* bounding box for the cube, sets the asset type and passes the
* vertices to the G... |
b976732ba74ccf55e25d35e0202887ce073fa9b8 | 0141361f7c4d276f471ac278580479fa15bc4296 | /Ordered Map/fallingSquares.cpp | bd01a8eb012709823a5bfefac69d9261434815c2 | [] | no_license | tr1503/LeetCode | a7f2f1801c9424aa96d3cde497290ac1f7992f58 | 6d361cad2821248350f1d8432fdfef86895ca281 | refs/heads/master | 2021-06-24T19:03:08.681432 | 2020-10-09T23:53:22 | 2020-10-09T23:53:22 | 146,689,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | fallingSquares.cpp | // Use C++'s ordered map's method upper_bound to keep tracing the max value and put the max value to result vector
// time is O(nlogn), space is O(n)
class Solution {
public:
vector<int> fallingSquares(vector<vector<int>>& positions) {
vector<int> res;
map<pair<int, int>, int> m;
int curMax ... |
e48cff4ad3d12ce3a757878bb0d592834dfb75d1 | 73912a45e71170a07ed20e229faf6e1f48ab1a04 | /DirectUI/provider.h | c0d9ac974d263cfba9df7d9e1be4678a6b160730 | [
"MIT"
] | permissive | yang123vc/DirectUI-2 | 623122efdd317c5a7cda24b99c8d3cebc0381219 | 0f8fb02646468c6f65ef3aa6c75cfe4b5b9d6399 | refs/heads/master | 2020-04-18T05:48:52.733179 | 2018-10-06T03:08:06 | 2018-10-06T03:08:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | h | provider.h | #pragma once
namespace DirectUI
{
class UILIB_API XResourceProvider
{
public:
XResourceProvider();
XResourceProvider( const XResourceProvider& );
XResourceProvider& operator=( const XResourceProvider& );
static long WINAPI Create(XResourceProvider**pOut);
static long WINAPI Create(HINSTANCE, UCString, ... |
5d5bedf43a5d51738a7f71b3248da3fc0b7d1489 | 1835bc57373845971613cda3f66b88813c139fc2 | /examples/THINSPIN/tracker.cc | 646664fe4d55d79b68f683f2ac45e3d230d611ac | [] | no_license | jtalman/ual-sandbox_SL7.4Plus | 4cf8037a0b289d9a29b9e8918ca15e40d4eca8a4 | decdce8e9e42b51be4ced1174811bcb14427353a | refs/heads/master | 2020-03-09T19:36:51.464651 | 2019-11-12T12:57:52 | 2019-11-12T12:57:52 | 128,962,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,681 | cc | tracker.cc | #include <iostream>
#include <fstream>
#include <iomanip>
#include <stdio.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include "UAL/APDF/APDF_Builder.hh"
#include "PAC/Beam/Position.hh"
#include "SMF/PacSmf.h"
#include "PAC/Beam/Bunch.hh"
#include "Main/Teapot.h"
#include "UAL/U... |
a26221f02bb65607b4a72a83862f9c6063ca07c0 | 4a187d26db80a7a6bbe5a433b44bce21ef783ce3 | /WarpSolve/SExp.h | f199458ebe779a096698418e661b38b14f9b18de | [] | no_license | kumoyuki/WarpSolve | 5832c13a6367404011ab7b060bd4f3bf0ea4b1a7 | 5f917ec597261ec87927e93bcb9c8322d5bbea56 | refs/heads/master | 2016-09-06T17:25:50.420741 | 2013-09-15T20:19:12 | 2013-09-15T20:19:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,673 | h | SExp.h | // -*- c++ -*-
// (C) 2013 David Richard Rush and Heureka Software
// http://cyber-rush.org.drr
// mailto:kumoyuki@gmail.com
//
// Permission to use is freely granted along with the inclusion of
// this copyright notice in all derivative works.
//
#pragma once
#include <memory>
#include <string>
#include <list>
#inclu... |
604a704f15d29145035c73a4aeff6c748a53eaa4 | f5d5356e629ee8704993136dac098dec2fd228ef | /sdk/master_board_sdk/include/master_board_sdk/ESPNOW_manager.h | 9d959992ea55b578b860eca7befd635459fb6e22 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | open-dynamic-robot-initiative/master-board | 3466929a27485d79f1d5b82d48b4bad95ba0a737 | 361f44689c1223a00426a96b2f7d1bcaf5b2bed2 | refs/heads/master | 2023-07-21T08:46:31.783111 | 2023-06-27T08:49:56 | 2023-06-27T08:49:56 | 198,817,879 | 104 | 41 | BSD-2-Clause | 2023-09-11T19:02:19 | 2019-07-25T11:22:35 | C++ | UTF-8 | C++ | false | false | 1,279 | h | ESPNOW_manager.h | #ifndef ESPNOW_manager_H
#define ESPNOW_manager_H
#include <linux/filter.h>
#include "master_board_sdk/Link_manager.h"
#include "master_board_sdk/ESPNOW_types.h"
class ESPNOW_manager : public LINK_manager {
public:
ESPNOW_manager() : LINK_manager(&myWiFipacket) {}
ESPNOW_manager(const std::string& interface) ... |
e89216b22866af250017c32a2b2287de36192510 | ceed8ee18ab314b40b3e5b170dceb9adedc39b1e | /android/bootable/recovery/multi_ir.cpp | 2bb2add6cba96c253cc81385006ee15fd79691c9 | [
"Apache-2.0"
] | permissive | BPI-SINOVOIP/BPI-H3-New-Android7 | c9906db06010ed6b86df53afb6e25f506ad3917c | 111cb59a0770d080de7b30eb8b6398a545497080 | refs/heads/master | 2023-02-28T20:15:21.191551 | 2018-10-08T06:51:44 | 2018-10-08T06:51:44 | 132,708,249 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,844 | cpp | multi_ir.cpp | #include "multi_ir.h"
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <utils/Log.h>
#include <linux/input.h>
static void keymap_init(s... |
886a2fbffcdb510f58193ced305c2ff0d22ba3ef | 4207610c48cbb9021f4420791a9c9d07550b72d9 | /Source/Lua/CtrlrLuaAudioConverter.h | 6fa2a1d9b9ad0fc235a25fccd6c1fd06991f6e3a | [
"GPL-2.0-only",
"BSD-3-Clause"
] | permissive | RomanKubiak/ctrlr | d98a910eb46f6cf4324da3fc3ae664cc7dd5aec9 | 8aa00d82127acda42ad9ac9b7b479461e9436aa4 | refs/heads/master | 2023-02-13T00:21:04.546585 | 2022-06-24T10:53:16 | 2022-06-24T10:53:16 | 14,671,067 | 435 | 82 | BSD-3-Clause | 2022-05-31T18:18:23 | 2013-11-24T22:53:11 | C++ | UTF-8 | C++ | false | false | 4,692 | h | CtrlrLuaAudioConverter.h | #ifndef CTRLR_LUA_AUDIO_CONVERTER
#define CTRLR_LUA_AUDIO_CONVERTER
#ifdef _WIN32
#pragma warning(disable:4100)
#endif // _WIN32
#include "CtrlrMacros.h"
#include "JuceClasses/LMemoryBlock.h"
//==============================================================================
/** @brief A class for holding au... |
282509beb3befdd0466712cd20656923ef296c3c | 39eac74fa6a244d15a01873623d05f480f45e079 | /CachedData.cpp | 0bc15d1d535b6b70b0bd1b87f2a4bfee70dfa04b | [] | no_license | 15831944/Practice | a8ac8416b32df82395bb1a4b000b35a0326c0897 | ae2cde9c8f2fb6ab63bd7d8cd58701bd3513ec94 | refs/heads/master | 2021-06-15T12:10:18.730367 | 2016-11-30T15:13:53 | 2016-11-30T15:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,346 | cpp | CachedData.cpp | #include "stdafx.h"
#include "CachedData.h"
#include <NxAlgorithm.h> // Ensure boost will pick up our CString-aware hash_value() function
#include <boost/unordered_set.hpp>
#include <boost/unordered_map.hpp>
using namespace ADODB;
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__... |
7d99217fcfeb6b97cf1e075a649a824e641da538 | a809904038582234e3b8f16930ffe572d9a5688f | /kadanes_maxi_contigous_subarray.cpp | 35224d0a564fad861700549bc180e2e4c3316706 | [] | no_license | 7566565794/array_gfg | 497bbac6e1497409fc2c75b3669ae644a69a9e37 | c5e0f61c5effd47a9462d1dd7367df1c2e13e61f | refs/heads/master | 2020-05-30T22:07:48.471587 | 2019-08-21T18:47:26 | 2019-08-21T18:47:26 | 189,987,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | kadanes_maxi_contigous_subarray.cpp | #include <iostream>
#include<bits/stdc++.h>
using namespace std;
int max_sum(int arr[],int n){
int max_so_far=0;
int max_ending_here=0;
for(int i=0;i<n;i++){
max_ending_here=max_ending_here+arr[i];
if(max_ending_here<0){
max_ending_here=0;
}
if(max_so_far<max_ending_here)... |
c99e7c1dfad4fe03911a4ced39131c805fd9a690 | 83f57d38e34d767126c7a3c99fa89499fdf8940a | /Abstract_VM/src/main.cpp | 54286428d371e8b39d59522f97e34bde02fa6d68 | [] | no_license | atlekbai/School42Projects | d4d2b418d6dff5718e40912173496a4d5f187421 | c3684393b8bb84b62cfb73674751e520f1746e0e | refs/heads/master | 2020-04-09T02:20:04.928479 | 2018-12-11T10:10:21 | 2018-12-11T10:10:21 | 159,936,817 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,694 | cpp | main.cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// main.cpp :+: :+: :+: ... |
2ad957734c849c9955e01971e1115ec0944f92f2 | 1a305cda5098c2337f4be1d710d4218e8029a4e8 | /core/wasm/main.cc | b0a486f5c1d5186f0e3983adf4adf146b0e2b274 | [
"ISC"
] | permissive | asterick/minimon.js | 682530619dd21c24a34775e0d27f573d1841c1e5 | c1c65738388775bd044eafdb13ffde5289685511 | refs/heads/master | 2023-04-06T07:36:33.522593 | 2022-08-06T00:27:51 | 2022-08-06T00:27:51 | 180,250,530 | 7 | 0 | ISC | 2023-03-15T03:33:24 | 2019-04-08T23:55:24 | C++ | UTF-8 | C++ | false | false | 9,860 | cc | main.cc | /*
ISC License
Copyright (c) 2019, Bryon Vandiver
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ... |
b591a543bda708f39e5d19acdd9233970834e7c6 | b4101f2c6108cbe2b264df5f66e8cfa6aa2d01b2 | /Package.cpp | 39de3cc408ab75055116cfa2ef0cd695650c4304 | [] | no_license | double128/assignment4-oop | 77dacc40b154212fff73e3cfe01035fe0a27a240 | 00336660a443a5a527bdb0c73ae0788e322d5f6b | refs/heads/master | 2021-01-18T06:33:24.761767 | 2017-03-08T05:57:40 | 2017-03-08T05:57:40 | 84,283,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,830 | cpp | Package.cpp | #include "Package.h"
Package::Package
(const std::string& _sName, const std::string& _sAddress, const std::string& _sCity, const std::string& _sProvince, const std::string& _sPostalCode, // sender
const std::string& _rName, const std::string& _rAddress, const std::string& _rCity, const std::string& _rProvince, c... |
2b2ffa18a2b0c1127e5f00206d173689ec3beabe | b9b50107cae005e227eb4fbeb4831b3a63a8f5c4 | /src/graphics/opengl/opengl_context.cpp | a5694fe24ac24f132f53bd51799c61d8f7143d6f | [
"MIT"
] | permissive | Shtille/scythe | 1d043a8fdd27442e97bfcea5c2055a69b8b579be | b5ddafa3a25d78af34cb6ff00f433988789023d9 | refs/heads/master | 2022-10-22T08:33:31.669363 | 2022-10-05T12:04:24 | 2022-10-05T12:04:24 | 145,037,537 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,868 | cpp | opengl_context.cpp | #include "opengl_context.h"
#include "opengl_include.h"
namespace scythe {
OpenGlContext::OpenGlContext()
{
FillTables();
}
OpenGlContext::~OpenGlContext()
{
}
void OpenGlContext::FillTables()
{
primitive_type_map_[PrimitiveType::kLines] = GL_LINES;
primitive_type_map_[PrimitiveType::kLineStrip] = GL... |
d1c0bc369b2082fe6f722d87c4b4ef658e4f5fc7 | e07e25bc29baf02b56f7397f7a174cbc2cfc5b6d | /src/cpp/array-pascal-triangle-rows/array.cpp | 0f7f5f410681c94f95385747e450004018d26f90 | [] | no_license | ANARCYPHER/coding-interview-solutions | a12848be333457725a45fe723551723776ef1d8f | 68452ab2bf7de438c3e4986dcd44502b1c0b69f6 | refs/heads/master | 2023-02-08T09:58:00.174509 | 2019-08-29T19:16:39 | 2019-08-29T19:16:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | array.cpp | /**
* Given numRows, generate the first numRows of Pascal’s triangle.
* Pascal’s triangle : To generate A[C] in row R, sum up A’[C] and A’[C-1] from
* previous row R - 1.
*
* Example:
* Given numRows = 5,
*
* Return
*
* [
* [1],
* [1,1],
* [1,2,1],
* [1,3,3,1],
* [1,4,6,4,1]
... |
88bbbd77e07d6338600c10561c1d8bf04bb22e9f | 77bfb7914b7981beddab79aa42e124be13ed36c0 | /cpp/cppsyntax/namespace/t1.cpp | bb33f057daca231a63126613797affd86e03e66c | [] | no_license | WarrenWFu/Testing-Programs | 538339c55b891f7066a05ea663003b74fac18dbc | d99dddc314fb695faff5f610615103baa525e2c4 | refs/heads/master | 2021-06-11T03:25:07.980400 | 2020-03-07T03:16:02 | 2020-03-07T03:17:53 | 90,715,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cpp | t1.cpp | /*******************************************************************************
*
* author:Warren Fu
* date:
* description:匿名命名空间中的变量可以被同一编译单元中的命名空间使用,但是不能
* 被其它编译单元中的函数使用和static一样,两者最大的却别是后者不能修饰class或
* struct的声明,基本可以将匿名命名空间看成是static修饰的全局变量
*
********************************************************************... |
df25f39a33201ca2a0aec92e9726e67c59d40c9e | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /TrackingTools/Records/interface/TrackingComponentsRecord.h | 9f91ee274b079c8ec050ffc6b2c74dd5a82d6734 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 708 | h | TrackingComponentsRecord.h | #ifndef RecoTracker_Record_TrackingComponentsRecord_h
#define RecoTracker_Record_TrackingComponentsRecord_h
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"
#include "FWCore/Framework/interface/DependentRecordImplementation.h"
#include "Geometry/Records/interface/GlobalTrackingGeometryRecord.h"
/... |
18bda702f24714f664275be79b247917300d551a | 7a02968aec8ae0a98f4e870fb802c6e550eab927 | /Algoritmen II/Labo04-Quadtrees/src/quad_tree.h | b923125b1871f7e25f165ff8cdc57d8e703f7c32 | [] | no_license | simong/Algoritmen | cc061bf00bcea2ad177b5d002f886f8ef998c202 | cc24e6fba01862a1222c518db77a5d40c9971f10 | refs/heads/master | 2020-12-30T10:12:48.733658 | 2011-12-07T20:48:26 | 2011-12-07T20:48:26 | 1,821,119 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,747 | h | quad_tree.h | #ifndef quad_tree_h
#define quad_tree_h
#include<vector>
#include<iostream>
struct point {
double x;
double y;
/*
point() : x(0), y(0){
}
point(double x, double y)
: x(x), y(y) {
}
*/
};
struct vertex {
point p;
/*
* -----------------------
* | ... |
09062c804c3a6101a1001091cce8f1b93389fadd | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-pipes/source/model/StartPipeResult.cpp | 016a1ef97113a4be52a69091af45f95fb4f19cd3 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,982 | cpp | StartPipeResult.cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/pipes/model/StartPipeResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/uti... |
eac4f3b1a69a908e77185888cb4107d67e60193d | e06389fa0f80b61f717989d0fd6ee37cb96dd657 | /Client/include/Parser.hpp | 48ccf25b8ac8917a016701b3d3505012511aeef1 | [
"Apache-2.0"
] | permissive | uThings/Study-and-development-of-communication-protocol-between-an-aircraft-and-an-IoT-platform | 9ffb924e7a27d1a39e0de9722d6bb01a191ba9e5 | d6e47c7c0793a5feeb79ec970f5c4cba8f993ab2 | refs/heads/master | 2020-06-23T10:12:49.861122 | 2019-09-05T13:46:49 | 2019-09-05T13:46:49 | 198,593,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,084 | hpp | Parser.hpp | /****************************************
* Universita' degli Studi di Udine *
* Ingegneria Elettronica *
* Tesi di Laurea Triennale *
* Giacomo Andrioli - 133047 *
* File: Parser.hpp *
****************************************/
#ifndef PARSER
#define P... |
41867af4d1d588ddfabf0f9a5e4cfa672f1c2e8f | ddb2b470f408769200d7d85df1dab94b9fc3eca9 | /02/w6/[01]/Project1/Project1/database.h | 02d716d3137eb67dbf3d1e7c82fe89bc79ad978f | [] | no_license | Enzzo/courcera | 39d7e896ac3142a2a94f9e853c81efebf684016d | 8c248c1169f81e82fc0b3a69fde7c93dc7128684 | refs/heads/master | 2022-12-23T00:25:32.372012 | 2020-10-01T19:48:48 | 2020-10-01T19:48:48 | 281,314,153 | 0 | 0 | null | 2020-07-30T01:36:20 | 2020-07-21T06:27:07 | C++ | UTF-8 | C++ | false | false | 756 | h | database.h | #pragma once
#include "date.h"
#include <string>
#include <map>
#include <vector>
#include <iostream>
#include <algorithm>
class WrongCommandException {
public:
WrongCommandException(const std::string& m) {
message += m;
}
const std::string what()const {
return message;
}
private:
... |
9570cbe82aeec571f0879bc41bbcb0a06aab3c5d | a3c2787f52301dee40a9064e084bb8a157967e83 | /c++/上机/第六次上机/sort 实现选择法排序.cpp | 40cfa936ea641bddac98faccb655cb2d1e438646 | [] | no_license | welkin-qing/C | 509ea3807d84fe983be38c8c1c178bc7370008f7 | a812e1e1688b421a36f5645c1c1e37166bf5210c | refs/heads/master | 2020-03-17T20:49:34.799686 | 2018-07-17T06:35:50 | 2018-07-17T06:35:50 | 133,930,240 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 714 | cpp | sort 实现选择法排序.cpp | #include<iostream>
using namespace std;
// 你提交的代码将嵌入到这里
template <class T>
void Sort(T *p, int len)
{
int i,j;
T m=*p;
T t;
for(i=0;i<len-1;i++)
{
for(j=i;j<len;j++)
{
if(p[i]>p[j])
{
t=p[i];
p[i]=p[j];
p[j]=t;
}
}
}
for(i=0;i<len;i++)
{
cout<<p[i]<<"\t";
}
... |
a97066b78988e38beec2df8c87fc8a5736527f7f | 0c8aed455ed1fc97ae001c2d9f4de5a81b1cf3be | /src/point.cc | c44dc5367f266a7d37393000a92fccd783feaaaa | [] | no_license | drichardson/opengl_examples | ecf7f65e133c3688c9636bbc75176d0053e8aa45 | 8fca1dc3cf1d116ff12d3842e3a8d18469fc1bcc | refs/heads/master | 2021-01-10T12:22:35.704124 | 2016-04-01T16:23:47 | 2016-04-01T16:23:47 | 55,087,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | cc | point.cc | #include "shaders.h"
#include "window.h"
#include <GL/gl3w.h>
#include <cstdlib>
#include <iostream>
const char* vertex_shader_source =
"#version 410 core \n"
"void main() \n"
"{ \n"
" gl_Position = vec4(0, 0, 0, 1.0); \n"
"}\n";
const char* fragment_shader_source =
"#version 410 core\n"
"out vec4 color;\n"
"void m... |
5b3661ef22830fc128e78112b6df8029d4b1563c | d81a9ef64fcccd532dcc0dae3235b709a2ff4ebe | /UVa/231/main.cpp | 1e6d238923c35f38a8be8dd09e9de886ce75061b | [] | no_license | Rodrigo61/GUAXINIM | 6d52b0b29dd736ce40295f7e7b3f7dd4c1d2396d | 696d1077bf69bcff10cb5c07bb68dd3452952228 | refs/heads/master | 2021-04-09T14:29:54.226309 | 2020-11-17T01:18:21 | 2020-11-17T01:18:21 | 125,520,161 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,125 | cpp | main.cpp | using namespace std;
bool debug = true;
//<editor-fold desc="GUAXINIM TEMPLATE">
/******** All Required Header Files ********/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#inclu... |
22cd6309681fe0af0d0d9f1e655efbd143ec51c3 | 983cd7f4b325262789e07aad3e65ddace0f784f0 | /tron_coms/src/tron/coms/ComsChannel.h | f7bbc920e39f41a175866af341de55f4ffa0b7c5 | [] | no_license | albarral/tron | 0e3c27077a86f7b1a3f16c800b8f6baba472a5d4 | b2ce95ef5792dcf1e55e832af035d1686e63257d | refs/heads/master | 2021-07-16T13:41:58.408506 | 2018-11-30T13:40:37 | 2018-11-30T13:40:37 | 105,746,828 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,089 | h | ComsChannel.h | #ifndef __TRON_COMS_COMSCHANNEL_H
#define __TRON_COMS_COMSCHANNEL_H
/***************************************************************************
* Copyright (C) 2018 by Migtron Robotics *
* albarral@migtron.com *
***************************************************************************/
#include <string>... |
f1c7c77894028eab71710f3c92a7e1add8bc3ee7 | 4197bd076ece04534b2f98053fc97458293fe8fa | /pqueue-doublylinkedlist.cpp | 31bc1e69dfe6fdbff769352c95fe7dc1c8e56db9 | [] | no_license | RSkhirtladze/PriorityQueue | 686c66958731a688a85abb4af4557ba4787c1d7c | f97063b67d0de7f1f7d26075a71bfc6353d06080 | refs/heads/main | 2023-03-12T23:47:14.413809 | 2021-03-05T14:25:41 | 2021-03-05T14:25:41 | 344,834,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | pqueue-doublylinkedlist.cpp | /*************************************************************
* File: pqueue-doublylinkedlist.cpp
*
* Implementation file for the DoublyLinkedListPriorityQueue
* class.
*/
#include "pqueue-doublylinkedlist.h"
#include "error.h"
DoublyLinkedListPriorityQueue::DoublyLinkedListPriorityQueue() {
currSi... |
95de8eb1c548a70408c682fa9da5f36a0203329d | 432e2a8da6db306a26d549028c19570aa3a3191c | /SeaWar/Bark.cpp | 2b9dcf0c38f429d98d8ba9c6f30a6df3588f5bf6 | [] | no_license | EvgeniyHolovko/SeaWar | 9641157ed06b4e950fc70f455a06e84d9248d4ec | f836f04e8c8facaa1f20d5d5dc17c809e98aa41a | refs/heads/master | 2021-01-11T13:41:48.510664 | 2018-09-14T18:12:46 | 2018-09-14T18:12:46 | 94,898,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | cpp | Bark.cpp | #include "Bark.h"
#include "Mast.h"
using namespace std;
Bark::Bark(const Coordinate &coord, const Orientation orient)
{
for (int n = 0; n < AMOUNT_OF_BARK_MASTS; n++)
{
if (orient == HORIZONTAL)
{
masts_.push_back(new Mast(*new Coordinate(coord.getX() + n, coord.getY())));
}
else
{
masts_.push_b... |
178474f00b8c308f1f15d75f5901eecd5f3ef834 | 54743e192abeb34f3cc3c110c03c33b3bdd0abe7 | /gamefinal/ConsoleApplication1/ConsoleApplication1/Main.cpp | eea73b010f738255090a843e5768672a3bb49b7d | [] | no_license | zaoad/1-2-project-serving-car-game- | 4a8e6dd51a158de9ce07eff838095b8709c2443a | 49c1f47aad4a913fdc06460445797196190e01c6 | refs/heads/master | 2020-03-14T16:07:21.712019 | 2019-12-12T08:03:49 | 2019-12-12T08:03:49 | 131,691,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,553 | cpp | Main.cpp | #include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <iostream>
#include <SFML/System.hpp>
#include <Windows.h>
#include "time.h"
#include <sstream>
#include <string.h>
#include <fstream>
#include "HighScore.h"
#include <random>
using namespace std;
using namespace s... |
03cc9bc4ab5ab956bd530010e86c42364543fae1 | d55aca34e55028f9ac7685ae583f5b20184722d5 | /skyrim_framework/MySkseExtension/MyPapyrusObjectReference.cpp | 9038088d62e1059ec437bcc2424e4c4dd2590769 | [] | no_license | rethesda/skse_framework-lampuiho | 076503fbdf39f5fa591bfb02d8546b45e6d53d59 | ddb467813bb1bf55fe108278ca09bbb6dc1f923b | refs/heads/master | 2023-03-16T14:04:00.540710 | 2016-02-07T06:34:53 | 2016-02-07T06:34:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | MyPapyrusObjectReference.cpp | #include "MyPapyrusObjectReference.h"
#include "skse/GameRTTI.h"
#include <algorithm>
namespace papyrusObjectReference
{
void Container_for_each(TESObjectREFR* obj, std::function<void(TESForm*, UInt32)> del){
ContainerForEach iterator(obj, del);
return iterator();
}
ContainerForEach::ContainerForEach(TESObject... |
3ff650e5d1c2beb491b7ff570420bbb1faa48718 | c26db506037704131aad29c0b45343e4407b9680 | /String/TASHIFT.cpp | 705b05d985d1a6319308804c128bc32f2da12046 | [] | no_license | lalitc375/Data-Structure-And-Algorithms | b9d805cc903f91da9b5e57f21320cea617d8a8ce | fc0f1e3a204aaec96ba721fb6bb239c5a6e5ae0e | refs/heads/master | 2021-01-17T02:25:58.108189 | 2017-04-14T05:35:08 | 2017-04-14T05:35:08 | 49,047,685 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | cpp | TASHIFT.cpp | #include<bits/stdc++.h>
using namespace std;
void computeLPS(char * Patt,int M,int * LPS)
{
int len=0; //Length of Previous Longest Prefix Suffix
LPS[0]=0;
int i=1;
while(i<M)
{
if(Patt[i]==Patt[len])
{
++len;
LPS[i]=len;
++i;
}
e... |
33b3754487cced074947464325a9f54d497dd3b5 | d07aa6846cb3b16a3ec8f4a3d9f2af597b3f0dae | /RDBMS_TeamE/RDBMS_TeamE/Tokenizer.cpp | 62b05798fbeec5438ffb86df28bde7b626c52a66 | [] | no_license | lancewest/CSCE315-RDBMS-TeamE | 7e6d13df809ca8cd410c78aa20a55253ba26a79d | 902659a1137334180bd3c89b72c186ce73f85e32 | refs/heads/master | 2020-12-06T17:20:25.482306 | 2014-07-26T20:12:22 | 2014-07-26T20:12:22 | 16,330,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,108 | cpp | Tokenizer.cpp | #include "Tokenizer.h"
#include <iostream>
Tokenizer::Tokenizer(){}
//For Rolling back transactions
void Tokenizer::checkpoint()
{
this->point = this->index;
}
//Useing in conjunction with checkpoint to roll back
void Tokenizer::back_Up()
{
this->index = this->point;
}
bool Tokenizer::consume_Token(string in)... |
466e3e99830cdf45d24565b4393d8cb7239640f9 | 7d271763ac289e075ae834dbae8bcc95ab710761 | /Expr_Command_Factory.h | 789d417bcbd5b661f949ab4f9f32a12e53350741 | [] | no_license | arvindnair/aooadassign5 | 6e1a407fb32092ede3d12ffc5b99abc3dbce6344 | 12fbce92e22eeba36be2f04c05f8c0674b10f005 | refs/heads/master | 2020-04-18T00:24:03.042381 | 2016-08-31T23:53:03 | 2016-08-31T23:53:03 | 67,081,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | h | Expr_Command_Factory.h | //==============================================================================
/**
* Honor Pledge:
*
* I pledge that I have neither given nor received any help
* on this assignment.
*/
//==============================================================================
#ifndef _EXPR_COMMAND_FACTORY_H_
#define _EXPR_COMM... |
b71349724a77e990f49040161c6a4467be276ee0 | 2a1bd24f4d4e0e1683d232c81f47800fbc59ee5d | /Seeed_TMG3993.h | 8bd2b4ba38f03582f3649cb359ed997f06574f3a | [
"MIT"
] | permissive | Seeed-Studio/Seeed_TMG3993 | 3f41c581c44515ccf2f0cdb15f9bdcf64aaa95d0 | 90a485c36546c2d92c5d7285ad637c77e9097a4a | refs/heads/master | 2021-06-20T17:47:36.592793 | 2020-12-14T00:30:08 | 2020-12-14T00:30:08 | 137,311,999 | 1 | 1 | MIT | 2020-12-14T00:30:09 | 2018-06-14T05:50:09 | C++ | UTF-8 | C++ | false | false | 5,299 | h | Seeed_TMG3993.h | /*
A library for Grove - Light&Gesture&Color&Proximity Sensor
Copyright (c) 2018 seeed technology co., ltd.
Author : Jack Shao
Create Time: June 2018
Change Log :
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software a... |
27594a301baab8d9839495e48862a0c93a3b006a | ab654f701e67953c2d95afc224b0bfdc87cb947f | /ObjectRenderHandler.h | 77160e67bf80db8b8cd09964770cf1f198486ef0 | [] | no_license | TheFlyingPandaa/BitFrost | d22ff6e48176044d826d97417201d8a7daabdea5 | da01714d4d53232bd53cb71295b33be8ca9fc9ba | refs/heads/master | 2018-09-04T10:59:28.205924 | 2018-06-04T09:53:23 | 2018-06-04T09:53:23 | 117,720,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | h | ObjectRenderHandler.h | #ifndef ORH_H
#define ORH_H
#include "RenderObject.h"
#include <functional>
#include <algorithm>
using namespace std::placeholders;
class ObjectRenderHandler
{
std::string objectFile;
std::vector<RenderObject*> renderObjects;
std::vector<RenderObject*> objectsToRender;
std::wstring * objNames;
std::wstring *... |
9d1dcd5d6b8dcd2a41f2f75c7d0e4faf33fe1e63 | 1036371595e16a40fc83c04526a8508f40eff57d | /Engine/Core/EngineCore.cpp | 1934bf02f49bf7a6f71fd05d8f694509d309f163 | [] | no_license | asocha/Engine | 5acc9a6ebcd64900b93afaabe33bdc836ac000bf | 38211e0cabb0248252a40b38e6b8707f82be4acd | refs/heads/master | 2021-01-10T14:00:58.431156 | 2016-02-15T19:49:04 | 2016-02-15T19:49:04 | 50,062,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | cpp | EngineCore.cpp | //=====================================================
// EngineCore.cpp
// by Andrew Socha
//=====================================================
#include "EngineCore.hpp"
#include "Engine/Core/SignpostMemoryManager.hpp"
#ifndef NDEBUG
#undef new
const unsigned int TOTAL_MEMORY = 1 << 23;
void* operator new(size... |
f92d16a709a09c9b25f7058e9bf458227f40a018 | 7aaad6a8642f53468b75b21f1f0c7892832b7b62 | /elastic-circuits/examples/matrix_power.cpp | 38e683ba5b53719a98232bffef657bfed953264a | [
"MIT"
] | permissive | lana555/dynamatic | a932459fe6e76242baa34c7dbe830bb91eef33a4 | 9930d2eba15b4b1f904911ff97e413ee9a415989 | refs/heads/master | 2023-08-09T23:38:10.623259 | 2023-07-24T14:39:14 | 2023-07-24T14:39:14 | 214,463,815 | 87 | 39 | MIT | 2020-05-12T17:12:21 | 2019-10-11T14:59:15 | C++ | UTF-8 | C++ | false | false | 384 | cpp | matrix_power.cpp | //========================================================================
// Matrix Power
//========================================================================
void matrix_power(int x[20][20], int row[20], int col[20], int a[20]) {
for (int k = 1; k < 20; k++) {
for (int p = 0; p < 20; p++) {
... |
4ddae78faa140274c7298507732cab716814e654 | c48192f69e97858c344bf6d7f36824b5efc8e435 | /src/ThresholdsWidget.h | 908987698b140a00c695b0273a1c1aca2ac359ba | [] | no_license | zhaoshuguan/Wavelet-Denoising | cef5488b70f030c049be54849bd13c515704458e | 2ed3e37f8cea0f6884631836ab6907591595d7e1 | refs/heads/master | 2021-10-26T22:13:33.028537 | 2019-04-14T11:22:21 | 2019-04-14T11:22:21 | 106,982,462 | 0 | 0 | null | 2017-10-15T04:04:47 | 2017-10-15T04:04:47 | null | UTF-8 | C++ | false | false | 1,313 | h | ThresholdsWidget.h | #pragma once
#include <QWidget>
#include <src/AudioSignal.h>
#include <src/PlotManager.h>
namespace Ui { class ThresholdsWidget; }
class ThresholdsWidget : public QWidget
{
Q_OBJECT
public:
using SignalSource = AudioSignal::SignalSource;
explicit ThresholdsWidget(QWidget *parent = 0);
~ThresholdsWid... |
8950793935b6f1a915a7d188097daf87d6f69748 | 7e3c474bcb4daf3f651115b0dcf3ef7a86643186 | /scripts/ScriptZoneGameObjDef.h | f1aef656cb3ff2423cc0fa37a7cbcfc87173ce2f | [
"Apache-2.0",
"GPL-2.0-only"
] | permissive | TheUnstoppable/RenSharp | 0b5930722378fe0d1e6a814f5f7c226ed938a77f | 2a123c6018c18f3fc73501737d600e291ac3afa7 | refs/heads/master | 2022-12-22T08:16:33.958177 | 2020-09-30T08:58:04 | 2020-09-30T08:58:04 | 299,528,055 | 1 | 0 | Apache-2.0 | 2020-09-29T06:44:26 | 2020-09-29T06:44:26 | null | UTF-8 | C++ | false | false | 1,915 | h | ScriptZoneGameObjDef.h | /* Renegade Scripts.dll
Copyright 2017 Tiberian Technologies
This file is part of the Renegade scripts.dll
The Renegade scripts.dll 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, or (at yo... |
85ee139ab16e07717cb5f2011ff0276111af4e80 | 284047fb958e867033fac5eb9893d0fce503d1cf | /chapter12/page424/main.cpp | d5702b9894229aebde42c6c3239e93199f1acccb | [] | no_license | liuxinyu123/cpp-primer | d8bbc4c209e077187221d6bdb12c1f88a0002cfb | 5f27e737de13df705fb7f5a57a4a5ac07cb24200 | refs/heads/master | 2021-01-13T16:42:45.948833 | 2017-02-22T15:01:32 | 2017-02-22T15:01:32 | 77,421,962 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | main.cpp | #include <iostream>
#include <string>
#include <new>
using namespace std;
int main (int argc, char *argv[])
{
int *pia1 = new int[10];
int *pia2 = new int[10] {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
int *pia3 = new int[10] ();
string *psa1 = new string[10];
string *psa2 = new string[10] {"a", "an", "the", string (3, 'x'... |
3bf06d286b75afaca19593633c086d7054ae50c6 | e6401526ee75b8cc1c1a4146ffc365a966398b42 | /Client/main.cpp | 9f45797321721e8857486a71b1c5e7ae9425c169 | [
"MIT"
] | permissive | sppmacd/sppmsg | a8bfa14adfae05f03fb697d0b8f4426b188153e3 | e570caa55fcd0a816794b6212cee281881b119db | refs/heads/master | 2022-09-03T04:56:03.775344 | 2020-05-31T10:17:42 | 2020-05-31T10:17:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,828 | cpp | main.cpp | #include "config.hpp"
using namespace sf;
using namespace std;
bool appRunning = true;
bool running = true;
vector<sf::String> logstr;
vector<sf::String> logstrTmp;
sf::String chatString;
TcpSocket sck;
vector<sf::String> issuedCommands;
int cmdIndex = -1;
sf::Mutex mutex;
View wndView(FloatRect(0.f, 0.f, 500.f, 500.... |
d7e8f1729dc44999d095062a7f40c7f887a4b009 | 418aa6c4486e255f482b6c9bee12a08cda829503 | /Graphic11/importer/parallelloader.cpp | f66ce2942367fafacaf8e8e54a259c256c0d84b3 | [
"MIT"
] | permissive | jjuiddong/Common | b21c9a98474fc45aa30b316808498381c2030ad3 | 3097b60988464000e2885a07cdd6e433e43de386 | refs/heads/master | 2023-08-31T07:35:31.425468 | 2023-08-29T11:38:29 | 2023-08-29T11:38:29 | 77,737,521 | 3 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 51 | cpp | parallelloader.cpp |
#include "stdafx.h"
#include "parallelloader.h"
|
31bcc874e48cf459175d3581556b791665a2bd84 | 002ea88912f32010770099045102c1e91f327de1 | /二进制枚举.cpp | efe927fd2e840c133782f7a6fe1764f29e61777d | [] | no_license | Haut-Stone/algorithm | 2c95a2ce5ba186ce34efa311e6a0eb3aa5f82b6a | 92d28d32faa13a4fc024b9087b88d9cff31126c5 | refs/heads/master | 2020-12-24T06:47:17.654946 | 2018-02-26T13:17:51 | 2018-02-26T13:17:51 | 73,398,865 | 6 | 1 | null | 2018-02-26T13:17:52 | 2016-11-10T16:12:32 | C++ | UTF-8 | C++ | false | false | 598 | cpp | 二进制枚举.cpp | /*
* Created by ShiJiahuan(li) in haut.
* for more please visit www.shallweitalk.com
*
* Copyright 2017 SJH. All rights reserved.
*
* @Author: Haut-Stone
* @Date: 2017-06-08 14:02:34
* @Last Modified by: Haut-Stone
* @Last Modified time: 2017-10-18 12:30:47
*/
//简介的二进制枚举方式,在搜索中比较好用。。
//
#include <iostream>
using... |
7b2fb46566aac5be0dcb5db896a9b21098befd36 | 1f74553b050b88a3484f6d3d93fa09f8aaa9a826 | /Homework/bai179_sothuannguyento.cpp | b58dce12a9b4f4e1f3c57e64e09f27b85ee63ce2 | [] | no_license | dattocngan/THCS2_PTIT | 2e970942ee28a87b0c66d31667185b1c1e58e340 | edbf6b944a0f3cf0065b02c49ed83b7c39c1526a | refs/heads/main | 2023-04-29T06:36:45.770537 | 2021-05-19T16:35:24 | 2021-05-19T16:35:24 | 345,918,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | bai179_sothuannguyento.cpp | #include<stdio.h>
#include<math.h>
int checkPrime(int n){
if( n <= 1 ) return 0;
if( n == 2 ) return 1;
int i;
for( i = 2 ; i <= sqrt(n) ; i++ ){
if( n % i == 0 ) return 0;
}
return 1;
}
int tongChuSo(int n){
int sum = 0;
while(n != 0){
int a = n % 10;
if(checkPrime(a) == 0) return 0;
sum += a;
n/=1... |
21dfd2cdf4e91996f1e18925c5078dae5c98907f | 52e389503307fd16c76b9f297d64ed715051ac29 | /1080.cpp | 3b2096dc0c00a940cbee74a5f1a58b21c3fb1f95 | [] | no_license | KWONDU/BOJ | 7fe50f8d577d2f2e578861307dd19e42fbd58ada | e2371e2e4e5da3a406467820a77a0b8ed2196714 | refs/heads/main | 2023-07-17T06:13:12.993379 | 2021-08-24T10:50:14 | 2021-08-24T10:50:14 | 393,856,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,210 | cpp | 1080.cpp | #include <iostream>
#include <string>
using namespace std;
int main () {
ios_base::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
int n, m;
cin >> n >> m;
char a[50][50], b[50][50];
for (int i = 0; i < n; i++) {
string tempstr;
cin >> tempstr;
for (int j = 0; j < m; ... |
afda7705071672b746654a106de193dd8f6d21f3 | 9a185924bcb1e70eff953a10e7754a443d1254b1 | /main.cpp | 5fc0d475b405de5fc21ca862454b514f19c9707f | [] | no_license | ubelian/OpenGL3 | 8ed77980d10a76a1719b1117d624182a73c9cc9f | a70c9f48e8fa4da6e5acec5d50212e6654c759d9 | refs/heads/master | 2020-03-26T00:05:09.006627 | 2018-08-10T16:02:35 | 2018-08-10T16:02:35 | 144,305,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | cpp | main.cpp | #include "main.h"
OglRenderer app;
void keyCallback(GLFWwindow *window, int key, int scancode, int action, int mode);
int main() {
glfwSetTime(0);
app.addRectangle(-0.1f, 0.0f, 0.0f, -0.1f);
app.getCurrentObject(0).translate(glm::vec3(0.0f, 0.1f, 0.0f));
app.run();
}
void keyCallback(GLFWwindow *window, int... |
c01bac618d7c09e20a874a21e7b91f4f7087255a | 134634a752c899d2fd0b6375b8794ae78e5abc90 | /acceptance/main.cpp | 82fa3014138281d530740e0e6c16107d7800b7c8 | [] | no_license | sggrigoriev/pelopia | 7b6ad0b9608f81d8667e68cf2e8bcb7346f66370 | da829c8027dff54c05c25ae696eab792adf7de7e | refs/heads/master | 2021-01-10T04:55:56.110364 | 2016-01-11T19:47:27 | 2016-01-11T19:47:27 | 51,612,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | cpp | main.cpp | #include <iostream>
#define CATCH_CONFIG_RUNNER
#include <test/catch.hpp>
#include <pelopia/Dataset.h>
#include <pelopia/GeocodeJSON.h>
using namespace Mapzen::Pelopia;
using namespace std;
TEST_CASE("one term, no location")
{
Dataset ds("./input/1.json");
SECTION ("found 10 or more")
{
co... |
1f4899ab553b65da0343491ca9e3d5c5354f74e1 | a87741221c8e6501028fba7797f4d891d9cfb2e3 | /Chess Board 6-19-21 11:00PM.cpp | 713c7e51e59c4f3416d02f8bc2a968c09565701a | [] | no_license | tpate0562/Chess-Board-Final | 3d0d0bfd42f8bc4f1428e6736b107cf29c33d91e | 55053cb7848872b434e2bd9cc5781c7f45c3ca86 | refs/heads/main | 2023-05-31T04:24:54.142592 | 2021-06-20T06:01:15 | 2021-06-20T06:01:15 | 378,570,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,290 | cpp | Chess Board 6-19-21 11:00PM.cpp | //******************************************************************
// Chessboard program - chessboard.cpp
// This program prints a chessboard pattern that is built up from
// basic strings of white and black characters.
//******************************************************************
#include <iostream>
#include ... |
0b92957d98132e2b474a4e164f9eae98d71abb00 | 65a9b36c2540e236718d1d5c485ecdddebabcd5e | /back/riscv/emit_riscv.hpp | 6787e2f6db8dd874b5454e8daea5ebff5f0a3528 | [] | no_license | lhydave/SysYCompilerLab | 420daeadc7dffd8c6c08f2492dbde2cbcf03c457 | 89ae528df5c39b1012f67c0cc428c31c5ae85328 | refs/heads/master | 2023-04-24T18:13:42.232797 | 2021-05-14T06:30:13 | 2021-05-14T06:30:13 | 362,852,244 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | hpp | emit_riscv.hpp | /* emit risc-v by direct mapping tigger to risc-v */
#ifndef __EMIT_RISCV_H__
#define __EMIT_RISCV_H__
#include "tigger_seq.hpp"
#include <memory>
#include <sstream>
#include <string>
using std::string;
extern std::ostringstream riscv_dst;
extern vector<shared_ptr<tigger::stmt>> tigger::seq;
namespace riscv {
void gen... |
fb33ae3e876a7199dd2d4c83ab4f6f21d296b2d8 | 96823ccc717c9bd6580916e4dacbec7525f49ffc | /parser.cpp | 329d9b33ee0fd3de11e5ff4f9697c1c24f87b19e | [] | no_license | Ramseyyj/TinyCompiler | 32873ded2f696ebec5bd01491e7559c005cb2b43 | ecd952ed52dd9e74ac02d09a34cdf03b6de69c9f | refs/heads/master | 2020-03-29T10:21:03.203168 | 2014-12-05T06:01:50 | 2014-12-05T06:01:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | parser.cpp | //
// parser.cpp
// TinyCompiler
//
// Created by lms on 12/2/14.
// Copyright (c) 2014 lms. All rights reserved.
//
#include "parser.h"
namespace tinyCompiler{
Parser::Parser(const std::string &srcfileName):scanner_(Scanner(srcfileName)){}
} |
3ea5686a99fb07a33c07f0732476b8d0050c32b0 | 0abb6765c4fe79141f517f28786b6190c99aed76 | /codechef/WSITES01.cpp | 7e234b798f3dd2583205f34a5c036aaa3bc3bd84 | [] | no_license | BlitW0/cp-codes | 26b3492997a6c6e613fd38b30846391773784bb2 | 16c7c5cc47a6ad8e2e69035d470e6aa2b47ff33a | refs/heads/master | 2020-07-16T04:00:01.467520 | 2019-09-01T18:18:08 | 2019-09-01T18:18:08 | 205,714,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | WSITES01.cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
typedef long long ll;
struct node {
node* pres[26];
bool end;
};
node* make() {
node* x = (node*) malloc(sizeof(node));
for(ll i = 0; i < 26; i++)
x->pres[i] = NULL;
x->end = 0;
return x;
}
void inser... |
e8e080aa452a9bf72ee4730f2fe500008de05dc2 | 832a7813c8459353d5ae5bdc867275e0eb3fe07c | /MetroTank/Bullet.cpp | adc987e41f8996b24870236c25e353e2ca85f7a7 | [] | no_license | ngoaho91/MetroTank | 6c2c6b76f12b3b79782cbbf2b497443ba9de9277 | dc9df4fc840b502f1bb46ebab80861c8cdf52769 | refs/heads/master | 2021-01-13T14:00:21.650263 | 2013-11-19T04:18:11 | 2013-11-19T04:18:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | cpp | Bullet.cpp | #include "pch.h"
#include "Bullet.h"
#include "math.h"
Bullet::Bullet(int type)
{
m_BulletModel = new BaseModel();
m_BulletModel->SetTexture(L"images\\bullet.png");
m_BulletModel->SetOriginal(12,12);
m_BulletModel->SetPosition(700,600);
m_X = 700;
m_Y = 600;
m_Velocity = 0;
m_Angle = 0;
m_Type = type;
}
void B... |
34cff65a6f76686d85d9d8d3e01bae988960f2d9 | 13a32b92b1ba8ffb07e810dcc8ccdf1b8b1671ab | /home--tommy--mypy/mypy/lib/python2.7/site-packages/pystan/stan/src/test/unit/lang/parser/lkj_cov_deprecation_test.cpp | 09500dc7bc7268b27338c93c33cdd8c2e7c97af0 | [
"Unlicense"
] | permissive | tommybutler/mlearnpy2 | 8ec52bcd03208c9771d8d02ede8eaa91a95bda30 | 9e5d377d0242ac5eb1e82a357e6701095a8ca1ff | refs/heads/master | 2022-10-24T23:30:18.705329 | 2022-10-17T15:41:37 | 2022-10-17T15:41:37 | 118,529,175 | 0 | 2 | Unlicense | 2022-10-15T23:32:18 | 2018-01-22T23:27:10 | Python | UTF-8 | C++ | false | false | 391 | cpp | lkj_cov_deprecation_test.cpp | #include <gtest/gtest.h>
#include <test/unit/lang/utility.hpp>
TEST(langParser, lkjCovDeprecationSampling) {
test_warning("lkj_cov_deprecation1",
"Warning: the lkj_cov_log() sampling distribution is deprecated.");
}
TEST(langParser, lkjCovDeprecationFunction) {
test_warning("lkj_cov_deprecation2",
... |
a51e966c20e4e942444b9b75b213347fd45d04a1 | 82a43b7a2ffd8cb3232bc6ab6ad563173d597cff | /libvast/vast/detail/stack_vector.hpp | 660912b7a813a953283a5639d43a8f2ce3ec885a | [
"BSD-3-Clause"
] | permissive | cjolivier01/vast | 9fd52c7124f65b679ceceed86a4a8cdc2d3011f4 | 1a8aa2eda2a34450507f48385825e73381ce3b3a | refs/heads/master | 2021-06-25T17:57:59.593575 | 2017-08-15T05:08:03 | 2017-08-15T05:08:03 | 105,785,573 | 1 | 0 | null | 2017-10-04T15:33:44 | 2017-10-04T15:33:38 | C++ | UTF-8 | C++ | false | false | 2,090 | hpp | stack_vector.hpp | #ifndef VAST_DETAIL_STACK_VECTOR
#define VAST_DETAIL_STACK_VECTOR
#include <vector>
#include <scoped_allocator>
#include "vast/detail/short_alloc.hpp"
namespace vast {
namespace detail {
// This base class exists to bind the lifetime of the corresponding container
// to the arena, such that the allocator will never... |
fdd3adc977970be7168fa4bd4175571be457303b | 9e3e66b753f223917825a78145dccbf2e9ae3db0 | /06/SIMD.cpp | d3ba1a03e85088e277d9ec8b434f75b16ff15c56 | [] | no_license | Ian95Song/DIP-Homework | 52380f4e167cafa8bb805672859b2d349877b11a | e1e44c302df4e5458132d64018aa2697fa521fcf | refs/heads/master | 2022-04-13T07:29:36.915690 | 2020-04-12T11:54:15 | 2020-04-12T11:54:15 | 255,066,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | cpp | SIMD.cpp | /**
* Copyright 2019/2020 Andreas Ley
* Written for Digital Image Processing of TU Berlin
* For internal use in the course only
*/
#include "SIMD.h"
namespace dip6 {
}
|
ee2e059dbc932169da28e624e13799eba796d981 | 824f7a0d6f94bff5be6dd52d654121656cde3701 | /Source/testing/BaseWeapon.h | aa45c441a51406578b121d6778c77dc1035ceabe | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | e-sushi/SMLabs | 894d2c3a1e25f4706832dffd65fdf35faa9ca948 | bbf55f4fb20a18500a92ad6ce0d7672505f321fc | refs/heads/master | 2023-02-21T18:42:08.032657 | 2021-01-27T01:56:51 | 2021-01-27T01:56:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,338 | h | BaseWeapon.h |
//The actual weapons themselves are set up in blueprint form,
//as it is easier to manipulate their meshes there and
//they are simple enough to be kept as blueprints.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "BaseWeapon.generated.h"
UENUM()
enum DamageType {
//placeholder ... |
d18a0e8cf7964d35dbe03066489ce77651095a2f | fece94b0e6aba6765afbc7d7256aca9ae23efd0d | /SIMProcessor.h | 48c03f0b48effa54a0b3aed362f2f3e5b6a876b4 | [] | no_license | AyaElAkhras/nSIM-Machine | 2fe23722077bf41898656e5dbdb5d38f8a6a23ac | 179ae9cd4592f40fc184953352dbeb31ca4f3464 | refs/heads/master | 2020-11-27T23:15:23.962836 | 2019-12-22T23:12:54 | 2019-12-22T23:12:54 | 229,643,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | h | SIMProcessor.h | #ifndef SIMPROCESSOR_H
#define SIMPROCESSOR_H
// This is the microprocessor that contains 1 DataMemory Bank and 1 InstructionFactory and N cores
// Each core has its own PC and executes instructions from its instruction_memory
// in its constructor, it takes the number of cores N, and an array of files conta... |
82267580e9f617c63263ae45c24ea93cb48db44d | 8237d08ea9dd0d1f9202aced9a85dea5082f708c | /geometry/line.cpp | 546d7423c5111c56d1214ca3749de434df9978af | [] | no_license | rnetuka/adventofcode2019 | 58f98fafdc53cf74b4cf6fe5f0612584b7f30a6f | aae468c2edbe4a9e3231534f3d5053ed380b560d | refs/heads/master | 2020-09-21T03:13:33.815747 | 2020-01-20T09:32:41 | 2020-01-20T09:32:41 | 224,661,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | cpp | line.cpp | //
// Created by rnetuka on 09.01.20.
//
#include<cmath>
#include "line.h"
#include "vector.h"
using namespace std;
namespace geom {
line::line(const vector& u) : u { u } {
}
double line::angle_with(const line& other) const {
vector u = this->u;
vector v = other.u;
return cos... |
4a0cc51459bfac3864adf1ab67e71267a9724736 | e272d18a042e6b6808bc615917b1783d53607870 | /done/1352.cpp | 1545f84264ae8832c7dd55953692fcbad57a0e36 | [] | no_license | chessdroid/morbidel-timus | 58656c7a62132aaae71289a20ee77baeca4ba554 | b079bf3ae716d4eeb54722037ac55066f9e9da7c | refs/heads/master | 2020-07-10T02:20:08.032088 | 2013-04-11T20:48:39 | 2013-04-11T20:48:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | 1352.cpp | /*
* ACM Timus Online
* Mersenne primes - Problem 1352
*/
#include <stdio.h>
long Array[42] = {0, 2, 3, 5, 7, 13, 17, 19, 31, 61, 89,107, 127, 521, 607, 1279, 2203, 2281, 3217, 4253, 4423,
9689, 9941, 11213, 19937, 21701, 23209, 44497, 86243, 110503, 132049, 216091, 756839, 859433,
1257787, 13... |
fc4b27758fc6a74b1fcf7cabad2e6f64ec6f56c9 | 63ef43e75ce8fb701b0428f3b9933c29bc2a2fa8 | /bumbel.ino | 32d8767762add8464c675bd7c95c8de0eb461112 | [
"BSD-2-Clause"
] | permissive | knilch0r/bumbel | 9aaf27d9dfd9d767b07ee77a664db35a6cdbd4d4 | a515dae9559346cdc6e3008acee2e8b464281608 | refs/heads/master | 2020-07-05T05:58:59.155704 | 2019-08-16T07:37:19 | 2019-08-16T07:37:19 | 202,546,170 | 0 | 0 | null | 2019-08-15T13:32:07 | 2019-08-15T13:29:03 | C++ | UTF-8 | C++ | false | false | 3,672 | ino | bumbel.ino |
#include <Adafruit_NeoPixel.h>
#include <WiFi.h>
#include <WiFiClient.h>
#include <WebServer.h>
#include <ESPmDNS.h>
#define PIN 21
#define SZX 6
#define SZY 6
#define LPP 6
#define NUMPIXELS (SZX*SZY*LPP)
#define DELAYVAL 333
#include "wifi_pass.h"
#ifndef SSID
const char *ssid = "ssid";
const char *password = "p... |
3cff3732f746893eb76c6598e72a46eb6fa79f0e | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Database/PersistentDataModelTPCnv/PersistentDataModelTPCnv/DataHeader_p6.h | f2b8cb80b2ed81b0e6ea7e541aafeab44fc3a116 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,411 | h | DataHeader_p6.h | /*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#ifndef PERSISTENTDATAMODELTPCNV_DATAHEADER_P6_H
#define PERSISTENTDATAMODELTPCNV_DATAHEADER_P6_H
/** @file DataHeader_p6.h
* @brief This file contains the class definitions for the
* DataHeader_p6 and DataHeaderForm_p6
* @author P... |
e3588cb83ca20433b73e413038711e82a91a4153 | 803a9e4f825231491651dddda38431e327627792 | /utils/PrimitiveTypes/Object.cpp | a52e270172d0385d6a74d5f7fe9b39fb92228b85 | [] | no_license | Thrynk/JavaOwn | ab61347dcfc233b7df48f046ef729ddc6f51f303 | 5ee04f2a8df0258ec080ded93d07533ed0353541 | refs/heads/master | 2020-09-14T12:49:04.571702 | 2019-12-11T20:31:32 | 2019-12-11T20:31:32 | 223,131,463 | 0 | 0 | null | 2019-12-11T19:20:12 | 2019-11-21T09:00:32 | Yacc | UTF-8 | C++ | false | false | 625 | cpp | Object.cpp | #include "Object.h"
#include "../Variable.h"
Object::Object() {}
Object::Object(map<string, Variable>& attributes){
for(auto pair : attributes){
this->attributes[pair.first] = pair.second;
}
}
void Object::setValue(map<string, Variable>& attributes){
for(auto pair : attributes){
this->att... |
7640404c0630119d302303b8af9679f41956c7ce | 43f79f4920beca05280c6b08ebfb5677e7748542 | /src/tools.cpp | d9b016e601ffdd205acf922eac23f67bf0005075 | [] | no_license | SiRi13/CarND-Unscented-Kalman-Filter-Project | 951ad65ff346eb2f17cb46522b74bc5ee66a34ac | e013a716a39dc4ca627705132a11550dffcaf70d | refs/heads/master | 2021-01-21T23:20:14.966745 | 2017-06-26T14:23:24 | 2017-06-26T14:23:24 | 95,226,254 | 0 | 0 | null | 2017-06-23T14:11:19 | 2017-06-23T14:11:19 | null | UTF-8 | C++ | false | false | 1,192 | cpp | tools.cpp | #include "tools.h"
#include <iostream>
#include "Eigen/Dense"
using Eigen::VectorXd;
using Eigen::MatrixXd;
using Eigen::Ref;
using std::vector;
Tools::Tools() {}
Tools::~Tools() {}
VectorXd Tools::CalculateRMSE(const vector<VectorXd> &estimations,
const vector<VectorXd> &ground_truth)... |
556b1ac3d72a6b7ed74b0c9285e6805dbc940705 | 7ab7d64890a67c8c3931cb96dd49bb065e5fe63e | /examples/cpp/dqlib.rpcz.h | 6b5c25e3274e8e3779713b9d802c78fccc9ef56b | [
"Apache-2.0"
] | permissive | gitgoready/rpcz | f57c1a90e981a9be530edc552a81058f04b6ac1e | 3c33d095e07a5fddd659805c1d351ab54a0d774d | refs/heads/master | 2021-01-13T13:19:20.638404 | 2017-04-11T12:40:37 | 2017-04-11T12:40:37 | 78,593,686 | 0 | 1 | null | 2017-01-11T02:10:36 | 2017-01-11T02:10:36 | null | UTF-8 | C++ | false | true | 2,645 | h | dqlib.rpcz.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dqlib.proto
#ifndef RPCZ_dqlib_2eproto__INCLUDED
#define RPCZ_dqlib_2eproto__INCLUDED
#include <string>
#include <rpcz/service.hpp>
namespace google {
namespace protobuf {
class ServiceDescriptor;
class MethodDescriptor;
} // namespace protobuf
... |
1aa7467e70374562a03a9ca323f347b395f7419e | 06bed8ad5fd60e5bba6297e9870a264bfa91a71d | /JavaQt/defaultlistselectionmodel.cpp | 43f765e63576a7f9ab272e6d904c7a69e1408ce4 | [] | no_license | allenck/DecoderPro_app | 43aeb9561fe3fe9753684f7d6d76146097d78e88 | 226c7f245aeb6951528d970f773776d50ae2c1dc | refs/heads/master | 2023-05-12T07:36:18.153909 | 2023-05-10T21:17:40 | 2023-05-10T21:17:40 | 61,044,197 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 33,207 | cpp | defaultlistselectionmodel.cpp | #include "defaultlistselectionmodel.h"
#include "bitset.h"
#include "listselectionevent.h"
#include <QSortFilterProxyModel>
DefaultListSelectionModel::DefaultListSelectionModel(QObject */*parent*/) :
QItemSelectionModel()
{
selectionMode = MULTIPLE_INTERVAL_SELECTION;
minIndex = MAX;
maxIndex = MIN;
anchorInde... |
dd8a7fa60617ebd8bb5c6c2c24ed39524d356fc2 | c871059fd202d07644f4fea92dbd3645b213427d | /Game2D/Classes/JniHelper.cpp | eee9e6635af439692160671cc7deeb0e99f89d46 | [] | no_license | doncc/android-game2d | 5c339afc8dad8444779a35ddc1b067d897830153 | b61a1d765f714637f8812705f869dd55c1839122 | refs/heads/master | 2020-12-25T15:50:48.624118 | 2015-09-08T03:45:50 | 2015-09-08T03:45:50 | 42,088,791 | 1 | 0 | null | 2015-09-08T03:50:14 | 2015-09-08T03:50:11 | null | UTF-8 | C++ | false | false | 399 | cpp | JniHelper.cpp | //
// Created by plter on 8/28/15.
//
#include "JniHelper.h"
#include <platform/android/jni/JniHelper.h>
void game2d::JniHelper::callStaticVoidMethod(std::string className, std::string methodName) {
cocos2d::JniMethodInfo minfo;
cocos2d::JniHelper::getStaticMethodInfo(minfo,className.c_str(),methodName.c_str(... |
ea9430ca20e8deb3f4aff43b448af2a58461bc3c | d8616934aa17479aa596b6dced4c4b9ffac40b42 | /Raiden/A_Enemy.cpp | d14cb94a6df3b9422ffe7de1b2b6a5950787082c | [] | no_license | SwordofMorning/Raiden | 64d5d4ade1b9300c02676ebf4e34e9aa348c87d3 | 51f38564ba3d4eecb3e8c45b92bdf7f8a17811ff | refs/heads/master | 2023-06-07T13:38:21.868172 | 2021-06-27T02:37:09 | 2021-06-27T02:37:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,417 | cpp | A_Enemy.cpp | #include "A_Enemy.h"
A_Enemy::A_Enemy(std::string p_path,
const int& p_height, const int& p_width,
const int& p_HeightLowerLimit, const int& p_HeightUpperLimit,
const int& p_WidthLowerLimit, const int& p_WidthUpperLimit) :
A_Actor(p_path, p_height, p_width, p_HeightLowerLimit, p_HeightUpperLimit, p_WidthLowerLim... |
ec5944d72e5dd44be1e0f75099a0de53e542fa20 | b71168dbe920e7f8d1c67427dd320d2c888c6599 | /src/machinery/module.cc | dd76ecbe18a7d4c081fb4eeeef96157bf579af7d | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | drycpp/machinery | 122bb92e72fb954538ef39287f564ddf425f4b39 | d52d575a222d7b41cac7c4b8c47b1b256af99f4a | refs/heads/master | 2020-04-09T20:08:50.849287 | 2014-11-03T02:07:20 | 2014-11-03T02:07:20 | 12,908,417 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 376 | cc | module.cc | /* This is free and unencumbered software released into the public domain. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "module.h"
static const char* const module_names[] = {
#ifndef DISABLE_ARM
"arm",
#endif
#ifndef DISABLE_IR
"ir",
#endif
#ifndef DISABLE_JIT
"jit",
#endif
#ifndef DISABLE_MIPS
... |
0b1d564b06d49cf51128870badcfe7a0ab79a037 | 7734e3e1f4affb37809b7ea2bec5fcd60d992d24 | /LedMatrixAnimations/LedMatrixAnimations.cpp | f70d90455a3d01ea601bde579eaae4a91fdc76d7 | [] | no_license | LuisDiazUgena/LedMatrixAnimations | 196988a413c6d9b0367c6b238e8ee0352b5f4898 | 9cd8db38643866fe74dc665e9e208a774c3213db | refs/heads/master | 2016-09-05T23:13:21.460049 | 2015-06-05T09:27:51 | 2015-06-05T09:27:51 | 36,807,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,254 | cpp | LedMatrixAnimations.cpp | #include "LedMatrixAnimations.h"
#include "LedControl.h"
LedMatrixAnimations::LedMatrixAnimations(){
ledMatrix = LedControl(11, 13, 12, 1);
}
LedMatrixAnimations::~LedMatrixAnimations(){
//Nothing to destruct
}
void LedMatrixAnimations::lookUp(){
ledMatrix.setLed(0, 2, 3, false);
ledMatrix.setLed(0, 2, 4,... |
e6d1a7b34cfdf327de42a3a09d6ee0505d36aa6b | 21a466dfebd3cd3e8593ead8f70485c0f7460f0d | /is_integral.cxx | 22dac26e7c84889a349749886991f4a0325255e8 | [
"MIT"
] | permissive | cmbrandt/std-type-traits | e2045e93dfaf48b6510c019bd23b69c3321c2663 | 2a9c536840ba0f0a48e172b3b2527510cdfd7073 | refs/heads/main | 2023-03-29T18:25:47.223540 | 2021-04-04T05:42:40 | 2021-04-04T05:42:40 | 328,254,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cxx | is_integral.cxx | #include <iostream>
#include <type_traits.hxx>
int main()
{
std::cout << "cmb::is_integral<void>::value = "
<< cmb::is_integral<void>::value // = 0
<< "\ncmb::is_integral_v<int> = "
<< cmb::is_integral_v<int> // = 1
<< std::endl;
} |
113e451b620c23af855087bdf199109063a70db2 | 73c7fe37bf6af775cac65f58b81d2284dae117f2 | /LeetCode/56. Merge Intervals.cpp | 07fbfa5896785c2c914287648343e749101c7263 | [] | no_license | atique7465/Competetive_programming | 9ad03427682270e889f751b8a8e2e9ab3b309be2 | 840b8b9133f5b993730ecde186ef4d4fdfca9c46 | refs/heads/master | 2023-08-03T15:16:47.582253 | 2023-07-25T04:07:01 | 2023-07-25T04:07:01 | 186,138,178 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | 56. Merge Intervals.cpp | class Solution {
public:
vector<vector<int>> merge(vector<vector<int>>& intervals) {
vector<vector<int>> res;
vector<int> range(10010, -1);
for(int i = 0; i < intervals.size(); i++)
range[intervals[i][0]] = max(range[intervals[i][0]], intervals[i][1]);
... |
1af2f09dc169c7686e12a2af82ae9df23851d7dc | 6c2fb919ca100ff4f7a8400b2e5fd385ada410b1 | /Dijkstra.cpp | a45c264231d73dd9a017370665625aee2781ea24 | [] | no_license | Katya-p/Treasure-Hunt | 8c708fc1b5761af5d3112284db9bbc0c3a03be08 | c426f8f4225b3d52a7ec6952ceecfae07e01b944 | refs/heads/master | 2020-04-20T06:02:16.991768 | 2019-02-01T09:22:39 | 2019-02-01T09:22:39 | 168,672,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cpp | Dijkstra.cpp | #include "Dijkstra.h"
int get_result(int ** matrix, size_t size, size_t amount_of_outer_walls)
{
//Dijkstra's algorithm
size_t treasure = 0;
std::vector<int> distance; //vector of minimal distances between treasure and other vertexes
std::vector<bool> visited; //vector of visited vertexes
for (size_t i =... |
be588b202662bae44371c0c74f931afd6fdeb44a | 30a3e10673b3244206abe0611ced13e714e1bff5 | /DesignMode/AdapterMode/ElectricAdapter.cpp | d205a5ccd85dfae94ff25693a04692f1240abdeb | [] | no_license | fhLiu/MyProject | c68f31923ee41fd797041c6e346691361c16af01 | 620730ddb9f0caf630d7a20cf6a6f6c84f96baf2 | refs/heads/master | 2021-12-23T06:57:18.769690 | 2021-12-13T11:50:55 | 2021-12-13T11:50:55 | 158,992,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | ElectricAdapter.cpp | #include "ElectricAdapter.h"
ElectricAdapter::ElectricAdapter(ElectricMotor * em):p_em(em)
{
}
void ElectricAdapter::Drive()
{
p_em->ElecticDrive();
} |
ba5a567d5b83faed2dd3b611655b2d829fafdf42 | 5cee480c663873932a004aae7f599f3510b3cb34 | /Football/Football/main.cpp | df0e4b124439f8e7dff1e804ed6a9a0108ae2ea4 | [] | no_license | Verterax/CodeEval_Solutions | 692b70d53536b7e673b17839ef7d9e951769ed97 | 880df0ca1407c538b07ba19008efac2b67f67dcf | refs/heads/master | 2020-08-31T23:24:14.640315 | 2019-10-31T16:40:46 | 2019-10-31T16:40:46 | 218,812,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,471 | cpp | main.cpp | // By Christopher Caldwell
// chris@codehadouken.com
// Challenge 230
// Football
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
#pragma region Defaults
//Reads a file, and returns the
//contents as a vector of s... |
79939bfe6601ecf81892febe6a8d427ef42973dc | b13efe596569967ba8f32f055f54b8315f55a9a5 | /main.cpp | 4b7ce4229f7ac1f7926dad93090a72d64095d9ba | [] | no_license | av-novikov/msh-neighbor | da9c91b519c503a8769a09e0e244bbe7c2393ae1 | e204244709e924f49195c3980b9178e6e8a4b599 | refs/heads/master | 2023-02-11T14:35:39.020105 | 2018-01-14T22:45:19 | 2018-01-14T22:45:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | main.cpp | #include <iostream>
#include <memory>
#include "src/MshReader.hpp"
using namespace std;
int main()
{
mshreader::MshReader reader;
std::shared_ptr<grid::Mesh> mesh = make_shared<grid::Mesh>(*reader.read("attempt4.msh"));
mesh->process_geometry();
reader.write(mesh.get(), "attempt4.nebr");
return 0;
} |
6d30c33694c52f603ad6a1b71e09284caa2b8cf8 | 011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3 | /codeforces/round423/C_DNA_Evolution.cpp | 37e05397c6cc45af32e9ab31b94d61c2c28e3138 | [] | no_license | ay2306/Competitive-Programming | 34f35367de2e8623da0006135cf21ba6aec34049 | 8cc9d953b09212ab32b513acf874dba4fa1d2848 | refs/heads/master | 2021-06-26T16:46:28.179504 | 2021-01-24T15:32:57 | 2021-01-24T15:32:57 | 205,185,905 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,208 | cpp | C_DNA_Evolution.cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
const long long mod = 1e9+7;
// const long long mod = 998244353;
const long long int special_prime = 982451653;
using namespace std;
// DEBUGGER
// *
vector<string> vec_splitter(string s) {
s += ',';
vector<string> ... |
73b961a6bd7471f3d568ecfa44a4e38bf3054ded | 15e79f904954c6456eebfad1eb109a3c29d61c5a | /src/libConfigurationManagement/src-exe/WebControlPanelPasswordTool.cpp | 8621c5a031648bc5b98bad4bb06e1353a6e21f7e | [] | no_license | Darksider7/terkos | e8ded3f2f45e7132c2f74a1936b6879bce92f668 | 593ad04a31fd09c10776337c847e9a171212e80d | refs/heads/master | 2016-09-06T11:51:53.588709 | 2013-01-21T06:58:31 | 2013-01-21T06:58:31 | 37,706,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | cpp | WebControlPanelPasswordTool.cpp | //
// This file is part of Terk and TerkOS.
//
// All Terk and TerkOS source code is provided under the terms of the
// GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html).
// Those wishing to use Terk and TerkOS source code, software and/or
// technologies under different licensing terms should co... |
22ab3dd0965fd19ae2c394b6614ad107eb48b574 | 3157d25e573dc6ad770a07f24b77841db174cb98 | /Source/SG/Core/SGName.cpp | 14e985c11f5e56ff4b71466b32500faf275b7b35 | [
"MIT"
] | permissive | bazhi/SG | 882b4744b59a8ef2fdca0ef15a0b86e9c4c784f0 | d84f39b91b468f1f72ab7ee33e4ca44a9cb9c4e7 | refs/heads/main | 2023-02-27T01:21:14.242333 | 2021-02-09T08:55:52 | 2021-02-09T08:55:52 | 318,170,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21 | cpp | SGName.cpp | #include "SGName.h"
|
535660bb31d73b9109be48113f115f90eacc9ccf | 8ee5416ec56b9cc1d9ad2ce48cf690fa012c5ce4 | /PhysX.Net-3/Source/ConstraintDesc.h | db9c00ee020731a159de72b755e8610dcc39fb07 | [] | no_license | HalcyonGrid/PhysX.net | a573e0ceb9153c3777e71cb9d1434c5d74589df6 | 2a4bfc7a6619091bb3be20cb058f65306e4d8bac | refs/heads/master | 2020-03-26T12:30:31.701484 | 2015-09-10T04:24:00 | 2015-09-10T04:24:00 | 144,896,344 | 3 | 2 | null | 2018-08-15T19:44:31 | 2018-08-15T19:44:30 | null | UTF-8 | C++ | false | false | 105 | h | ConstraintDesc.h | #pragma once
namespace PhysX
{
public ref class ConstraintDesc
{
public:
ConstraintDesc();
};
}; |
5bd349c012e9f3bbcee41ef0f344dcc87bf5b102 | ba9f189b7b5a977e878729f3e8f05caca20b0d66 | /Models/colorprocessor.h | ebbe5e52e843cdb3069a1a11ebb3819356ac2919 | [] | no_license | mortalis13/Qt-Color-Picker-Qt | e8db29b9048ee3a8287c6b284e6e5b9ed16a7ec7 | 0704202bf22576b41d22b536eeb0dfbdfa3e506f | refs/heads/master | 2023-01-28T00:58:45.339092 | 2023-01-19T09:21:39 | 2023-01-19T09:21:39 | 36,451,229 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | h | colorprocessor.h | #ifndef COLORPROCESSOR_H
#define COLORPROCESSOR_H
#include <QtCore>
#include <QColor>
#include <QObject>
#include <QClipboard>
#include "Widgets/ColorWidgets/hselector.h"
#include "Widgets/ColorWidgets/svselector.h"
#include "Service/vars.h"
class ColorProcessor : public QObject
{
Q_OBJECT
public:
explicit C... |
ec02180f3e04554f03f34c5df9e32ff3ab13eebc | d055d59b235c9f83c27ce6fc83e21b1209e4e072 | /Pointers/PointersToArray2.cpp | f185cd961c88b9faceee84cbe93b3360bf1948b2 | [] | no_license | bmegha98/Cpp-Basics | c8674b100ac19b8c9d17f6fd0ba70dd6341607d0 | 791fb05ccf7322585b1b163c993cada62e060bb4 | refs/heads/master | 2022-12-24T16:13:02.117888 | 2020-10-03T05:39:33 | 2020-10-03T05:39:33 | 195,042,766 | 0 | 0 | null | 2020-10-03T05:39:34 | 2019-07-03T11:45:23 | C++ | UTF-8 | C++ | false | false | 500 | cpp | PointersToArray2.cpp | #include<iostream>
using namespace std;
int main()
{
int A[][4] = {{ 10, 11, 12, 13 },
{ 20, 21, 22, 23 },
{ 30, 31, 32, 33 }
};
//(arr + i) = arr[i] - Base address of ith 1-D array -> Points to 0th element of ith 1-D array
for(int i =0;i<3;i++)
{
cout<<"A... |
00642728cce430d60d594d8c31aef3c67f588153 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/optimization_guide/content/browser/page_content_annotations_web_contents_observer.cc | d62f9f2af31dc8c9f1f033471bb8f2d9cdad57e1 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 3,217 | cc | page_content_annotations_web_contents_observer.cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/optimization_guide/content/browser/page_content_annotations_web_contents_observer.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_fu... |
ce25c2e06ca1b90b5efba8ec5844fbf1696f8f42 | 6e140dcde0a63b02f18a51c6a82903e00e10bdd5 | /source/AlgebraGemetrica.cpp | 2d86afe366e079e469893781fecc8f991788691f | [] | no_license | altobellibm/geometric_algebra | 6ce05672a734fb578898d660b1dfd86896955603 | 346236b8f74526bae3e16d2cb72c5965ec427116 | refs/heads/master | 2021-01-12T14:09:19.712430 | 2016-12-14T10:35:36 | 2016-12-14T10:35:36 | 69,759,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,731 | cpp | AlgebraGemetrica.cpp | // AlgebraGemetrica.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include <string>
#include "Multivector.h"
typedef std::vector<Multivector<int>> BASE_BLADE;
typedef std::vector<std::vector<Multivector<int>>> CLIFFORD_TABLE;
enum class OPERATION { GP, SCP, LCONST, RCONST, OUTP }... |
9ccda26c5416b3d2011f2474846ed19e059a98c6 | 069567c7d9a298c9838fbd07b0baf8b300f9e722 | /play_me/particle_system.cpp | b68f9ed3b353b59df9973e4243ce05ba3edd77b0 | [] | no_license | miha1994/play_me | 992c4122f01c9f16762882db96e17aca5fa01f81 | c383a7f90f6ef1f24bd721b44fb5e04ea2366ecf | refs/heads/master | 2021-01-20T20:35:40.525773 | 2016-07-26T09:56:48 | 2016-07-26T09:56:48 | 60,350,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | cpp | particle_system.cpp | #include "particle_system.h"
#include "core.h"
#include "Renderer.h"
void particle_sys_1::add_elem (rgba_array *tex, v2f start_position, v2f velocity_direction, float len1, float len2, float len3, float time_of_all_moving) {
elem el;
el.tex = tex;
el.pos = start_position;
float whole_len = len1 + len2 + len3;
el.... |
728451bee388cbf2e6475079216df3d2425d0a1f | 34009a302872244c82934749694aef330835ebc8 | /src/functions/Arrays.hpp | 8cd1e4ec18d64bb26cb441d177fd6c1c88e04667 | [] | no_license | Kingmidas74/DataMining | 0229e345350da5af16c3017c0350710adb6d0003 | 70d9d23302cd16c9c6c36f1ab75875b80f054906 | refs/heads/master | 2021-08-22T17:42:39.243166 | 2021-06-21T19:48:51 | 2021-06-21T19:48:51 | 56,978,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | hpp | Arrays.hpp | #pragma once
/**
Allocators.hpp
Purpose: Alignment allocators for XeonPhi.
@author Suleymanov D.
@version 0.0.0.1 9/17/2016
*/
namespace DataMining
{
using namespace std;
template <typename Type>
inline void copyArray(const Type * const from, Type * to, const size_t length)
{
copy(from, from+length, to);
... |
e3f8ce5d58abb6ec58f2d7e22d07c87c128df2ed | fa391c1affe497abbde266e6ec70710f7c676b94 | /HardwarePlugins/PluginPxiSystem/NiToQ.cpp | efe4125ac5eae2822d9adb9177a8520b483d0bae | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | GaelReinaudi/LabExe-UserPlugins | d936d94271e946a2e8b0ebd998f287b30e22f6aa | 3f9de085115947bf9362a7c6f46fd89d5c0f8daa | refs/heads/master | 2021-01-18T21:34:54.755432 | 2017-11-29T04:50:49 | 2017-11-29T04:50:53 | 10,351,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | NiToQ.cpp | #include "NiToQ.h"
QString NiToQString(CNiString strrr) {
QString newstr(strrr);
return newstr;
}
QStringList NiToQString(CNiStringVector list) {
QStringList newlist;
for(unsigned long i = 0; i < list.GetSize(); i++)
newlist.append(NiToQString(list[i]));
return newlist;
}
CNiDAQmxDevice PxiDaqDevice( QString ... |
b35f4636a942534c9c0a852ced790080ce8fb724 | c5a768f229335b3bcd6a540d84a0ec501924f95c | /tests/cmake/include/fibonacci_test/main.cpp | f63346920d00aab03864a1eccaecbe7b915ba841 | [] | no_license | 2LoC/tl_base_ci | af2868f339d3776c80f15b9364dd122a694aba25 | 5eb5b0dba2f7a19bbe4228d98269328cebcb102c | refs/heads/master | 2021-09-13T00:03:21.130228 | 2018-04-22T23:04:39 | 2018-04-22T23:04:39 | 110,491,967 | 0 | 1 | null | 2017-11-14T23:56:11 | 2017-11-13T02:47:19 | CMake | UTF-8 | C++ | false | false | 642 | cpp | main.cpp | #include <fibonacci_test/main.h>
#include <cassert>
template <typename T>
void test_fib()
{
using tl_base_ci_tests::fibonacci;
assert(fibonacci(T(0)) == T(0));
assert(fibonacci(T(1)) == T(1));
assert(fibonacci(T(2)) == T(1));
assert(fibonacci(T(3)) == T(2));
assert(fibonacci(T(4)) == T(3));
assert(fibo... |
b68d8a92fd23ed71c5a8d9872820c15623f55249 | 15a92aca70e6d9d7c477c5306ca44a6e0decef04 | /src/shared/state/Player.cpp | a9a07e408dd85a183690cefe54f92cb45551628f | [] | no_license | haomingtian/plt | 70e85ed033175bc45ce29825cee9992d66619e7c | d68099ec603928dfe654424d7b6bfaa91776c94c | refs/heads/master | 2020-07-28T03:39:58.453046 | 2020-01-06T13:47:37 | 2020-01-06T13:47:37 | 209,295,929 | 0 | 0 | null | 2019-09-18T11:51:59 | 2019-09-18T11:51:58 | null | UTF-8 | C++ | false | false | 495 | cpp | Player.cpp | #include <iostream>
#include "Player.h"
using namespace std;
namespace state {
Player::Player(std::string n_name){
name=n_name;
}
std::string Player:: getName (){
return name;
}
int Player::getNbCasle (){
return castle;
}
void Player::setNbCastle (int n_nb_castle){
castle=n_nb_castle;
}
int Play... |
deceb14a326b1bc873e27c0e9c724e58fda15d03 | 1de7d2e5ed2f9e3d43a432cdd3095d20cb307eea | /data2vdf/vapor/vdfcreate.h | 8c4b3f4354588a3967eb364f11c89d4d326d238d | [] | no_license | schroederdewitt/mpdata-1 | 4fdae40ba73ec5ff473160966b7dbd25728a7628 | b6194fc6eab2f2e21cfa55760c82d2a4243e6c59 | refs/heads/master | 2021-06-18T09:04:31.198462 | 2017-05-18T08:05:03 | 2017-05-18T08:05:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | h | vdfcreate.h | #ifndef VDFCREATE_H
#define VDFCREATE_H
#include <iostream>
#include <cstdio>
#include <vapor/OptionParser.h>
#include <vapor/MetadataVDC.h>
#include <vapor/DCReader.h>
#include <vapor/VDCFactory.h>
namespace VAPoR {
class VDF_API vdfcreate : public VetsUtil::MyBase {
public:
vdfcreate();
~vdfcreate();
int launch... |
f3fb6d4c04802f47e29b43320c82ed79324b31db | 41177f9862aa322ee7177f7bf6769c7d84832fde | /Sprint2/Greedy/GreedyBursa.cpp | e6bdba28ffe941f04855a48e8f05963205eadfe4 | [] | no_license | gutovsky/Exsercises | efd2ef9206a09c1e368ca77ef048f43d5a7f0978 | 2620948b8d67df41eebbb50d9844f7d3cc52ce7a | refs/heads/main | 2023-02-04T23:16:49.790444 | 2020-12-22T08:05:53 | 2020-12-22T08:05:53 | 306,318,271 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,470 | cpp | GreedyBursa.cpp | #include iostream
#include string
#include vector
using namespace std;
void ParseStr(const string& to_parse, vectorint& to_save);
int CalcIncome(const vectorint& prices);
int main()
{
string buffer;
getline(cin, buffer);
int days_num = stol(buffer, nullptr, 10);
vectorint prices;
getline(cin, bu... |
3f032a5dc605189e5906bb3b3e8833d59c0cd41e | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/System/SystemTesting/HelperSuite/OpenGL/GlUtilityMacro/GlUtilityPreviouslyBodyTesting.h | 91403d66a2b61533a7118bd2a7a071c410afe65b | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,418 | h | GlUtilityPreviouslyBodyTesting.h | /// Copyright (c) 2010-2022
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎测试版本:0.8.1.5 (2022/12/18 13:00)
#ifndef SYSTEM_TESTING_HELPER_SUITE_GL_UTILITY_PREVIOUSLY_BODY_TESTING_H
#define SYSTEM_TESTING_HELPER_SUITE_GL_UTILITY_PREVIOUSLY_BODY_TESTING_H
#inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.