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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e099bf5a62b1d388860b3f31d8d4c42b0c64c2e7 | adbc979313cbc1f0d42c79ac4206d42a8adb3234 | /Source Code/李沿橙 2017-10-4/competition/source/赣州市第一中学 林海波/biology.cpp | 3b68efd763e33ffd5031d2e117407e8bfcf21fd5 | [] | no_license | UnnamedOrange/Contests | a7982c21e575d1342d28c57681a3c98f8afda6c0 | d593d56921d2cde0c473b3abedb419bef4cf3ba4 | refs/heads/master | 2018-10-22T02:26:51.952067 | 2018-07-21T09:32:29 | 2018-07-21T09:32:29 | 112,301,400 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstring>
const int maxn = 100010;
const int maxlen = 10010;
const int maxt = 20;
const int inf = 1000000000;
using namespace std;
int n, m;
char genes[maxn][maxlen];
int lens[maxn];
int o, t;
int a[maxt];
int main()
{
freopen("biology.in", "r", s... | [
"lycheng1215@sina.com"
] | lycheng1215@sina.com |
3acc19fe483a1635b582df3acbe03132fd3140fc | 61c263eb77eb64cf8ab42d2262fc553ac51a6399 | /src/RandomSample.cpp | b234c63cee74e231c5525b905a24d76cf6b0f92e | [] | no_license | ycaihua/fingermania | 20760830f6fe7c48aa2332b67f455eef8f9246a3 | daaa470caf02169ea6533669aa511bf59f896805 | refs/heads/master | 2021-01-20T09:36:38.221802 | 2011-01-23T12:31:19 | 2011-01-23T12:31:19 | 40,102,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,432 | cpp | #include "global.h"
#include "RandomSample.h"
#include "RageSound.h"
#include "RageUtil.h"
#include "RageLog.h"
RandomSample::RandomSample()
{
m_iIndexLastPlayed = -1;
}
RandomSample::~RandomSample()
{
UnloadAll();
}
bool RandomSample::Load( RString sFilePath, int iMaxToLoad )
{
if( GetExten... | [
"davidleee121@gmail.com"
] | davidleee121@gmail.com |
4998bc939271249d0cc2660f0b7e6dcde769dcab | f175bcab3c2f0aad7378c94ac220256982ab2027 | /Temp/il2cppOutput/il2cppOutput/AssemblyU2DCSharp_UnityEngine_UI_Extensions_Tweens1946830705.h | 58cf513365ddd2fc1a8a427288f52cdf751c8598 | [] | no_license | al2css/erpkunity | 6618387e9a5b44378e70ccb859d3b33a7837268c | c618dc989963bcd7b7ec9fa9b17c39fff88bb89b | refs/heads/master | 2020-07-22T04:59:49.139202 | 2017-06-23T16:33:13 | 2017-06-23T16:33:13 | 94,344,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,932 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Object
struct Il2CppObject;
#include "mscorlib_System_Object2689449295.h"
#include "AssemblyU2DCSharp_UnityEngine_UI_Extensions_Tweens_798271509.h"
#ifdef __clang__
#pragm... | [
"alecsdulgheru@gmail.com"
] | alecsdulgheru@gmail.com |
3c1cdf348f0ee8eaac9242fd3bf4b3f35c52e338 | 5ffc0fbd1388d6b076233a99f7f737457ee8363d | /Framework/Source/Objects/SpriteSheet.h | 3be33f15c450cfdba45ae6266f8fbf426a042b33 | [] | no_license | sahilshaikhts/20F_GAM1571 | 6f1b8411c45cf04f3a620f0a7e76830d167fff00 | 49d0a0398aab937f63303738015e0d32becdb7c7 | refs/heads/master | 2023-01-23T03:36:30.552026 | 2020-12-08T21:03:24 | 2020-12-08T21:03:24 | 294,140,173 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | #pragma once
#include "Math/Vector.h"
namespace fw {
struct Sprite
{
vec2 m_UVScale = vec2(1,1);
vec2 m_UVOffset = vec2(0,0);
Sprite() {}
Sprite(vec2 scale, vec2 offset) { m_UVScale = scale, m_UVOffset = offset; }
};
class SpriteSheet
{
public:
public:
SpriteSheet(const char* filename);
virtual ~Sprit... | [
"sahilshaikhts@gmail.com"
] | sahilshaikhts@gmail.com |
03e954190bd4a2df81085b688b0e951655a26056 | 910a5bb04e96f582a23f9386f71c897866a49069 | /OpenCV_Basics_03/main.cpp | c6a9ff0814f7096b38f9b6f734f16d77a46e497c | [] | no_license | nanogens/VCPP_OpenCV | a0f961195af79befc9f9f8f57db359bdf174089a | ff5e01704b0209d253bcfd02ea0a10365f81a9c5 | refs/heads/master | 2020-04-05T06:33:17.543314 | 2018-12-19T18:42:13 | 2018-12-19T18:42:13 | 156,641,897 | 1 | 0 | null | 2018-11-08T03:04:09 | 2018-11-08T02:58:30 | null | UTF-8 | C++ | false | false | 574 | cpp | #include "opencv2\opencv.hpp"
#include <chrono>
#include <thread>
using namespace cv;
int main(int agrv, char** argc)
{
auto start = std::chrono::steady_clock::now();
std::this_thread::sleep_for(std::chrono::milliseconds(2));
auto end = std::chrono::steady_clock::now();
auto delta = end - start;
std::cout << s... | [
"37455949+nanogens@users.noreply.github.com"
] | 37455949+nanogens@users.noreply.github.com |
6eb34730a9ddbcc40ff9cc57e00952bcb989c8b0 | 6fe26c7fb9f3ed167e0c78c73870986a450e1d8a | /Milestone-3/project_2_17.4/ip_repo/my_ip_hls/solution1/syn/systemc/my_ip_hls_entry83.h | 66e8c7c30b61efbeb0aca220a3e88e069233ec66 | [
"MIT"
] | permissive | CSpyridakis/Reconfigurable-Computing | 17b0bbd9b879c4dcf430d9b3fd682e1e2d254b4d | 345316489786c6470e47c66b0bf4a73d2ac4b0c0 | refs/heads/master | 2021-06-30T03:55:05.568758 | 2020-10-13T20:22:04 | 2020-10-13T20:22:04 | 173,803,738 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,434 | h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2017.4
// Copyright (C) 1986-2017 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#ifndef _my_ip_hls_entry... | [
"spyridakischristos@gmail.com"
] | spyridakischristos@gmail.com |
93ee4fbe35e2fdb525fa580b22807a918db7544b | 00d59fc683ae26dbda511bab355836b9e2e6b43d | /poj/3629/11780742_TLE.cpp | 63a08aba4612c1e5eeea959c684585b032ae3b6e | [] | no_license | howardchina/ACM-ICPC-solved-problem | 01f8744c12b765ffc0ea23600fab79c58a5f6e0e | 63805f390c754c4561d43c4902939eff26ad7cbd | refs/heads/master | 2020-04-01T20:22:33.562335 | 2018-12-11T09:09:03 | 2018-12-11T09:09:03 | 153,601,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,632 | cpp | //#include <stdio.h>
//#include <stdlib.h>
//
//int card[100010];
//int good[50010];
//int sto[15];
//
//int comp(const void *a, const void *b) {
// return *(int *)a - *(int *)b;
//}
//
//int main()
//{
// int n = 0, k = 0, p = 0, cnt = 0, time = 0;
// while(~scanf("%d%d%d", &n, &k, &p)) {
// cnt = 0;
/... | [
"978632333@qq.com"
] | 978632333@qq.com |
5d8c9920deb43d9188e5de124af7099e65c82592 | bec57aaea91919248d940050538f2d27f9197793 | /trie/Trie.h | e47bd88f1adca8dcc3da96b8e84b8c1fd5cf5500 | [] | no_license | sparkfiresprairie/cpc | a58c3fc73c86dd9e5895af3a98295febc4d5bf50 | 657fa7c1fe828f44bbca86a056a50801add25e87 | refs/heads/master | 2021-01-21T06:31:03.075528 | 2017-04-16T04:53:15 | 2017-04-16T04:53:15 | 83,247,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,997 | h | //
// Created by Xingyuan Wang on 3/17/17.
//
#ifndef CPC_TRIE_H
#define CPC_TRIE_H
#include <iostream>
#include <vector>
#include <queue>
#include <cstdlib>
#include <cmath>
#include <string>
#include <map>
#include <set>
#include <unordered_set>
#include <list>
#include <unordered_map>
#include <stack>
#include <de... | [
"xingyuan.wang.zju@gmail.com"
] | xingyuan.wang.zju@gmail.com |
27ccd1c7f6a79e09f506a104846e4861cbe25922 | 9ef4990b207b93197490208a0b572cf71e0d5c1e | /day3/exam8/exam8.cpp | c36d1b006ab33d7f4c4d66c370ce148a922e3433 | [] | no_license | Fuccubus/c_study | 06232c75bd41c71908e3248d33688740d63c543a | 6f0241e9b5d4159dbc4b54354a45613635b5551c | refs/heads/master | 2021-01-21T23:04:53.578990 | 2017-06-28T08:26:53 | 2017-06-28T08:26:53 | 95,185,464 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,751 | cpp | // exam8.cpp : 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#include "exam8.h"
#define MAX_LOADSTRING 100
// 전역 변수:
HINSTANCE hInst; // 현재 인스턴스입니다.
WCHAR szTitle[MAX_LOADSTRING]; // 제목 표시줄 텍스트입니다.
WCHAR szWindowClass[MAX_LOADSTRING]; // 기본 창 클래스 이름입니다.
//... | [
"killabee7102@naver.com"
] | killabee7102@naver.com |
bdfb1ee3d5dbc9021cadfe8838ad7e0a3c616cf4 | 260a986070c2092c2befabf491d6a89b43b8c781 | /styxnet/styxnet_server.h | 96145b6dbca425a4b021ffe6fc8b9d1325473989 | [] | no_license | razodactyl/darkreign2 | 7801e5c7e655f63c6789a0a8ed3fef9e5e276605 | b6dc795190c05d39baa41e883ddf4aabcf12f968 | refs/heads/master | 2023-03-26T11:45:41.086911 | 2020-07-10T22:43:26 | 2020-07-10T22:43:26 | 256,714,317 | 11 | 2 | null | 2020-04-20T06:10:20 | 2020-04-18T09:27:10 | C++ | UTF-8 | C++ | false | false | 2,951 | h | ////////////////////////////////////////////////////////////////////////////////
//
// StyxNet
//
// Copyright 1999-2000
// Matthew Versluys
//
#ifndef __STYXNET_SERVER_H
#define __STYXNET_SERVER_H
////////////////////////////////////////////////////////////////////////////////
//
// Includes
//
#inc... | [
"razodactyl@gmail.com"
] | razodactyl@gmail.com |
1f65ef9a6db12d8c661a1811e4fa18245cd78e91 | d0d5fac9b0635f75dc211ceb68d16e9b4399bb11 | /src/hiphop-php/hphp/test/test_parser_expr.cpp | 75933246cc9dbcdff70607968b40cd8f530b07f1 | [
"PHP-3.01",
"Zend-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | NeoTim/hiphop-php-docker | 2ebf60db2c08bb93aef94ec9fab4d548f8f09bf4 | 51ae1a35e387c05f936cf59ed9d23965554d4b87 | refs/heads/master | 2020-04-16T09:17:51.394473 | 2017-12-03T18:45:36 | 2017-12-03T18:45:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,192 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"mikesjett@gmail.com"
] | mikesjett@gmail.com |
5f8bda2d7cda0d0f7ca950cc39b249f44e43bef2 | 427031e8e6ccfc4f42d3f0631c6f2cc9936dc599 | /RogueArcher-master/RogueEngine/Source/Editor.cpp | 20818095729d323221d24644ae948488d4098dbf | [] | no_license | silferysky/ExaleSample | cf1b1d14d9f67938c67ad5c5d71b26b3011962d8 | 7a4d2c651ed509c1a07e5bc6805f1afb93523908 | refs/heads/master | 2021-04-05T07:25:06.861744 | 2020-03-19T15:12:31 | 2020-03-19T15:12:31 | 248,532,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,849 | cpp | /* Start Header ************************************************************************/
/*!
\file Editor.cpp
\project Exale
\author Loh Kai Yi,kaiyi.loh,390002918 (100%)
\par kaiyi.loh\@digipen.edu
\date 1 December,2019
\brief This file contains the functions for... | [
"deathysayshi@gmail.com"
] | deathysayshi@gmail.com |
8ed97c0063b69c2e6a4ecbb031580138720d8ec4 | c8fc181e08fd21315b6882e3c103f2fda6d60aee | /src/linear_seperator.cpp | 3db1ff6e21892ee9b008ccb383cfc85649fc6207 | [] | no_license | maitreygram/LightNN | 7be36e6589bb3a74427e48eca55b290b85042a7b | daff3595a74cfb0dbbba76b296a826094ffc564b | refs/heads/master | 2021-10-13T23:04:04.150538 | 2018-07-20T21:17:51 | 2018-07-20T21:17:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | cpp | #include <iostream>
#include <vector>
using namespace std;
double alpha; //learning rate
class perceptron{
double w0 = 0, w1 = 0;
bool trained = false;
bool check(double x, double y, double z);
bool check(vector<double> data[]);
void trainiter(vector<double> data[]);
public:
perceptron();
~perceptron();
void ... | [
"maitreygramo12@gmail.com"
] | maitreygramo12@gmail.com |
fa1dd7c9ec3d5765482b71a395923a9049852875 | ffc7cc818a3f4c0397232238fcf4afb293180afd | /p80.cpp | 56fb54721483342e2486bc0645ee8293f2fcc882 | [] | no_license | TonyChouZJU/c---primer | e87cef617cca039739127a80986c7c4cb248bfe2 | aaa0c4e81fdffed07c32b331e6cb0f58955335f3 | refs/heads/master | 2016-08-04T23:58:30.493836 | 2015-06-24T05:53:24 | 2015-06-24T05:53:24 | 22,288,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include<iostream>
#include<string>
using namespace std;
int main(void)
{
string s1 = "hello",s2 = "world";
string s3 = s1 + "," + s2 + '\n';
cout<<s3<<endl;
}
| [
"zhoudaxia@zhoudaxia-P467.(none)"
] | zhoudaxia@zhoudaxia-P467.(none) |
0e8ca35e7cdf7247e47bc1ec2521e0639180c5a5 | fc5b051cce9603c9df2da5c57778ea1885738e05 | /SDL/Shape.h | 76300a82fb7e42e3b4ce9726bade0cef70f0b5d8 | [] | no_license | Liam-Howe/PiratesPlayground | 319c10d8686c22be9fcb66cac8a6f1c6b71049c5 | 134b482e537c351b0e144b0981fa1be4f71c7185 | refs/heads/master | 2021-05-12T16:12:17.875121 | 2018-01-10T21:16:11 | 2018-01-10T21:16:11 | 117,006,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | h | #pragma once
#include "Vector2.h"
#include <vector>
#include <SDL.h>
class ParticleManager;
/// <summary>
/// This is used by the ParticleObj. It holds the type and vertices list of the shape and manages all the rotation and drawing of the shape.
/// </summary>
class Shape
{
public:
/// <summary>
/// The different... | [
"laaim1995@gmail.com"
] | laaim1995@gmail.com |
6103dfb05f0b0d8cfe8b8858cbfa15da57452c8c | 7e167301a49a7b7ac6ff8b23dc696b10ec06bd4b | /prev_work/opensource/fMRI/FSL/fsl/extras/include/boost/boost/mpl/aux_/template_arity.hpp | 8853e157a3580fba9341f670990f011936d573e7 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Sejik/SignalAnalysis | 6c6245880b0017e9f73b5a343641065eb49e5989 | c04118369dbba807d99738accb8021d77ff77cb6 | refs/heads/master | 2020-06-09T12:47:30.314791 | 2019-09-06T01:31:16 | 2019-09-06T01:31:16 | 193,439,385 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,821 | hpp |
#if !defined(BOOST_PP_IS_ITERATING)
///// header body
#ifndef BOOST_MPL_AUX_TEMPLATE_ARITY_HPP_INCLUDED
#define BOOST_MPL_AUX_TEMPLATE_ARITY_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
//... | [
"sejik6307@gmail.com"
] | sejik6307@gmail.com |
a945bea650842d226dd7fcb5fe6bfb31c91bbafd | b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1 | /C++ code/Uva Online Judge/Q758.cpp | d0d76bd25d5e8a76b557e93737f5c6747cbe717d | [] | no_license | fsps60312/old-C-code | 5d0ffa0796dde5ab04c839e1dc786267b67de902 | b4be562c873afe9eacb45ab14f61c15b7115fc07 | refs/heads/master | 2022-11-30T10:55:25.587197 | 2017-06-03T16:23:03 | 2017-06-03T16:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | cpp | #include<cstdio>
#include<cassert>
#include<algorithm>
#include<vector>
using namespace std;
void getmax(int &a,const int b){if(b>a)a=b;}
struct DisjointSets
{
int DATA[150],SIZE[150];
void Clear(const int n){for(int i=0;i<n;i++)DATA[i]=i,SIZE[i]=1;}
int Find(const int a){return DATA[a]==a?a:(DATA[a]=Find(DATA[a]));... | [
"fsps60312@yahoo.com.tw"
] | fsps60312@yahoo.com.tw |
578fc22da599f3875e1c4b6d5341d4f37a419ddb | 2873a73a83f5c643d7022c9c64d8df0194032f53 | /2015040902_sumForOdd/sum_for_odd.cpp | 4568765e61544ab1f0bfab523464abd09f3f4bbd | [] | no_license | Waynezhai/02_C_hb | 1c52dca611f16a3733cc5f7b49cc630fac77a931 | e7cd41f0df1b5838b2324f2fd8d431aacafccfef | refs/heads/master | 2022-02-13T18:25:26.720566 | 2019-07-11T03:47:56 | 2019-07-11T03:47:56 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 768 | cpp | #include <stdio.h>
int main(void)
{
int i;
int sum = 0;
for (i=1; i<10; i+=2)
{
sum = sum + i;
printf("i = %d; sum = %d\n", i, sum);
}
return 0;
}
/**************************************************************************
时间:2015年4月9日22:42:36
目的:练习for循环
功能:实现1到10之间的奇数和
其他:增强printf打印的调... | [
"wayne@wayne.(none)"
] | wayne@wayne.(none) |
fea0d3c643f3daf1bd4625f0ab5231bb1586c786 | ae4df9435346deec2e0c4a872f7087a2b8a974da | /utils.hpp | d07cd064fe6edcda179604dca121b7cfb9a0827b | [] | no_license | utkarsh24122/urldedupe | 2813ee9ab06b7a9239caa85c0192a73c696e26ad | 8970989c136e3c3c07da7dcfc467ae9327a2c69b | refs/heads/main | 2023-06-29T12:25:02.530125 | 2021-07-30T19:46:09 | 2021-07-30T19:46:09 | 391,171,459 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,232 | hpp | //
//
//
#ifndef URLDEDUPE_UTILS_HPP
#define URLDEDUPE_UTILS_HPP
#include <string>
#include <vector>
class Url;
bool load_urls_from_file(std::vector<Url> &urls, const std::string &filename, bool regex_mode);
void read_urls_from_stream(std::vector<Url> &urls, std::istream &is, bool regex_mode);
bool is_number(con... | [
"noreply@github.com"
] | utkarsh24122.noreply@github.com |
4b480ce2dbf7c68b21b22afde2e8b7984f6b4123 | b991590b3cc5602f933c2361de645c1013286410 | /Source.cpp | 5c6196431703f1d88ccdfb6314cf4b17539fa78f | [] | no_license | sinanbayraktar/CS204Hw5 | aaa8a12227baaa300f24dde54418947a06f649ec | 435188b4a13500ec239cc83b4a15674675ca6410 | refs/heads/master | 2020-09-16T07:24:17.124246 | 2017-06-15T23:30:58 | 2017-06-15T23:30:58 | 94,485,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,877 | cpp | // add #includes, using namespace std; here
#include <iostream>
#include "Plot.h"
int main()
{
Point p;
Plot scatterPlot1;
Plot scatterPlot2;
Plot scatterPlot4;
cout << "Please enter points for plot 1!" << endl;
cout << "Enter Ctrl-Z to stop inserting points" << endl;
while(cin >> p.x >> p.y)
{
scatterPlot... | [
"noreply@github.com"
] | sinanbayraktar.noreply@github.com |
bd9fec739dfbf2f64bf6d01b3421b0ab3dd00b32 | cadb83f173998f3221cca0aee713fbb722fb7822 | /urg_timelapse_4/src/ofApp.cpp | 5b1ff9578ec9a8ce1a6ddc28d0bbc79d295ddcae | [] | no_license | bensnell/urg-videography | b6d58be10cd2ee52e0ebf44e74fd7b677b89ff07 | 79611f9109497c00753261dd2c1ba72e914f317d | refs/heads/master | 2016-08-11T21:31:46.843383 | 2016-01-30T16:44:06 | 2016-01-30T16:44:06 | 50,728,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,601 | cpp | // This Example renamed everything ofApp instead of testApp
#include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
// setup gui
general.add(bDrawTimeline.set("Draw Timeline", true));
general.add(bCameraMouseInput.set("Camera Mouse Input", false));
... | [
"bensnellstudio@gmail.com"
] | bensnellstudio@gmail.com |
f1eba20506bbfd3fe6c39bdc297ab8a218a9091a | b30eebac0a60c386f9dd60969b348006354a4f9e | /tests/core/camera_test.cc | e3b81782ca87f03127d89600aaf8dd0b77702008 | [] | no_license | nakuliyer/cinder-minecraft | 0e82851789d805856a23ab2cfca023289e48d207 | af5a2ea1cf114134c94c02517ec98940f7c380f2 | refs/heads/main | 2023-02-07T06:56:39.871692 | 2020-12-10T05:32:26 | 2020-12-10T05:32:26 | 326,813,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,588 | cc | #include "core/camera.h"
#include <catch2/catch.hpp>
using ci::vec3;
using minecraft::Camera;
bool epsilonEqual(const vec3& first, const vec3& second) {
return glm::length(first - second) < 0.01f;
}
TEST_CASE("Camera can move") {
Camera camera(vec3(0, 0, 0));
SECTION("+x direction") {
camera.TransformX(0... | [
"nakulpiyer@gmail.com"
] | nakulpiyer@gmail.com |
3dbe4894981ad07c906d89904b85f2a1404864b6 | a01d8e2a94e2569ecc992575782cced735d3bf16 | /Source/UE4Online/Public/OnlineCreateSessionWidget.h | ceed844b6ea039eae6ad7aa2373a58aecacf1086 | [] | no_license | horinoh/UE4Online | 76fd81f22df5ff001de41ca7117803770cc7fb98 | b89b754d9536de8c31933554483554a42c292e17 | refs/heads/master | 2021-01-10T10:04:02.324656 | 2020-12-28T11:27:20 | 2020-12-28T11:27:20 | 52,197,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,688 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
/**
*
*/
class UE4ONLINE_API SOnlineCreateSessionWidget : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SOnlineCreateSessionWidget)
: _LocalPlayer()
{}
SLATE_ARGUMENT(TWeakObjectPtr<ULocalPlayer>, LocalPlayer)
SLA... | [
"development@horino.sakura.ne.jp"
] | development@horino.sakura.ne.jp |
747d3d57350033c4c41a2fbc4638c723bcb9dece | 3dac35818be38ce7625cf86256c4158ac2fb3454 | /code/maker/xml_makerWriter.cpp | 838ead3a2c0d72d7034684ebfcce55d5ff1791db | [
"MIT"
] | permissive | jmpcosta/arta | b8f209589368af97cd70be72dfa51386eb145397 | 6590083d2f3d6b46fc7a153dcc0a7d3471cbf3be | refs/heads/master | 2022-12-11T23:25:11.491053 | 2022-12-02T15:44:30 | 2022-12-02T15:44:30 | 175,579,726 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,761 | cpp | // *****************************************************************************************
//
// File description:
//
// Author: Joao Costa
// Purpose: Implementation of the Xerces wrapper class to assist the creation of a XML file
//
// TODO: Class stills requires implementation
//
// *****************************... | [
"jmpc1111@gmail.com"
] | jmpc1111@gmail.com |
9360482eac228238554877f9d6f176df5c146e14 | d4c6151c86413dfd0881706a08aff5953a4aa28b | /src/developer/feedback/feedback_agent/annotations/board_info_provider.h | 78d259feeefff407aad6e727d96f31a9fee71d58 | [
"BSD-3-Clause"
] | permissive | opensource-assist/fuschia | 64e0494fe0c299cf19a500925e115a75d6347a10 | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | refs/heads/master | 2022-11-02T02:11:41.392221 | 2019-12-27T00:43:47 | 2019-12-27T00:43:47 | 230,425,920 | 0 | 1 | BSD-3-Clause | 2022-10-03T10:28:51 | 2019-12-27T10:43:28 | C++ | UTF-8 | C++ | false | false | 2,627 | h | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_FEEDBACK_FEEDBACK_AGENT_BOARD_INFO_PROVIDER_H_
#define SRC_DEVELOPER_FEEDBACK_FEEDBACK_AGENT_BOARD_INFO_PROVIDER_H_
#include <fuchsi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2398765715de02b648c2dc2e862baa21cb99b526 | 3f596399efe0736bb7e062c99d5411f42a5a8c1f | /src/chrono.cc | 2bbb8f419791b7b8f9a2fc97d7652299e4bda601 | [] | no_license | karitra/cpp-playground | bac1ebf323d404b46384704146f374c7077508d9 | 0ff57eb5f6196d7450194cc612278d2efeb9f4e8 | refs/heads/master | 2020-04-02T01:55:50.903850 | 2018-10-12T17:13:51 | 2018-10-12T17:13:51 | 82,164,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cc | #include <iostream>
#include <chrono>
using namespace std;
int main() {
const std::chrono::steady_clock::time_point ts = std::chrono::steady_clock::now();
cerr << "time_point size " << sizeof(ts) << '\n';
}
| [
"karev.alexandre@gmail.com"
] | karev.alexandre@gmail.com |
682ab01d9ff00dba54d7f1c359797f8272c484d4 | b873c7fab30910fab2185d52ac53c33a4ad49dd4 | /src/net.h | 87dcd58d8e30392ea5c7acfca4b66b605e0646b7 | [
"MIT"
] | permissive | QuotationCoin/QUOT-Coin | f6d8c735932c42bb25c6d743ad47d2c21a6ede7d | 16a32e64dc62acdeb9bec2e967372fe3b165b160 | refs/heads/master | 2021-06-26T05:29:58.323114 | 2020-10-25T17:09:28 | 2020-10-25T17:09:28 | 158,283,386 | 6 | 5 | MIT | 2020-10-25T17:09:29 | 2018-11-19T20:07:17 | C++ | UTF-8 | C++ | false | false | 21,103 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NET_H
#define BITCO... | [
"root@localhost"
] | root@localhost |
208f1eba235272e7c2167a8219ede8b98f254355 | dd872497d9dc86dc4337d14065e9f63d9bcab299 | /ConsoleApplication1/ConsoleApplication1.cpp | 443e5ec9f6061931d02408547168c20cbb9b72a7 | [] | no_license | amwqicheng/DataStruct | 703b3107910e1b45125a055fb1af47d915299ce0 | 97d031e0d1e5d7e3519ddebd80171cd8e6165ed7 | refs/heads/master | 2023-03-10T22:38:56.256114 | 2021-02-27T03:06:15 | 2021-02-27T03:06:15 | 342,757,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 186 | cpp | #include<iostream>
//查找元素
#include"F:\数据结构\头文件\stdafx.h"
void visit(ElemType data) {
std::cout << "\n当前数据是" << data << std::endl;
}
int main() {
}
| [
"w528085171@outlook.com"
] | w528085171@outlook.com |
bb7d98a3ca88c7cf00bec8ad14716481e0510356 | 1a3732111ea5a82d3e854b8bb672a80244f6b563 | /zaresd/zaresd_server.cc | 5d9fb138f8f46e2424029dd5630ef723319ccad7 | [] | no_license | erickingxu/zattd | 9ab8db6d8f11e18a15131a56057b18ad563f8d47 | 459b3937dca455ea3413192326e5a776ea6500d4 | refs/heads/master | 2021-01-15T13:36:17.347696 | 2014-12-15T08:06:09 | 2014-12-15T08:06:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,682 | cc | // Copyright (C) 2014 by wubenqi
// Distributable under the terms of either the Apache License (Version 2.0) or
// the GNU Lesser General Public License, as specified in the COPYING file.
//
// By: wubenqi<wubenqi@gmail.com>
//
#include "zaresd/zaresd_server.h"
#include "base/at_exit.h"
#include "base/sys_info.h"
#i... | [
"wubenqi@gmail.com"
] | wubenqi@gmail.com |
d72594934441de7660f0489b9c1f945576362269 | b0c26cd757ff826a49d214db45788e871c9af372 | /subscriber3.ino | 1bfbeec04a62dbb52ae2019bf69c1f1a922d130c | [] | no_license | ramanjeet995/Arduino-subscriber | ac21f4166fe4a9b6bcc85ab10f0eac42c3e80093 | fb59898ce99e2e159d1486d01611224ad511d210 | refs/heads/main | 2023-07-11T01:20:27.663077 | 2021-08-23T05:32:56 | 2021-08-23T05:32:56 | 398,760,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,637 | ino | #include <ros.h>
#include <math.h>
#include <geometry_msgs/Twist.h>
#include <Stepper.h>
#include <LiquidCrystal_I2C.h>
//I2C pins declaration - white5v,black-gnd,red A5, brown A4
LiquidCrystal_I2C lcd(0x27, 16,2);
Stepper left(200, 8, 9, 10, 11);
Stepper right(200, 4, 5, 6, 7);
void motion(const geometry_msgs::Twist... | [
"noreply@github.com"
] | ramanjeet995.noreply@github.com |
92ca84b8861b790ffed6c4926cc969cc0437b856 | 3f94fde265e466368ca72a9b26c7a404cf2fba8f | /Editor/src/hierarchy/qobjectwidgetitem.cpp | 8ee6635827a2807fc6cc651f3a2bbf72a5d278b0 | [] | no_license | HanfeiChen/ray-tracer | f0c3937525a81205281ce19b90fe4d250003dd94 | 83657818d45cb4f495c2068dc9595960bc0bf1f0 | refs/heads/master | 2022-11-10T06:38:25.432149 | 2020-06-26T21:22:27 | 2020-06-26T21:22:27 | 275,250,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,534 | cpp | /****************************************************************************
* Copyright ©2017 Brian Curless. All rights reserved. Permission is hereby
* granted to students registered for University of Washington CSE 457 or CSE
* 557 for use solely during Autumn Quarter 2017 for purposes of the course.
* No oth... | [
"paquinn@cs.washington.edu"
] | paquinn@cs.washington.edu |
1fdc2c012f204dd4e2b0d9a89736586d3e26224b | e34ee0b56b10fd0682daf26089676a3e69327ed1 | /Difficulty-level-2/k_string.cpp | 1c6b900f6a5b622a3374a00154510bdaac7536ec | [] | no_license | biswa1612/Codeforces-solution | 70201958d7317a3c255150e0d3a623e857ecfb70 | 4aef4ab2eddf5fcbc2ceb047d91e35e59e33465a | refs/heads/master | 2023-06-24T04:37:18.335235 | 2021-04-09T18:26:56 | 2021-04-09T18:26:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
//don't copy it directly, even if you don't understand it try to solve this one by taking a example and solve it in your copy
int main() {
int k,count=0;
char ch;
cin>>k;
string s;
cin>>s;
int l=s.length();
sort(s.begin(),s.end());
for(in... | [
"noreply@github.com"
] | biswa1612.noreply@github.com |
80f8502689effcee356d8a6b883322cc8e1898bc | 038300ef998bb1f92941898cfa5883ab6dffc50f | /DingTool/DingToolDlg.h | dede65805b4f4a650476218c49aefc2b834062e1 | [] | no_license | 204065248/DingTool | 71e385a76f0f6cc60eddc8ba3b40bcc973c29489 | 7db419817ea8c97f61ba619cd49177db0d2fa6e2 | refs/heads/main | 2023-08-05T14:40:58.221818 | 2021-09-26T05:14:41 | 2021-09-26T05:14:41 | 410,456,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | h |
// DingToolDlg.h: 头文件
//
#pragma once
// CDingToolDlg 对话框
class CDingToolDlg : public CDialogEx
{
// 构造
public:
CDingToolDlg(CWnd* pParent = nullptr); // 标准构造函数
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DINGTOOL_DIALOG };
#endif
protected:
virtual void DoDataExchange(CDataExchange*... | [
"noreply@github.com"
] | 204065248.noreply@github.com |
87a2bec80101b6d3f4de4405ccb0f98b010b9580 | 47330cada7764bc3479952e536f3c6f67c8066f6 | /DirectX Engine/DirectXEngine/Tracker.cpp | 420d1a2a723f6934c47aa72b6ea6217e140c2d1a | [] | no_license | ChrisHargrove/University-DirectX | 570c114a41bb73513fbb2bce93256378f193c94f | 6a0500a62513f5ad720651feaa2e2604a3a41d0a | refs/heads/master | 2021-09-07T16:59:47.256061 | 2018-02-20T16:39:49 | 2018-02-20T16:39:49 | 105,535,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,328 | cpp | #include "Tracker.h"
/*******************************************************************************************************************
Function that initializes all the trackers default settings
*******************************************************************************************************************/
boo... | [
"kimmy@kimmyofficial.com"
] | kimmy@kimmyofficial.com |
12a87afb0addac1d7a780763b249a073d93248e5 | c96607ecd41fb1afa317c8361993558245bff556 | /vector/simd/test/Old/TestShift.cpp | e1a2fdebf66b82b47faa0218543a43c6a478106a | [] | no_license | xy095045/VectorBench | c211b096e874d1017e5f8af4181e578e2a6221bd | 77073a06779a1dbd948bd5f5a37660946ae07750 | refs/heads/master | 2021-10-18T23:57:25.428775 | 2019-02-15T15:38:14 | 2019-02-15T15:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,193 | cpp | /*
* Tests for Simd Library (http://simd.sourceforge.net).
*
* Copyright (c) 2011-2016 Yermalayeu Ihar.
*
* 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... | [
"charithm@mit.edu"
] | charithm@mit.edu |
91e02acd7adbcb3012556ff21db6bdec0a8bf78f | 4a6bd84b5c73cac9ceeb7a221eae9463c09068d0 | /src/statistics.cpp | 88a1e5aac0ede8c96468202eb82ff9d934469ef3 | [
"MIT"
] | permissive | kampersanda/dataset-tools | 539d1b9a2325500b7371b047cf8b49cd3990e35b | 0de2ca174fc12a869893630c9f94e73d18d22a04 | refs/heads/master | 2022-04-22T06:55:02.146644 | 2020-04-22T18:46:09 | 2020-04-22T18:46:09 | 140,366,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,629 | cpp |
#include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <limits>
#include "cmdline.h"
double zero_emp_entropy(const size_t* freqs, size_t n) {
double entropy = 0.0;
for (int i = 0; i < 256; ++i) {
if (freqs[i] != 0) {
double nc = double(freqs[i]);
... | [
"shnsk.knd@gmail.com"
] | shnsk.knd@gmail.com |
32b46fb4149db3bb6b051d3a9b1dc5f0b17d7518 | 13f1ff12873c242e56e53feed402bd1fb6b7405c | /hw4-XiaoLeS-master/src/include/AST/UnaryOperator.hpp | 10428a10828a450049df67c50adf2432abbba5e2 | [
"MIT"
] | permissive | battlebrian/CompilerDesign | 4460acfc29f25345077f4b717143c3f2df3bdb46 | 7bd9883d94d60655e26f403cb24af2ef67f9343a | refs/heads/main | 2023-08-31T09:42:37.297351 | 2021-10-12T15:00:45 | 2021-10-12T15:00:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | hpp | #ifndef __AST_UNARY_OPERATOR_NODE_H
#define __AST_UNARY_OPERATOR_NODE_H
#include "AST/expression.hpp"
#include "AST/operator.hpp"
#include <memory>
class UnaryOperatorNode : public ExpressionNode {
public:
UnaryOperatorNode(const uint32_t line, const uint32_t col, Operator op,
ExpressionN... | [
"wlsun.ee06@nycu.edu.tw"
] | wlsun.ee06@nycu.edu.tw |
2f9923248e7455bc7380b4aeb925235ee9a34e51 | 549bd1dbd200d5e360bb487189303eaf364c6070 | /Game/src/Entities/MagicBallScript.cpp | 6418185c31e529e044c3bc74ff1e42859ba4e386 | [
"CC-BY-4.0"
] | permissive | Mazi-S/cgue21-ArcaneArts | ad2b052d75aa9a5a6a1f2bbb57617553fd91dc34 | 30391a9b3b8979798020fb9f82231a80b2de655c | refs/heads/main | 2023-05-29T16:16:37.898875 | 2021-06-16T15:24:48 | 2021-06-16T15:24:48 | 305,511,887 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,022 | cpp | #include "MagicBallScript.h"
#include "Components/GameComponents.h"
using CollisionEventComponent = Engine::Component::Event::CollisionEventComponent;
using TransformComponent = Engine::Component::Core::TransformComponent;
float MagicBallMana(MagicBallType type)
{
switch (type)
{
case MagicBallType::Light:
retu... | [
"mathias.schwengerer@gmail.com"
] | mathias.schwengerer@gmail.com |
f52044a37124e882a6554986f5f856374e5af29f | 4720157828454b33572d9af2d53aa14a29a8e1f2 | /lte_phy_sim/lte_phy_sim/PHY/LTE_TRANSPORT/pucch.cpp | b40c65230946fe251d4e071d355bcc8b4a3e617f | [] | no_license | huier103/virtual | 810a784943b6888240b8b6b181a887f4ba8b5d31 | 137c3c27633b0d0c241b87c7e2514eea849e30c4 | refs/heads/master | 2021-01-10T10:09:55.782350 | 2015-10-13T02:58:55 | 2015-10-13T02:58:55 | 44,146,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,718 | cpp | /*******************************************************************************
Eurecom OpenAirInterface
Copyright(c) 1999 - 2011 Eurecom
This program is free software; you can redistribute it and/or modify it
under the terms and conditions of the GNU General Public License,
version 2, as published by the ... | [
"531220010@qq.com"
] | 531220010@qq.com |
79bc9e24a14b542f73a9c260afc720123d8222d1 | 3f584adcccef8f067f9fdb13fec990438170e009 | /PHI1/Library/Il2cppBuildCache/UWP/x64/il2cppOutput/Generics1.cpp | 6ec0e52d0fd3bf6f87c9e891b67966a65374a8c5 | [] | no_license | radumsk/PHIsicsMasters | 958a5d04bf088c6c56f1c03cf54fd14f5d3a359b | ea76a8f63b438b3cead72164c88a64e822e53b4e | refs/heads/main | 2023-04-20T06:05:32.790972 | 2021-05-11T14:15:39 | 2021-05-11T14:15:39 | 337,515,220 | 0 | 1 | null | 2021-03-15T20:48:02 | 2021-02-09T19:36:27 | C# | UTF-8 | C++ | false | false | 2,161,817 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename T1, typename T2>
struct VirtActionInvoker2
{
typedef void (*Action)(void*, T1, T2, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, Run... | [
"tudorandreicoman@yahoo.com"
] | tudorandreicoman@yahoo.com |
28f9ab8c493544824bd80c101c300ff4433e8558 | 957b6c4ed7b0d06815bf94f37f10fab772ef01fa | /DynamicArray/DynamicArray.h | cfa8b8b50bcf3fd363a383fd1c1ecf3ea2e793f8 | [] | no_license | drewfunderburk/CodeDesignAndDataStructures | f4883255127c32ae7683c3cb7ea2aab0f5d0fece | cc894ff1c3e39276fe4a2a85fa42365b5f71b610 | refs/heads/main | 2023-02-24T07:31:21.930537 | 2021-01-29T19:53:39 | 2021-01-29T19:53:39 | 333,550,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | h | #pragma once
template<typename T>
class DynamicArray
{
public:
DynamicArray<T>()
{
m_items = new T[m_length];
}
~DynamicArray<T>()
{
delete[] m_items;
}
void push(T item)
{
T* temp = new T[m_length + 1];
for (int i = 0; i < m_length; i++)
temp[i] = m_items[i];
temp[m_length] = item;
m_items = ... | [
"kevinfunderburkbusiness@gmail.com"
] | kevinfunderburkbusiness@gmail.com |
28858d4d23719a504e728180de5cfc667032eb41 | d8375b3c2e85dd82753d70c09cd7ca3160233944 | /Arduino/WebServer.ino | 02499d8c776eeefdfd157b6a726a07fc3dd3c069 | [] | no_license | axrez/signalkass | 9f14b05f3ad635ea09adcf1d4c9f7fd848706756 | a5280521a632763c9e8d3f919f2a8fe0d1af911b | refs/heads/master | 2022-12-11T20:29:18.407662 | 2019-08-08T20:30:28 | 2019-08-08T20:30:28 | 175,372,174 | 0 | 0 | null | 2022-12-09T17:38:26 | 2019-03-13T07:51:52 | JavaScript | UTF-8 | C++ | false | false | 1,444 | ino | #include <WiFi.h>
#include <WebServer.h>
#include <Wire.h>
#include <SSD1306.h>
const char* ssid = "signalkass";
const char* password = "12345678";
WebServer server(80);
const int led = 13;
SSD1306Wire display(0x3c, 21, 22, GEOMETRY_128_32);
bool displayAddress = false;
int dTime = 0;
int tempTime = 0;
void h... | [
"isdragon112@gmail.com"
] | isdragon112@gmail.com |
5cfee759a911bd9dc1015b7c6c303776f42bde34 | f9e0985e35bc4211adaf73d2c78ce8e8b2645db3 | /src/E_AS3935.cpp | 3ae55c0d3a7516f8818c2c1aff2b43a4cddb9ab3 | [] | no_license | tschaban/AS3935-ESP-I2C | 054d9b105645e8da2ac48a97ccf54039ef151bf6 | 90f9ba6f819cac4811ad64b31b2fc584be86c3a6 | refs/heads/master | 2023-01-29T13:57:18.796886 | 2020-12-13T09:25:00 | 2020-12-13T09:25:00 | 263,743,532 | 0 | 1 | null | 2020-05-13T21:08:46 | 2020-05-13T21:08:45 | null | UTF-8 | C++ | false | false | 8,894 | cpp | #include <AS3935.h>
#include <Wire.h>
/*
* a line-by-line port of https://github.com/pcfens/particle-as3935/
* an exercise for me to write a library.
*/
/**
* Constructor.
* @param address I2C address of AS3935.
* @param interruptPin pin that is tied to IRQ pin of AS3935.
*/
AS3935SENSOR::AS3935SENSOR() {}
A... | [
"github@adrian.czabanowski.com"
] | github@adrian.czabanowski.com |
398bfb01fddaf5d4611ab0e28c957f6bfe2aae9c | bbac542e3eacbdae9703a9bbb9f045c4d9965fff | /Source/DSP/MLProcRMS.h | 7d8199af87f050815a36eba45c57c73afa64ad40 | [
"MIT"
] | permissive | EQ4/madronalib | 7ccfab49c61d14209575a0a4a8a0deb55b0658ce | 06956622d2854477e3238df2f4f0b92e2d44e87c | refs/heads/master | 2021-01-17T00:25:01.401396 | 2015-10-15T00:19:06 | 2015-10-15T00:19:06 | 44,367,027 | 1 | 0 | null | 2015-10-16T06:39:10 | 2015-10-16T06:39:09 | null | UTF-8 | C++ | false | false | 770 | h | //
// MLProcRMS.h
// Kaivo
//
// Created by Randy Jones on 6/3/15.
//
//
#ifndef Kaivo_MLProcRMS_h
#define Kaivo_MLProcRMS_h
// MadronaLib: a C++ framework for DSP applications.
// Copyright (c) 2013 Madrona Labs LLC. http://www.madronalabs.com
// Distributed under the MIT license: http://madrona-labs.mit-license... | [
"randy@madronalabs.com"
] | randy@madronalabs.com |
30825374176a1a59f2eb13bdfcb348be75169b4f | e836a1bd642af22d66ee81b691f59ff3161c2a11 | /system/utest/fs-vnode/pseudo-dir-tests.cpp | ba78097da7c587a40e04a26091f67cc535aa7a28 | [
"BSD-3-Clause",
"MIT"
] | permissive | guodawei/zircon | c9eb373b1a321132ebb091254343d5d3e9e2e58d | 51950f37d8750324940b0fa5f6676c911b7b59ab | refs/heads/master | 2021-08-18T17:18:51.891277 | 2017-11-23T06:57:39 | 2017-11-23T07:29:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,784 | cpp | // Copyright 2017 The Fuchsia 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 <fs/pseudo-dir.h>
#include <fs/pseudo-file.h>
#include <unittest/unittest.h>
namespace {
class DirentChecker {
public:
DirentChecker(const ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4101884d479e7645fdcd5a379515e32df812cbd5 | 02063a0998fee56e207e09859427df54654c6e73 | /SortingAlgo/mergeSort.cpp | de448644b58bc10379d38f1f1aa6fc5814d9a10f | [] | no_license | PMPatel8681/C | 5d86f17872b17fd7fd702e8bc6d9e924d99a78f1 | f49b0085f25493c7670dbaedbcca2038f00bd34a | refs/heads/master | 2021-04-15T13:58:30.361923 | 2016-05-27T17:16:49 | 2016-05-27T17:16:49 | 59,843,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,742 | cpp | #include <iostream>
#include <vector>
#include <cstdlib>
#include <ctime>
using namespace std;
/**
* Mergesort algorithm (driver).
* Allocates the "tmpArray"
*/
template <typename Comparable>
unsigned long mergeSort( vector<Comparable> & a )
{
vector<Comparable> tmpArray( a.size() );
return mergesort( a, tm... | [
"pinalp84@gmail.com"
] | pinalp84@gmail.com |
2011eb9ec1fb4c587dd150b2d4d104db840ed31f | 6e9b20902f4e232d12e865f192ea5128ae253ba7 | /Fluid/0.8/pointDisplacement | 8b80248ab842dfda1b9ce87ee5a6c0bc04ba171b | [] | no_license | abarcaortega/FSI_3 | 1de5ed06ca7731016e5136820aecdc0a74042723 | 016638757f56e7b8b33af4a1af8e0635b88ffbbc | refs/heads/master | 2020-08-03T22:28:04.707884 | 2019-09-30T16:33:31 | 2019-09-30T16:33:31 | 211,905,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
881e37ce9ab6dc3f6791897074b183e535561679 | 1855b3540855a2e3b049df089d116b2349002180 | /include/Card.h | 26d7d754b48afa4b6bd28074dbb428b1b6ee7bb7 | [] | no_license | SashimiGirl/SiStone | 8f5aed347d39d13d8609e3628a9d646d4a70ac15 | 1b14482bd7e33910a1b3d3c7afd25a023a6af92a | refs/heads/master | 2021-08-22T17:04:00.579220 | 2017-11-30T18:29:41 | 2017-11-30T18:29:41 | 112,645,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,566 | h | #ifndef CARD_H
#define CARD_H
#include <iostream>
#include <string>
#include <vector>
using namespace std;
class Card
{
public:
Card(int, int, string, string);
Card(int = 0);
virtual ~Card();
void setCost(int = 0);
void setEffect(int);
void setEffect(string);
... | [
"saramaemoto@gmail.com"
] | saramaemoto@gmail.com |
a390938c7bc2919757d1c20745dafd27480bdad9 | 56782846ce12a4aa65c0cdd41231f82fb09bb2e2 | /c++/2164.cpp | 55b7c879a56c81f8f059f07e36aca393ca2b1f80 | [] | no_license | Zigje9/Algorithm_study | 2eb7255ffae734954944e549ccaab7c4573c3b99 | a6c526b42f8c0e01daf1d699f55c9b0a78741be8 | refs/heads/master | 2023-08-14T02:08:26.395265 | 2021-09-23T01:10:31 | 2021-09-23T01:10:31 | 256,192,531 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | #include <iostream>
#include <deque>
using namespace std;
deque<int> dq;
int N;
int temp;
int main(){
cin >> N;
for(int i=1 ; i<=N ; i++){
dq.push_back(i);
}
while(dq.size()!=1){
dq.pop_front();
temp = dq[0];
dq.push_back(temp);
dq.pop_front();
}
cout << ... | [
"pjkwprn@gmail.com"
] | pjkwprn@gmail.com |
88058c5c935186cce46121e338847e36e1d9107e | 1e8b6ada516efaac51209d0c2d80b4f81217367f | /chef_wars.cpp | 048ba431705d5f881cf2774cfba0c4c202eb06b2 | [] | no_license | aaruagarwal15/CP-codes | 46dd01d5aa1981123ce5bad682762cce14a4cd3b | c0328c370ef0e7cdf4db17fa80b8786a003ea5d8 | refs/heads/master | 2021-07-14T19:38:45.643450 | 2020-08-21T14:25:55 | 2020-08-21T14:25:55 | 200,361,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int p,h;
cin>>h>>p;
while(h > 0 && p > 0){
h = h-p;
p = p/2;
}
if(h > 0) cout<<"0"<<endl;
else cout<<"1"<<endl;
}
return 0;
} | [
"aaruagarwal15@gmail.com"
] | aaruagarwal15@gmail.com |
30dddb76fb40c0967dc774e2c57de3ef0cb3ff96 | 3bec86a19444d5e21dade6fb3d4b9ab7d6ebc9f4 | /src/3rdparty/glm/test/core/core_type_mat3x2.cpp | c36ae7fe263db115e4ce03bc8d64b491b2713427 | [
"MIT",
"BSD-2-Clause"
] | permissive | copperspice/cs_paint | 01f2b470a24b23f2f8cf8e80b650e5e5bec905ed | dc01ccba49259842a61a7b0adae1aa1206d6436c | refs/heads/master | 2023-07-30T22:03:12.532732 | 2023-01-25T17:27:57 | 2023-01-25T17:27:57 | 209,148,794 | 95 | 9 | BSD-2-Clause | 2020-11-21T21:13:27 | 2019-09-17T20:18:16 | C++ | UTF-8 | C++ | false | false | 2,887 | cpp | #include <glm/gtc/constants.hpp>
#include <glm/ext/scalar_relational.hpp>
#include <glm/ext/vector_relational.hpp>
#include <glm/ext/matrix_relational.hpp>
#include <glm/mat2x2.hpp>
#include <glm/mat2x3.hpp>
#include <glm/mat2x4.hpp>
#include <glm/mat3x2.hpp>
#include <glm/mat3x3.hpp>
#include <glm/mat3x4.hpp>... | [
"ansel@copperspice.com"
] | ansel@copperspice.com |
37736e38381fee67df46965239afd43067c7fa0d | f5ffd6cab539ee37c800c43a29ba8ef4c2e46e4a | /hot/fence/proxy/fence_test_service_proxy.cc | f751890beae256e4fcaadba254d6942da6ebcef6 | [
"MIT"
] | permissive | kamcpp/fence-api | 331c3a62900fdf706f0f29cca230d349445f33e4 | de13f018996bdea27482abcc11d74e3201122d43 | refs/heads/master | 2020-04-01T21:07:33.516629 | 2016-05-08T10:54:52 | 2016-05-08T10:54:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,166 | cc | /***************************************************************
* Generated by Hottentot CC Generator
* Date: 07-05-2016 11:20:04
* Name: fence_test_service_proxy.cc
* Description:
* This file contains implementation of the proxy class.
***************************************************************/
#include... | [
"kam.cpp@gmail.com"
] | kam.cpp@gmail.com |
f5d0673426c621099c9f1928026975867933b797 | 029207d5527fe220d2b20ddbe7a0553a21641b48 | /Check for balanced Binary Tree.cpp | 350565fb8fb2979daa3a00a2930bd4308b31f87e | [] | no_license | vivek-011299/Binary-Trees | 4db4acd421ba84ffa6d02890f3fc04c28f29fe85 | af55e4dd8eb3a2d0cac40a9c7be60227ca10d812 | refs/heads/main | 2023-08-01T03:36:22.034816 | 2021-09-05T19:53:03 | 2021-09-05T19:53:03 | 401,292,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 959 | cpp | /*
*
Given a binary tree, determine if it is height-balanced.
For this problem, a height-balanced binary tree is defined as:
a binary tree in which the left and right subtrees of every node differ in height by no more than 1.
Example 1:
Input: root = [3,9,20,null,null,15,7]
Output: true
Example 2:
Input: root... | [
"noreply@github.com"
] | vivek-011299.noreply@github.com |
69b086ba0d095f88c936d67d04a12acf848c944f | 74a4d06311ac2b1decfa41719b96c894b88917b5 | /inference-engine/src/transformations/src/transformations/common_optimizations/broadcast_elementwise_fusion.cpp | 62adcca0675b232230152f24c95c3cd129bbe661 | [
"Apache-2.0"
] | permissive | hwly/openvino | ac475923670b2720163ca4532e32e76a6ebba451 | 84c06e0856994696352ed051d9825aa28756f36b | refs/heads/master | 2023-02-17T17:40:50.899897 | 2021-01-14T08:59:31 | 2021-01-14T08:59:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,322 | cpp | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "transformations/common_optimizations/broadcast_elementwise_fusion.hpp"
#include <ngraph/opsets/opset5.hpp>
#include <ngraph/pattern/op/wrap_type.hpp>
NGRAPH_RTTI_DEFINITION(ngraph::pass::BroadcastElementwiseFusion, "Broa... | [
"noreply@github.com"
] | hwly.noreply@github.com |
321b4b250209fdae8679333f43bbbb2e058f2e49 | 81f4dbea538e610e2d061a690ad797555119ec65 | /src/.svn/pristine/32/321b4b250209fdae8679333f43bbbb2e058f2e49.svn-base | e6fbbfcda1058c1162efe8c7283dbf1adb02b6fb | [] | no_license | TakashiSasaki/MozcForLowVision | 87f4671e2d1f2d7c554d0081201a9069fe40b62f | b4b3a7431a7d5e0e004a604962970699321c1151 | refs/heads/master | 2020-05-30T13:09:42.429636 | 2013-12-18T08:14:15 | 2013-12-18T08:14:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,811 | // Copyright 2010-2013, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | [
"watanabe-3@ONO-PC.ICTDESIGN"
] | watanabe-3@ONO-PC.ICTDESIGN | |
cf0449e87e196cd6987e29e4e597a5010709bd37 | cccadd8ed4cb47c13c5df485a4bf4af1328864d9 | /Esp32Sequencer.ino | b155a853f062abd7602848549c94c893e482be03 | [] | no_license | aoreskovic/ESP32_sequencer | baa1395363ac5683338b7de543723c7bdeddfe9b | d62b8b1a29812a0e97a82744dd479d2baff4713f | refs/heads/master | 2021-04-25T04:44:24.070145 | 2017-12-18T15:53:12 | 2017-12-18T15:53:12 | 114,659,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,846 | ino |
#include <Wire.h>
#include "SSD1306.h"
#include "OLEDDisplayUi.h"
#define D0 15
#define D1 14
#define D2 12
#define D3 13
SSD1306 display(0x3c, 5, 4);
/*
const int seq[] = { 1, 2, 3, 0, 0,
5, 3, 6, 5, 2,
6, 7, 6, 5, 2,
0, 0, 4, 3, 5,
... | [
"ante.oreskovic@outlook.com"
] | ante.oreskovic@outlook.com |
c022afc9254bcf8cc35ab6f61961dff9e18eea73 | f8df0470893e10f25f4362b84feecb9011293f43 | /build/iOS/Preview/include/Fuse.Input.GesturePriority.h | 91e1df6dd450d9775d1547b5bdfab667013044e5 | [] | no_license | cekrem/PlateNumber | 0593a84a5ff56ebd9663382905dc39ae4e939b08 | 3a4e40f710bb0db109a36d65000dca50e79a22eb | refs/heads/master | 2021-08-23T02:06:58.388256 | 2017-12-02T11:01:03 | 2017-12-02T11:01:03 | 112,779,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Nodes/1.4.0/Input/Gesture.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Input{
// public enum GesturePriority :15
uEnumType* GesturePriority_typeof(... | [
"cekrem@Christians-MacBook-Pro.local"
] | cekrem@Christians-MacBook-Pro.local |
847e9a77f60ac5faf8423a83682fddde67ad3934 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Plugins/Experimental/CodeEditor/Source/CodeEditor/Private/SCodeEditor.cpp | f4d4a4a90d89b6dd593d9d8c0cde56170550fd88 | [
"BSD-2-Clause",
"LicenseRef-scancode-proprietary-license"
] | permissive | PopCap/GameIdea | 934769eeb91f9637f5bf205d88b13ff1fc9ae8fd | 201e1df50b2bc99afc079ce326aa0a44b178a391 | refs/heads/master | 2021-01-25T00:11:38.709772 | 2018-09-11T03:38:56 | 2018-09-11T03:38:56 | 37,818,708 | 0 | 0 | BSD-2-Clause | 2018-09-11T03:39:05 | 2015-06-21T17:36:44 | null | UTF-8 | C++ | false | false | 2,257 | cpp | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "CodeEditorPrivatePCH.h"
#include "SCodeEditor.h"
#include "SMultiLineEditableText.h"
#include "CPPRichTextSyntaxHighlighterTextLayoutMarshaller.h"
#include "SCodeEditableText.h"
#define LOCTEXT_NAMESPACE "CodeEditor"
void SCodeEditor::Construct... | [
"dkroell@acm.org"
] | dkroell@acm.org |
4f655c2828a1d61ebc3a5b632cebbd8afa61070e | 866063414992f6c0ba7cc7153be3072a940a4be7 | /libs/core/include/core/ErrorHandler.h | 0f05bb9f3bbc78042d63e47ab047c866e5fb6ab2 | [
"MIT"
] | permissive | amaiorano/vectrexy | 848137ee020573c400c1775ac470d0ef054b145b | b68337f6451c840353bc4571c14ee3b3b63d3029 | refs/heads/master | 2022-01-02T22:28:42.003532 | 2021-12-30T19:46:43 | 2021-12-30T19:46:43 | 54,437,508 | 52 | 10 | MIT | 2021-05-02T00:55:08 | 2016-03-22T02:02:16 | C++ | UTF-8 | C++ | false | false | 1,053 | h | #pragma once
#include "core/Base.h"
#include "core/ConsoleOutput.h"
namespace ErrorHandler {
enum class Policy {
Ignore, // Ignore error
Log, // Log error (even if repeated)
LogOnce, // Log error only once (ignore repeated instances of the error)
Fail // Fail hard
};
... | [
"amaiorano@gmail.com"
] | amaiorano@gmail.com |
ae9ed827d561ed7b2f5f2da13864f426fec2d59b | 19d0ce325216c56a0260edfb38ff8c328cb754f4 | /Export/android/release/obj/src/lime/graphics/opengl/ext/EXT_shader_texture_lod.cpp | 4b0e968ec53e14921f6409af0799be9b4948c583 | [] | no_license | HerbinCommando/TokyoTrail | 42fcb0569e5028c2e96b100ad20008304370c16e | 8737240e8782f5357f472dead574fb956243e48a | refs/heads/master | 2021-01-01T20:08:20.336935 | 2017-08-06T05:58:30 | 2017-08-06T05:58:30 | 98,772,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,055 | cpp | // Generated by Haxe 3.4.2
#include <hxcpp.h>
#ifndef INCLUDED_lime_graphics_opengl_ext_EXT_shader_texture_lod
#include <lime/graphics/opengl/ext/EXT_shader_texture_lod.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_e1acbdc797cf4fd1_13_new,"lime.graphics.opengl.ext.EXT_shader_texture_lod","new",0xb7c73b55,"lime.graphics.ope... | [
"heath@wgcells.com"
] | heath@wgcells.com |
3fdcb02837b6c9c720e56596f0b83f4652600ead | 485faf9d4ec7def9a505149c6a491d6133e68750 | /include/util/PressureConverter.H | 54273f7252e50942805fe2f7332e271950cec40e | [
"LicenseRef-scancode-warranty-disclaimer",
"ECL-2.0"
] | permissive | ohlincha/ECCE | af02101d161bae7e9b05dc7fe6b10ca07f479c6b | 7461559888d829338f29ce5fcdaf9e1816042bfe | refs/heads/master | 2020-06-25T20:59:27.882036 | 2017-06-16T10:45:21 | 2017-06-16T10:45:21 | 94,240,259 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 768 | h | ///////////////////////////////////////////////////////////////////////////////
// HEADER FILENAME: PressureConverter.H
//
//
// CLASS SYNOPSIS: Class for converting between different angle units.
//
// Design
// Implements different angle conversion factors
///////////////////////////////////////////////////////////... | [
"andre.ohlin@umu.se"
] | andre.ohlin@umu.se |
6593112067835b72c8aefeba3ad46e05ad1963ad | 7dc042a3f9068bc911c16f9173393660df704dab | /VC2010Samples/ATL/Advanced/AtlButton/dibapi.cpp | b94b6701a1d6eee9658d78135748994e407abadc | [
"MIT"
] | permissive | pluciro/VCSamples | 5639f953bfbe0ef598af601cc78d5a18012e1792 | 8453972390580ef1bbc8c09ec7a14d3c9111518e | refs/heads/master | 2022-05-10T04:45:11.889276 | 2022-05-06T15:11:50 | 2022-05-06T15:11:50 | 280,199,366 | 0 | 0 | NOASSERTION | 2020-07-16T16:10:32 | 2020-07-16T16:10:32 | null | UTF-8 | C++ | false | false | 15,741 | cpp | // dibapi.cpp
//
// Source file for Device-Independent Bitmap (DIB) API. Provides
// the following functions:
//
// PaintDIB() - Painting routine for a DIB
// CreateDIBPalette() - Creates a palette from a DIB
// FindDIBBits() - Returns a pointer to the DIB bits
// DIBWidth() - Gets the ... | [
"ericmitt@corp.microsoft.com"
] | ericmitt@corp.microsoft.com |
62e01f0bb0ede8f03a1fc42ad8e9659ee81f7b3d | a7b5b899ffbbb30b916492bcd2bc37e8406876f7 | /linked_list/k_reverse.cpp | a4e287cfb8c3d894b40e7db456f71b88ead52a9a | [] | no_license | Rahul-D78/DS_and_Algo | 641cedd8c73afd31b45459551b31a116fc663723 | f92758aaec34902c84de4e535440c91af85341af | refs/heads/master | 2023-02-26T09:11:08.093158 | 2021-02-02T14:58:54 | 2021-02-02T14:58:54 | 275,475,388 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | cpp | #include<bits/stdc++.h>
using namespace std;
//const int n=5;
class node
{
public:
int data;
node *next;
node (int val)
{
data=val;
next=NULL;
}
};
void print(node *head)
{
node* cur=head;
while(cur!=NULL)
{
cout<<cur->data<<" ";
cur=cur->next;
}
... | [
"rahulparida933@gamil.com"
] | rahulparida933@gamil.com |
da52c90b5b503cb1ed797db35118973c52082f02 | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/ANSI/examples/ansi_deviceType/ansi_deviceType.ino | 4073e01c6a0786f1a7fc1c0c86e3f2c364aa5c3b | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 534 | ino | // FILE: ansi_deviceType.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/ANSI/issues/9
// NOT TESTED
// - WITH REAL TERMINAL
// - with dummies
#include "ansi.h"
ANSI ansi(&Serial);
int deviceType = -1;
void setup()
{
Serial.begin(115200);
while (!Serial);
Serial... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
b9db45b242d4f08a8a9bd297644022a9e8a31743 | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-medialive/source/model/HlsManifestCompression.cpp | 60ffdc7e4ac5cd18341c5d0123e8d6521f4e9d40 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 2,491 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
0a3993bc28ed3e28a21b6d1823c9e374e443edeb | e213a99049af2297ed455c10de07adb0199964fc | /Sources/Renderer/Handlers/PushHandler.hpp | 48910fa9420649e650f1bdfd44e5529aa4d7278c | [
"MIT"
] | permissive | firedtoad/Acid | aab0541804b38775c620529b0157d61866de90d5 | ba6f1340206cd138ad4d30ac3e1a7c58af5b0c8e | refs/heads/master | 2020-04-26T19:25:54.908370 | 2019-03-02T03:08:07 | 2019-03-02T03:08:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | hpp | #pragma once
#include <algorithm>
#include <memory>
#include "Renderer/Pipelines/Pipeline.hpp"
namespace acid
{
/// <summary>
/// Class that handles a push constant.
/// </summary>
class ACID_EXPORT PushHandler
{
public:
explicit PushHandler(const bool &multipipeline = false);
explicit PushHandler(const Sh... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
f1bb3d5375e14ef4fd73c48a9a7f8bebde5f639a | 7f3c0fe76c98b7b6727914dc0e71fc24724434e3 | /single-spinpair.cpp | 16c662f398113014274c5ec966d1a449229d6fee | [] | no_license | zasdfgbnm-dumpster/spin-pair | 6ff622beb46fa778a134d3d76a0832f2ee3961ee | 7781e58eb88b3a42cfbeda45457fab7b751e1f11 | refs/heads/master | 2022-11-15T14:11:04.488731 | 2013-10-05T04:02:11 | 2013-10-05T04:02:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | #include "pair.hpp"
int main(){
spin_pair p;
p.r_ab = 2.2_nm;
p.theta_ab = 90_deg;
p.theta_a = 90_deg;
p.r_a = 20_nm;
p.phi_a = 0;
p.phi_ab = 0;
std::vector<spin_pair> pairs = { p };
// varied omega1
for(double r=0.99;r<=1.01;r+=0.001){
double w1 = r*p.omegar();
stringstream fnstream;
fnstream << "w1=... | [
"qasdfgtyuiop@gmail.com"
] | qasdfgtyuiop@gmail.com |
d90a550c2495ff4d797d3f098e8a583ebe4077e8 | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/StackSetOperationPreferences.h | 0c1941f460102da7b42d16016375b4ca279815f7 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 13,606 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
401d8fdaedac21e43dbc6c9d93e757c5dcd73ae2 | c926c898daf2534054d1ec74625828b4b5983009 | /AlatacadabraQt/bayesien.h | a4b88a4ad481fa97f36019df6e4f42698738c2e5 | [
"Apache-2.0"
] | permissive | NerdStark21/Alatacadabra | 4568a99e8ba05831142e2f6b6d7260fd549b992a | 0b6523683d668e23d6f494b0b343718ac40398f3 | refs/heads/master | 2021-04-17T12:10:14.718537 | 2018-06-07T22:28:24 | 2018-06-07T22:28:54 | 126,485,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | h | #ifndef BAYESIEN_H
#define BAYESIEN_H
#include <vector>
#include "skin.h"
#include "background.h"
using namespace std;
/**
* @brief The bayesien class
* Cette classe permet de réaliser une classification bayésienne afin de distinguer la main du fond
*/
class bayesien
{
public:
bayesien();
/**
* @b... | [
"florian.cousin@telecom-st-etienne.fr"
] | florian.cousin@telecom-st-etienne.fr |
511bbad971d16c1cf285ac63508777dcf19e483c | dbb50d74406518f58baae0f91e7fb44874ab31e6 | /RingingMaster/ImportLog.cpp | 4b21ab3966f3745a148256582d6b73c59d1acdba | [] | no_license | lakestephen/ringingmaster_cpp | 60f917eb66970e6fc84f9703a229dd0028892632 | 3d34efa1c4dca560a67a8aee1375df92fdcbeb6f | refs/heads/master | 2023-02-20T14:41:35.756431 | 2021-01-26T19:45:38 | 2021-01-26T19:45:38 | 333,197,351 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | // ImportLog.cpp : implementation file
//
#include "stdafx.h"
#include "RingingMaster.h"
#include "ImportLog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ImportLog dialog
ImportLog... | [
"steve.lake@anaplan.com"
] | steve.lake@anaplan.com |
43f869e1a9b3e35214a19f59bfad3ed519521212 | 4ff2ca01ffb4fd1ad32235248f4982217f030ed9 | /FlockingBoids/MiniEngine/Vector3.h | 5e28ec5d2294b73930c963d5bebcb898e9b5786f | [
"Apache-2.0"
] | permissive | aaghiijnnuz/glut_openGL_engine | 407d406d46e0b6421933eb834840c382287bb87f | 011683512f1145f7dbd0840857ebec3cbc453871 | refs/heads/master | 2021-01-02T09:35:09.476975 | 2017-08-03T16:33:32 | 2017-08-03T16:33:32 | 99,252,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,272 | h | #pragma once
#include <stdlib.h>
#include <cmath>
template <class T>
class Vector3
{
public:
Vector3()
{
set(T(), T(), T());
}
Vector3(T new_x, T new_y, T new_z)
{
set(new_x, new_y, new_z);
}
explicit Vector3(T value)
{
set(value, value, value);
}
void set(T new_x, T new_y, T new_z)
{
x() = new_... | [
"aaghiijnnuz@users.noreply.github.com"
] | aaghiijnnuz@users.noreply.github.com |
04151acd60d0830a2c03e56f00a492da4a9684ef | b92a9920f955a2a5a0b7f816ef22c9145b76f82e | /behavioralPatterns/chainOfResponsibility/src/chainAndComposite.cc | 15fed0d1ac606bea24c26dbb424b01a306a15729 | [] | no_license | nova0302/designPattern | 50f03bf46000a894302eca233817f6afab7d000a | 40c30e28878cbe4fce7236e4ed02adcbab6c026e | refs/heads/master | 2021-07-08T15:06:31.995217 | 2017-01-12T03:29:45 | 2017-01-12T03:29:45 | 59,247,556 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,984 | cc | #include <iostream>
#include <vector>
#include <ctime>
#include <stdlib.h>
using namespace std;
class Component {
int value;
Component *next; // 1. "next" pointer in the base class
public:
Component(int v, Component *n){
value = v;
next = n;
}
void setNext(Component *n){next = n;}
... | [
"noreply@github.com"
] | nova0302.noreply@github.com |
68dc9ab3f44f4a98698e62ab274de201729d83c1 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/10_5993_43.cpp | 11349376a5836219d8b9a4601ab986c974abf56f | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | cpp | import java.io.*;
import java.util.*;
public class no1{
public static void main(String args[]){
String filesmall = "A-small-attempt2.in";
String filelarge = "A-large.in";
String anssmall = "F-small.out";
String anslarge = "F-large.out";
try{
FileInputStream in = new FileInputStream(filelarge);
... | [
"nikola.mrzljak@fer.hr"
] | nikola.mrzljak@fer.hr |
dd77f6b883d0b10f7b660a8ab38ae65cb878664e | a4c14d38f3da9424a590fe96806708ba8364dba9 | /src/common/spin_lock_mutex.h | e819ba3a5f07dce7ac2366212d76d3520ef9cfce | [
"MIT"
] | permissive | lightstep/lightstep-tracer-cpp | b44c0965b32ebd6710537ecb7f9472116b70d36b | 0dcb9160e9298191199896870c84547dfb843623 | refs/heads/master | 2023-08-25T19:26:25.501907 | 2022-08-29T21:43:31 | 2022-08-29T21:43:31 | 57,146,219 | 49 | 19 | MIT | 2020-08-25T05:02:10 | 2016-04-26T16:55:47 | C++ | UTF-8 | C++ | false | false | 555 | h | #pragma once
#include <atomic>
#include <mutex>
namespace lightstep {
/**
* Simple spin lock implementation.
*
* See https://stackoverflow.com/a/29195378/4447365
*/
class SpinLockMutex {
public:
// std Mutex requirements
inline void lock() noexcept {
while (locked_.test_and_set(std::memory_order_acquire)... | [
"noreply@github.com"
] | lightstep.noreply@github.com |
f79d46e4f46b25f41b844052579972fe78b51263 | 16b8fa17f771e3d5f7cdc1fd6194b264bde939fb | /Taller3/Principal.cpp | 0e9500fb62c5200091adba5395ec8588a975c5e1 | [] | no_license | bomba1/Taller-3-estructura-de-datos | a2a87c7e99f95e7338427bcbab7dafcf5fe51401 | b0cd309939f585160d1db38fdc824fb07a341125 | refs/heads/master | 2020-03-10T15:51:04.091432 | 2018-04-13T22:19:45 | 2018-04-13T22:19:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,572 | cpp | #include "stdafx.h"
#include "Principal.h"
#include <ctime>
/*Este metodo es el que ejecuta el menu principal del programa
*/
void Principal::menuPrincipal() {
bool menu = true;
cout << "Bienvenido al menu principal" << endl;
string opcion;
while (menu) { //While infinito que es usado para el menu principal
... | [
"pablo.gun.66@gmail.com"
] | pablo.gun.66@gmail.com |
25ae6147757ed9e1002c773e7fd11e0b0cde46da | 5b17bd3d373a15a5eefe4d47d440db1f13751ce0 | /ut/main_test.cpp | ba3a01d326687b0402d82d4daaccfeb8560b596f | [
"MIT"
] | permissive | NetResultsIT/qt-threadpool | 2152d7712ead1c3e11b71cba400f30ed2bb934bc | 342aa9b469934ed4c678db94bf58d9b923e2465b | refs/heads/master | 2020-03-29T15:35:58.439831 | 2018-10-24T17:05:41 | 2018-10-24T17:05:41 | 150,071,470 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp |
#include "ut_RoundRobin.h"
#include "ut_MinimumJobs.h"
#include <QCoreApplication>
#include <QTest>
int main(int argc, char** argv)
{
QCoreApplication app(argc, argv);
ut_RoundRobin test1;
ut_MinimumJobs test2;
QTest::qExec(&test1, app.arguments());
QTest::qExec(&test2, app.arguments());
r... | [
"lamonica@netresults.it"
] | lamonica@netresults.it |
e11b8b51541c6db7b6b9e1ab0c8531236f17973d | 3ccd80ba7c0b9d04d2d68474d23eff5b93c4f7ba | /gens/google/monitoring/v3/group.pb.cc | 48afd866155fc4d847d072b6f55cd666a38b8062 | [] | no_license | git4sangar/googleapis | c0495ca3340dab67b3166d4326d1735cc19c51c4 | 6b1ca3d6db00da4986681f96f1e4db6a208bf57a | refs/heads/master | 2021-01-20T14:08:59.861700 | 2017-05-09T22:15:39 | 2017-05-09T22:15:39 | 90,565,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 29,140 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/monitoring/v3/group.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "google/monitoring/v3/group.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <goog... | [
"shankar.v@jibo.com"
] | shankar.v@jibo.com |
ccf4ae1974eeafb25fd564be3fe840d310978ee9 | 1f032ac06a2fc792859a57099e04d2b9bc43f387 | /a0/6a/fa/9c/d56d85fc7732e3e1dfe5b8e1751e96021b022144885c86e64822882cb772e3c59a323932eac9367e58fe05106e948b1ac50073cfc47ffbc443bfbbaa/sw.cpp | 204dc8e9078327e338b12c96b4443b58bceab2a4 | [] | no_license | SoftwareNetwork/specifications | 9d6d97c136d2b03af45669bad2bcb00fda9d2e26 | ba960f416e4728a43aa3e41af16a7bdd82006ec3 | refs/heads/master | 2023-08-16T13:17:25.996674 | 2023-08-15T10:45:47 | 2023-08-15T10:45:47 | 145,738,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 330 | cpp | void build(Solution &s)
{
auto &t = s.addTarget<LibraryTarget>("amazon.awslabs.c_s3", "0.1.35");
t += Git("https://github.com/awslabs/aws-c-s3", "v{v}");
t.Private += sw::Shared, "AWS_S3_EXPORTS"_d;
t.Public += sw::Shared, "AWS_S3_USE_IMPORT_EXPORT"_d;
t.Public += "org.sw.demo.amazon.awslabs.c_aut... | [
"cppanbot@gmail.com"
] | cppanbot@gmail.com |
cbc64de5ba9a7c8412be707aa2dc06928f19ce89 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/pending/detail/disjoint_sets.hpp | b39cf83492b7009c6304a1cf1cba56fe82a98bf3 | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,440 | hpp | ////////////////////////////////////////////////////////////////////////////////
// disjoint_sets.hpp
// (C) Copyright Jeremy Siek 2004
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_DETAIL_D... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
44306a284823b7f03730990a2ba3f16fa25286d4 | 7099faa88c485595fd5037507b41045d0c8d94a5 | /iids/aireservedproperty.cpp | deb11129b34c1cd2b41af0a9a9780f4235e8e3f8 | [
"LicenseRef-scancode-public-domain"
] | permissive | whoopdedo/lg | 8dc17f3e7cd62118801c9c6d80af0127a31b8f56 | 0c29f1f46f16dd16f9e436840ce5baa3d65ee357 | refs/heads/master | 2022-11-05T14:31:34.545712 | 2022-10-10T23:27:48 | 2022-10-10T23:27:48 | 1,752,480 | 1 | 7 | null | 2014-12-12T01:29:54 | 2011-05-15T21:09:45 | C++ | UTF-8 | C++ | false | false | 148 | cpp | #include <initguid.h>
DEFINE_GUID(IID_IAIReservedProperty, 0x94000094, 0x7b14, 0x1263, 0x83, 0x48, 0x00, 0xaa, 0x00, 0xa8, 0x2b, 0x51);
| [
"tnharris@whoopdedo.org"
] | tnharris@whoopdedo.org |
51a4e08cb5ab363cf3fb9c3da2bd8304fe8c6835 | d41701d90a9b786b1d8714e212c48d39bdcd497e | /BaekJoon_C++/2020_Summer/N1002/main.cpp | a6e9cc7ce40f3e7da50ad4c8e7ddf15d08184739 | [] | no_license | frics/BaekJoon | f50800b94361eff42ef653160422906e2cb65046 | 3e3c23ea67379014b49b740e50cb8b7fe87d0a6e | refs/heads/master | 2023-02-19T07:36:53.359717 | 2021-01-21T10:02:04 | 2021-01-21T10:02:46 | 278,381,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | //
// main.cpp
// N1002
//
// Created by James Choi on 2020/07/14.
// Copyright © 2020 James Choi. All rights reserved.
//
#include <iostream>
#include <cmath>
using namespace std;
int isCollision(int x1, int y1, int r1, int x2, int y2, int r2){
double R = r1+r2;
double len = sqrt(pow((x1-x2),2)+pow((y1-... | [
"jimmy9711@naver.com"
] | jimmy9711@naver.com |
62b06696bac9f0ba791a4edee0c8e7966d208f6e | a2de6bc400b2e725a9798a98fb9601930b559dbf | /external/vm/mw.cc | 774dda7558ed076c2395f4f92d17435f0b37a6dc | [] | no_license | Cansisti/compiler | fa469d720670b399c443ecd9b86562537c69c652 | e5f044159009b1bace4dc4e891e81e3431346099 | refs/heads/master | 2022-03-31T05:40:45.777761 | 2020-01-30T14:18:02 | 2020-01-30T14:18:02 | 232,388,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | cc | /*
* Kod interpretera maszyny rejestrowej do projektu z JFTT2019
*
* Autor: Maciek Gębala
* http://ki.pwr.edu.pl/gebala/
* 2019-11-12
* (wersja long long)
*/
#include <iostream>
#include <utility>
#include <vector>
#include <map>
#include <cstdlib> // rand()
#include <ctime>
#include <spdlog/spdlog.h>
#includ... | [
"cansisti@outlook.com"
] | cansisti@outlook.com |
24a6c89e09a1113e265297d6f88cdd5a03deaba8 | d504a75b9b32b0a0a325e6537dd2dda8a7359330 | /lab6/Human.cpp | 090363a2ff03e1d02c3f4ce886cc8859b944db65 | [] | no_license | teidal/Programowanie-Obiektowe | ba8571a4926a8241abeeb51fe030635520d8c7e4 | 91ef6fb8e7c90ad8cb9806d4f97072b7f39123e0 | refs/heads/master | 2020-12-02T21:32:05.293285 | 2014-06-14T19:59:24 | 2014-06-14T19:59:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,941 | cpp | #include "stdafx.h"
#include "Human.h"
int Human::count=0;
int Human::get_count()
{
return count;
}
Human::Human()
{
count++;
n = 1;
set_age(30);
set_sex('M');
set_name("Jan");
set_surname("Kowalski");
favorite_books = new std::string [n];
favorite_books[0] = "Dziady";
}
Human::Human(int size)
{
count++;
... | [
"209919@student.pwr.edu.pl"
] | 209919@student.pwr.edu.pl |
163451805dd18981d5a1e5aaeea170afde8f7587 | 48e7a4f54afc3054d9e11302f175464573157943 | /second.cpp | 2cbe0c3d297bdf851a31df22a29d9a387027b17d | [] | no_license | deekshaverma07/first | baf6c2669a15195e7f521913d5394d7b4ba47eda | 07ac701df2656957427f7fefd460d9d26020365a | refs/heads/master | 2020-06-05T01:09:19.238898 | 2019-06-17T05:33:46 | 2019-06-17T05:33:46 | 192,261,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | cpp | #include<iostream>
using namespace std;
void main()
{
int a=10;
int b=20;
int c;
c=a+b;
cout<<"sum="<<c;
}
| [
"noreply@github.com"
] | deekshaverma07.noreply@github.com |
fd5785b57b773f8c7aa899a4bf8f197016da31a1 | a576575a28440215b7f417a7a698437383f13cfa | /Engine/Renderer/Private/RHI/Commandbuffer.cpp | d82e50388069d5c3a0e363f66662e9eefbbab028 | [] | no_license | kartz0/Recluse-Game | 3749dd3c88d183b72f46306241f81c97e6cfd5d9 | dc487b6df16e8def42fef1a1be0d8b3380cdcdbd | refs/heads/master | 2021-07-09T23:25:59.957278 | 2017-10-05T10:05:32 | 2017-10-05T10:05:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,184 | cpp | // Copyright (c) 2017 Recluse Project. All rights reserved.
#include "RHI/CommandBuffer.hpp"
#include "Core/Exception.hpp"
#define ASSERT_RECORDING() if (!mRecording) { R_DEBUG("ERROR: CommandBuffer not recording! Aborting cmd call.\n"); return; }
namespace Recluse {
void CommandBuffer::Allocate(const VkCommandPoo... | [
"alexander.garcia18@yahoo.com"
] | alexander.garcia18@yahoo.com |
7aecde70d5eecea0969e197cb7b2d84002fc8e95 | 341a132f275fea735be662f3766fc74175d36aac | /util/tree/bnbnode.hpp | 9463065677d45390960429e702cc2b82b6e8365c | [] | no_license | mposypkin/BNB-solver | 726cd381e2c6e3c36526265b73a5040026104802 | 384fc110f60b5ba98ab59319c1f8e281a480892a | refs/heads/master | 2016-09-06T16:51:30.492915 | 2016-02-05T11:14:53 | 2016-02-05T11:14:53 | 32,667,491 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 981 | hpp | /*
* File: bnbnode.hpp
* Author: medved
*
* Created on January 7, 2015, 8:58 PM
*/
#ifndef BNBNODE_HPP
#define BNBNODE_HPP
struct BNBNode {
/**
* Constructor
*/
BNBNode(void* data = NULL) {
mData = data;
mParent = NULL;
mNext = NULL;
mPrev = NULL;
mChi... | [
"mposypkin@gmail.com"
] | mposypkin@gmail.com |
33c5d85931d90c30e1657bc20b23d9dbdc09467a | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/69/6d0801a4496433/main.cpp | 7dbe7224f67d5de23322d6fa0b52c959204553c7 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include <iostream>
using namespace std;
#include <x86intrin.h>
#include <stdint.h>
typedef unsigned long long u64_t;
template <typename wtype>
void println_af(const wtype* A,size_t L){
if (L == 0){
cout << "{}" << endl;
return;
}
cout << "{";
L--;
for (size_t c = 0; c <... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
917d9a31635a9cac59b283c2faebb6af5e6be6f1 | cec1802aefd9cdd505158e75765aa64309157cfe | /biohazard3d/include/BH3D_Polygone.hpp | 60e78a1dc1c4a0cddea6607d58a1c81c3ed8e623 | [] | no_license | Robxley/SavageCubes | 667bdae45603d4fce9cf830191b15fe67088b50d | 5e9fcbb4ffabf2fad8e234dfd2d595afd867f3d0 | refs/heads/master | 2021-03-09T20:01:57.935789 | 2020-03-10T20:47:47 | 2020-03-10T20:47:47 | 246,375,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | hpp | /*
* Biohazard3D
* The MIT License
*
* Copyright 2014 Robxley (Alexis Cailly).
*
* 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 ... | [
"alexis_cailly@msn.com"
] | alexis_cailly@msn.com |
ed0291de417c313d120364e15b2317c9e6f5bdb8 | 76e49a7bed55e4fdd31d753cce7f79a29881c0e8 | /src/global/Utils.h | 8b92d69becedea94f03b658a202143744d8a4218 | [] | no_license | defcanuck/cse_public | ff66f4544e89b9b78baca9948ce469824fcc80df | 23f4d3376f131ddd1765ad1da8fc59a32ad29366 | refs/heads/main | 2023-05-11T10:15:33.317658 | 2021-06-02T22:40:00 | 2021-06-02T22:40:00 | 373,317,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,727 | h | #pragma once
#include <cstdlib>
#include <string>
#include <iostream>
#include <algorithm>
#include <memory>
#include <vector>
#include <sstream>
#include <cctype>
#include "global/Values.h"
#include "math/GLM.h"
#include "gfx/Color.h"
#define CS_PI 3.14159265358979323846 /* pi */
#define PTR_ADD( PTR, OFFSET ) \... | [
"cwschmelzle@gmail.com"
] | cwschmelzle@gmail.com |
bd2b47d74353b580becd49bc11284af8d950ad30 | abbf490da014db5eb83d2e9d106e6aa305e9050c | /Backjoon/11948 과목선택.cpp | 4571615228d02709f431c6a9d24a7c0380948f7e | [] | no_license | 9503chl/Backjoon | 5176ad524c6368444bbf47ec8157342d3dfec19e | 0817621c791f08d18c3302a555f85ca93bdd239a | refs/heads/master | 2023-06-15T01:26:47.704700 | 2021-07-03T10:28:01 | 2021-07-03T10:28:01 | 352,513,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | #include <iostream>
using namespace std;
int main() {
cin.tie(NULL); cout.tie(NULL); ios_base::sync_with_stdio(false);; cin.tie(0);
int A, B, C, D, E, F,rst = 0;
cin >> A >> B >> C >> D >> E >> F;
rst = max(A + B + C, max(A + B + D,max(A+C+D, B + C + D)));
cout << rst + max(E, F);
} | [
"9503chl@naver.com"
] | 9503chl@naver.com |
e03847411bf1cfdf88cbb109559fdf0962a8f420 | 659d99d090479506b63b374831a049dba5d70fcf | /xray-svn-trunk/xr_3da/xrGame/ui/UICheckButton.cpp | 35f537160eeebb452ecead8345550bd0a1aca901 | [] | no_license | ssijonson/Rengen_Luch | a9312fed06dd08c7de19f36e5fd5e476881beb85 | 9bd0ff54408a890d4bdac1c493d67ce26b964555 | refs/heads/main | 2023-05-03T13:09:58.983176 | 2021-05-19T10:04:47 | 2021-05-19T10:04:47 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,530 | cpp | // UICheckButton.cpp: класс кнопки, имеющей 2 состояния:
// с галочкой и без
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include ".\uicheckbutton.h"
#include "UIXmlInit.h"
#include "../../xr_input.h"
#include "UIHint.h"
CUICheckButton::CUICheckButton()
{
TextItemContr... | [
"16670637+KRodinn@users.noreply.github.com"
] | 16670637+KRodinn@users.noreply.github.com |
06f0317ed2f03157c857bf4079390d8265c3e23d | 2e0d4ed544f8e370d1dd0010370655358ed02660 | /Defren/lsg/AnimationNode.h | a1e32b64a0976bfc42f1ac7e359a5721a53b2f29 | [] | no_license | lucaas/Defren | 0e2370a7612fdaf24464bc4e8915de77b78915e2 | 79882658adefe924b5e415d978b198e121c37695 | refs/heads/master | 2020-04-05T23:25:50.747862 | 2011-06-06T21:38:18 | 2011-06-06T21:38:18 | 1,640,162 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | h | #pragma once
#include "Node.h"
class AnimationNode : public Node
{
public:
AnimationNode(void);
~AnimationNode(void);
void render(void);
};
| [
"lucaaas@gmail.com"
] | lucaaas@gmail.com |
b3085bc198c29c297224507c2c4874628d0c565b | 8585a8ffff1d0c66bc278ede6ca49e6d1a6b9b1c | /src/lightcouch/changes.cpp | 132debe534579ca39b4dd0c67e361033b1dd1af2 | [
"MIT"
] | permissive | ondra-novak/lightcouch | 24196ac5eddbc298388938b3035c83df93e619c3 | c11ff4fcb25159f2a5a4809b57cf5c2094a6aa2e | refs/heads/master | 2020-04-16T02:25:52.895414 | 2016-09-25T23:35:05 | 2016-09-25T23:35:05 | 57,080,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | cpp | /*
* changeDoc.cpp
*
* Created on: 21. 3. 2016
* Author: ondra
*/
#include "changes.h"
#include "couchDB.h"
namespace LightCouch {
static bool safeBool(const JSON::INode *ptr) {
if (ptr == 0) return false;
return ptr->getBool();
}
ChangedDoc::ChangedDoc(const ConstValue& allData)
:ConstValue(allData... | [
"ondra-novak@email.cz"
] | ondra-novak@email.cz |
227d7107ead7be88b32bdb4c66a32d70923c220c | 39719ced2451b97c266568e2d9364bfe90ab3498 | /Source/AIEngine/TerrainRayTest.cpp | 190ec3e9495f7c830618c7e318d46d5da0a91780 | [
"MIT"
] | permissive | shanefarris/CoreGameEngine | 74ae026cdc443242fa80fe9802f5739c1064fb66 | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | refs/heads/master | 2020-05-07T12:19:23.055995 | 2019-04-11T14:10:16 | 2019-04-11T14:10:16 | 180,496,793 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 21,080 | cpp | /*
---------------------------------------------------------------------------------
TerrainRayTest.cpp
Project(s):
TerrainRayTest Project
Author:
Paul Edmondson
Description:
Implementation for the RayTester class
Notes:
None at this time.
Known Issues:
None at this time.
-----------------------------... | [
"farris.shane@gmail.com"
] | farris.shane@gmail.com |
731891c5ae2739ee69f3bd2697abf442d93746ec | d8effd075768aecbf0a590804e6c94127954d01c | /noz/src/noz.pch.h | 560e45b75bf9d76a5567862100f6f4ac600cc9a5 | [] | no_license | nozgames/noz-cpp | 55c88e0ea92408433ca34399f31007418d46a063 | 0466c938f54edf846c01dd195ce870b366821e99 | refs/heads/master | 2022-11-24T04:20:51.348835 | 2020-07-30T21:42:48 | 2020-07-30T21:42:48 | 283,881,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 78 | h | #include <noz/noz.h>
#include <map>
#include <cassert>
#include <algorithm>
| [
"bryan.dube@resultstack.com"
] | bryan.dube@resultstack.com |
2cf75e5f6c485a2f4fa8f69883ddcd58facf9580 | 8cc95381e7c810f0ee4921fb2e6140748dd3ea57 | /300_399/384_shuffle_vec.h | c1371ed3c5c4db3d60bead0b5a4169cb0ff1921c | [] | no_license | wangchenwc/leetcode_cpp | 5691fd6091050cd09ececfa94c02497f78b88293 | 6c0c847f25710781f40a2817cb0e0152002f1755 | refs/heads/master | 2020-04-22T02:36:02.836904 | 2018-11-08T06:13:00 | 2018-11-08T06:13:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | h | //
// 384_shuffle_vec.h
// cpp_code
//
// Created by zhongyingli on 2018/8/13.
// Copyright © 2018 zhongyingli. All rights reserved.
//
#ifndef _84_shuffle_vec_h
#define _84_shuffle_vec_h
class Solution {
public:
Solution(vector<int> nums): v(nums) {}
/** Resets the array to its original configuratio... | [
"lizhongying@ofo.com"
] | lizhongying@ofo.com |
187c1314a496da6f2793b9bc4fe2e7171b242ed0 | 8df5cf0ae46a719174218110b83b87217be4068d | /qtTeamTalk/userinfodlg.h | 6523d0626f2f654f4797e9567b337b1874e93de2 | [] | no_license | androidlearners/TeamTalk5 | 7aad741554c3d6a42b7881e86adaed43d38e79c4 | 5ce4a042318d696b01051302f37dc08afaee9937 | refs/heads/master | 2020-12-25T21:44:49.112147 | 2014-11-04T07:01:15 | 2014-11-04T07:01:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | h | /*
* Copyright (c) 2005-2014, BearWare.dk
*
* Contact Information:
*
* Bjoern D. Rasmussen
* Skanderborgvej 40 4-2
* DK-8000 Aarhus C
* Denmark
* Email: contact@bearware.dk
* Phone: +45 20 20 54 59
* Web: http://www.bearware.dk
*
* This source code is part of the TeamTalk 5 SDK owned by
* B... | [
"contact@bearware.dk"
] | contact@bearware.dk |
2b9e8d1de9a238f0ab16267177b4be01aca95942 | 22f8ce70cc780eda7cb11f93803058831f43c7c5 | /Plugins/SimpleThread/Source/SimpleThread/Public/Abandonable/SimpleAbandonable.h | 1209374d4dfdf268188a319cc323c94274e8fd67 | [] | no_license | VegetableWithChicken/SomeTest | 4d26ebc44fbf8a387bec2ec9677d51485c7c9668 | 8659f9b99ec05f3e235ec9d7839671751c85cbf8 | refs/heads/dev | 2023-03-16T05:40:16.603350 | 2020-11-02T07:04:52 | 2020-11-02T07:04:52 | 508,117,547 | 1 | 0 | null | 2022-06-28T01:42:35 | 2022-06-28T01:42:34 | null | GB18030 | C++ | false | false | 1,273 | h | #pragma once
/*
下面的网址讲解了如何使用本套插件
DocURL: https://zhuanlan.zhihu.com/p/78023533
下面的网址讲解如何开发当前的插件
MarketplaceURL : http://www.aboutcg.org/course/tut_ue4suite_190813/?action=
如果想了解更多关于UE4教程请参考:
URL : https://zhuanlan.zhihu.com/p/60117613
如果想系统了解人宅系列教程以及相关插件迭代更新 可以关注我的博客
URL : http://renzhai.net/
如果想了解我们下一节的课程... | [
"563412673@qq.com"
] | 563412673@qq.com |
d1cc64a073edb93406b8e5436131c11ec218acd2 | 9be246df43e02fba30ee2595c8cec14ac2b355d1 | /utils/studiomdl/studiomdl.h | 8dad3dcda34f8cb455848b67c4c665d877182784 | [] | no_license | Clepoy3/LeakNet | 6bf4c5d5535b3824a350f32352f457d8be87d609 | 8866efcb9b0bf9290b80f7263e2ce2074302640a | refs/heads/master | 2020-05-30T04:53:22.193725 | 2019-04-12T16:06:26 | 2019-04-12T16:06:26 | 189,544,338 | 18 | 5 | null | 2019-05-31T06:59:39 | 2019-05-31T06:59:39 | null | UTF-8 | C++ | false | false | 26,545 | h | /***
*
* Copyright (c) 1998, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
****/
#include <stdio.h>
#include "basetypes.h"
#include "utlvector.h"
#incl... | [
"uavxp29@gmail.com"
] | uavxp29@gmail.com |
afa6aabd5998233d9a4111c905f03b65fa20f58a | 6af50a4b5b928211880dd9f1c6ce92c2afea828b | /scripts/kconfig/qconf.cc | 9d3b04b0769cbef51bfdcfcc75ac60cc2e1b67d1 | [
"Apache-2.0"
] | permissive | erwango/zephyr | 1c7aa447f613de76439291ba9dde1e4dc7c5786e | 162f4574c781ae17d3fecfd4ac10df111e90ae3c | refs/heads/arm | 2023-08-11T10:29:20.031948 | 2017-05-10T09:50:21 | 2017-05-10T14:22:48 | 76,642,373 | 6 | 0 | Apache-2.0 | 2020-02-04T19:16:46 | 2016-12-16T09:52:08 | C | UTF-8 | C++ | false | false | 44,484 | cc | /*
* Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
* Released under the terms of the GNU GPL v2.0.
*/
#include <qglobal.h>
#if QT_VERSION < 0x040000
#include <stddef.h>
#include <qmainwindow.h>
#include <qvbox.h>
#include <qvaluelist.h>
#include <qtextbrowser.h>
#include <qaction.h>
#include <qheader.h>
... | [
"inaky.perez-gonzalez@intel.com"
] | inaky.perez-gonzalez@intel.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.