blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
284b54cbe4ba2d8d6ac669e2bb0513d300c91f30 | ed8e03335b5615059daed13aa93281a54445dbf7 | /src/DataStructure/BinarySearchTree/TreeNode.h | 25685410348166fa35bb02cafc3d20db3a891b8f | [] | no_license | option0417/learning-cpp | 87e6183f29de3562f6a22ff304cdd656ca7b4178 | aa17019a72c4192ad75de9fd8eab770f7480a4b3 | refs/heads/master | 2023-03-05T10:02:39.865169 | 2012-02-25T16:54:27 | 2012-02-25T16:54:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | h | /*
* TreeNode.h
*
* Created on: Feb 8, 2012
* Author: option0417
*/
#ifndef TREENODE_H_
#define TREENODE_H_
#include <iostream>
namespace op {
template <typename T>
class TreeNode {
public:
TreeNode(const T&);
~TreeNode();
const T& getValue();
void setNext(TreeNode*);
void show();
private:
const T ... | [
"option0417@gmail.com"
] | option0417@gmail.com |
7d4ec5b5f1cb41fa1296d249dd52e6294481e23e | 1b8ae277ef7f39af15b6e0bff057c433dc44a109 | /src/mame/includes/decocass.h | e033b9a3ee19a766de5ea7e5a97f9ad728c62d39 | [] | no_license | ilitirit-za/ShmupMame-unofficial | 2ea58e7674df935c98e73d34ca888152b82c570d | 2ddd533fbaceac256cf0fbc2f918de1966280a22 | refs/heads/master | 2021-01-11T02:07:06.094952 | 2016-10-24T11:17:30 | 2016-10-24T11:17:30 | 70,804,668 | 3 | 0 | null | 2016-10-21T13:17:50 | 2016-10-13T12:35:08 | C | UTF-8 | C++ | false | false | 8,754 | h | #ifdef MAME_DEBUG
#define LOGLEVEL 5
#else
#define LOGLEVEL 0
#endif
#define LOG(n,x) do { if (LOGLEVEL >= n) logerror x; } while (0)
#include "machine/decocass_tape.h"
#define T1PROM 1
#define T1DIRECT 2
#define T1LATCH 4
#define T1LATCHINV 8
class decocass_state : public driver_device
{
public:
decocass_state(... | [
"ilitirit@gmail.com"
] | ilitirit@gmail.com |
ff84cee47cc7fd663ef1762f05482b32ef304915 | 0161c2f3a3f591f713618fa7c6c7dac3d69bb29b | /control/controller_factory.h | 278328dddb8bdfc6700fa94bde6ed882dbde79f9 | [] | no_license | liudong206/Apollo_control_algorithm | 7ddcc98ca9dc5aa0bef1619c3cb8e1d41356d68f | 038746942fc07ce679ce844cebe95514ac745c80 | refs/heads/main | 2023-08-27T10:38:48.216266 | 2021-10-30T07:20:36 | 2021-10-30T07:20:36 | 422,808,145 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 842 | h | #ifndef CONTROLLER_FACTORY_H
#define CONTROLLER_FACTORY_H
#include <memory>
#include "control/controller.h"
/**
* @class LatControllerType
* @brief LatControllerType is a enum class used to specify a Controller instance.
*/
enum class ControllerType{ MPCController,
LQRController,
... | [
"1072169613@qq.com"
] | 1072169613@qq.com |
6fa9dffe61ea13ea29f56810351adaba2cd235c3 | 8c3d93108c02b513624d1088c4b3774d1989ccf7 | /src/sqlRequire/sqlRequire.cpp | 6c9d7db85d5f4aae62f00e12976d24b99be38232 | [] | no_license | haost74/skaner | 9619f77dc05808ac2ff30997d7d28d1e763283be | 71edd90906f24b10a1757918072ccdc6305d1f7b | refs/heads/master | 2023-01-24T00:49:41.261828 | 2020-12-09T10:16:30 | 2020-12-09T10:16:30 | 319,917,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | cpp | #include "sqlRequire.h"
#include <sys/stat.h>
#include <unistd.h>
#include <string>
#include <fstream>
#include <iostream>
sql::sql(string name)
{
nameDb = name;
}
sql::~sql()
{
std::cout << "end" << '\n';
}
bool sql::CreateDb()
{
rc = sqlite3_open(nameDb.c_str(), &db);
return rc;
}
bool sql::... | [
"Aleksey.V.Gribkov@rt.ru"
] | Aleksey.V.Gribkov@rt.ru |
54325275d6c27bd61a4d008c173cc1adc9b07288 | 4b6fe0d8a552fe76a8f42ad25960a6cea9a41406 | /VSOptics/VSOMirror.hpp | 4bbae4d4dce2684e61432164c46d32ae5da57b44 | [
"BSD-3-Clause"
] | permissive | sfegan/ChiLA | 769aef0486b94b5c3281273946c74b471a6a7ef2 | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | refs/heads/main | 2021-07-30T16:24:06.076214 | 2016-02-10T08:10:02 | 2016-02-10T08:10:02 | 51,363,796 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,085 | hpp | //-*-mode:c++; mode:font-lock;-*-
/*! \file VSOMirror.hpp
Mirror class header file
\author Stephen Fegan \n
UCLA \n
sfegan@astro.ucla.edu \n
\author Maciej Nicewicz \n
UCLA \n
nicewicz@physics.ucla.edu... | [
"sfegan@gmail.com"
] | sfegan@gmail.com |
f29d44cd01d4c1df4117557a684b1eb725109348 | 9746f26da7796ceb6d09634a890586b89ed4bc30 | /OpenGL_Demo/OpenGL_Demo/Classes/GameObject.h | 7e3f613a21ea6cb365890b4617c629a4cdad8ed1 | [] | no_license | xiaokimi/OpenGL_Learn | 4e3dadb8ca54d3a95ac320e74c00306bf3d926fd | 768e458020c607f018c7fb4cf0445fb4c7453ec8 | refs/heads/master | 2020-12-02T22:42:32.925646 | 2017-09-14T07:56:07 | 2017-09-14T07:56:07 | 96,168,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | h | #ifndef __GAME_OBJECT_H__
#define __GAME_OBJECT_H__
#include <gl/glew.h>
#include <glm/glm.hpp>
#include "Texture.h"
#include "SpriteRenderer.h"
class GameObject
{
public:
GameObject();
GameObject(glm::vec2 pos, glm::vec2 size, Texture2D sprite, glm::vec3 color = glm::vec3(1.0f), glm::vec2 velocity = glm::vec2(0.... | [
"515360208@qq.com"
] | 515360208@qq.com |
285ae8059f2d9b50a8e1508b736b7d92b8fdc612 | 508ca425a965615f67af8fc4f731fb3a29f4665a | /OldStuff/TIMUS/AC/1261.cpp | 7636d014cfde52525efc4942a3465909335a070a | [] | no_license | knakul853/ProgrammingContests | 2a1b216dfc20ef81fb666267d78be355400549e9 | 3366b6a4447dd4df117217734880199e006db5b4 | refs/heads/master | 2020-04-14T23:37:02.641774 | 2015-09-06T09:49:12 | 2015-09-06T09:49:12 | 164,209,133 | 1 | 0 | null | 2019-01-05T11:34:11 | 2019-01-05T11:34:10 | null | UTF-8 | C++ | false | false | 640 | cpp | /*
Alfonso2 Peterssen(mukel)
Team: UH++
Timus Online Judge
1261. Tips
*/
#include <cstdio>
#include <iostream>
using namespace std;
typedef long long int64;
const int MAXP = 16;
int64 N, A, B;
int64 pow3[MAXP];
int main()
{
pow3[0] = 1;
for (int i = 1; i < MAXP; i++)
pow3[i] = pow3[i... | [
"a2peterssen@gmail.com"
] | a2peterssen@gmail.com |
9c3f44febe29693d2eef7b0f5c31fbd412d7b5aa | 7a41a89ba43de9de8f70aea6933d095bb40e47fe | /modio/modio/detail/entities/ModioImage.h | d6aaec88fa3c2528e58ce243547c512a6b6415c2 | [
"BSL-1.0",
"MIT"
] | permissive | nyzeairs/modio-sdk | cf2a711f887643430db7dbd5c89ebdea69f1fee3 | 6ab4e0e6e0407812889186e181496294cd0295f9 | refs/heads/main | 2023-08-14T20:15:22.216462 | 2021-10-01T02:20:30 | 2021-10-01T02:20:30 | 417,957,561 | 1 | 0 | NOASSERTION | 2021-10-16T21:54:55 | 2021-10-16T21:54:55 | null | UTF-8 | C++ | false | false | 1,630 | h | /*
* Copyright (C) 2021 mod.io Pty Ltd. <https://mod.io>
*
* This file is part of the mod.io SDK.
*
* Distributed under the MIT License. (See accompanying file LICENSE or
* view online at <https://github.com/modio/modio-sdk/blob/main/LICENSE>)
*
*/
#pragma once
#include "modio/core/ModioCoreType... | [
"swhittle@crypticwarrior.net"
] | swhittle@crypticwarrior.net |
d55c3e3d2bf2536033f795e5162cf78b2c8b6dc2 | 52768e01951726ebcac03022929d244d9b68a945 | /ME20150525/SVGlib/curve.cpp | 114b626a85bbf9d8f62bff4934e35f84c55739c8 | [] | no_license | Tjuly/ME | 2cb24d7070aca2c4a82cbed9b0148da1e7019e0d | 8eadb7e85f3177be872af6172be9fac2cb1efac3 | refs/heads/master | 2021-01-10T15:17:14.573588 | 2015-06-01T08:33:55 | 2015-06-01T08:33:55 | 36,609,184 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cpp | /* private part of the path and curve data structures */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "potracelib.h"
#include "lists.h"
#include "curve.h"
#define SAFE_MALLOC(var, n, typ) \
if ((var = (typ *)malloc((n)*sizeof(typ))) == NULL) goto malloc_error
/* ---------------... | [
"348854308@qq.com"
] | 348854308@qq.com |
235f2dbb38929271e3fd5944c2b3f9dd79d7e26c | 7434253608fb27a5840efc74306264e7081dc4bc | /TD2/Sebastien_Yanis/Exercice4.cpp | bd21df3a0a6038faca24926891a9d23257243b5c | [] | no_license | seb9465/inf1005C | ed29f13d8889cdd7b8f41e507ba28a6642301f59 | 7bf8bfb735b61fb44cbdb2240f903fefe86be96d | refs/heads/master | 2021-01-20T14:53:35.371752 | 2017-11-08T16:48:53 | 2017-11-08T16:48:53 | 90,684,823 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,321 | cpp | /**
* Valeur approchée de sin(x).
* \fichier Exercice4.cpp
* \auteur Sebastien Cadorette & Yanis Bouhraoua
* \date 25 septembre 2014
* Créé le 24 septembre 2014
*/
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
//Initialisation des variables
double valeur = 0.0;
doub... | [
"Sébastien Cadorette"
] | Sébastien Cadorette |
236146731ba575e52d4166bf8bf3aa3071a52165 | c76adc973e5251452e1beb3de7776d0a2b709fce | /submissions/c3.s838.ncu100502203.Group1C.cpp.0.proC.cpp | b6bf5370beab1fa2b3f4fdd7a3244edaef59380e | [] | no_license | ncuoolab/domjudge | 779a167f695f45a6a33437996ec5ad0f9d01c563 | bda18c69d418c829ff653f9183b3244520139f8a | refs/heads/master | 2020-05-19T08:10:39.974107 | 2015-03-10T19:35:03 | 2015-03-10T19:43:26 | 31,972,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,714 | cpp | #include <iostream>
#include <string.h>
#include <stdio.h>
using namespace std;
bool checkID(char c)
{
if(c>='a' && c<='z')
return true;
if(c>='A' && c<='Z')
return true;
if(c=='_')
return true;
return false;
}
bool checkNUM(char c)
{
if(!(c>='0' && c<='... | [
"fntsrlike@gmail.com"
] | fntsrlike@gmail.com |
de015fdd17a09a2669ec094e91df41f757fa59e4 | 7285b873c7db671dd02e9a9172b8e8595b328b36 | /edgedetection.cpp | 48b059d8b2522d0d63bc6ca5e1cf4ee35405251b | [] | no_license | RamMahindra/OpenCV | 0d7f880d18503de845fe40fa75df8b6768794759 | f38bc1cb40cdd2f5ff9df6135b30fb2df9687390 | refs/heads/master | 2021-01-20T06:19:39.369979 | 2015-09-16T12:50:07 | 2015-09-16T12:50:07 | 41,297,774 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include "opencv2/opencv.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/core/core.hpp"
#include <iostream>
#include <stdlib.h>
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/videostab/videostab.hpp"
using namespace cv;
using namespace std;
int main( )
{
Mat src1;
src1 = imread("lena.... | [
"rammahindra90@gmail.com"
] | rammahindra90@gmail.com |
a1099aa1f0fcf86c9598f11a8172a811e992f5aa | 06d1347c088951549328d0aa6a4cf5a3d32e58fd | /crash的数字表格.cpp | 6a78bd67853ff5e8f0af019b0554f460c309e5a9 | [] | no_license | jesseliu612/oi-code | 885991a926d3f261f8ad4cfabc51e34a51dc2f6e | 617209f1dd50d3742074c643b0a2d1b774eba0dc | refs/heads/master | 2021-05-07T23:56:52.246851 | 2017-10-20T12:20:26 | 2017-10-20T12:20:26 | 107,673,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,584 | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <cmath>
#include <ctime>
#include <vector>
#include <queue>
#include <map>
#include <set>
using namespace std;
const int inf = 2147483640;
typedef long long ll;
ll geti(){
char ch=getchar();while((ch<'0' || ch>... | [
"jesseliu612@126.com"
] | jesseliu612@126.com |
24ca6cf5927f81a735bed4a0ac94fb3c30e53f42 | 82dc3cc4c97c05e384812cc9aa07938e2dbfe24b | /toolbox/src-mirror/bessel/bessel.cpp | 8327fe0689b5d40a303dd4fbbdb709939e11b599 | [
"BSD-3-Clause"
] | permissive | samanseifi/Tahoe | ab40da0f8d952491943924034fa73ee5ecb2fecd | 542de50ba43645f19ce4b106ac8118c4333a3f25 | refs/heads/master | 2020-04-05T20:24:36.487197 | 2017-12-02T17:09:11 | 2017-12-02T17:24:23 | 38,074,546 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | cpp | /home/saman/Tahoe/toolbox/src/bessel/bessel.cpp | [
"saman@bu.(none)"
] | saman@bu.(none) |
315c3e5a6cd839bd704188fe4dd7873e3e5d6672 | 2305da7d3158d4e23a401e2e505157746b94ea46 | /XcodeCPPTest/STL/Container/STLContainer.cpp | eacc60b469c534d3f5397f43b4e4951e5d6e23f8 | [] | no_license | JackeryShh/CPPlayGround | 8b26884456bc9269a7b9f7c378b96893fe41daff | 53dc7580c8070019d2bb4a8de283cbd09b5a61a1 | refs/heads/master | 2020-03-12T08:50:23.810861 | 2018-08-06T02:42:49 | 2018-08-06T02:42:49 | 130,537,303 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 164 | cpp | //
// STLContainer.cpp
// XcodeCPPTest
//
// Created by MOMO on 2018/8/6.
// Copyright © 2018年 jackery. All rights reserved.
//
#include "STLContainer.hpp"
| [
"shi.haihua@immomo.com"
] | shi.haihua@immomo.com |
117c0ef50e3e34fb927bb9a60c330a86a94ee580 | 4326b99b7d0431929bca59f5381a592a33a4ae2f | /PSX/Core/mednafen/settings.cpp | dde415f239cc978cdbe5d32b4097c650de865798 | [] | no_license | chipsoftwaretester/OpenEmu | 9a1e44f7f61147b363cff0975a8bd0cd7059a19c | 8cb81b545b40565478caf8927798a179e6042adc | refs/heads/master | 2021-01-14T08:26:28.780327 | 2013-04-25T04:53:05 | 2013-04-25T04:53:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,059 | cpp | /* Mednafen - Multi-system Emulator
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distrib... | [
"brymaster@gmail.com"
] | brymaster@gmail.com |
9dabd93c3c56357b37d58969566ad3454a2dd712 | a182d9251cc643c74c4e2431048c4c2e09a244a6 | /rostms_tutorial_basic/src/ros_tutorial_srv_client.cpp | c7103ca8a72e31ee27223487ec72b397b2eae7eb | [] | no_license | irvs/rostms_tutorials | 369fef78de324d0558177ac7a68e99a887a33f3b | f20ebd44fc6cf22725a9737ffc7f4e757d7c60f2 | refs/heads/master | 2021-01-23T21:38:48.524854 | 2014-11-09T12:02:13 | 2014-11-09T12:02:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | cpp | #include "ros/ros.h" // ROSメインヘッダーファイル
#include "rostms_tutorial_basic/srvTutorial.h" // srvTutorial サービスファイルのヘッダー(ビルド後に自動的に生成される)
#include <cstdlib>
int main(int argc, char **argv) // ノードのメイン関数
{
ros::init(argc, argv, "ros_tutorial_srv_client"); // ノード名の初期化
if (argc != 3... | [
"passionvirus@gmail.com"
] | passionvirus@gmail.com |
f9abe64c8f832ef7bcabe136f6a9623073adf06d | 720092a9b6b9bfd00d08fa28f22676ff435b2052 | /Praktikum1/MyXmlOutputterHook.h | 8bbd472ebb122d14ed9c0ec87ba5e6ac5dbc1bd9 | [] | no_license | lukas15442/PAD2RepUnitTests | ec84e1031851bad37c4e86a53f6b4aa4b94fd706 | ddef049093509c045c28d74bda71f692d97e7d7e | refs/heads/master | 2020-03-27T01:40:46.271880 | 2018-08-22T18:16:24 | 2018-08-22T18:16:24 | 145,732,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | h | //
// Created by lukas koehler on 21.08.18.
//
// Created by lukas koehler on 21.08.18.
//
#ifndef CODELUKAS_MYXMLOUTPUTTERHOOK_H
#define CODELUKAS_MYXMLOUTPUTTERHOOK_H
#include <cppunit/XmlOutputterHook.h>
#include <cppunit/tools/StringTools.h>
#include <cppunit/tools/XmlDocument.h>
#include <cppunit/tools/XmlElemen... | [
"lukas.koehler@h-da.de"
] | lukas.koehler@h-da.de |
756956527433a105e3575f90c9ab1dfb1bf42731 | 9da88ab805303c25bd9654ad45287a62a6c4710f | /Cpp/LeetCode/wc254_1.cpp | 8a4fbd9b2cc4c6aa0adde39406b371475b7f95a3 | [] | no_license | ms303956362/myexercise | 7bb7be1ac0b8f40aeee8ca2df19255024c6d9bdc | 4730c438354f0c7fc3bce54f8c1ade6e627586c9 | refs/heads/master | 2023-04-13T01:15:01.882780 | 2023-04-03T15:03:22 | 2023-04-03T15:03:22 | 232,984,051 | 2 | 0 | null | 2022-12-02T06:55:19 | 2020-01-10T06:47:00 | C | UTF-8 | C++ | false | false | 546 | cpp | #include "usual.h"
class Solution {
public:
int numOfStrings(vector<string>& patterns, string word) {
int ans = 0, n = word.size();
for (const auto& p : patterns) {
int m = p.size();
if (m > n)
continue;
for (int i = 0; i <= n - m; ++i) {
... | [
"ms303956362@163.com"
] | ms303956362@163.com |
026a054d84ec933adf0fa135de72fb4081088ce5 | d121b9f699c92812fca4a00d65f6a6950b3e98ac | /Plugins/CustomRichText/Source/CustomRichText/Public/CustomRichTextBlock.h | 1158e7e70e23eaf3d001f99b5805f24b6cc4314f | [] | no_license | Naotsun19B/CustomRichText | 218452610df74ba0a7286c8b13a76cf1115819d7 | 46d18c5d0de942b66db04150a12d9b30d8a41878 | refs/heads/master | 2022-11-06T20:36:48.919283 | 2020-06-28T06:03:12 | 2020-06-28T06:03:12 | 275,518,463 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,977 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/RichTextBlock.h"
#include "CustomRichTextBlock.generated.h"
/**
*
*/
UCLASS()
class CUSTOMRICHTEXT_API UCustomRichTextBlock : public URichTextBlock
{
GENERATED_BODY()
prote... | [
"51815450+Naotsun19B@users.noreply.github.com"
] | 51815450+Naotsun19B@users.noreply.github.com |
f098ee80e7afa9ab12201b369e421644b35575d5 | c326f8662bb220e8c15fc6fd23b60ab98d219a38 | /Parser/Parser.cpp | 0e0306be93a2ef38c2450ed5833caba99202659f | [] | no_license | Karton4a/signal-compiler | ce6dbc89176333b9106451c46eb15216d9b0563d | 48570d0f8973b2a1274684a1c33ae5588583eb51 | refs/heads/master | 2023-07-27T04:41:49.758420 | 2021-09-13T21:05:52 | 2021-09-13T21:05:52 | 406,128,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,704 | cpp | #include "Parser.h"
#include "ParserExceptions.h"
void Parser::Parse(const Lexer& lexer)
{
m_Error.clear();
auto& table = lexer.GetTokenTable();
if (table.empty()) return;
m_CurrentToken = table.cbegin();
m_End = table.cend();
m_Root = ParserNode(NodeType::SignalProgram);
try
{
Program(&m_Root);
}
catch (... | [
"anpaschenko@gmail.com"
] | anpaschenko@gmail.com |
5ddc9f24880158a1198a89369d0ad83a7ec56d99 | 7cce0635a50e8d2db92b7b1bf4ad49fc218fb0b8 | /Operation添加脉冲设置界面/ShotPoints.cpp | f388ed8516f72d3f5f966f74a95b982eb7c113a7 | [] | no_license | liquanhai/cxm-hitech-matrix428 | dcebcacea58123aabcd9541704b42b3491444220 | d06042a3de79379a77b0e4e276de42de3c1c6d23 | refs/heads/master | 2021-01-20T12:06:23.622153 | 2013-01-24T01:05:10 | 2013-01-24T01:05:10 | 54,619,320 | 2 | 2 | null | null | null | null | GB18030 | C++ | false | false | 2,310 | cpp | #include "StdAfx.h"
#include "ShotPoints.h"
/**
* @brief CShotPoints构造函数
*/
CShotPoints::CShotPoints(void)
{
}
/**
* @brief CShotPoints析构函数
*
* 先释放每个炮号对象,再清空放炮表。
*/
CShotPoints::~CShotPoints(void)
{
RemoveAll();
}
/**
* @brief 删除所有放炮对象
* @note 删除所有放炮对象
* @param void
* @return void
*/
... | [
"chengxianming1981@gmail.com"
] | chengxianming1981@gmail.com |
3a1398790e172074c67436d660c65d021f796d0e | ece46d54db148fcd1717ae33e9c277e156067155 | /SDK/arxsdk2011/samples/database/ARXDBG/Inc/ArxDbgDwgFiler.h | 748e5f1b523a01445abfa1a6592e7ae0c688946d | [] | no_license | 15831944/ObjectArx | ffb3675875681b1478930aeac596cff6f4187ffd | 8c15611148264593730ff5b6213214cebd647d23 | refs/heads/main | 2023-06-16T07:36:01.588122 | 2021-07-09T10:17:27 | 2021-07-09T10:17:27 | 384,473,453 | 0 | 1 | null | 2021-07-09T15:08:56 | 2021-07-09T15:08:56 | null | UTF-8 | C++ | false | false | 5,364 | h | //
//
// (C) Copyright 1998-2006,2008 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limite... | [
"zhangsensen@zwcad.com"
] | zhangsensen@zwcad.com |
c9d6ef19f6c93d4ca3d7085c361f96d2732a54ef | 63326562e87bae81661ace58b0bc9b702503d535 | /isengard/cpp_training/mit_courseware/intro2cs/assignment_1/Mit_exercises/Part_B.cpp | 5470377fc8785c37b1c63250bacc1ae4e9baf387 | [] | no_license | mithrandirgreyhame/arda | afdc2d8b55e0dd1a2120af25dc8084f16d76b2a5 | 4535c68b4c4641ae94e3444200ecdb76d012f4fc | refs/heads/master | 2020-05-31T03:59:46.424241 | 2019-08-30T07:24:24 | 2019-08-30T07:24:24 | 190,092,217 | 0 | 1 | null | 2019-08-30T07:24:26 | 2019-06-03T22:42:07 | C++ | UTF-8 | C++ | false | false | 1,140 | cpp | #include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
long total_cost = 0;
const float portion_down_payment = 0.25;
long double current_savings = 0;
const float r = 0.04;
long double annual_salary = 0;
float portion_saved = 0;
long double monthly_... | [
"phamtrinhan69@gmail.com"
] | phamtrinhan69@gmail.com |
f6f975387e2d0b1875816019269ddc0fc7a687ab | f427c8f5447d5ce51a3a416a1a59cb053b9efd5d | /STL-hashset/main.cpp | f8a7e554f70b0fc18824424be608e10ceae8181e | [] | no_license | laomd-2/Data-Structure | 9ac48d245a9fed6bac5ca70623a659eaaad68b10 | 7c99e6117781151da775afd09c337b6dee49e754 | refs/heads/master | 2020-03-27T19:06:49.769355 | 2018-09-01T04:29:31 | 2018-09-01T04:29:31 | 146,966,372 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #include "test.h"
using namespace std;
int main() {
try {
testConstructors();
testInsert();
testErase();
}
catch (std::exception& e) {
cout << e.what() << endl;
}
return 0;
}
| [
"laomd@mail2.sysu.edu.cn"
] | laomd@mail2.sysu.edu.cn |
fda7f9ed220b6f282606a5f4f40f292f1854526f | b2b298f4f3205e16e0491b26f81df7e352dddc7a | /src/GEOS/src/geomgraph/Node.cpp | 779d3874afee7088329d7ecad1555a0c8d73a4fd | [] | no_license | mustafaemre06/tools | 9e20ded4fb34a5494e15a9f630952133e4c15ec0 | 7135c1376b643d7d3730fb180dafa53dfb2cefe5 | refs/heads/master | 2020-12-12T06:23:53.718215 | 2017-07-05T14:55:58 | 2017-07-05T14:55:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,499 | cpp | /**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2011 Sandro Santilli <strk@keybit.net>
* Copyright (C) 2005-2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is free sof... | [
"tim.tisler@digitalglobe.com"
] | tim.tisler@digitalglobe.com |
6523fdc17b17d74a91e08392f60386328a2de876 | 602ea0c05970cbd766df068b003671c561f59661 | /chrome/browser/profiles/profile_statistics_unittest.cc | f75a535e8084d01ef6ed75df334760265c696d4b | [
"BSD-3-Clause"
] | permissive | VitalyKononenko/chromium | 088de78a639375b073cabb7665afc638334e8672 | b8ad2cadb6a163269cd7851bc7962744743785bd | refs/heads/master | 2023-03-01T10:15:00.815394 | 2019-08-15T19:51:40 | 2019-08-15T19:51:40 | 202,603,102 | 1 | 0 | BSD-3-Clause | 2019-08-15T19:54:34 | 2019-08-15T19:54:33 | null | UTF-8 | C++ | false | false | 5,447 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/profiles/profile_statistics.h"
#include <map>
#include <memory>
#include <set>
#include <utility>
#include <vector>
#include "b... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cb804ecaaf18c29c82b050239cd9ed906581536f | 7a6270961bd863da3c888d289034f89cf0c8a9e6 | /tests/progs/test-range.cpp | 7fd09579ade171725bd0673553d12071865ca6cb | [] | no_license | wujingyue/slicer | b63924905f4726db892a47d9499a4758d851ea01 | 05682258bb4993f03fa5e08da82807ea93ad1c54 | refs/heads/master | 2021-01-10T19:32:54.422448 | 2014-10-07T14:58:17 | 2014-10-07T14:58:17 | 24,665,996 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | cpp | #include <pthread.h>
#include <cstdio>
#include <cstdlib>
using namespace std;
pthread_barrier_t barrier;
pthread_mutex_t mutex;
int size = -1;
int nThreads = -1;
int N = -1;
int rootN = -1;
double *XXX;
void run(double *x, int xSize, int my, int start) {
long q;
long L;
long Lstar;
long j;
for (q = 1; q <= siz... | [
"jingyue@cs.columbia.edu"
] | jingyue@cs.columbia.edu |
56187d05769b1f598a5c82a1ae46f9356ff84ca6 | b779cd0820c62e50a0b5158b2bf9a78943eb18c6 | /helloWorldStyle.cpp | 48947562c84c2642e21716e49e66540c6c04b69a | [] | no_license | ICS3U-Programming-LiamC/Unit1-03-CPP | 0601bbbf2e22fca544957133c04af53c488a6f33 | 0d1128be1f6183203c9c6c72524957a544dba26a | refs/heads/main | 2023-04-09T14:00:22.783001 | 2021-04-27T17:39:23 | 2021-04-27T17:39:23 | 362,193,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251 | cpp | // Copyright (c) Year Your Name All rights reserved.
//
// Created by: Liam Csiffary
// Date: April 27, 2021
// This program displays hello world but in the proper format
#include <iostream>
int main() {
std::cout << "Hello world!" << std::endl;
}
| [
"ubuntu@ip-172-31-93-33.ec2.internal"
] | ubuntu@ip-172-31-93-33.ec2.internal |
706c7b18306c73653d513c24e8d30340b20022bf | 303a1d56299c647ba2c556371ae76dc16ef54584 | /SearchWidget.h | 20f53907f7e44f7b8e35beab695c66f0b26959eb | [] | no_license | SkyTreeDelivery/GISDevelopmentKMJ | 61e1d62d49b8f23aa8cb0def1576b3b129a942b2 | 59cc7c0e8e378d40a10507565d050bf92796a65f | refs/heads/master | 2020-09-23T22:23:44.497760 | 2019-12-23T06:04:51 | 2019-12-23T06:04:51 | 225,602,021 | 0 | 0 | null | 2019-12-16T15:29:54 | 2019-12-03T11:20:05 | C++ | UTF-8 | C++ | false | false | 971 | h | #pragma once
#include <QWidget>
#include "ui_SearchWidget.h"
#include "GeoLayer.h"
namespace Ui {
class SearchWidget;
}
class SearchWidget : public QWidget
{
Q_OBJECT
public:
SearchWidget(GeoLayer* layer, QWidget *parent = nullptr);
~SearchWidget();
protected:
void closeEvent(QCloseEvent *e... | [
"zhang113751@sina.com"
] | zhang113751@sina.com |
ae3e604487c1d85c570f77cbe6d815843e1a5d7a | b9a56df43414a1a762f9086a714f61516a7dd4df | /app/src/main/cpp/native-lib.cpp | bbc53edbbf9122f80beb298f88c050ed58bee91d | [] | no_license | FrizzleLiu/FrizzleMusic | 4e98410292f37c70a2bcb8ec2f18ea42afffde8c | 498c93e75d04f312ba4ee42f342a00dfa0906021 | refs/heads/master | 2022-11-13T04:12:26.015331 | 2020-07-01T02:01:02 | 2020-07-01T02:01:02 | 276,251,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,800 | cpp | #include <jni.h>
#include <string>
#include <android/log.h>
extern "C" {
//解码
#include "libavcodec/avcodec.h"
//缩放
#include <libswscale/swscale.h>
//封装格式
#include <libavformat/avformat.h>
//重采样
#include <libswresample/swresample.h>
}
#define LOGE(FORMAT, ...) __android_log_print(ANDROID_LOG_ERROR,"LC",FORMAT,##__VA_A... | [
"15888897624@163.com"
] | 15888897624@163.com |
a40a81e3c84dddf5e38c336c113e02ce8b007f52 | 830f3e46c89891dc988dda8e96b864d6e5f30805 | /leetcode/600-699/695_max_area_of_island.cpp | 86cde6166633aa42ea548ed09f6c9191dcdc093e | [] | no_license | boddicheg/competitive | 80cbf989520ef0b21d777a614963629c8bb5845f | 950465a95992115839b0c7752e0a7a2b02ee09a4 | refs/heads/master | 2023-08-16T20:27:01.601048 | 2023-08-16T15:07:30 | 2023-08-16T15:07:30 | 191,551,702 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | #include <iostream>
#include <vector>
#include <set>
#include <algorithm>
using namespace std;
#define watch(x) std::cout << (#x) << " is " << (x) << std::endl
static int x = []() { std::ios::sync_with_stdio(false); cin.tie(NULL); return 0; }();
class Solution
{
public:
int island(vector<vector<int>>& grid, int ... | [
"boddicheg@gmail.com"
] | boddicheg@gmail.com |
2a0f4a3485201b03a7ff0e77bf90821447536292 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /boost/math/special_functions/expint.hpp | 9242804a36b3e025d090827f9ad8ad58b00e3446 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 76,671 | hpp | // Copyright John Maddock 2007.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_MATH_EXPINT_HPP
#define BOOST_MATH_EXPINT_HPP
#ifdef _MSC_VER
#pragma o... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
61381e05454ea94182aef784df7255cf52db0371 | 541c4f648cee67b937b3a5087d69a467826aff52 | /Tests/bubble-column-mini/main-aw.cpp | fe13b0daa60614c484c19c7f568e6bcf51222977 | [] | no_license | Wentao2017/PSI-Boil-liquid-film | 9831382e5d3303a7be54f2216225f113c804c630 | 8c59435c4bc6c75bb06b17f6d4c899aee0099aa0 | refs/heads/master | 2023-05-07T05:38:07.261651 | 2021-05-31T06:28:25 | 2021-05-31T06:28:25 | 328,350,633 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,139 | cpp | /*-------------------------------------------------------------+
| Simulation of mini - bubble column |
| In order to retrieve Deen bubble column: |
| LX should be 0.15 instead of 0.05 |
+-----------------------------------------------------------... | [
"guow@eu-login-06.euler.ethz.ch"
] | guow@eu-login-06.euler.ethz.ch |
cf3aad347a678c3f16c424df60f7f829cab0d801 | b68712cb69730cfffddb4472fd2807168988cc56 | /MFC贪吃蛇小游戏/Snake/Snake.h | 0c7395ea96689ea2f241f467970e4610a56dd541 | [] | no_license | 1duyan/Game | 73c342854a46260e01bc1413cb028552e29e3f0f | 5fcdb7c9706de3f169302f83bdec3fb5e5c19482 | refs/heads/master | 2021-04-09T10:58:59.359353 | 2018-03-16T06:02:08 | 2018-03-16T06:02:08 | 125,464,626 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 647 | h |
// Snake.h : Snake 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CSnakeApp:
// 有关此类的实现,请参阅 Snake.cpp
//
class CSnakeApp : public CWinAppEx
{
public:
CSnakeApp();
// 重写
public:
virtual BOOL InitInstance();
virtual int ExitI... | [
"3477323124@qq.com"
] | 3477323124@qq.com |
6df9d22871979f2a5118a568d22da3bf757163db | 856ffbdde78c4c84303eb8b3229f7afdd10dac9a | /src/moc/moc_evaluationwindow.cpp | 7606a0786f8ab79a976fb84a07d2665b136fb55e | [] | no_license | landracer/multidisplay-ARMv7--Asus-Tinkerboard | 14aa1e4d309c981c6ea0ea0a86454b86d3832309 | 0c4a1e5475a66b92bb1242d627cdf0a10195be87 | refs/heads/master | 2020-04-05T06:18:01.419882 | 2018-11-08T05:27:19 | 2018-11-08T05:27:19 | 156,632,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,975 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'evaluationwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.5)
**
** WARNING! All changes made in this file will be lost!
****************************************************... | [
"nick.sutton@patriotlsr.com"
] | nick.sutton@patriotlsr.com |
f92e0e89f9036138f180965fec26776556992474 | 23ea7fc0dde3c46a4599241116dbb24efb763fe5 | /host/tools/configtool/standalone/wxwin/propertywin.cpp | 795716bb5ec99ed0038b2c3f489f6bdc784d08c7 | [] | no_license | metadevfoundation/ecos-ax-som-bf609 | 5a1fa24c344533f308e2cf3a40843eb2dd1ca644 | 4d587d59f5daf3e76ae44323e0bcb5463f1ce54a | refs/heads/master | 2020-12-28T21:28:53.139917 | 2014-03-12T16:53:37 | 2014-03-12T16:53:37 | 33,082,245 | 0 | 1 | null | 2020-08-30T00:56:00 | 2015-03-29T17:36:55 | C | UTF-8 | C++ | false | false | 16,564 | cpp | // ####ECOSHOSTGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of the eCos host tools.
// Copyright (C) 1998, 1999, 2000, 2008, 2009 Free Software Foundation, Inc.
//... | [
"aleksandr.loiko@axonim.by"
] | aleksandr.loiko@axonim.by |
ccd475ba4f6bc16b0ef772457e58f4d8181c26c4 | 92c78eb9af70455ab664702b396a1bfcc96c92f8 | /automated-driving/automated-driving/cpp/collision/boundingvolume.h | 83a9f4e3245d500be4e2ed168f9d092bab4dfd90 | [] | no_license | mr-d-self-driving/AutonomousDriving | 83c42793d3acaf99a6c89f06f31086483219f316 | 94f9ee3d2af27f5849187699f3a66e30ebc24fc2 | refs/heads/master | 2022-01-03T03:50:37.299594 | 2018-03-15T17:53:21 | 2018-03-15T17:53:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | h | #ifndef BOUNDINGVOLUME_H_
#define BOUNDINGVOLUME_H_
#include <iostream>
#include <vector>
#include <array>
#include "collision_object.h"
namespace collision {
//class BoundingVolume : public CollisionObject {
class BoundingVolume{
public:
BoundingVolume(std::array<double,2> x, std::array<double,2> y, std::arra... | [
"ga38vud@mytum.de"
] | ga38vud@mytum.de |
f354d55009a52bfd07036ba7f03ceb9e4148505d | 9a359d367bcc90c338ae0d39fbbe8959eb6cddc5 | /gsi/src/PeriodicThread.cpp | f151902e241359336169c7c7ee8f6a06b265901c | [] | no_license | JosephFoster118/ApartmentElectricManager | 3b4cb656ff0d0ea997b8e466296e5b7f1f5f6730 | bb8885641bd286f06b0dda0cce8b4aadd4059d54 | refs/heads/master | 2020-07-05T16:45:30.482581 | 2016-11-17T04:33:44 | 2016-11-17T04:33:44 | 73,990,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,036 | cpp | /*******************************************************************************
*
* File: PeriodicThread.cpp
* Generic System Interface class for periodic threads
*
* Written by:
* The Robonauts
* FRC Team 118
* NASA, Johnson Space Center
* Clear Creek Independent School District
*
********************... | [
"root@beaglebone.localdomain"
] | root@beaglebone.localdomain |
7be6c52db47f54b8771d3b3680ae78f23a6539c8 | 8fbacd0ec4cf4b5afd725461e19ffb7ed08739cd | /447A. DZY Loves Hash.cpp | 165d7cdc29d83a97c59f473ad7f16f736248c766 | [] | no_license | khairulTonu/Codeforces_Solutions | 693f2c8694cf24366849d5a65c994c1c2a776b41 | 2e3d1597b223613f0109a76c0cece4d3c20721e4 | refs/heads/master | 2021-06-22T07:46:45.518561 | 2017-08-15T05:22:59 | 2017-08-15T05:22:59 | 100,341,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a[10001],i,j=0,k,l,p,n,rem,cnt=0;
int b[10001];
list<int>lst;
cin>>p>>n;
for(i=0;i<n;i++)
{
cin>>a[i];
}
for(i=0;i<n;i++)
{
rem=a[i]%p;
b[j]=rem;
j++;
}
/*for(k=1;k<j;k++)
{
... | [
"khairulislamtonu0509@gmail.com"
] | khairulislamtonu0509@gmail.com |
23af04a0c38ab7dd42fd931f6a4eeb2dad70e876 | f3a65d8ef604547edc3c7f915619a476de6426d6 | /ExampleViewAllySkillPanel_src_backup/DotAAllstarsHelper/DotaClickHelper.cpp | d4d3c70e37a0601492ef68abe53b714c42a301f1 | [
"Unlicense"
] | permissive | jerryyang0304/DotaAllstarsHelper_DLL_FOR_DOTA | 325074af34b7e7e9c44cde13043a91928b04a3c4 | ed621a70540cdab03db8acc7cc6b80794363abcd | refs/heads/main | 2023-08-12T08:49:57.455032 | 2021-09-19T05:34:53 | 2021-09-19T05:34:53 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 120,697 | cpp | #include "DotaClickHelper.h"
#include <War3Window.h>
#include "Main.h"
#include <Input.h>
#include <codecvt>
#include <Timer.h>
#include "RawImageApi.h"
HWND Warcraft3Window = 0;
WarcraftRealWNDProc WarcraftRealWNDProc_org = NULL;
WarcraftRealWNDProc WarcraftRealWNDProc_ptr;
LPARAM lpF1ScanKeyUP = ( LPARAM )( 0xC00... | [
"88730285+UnrealKaraulov@users.noreply.github.com"
] | 88730285+UnrealKaraulov@users.noreply.github.com |
5dcab6daf83fc92456fecde9d4d43abb052a3c98 | ec1cbf4c889170c49ac967a22caffad174600d4c | /code/machine/interrupt.h | 4982cb697a255804cc911dc6e66f0e20c585a5f9 | [
"MIT-Modern-Variant"
] | permissive | chenwei850825/Nachos-Filesystem | 777efebe7d1ab1cb6cf51be6cea8897e364dce8e | cffc038882b44ec96371267b151674ed9f6febbb | refs/heads/master | 2021-01-11T20:36:17.199981 | 2017-01-16T19:42:29 | 2017-01-16T19:42:29 | 79,151,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,477 | h | // interrupt.h
// Data structures to emulate low-level interrupt hardware.
//
// The hardware provides a routine (SetLevel) to enable or disable
// interrupts.
//
// In order to emulate the hardware, we need to keep track of all
// interrupts the hardware devices would cause, and when they
// are supposed to occur.
... | [
"chenwei850825@gmail.com"
] | chenwei850825@gmail.com |
27555604d50951cb42f550169b9f2058f2ef2ed6 | 396355feb70db5df83a9d0da7c699ae6e87f3396 | /755.cpp | 69cc22f4441670474ad5ceda1768ee3eeebd358d | [] | no_license | liuhb86/uva | 1621a9c8657bb9b5e78a06c3e351d7f8ef0121d6 | 6a642b59e6f56a2cac88ec6d06583713b124837c | refs/heads/master | 2020-04-10T06:48:15.061103 | 2014-12-04T04:59:00 | 2014-12-04T04:59:00 | 6,099,954 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | #include <iostream>
#include <map>
#include <cstring>
using namespace std;
typedef map<string,int> Map;
char remap[]="11112ABC3DEF4GHI5JKL6MNO7PRS8TUV9WXY0000";
char table[200];
char buf[10];
int main(){
for(int i=0;i<40;i++){
table[remap[i]]=remap[i/4*4];
}
string s;
Map numbers;
int cases;
c... | [
"hongbo@liuhb.(none)"
] | hongbo@liuhb.(none) |
07a379a30846f421ca591613333504cc93020f6c | 57e1a4a0b238283abd62a0fac59695f64d01d13f | /bakjoon/좋은날싫은날.cpp | ca4cf9ecc9c1e705ef711d9747ea38d922cf8e5c | [] | no_license | junhobit/Algorithm | 4fc57486cd08debd9dc5cb961d3e3c107fe7963f | 1eed20a0ca144c1f442233633aa8027c01df35ca | refs/heads/master | 2021-02-07T21:53:13.694140 | 2020-07-10T14:55:15 | 2020-07-10T14:55:15 | 244,080,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | #include <iostream>
#include <cmath>
using namespace std;
float per[4];
float sum, good, bad;
void feeling(int feel,float sum,int n)
{
n--;
sum = roundf(sum * 100) / 100;
if (n)
{
if (feel)
{
feeling(feel, sum * per[0], n);
feeling(!feel, sum * per[1], n);
}
else
{
feeling(!feel, sum * per[... | [
"krs199228@gmail.com"
] | krs199228@gmail.com |
9d5d147f07bd16781061d7486f8d487e6a3c7761 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/chromeos/policy/dlp/dlp_scoped_file_access_delegate.cc | 8b2175132b41ce09cd9573c08562449ce3b339f5 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 6,446 | cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/policy/dlp/dlp_scoped_file_access_delegate.h"
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/functional/c... | [
"jengelh@inai.de"
] | jengelh@inai.de |
778c7d42e7c2a121269a1893620adda3fbb5fdaf | a2b20babc0082981039342935aca203618e7757a | /app/src/main/cpp/egl/egl_surface.cpp | 27dcde8694dcfdea57287f880051e2a967723027 | [] | no_license | zone-a/BlogDemo | 91f6f74a45b64af2912927b9c0b4d18791c005ef | 1b24b6d1f054276f4e2d876af8d2c38ef35dd2a8 | refs/heads/master | 2023-01-28T12:46:05.918562 | 2020-12-10T02:39:46 | 2020-12-10T02:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | //
// Created by feibiao.ma on 2020/9/16.
//
#include "egl_surface.h"
#include "../utils/logger.h"
EglSurface::EglSurface() {
m_core = new EglCore();
}
EglSurface::~EglSurface() {
delete m_core;
}
bool EglSurface::Init() {
return m_core->Init(NULL);
}
/**
*
* @param native_window 传入上一步创建的ANativeWindow... | [
"lovewfan@qq.com"
] | lovewfan@qq.com |
2c80fb2e7d5db97b59ca3a54d37e51b326b205fb | f66ecbea154414611ea07bb9277183b37275a07c | /math/primeFactors.cpp | aa841d426b822f86583d8e47084198e031d30706 | [] | no_license | shnjm/Templates | a77b08de7a68bbcd8c847d16bc5b2b679c06d452 | 460fe94e75042db920d2d608a05642e1a7665512 | refs/heads/master | 2022-04-09T18:51:58.138096 | 2020-01-06T15:39:33 | 2020-01-06T15:39:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | #include<bits/stdc++.h>
using namespace std;
#define LLD long long int //note ur code
vector<int> primeFactors(LLD n)
{
vector<int> factors;
LLD pf_idx=0;pf=primes[pf_idx]; //primes has been populated by sieve
while(pf*pf<=n)
{
while(n%pf==0){n/=pf;factors.push_back(pf);}
pf=primes[++p... | [
"skhwthssn@gmail.com"
] | skhwthssn@gmail.com |
785460bcc831b37d46dd9a89777a51c3570f59ef | 057f2783821562579dea238c1073d0ba0839b402 | /OCR/RecognitionNumber/.localhistory/RecognitionNumber/1480076492$main.cpp | 47e2b2a80ba2bd0407ec13a32e52ebdde4f0afb1 | [] | no_license | KrzysztofKozubek/Projects | 6cafb2585796c907e8a818da4b51c97197ccbd11 | 66ef23fbc8a6e6cf3b6ef837b390d7f2113a9847 | refs/heads/master | 2023-02-07T12:24:49.155221 | 2022-10-08T18:39:58 | 2022-10-08T18:39:58 | 163,520,516 | 0 | 0 | null | 2023-02-04T17:46:12 | 2018-12-29T15:18:18 | null | UTF-8 | C++ | false | false | 598 | cpp | /* library OpenCV */
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
/* library VS */
#include <iostream>
#include <fstream>
#include <stdlib.h>
#include <stdio.h>
/* My Class */
#include "Recognition.h"
#include "PreProcessing.h"
using namespace cv;
usi... | [
"krzysztof.kozubek135@gmail.com"
] | krzysztof.kozubek135@gmail.com |
24b55eb871ece292a91081721896bbc8e725e70f | eec6fc365c7415835b4a69eaceb23a224f2abc47 | /BaekJoon/2020/헤일스톤 수열.cpp | 776bd6304443352dbdb5890ba8973e4e05f6b004 | [] | no_license | chosh95/STUDY | 3e2381c632cebecc9a91e791a4a27a89ea6491ea | 0c88a1dd55d1826e72ebebd5626d6d83665c8431 | refs/heads/master | 2022-04-30T23:58:56.228240 | 2022-04-18T13:08:01 | 2022-04-18T13:08:01 | 166,837,216 | 3 | 1 | null | 2019-06-20T10:51:49 | 2019-01-21T15:32:03 | C++ | UTF-8 | C++ | false | false | 369 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int T, N;
int dp[100001];
int hale(int n) {
int ans = 1;
while (n != 1) {
ans = max(ans, n);
if (n % 2 == 0)
n /= 2;
else {
n *= 3;
n += 1;
}
}
return ans;
}
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
cin >> T;
while (T... | [
"chosh-95@hanmail.net"
] | chosh-95@hanmail.net |
0ee7c45deb5eccf9f8b4d81c110517f91e7b87d5 | 31b60bd2580a2e69309879bc324bd1a790205a94 | /third_party/gpus/cuda/include/thrust/detail/scan.inl | 5047b12f2fb2e4b79b684dab528ff7bc9f6aaa88 | [
"Apache-2.0"
] | permissive | synthesisai/tensorflow | 44881a6a7af7988178f32e12ef8261ea527fc576 | 8587db23b694093db16864c5ceda025cdc35027f | refs/heads/master | 2021-01-12T22:53:48.556872 | 2017-02-10T19:37:50 | 2017-02-10T19:37:50 | 81,367,986 | 0 | 0 | null | 2017-02-08T19:33:37 | 2017-02-08T19:33:37 | null | UTF-8 | C++ | false | false | 46 | inl | /usr/local/cuda/include/thrust/detail/scan.inl | [
"ubuntu@ip-172-31-31-214.ec2.internal"
] | ubuntu@ip-172-31-31-214.ec2.internal |
cb52d58075ff4da5b4b6200e3cf4ec916a5a95d4 | 3804ed89712eb236d131cb8c6fbc2da4c19b8ac3 | /repos/plywood/src/math/math/ply-math/Box.h | d06403f6a93d8e876c5a10e8520469d094674c68 | [
"MIT"
] | permissive | mingodad/plywood | 1c4eb60ff0309a970bf3415aa9f2479cb599311e | bbe69f5b23522e138f66a20c285ac68661b50c9c | refs/heads/main | 2023-02-09T16:12:57.455617 | 2021-01-02T01:29:28 | 2021-01-02T01:29:28 | 326,051,972 | 0 | 0 | MIT | 2021-01-01T20:36:11 | 2021-01-01T20:36:10 | null | UTF-8 | C++ | false | false | 4,730 | h | /*------------------------------------
///\ Plywood C++ Framework
\\\/ https://plywood.arc80.com/
------------------------------------*/
#pragma once
#include <ply-math/Core.h>
namespace ply {
template <class V>
struct Box {
using T = decltype(V::x);
V mins;
V maxs;
// Constructors
Box() =... | [
"filter-github@preshing.com"
] | filter-github@preshing.com |
d9357e9866258ac947096f97684ca37f2e0575d0 | 8122d1d3b5adbb80d34ce0e922657cae3ee8970a | /src/drivers/uniqueID.cpp | 2b8f7eb3577802ea082a1f2a50115771b429a4f1 | [] | no_license | bootchk/nRF5x | 151eea478e8c93929f4bca4deb4429e5589d6bfc | 2e7cdb8421d508318a0df1e702691294a07b32d4 | refs/heads/master | 2021-01-12T10:31:28.736063 | 2018-05-03T20:22:16 | 2018-05-03T20:22:16 | 76,469,379 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp |
#include "uniqueID.h"
#include <nrf.h>
// FUTURE use a 48-bit bit field
uint64_t SystemProperties::deviceID() {
/*
* NRF_FICR->DEVICEADDR[] is array of 32-bit words.
* NRF_FICR->DEVICEADDR yields type (unit32_t*)
* Cast: (uint64_t*) NRF_FICR->DEVICEADDR yields type (unit64_t*)
* Dereferencing: *(uint64_t*... | [
"bootch@nc.rr.com"
] | bootch@nc.rr.com |
d55e0f6b8b7fd1df263f93a35ac8b558d20ddbc2 | 7dcc00aeab6ce52256eb37e7a6da6c986e7015c3 | /yl_algorithm_code/C,C++/2020 暑假 蓝桥杯训练/二刷PTA/PTA_L1-040.cpp | 8265050bad09bdc3a7100f2d1f21e3af31b7b13a | [] | no_license | ztony123/codeHouse | ea2e6efb4460d1296e24dbf670e0a783ec99655a | f767149cbc558fae14f8cfde5778f57a122984e2 | refs/heads/master | 2023-01-22T14:12:52.483079 | 2020-12-01T11:09:37 | 2020-12-01T11:09:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include<iostream>
using namespace std;
int main() {
int n;
char c;
double h[15][2];
cin >> n;
for(int i=0; i<n; i++) {
cin >> c >> h[i][0];
if(c == 'M') {
h[i][1] = h[i][0] / 1.09;
} else {
h[i][1] = h[i][0] * 1.09;
}
}
for(int i=0; i<n; i++) {
printf("%.2lf\n",h[i][1]);
}
return 0;
}
| [
"2336739721@qq.com"
] | 2336739721@qq.com |
0ea161f86a265308e72ea81a572bbb3784cffdc7 | 1f5079b24785a0e6a8bef1f15e1bca939e94ba56 | /Dev/C++/Mascaret/src/VEHA/Behavior/Common/pluginManager.cpp | bb5c0079d9251ac4da5dfa0f55bf5bb094354dae | [] | no_license | querrec/Mascaret | 7d5d0628dfb93226a602f79a7a974c14a60a88e8 | c71eba3667b3e3fa8a0b18a1f40219aee358c968 | refs/heads/master | 2021-01-17T08:12:10.024097 | 2016-04-14T13:27:52 | 2016-04-14T13:27:52 | 25,727,699 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 7,114 | cpp | #include "Tools/filesystem.h"
#include "VEHA/Behavior/Common/pluginManager.h"
#ifdef _WIN32
#include <windows.h>
#else
#include <dlfcn.h>
#endif
#include <iostream>
#include <fstream>
#include <sstream>
#include <sys/stat.h>
DECLARE_NAMESPACE_FILESYSTEM;
#define MAGIC_CHAR_4_RAW_DATA '$'
namespace VEHA
{
using std::... | [
"querrec@querrecPortable.(none)"
] | querrec@querrecPortable.(none) |
81301bd507ad87faa168289d588d152c023b1102 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/python/object/function_handle.hpp | 92db26b8a2b5b628750644f019695097a8f1a25c | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 75 | hpp | #include "thirdparty/boost_1_58_0/boost/python/object/function_handle.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
0127282142818f8fb9cf102b909a92cb81350281 | 1f04b7ea0c94568ac7ca6637ae1b0018b6a3fbe6 | /snackdown/roundb/e.cpp | 79067db3f2ca03ef249b6b5744adae9c8eeca3d8 | [] | no_license | shubhsingh594/codepractice | 14858853277d618245d39b5ff4074d4142d4025a | 73916e32949b1d74e2e2d62e2019df99628b773a | refs/heads/master | 2021-01-19T21:02:02.401593 | 2018-09-19T06:50:58 | 2018-09-19T06:50:58 | 88,597,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,742 | cpp | // template
#include <string.h>
#include <map>
#include <deque>
#include <queue>
#include <stack>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <algorithm>
#include <vector>
#include <set>
#include <complex>
#include <list>
usi... | [
"shubh.112358@gmail.com"
] | shubh.112358@gmail.com |
cec39a5ccd82bd0924986ae69a6c7ace00d69af9 | e6944aad58294192eb0e27776d13ed84378f5468 | /src/MutateSeq.cpp | a2be1cd3d766b30b40ca68b9a0880dc98665ba56 | [
"MIT"
] | permissive | kant/RJModules | fd20690cc3632b13328e483d69d2e27b8b2c4402 | ab1b7c3dc7a855f096513783d88bed29c3538437 | refs/heads/master | 2020-09-04T20:14:28.943156 | 2019-11-05T21:58:35 | 2019-11-05T21:58:35 | 219,879,746 | 0 | 0 | MIT | 2019-11-06T00:48:13 | 2019-11-06T00:48:12 | null | UTF-8 | C++ | false | false | 13,173 | cpp | #include "RJModules.hpp"
#define NUM_CHANNELS 8
struct MutateSnapKnob : RoundSmallBlackKnob
{
MutateSnapKnob()
{
minAngle = -0.83 * M_PI;
maxAngle = 0.83 * M_PI;
snap = true;
}
};
struct MutateSnapKnobLg : RoundBlackKnob
{
MutateSnapKnobLg()
{
minAngle = -0.83 * M_... | [
"rich@anomos.info"
] | rich@anomos.info |
a854faf6fc64680f8c88a58e5f9fffbee9bf7818 | 9dc9a2495de7e0be5929517628a787cd04917797 | /benchmark/tests/luabind_common.h | 1709b94e81332132a8893858ed2f496f0888ecfa | [
"Apache-2.0"
] | permissive | cpgf/cpgf | e707c96b439cdcbbb8959abf26b4a4e257362b73 | 2590f6bfe85de4cba9645acac64460031739767f | refs/heads/master | 2023-03-09T00:56:02.276678 | 2022-05-22T06:47:24 | 2022-05-22T06:47:24 | 16,725,840 | 201 | 52 | null | 2018-08-15T01:04:29 | 2014-02-11T09:28:40 | C++ | UTF-8 | C++ | false | false | 1,098 | h | #ifndef LUABIND_COMMON_H
#define LUABIND_COMMON_H
#include "cpgf/metatraits/gmetaconverter_string.h"
#include "cpgf/gmetaapi.h"
#include "cpgf/scriptbind/gluabind.h"
#include "cpgf/gscopedinterface.h"
#include <memory>
class TestLuaContext
{
public:
TestLuaContext() {
this->luaState = luaL_newstat... | [
"wqking@outlook.com"
] | wqking@outlook.com |
11327d10fc6d46f4f105b0fcc7cde37fdcb4a7dc | 90699fa45fdb43cd78668d0a99d70af1dafa79c3 | /ccc/rtti/main.cpp | 1cbcf0cb915eb327532e5b243967606d6c09b5dc | [] | no_license | wallEVA96/ccc-c-trial | e75d62bdef0c5e6d95738095644eb8a8e3be9ac0 | 36287399e2cd817c33cbfbaf0ae2ee52b419a779 | refs/heads/master | 2021-07-13T13:05:40.932384 | 2020-07-06T11:41:12 | 2020-07-06T11:41:12 | 154,621,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | /*
* main.cpp
* _ _
* __ ____ _| | | _____ ____ _
* \ \ /\ / / _` | | |/ _ \ \ / / _` |
* \ V V / (_| | | | __/\ V / (_| |
* \_/\_/ \__,_|_|_|\___| \_/ \__,_|
* Copyright (C) 2019 walleva <walleva@ubuntu>
*
* Distributed under... | [
"walleva@email.com"
] | walleva@email.com |
59ec42db5fa30ada85a29563cf1c4c9a77745b9f | 7bb793c39d512bc3490608ec028c06677fdd7b05 | /hrserver/src/base/HttpParserWrapper.cpp | c20f2496c2dfe6472708a6cb4e4fd8323496b6f0 | [] | no_license | rineishou/highwayns_rin | 11564fc667633720db50f31ff9baf7654ceaac3f | dfade9705a95a41f44a7c921c94bd3b9e7a1e360 | refs/heads/master | 2021-06-17T23:06:29.082403 | 2018-12-17T12:13:09 | 2018-12-17T12:13:09 | 88,716,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,663 | cpp | //
// HttpPdu.cpp
// http_msg_server
//
// Created by jianqing.du on 13-9-29.
// Copyright (c) 2013年 ziteng. All rights reserved.
//
#include "HttpParserWrapper.h"
#include "http_parser.h"
#define MAX_REFERER_LEN 32
CHttpParserWrapper::CHttpParserWrapper()
{
}
void CHttpParserWrapper::ParseHttpContent(const ... | [
"tei952@hotmail.com"
] | tei952@hotmail.com |
f5d53b9c6b8de205b6f8f1167fcfb81ebe586e48 | aca4f00c884e1d0e6b2978512e4e08e52eebd6e9 | /2011/contest/zjpcpc/L.cpp | 3f7acb151f894aa22692aedffd52912442c57794 | [] | no_license | jki14/competitive-programming | 2d28f1ac8c7de62e5e82105ae1eac2b62434e2a4 | ba80bee7827521520eb16a2d151fc0c3ca1f7454 | refs/heads/master | 2023-08-07T19:07:22.894480 | 2023-07-30T12:18:36 | 2023-07-30T12:18:36 | 166,743,930 | 2 | 0 | null | 2021-09-04T09:25:40 | 2019-01-21T03:40:47 | C++ | UTF-8 | C++ | false | false | 502 | cpp | #include<iostream>
#include<sstream>
#include<cmath>
#include<cstdio>
#include<cstring>
#include<ctime>
#include<climits>
#include<algorithm>
using namespace std;
typedef long long lld;
int main(){
int t,k,N;scanf("%d",&t);
lld n,p;
//double d;
while(t--){
scanf("%d",&N);n=(lld)N;
/*//debug
d=log((double)n)... | [
"jki14wz@gmail.com"
] | jki14wz@gmail.com |
6a9a5c209d2f6e97d5d6d62174a86048a4857d19 | 3c1009f45ca0108eac0e97b87aab5453daf3846d | /CircularList/node.cpp | 88d00cebf7afea395c1a340fc919e4c154367858 | [] | no_license | pedroeagle/notes-ed1 | f60a1d00000305fd86797640bd341e9d9d7294f5 | 7e384e20aba524b94413cb32bc89d8c2e4a6bd0c | refs/heads/master | 2020-04-26T19:29:05.060657 | 2018-11-26T12:40:18 | 2018-11-26T12:40:18 | 173,776,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include "node.hpp"
Node::Node(){
next = previous = 0;
}
Node::Node(int info, Node *previous, Node *next){
this->info = info;
this->previous = previous;
this->next = next;
} | [
"pedroigor@aluno.unb.br"
] | pedroigor@aluno.unb.br |
c8d6ad4b342a141d8e1ae7de27518f11a676d539 | 367a80c031716a9d600a30eb72d7eac15698c7f2 | /src/util/bind_sdl.h | 45562ce779938979ae9ab4ec282090aec3517b0e | [] | no_license | mnvl/scratch | 9588ed1410655961d15d376d4bb2aad4981db859 | 7717772e0b9a85c8feb73fdc3562425f48b4a727 | refs/heads/master | 2020-04-10T08:39:52.750838 | 2012-08-19T08:24:32 | 2012-08-19T08:24:32 | 5,469,431 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | h | #pragma once
#include <luabind/lua_include.hpp>
namespace util
{
void bind_SDL(lua_State *L);
}
| [
"manvel.avetisian@gmail.com"
] | manvel.avetisian@gmail.com |
c2f3f58e56efb91cf3281fcf18cf35176df863b1 | c1f89beed3118eed786415e2a6d378c28ecbf6bb | /src/debug/ildbsymlib/symwrite.cpp | 16ae07c566df25443b40a90df73e8bfc1650984f | [
"MIT"
] | permissive | mono/coreclr | 0d85c616ffc8db17f9a588e0448f6b8547324015 | 90f7060935732bb624e1f325d23f63072433725f | refs/heads/mono | 2023-08-23T10:17:23.811021 | 2019-03-05T18:50:49 | 2019-03-05T18:50:49 | 45,067,402 | 10 | 4 | NOASSERTION | 2019-03-05T18:50:51 | 2015-10-27T20:15:09 | C# | UTF-8 | C++ | false | false | 50,121 | cpp | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
// ===========================================================================
// File: symwrite.cpp
//
//
// Note: The various SymWriter_* and SymDocumentWriter_... | [
"dotnet-bot@microsoft.com"
] | dotnet-bot@microsoft.com |
5183826ea2de6b5bf11f07c995ff8eb80a730690 | 6ce5ecfc0933a296e329097e84fc1c2aeefaa317 | /AVLNode.h | 02f5ad8cded62e13f5981d1853d7ccd7d0a6ed76 | [] | no_license | magicmitra/AVLTree | fc1ba6edc3c6aa988b0771c54cdc4e73b0f9fcb4 | feb9cd5e37bb1a1713dfb1585adfed62a0d97472 | refs/heads/master | 2020-03-14T13:41:51.480200 | 2018-05-07T19:59:57 | 2018-05-07T19:59:57 | 131,637,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | /* AVL Node
* user as nodes for the AVLTreeClass
*/
#pragma once
class AVLNode
{
public:
AVLNode(int obj);
AVLNode(int obj, AVLNode *leftChild, AVLNode *rightChild);
AVLNode();
~AVLNode();
// data item, left child, right child, height
int theItem;
AVLNode* left;
AVLNode* right;
int height;
};
| [
"ervinmitra@gmail.com"
] | ervinmitra@gmail.com |
12fae88f2a9dc82f4498b84acda8aaf1e61a0423 | a61a21484fa9d29152793b0010334bfe2fed71eb | /Skyrim/src/Forms/BGSOutfit.cpp | f4a83ac601f72fba0d2912bd6f1549ee5a9a52a6 | [] | no_license | kassent/IndividualizedShoutCooldowns | 784e3c62895869c7826dcdbdeea6e8e177e8451c | f708063fbc8ae21ef7602e03b4804ae85518f551 | refs/heads/master | 2021-01-19T05:22:24.794134 | 2017-04-06T13:00:19 | 2017-04-06T13:00:19 | 87,429,558 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include "Skyrim/Forms/BGSOutfit.h"
#include "Skyrim/Forms/TESLevItem.h"
void BGSOutfit::Calcurate(UInt16 level, BSTArray<TESForm*> &result, bool ignoreChanceValue, bool unk) const
{
result.clear();
result.reserve(5);
BSScrapArray<TESLeveledList::CalcuratedResult> calcurated(10);
for (TESForm *item : armorOrLev... | [
"wangzhengzewzz@gmail.com"
] | wangzhengzewzz@gmail.com |
9e96e4d61d4a31a1a9e2815643478990e76a87e0 | 4628d601b5c56679bd48aa50a0bfe3874c365f37 | /engine/gui/widgets/textarea.h | 75aff2a69c6e4195f4faac2af9406c1570d5b737 | [] | no_license | di15/mathd | 09f8695cc95933ed18d69f1ca5cf43d75099ed78 | 5b92aeb399855dbee07b1ccd6f91e1d1cb533297 | refs/heads/master | 2021-01-17T06:28:32.740625 | 2015-02-03T01:33:38 | 2015-02-03T01:33:38 | 28,899,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | h | #ifndef TEXTAREA_H
#define TEXTAREA_H
#include "../widget.h"
class TextArea : public Widget
{
public:
int m_highl[2]; // highlighted (selected) text
UStr m_compos; //composition for unicode text
TextArea(Widget* parent, const char* n, const RichText t, int f, void (*reframef)(Widget* thisw), float r=1, float g=1,... | [
"polyfrag@hotmail.com"
] | polyfrag@hotmail.com |
09dcd6cb526756e2a1bcdc8f8500661ec8deaeca | 41a76318e5b9eef2c69bbf922724f8b191d7d124 | /kokkos/core/src/eti/HPX/Kokkos_HPX_ViewCopyETIInst_int_int_LayoutStride_Rank2.cpp | 06513c4fe6394e3b7fb2e6e2fb5bbdf27ac5f6f7 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | zishengye/compadre | d0ff10deca224284e7e153371a738e053e66012a | 75b738a6a613c89e3c3232cbf7b2589a6b28d0a3 | refs/heads/master | 2021-06-25T06:16:38.327543 | 2021-04-02T02:08:48 | 2021-04-02T02:08:48 | 223,650,267 | 0 | 0 | NOASSERTION | 2019-11-23T20:41:03 | 2019-11-23T20:41:02 | null | UTF-8 | C++ | false | false | 2,638 | cpp | //@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Governmen... | [
"pakuber@sandia.gov"
] | pakuber@sandia.gov |
4618b56795c343a9a1cc006e2d42182426c32315 | 38b057c7dea2e7b9015e3fce67726cb1678a90b1 | /libs/z3/src/util/lp/lar_core_solver_def.h | 476e1169859917b183ee40f5871afd27541fa4e0 | [
"MIT"
] | permissive | anhvvcs/corana | 3ef150667e8124c19238a3f75a875096bbf698c5 | dc40868ee4ba1c6148547fb125fddccfb0d446c3 | refs/heads/master | 2023-08-10T07:04:37.740227 | 2023-07-24T20:41:30 | 2023-07-24T20:41:30 | 181,912,504 | 34 | 4 | MIT | 2023-06-29T03:32:18 | 2019-04-17T14:49:09 | C | UTF-8 | C++ | false | false | 10,918 | h | /*++
Copyright (c) 2017 Microsoft Corporation
Module Name:
<name>
Abstract:
<abstract>
Author:
Lev Nachmanson (levnach)
Revision History:
--*/
/*++
Copyright (c) 2017 Microsoft Corporation
Module Name:
<name>
Abstract:
<abstract>
Author:
Lev Nachmanson (levnach)
Revision History:... | [
"anhvvcs@gmail.com"
] | anhvvcs@gmail.com |
ae11a52454459aac6721e61f202a932f08e36fbc | 5a0595f75402ecd15d8aeb701f3496e3e4ea096e | /DiRa_Software/Jetson_TK1/Software/DiRA_Firmware_Modules/DiRa_PCA9685_Controller/dira_pca9685_tk1_controller/include/JHPWMPCA9685.h | 79b2429c687f26d6e04667a5e23eb05eca92468f | [
"MIT"
] | permissive | thodoxuan99/DiRa | 852358af033c481ed6619a1b20b0c125cb88e76e | b6beda59a64487b6242940156c8e2fa0a5ae2866 | refs/heads/master | 2020-09-03T11:57:31.437422 | 2019-11-04T07:00:36 | 2019-11-04T07:00:36 | 219,457,078 | 0 | 1 | MIT | 2019-11-04T08:54:04 | 2019-11-04T08:54:04 | null | UTF-8 | C++ | false | false | 5,444 | h | /*
* The MIT License (MIT)
Copyright (c) 2015 Jetsonhacks
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge... | [
"hieump5@fpt.com.vn"
] | hieump5@fpt.com.vn |
78ef450c41dffab1417b295cc22135d43e6a946c | b7182aabd325137aa7e1df85cc65875a526c5e43 | /eos/inline/types/vrf.h | b17c631319ad9186229cb1d4e5e08b6a3c98a7c8 | [
"BSD-3-Clause"
] | permissive | dubnetwork/EosSdk | 793d357292b1147704872a240c467480be227a82 | 90a7a18bddb75eaf83ec74a68d5f011fe85ed89c | refs/heads/master | 2020-12-25T22:57:20.007351 | 2014-12-11T23:30:32 | 2014-12-13T22:12:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,403 | h | // Copyright (c) 2014 Arista Networks, Inc. All rights reserved.
// Arista Networks, Inc. Confidential and Proprietary.
#ifndef EOS_INLINE_TYPES_VRF_H
#define EOS_INLINE_TYPES_VRF_H
namespace eos {
// Default constructor.
inline vrf_t::vrf_t() :
name_(""), rd_(0), af_ipv4_(false), af_ipv6_(false) {
}
inline ... | [
"tsuna@arista.com"
] | tsuna@arista.com |
2be7b36cfe9531ac2a4e1b752221a3e53a89adbc | adb16eaccac05b07dbc44bb7fe87a17bf59889f0 | /worktree/funk/imgui/Imgui.cpp | ba2014df1d71ae92ce50b8daf30af1e26ee9b25f | [] | no_license | tech-ui/nao-gm | e29f6cc899e744b1faf596d770b440eb81039a53 | bd0f201640701a0a3eaddc12a1fa12c0c7c48891 | refs/heads/master | 2021-05-27T12:07:25.586855 | 2012-12-20T05:05:15 | 2012-12-20T05:05:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,105 | cpp | #include "Imgui.h"
#include <cstring>
#include <assert.h>
#include <gl/glew.h>
#include "ImguiManager.h"
#include "ImguiWindow.h"
#include <gfx/Renderer.h>
#include <gfx/DrawPrimitives.h>
#include <gfx/LineGraph.h>
#include <math/CubicSpline2d.h>
#include <math/ColorUtil.h>
#include <common/Input.h>
#include <common... | [
"kalin.eh@gmail.com"
] | kalin.eh@gmail.com |
8d6c4a529e27af94fc07a3e0f615eb49a28a90d4 | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/29.7/U | 693fa91ab369671dc5346fc9cb18b0d4b65bb324 | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,096 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"henry.rossiter@utexas.edu"
] | henry.rossiter@utexas.edu | |
b9dded1cdfad27c4454000bb82c2415511336864 | 7558545b658fd7c150e3b6aa36853352ebca8188 | /lib/include/py2cpp/fractions.hpp | c3686e50afe6dca6bc732418fb3f0eb697a13662 | [
"MIT"
] | permissive | luk036/ellcpp | ae947d3dc54f1d9fd875bafc410e848382dc9568 | 5ec9a0f3b78969305d3100c767a6d67f37e7fd26 | refs/heads/master | 2022-12-05T03:03:28.667027 | 2022-12-01T12:28:46 | 2022-12-01T12:28:46 | 104,174,540 | 4 | 2 | MIT | 2020-01-20T10:42:00 | 2017-09-20T06:23:27 | C++ | UTF-8 | C++ | false | false | 11,461 | hpp | // -*- coding: utf-16 -*-
#pragma once
/*! @file include/fractions.hpp
* This is a C++ Library header.
*/
#include <boost/operators.hpp>
#include <cmath>
#include <numeric>
#include <type_traits>
namespace fun
{
/*!
* @brief Greatest common divider
*
* @tparam _Mn
* @param[in] __m
* @param[in] __n
* @retur... | [
"luk036@gmail.com"
] | luk036@gmail.com |
24b3b79887cca20366056d5abb321438206376a7 | d1e4718197ba3bddd13d6f6958e1d5a492b51af5 | /Object/Line_Type.h | 8d20c3e638d5b732a1c329d4af1750f7599bbc65 | [] | no_license | reisoftware/ap2d | 1f398664fdc4f8cab9479df18cd2a745f904cdff | e09732655ef66e13e98b8f3b008c91dac541e1f5 | refs/heads/master | 2022-01-22T05:36:56.295845 | 2022-01-04T05:31:57 | 2022-01-04T05:31:57 | 162,372,004 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | h |
#ifndef _TIAN_OBJECT_LINE_TYPE_H_
#define _TIAN_OBJECT_LINE_TYPE_H_
#include "export.h"
#include <vector>
#include "iolua.h"
#include "../afc/counter.h"
#pragma warning (disable:4786)
// class iLua_File;
// class oLua_File;
namespace dlhml{
OBJECT_API LPCTSTR lt_continue();
OBJECT_API LPCTSTR... | [
"tian_bj@126.com"
] | tian_bj@126.com |
ba721d5dfef3978b3165e70735fa4d3988b17587 | 814d2840dcf9aaa27a9eba83d1548253fc633d7c | /Sliding Brick Puzzle/Node.cpp | 93d734001f984fd695604436c6e454e96b8f7984 | [] | no_license | jinu2ID/AI | f351b245b907a486f4d1851649b3b4a3341dd00c | 3ddbaca740886ed7bde2895ef9a2fb9dfc88e75e | refs/heads/master | 2016-12-13T14:19:26.992217 | 2016-05-25T01:04:22 | 2016-05-25T01:04:22 | 47,855,957 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,588 | cpp | /*
Created: 10/18/15
Author: Jinu Jacob
jj559@drexel.edi
node class implementation for Sliding Brick Puzzle
*/
#include <vector>
#include <string>
#include <iostream>
#include "Node.h"
#include "GameState.h"
using namespace std;
// Constructors
Node::Node(){
state = GameState();
parent = NULL;
parentMove = Move... | [
"jj559@drexel.edu"
] | jj559@drexel.edu |
b128d77279abaab7d44e0dc4062988168012bfe5 | 6911d361705934417fe1aa525cc27325e8a67213 | /9_the_viewport_renderer_at_postition/09_the_viewport.cpp | f6245286823a376cd1e3b0581628f8a28d1b253a | [] | no_license | sws-54/SDL | 5deef826903e1db0e1aeb4078e9018b4d086caca | 20f2006b7c15bc32ed6e6ef545e9069cdee943be | refs/heads/master | 2020-03-17T07:15:02.011783 | 2018-06-02T01:56:21 | 2018-06-02T01:56:21 | 133,390,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,155 | cpp | #include <cstdio>
#include <SDL.h>
#include <SDL_image.h>
#include <string>
// screen sizes
const int Width = 640;
const int Height = 480;
// start SDL
void Start();
// load images
void LoadImage(std::string);
// end SDL
void End();
// window
SDL_Window *Window = nullptr;
// renderer
SDL_Renderer *Renderer = n... | [
"38383942+sws-54@users.noreply.github.com"
] | 38383942+sws-54@users.noreply.github.com |
8087dda9a212b5a01733409ba7925705316c6531 | b2f2c4942f535285a28cfaa2127abc4a33a54c4a | /syzygy/kasko/waitable_timer.h | abed0119f620f98e37963dfabfae55744c38eca3 | [
"Apache-2.0"
] | permissive | pombreda/syzygy | 4f71e27e54182e26ee3f6605be62d60210bb5820 | 7bac6936c0c28872bfabc10a1108e0157ff65d4a | refs/heads/master | 2021-01-25T07:08:04.019036 | 2015-03-12T18:29:28 | 2015-03-12T18:29:28 | 32,210,396 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | h | // Copyright 2014 Google Inc. 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... | [
"erikwright@chromium.org"
] | erikwright@chromium.org |
4489e8542cb81a93aba226342a008044e87ce21c | c5e26167d000f9d52db0a1491c7995d0714f8714 | /洛谷/P4503 [CTSC2014]企鹅QQ.cpp | b0cadff0b3463056ef16b393703e804686a9e4c3 | [] | no_license | memset0/OI-Code | 48d0970685a62912409d75e1183080ec0c243e21 | 237e66d21520651a87764c385345e250f73b245c | refs/heads/master | 2020-03-24T21:23:04.692539 | 2019-01-05T12:38:28 | 2019-01-05T12:38:28 | 143,029,281 | 18 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,175 | cpp | // luogu-judger-enable-o2
// ==============================
// author: memset0
// website: https://memset0.cn
// ==============================
#include <bits/stdc++.h>
#define ll long long
#define rep(i,l,r) for (int i = l; i <= r; i++)
#define getc(x) getchar(x)
#define putc(x) putchar(x)
template <typename T> inl... | [
"memset0@outlook.com"
] | memset0@outlook.com |
9c51da20874c4660a938cf00028742b3c094aba6 | d7021f77ae62fa2ea4dfeb609ac5d03fcefe915a | /StateMechanic/State/State.cpp | b1d20584808efeb210ab194e0e3eb313fa9400de | [
"MIT"
] | permissive | RadekVana/EmbeddedStateMechanic | 98684f28c9117a77d912809414050e9ab85786bd | 4ec58442bb5394709fa23693c2f0e102f45d13e3 | refs/heads/master | 2020-06-12T22:42:20.580017 | 2019-07-06T20:23:46 | 2019-07-06T20:23:46 | 194,450,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,207 | cpp | #include "State.hpp"
/******************************************************************************/
//State
State::State(IStateMachineWithEventFireRequest& sm, auto_ptr<EvHandler> entry, auto_ptr<EvHandler> exit):
IStateWithMachineRef(sm),
entryHandler(entry),
exitHandler(exit){}
void State::SinkEntryHa... | [
"r.v.mail@centrum.cz"
] | r.v.mail@centrum.cz |
c4703e163cc7a573de308d8fdbde695003b2ef5c | 94903d3084f03c1255701126edb23095522b3583 | /0205 Isomorphic Strings.cpp | 6f8ac8db3ee3f49d64926dd4d46facf254f33e11 | [] | no_license | xieh1987/MyLeetCodeCpp | dcf786f4c5504e063ab30adcbb87436fc6067fb0 | 9fff547aa12cf64b801092d175b34caf8e56336f | refs/heads/master | 2021-08-08T03:07:54.297810 | 2021-07-16T23:21:53 | 2021-07-16T23:21:53 | 23,158,836 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | class Solution {
public:
bool isIsomorphic(string s, string t) {
unordered_map<char, char> dicts, dictt;
for (int i=0;i<s.size();++i) {
if (dicts.find(s[i])!=dicts.end()) {
if (t[i]!=dicts[s[i]]) return false;
}
else dicts[s[i]] = t[i];
... | [
"xieh1987@users.noreply.github.com"
] | xieh1987@users.noreply.github.com |
9bfa6cf56773058f6efdf522edc59cc4ffff44ac | 21d6917fee2008882234866e0fea7e711438e03f | /Aurora/src/Platform/Windows/WindowsInput.cpp | daf792853537bc33970f4de5786f3673232ba56d | [
"Apache-2.0"
] | permissive | JoshuaColell/Aurora | 35cb20c13884366590b3315460665a5dd6fc840c | 2c081e085cc1e7420d6d4dac4a3927507d5ac594 | refs/heads/main | 2023-06-30T06:43:15.949419 | 2021-08-04T20:38:11 | 2021-08-04T20:38:11 | 391,793,905 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include "aupch.h"
#include "WindowsInput.h"
#include "Aurora/Application.h"
#include <GLFW/glfw3.h>
namespace Aurora {
Input* Input::s_Instance = new WindowsInput();
bool WindowsInput::IsKeyPressedImpl(int keycode)
{
auto window = static_cast<GLFWwindow*>(Application::Get().GetWindow().GetNativeWindow());
a... | [
"luaadev@gmail.com"
] | luaadev@gmail.com |
ed44fa004942f8d870a20ffca3ac6b5c619dc6e1 | 8f5c6088261a55e3ffc0e28675b504ff545771ef | /GTEngine/Include/Mathematics/GteContEllipse2.h | 749dbca9d676f37d4eb39b828abe931f3a41994e | [
"BSL-1.0"
] | permissive | dfqytcom/GeometricTools-2 | 56283300e6b6a97e9441475e69fb283c70f17d44 | ae6e933f9ab3a5474d830700ea8d9445cc78ef4b | refs/heads/master | 2022-01-31T06:34:38.991605 | 2018-12-10T12:51:15 | 2018-12-10T12:51:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,613 | h | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2018
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.0.1 (2018/10/05)
#pragma once
#include <Mathematics/GteA... | [
"p.m.joniak@gmail.com"
] | p.m.joniak@gmail.com |
cbdd83dcc754f5a6702162c853dff6d0a34d3a49 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-apigateway/include/aws/apigateway/APIGatewayErrorMarshaller.h | d01ae04f037cf7fe8f5db14ab1789b4d5335c575 | [
"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 | 524 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigateway/APIGateway_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_APIGATEWAY_API APIGatewayErrorMarshaller : p... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
0b66b8d200af82d234d9f14461c2e06f57e8a48a | 37b53d11b252b5b1b827a2f4d50e154ed56b6a50 | /samples/Atlantis/Atlantis/AscentAP.h | d4b0840f51005d48546736da975e0021f34c8296 | [] | no_license | johndpope/orbiter-sdk | 070232d667bf1eb7aceae2e14df068f424e86090 | 8f0f45583ed43d7f0df2ef6ddd837fe7c2ef17f8 | refs/heads/master | 2020-05-16T22:50:51.303970 | 2019-03-25T16:43:55 | 2019-03-25T16:43:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,610 | h | // ==============================================================
// ORBITER MODULE: Atlantis
// Part of the ORBITER SDK
// Copyright (C) 2001-2012 Martin Schweiger
// All rights reserved
//
// AscentAP.h
// Class interface for Atlantis ascent autopilot... | [
"amicard@eurodns.com"
] | amicard@eurodns.com |
0a4251ea3efa690585ce22cec85a01f0d0f8e675 | e9172462c822ad88c7d32d46c0d7d9ec90fe15c1 | /day03/ex04/FragTrap.hpp | b4cb1583536971f34a33e2e66df47dfa2f38557a | [] | no_license | AnaChepurna/CPP_Piscine | c0628e8ba04adc22427f59e9095af3ce360ff20d | 092e98fab6501cb7c3991c3777bda2130ba0f720 | refs/heads/master | 2020-03-20T22:12:15.908691 | 2018-06-29T14:46:09 | 2018-06-29T14:46:09 | 137,785,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | hpp | #ifndef FRAGTRAP_HPP
# define FRAGTRAP_HPP
#include "ClapTrap.hpp"
class FragTrap : public virtual ClapTrap
{
protected:
static const int _max_hit_points = 100;
static const int _max_energy_points = 100;
static const int _level = 1;
static const int _melee_attack_damage = 30;
static const int _ranged_attack... | [
"ch.nastasie@gmail.com"
] | ch.nastasie@gmail.com |
709527133aa1d5dc803b41e9e65462fec1687c23 | 88ee2fb90bbb66499dcf3b67b93286e686a22bcb | /src/core/index/ImpactsSource.hpp | e4ec62cdf0db041ca276092dbc1c73f6022da6dc | [] | no_license | finddit/lucene_cpp_20 | 83b4bb779557985dc1e04f49dbb72cb93ac6c649 | 98611d3ef0aa01a345cf8640fdc460c837d15182 | refs/heads/main | 2023-06-03T02:07:23.564842 | 2021-06-17T19:47:08 | 2021-06-17T19:47:08 | 377,941,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | hpp | //
// Created by Ervin Bosenbacher on 17/06/2021.
//
#ifndef LUCENECPP20_IMPACTSSOURCE_HPP
#define LUCENECPP20_IMPACTSSOURCE_HPP
class ImpactsSource {
};
#endif //LUCENECPP20_IMPACTSSOURCE_HPP
| [
"ervin@blueparrot.co"
] | ervin@blueparrot.co |
386bd9d51f164d5a11ca2091ed7e52e55b04550b | e8db32198b27dbc386df93473b8ce9a8cf0cb6f0 | /minidriver/tags/initial_import/cardlib/SIMCard.h | 1a7a7a8e1d484eecb728f21721bebfafff972c38 | [] | no_license | tixsys/esteid | 03e84f219f94e55a468484752e08deec7dbe7428 | a0be3c31a0390f68f042127f0498e0900d0304a5 | refs/heads/master | 2016-09-16T06:51:05.086837 | 2013-03-29T10:34:10 | 2013-03-29T10:34:10 | 33,731,241 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 144 | h | #pragma once
#include "CardBase.h"
class SIMCard :
public CardBase
{
public:
SIMCard(void);
~SIMCard(void);
void test(void);
};
| [
"kalev@0d7e1ef0-d974-fc83-f0b3-ccc071561e0e"
] | kalev@0d7e1ef0-d974-fc83-f0b3-ccc071561e0e |
e76c8321816535472adeb4e898b55685d489307b | 3a01d6f6e9f7db7428ae5dc286d6bc267c4ca13e | /unittests/libtests/faults/TestFaultCohesiveKinSrcsCases.hh | 4ee65d888b2959fd53a5f953963750ca70c4de23 | [
"MIT"
] | permissive | youngsolar/pylith | 1ee9f03c2b01560706b44b4ccae99c3fb6b9fdf4 | 62c07b91fa7581641c7b2a0f658bde288fa003de | refs/heads/master | 2020-12-26T04:04:21.884785 | 2014-10-06T21:42:42 | 2014-10-06T21:42:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,478 | hh | // -*- C++ -*-
//
// ----------------------------------------------------------------------
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | [
"baagaard@usgs.gov"
] | baagaard@usgs.gov |
83c647c85b173c7c65d03cc8099839bb4b29ae67 | 8ef6b0a9c9c65cf8abecf5cf82d5af485f87f47d | /dp/mcm.h | de66876e74c219e03e90e26fe6950b1612a3a323 | [
"MIT"
] | permissive | RahulSisondia/random_experiments | 50820d729e0e82f76bc65207fd192f722fb6de87 | 2a4f64983718166973d0ada77beb9746abf83ac0 | refs/heads/master | 2023-03-04T11:37:19.832463 | 2023-02-28T12:49:09 | 2023-02-28T12:49:09 | 196,296,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,578 | h | /*
* Matrix Chain Multiplication (mcm)
*/
#include "../my_util.h"
/*
complexity is exponential i.e. Ω(4^n/n^3/2)
*/
int mcm_rec(vector<int> dims, int i, int j) {
// i cannot be greater than j of course.
// if i == j means only 1 dimension which invalid case as well.
if (i >= j) return 0;
int res = numeric_... | [
"rahul.sisondia@oracle.com"
] | rahul.sisondia@oracle.com |
272e59bea1183c1c40d407501bcc748f66448d3a | 75da0db5bfde99720ddb22692594241308be967e | /DuiDesigner/DialogCustomFonts.h | 64dca0ff5d45de227c04edd3fcf50f033bec8e1b | [] | no_license | 021xcy/BrowserDll | f6bd549e26828f5950b769e4232511e101696263 | a071a3c364d18b704ccaec5b74467237cd157900 | refs/heads/master | 2023-06-25T18:51:02.224423 | 2017-03-20T03:06:15 | 2017-03-20T03:06:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | h | #pragma once
#include "afxwin.h"
// CDialogCustomFonts dialog
class CDialogCustomFonts : public CDialog
{
DECLARE_DYNAMIC(CDialogCustomFonts)
public:
CDialogCustomFonts(CWnd* pParent = NULL); // standard constructor
virtual ~CDialogCustomFonts();
// Dialog Data
enum { IDD = IDD_DIALOG_CUSTOM_FONT... | [
"x583194811l@gmail.com"
] | x583194811l@gmail.com |
18200b934d8cc876eaf28e52d220c7ad10fc4449 | c27e4bae6ff1d0c2e9d4c5b4e89a720c06063aa5 | /src/crypto/sha256_sse4.cpp | 02d5c7adc90d0a97fd86e0d14ffeb7967cd97916 | [
"MIT"
] | permissive | cryptomiles/cryptomiles | b747c8ebdd0aa11169a9e7b6e6f56f70525cc75f | d3815eaf7716fbca9459f4162ae7ba4714298d27 | refs/heads/master | 2020-04-21T16:53:19.359673 | 2019-02-08T14:48:47 | 2019-02-08T14:48:47 | 169,717,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,953 | cpp | // Copyright (c) 2017 The Bitcoin Core developers
// Copyright (c) 2017 The Cryptomiles Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// This is a translation to GCC extended asm syntax from YASM code by Inte... | [
"admin@cryptomiles.club"
] | admin@cryptomiles.club |
8c7c62725280963a45ef34bdcaa74e6d911e4f8a | c6176861e394bad79922ffececfe7d89f95a94e5 | /Floyd.cc | 39159d3bc88b36c016bed924d50b944adef2fba7 | [] | no_license | adamzyc/algorithm | 553d0f93ff959d3731335d17eb21dd2347598dd1 | 0394d7338f14feac8a0dbd14b360fd3a27c06a62 | refs/heads/master | 2021-01-25T05:34:18.461808 | 2015-05-11T09:14:21 | 2015-05-11T09:14:21 | 34,985,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cc | /*************************************************************************
> File Name: Floyd.cc
> Author: 周雨晨
> Mail: 15917836@qq.com
> Created Time: Sat 09 May 2015 15:39:35 CST
************************************************************************/
#include <iostream>
#include <string>
#include <vector>
... | [
"m18166546481@163.com"
] | m18166546481@163.com |
98fd4b18aaf5125a6419e8fbee84fae2e60909ca | 0edbcda83b7a9542f15f706573a8e21da51f6020 | /private/windows/shell/dskquota/watchdog/stats.h | ddfc3608f5da9f2a96fade476fea6c9b14317178 | [] | no_license | yair-k/Win2000SRC | fe9f6f62e60e9bece135af15359bb80d3b65dc6a | fd809a81098565b33f52d0f65925159de8f4c337 | refs/heads/main | 2023-04-12T08:28:31.485426 | 2021-05-08T22:47:00 | 2021-05-08T22:47:00 | 365,623,923 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,269 | h | #ifndef __STATS_H
#define __STATS_H
///////////////////////////////////////////////////////////////////////////////
/* File: stats.h
Description: These classes provide temporary storage of quota
information for a given volume/user pair. Creation of the object
automatically gathers the necessary q... | [
"ykorokhov@pace.ca"
] | ykorokhov@pace.ca |
3bdaf49251de7fd00e5a4ef8d25df22300329ee3 | dc2e0d49f99951bc40e323fb92ea4ddd5d9644a0 | /Activemq-cpp_3.7.1/activemq-cpp/src/test-integration/activemq/test/stomp/StompBulkMessageTest.h | 941030f74d57afa2247f72f54b56064bf99330ef | [
"Apache-2.0"
] | permissive | wenyu826/CecilySolution | 8696290d1723fdfe6e41ce63e07c7c25a9295ded | 14c4ba9adbb937d0ae236040b2752e2c7337b048 | refs/heads/master | 2020-07-03T06:26:07.875201 | 2016-11-19T07:04:29 | 2016-11-19T07:04:29 | 74,192,785 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | [
"626955115@qq.com"
] | 626955115@qq.com |
84afe27e1236819714d3181c39c5af60a84f6a98 | ac37d8d8b8506ed87d589f4fbbddba445793340e | /NMF/NMF.cpp | be48709191d742310b77730381e9b023aeb1db55 | [] | no_license | yingqichao/Robust-Perceptual-Image-Hashing-Based-on-Ring-Partition-and-NMF | 7af7cde23bb82757aeb539f47eb412dc414a3919 | 2a6200846a81900eecdb30a1037871582b0732f4 | refs/heads/master | 2022-11-13T01:02:09.148128 | 2020-06-30T08:35:41 | 2020-06-30T08:35:41 | 189,379,049 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 18,644 | cpp | #include "NMF.h"
#include <iostream>
#include <opencv2/opencv.hpp>
#include <opencv2/xfeatures2d.hpp>
using namespace std;
using namespace cv;
//clock_t start, endq;
int main()
{
char* path1 = "E:/HashTest/HashTest/pic/330.jpg";
char* path2 = "E:/HashTest/HashTest/pic/331.jpg";
char* out1 = SingleHashCode(path1... | [
"shinydotcom@163.com"
] | shinydotcom@163.com |
b6f6d68491be4edea3ef0e6a7c05e70e3bbf431f | 018d53451db1e2f75b46935cdecbd041af63cb97 | /SmithWaterman.cpp | ac879219a2edd19c4ff53a002fe659b3377ec729 | [] | no_license | allengmcd/adna | 49929a03676f31a30b74430ded603fac5e4b55df | 73d2e4c662cfa4d30e3352f4f0421c07e2055ce6 | refs/heads/master | 2021-06-06T12:41:20.046484 | 2016-10-30T21:45:50 | 2016-10-30T21:45:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,510 | cpp | #include "SmithWaterman.hpp"
using namespace std;
typedef vector<vector<int> >Grid;
//similarity function
#define MATCH 7
#define MISMATCH -4
// const int MATCH = 2;
// const int MISMATCH = -3;
//gap-scoring scheme
#define GAP_EXTENSION 8
#define GAP_PENALTY 10
// const int GAP = -4;
class funct... | [
"hyilai@outlook.com"
] | hyilai@outlook.com |
58c5a52a71f42ec5b89bc06b80b20c0e93b79f10 | 9c74703c56d3447de1dff009eb570cd494befe81 | /StatsDisplay/src/StatsDisplay.cpp | 52819106f383926759122f30a77de2e05964ab67 | [] | no_license | derlistigelurch/RobotCommander | a915db6129116ad42769da6e2de37b75ff39ec49 | 7bd1fc5d5647f46d166783cbdda6d000d7924c83 | refs/heads/master | 2022-11-21T22:02:54.284072 | 2020-07-29T06:58:34 | 2020-07-29T06:58:34 | 276,303,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,353 | cpp | #include <iostream>
#include <fstream>
#include <algorithm>
#include "../../MapDisplay/include/Colors.h"
#include "../../MessageManager/include/ConfigManager.h"
#define ENEMY 'E'
#define DELIMITER ':'
std::string GetValue(std::string &line)
{
int pos = line.find(DELIMITER);
std::string value = line.substr(0,... | [
"dalistige@gmail.com"
] | dalistige@gmail.com |
4ee07ccf995637f9ef7156699aac8ae28b03bb01 | 6972211c57e6713cabc1871dc2fe9aa36f0f653c | /142-lab7/Main.cpp | d4cde1886d221553311ce2a75141aedf8d39a08e | [] | no_license | jmbarzee/byu-142 | 0dd809632587a408ef543dcc52b52f3d55d866ed | f4c3b9a983d30f4a62d477637262b94360571382 | refs/heads/master | 2021-01-21T06:25:07.012639 | 2017-02-26T18:22:47 | 2017-02-26T18:22:47 | 83,230,646 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,470 | cpp | /*
* Main.cpp
*
* Created on: Mar 9, 2015
* Author: jacobmb
*
* TEST CASE : 1
* commands: 1,6
* TEST CASE : 2
* commands: 1,4,4,4,4,4,4,4,4,4,4,5
* During tournament: 1,1,2,1 3,2,1 2
* TEST CASE : 2
* commands: 1,2
* Adding: "Denny's"
* commands: ... | [
"jbarzee@qualtrics.com"
] | jbarzee@qualtrics.com |
24680482f0d22295a8d3de9d33a788bd9c59018c | c119fcb4a881ea6aa555faf92b5b33ce42748238 | /corpc/src/proto/corpc_option.pb.cc | a9dba92dc06e078539d4efb6d7c6cd7148a4f31d | [
"Apache-2.0"
] | permissive | ChenwxJay/libcorpc | 7e2aa4a1774542cf683480924f2412d3e98ba83e | a72d8823332545222867647386e560b4342cff97 | refs/heads/master | 2020-06-19T20:32:13.435435 | 2019-02-21T03:28:36 | 2019-02-21T03:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 9,307 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: corpc_option.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "corpc_option.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.... | [
"xianke.liu@dena.com"
] | xianke.liu@dena.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.