blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a54344895506c9ea67cedc81f5b3014b41cc07e6 | 101321a2edcb45ab1c8c6e4d2583b878589fe96e | /User/UserMenu.h | b4f65205f4cb913a9460b00e0a1db17bf3cc3b4a | [] | no_license | mark2002007/2K1SNP | c3aa8a5cde44c8e2f7efcc872ae7affb71cfc77d | 30a75e3fa843eed69f3baad347d494ee6d08c2b2 | refs/heads/master | 2023-01-22T02:27:57.421457 | 2020-12-02T09:07:51 | 2020-12-02T09:07:51 | 304,910,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | h | #pragma once
#include <iostream>
#include "Repository.h"
#include "BookRepository.h"
#include "Author.h"
#include "Customer.h"
#include "Employee.h"
using namespace std;
class Menu {
private:
string pointer;
int pPos = 1;
string list_ind;
string title;
Repository<Author> authorRepository = Repository<Author>(tr... | [
"markmandzak2002@gmail.com"
] | markmandzak2002@gmail.com |
eaac8acefa05825f33be42ed295f89fbf62b09d6 | f1999687072f68060484a2af0ce80126a923aa3a | /DDKInclude/wiavideo.h | 3577490fd2c8bb8613e919fc29d8ada43dfc8f52 | [
"WTFPL"
] | permissive | MSDN-WhiteKnight/DiskView | 159d9ead8f4fbe838cd6680a909a95597c42f66d | 49f488a074e1318494409dab003ddd1a40cc3ed5 | refs/heads/master | 2020-03-17T10:19:08.973961 | 2019-03-19T19:18:49 | 2019-03-19T19:18:49 | 133,508,061 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,231 | h |
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0347 */
/* Compiler settings for wiavideo.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c... | [
"noreply@github.com"
] | noreply@github.com |
bc4e4689728b72f48b3d3418fc60396eecaf28a8 | bb6c669fc1b873caa9f1b89f87a9331e41d9171c | /tracker/frameFactory.cpp | 2b31f6b52e2c082bab7bb06034d6f19161bdabf9 | [] | no_license | gaurikulkarni/CalvinBall | 5826a062c4435121c2656af58ee261040e47a036 | 370dd001b7f747dae964c382862095c8ccd25fd4 | refs/heads/master | 2020-12-30T11:40:04.319165 | 2017-07-13T03:48:44 | 2017-07-13T03:48:44 | 91,516,125 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | #include "frameFactory.h"
#include "extractSurface.h"
#include "ioManager.h"
#include "vector2f.h"
FrameFactory::~FrameFactory() {
std::map<std::string, SDL_Surface*>::iterator itSurf = surfaces.begin();
while ( itSurf != surfaces.end() ) {
SDL_FreeSurface( itSurf->second );
++itSurf;
}
std::map<std::... | [
"gauri.kulkarni.v@gmail.com"
] | gauri.kulkarni.v@gmail.com |
9b2b9977f4dfe96fe4517598e6fa325f7f83e4f1 | 61d4e279bb59dab28e11ac17f99e466cf8aba3cc | /src/server/scripts/Pandaria/MogushanPalace/instance_mogu_shan_palace.cpp | 4dc9ea7dd012fc775b61a4f074654d4cd549ceeb | [] | no_license | dufernst/5.4.8-Wow-source | a840af25441ec9c38622c16de40b2997d4605ad1 | 5511dffb1e9ad2e2e0b794288c4b9ea5041112d5 | refs/heads/master | 2021-01-16T22:12:12.568039 | 2015-08-19T22:55:05 | 2015-08-19T22:55:05 | 41,120,934 | 2 | 10 | null | 2015-08-20T22:03:56 | 2015-08-20T22:03:56 | null | UTF-8 | C++ | false | false | 23,507 | cpp | /*
Dungeon : Template of Mogu'shan Palace 87-89
Instance General Script
Jade servers
*/
#include "ScriptMgr.h"
#include "InstanceScript.h"
#include "VMapFactory.h"
#include "mogu_shan_palace.h"
class instance_mogu_shan_palace : public InstanceMapScript
{
public:
instance_mogu_shan_palace() : InstanceM... | [
"andra778@yahoo.com"
] | andra778@yahoo.com |
4f48dbbd976a5ffdc476da264188d3a2c676becd | e6c5596143f831c4613047d98d5754760e7bc752 | /CGP_Assignment/Code/Component/G_Timer.h | 40b5d5c2c6461ba65e46b7e12307ddbce0e09ffc | [] | no_license | liaukx-tarc/CGP_Assignment | 9a8c816e1bbe25ceccd21a380b57337aabf92e1d | 3ee3da6381e2ca3dd2be83f0374854a36db2eeec | refs/heads/master | 2023-04-02T01:25:55.288396 | 2021-04-06T23:01:30 | 2021-04-06T23:01:30 | 339,525,577 | 0 | 1 | null | 2021-04-06T23:01:31 | 2021-02-16T20:41:44 | C++ | UTF-8 | C++ | false | false | 344 | h | #ifndef G_TIMER
#define G_TIMER
#include <Windows.h>
class G_Timer {
public:
G_Timer();
~G_Timer();
void init(int);
int framesToUpdate();
private:
LARGE_INTEGER timerFreq;
LARGE_INTEGER timeNow;
LARGE_INTEGER timePrevious;
int Requested_FPS, frameToUpdate;
float intervalsPerFrame, intervalsSinceLastUpdate;... | [
"liaukx@student.tarc.edu.my"
] | liaukx@student.tarc.edu.my |
48ba067a28600767e6d91a897853019ba3183417 | 3054ded5d75ec90aac29ca5d601e726cf835f76c | /Training/UVa/CP3/Mathematics/Ad Hoc/00443 - Humble Numbers.cpp | 5989c6653b41f74472dedf6ef78bf3064d7c0687 | [] | no_license | Yefri97/Competitive-Programming | ef8c5806881bee797deeb2ef12416eee83c03add | 2b267ded55d94c819e720281805fb75696bed311 | refs/heads/master | 2022-11-09T20:19:00.983516 | 2022-04-29T21:29:45 | 2022-04-29T21:29:45 | 60,136,956 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll MX = 2e9;
int main() {
vector<ll> v;
for (ll l = 1; l <= MX; l *= 7)
for (ll k = 1; k * l <= MX; k *= 5)
for (ll j = 1; j * k * l <= MX; j *= 3)
for (ll i = 1; i * j * k * l <= MX; i *= 2)
v.push_back(i * j * ... | [
"yefri.gaitan97@gmail.com"
] | yefri.gaitan97@gmail.com |
1c576ed95c289030307072c27d04f68b2820b4c1 | 5885fd1418db54cc4b699c809cd44e625f7e23fc | /kattis/additiongame.cpp | 62eac18c8c9927aa0d05f873ae4a50203a682925 | [] | no_license | ehnryx/acm | c5f294a2e287a6d7003c61ee134696b2a11e9f3b | c706120236a3e55ba2aea10fb5c3daa5c1055118 | refs/heads/master | 2023-08-31T13:19:49.707328 | 2023-08-29T01:49:32 | 2023-08-29T01:49:32 | 131,941,068 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _USE_MATH_DEFINES
#include <ext/rope>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_cxx;
using namespace __gnu_pbds;
template <typename T>
using ordered_set = tree<T, null_type, less<T>, rb_tree_tag, tree_order_... | [
"henryxia9999@gmail.com"
] | henryxia9999@gmail.com |
966f84ee573742b6a97dd133c044913fe098e59c | 98284cb780bdec9381eb3f96b5bcaad6c5b9abc9 | /src/lib/Transform/Canonicalization.cpp | 0e746757763f45932267f4065c1942624a07022e | [
"NCSA"
] | permissive | nimit-singhania/loopy | a816dffc06ab78d10ede8d27d83a7319080925d3 | 1d87522ef6a7e206e67bf4dd3041fefe5b740c6f | refs/heads/master | 2021-01-11T11:57:45.513338 | 2019-01-31T14:18:56 | 2019-01-31T14:18:56 | 69,502,154 | 18 | 5 | null | 2019-01-31T14:18:57 | 2016-09-28T20:43:11 | C | UTF-8 | C++ | false | false | 2,527 | cpp | //===---- Canonicalization.cpp - Run canonicalization passes ======-------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... | [
"nimits@seas.upenn.edu"
] | nimits@seas.upenn.edu |
9144901f114d1cea49c7c7da8f807f67d9b62bc2 | b3d2e5d3db351a4c350785b347c3902d9d91dda6 | /src/posix/intercept.cpp | 82c43873bf02e5ca83e2109fa1a16efb0f216fc9 | [
"CC-BY-3.0"
] | permissive | andersgjerdrum/diggi | 84d83bb357b1d3348d9443e4225c489322c136f7 | c072911c439758b6f1bb1d9972c6fc32aa49d560 | refs/heads/master | 2022-11-07T19:00:58.241516 | 2020-07-01T16:23:11 | 2020-07-01T16:23:11 | 275,837,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,486 | cpp | #include "posix/intercept.h"
/**
* @file intercept.cpp
* @author Anders Gjerdrum (anders.gjerdrum@uit.no)
* @author Lars Brenna (lars.brenna@uit.no)
* @brief stub implementaitons for POSIX intercept calls.
* Used for untrusted runtime instances and unit tests to capture system call operations.
* syscall.... | [
"anders@diggi-1.cs.uit.no"
] | anders@diggi-1.cs.uit.no |
21fd2e33e78a623cc2d8b55a94007ca87467132f | 138fbf302f4c4797c9bc992fa7aae1db0a2dc597 | /lib/libcds/cds/intrusive/split_list.h | 5ca7f4ab58cefad4eef10a9e5caa04946ed4bfbb | [
"BSD-2-Clause"
] | permissive | dimak08/seminar_in_algorithms | 19cb7bed711963000cebb30f8b459df801df5be5 | 681e105dbdefa781eb0618192886b7b5004c7a6c | refs/heads/master | 2021-01-18T05:48:57.474752 | 2015-09-23T16:10:39 | 2015-09-23T16:10:39 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 48,300 | h | //$$CDS-header$$
#ifndef __CDS_INTRUSIVE_SPLIT_LIST_H
#define __CDS_INTRUSIVE_SPLIT_LIST_H
#include <cds/intrusive/split_list_base.h>
namespace cds { namespace intrusive {
/// Split-ordered list
/** @ingroup cds_intrusive_map
\anchor cds_intrusive_SplitListSet_hp
Hash table imp... | [
"jakob.gruber@gmail.com"
] | jakob.gruber@gmail.com |
db5f8c60061edeba97f8f1737d314aa5320e3204 | 2fc9e9e46c504827a47dad7b58fb1ecfb23d890f | /Project1COP3530/Project1COP3530.cpp | 9a5015753ae2d09b9dc3bce39522067afe8d2be7 | [] | no_license | chrisin1/Line-Editor | 9c72c4bd58e920f4a688fba56c2e33667b51d1b9 | 069dc4e23125d8c6dee860816f60c71f4c3d7a18 | refs/heads/master | 2022-11-30T19:56:08.833507 | 2020-08-16T14:27:04 | 2020-08-16T14:27:04 | 287,962,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,826 | cpp | // Project1COP3530.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include "LinkedList.h"
#include <string>
using namespace std;
class LineEditor
{
private:
LinkedList<string> document;
public:
void insertEnd(string text);
void insert(int index, string... | [
"christopherin12@gmail.com"
] | christopherin12@gmail.com |
ba26bc0450d3e3f80c33ec1e3eef2cbd0a15166d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_new_old_log_857.cpp | 9c028a7894b182986e402756c28ff2800f5cba40 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,
"Ignoring out-of-order file @%jx (%s) %jd < %jd",
(intmax_t)file->number,
iso9660->pathname.s,
(intmax_t)file->offset,
(intmax_t)iso9660->current_position); | [
"993273596@qq.com"
] | 993273596@qq.com |
094fffe623781c78af8b72cfc7507eb5ab94e197 | 6d1f45ea591f5bd5616de898c29c8f55b22d0ec1 | /include/glfw/__window/create_surface.hpp | 943dc26525579f400488864af52ec0043b4eb59a | [] | no_license | cpp-wrappers/glfw-wrapper | 0136602ad9f4eef07e19149198a5b16893706190 | 4a948ef7f58b0ccb5e1942787d10b2af839106db | refs/heads/master | 2023-06-23T22:43:09.106897 | 2023-06-14T04:58:19 | 2023-06-14T04:58:19 | 175,873,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | hpp | #pragma once
#if __has_include(<vk/instance.hpp>) && __has_include(<vk/surface.hpp>)
#include "./handle.hpp"
#include "../__internal/function.hpp"
#include <vk/instance.hpp>
#include <vk/surface.hpp>
#include <types.hpp>
#include <tuple.hpp>
extern "C" GLFW_API int32 glfwCreateWindowSurface(
handle<... | [
"hazeevaidar@gmail.com"
] | hazeevaidar@gmail.com |
3d6b955bce11244a9d84527c5a8a51c9c77a2404 | d6507daa66666878fb018b394cc0a959a0113ec3 | /01/013.cc | 5bb8f09573d628115e5c394c6739ac1d95678e81 | [] | no_license | dmnsn7/projecteuler | a5d0098cdafcdb68901ecc68c0ba9df77d039ac4 | a737037b9521c940b6b6ed12488ee73e41229b70 | refs/heads/master | 2023-06-09T21:33:46.625979 | 2023-06-07T12:17:21 | 2023-06-07T12:17:21 | 215,997,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,420 | cc | // Copyright [2017] <dmnsn7@gmail.com>
#include <bits/stdc++.h>
using std::string;
using std::to_string;
using std::vector;
const int CNT = 100;
const int RESERVED_LEN = 15;
const int QUERY_LEN = 10;
const vector<string> NUMBER = {
"37107287533902102798797998220837590246510135740250",
"463769376774900097126... | [
"jie.liu@airbnb.com"
] | jie.liu@airbnb.com |
8ddb8cc1fae5e02286c829d7255d3a59bca7ec5c | 305fcec4e4cb01dbcc0ccb779a227649d1199cf2 | /LongWordsDiv2.cpp | 0ad5cbbb4bde56cf1d1f656f86f9a84541ddd90d | [] | no_license | Taxiway/TC_Codes | 3b47e22f901a480d3b8291d560a61395be862840 | 05815b3ec8d320f7ad8b99fc4fa2d3d11eb44f04 | refs/heads/master | 2020-12-24T17:08:23.672337 | 2014-12-26T09:24:20 | 2014-12-26T09:24:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,551 | cpp | // Orz AekdyCoin 福大核武景润后人
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <functional>
#include <cctype>
#include <string>
using namespace std;
#define all(X)... | [
"hang.hang.zju@gmail.com"
] | hang.hang.zju@gmail.com |
2d46ddf330b9495c3468e985e5e9230ee466be9f | 35635422101e1c0e4142ca1e176c5d976a6a6ff2 | /deps/glm.9.9.5/glm_inn/gtc/noise.hpp | 7967168b3caae16fc0216e6c95760d04708d7649 | [
"BSD-3-Clause"
] | permissive | wanghaoxin1991/tprPix | e9ac6078dcf104b89e7db8bc6e973b47d4a46bfc | 877d2f3bcd2028b28f575deebf37bf7d19d1da52 | refs/heads/master | 2021-05-25T17:27:13.564129 | 2020-04-08T22:08:00 | 2020-04-08T22:08:00 | 253,843,248 | 0 | 0 | null | 2020-04-07T15:58:08 | 2020-04-07T15:58:08 | null | UTF-8 | C++ | false | false | 3,054 | hpp | <<<<<<< HEAD
/// @ref gtc_noise
/// @file glm/gtc/noise.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_noise GLM_GTC_noise
/// @ingroup gtc
///
/// Include <glm/gtc/noise.hpp> to use the features of this extension.
///
/// Defines 2D, 3D and 4D procedural noise functions
/// Based on the work of Stefan Gustav... | [
"wanghaoxin8@163.com"
] | wanghaoxin8@163.com |
ee0862cd031c5c6fdc26df3a159cf657deb883a6 | 254cbaaf24dde982be6cb877220c95734723753c | /ddutil.cpp | 885d5ac78366d1db4872471ab445fd3342fde0d4 | [] | no_license | ForestJay/SpaceAdventure | f56a92c673af3ba14d3cbeb7187eb2202deaed6e | 76d9fdf23f95cc68c168b84c8586f4566b82afd2 | refs/heads/master | 2021-01-10T17:21:08.793077 | 2015-09-26T22:20:38 | 2015-09-26T22:20:38 | 43,224,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,328 | cpp | /*==========================================================================
*
* Copyright (C) 1995 Microsoft Corporation. All Rights Reserved.
*
* File: ddutil.cpp
* Content: Routines for loading bitmap and palettes from resources
*
************************************************************... | [
"forest.handford@affectiva.com"
] | forest.handford@affectiva.com |
15e1ce3b5e2bda6f3c0ea800ec3694f42c7904a9 | aaf50a46800ec1fa0cec41589493fb762c90e137 | /Lecture-08/Character_Arrays.cpp | f809a93ad5954f273d2abfacba723859bdcd4124 | [] | no_license | nimishagupta1999/LPAAug18_Noida | 10cb1b7006f335bf3ba75ecef3ee0e915cb62b5d | cc2bbbe13f798572a4dcd95deaaa311a4d02536c | refs/heads/master | 2021-09-26T23:27:20.743073 | 2018-11-04T14:02:40 | 2018-11-04T14:02:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | //
#include <iostream>
using namespace std;
int main(){
char a[]="ABCD";
char b[100];
strcpy(b,a);
cout<<a<<endl;
cout<<b<<endl;
cout<<strlen(a)<<endl;
int c[]={1,2,3,4};
cout<<&c<<endl;
cout<<&c+1<<endl;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
cfca63a964c7e09d06ee177dc3a8327363181015 | 0795b456eb8343c3663c71d8219086e9fbe21078 | /normal-55-Jump_Game/55-Jump_Game__dp.cpp | ecc5b2ce47bd4811a2b8c966388f43bcc9ab7a40 | [] | no_license | burningDown/my_leetcode | ae5521c2233ef86d3e48fd175952ec81f6ae3ca1 | 02be289989b9bbda198578e88f004dc83842d40f | refs/heads/master | 2021-07-06T15:07:45.904592 | 2020-09-07T13:36:40 | 2020-09-07T13:36:40 | 177,900,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | class Solution {
public:
bool canJump(vector<int>& nums) {
if(nums.size() == 0)
return true;
vector<bool> dp(nums.size(), false);
const int l = nums.size();
dp[0] = true;
for(int i=0;i<l;i++)
{
if(dp[i])
{
for(int j... | [
"734556742@qq.com"
] | 734556742@qq.com |
39c992fd7333bcbb16b637118d745f0053dc4d4b | 07c3e4c4f82056e76285c81f14ea0fbb263ed906 | /Re-Abyss/app/components/UI/Title/Cursor/Builder.cpp | f01a18859bbd58165f400fdd63ab3c1f9c4902fe | [] | no_license | tyanmahou/Re-Abyss | f030841ca395c6b7ca6f9debe4d0de8a8c0036b5 | bd36687ddabad0627941dbe9b299b3c715114240 | refs/heads/master | 2023-08-02T22:23:43.867123 | 2023-08-02T14:20:26 | 2023-08-02T14:20:26 | 199,132,051 | 9 | 1 | null | 2021-11-22T20:46:39 | 2019-07-27T07:28:34 | C++ | UTF-8 | C++ | false | false | 375 | cpp | #include <abyss/components/UI/Title/Cursor/Builder.hpp>
#include <abyss/modules/UI/base/UIObj.hpp>
#include <abyss/components/UI/Title/Cursor/CursorCtrl.hpp>
namespace abyss::UI::Title::Cursor
{
void Builder::Build(UIObj* pUi)
{
// メイン追加
{
pUi->attach<CursorCtrl>(pUi)->setLayer(Draw... | [
"tyanmahou@gmail.com"
] | tyanmahou@gmail.com |
09d4a330af4ed4a349c019248f0e0adbe9131f98 | 965337cc304e01ffbe4937e060282c3eba10ad5e | /launcher.h | 97f15287e88c2757635356708164f25f546426b6 | [] | no_license | GuiBret/MusicDownloader | d77946de07fb1eb743856c7d20ddbcc72182ef3d | af3fa319263b76f877f1ddc76f54f1862c005ad4 | refs/heads/master | 2021-01-12T17:27:49.140195 | 2016-12-11T21:21:36 | 2016-12-11T21:21:36 | 71,575,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | h | #ifndef LAUNCHER_H
#define LAUNCHER_H
#include <QMainWindow>
#include <QFileDialog>
#include <QProcess>
#include <QDebug>
#include <QMessageBox>
#include <QEventLoop>
#include <QClipboard>
#include "downloaddisplay.h"
#include "downloadprofile.h"
#include "download.h"
class MyProcess;
class Download;
class Downlo... | [
"guillaume.bretzner@gmail.com"
] | guillaume.bretzner@gmail.com |
583d62156ae1fc6f45981ad1051f9f4478389039 | 0d8a443005e7f8c4dc3b8b59606463d0b334a7ba | /main.cpp | 67e841787e7c837fb8629650361e1e7086253dcb | [] | no_license | HoShuHang/QTGraphics | 1547e214131abdee6cc5d5d49da53a629bcc3c19 | c7e5ba0520d0cfeb3c92c57e7ebb59246943797d | refs/heads/master | 2021-01-10T17:48:50.399007 | 2016-01-05T08:58:34 | 2016-01-05T08:58:34 | 46,609,834 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 275 | cpp | #include "cppunitlite/TestHarness.h"
//#include "utShape.h"
//#include "utGraphics.h"
//#include "utHW3.h"
#include "utTryQt.h"
//#include "utModel.h"
//#include "utVisitor.h"
int main(int argc, char** argv) {
TestResult tr;
TestRegistry::runAllTests(tr);
return 0;
}
| [
"kwite2002@gmail.com"
] | kwite2002@gmail.com |
690f1ddffc64f82bf8b2072bb7af3d6b94102d75 | b39b0652150a981c9e08d63b78a5b8d57197601e | /doom_py/src/lib/ViZDoomExceptions.cpp | e9bd19b6830b9a2fb36d47251e6abc61072e3463 | [
"MIT"
] | permissive | jaekyeom/doom-py | 476026afd7dad6ecd47cf2633c745e3b09fa5c9c | a7d08a0f2e92b0ba4be538e182791be4c5a11a1b | refs/heads/master | 2020-03-06T18:52:38.651857 | 2018-04-05T14:28:14 | 2018-04-05T14:28:14 | 127,015,715 | 1 | 0 | MIT | 2018-03-27T16:29:10 | 2018-03-27T16:29:10 | null | UTF-8 | C++ | false | false | 3,018 | cpp | /*
Copyright (C) 2016 by Wojciech Jaśkowski, Michał Kempka, Grzegorz Runc, Jakub Toczek, Marek Wydmuch
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 li... | [
"jietang@openai.com"
] | jietang@openai.com |
c063524b3f5148c890fb934d00993ee21759d62c | 246018707dd500a0953af4c5dc1d9e4ccd63743a | /Project/Project/prob87.cpp | b1e5faed27fac9f2ec9d894a3294c790053bd281 | [
"MIT"
] | permissive | LeoNardo10521/Leetcode | 1a7c3fbda747bd2b0114748613ef93cc592fc59d | 083f7929b916ec327b18edc1ed1ade9a0b51c089 | refs/heads/master | 2020-03-07T04:35:17.302113 | 2018-04-09T03:18:14 | 2018-04-09T03:18:14 | 127,270,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,546 | cpp | //My work
class Solution {
public:
bool count(string s1, string s2){
unordered_map <char, int> record1;
unordered_map <char, int> record2;
for (int i = 0; i<s1.length(); i++)
record1[s1[i]]++;
for (int i = 0; i<s2.length(); i++)
record2[s2[i]]++;
... | [
"shjdzlq@163.com"
] | shjdzlq@163.com |
02c40d6a8c9edc44e742fc75420855ba1f6ef763 | 7a89c2e347e17f0aed9e16f2de81f6021ad56023 | /src/Components_Web/WeightSensor_Web.cpp | cacc8d61247016aaf4b90b98b3af38de969d0661 | [] | no_license | Whonymous/Gbox420 | aee2618ee817eff34939e8892d4eef52c7f22e00 | 27bbc1a356c2a5d7f040293c3608c6b1288324f9 | refs/heads/master | 2022-12-17T11:51:27.223683 | 2020-09-16T23:02:39 | 2020-09-16T23:02:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,951 | cpp | #include "WeightSensor_Web.h"
WeightSensor_Web::WeightSensor_Web(const __FlashStringHelper *Name, Module_Web *Parent, Settings::WeightSensorSettings *DefaultSettings) : Common(Name), WeightSensor(Name,Parent,DefaultSettings), Common_Web(Name)
{
this->Parent = Parent;
this->Name = Name;
Parent->addToReportQueue(t... | [
"growboxguy@gmail.com"
] | growboxguy@gmail.com |
ef098221dbdfc1cb163be159674acb81a0bcb410 | ec42dd1913d515b6d4d836fa2a84deaf47cdadbc | /LiveLogViewer/LiveLog_data.cpp | 3c637816b09c8d62870c9362eac70dcae21812d5 | [] | no_license | WuFan1992/LiveLogViewer | 5b46826a9efc18ab87b592cd5e3981c2e60e2840 | 6c0735c725fa2c8964393dcccf2d941e76b1585a | refs/heads/master | 2021-07-18T03:54:52.117893 | 2017-10-25T10:24:13 | 2017-10-25T10:24:13 | 105,745,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | #include "LiveLog_data.h"
#include "Widget_element.h"
#include <iostream>
#include <qDebug>
using namespace std;
void LiveLog_data::show_source_pressure()
{
qDebug() << source_pressure;
}
void LiveLog_data::show_target_pressure()
{
qDebug() << target_pressure;
}
void LiveLog_data::show_mesure_pressure()
{
qDebu... | [
"fanwuchine@gmail.com"
] | fanwuchine@gmail.com |
6f4e88aa7d42e6dd02b90a9196c38c4a37a5fb79 | 47b9fffb443d477f21eefe36eb6b158fa97d87ac | /coding blocks/Arrays/remove_consecutive_duplicates.cpp | 7e10b8c1edd8a8f41ede53b151e6634402357e91 | [] | no_license | rajaniket/Data-Structures-and-algorithms | 0948e6b64e177d4f62c3adca3536e5f0068a468f | 3fdb2cec941a603cd2d0275fdd90b89bcfafa18e | refs/heads/master | 2021-07-24T15:37:05.019731 | 2021-07-15T10:02:23 | 2021-07-15T10:02:23 | 226,822,141 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | // remove consecutive duplicates(m-1 ,O(n^2) )
// "ccccooodinnnnngggg__bloockksssss"===> coding_blocks
#include"iostream"
#include"cstring"
using namespace std;
void duplicate_remove(char *a,int l)
{
for(int i=1;i<l;i++)
if(a[i-1]==a[i]){
for(int j=i+1;j<l;j++)
a[j-1]=a[j];
i--; // c... | [
"noreply@github.com"
] | noreply@github.com |
4af192cd14118c92357f691d20c1d06f67f1f9cf | 5dc4d4d3bd209b0d7e54c383b83f725ab2ca97fd | /Codeforces/1538/A.cpp | 08df1b57f095f2401dae476350b9e1147f665f45 | [
"MIT"
] | permissive | mohit200008/CodeBank | 3f599e0d0be4d472666a4e754c4578d440251677 | 061f3c1c7c61370fd2c41fc1d76262d403d16f34 | refs/heads/main | 2023-09-03T02:38:21.935473 | 2021-10-22T08:32:43 | 2021-10-22T08:32:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | /*
"An anomaly, I'm Muhammad Ali
Cause I know one day I'm gonna be the"
- Greatest, Eminem
*/
#pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
typ... | [
"mahendra060704@gmail.com"
] | mahendra060704@gmail.com |
7d2a0bc1f7fc247453ba9c8cdc4745601a1e458c | a8e72b72e08f854fffa56ec7326dc09d0c5847a8 | /conversationlog.cpp | 8ed9439f8f1cc7419bbdd63779ea652c6382aba7 | [] | no_license | mapld/ProgrammingProblems | b16bc5be4e128665379ecda3191b55ddd3673dbd | e9031cdac09a95083b7cbf0ed37a5929aa9b203e | refs/heads/master | 2021-09-02T03:22:05.214931 | 2017-12-29T22:33:30 | 2017-12-29T22:33:30 | 112,629,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | cpp | #include <stdio.h>
#include <iostream>
#include <map>
#include <sstream>
#include <set>
#include <queue>
int main(){
using namespace std;
int numMessages;
cin >> numMessages;
set<string> users;
map<string, int> counts;
map<string,bool> used;
for(int i = 0; i < numMessages; i++){
string line;
g... | [
"arehnbymartin@abebooks.com"
] | arehnbymartin@abebooks.com |
d822199111c6610bce30326c2aff532a8596e833 | 508510d10ddcb009fc4fb53a26d897bc462039c0 | /PUBG/SDK/PUBG_BP_EquipableItemIconWidget_classes.hpp | d80e238d436117d9d978f2bdcfeb87754c4a5654 | [] | no_license | Avatarchik/PUBG-SDK | ed6e0aa27eac646e557272bbf1607b7351905c8c | 07639ddf96bc0f57fb4b1be0a9b29d5446fcc5da | refs/heads/master | 2021-06-21T07:51:37.309095 | 2017-08-10T08:15:56 | 2017-08-10T08:15:56 | 100,607,141 | 1 | 1 | null | 2017-08-17T13:36:40 | 2017-08-17T13:36:40 | null | UTF-8 | C++ | false | false | 2,181 | hpp | #pragma once
// PLAYERUNKNOWN BattleGrounds () SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClas... | [
"jl2378@cornell.edu"
] | jl2378@cornell.edu |
982d33eb87a2d3dcdb7d739b3971eec1ab9d9d23 | c08cbfb0e791bac4f6eb06ad44f335d1c2da316b | /Managers/src/Utils/TableModifier.cpp | c32fe6d0d9bd00580bff0a44706cac837e29da50 | [] | no_license | Cliey/BookManager | 9a1be14d8b910b29297210ef7f0a2511ec16f550 | 8231b90b4c3d97453bb25f8e4c287286d5ebae41 | refs/heads/master | 2021-06-23T17:13:45.389609 | 2021-02-21T21:02:10 | 2021-02-21T21:02:10 | 195,285,165 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,808 | cpp | #include "Managers/Utils/TableModifier.hpp"
#include "BookAbstract/Book.hpp"
#include "BookEnum/BookType.hpp"
#include "BookFactory/BookFactory.hpp"
#include "EntityTypes/BookSeries.hpp"
#include "EntityTypes/Person.hpp"
#include "EntityTypes/Publisher.hpp"
#include "Utils/EnumUtils.hpp"
#include "Utils/Log.hpp"
#inclu... | [
"cyril.r38@gmail.com"
] | cyril.r38@gmail.com |
838b9ec95ffc550ce4384ca158e0299be94ea630 | f556301fd9bdba0e463bb6f08bd83db0fd258a8d | /extensions/third_party/abseil-cpp/absl/debugging/internal/stacktrace_arm-inl.inc | e9ac4aa2d4c50073493a6848ea34b972fbd89f32 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | blockspacer/chromium_base_conan | ce7c0825b6a62c2c1272ccab5e31f15d316aa9ac | 726d2a446eb926f694e04ab166c0bbfdb40850f2 | refs/heads/master | 2022-09-14T17:13:27.992790 | 2022-08-24T11:04:58 | 2022-08-24T11:04:58 | 225,695,691 | 18 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 72 | inc | #pragma once
#include "absl/debugging/internal/stacktrace_arm-inl.inc"
| [
"user@email.ru"
] | user@email.ru |
24bdf6af37e145da5df1197631e1c161aad39d16 | dd4ea6c4dc8c99d6553de987c5915de31b3d21d2 | /be/test/exprs/encryption_functions_test.cpp | 3c48b38b45747783f819c217fb922677bc31774c | [
"BSD-3-Clause",
"PSF-2.0",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"dtoa",
"MIT",
"LicenseRef-scancode-facebook-patent-rights-2",
"bzip2-1.0.6",
"OpenSSL"
] | permissive | caiconghui/incubator-doris | ac6036e5162e1204dce59facc0f868f3026d4be6 | dd869077f8ce3c2b19f29b3048c4e7e62ac31050 | refs/heads/master | 2023-08-31T20:57:15.392015 | 2023-01-19T07:56:51 | 2023-01-19T07:56:51 | 211,771,485 | 0 | 2 | Apache-2.0 | 2019-09-30T03:57:01 | 2019-09-30T03:57:00 | null | UTF-8 | C++ | false | false | 12,859 | cpp | // 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 may... | [
"noreply@github.com"
] | noreply@github.com |
34c64acb37e92c0991fc340f6c880448395b7fd0 | 60a15a584b00895e47628c5a485bd1f14cfeebbe | /comps/docs/ImageDoc/imgactions.h | bb484214d888db0be40c2e9f894ca43100d102fa | [] | no_license | fcccode/vt5 | ce4c1d8fe819715f2580586c8113cfedf2ab44ac | c88049949ebb999304f0fc7648f3d03f6501c65b | refs/heads/master | 2020-09-27T22:56:55.348501 | 2019-06-17T20:39:46 | 2019-06-17T20:39:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,766 | h | #ifndef __imgactions_h__
#define __imgactions_h__
struct CAphineParams;
//[ag]1. classes
//paul12.04.2002
#define DECLARE_AVAIBLE() \
bool IsAvaible() \
{ \
CChechAvailable avail; \
return avail.IsAvaible(); \
} \
struct CChechAvailable
{
bool IsAvaible();
};
bool fill_background_color( IUnknown* punk_image )... | [
"videotestc@gmail.com"
] | videotestc@gmail.com |
ea05f20db6f8fcfa7b3e4211a4036ee32e56962f | 530cea82ed7cb8fabc8efb3fbd3ed393be8eb71f | /OpenArk/DriverModView.h | a9678d1f814f6d4159fc53b619ced935e8acfc66 | [] | no_license | Qazwar/OpenArk-1 | abb0618c5364dc131a35a93c61861394e2242605 | ad6a35d9679997f8da30f07b9f4b2169b2179906 | refs/heads/master | 2022-06-27T03:20:41.791514 | 2020-05-09T09:43:17 | 2020-05-09T09:43:17 | 268,182,709 | 1 | 0 | null | 2020-05-31T00:28:22 | 2020-05-31T00:28:21 | null | UTF-8 | C++ | false | false | 442 | h | #pragma once
#include "StdDialog.h"
#include "common.h"
class DriverModView :public StdTable
{
Q_OBJECT
public:
enum Col {
DriverName,
BaseAddress,
ImageSize,
DriverObject,
DriverPath,
ServiceName,
LoadOrder,
FileCompany,
LastCol
};
DriverModView(QWidget *parent = 0);
~DriverModView();
void... | [
"782598478@qq.com"
] | 782598478@qq.com |
181e136e34e7a866dbb5718c313c8cf312cd942c | aaebbe73cc851ba9ed8a3493abedb739d122533a | /server/yslib/thread_pool/thread_pool.h | 3366394ddbd0935364afded985f07547c06c696e | [] | no_license | coeux/lingyu-meisha-jp | 7bc1309bf8304a294f9a42d23b985879a28afbc0 | 11972819254b8567cda33d17ffc40b384019a936 | refs/heads/master | 2021-01-21T13:48:12.593930 | 2017-02-14T06:46:02 | 2017-02-14T06:46:02 | 81,812,311 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,365 | h | #ifndef _THREAD_POOL_H_
#define _THREAD_POOL_H_
#include <vector>
#include <assert.h>
using namespace std;
#include <boost/bind.hpp>
#include <boost/thread.hpp>
#include <boost/asio.hpp>
#include "log.h"
#include "thread_pool_log_def.h"
class thread_pool_t : public boost::noncopyable
{
public:
typedef boost::s... | [
"641311015@qq.com"
] | 641311015@qq.com |
6e65d8285c59183add02fe62ae520a469e0963a8 | 966ce6dd5c396494b04a1003ee82e208fd974ce4 | /transport/tests/spool_test.cc | 53290767a9291be5ea017f8b6096f5c3a46a5dde | [] | no_license | drue/King-James | 55c57143297e107c86a4fc05b5d3e4ef1bae4624 | cf1240e902b08b775f47a73599fd919677b72f41 | refs/heads/master | 2021-01-01T17:46:58.709355 | 2014-10-03T11:24:11 | 2014-10-03T11:32:41 | 3,149,344 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,132 | cc | #include <stdlib.h>
#include <arpa/inet.h>
#include "gtest/gtest.h"
#include "FLAC++/metadata.h"
#include <openssl/md5.h>
#include "spool.h"
/*
*************
** FLAC md5sum is computed from byte aligned, little endian data
** 3 bytes per sample for 24 bits, 2 bytes for 16 bits
** however, data is fed to FLAC with 4 ... | [
"drue@gigagig.org"
] | drue@gigagig.org |
bd920715a6891dc3482dae6390694cff350a8e69 | 746353363abb3f4e7536de0cbed223dd99dcdcb0 | /src/core/tracer/include/agz/tracer/factory/raw/medium.h | aa93769d63c5e05086490ad2fb34e1ea6e55a834 | [
"MIT"
] | permissive | vcoda/Atrc | 65aeb7d9b9a9578d1d768fc58951ffa7853e025e | 8b6614053d0866b409961d1ddb84238523fa5b02 | refs/heads/master | 2020-09-12T12:36:32.629569 | 2019-11-08T06:53:42 | 2019-11-08T06:53:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 328 | h | #pragma once
#include <agz/tracer/core/medium.h>
AGZ_TRACER_BEGIN
std::shared_ptr<Medium> create_absorbtion_medium(
const Spectrum &sigma_a);
std::shared_ptr<Medium> create_homogeneous_medium(
const Spectrum &sigma_a,
const Spectrum &sigma_s,
real g);
std::shared_ptr<Medium> create_void();
AGZ_TRA... | [
"airguanz@gmail.com"
] | airguanz@gmail.com |
e96af7113d96551b9babff87da4f016a00de6d94 | 4c304390518ed09b983460914c431e446f765869 | /main.cpp | a6b2b662ef7c7795841aea0f2f316ce2df081cf6 | [] | no_license | Tzoali/NoelEscapes | 93b97b6d7dee0b76c69874963568fafd7fe3cc6a | 7ca953545bb602fe9830b3080c15b87df41b11a4 | refs/heads/master | 2023-07-06T23:05:59.193796 | 2021-08-06T14:18:51 | 2021-08-06T14:18:51 | 393,398,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,019 | cpp | //INTEGRANTES:
// Daniel Tzoali Arroyo Valdivia
// Omar Arturo Ruiz Bernal
#include "Texture.h"
#include <iostream>
#include <string>
#include <string.h>
#include <time.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_main.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_mixer.h>
#include <algorit... | [
"dtav.sk.99@gmail.com"
] | dtav.sk.99@gmail.com |
5c7f59cb581ff1e5fbe73dcc99778089391b8a41 | ec8bd794331fb9548a7a3306a1a378227cbfaf79 | /cleanHack_FileIO.cpp | 8c117d5ab0736e30ae83e317747c11eb66faf054 | [] | no_license | awsdert/renegade | 8b3c4524e183e02d1f644bd85bfd324ea875f2b6 | 8060d04ef9cdf6c41090195ea43a93d7d4de8eaf | refs/heads/master | 2021-04-09T16:53:42.289316 | 2012-06-21T17:01:07 | 2012-06-21T17:01:07 | 32,187,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,078 | cpp | #include "G.h"
void G::mLoadHack( void )
{
s32 mode = 0, index, count;
xStr txt, text, path, file, name;
xStrT st;
xAStr array;
HACK* hack = new HACK;
CODE code;
u32 tmp;
tree_T->DeleteAllItems();
xTreeID root, doNotModifyThisTreeId;
gGetHackFile( path, file );
wxTextFile file_TF;
file_T... | [
"gb2985@ef3b2f1c-1a11-4849-4361-9c7d57dfec43"
] | gb2985@ef3b2f1c-1a11-4849-4361-9c7d57dfec43 |
1b55bcc2094c2cb3a8837fd4f1b007eb5aedd8ad | e2502b991ef5c62bf4263edc62d1e252c9294fbe | /FinalHUDTest/Intermediate/Build/Win32/UE4/Inc/FinalHUDTest/FinalHUDTestGameModeBase.generated.h | 2e0b21199dc4d738a388c3a2bc75a1c8875405f1 | [] | no_license | sbairedd/HONR399Final | 59fc2c34b01ccbad91c2f00ea6679a4aa8039411 | 0c56be06cd50d693ea5925fd065bef2d5bb51255 | refs/heads/master | 2020-04-02T03:00:28.425276 | 2018-04-27T03:58:32 | 2018-04-27T03:58:32 | 129,951,984 | 0 | 0 | null | 2018-04-17T19:00:57 | 2018-04-17T19:00:57 | null | UTF-8 | C++ | false | false | 4,456 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"matrickpay@gmail.com"
] | matrickpay@gmail.com |
7d57c8e86929e789a8507f31518db140d94de59e | 4bbb92f4903ffa73410a5c674aef85bf219d4242 | /Nibbler.cpp | fb08f30569c29ff3a53c0a4941574e843a27f2b1 | [] | no_license | RavivarmanPerinpanathan/nibbler | abf107b3599f4792ef52dcdec12cf60a7b5942e8 | c9a3b1b3bf58eb30f3437429b333fb6159659d1e | refs/heads/master | 2020-03-30T00:12:56.468437 | 2015-09-19T01:56:21 | 2015-09-19T01:56:21 | 42,755,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,661 | cpp | //
// Nibbler.cpp for Nibbler in /home/perinp_r/rendu/cpp_nibbler
//
// Made by ravivarman perinpanathan
// Login <perinp_r@epitech.net>
//
// Started on Sun Apr 5 20:35:56 2015 ravivarman perinpanathan
// Last update Sun Apr 5 21:14:05 2015 ravivarman perinpanathan
//
#include <string>
#include <... | [
"perinp_r@epitech.eu"
] | perinp_r@epitech.eu |
de4f1665e78d3d60f105985604e1305619215980 | 5f2e4f42080ccb986308688404a2981753f87d69 | /AquaEngine/Generators/NormalOrientedSSAO.h | a9dad49350c42b6e9953f4a90edc90ec9463df4c | [
"MIT"
] | permissive | therselman/aquaengine | 3c941ba6b77dc571e8e426245250e013bf5ae035 | aea6de9f47ba0243b90c144dee4422efb2389cc7 | refs/heads/master | 2021-07-22T13:52:24.316935 | 2017-10-28T11:58:48 | 2017-10-28T11:58:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | h | #pragma once
#include "..\Renderer\ShaderManager.h"
#include "..\Renderer\RendererInterfaces.h"
#include "..\Renderer\RenderDevice\RenderDeviceTypes.h"
#include "..\AquaMath.h"
#include "..\AquaTypes.h"
namespace aqua
{
class Renderer;
class ParameterGroup;
class Camera;
class Allocator;
class LinearAllocator;... | [
"tiago.costav@gmail.com"
] | tiago.costav@gmail.com |
734f3de22638441623d47f44ce344f4b0a748ec8 | a6cee0a2e956fcf63f19f359675f5cb0552cdb5a | /garminfitsdk/fit_workout_session_mesg.hpp | 8ad1af7f50d991c188a9d1f09060adee84f355f0 | [] | no_license | KatzSanya/MRC_creator | fc45d0a81d11fb5082b5ef8b84e6bb4c236052b9 | 42128c78fba177cd20b3a948918c0451b0154367 | refs/heads/master | 2023-05-31T23:00:03.848531 | 2021-06-22T01:45:30 | 2021-06-22T01:45:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,508 | hpp | ////////////////////////////////////////////////////////////////////////////////
// The following FIT Protocol software provided may be used with FIT protocol
// devices only and remains the copyrighted property of Garmin Canada Inc.
// The software is being provided on an "as-is" basis and as an accommodation,
// and ... | [
"helder.giro.lopes@gmail.com"
] | helder.giro.lopes@gmail.com |
7e2174584e904c1c65bf3936394e091591112054 | 561f1f3eb860795e322658667185a7e37ee5635d | /Rook.h | e7bb8e6cbb5bf9518a2b8f69f3926ef9b4fdfc9d | [] | no_license | Sabeehs/Sam-s-Chess | 13fc07997ab9251de5fe64b277c609d190fe20d9 | d654691a032d756378ce9c6c8e3c5bfd945bc0ef | refs/heads/master | 2020-06-18T10:04:21.265923 | 2019-07-15T07:08:50 | 2019-07-15T07:08:50 | 196,264,311 | 0 | 1 | null | 2019-07-15T07:08:51 | 2019-07-10T19:32:42 | C | UTF-8 | C++ | false | false | 270 | h | #pragma once
#include "Piece.h"
#include "Utilities.h"
#include "Board.h"
class Board;
class Piece;
class Rook :
public Piece
{
public:
Rook(int x, int y, int color);
void draw();
void save(ostream& out);
bool isValid(int x, int y, Board& b);
};
| [
"noreply@github.com"
] | noreply@github.com |
ab1b878366e04fb0ea3c827393e478714e8188c1 | af7f2ef58c7cbbbe78f0a2e57a14d45016ec607e | /Micro16/third_pipe.H | daaf12fa5ba2a087f657039df75775b843fa6d53 | [] | no_license | juliolugo96/microbaseball | d585dc313a0fbc216ad1fbb1760cf06d7e033ea9 | bde02945b6d4dcfc1069fcfbd19d712e2352459a | refs/heads/master | 2020-06-10T03:27:10.524604 | 2019-06-24T19:42:49 | 2019-06-24T19:42:49 | 193,567,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | h | #ifndef THIRD_PIPE_H
#define THIRD_PIPE_H
/**
* @name Third pipe
* @file third_pipe.H
* @author Micro 16 development team
* @brief Third pipe designed and developed in C++ using
* system-C library
*/
# include <systemc.h>
# include <iostream>
using namespace std;
class third_pipe : public sc_module
{
pub... | [
"julio@ignisgravitas.com"
] | julio@ignisgravitas.com |
ccc0b88009c7cd818fb849343ec8aecd261b2ec3 | 43a0bc7a80572033ba0312078c1118b1865e1c38 | /Øving 3/main.cpp | 5f304acf906a44c3c21681fdf66cbaa42878c301 | [] | no_license | MathiasWahl/Cpp | f6369c497bccb83f87fb3c689ac0f5e8065bb101 | 2309e8826742eb0dcb2b74f8b2fd5327b05e5ac9 | refs/heads/master | 2021-09-07T02:30:29.876267 | 2018-02-15T21:37:06 | 2018-02-15T21:37:06 | 119,513,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | #include "canonball.cpp"
#include "utilities.hpp"
#include <iostream>
#include <ctime>
int main(){
/*
cout << accY() << endl;
cout << "\nTest X:" << endl;
cout << posX(0, 50, 0) << endl;
cout << posX(0, 50, 2.5) << endl;
cout << posX(0, 50, 5) << endl;
cout << "\nTest Y:" << endl;
cout << posY(0, 25, 0) ... | [
"ma10asw@gmail.com"
] | ma10asw@gmail.com |
5c49d675eee539f882921235a7bf6964a1964e97 | 7dc44cd168c7f22bd59e85dfbc86860e50146c1d | /dnn/Project2/소스.cpp | d20fbd093e326e066b911626508b0d53c66138a6 | [] | no_license | 1jd92/dnn | 8a77fb278ef5211c3e8940a714f40bfdd13107b4 | 0471177af6ce227f801b770425403e0b7baa3290 | refs/heads/main | 2023-05-24T12:14:28.935698 | 2021-06-18T18:20:30 | 2021-06-18T18:20:30 | 378,227,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,122 | cpp | #include <stdio.h>
#include <memory.h>
#include <stdlib.h>
#include <time.h>
#include <cmath>
#include <iostream>
using namespace std;
template<typename T, typename U>
class _dnn;
template<typename T, typename U>
class _dnn_node;
template<typename T, typename U>
class _dnn2;
template<typename T>
class d... | [
"noreply@github.com"
] | noreply@github.com |
e33b297aa415a4e9eddaaea8ae93947d887c91e4 | 193f868f85e31da20e01c04cee2f2313c8db1ac8 | /SimulatedAnnealingExtraP/Solution.cpp | e03da327fc90ffe474345d8352fc652e07d5e83b | [
"Apache-2.0"
] | permissive | MiBu84/SMP-Simulated-Annealing | 3a2e9fdcac2d99a8823559f9480c6dc0d8e4ad37 | e70ce403012ffc285e5053afd87e5e78a0d5fefa | refs/heads/master | 2020-03-22T18:23:31.645780 | 2018-07-11T08:56:08 | 2018-07-11T08:56:08 | 140,457,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,626 | cpp | #include "stdafx.h"
#include "Solution.h"
#include "Configurator.h"
#include <math.h>
#include "EigenParameterEstimator.h"
#include <iostream>
#include <random>
#include <omp.h>
#include "Configurator.h"
#include "RSSCostCalculator.h"
#include <sstream>
Solution::Solution()
{
if (_len > 0)
_coefficients = new dou... | [
"michael.burger84@gmx.de"
] | michael.burger84@gmx.de |
79295f90df5d8f33766ec622477fae9c6cc70b14 | 49b59f314fe0643a1d4750092ae6defd85d4c0fd | /include/taobao.h | 82d1fc105ebf31aafe9088558f369ae893ad81c6 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | permissive | Athenacle/tb | 72ebeed08952d7afb2ee55c9c4bef1c8b64ba2ad | 3c1ad7d02e92822d965453458285386aab37c789 | refs/heads/master | 2020-03-22T14:24:21.622885 | 2018-08-22T11:37:10 | 2018-08-22T11:37:10 | 140,176,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | h |
/* shared
*
*/
#ifndef TAOBAO_SHARED_H
#define TAOBAO_SHARED_H
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <fcntl.h> // for O_RDONLY
#include <string>
namespace tb
{
class Settings;
class Logger;
namespace thread_ns
{
class thread;
class thread_arguments;
} //... | [
"zjjhwxc@gmail.com"
] | zjjhwxc@gmail.com |
72645eac0c36e809b229ed72ac4b57874e408072 | 2d7236941560fe81a6390a744005128d451aa29d | /src/test/sanity_tests.cpp | 057e13db76f5defb751398c3bc186c6939db8153 | [
"MIT"
] | permissive | zero24x/billiecoin | 1fcb2fa409c3940bd493d8ff7c8ebd754fe5c881 | 1b943b84aa687136edeb6c1fa258705a99157463 | refs/heads/master | 2020-12-23T22:32:08.313554 | 2020-01-30T20:23:10 | 2020-01-30T20:23:10 | 237,296,384 | 0 | 0 | MIT | 2020-01-30T20:11:16 | 2020-01-30T20:11:16 | null | UTF-8 | C++ | false | false | 718 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Copyright (c) 2019-2020 The Billiecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "compat/sanity.h"
#include "key.h"
#include "test/test_bil... | [
"admin@coldwallet2020.com"
] | admin@coldwallet2020.com |
8f4eace0c98196e2f60738d99fcd5dc0a663d30b | 238e46a903cf7fac4f83fa8681094bf3c417d22d | /VTK/vtk_7.1.1_x64_Release/include/vtk-7.1/vtkUGFacetReader.h | 3abf940d6d3d984dda01a48ed2f8596b7be429f5 | [
"BSD-3-Clause"
] | permissive | baojunli/FastCAE | da1277f90e584084d461590a3699b941d8c4030b | a3f99f6402da564df87fcef30674ce5f44379962 | refs/heads/master | 2023-02-25T20:25:31.815729 | 2021-02-01T03:17:33 | 2021-02-01T03:17:33 | 268,390,180 | 1 | 0 | BSD-3-Clause | 2020-06-01T00:39:31 | 2020-06-01T00:39:31 | null | UTF-8 | C++ | false | false | 3,262 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkUGFacetReader.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This s... | [
"l”ibaojunqd@foxmail.com“"
] | l”ibaojunqd@foxmail.com“ |
4c384429d1e5a31f8744e0d876f49f4f273cd5af | b1950dd1f1f7cfbc8843f993b884baee0d0e3488 | /Even pair sum.cpp | caf297dc1337947ed3247773df7a7459b199129f | [] | no_license | Abhiishek-More/Codechef-Deceber-Challenge | 2645eb96ec384f163f6c8d5b05036b9729ecf8cb | 824bf9798100b2aeb7f572705bbea0826ffd546e | refs/heads/master | 2023-01-30T10:25:31.067782 | 2020-12-19T05:03:54 | 2020-12-19T05:03:54 | 322,769,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | #include<iostream>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int T;
scanf("%d", &T);
while(T--)
{
unsigned long long int out, evenA=0, oddA=0, evenB=0, oddB=0;
scanf("llu %llu", &A, &B);
if(A%2==0)
{
... | [
"abhiishek.more@gmail.com"
] | abhiishek.more@gmail.com |
e62ea1646814980e4f52832b256289c26ea29887 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-application-insights/source/model/ListComponentsResult.cpp | eb4afd45d90e39c9d6228c846b37d839df5be498 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 1,892 | 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... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
5e13ff7d061edb1fa547b469b4fc03c0cfa029f3 | b3f9d2a11a6ee9ace2b276a49aba380c2a79592b | /Dependencies/Build/src/skia/include/core/SkVertices.h | c127d37432cb2a6daf09ab2c5370d6918733e8d2 | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lah64/test | 0f709e776c890ee1fd826f35fdac914aeba296b2 | 9b03adce666adb85e5ae2d8af5262e0acb4b91e1 | refs/heads/master | 2023-07-21T19:38:42.479734 | 2020-10-01T23:36:55 | 2020-10-01T23:36:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,030 | h | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkVertices_DEFINED
#define SkVertices_DEFINED
#include "include/core/SkColor.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
class SkData;
str... | [
"alexanderskyzzz@gmail.com"
] | alexanderskyzzz@gmail.com |
944ed5eba0c5fc01df846105723781eb2b5b3342 | 340980d65abc89e98b274417ec118b1beca77924 | /Kick Start/2021/1 A/KGoodnessString.cpp | bf2a189a8fab2177b96a742331b7f4b6ab5cc4d7 | [] | no_license | AthulJoseph27/Code-Jam | fe5b1fcb7c986d443168940a69ddf36127cd2973 | fcab3e58b69cf4eed8fb20f7d3e77403a1acf517 | refs/heads/main | 2023-05-05T04:43:22.181102 | 2021-05-23T17:14:24 | 2021-05-23T17:14:24 | 353,401,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,971 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<ll> vl;
typedef vector<vl> vvl;
#define push push_back
#define all(v) v.begin(), v.end()
void __print(int x)
{
cerr << x;
}
void __print(long x) { ce... | [
"athuljoseph27052001@gmail.com"
] | athuljoseph27052001@gmail.com |
f89d31874e0e1036a32c713bc15d8d7ae23abfd8 | a25e95ea8eb3d682286758588f79a29ba77a6121 | /Day26/Coin_Change/1/Iterative.cpp | db32c460e7c4c962d996b445e6311157544875bc | [] | no_license | veedee2000/SDE_30_DAYS | adf12bd9a7909f2c8cca2bf81bba5857c120d0ba | 31bf4220a401f2ea0879dc5aa28403527e6b8c4d | refs/heads/master | 2022-12-23T08:28:24.925486 | 2020-09-07T07:02:06 | 2020-09-07T07:02:06 | 270,763,479 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | class Solution {
public:
int coinChange(vector<int>& coins, int amount) {
vector<int>dp(amount + 1, INT_MAX);
dp[0] = 0;
for(int i = 1;i <= amount;i++){
for(auto x:coins){
if(i - x < 0 or dp[i - x] == INT_MAX) continue;
dp[i] = min(1 + dp[i - ... | [
"noreply@github.com"
] | noreply@github.com |
a7ff28344b98ad10dda0c116d6e488486242db7b | d907ac57899bc7933451097de5224dc70199c7b9 | /offer18/List.cpp | 3e69956072007289e7d5e8776857436a6bc0146f | [] | no_license | wzq-hwx/offer_jian | 1874776629e5854b06b08de75a700cb254e0619a | 4e7ed3a0143fe21ec6f2058f87d013652ccc6ae3 | refs/heads/master | 2020-07-05T00:00:34.301214 | 2019-09-27T07:24:02 | 2019-09-27T07:24:02 | 202,462,673 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,199 | cpp | //
// Created by lenovo on 2019/8/27.
//
#include "List00.h"
#include <stdio.h>
#include <stdlib.h>
ListNode* CreateListNode(int value)
{
ListNode* pNode = new ListNode();
pNode->m_nValue = value;
pNode->m_pNext = nullptr;
return pNode;
}
void ConnectListNodes(ListNode* pCurrent, ListNode* pNext)
{
... | [
"1259906709@qq.com"
] | 1259906709@qq.com |
d63f80de77cc0dc1bb05120e0c4edf6d09b5087e | 9a94e85ef2820d626cd76123b9aa49190c991003 | /HSPF_MRO_ANDR/build/iOS/Preview/src/_root.HSMRO_FuseControlsControl_Background_Property.cpp | 3545ef526d825925deb981fb2b1554157d60f7ce | [] | no_license | jaypk-104/FUSE | 448db1717a29052f7b551390322a6167dfea34cd | 0464afa07998eea8de081526a9337bd9af42dcf3 | refs/heads/master | 2023-03-13T14:32:43.855977 | 2021-03-18T01:57:10 | 2021-03-18T01:57:10 | 348,617,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,847 | cpp | // This file was generated based on '/Users/jay/Dev/Fuse/HSPF_MRO_ANDR/build/iOS/Preview/cache/ux15/HS MRO.unoproj.g.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#include <_root.HSMRO_FuseControlsControl_Background_Property.h>
#include <Fuse.Controls.Control.h>
#include <Uno.UX.IPropertyList... | [
"sommelier0052@gmail.com"
] | sommelier0052@gmail.com |
de1817cd588bf23a119b7fc380563dcaf06feb26 | 2ba94892764a44d9c07f0f549f79f9f9dc272151 | /Engine/Source/Editor/ComponentVisualizers/Private/SpotLightComponentVisualizer.h | e521ad36695a50299d97924ca6d6fbcfe8d3dc13 | [
"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 | 399 | h | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ComponentVisualizer.h"
class FSpotLightComponentVisualizer : public FComponentVisualizer
{
public:
// Begin FComponentVisualizer interface
virtual void DrawVisualization(const UActorComponent* Component, const FSceneView* View, FPr... | [
"dkroell@acm.org"
] | dkroell@acm.org |
234cff216cec4848ab3c7328a2fff23d5f73f26d | 35f01879fcb6a6435994de68518275a07c3d631f | /WinAPI GameFramework/Include/Object/guided_bullet.h | b1aee2b836b877d7be45225285e2039d5504291e | [] | no_license | kwangminy27/WinAPI-GameFramework | 5520a8b8a6d1fc845a9935e7970e3104db522e3a | e4530c6a4a255f853d8407f12225512e24366319 | refs/heads/master | 2020-03-24T22:49:47.052774 | 2018-08-07T12:25:00 | 2018-08-07T12:25:00 | 143,104,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 943 | h | #pragma once
#include "bullet.h"
class GuidedBullet final : public Bullet
{
friend class ObjectManager;
public:
virtual bool Initialize() override;
bool is_guided() const;
std::shared_ptr<Object> target() const;
void set_target(std::weak_ptr<Object> const& target);
private:
GuidedBullet() = default;
GuidedB... | [
"kwangminy27@outlook.com"
] | kwangminy27@outlook.com |
f9874f8ccf40dcb5c1b81242bebf0444488c0bb1 | feff5dadc85629c0947abf87a79f86ace8c84539 | /atcoder/abc256/F.cpp | afba99011943b06a1c6ca8e3de8c6ea5b07fbab7 | [] | no_license | Redleaf23477/ojcodes | af7582d9de8619509fa4ffa5338b2a59d9176608 | 7ee3053a88a78f74764bc473b3bd4887ceac6734 | refs/heads/master | 2023-08-13T22:34:58.000532 | 2023-08-10T15:54:05 | 2023-08-10T15:54:05 | 107,507,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | cpp | #include <bits/stdc++.h>
using namespace std;
using LL = long long int;
constexpr LL MOD = 998244353;
LL fastpw(LL x, LL p) {
LL ans = 1;
while (p > 0) {
if (p % 2 == 1) ans = ans * x % MOD;
x = x * x % MOD;
p /= 2;
}
return ans;
}
struct BIT {
int n;
vector<LL> bit;
... | [
"schpokeool@gmail.com"
] | schpokeool@gmail.com |
982784b052fe88e88786e2a85ce21f2d1b783b97 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/95/375.c | 90860a26d5dfc92a47edba6f24b5df84dfa3264f | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420 | c | int main(int argc, char* argv[])
{
char s1[80],s2[80];
int i;
gets(s1);
gets(s2);
for (i=0;s1[i]!='\0';i++)
{
if (s1[i]<='z'&&s1[i]>='a')
{
s1[i]=s1[i]-32;
}
}
for (i=0;s2[i]!='\0';i++)
{
if (s2[i]<='z'&&s2[i]>='a')
{
s2[i]=s2[i]-32;
}
}
i=strcmp(s1,s2);
if (i==0)... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
2f6190370eb297db2b2011dfb5bb2d60cdee6068 | 0953b8e08ae16dfb2ddfe278d28cbcd32d8f1276 | /Bit Manupulation/342. Power of Four.cpp | aa9b477836839ea646e86a5d5234c0b914b92bcc | [] | no_license | Robust-star/Leetcode_Practice | acc876f13cf0bb3d52e2759d8f064f9453c10b5a | 8dddf0626a4dabbecc40108d5e4f7d5bf2336bdd | refs/heads/master | 2023-06-08T21:09:15.501292 | 2021-06-30T16:48:00 | 2021-06-30T16:48:00 | 378,225,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,222 | cpp | bool isPowerOfFour(const int &num)
{
return num > 0 && (num & (num - 1)) == 0 && (num & 0xAAAAAAAA) == 0;
}
// Explanation:
// A number which is a power of 4 has binary representation like this:
// 000...1000000...
// There's only a single 1 bit. The number of zeros after the bit 1 must be an even number. 4^0 = 1 ... | [
"raj1999gupta@gmail.com"
] | raj1999gupta@gmail.com |
ca72775b59aef895283808d82c4b1905e0a8ee66 | 165b2de352f01137bf108f6ca37b3753b10348f8 | /release/moc_renderwindow.cpp | 3292251436a6355f2e4f0e13d5ea395fc49b86ff | [] | no_license | ASnow/renderer | 9badeb379900b9b2e4d6d0c212b9e66fa43925a4 | 221c19e98de2673a964a091f6cec337a09d7d391 | refs/heads/master | 2016-09-03T00:36:31.756799 | 2011-01-19T16:07:30 | 2011-01-19T16:07:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,838 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'renderwindow.h'
**
** Created: Wed 19. Jan 15:44:30 2011
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.0)
**
** WARNING! All changes made in this file will be lost!
*********************... | [
"asnow.dev@gmail.com"
] | asnow.dev@gmail.com |
63112593eda14daa8418a57797897735bb3a602a | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/modules/background_fetch/background_fetch_record.cc | 2b90ccf72dd7ed34ed79c43fb28fa52f23d13511 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 3,688 | cc | // Copyright 2018 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 "third_party/blink/renderer/modules/background_fetch/background_fetch_record.h"
#include "third_party/blink/renderer/core/fetch/request.h"
#inclu... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
359b8040b067b4a8f2fd4e1e17308bfde6d539a8 | 3bb8fba898d392412653bf564b53f3362edc5af8 | /Backend/src/utils/randomgeneration.cpp | 4fc010c24346cea6e4b9eb2caaec340eb1364d44 | [
"Apache-2.0"
] | permissive | Verdagon/Vale | da1e693938eb024dbf709905c4bb62d45260332d | 12e4f6410b929952ba8bfaa2cf9d6cd6bd55551d | refs/heads/master | 2023-08-06T20:00:08.695404 | 2023-08-01T23:53:31 | 2023-08-01T23:53:31 | 275,885,817 | 33 | 2 | Apache-2.0 | 2023-08-29T19:07:13 | 2020-06-29T17:42:21 | Scala | UTF-8 | C++ | false | false | 2,430 | cpp | #include "randomgeneration.h"
#include <stdint.h>
// Prime so that we don't increase the possibility of collisions.
// Below 2^32 so that it fits in an assembly immediate.
// Courtesy of https://bigprimes.org/
constexpr uint32_t GEN_PRIME_INCREMENTS[128] = {
160991227,
615539387,
139136747,
592239539,... | [
"noreply@github.com"
] | noreply@github.com |
f0e5449999620639d45bced63fa20631fb49ca08 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/BP_Hakkason_leadShe_functions.cpp | 468fd7991d5286b0564fed8be90525b71855ccf6 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,044 | cpp |
#include "../SDK.h"
// Name: Shenmue3, Version: 1.0.2
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BP_Hakkason_lead... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
492b642e0e45b1b5dc35a10f4dbcba857d5b0cd4 | bd3630cebd53befb1c5ba3f4281eff3f4503b991 | /VS 2019/Arduino/simple/simple.ino | 2a2a9dad2cf155bc4c665ef3b4ea4925260d29f8 | [] | no_license | YeungShaoFeng/FIlesBackUps | e4dd3d9082049c1caa913a3c11c9e94955d4720c | 9d1b10fdfe3a6acc0a1aad082127f431e718dd9b | refs/heads/master | 2020-09-07T12:34:24.159158 | 2019-11-22T01:37:59 | 2019-11-22T01:37:59 | 220,781,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | ino |
int value = 0;
void setup() {
Serial.begin(115200);
pinMode(PB0, INPUT_ANALOG);
pinMode(PB1, OUTPUT);
}
void loop() {
value = analogRead(PB0);
Serial.println(value);
delay(300);
} | [
"2013114698@qq.com"
] | 2013114698@qq.com |
7bca95f543354b8374d6395548551d7e9a9e2cd5 | 6828a93fe5c060e37a9c26d65ea3bf54837e4005 | /public/public_pushbuton_number.h | 7ad781dc8e27a1267f7b4a816eea8ab470089cfd | [] | no_license | blockspacer/fastfd20200204 | 76d87687ef7aeff174f53e03ad52734df3d5dfff | 63d758b0962f3d2ebe9ecb10e0b26c79469eace4 | refs/heads/master | 2022-04-07T07:19:59.865293 | 2020-02-04T02:34:21 | 2020-02-04T02:34:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | h | #ifndef PUBLIC_PUSHBUTON_NUMBER_H
#define PUBLIC_PUSHBUTON_NUMBER_H
#include <QPushButton>
class public_pushbuton_number : public QPushButton
{
Q_OBJECT
public:
public_pushbuton_number(QWidget *parent);
void setNumber(double num);
double number();
void setNumber(const QString &desc);
QString n... | [
"ch593030323@gmail.com"
] | ch593030323@gmail.com |
dcb9b6e268e5213956e8580e69fdf68d5339099d | 7f439919fb8c3a8bbd0111f91217f3fd8668d262 | /Projects/AILib/Genetics/Genetics_3_0/TestGenetics/Source/CommandLineOptions.h | f4c95449e8b2284f6746a482d974d274916b72d6 | [] | no_license | quant-guy/Projects | 459aa1e17e72057b1eef58c1926206686b32a78f | f50361dbfa9ee6e4d40cf99abf63edc6fc7e5308 | refs/heads/master | 2023-07-19T19:20:05.850481 | 2023-07-07T23:32:08 | 2023-07-07T23:32:08 | 48,806,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,140 | h | ///////////////////////////////////////////////////////////////////////////////////
// COPYRIGHT 2015 Kovach Technologies, Inc.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must ... | [
"0xd3ad@0xd3ad.com"
] | 0xd3ad@0xd3ad.com |
515b3c7db27019b147ea5165ceb2ac7ec8167beb | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /ngraph/test/util/engine/interpreter_engine.cpp | 876bd63d146d02b7bc32193d1ae5047acdf88318 | [
"Apache-2.0"
] | permissive | mashoujiang/openvino | 32c9c325ffe44f93a15e87305affd6099d40f3bc | bc3642538190a622265560be6d88096a18d8a842 | refs/heads/master | 2023-07-28T19:39:36.803623 | 2021-07-16T15:55:05 | 2021-07-16T15:55:05 | 355,786,209 | 1 | 3 | Apache-2.0 | 2021-06-30T01:32:47 | 2021-04-08T06:22:16 | C++ | UTF-8 | C++ | false | false | 10,127 | cpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <cmath>
#include <iomanip>
#include <sstream>
#include "interpreter_engine.hpp"
#include "shared_utils.hpp"
using namespace ngraph;
namespace
{
template <typename T>
typename std::enable_if<std::is_floating_point... | [
"noreply@github.com"
] | noreply@github.com |
7aecae623ed538c25bc02ff7d6aa9e1cdd2615c9 | 282cb2c13dc07b6632a0c7f2d54f80ba6454c7a6 | /chapter5/5_22.cpp | 6b3b857f230f2636ea0072a3d98392b151271c37 | [] | no_license | YipengUva/cpp_primer_solutions | 850c789ccb4e6038b1b683d54d47b8932b25e251 | 45fda2dde20cfa8054a3020467b8c4dc0de5fb6c | refs/heads/master | 2020-05-31T23:16:29.283644 | 2019-11-13T10:52:30 | 2019-11-13T10:52:30 | 190,535,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include <iostream>
#include <vector>
#include <assert.h>
#include <string>
using namespace std;
int main(){
int sz;
while(cin >> sz){
if (sz <= 0){
std::cout << "using positive input: ";
continue;
}else
break;
}
std::cout << "input... | [
"yipeng.song@hotmail.com"
] | yipeng.song@hotmail.com |
da10169407063a36c889421a77c9ab31671cdb6c | 8bc919cd1c0e880b736052154a33a3ffaa3a1c0d | /24.chapter/Demo.04/Demo.h | dfa205af1d72cbbf6bf458111cc7f8311fb06af3 | [] | no_license | goodpaperman/inside | 84d4ae5c8a0ad322bfa3e73ca77e69a33f27e708 | 70380057cdc00a6c9033ddaf21669949a23592c9 | refs/heads/master | 2020-05-30T11:02:41.953202 | 2019-06-01T03:52:43 | 2019-06-01T03:52:43 | 189,687,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | h | // Demo.h : main header file for the DEMO application
//
#if !defined(AFX_DEMO_H__BF9AC911_D0CE_458B_95EA_69FDE17DF1FB__INCLUDED_)
#define AFX_DEMO_H__BF9AC911_D0CE_458B_95EA_69FDE17DF1FB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before incl... | [
"haihai107@126.com"
] | haihai107@126.com |
c92c037f40c5b192a89f583c30cc5ac49aed0012 | 2836cce07d048ed1fc9f1bd53a958df3681112c6 | /Triditizer/logging.cpp | 2ca65f75be0fdc5272ae2739780fcfbed7ee080d | [
"MIT"
] | permissive | samaust/Triditizer | 08ad4b19c4912f669fcd8f4876952856c6f7f53a | bd0a5aa7369be9b80a72d90890e97dc488575a58 | refs/heads/master | 2020-12-31T07:55:47.688623 | 2016-02-21T04:01:16 | 2016-02-21T04:01:16 | 52,189,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | cpp |
#include <windows.h>
#include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
#include "logging.h"
va_list va_alist;
std::ofstream ofile;
static bool logOpened = false;
void __cdecl open_log(void)
{
if (!logOpened)
{
logOpened = true;
static char dir[] = "C:\\StereoScreenshots\\stereoLog.tx... | [
"samaust@hotmail.com"
] | samaust@hotmail.com |
e4680c51e08dfc59af4c1c41967cf3de0175748f | dc2e0d49f99951bc40e323fb92ea4ddd5d9644a0 | /SDK/ThirdLibrary/include/activemq-cpp/decaf/lang/Byte.h | 1b775df4d85fd4baf460c2d706699e116f9d6f79 | [] | no_license | 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 | 12,122 | 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 |
485662f427758a8691e26cb25556c3ebb6dff9c6 | fc5cf6e087df5b7934ceed7d2a1d22b094197ff1 | /processed/12-189-9.cc | 8490c885d922319b12653f26ea53234bbdcddd1e | [
"MIT"
] | permissive | giulianobelinassi/LTO-Timing-Analysis | 80767a682960d2f2b1944edaf116466a784ac984 | 12eb7f3444f6c938c0a225f61aec47e419526490 | refs/heads/master | 2023-01-30T09:20:12.705767 | 2020-12-10T00:30:16 | 2020-12-10T00:30:16 | 263,368,860 | 1 | 0 | MIT | 2020-10-27T23:16:33 | 2020-05-12T14:59:34 | C++ | UTF-8 | C++ | false | false | 838,998 | cc | # 1 "/home/giulianob/gcc_git_gnu/gcc/gcc/analyzer/bar-chart.cc"
# 1 "/home/giulianob/gcc_git_gnu/build_temp/gcc//"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "/home/giulianob/gcc_git_gnu/gcc/gcc/analyzer/bar-chart.cc"
# 21 "/home/giulianob/gcc_git_gnu/gcc/gcc... | [
"giuliano.belinassi@usp.br"
] | giuliano.belinassi@usp.br |
736a7489a8d36a1c937cf64d39ebc56af7595bf8 | 45e425ccfed054b2c92b6489f05070b02e25e6ef | /codeforce/Robot Vacuum Cleaner.cpp | 5fd2d1c45b4b3625ef395875b23d72a0f1b4691c | [] | no_license | riddhi2000/Competitive-programming | 7d249d6c8f3756b68da738583dca429bab99f661 | 13e1d4fd40add753dedf524bf827b01491b6408c | refs/heads/master | 2021-09-08T08:11:20.594961 | 2018-03-08T14:21:45 | 2018-03-08T14:21:45 | 108,946,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define pp pop_back
#define mp make_pair
#define MOD 1e9+7
int main(){
int n;
cin >> n;
for(int i=0;i<n;i++){
string s;
cin >> s;
}
} | [
"riddhi.patel@students.iiit.ac.in"
] | riddhi.patel@students.iiit.ac.in |
f264a6edc16b6c8897757c06e8e6cf670bd265ce | 9120a9b17d00f41e5af26b66f5b667c02d870df0 | /SOURCE/ocf/oledoc.cpp | 3a10279840a8591499edca7917dd715b27e99577 | [
"Zlib"
] | permissive | pierrebestwork/owl | dd77c095abb214a107f17686e6143907bf809930 | 807aa5ab4df9ee9faa35ba6df9a342a62b9bac76 | refs/heads/master | 2023-02-14T02:12:38.490348 | 2020-03-16T16:41:49 | 2020-03-16T16:41:49 | 326,663,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,538 | cpp | //----------------------------------------------------------------------------
// ObjectComponents
// Copyright (c) 1994, 1996 by Borland International, All Rights Reserved
//
//$Revision: 1.13 $
//$Author: jogybl $
//$Date: 2007-09-15 11:43:48 $
//
// Implementation of TOleDocument. Doc/View document that supp... | [
"Chris.Driver@taxsystems.com"
] | Chris.Driver@taxsystems.com |
1871f38b043af34c9fef670121afc7b24a5e0c57 | 364c1dd1855c4fa0a969ff1d0c9974be9c2f5271 | /CoopGame/Source/CoopGame/Private/SPlayerState.cpp | 91b31373a50d47f3d8dddb0d36b4cd8c0ed68615 | [
"MIT"
] | permissive | DavidConsidine/CoopGame | 070099ee3bf27f6f349d720f598e30db2165507f | 429f701e208263f1e531bd8057a7ff437766ce6d | refs/heads/master | 2021-03-30T17:35:48.223313 | 2018-05-15T13:21:37 | 2018-05-15T13:21:37 | 117,843,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SPlayerState.h"
void ASPlayerState::AddScore(float DeltaScore)
{
Score += DeltaScore;
}
| [
"dmconsie@gmail.com"
] | dmconsie@gmail.com |
12a55499c0d2a4d3f2d6ffda5c00713fa69fc8fd | 1dd0195040028e2e8496d4b68bb60ef838dc5c76 | /proxy/epoll_queue/timer_fd.cpp | 1d66daf5ea8479e051ccc29f3c8bab5c766baf66 | [] | no_license | CawaEast/proxi | dc0ea1e79b59abf63a749093aa147622c1161cc2 | ef967652a72c24741ae4ed90aa10b7be9a5e30eb | refs/heads/master | 2021-07-13T09:18:49.530096 | 2017-10-14T14:45:11 | 2017-10-14T14:45:11 | 106,099,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | cpp | #include "timer_fd.h"
#include "../util/annotated_exception.h"
#include <sys/timerfd.h>
timer_fd::timer_fd() : file_descriptor() {
}
timer_fd::timer_fd(clock_mode cmode, fd_mode mode) : timer_fd(cmode, {mode}) {
}
timer_fd::timer_fd(clock_mode cmode, std::initializer_list<fd_mode> mode) {
int clock_mode = (cmod... | [
"777.777.1234@mail.ru"
] | 777.777.1234@mail.ru |
77f0e7a872511fb3552d5832f5db7befc1721969 | 95fc9763929e66297a6a700aaa2fd59e93ec4c37 | /2/MP2/MP2/Salesman.cpp | 1d03a57d99c6365ac5f99512923b058fab58983e | [] | no_license | endlesslydivided/MathP_2_2 | 1658c1a83763ef1a1da2f957234716fde452e164 | dc631565607359656b4a5fc262391b88d7ab0571 | refs/heads/main | 2023-03-30T07:01:40.562409 | 2021-04-05T07:25:08 | 2021-04-05T07:25:08 | 354,753,187 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,713 | cpp | #include "Salesman.h"
int sum(int x1, int x2) // суммирование с учетом бесконечности
{
return (x1 == INF || x2 == INF) ? INF : (x1 + x2);
};
int* firstpath(int n) // формирование 1го маршрута 0,1,2,..., n-1, 0
{
int* rc = new int[n + 1]; rc[n] = 0;
for (int i = 0; i < n; i++) rc[i] = i;
return rc;
};... | [
"sashakovalev2002@hotmail.com"
] | sashakovalev2002@hotmail.com |
c8839a2c8d72426d766dceee6e57bf436ba87acd | 9da6ffc55ba8a19192bd0efad09657758de4e792 | /1152.D. Neko and Aki's Prank.cpp | 1544eb7b0e929b30c15e95e14ea72be3e95831ea | [] | no_license | fsq/codeforces | b771cb33c67fb34168c8ee0533a67f16673f9057 | 58f3b66439457a7368bb40af38ceaf89b9275b36 | refs/heads/master | 2021-05-11T03:12:27.130277 | 2020-10-16T16:55:03 | 2020-10-16T16:55:03 | 117,908,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | cpp | #include "stdc++.h"
int n;
const int M = 1e9 + 7;
int f[2][2003][2003];
int v[2][2003][2003];
int dp(int vis, int i, int s) {
if (s < 0 || s > n-i) return -1;
if (v[vis][i][s]) return f[vis][i][s];
v[vis][i][s] = true;
int& ans = f[vis][i][s];
if (i == n) {
ans = 0;
} else {
if (vis) {
... | [
"19474@qq.com"
] | 19474@qq.com |
ac05503fc8391b952bb93fcaf8735c4b205b9c5a | cefa236ced93d5893ff79d48bf4f1eb9e7a625be | /Распределительный контест/2.cpp | 58ca487d84e3e34cf6288eba2ba69c767c4b484a | [
"MIT"
] | permissive | NoliVerga/mipt_1course | 26a461140eed0779d5128fc8f788e246d3d30c98 | 6139629d371b1fa1f747d918d7e95ff804e16d78 | refs/heads/master | 2021-01-20T16:41:59.309307 | 2015-03-26T10:36:25 | 2015-03-26T10:36:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include <stdio.h>
#include <iostream>
using namespace std;
int main() {
int hh, mm, x;
cin >> hh
>> mm
>> x;
mm += x;
hh += mm/60;
mm = mm % 60;
printf("%#02d:%#02d", hh, mm);
return 0;
}
| [
"b.bagno@itima.ru"
] | b.bagno@itima.ru |
860d2e10ddad3daf9bec59dadc28a8bf28f46ca3 | bb62c6e70b7b536e658f2c045e224735fb2e9532 | /src/tools/tools/src/assets/importers/audio_importer.cpp | 4fec96d74565deeee3b7250e9f2d647bb1754fba | [
"Apache-2.0"
] | permissive | kariem2k/halley | b66173ef200e9b3479c433f6fd89f2e0a54f585f | 6f2d09b06e49ec22ffc1457b7eda6bcd888b796d | refs/heads/master | 2020-09-20T14:32:06.167665 | 2019-11-28T12:13:37 | 2019-11-28T12:15:19 | 224,511,194 | 1 | 0 | Apache-2.0 | 2019-11-27T20:23:35 | 2019-11-27T20:23:35 | null | UTF-8 | C++ | false | false | 7,098 | cpp | #include "audio_importer.h"
#include "halley/tools/assets/import_assets_database.h"
#include "halley/bytes/byte_serializer.h"
#include "halley/resources/metadata.h"
#include "halley/audio/vorbis_dec.h"
#include "halley/audio/resampler.h"
#include "ogg/ogg.h"
#include "vorbis/codec.h"
#include "vorbis/vorbisenc.h"
#inc... | [
"archmagezeratul@gmail.com"
] | archmagezeratul@gmail.com |
cb5b392c6c228bcdd33b085dcca734ed29a8d960 | 4a905d68030de1c8efd41fd580e99dcad360ffe1 | /DCC practice contest 2/jaam.cpp | 414e5a971d6ef56de8df003401082288a246cbd7 | [] | no_license | AliAkberAakash/_CONTESTS_ | e687d80c7a69fdb134be08f1755e1dd93c6292c1 | e9fe96eda38dd107bdd025d955d69e4fe789704b | refs/heads/master | 2021-01-22T22:56:51.355883 | 2018-05-01T19:31:41 | 2018-05-01T19:31:41 | 85,589,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp |
#include<stdio.h>
#include<math.h>
#define pi 2*acos (0.0)
int main()
{
int i,t;
double r, a;
scanf("%d", &t);
for(i=1; i<=t; i++)
{
scanf("%lf", &r);
a=(4*r*r)-(pi*r*r);
printf("Case %d: %.lf\n", i, a);
}
}
| [
"cedward318@gmail.com"
] | cedward318@gmail.com |
480e3ce309fba42985492505a8cd60a43bfab314 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_FeedingTroughBaseBP_parameters.hpp | c28ebebb3b696f52702c24fa7a5fd28b0dd56a17 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,715 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_FeedingTroughBaseBP_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//--------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
32fd46e615aa134d1b7eb9f621d4c6319f7ea51f | 9e5b086abad65730292b2dad52e3f1999351e318 | /example/ConsumeLoop.cpp | 5ede5f2fe7e22da5e7cbec002416309d518c8fea | [
"Apache-2.0"
] | permissive | morganstanley/binlog | 4cd5da5c4db9db70e3dfe94c0ccddf8a82748302 | 4cd8f78cfa371921583fa94132b10d68b50f0242 | refs/heads/main | 2023-06-25T17:51:30.753346 | 2023-06-19T12:04:31 | 2023-06-21T09:11:28 | 226,114,666 | 289 | 49 | Apache-2.0 | 2023-06-15T08:30:16 | 2019-12-05T13:59:09 | C++ | UTF-8 | C++ | false | false | 872 | cpp | #include <binlog/binlog.hpp>
#include <fstream>
#include <iostream>
#include <string>
void processInput(const std::string& input, binlog::SessionWriter& writer)
{
BINLOG_INFO_W(writer, "Input received: {}", input);
/* do processing ... */
BINLOG_INFO_W(writer, "Input processed");
}
int main()
{
std::ofstream... | [
"Benedek.Thaler@morganstanley.com"
] | Benedek.Thaler@morganstanley.com |
8c60ddb8a98d7d86f8f111993fe4b45f71b0f6b7 | cb3a3c4578ffc9e3e51c5eb2d88c8d488951f42f | /potato/bin_editor/source/scene_doc.h | 41b0d8316ac3561692bf456672cf7ca94197d56f | [
"MIT"
] | permissive | potatoengine/potato | f89bc645a26060f2617756f98009b3215b3ac17b | bbcb42fca25ab18e0b4ea70aad0ccee6fff24dde | refs/heads/main | 2023-01-22T08:33:47.706990 | 2023-01-09T01:58:30 | 2023-01-09T01:58:30 | 158,169,449 | 48 | 3 | MIT | 2023-01-09T01:58:31 | 2018-11-19T05:58:39 | C++ | UTF-8 | C++ | false | false | 3,281 | h | // Copyright by Potato Engine contributors. See accompanying License.txt for copyright details.
#pragma once
#include "scene/edit_component.h"
#include "potato/audio/sound_resource.h"
#include "potato/game/common.h"
#include "potato/render/material.h"
#include "potato/render/mesh.h"
#include "potato/spud/sequence.h"... | [
"noreply@github.com"
] | noreply@github.com |
9f38e598cccbeb5f9a4fa8900e0bafee22268568 | 9d816d04ea89bdb424008090dec94725c0005a06 | /Src/motor_control_foc.cpp | 6a82321d704682adf3257c4ef0d9c207bdc55cbf | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | McuMirror/STM32F303_BLDCMotorControl | 457fffc18f66a639d05e7feacdf41a94a0588e64 | 34e75019983bae31f50efeb63786a76c43e9aef7 | refs/heads/master | 2020-05-20T16:15:24.679873 | 2019-03-25T11:31:44 | 2019-03-25T11:31:44 | 185,663,106 | 1 | 0 | null | 2019-05-08T18:54:53 | 2019-05-08T18:54:53 | null | UTF-8 | C++ | false | false | 7,030 | cpp | /*
* motor_control_foc.cpp
*
* Created on: 2018/07/19
* Author: Shibasaki
*/
#include "motor_control_foc.hpp"
void BLDCMotor::Update(void)
{
// Calculation of Sine and Cosine Value of the Rotor Position
MyDSP::SinCos(theta_e, &sin_val, &cos_val);
// a-b-c to alpha-beta Conversion
FO... | [
"48833768+MSiv15@users.noreply.github.com"
] | 48833768+MSiv15@users.noreply.github.com |
15461411fa6e46d508616b392b170cadcd6971a5 | 2067d54dfd05c07e4ebd8f36a6c3a0a9c32eda59 | /ThreadPool/headers/Synchronization/AtomicInteger.h | 5857a64f77ff5c15ce49cdc9e0ff3966c822bb01 | [] | no_license | maybe2009/learning_muduo | 0912d7612592ca043c5894d36c4c7a6b4c643da3 | c7a4b676e7307eff635340943d8f1dc6b99c5d55 | refs/heads/master | 2021-01-21T13:43:50.099554 | 2016-04-28T07:29:40 | 2016-04-28T07:29:40 | 55,676,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | h | /*
* This Code is edited by sun wukong @ 2015.12.16 15:44:08 CST
*
* Just feel free to use this code as you wish.
* Any bug and ugly code, please notify me, thanks!
*
* Github https://githuc.com/maybe2009
* Gmail qtdssunwukong@gmail.com
* -Auto Generated By UltiSnips
*/
#ifndef __OK_ATOMICINTEGER... | [
"ox07c00@163.com"
] | ox07c00@163.com |
9dde6429e549a56f144a51df5e35eb37d8475c85 | 2cd65c1db4c92118386ff60fff8ab7d8d2ee93ed | /WrapperFunctions.hpp | c3f731f65c55c9aa7b76864f45ab7658e8b34f34 | [
"MIT"
] | permissive | Haaxor1689/Interpreter | 8b8042823de5d6b575d905a3cbf0beded173de55 | e9221db4c665f82eef0c70a1a3a09745d547b81a | refs/heads/master | 2021-04-27T15:18:09.064218 | 2018-08-19T15:23:51 | 2018-08-19T15:23:51 | 122,468,839 | 0 | 0 | null | 2018-02-27T17:57:00 | 2018-02-22T11:18:02 | C++ | UTF-8 | C++ | false | false | 689 | hpp | #pragma once
#include <string>
#include <iostream>
#include "Helpers.hpp"
namespace Interpreter {
void Write(const Value& string) {
std::cout << ToString(string);
}
void WriteLine(const Value& string) {
std::cout << ToString(string) << std::endl;
}
double ReadNumber() {
... | [
"betkomaros@gmail.com"
] | betkomaros@gmail.com |
637e4bd19074dd69c526a36662c3b4e88ac2e7e1 | 519de3b9fca2d6f905e7f3498884094546432c30 | /kk-4.x/frameworks/av/media/libmediaplayerservice/nuplayer/StreamingSource.h | ce7be8bae9de93892cc9cec762ac2a00da2a3280 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | hongshui3000/mt5507_android_4.4 | 2324e078190b97afbc7ceca22ec1b87b9367f52a | 880d4424989cf91f690ca187d6f0343df047da4f | refs/heads/master | 2020-03-24T10:34:21.213134 | 2016-02-24T05:57:53 | 2016-02-24T05:57:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | h | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | [
"342981011@qq.com"
] | 342981011@qq.com |
1931ce73851dea1dd464bad6ec4366436f8b5b2b | 45fe78a0331af76d966ffed52518d4a4e1abb9e0 | /Console07Amib2/VARIABLEFRICTION.cpp | 8c4c4df3cf9da8a0bc57dff1c0d7b24d7d6f360f | [] | no_license | sophia-qin/Console07HW | c93864e8634d7d5694f917a96563d6cab32a4fb3 | 81c52aaf1222552d05ad8776590257b464cd9ac7 | refs/heads/master | 2020-03-26T03:00:05.371096 | 2019-06-18T06:07:32 | 2019-06-18T06:07:32 | 144,435,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | cpp |
#include "states.h"
namespace VARIABLEFRICTION {
// NOTE: all of {setup, enter, loop, exit} are optional
void setup() {
// do setup!
// things like pinMode, configure steppers, etc.
}
void enter() {
// called when state is entered
// turn on steppers, maybe home steppers, etc.
}
void loop() {
// called ... | [
"noreply@github.com"
] | noreply@github.com |
2a13283de0b38ebfd064785dc610d48ae0849d11 | 274dde0cd7ded9c38d0a71f5af8125c85cb10afe | /src/fj_mesh.cc | b5562a7a171fbd638e60ec5afa19afa13958b3e1 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | theomission/Fujiyama-Renderer | a81572c625421bde63096622d5c4436a505fc80d | e49c074dde1a4ab2abc5e687458487b35a692722 | refs/heads/master | 2020-12-28T22:46:45.517020 | 2015-11-20T19:19:35 | 2015-11-20T19:34:04 | 48,100,567 | 1 | 0 | null | 2015-12-16T09:28:36 | 2015-12-16T09:28:36 | null | UTF-8 | C++ | false | false | 10,574 | cc | // Copyright (c) 2011-2015 Hiroshi Tsubokawa
// See LICENSE and README
#include "fj_mesh.h"
#include "fj_intersection.h"
#include "fj_primitive_set.h"
#include "fj_triangle.h"
#include "fj_ray.h"
#define ATTRIBUTE_LIST(ATTR) \
ATTR(Point, Vector, P_, Position) \
ATTR(Point, Vector, N_, Normal) \... | [
"hiroshi@fujiyama-renderer.com"
] | hiroshi@fujiyama-renderer.com |
a40351cb23afb5a418fb8dfeab23c44b6dbef4e2 | 647d7b666e450446b8a596da3e5e3b0d424c14c3 | /Programming-code2/code/Chapter18/chapter.18.3.cpp | 0636faf20eb60e3b9d00ea5c0526dd51ca9283c7 | [] | no_license | JamesBryant24/C-_exp | a1f6bc297cbe3dcbb313658ebfe645d773697c68 | 924ba6da434029785ecde14c805541e203446c7c | refs/heads/master | 2020-04-07T07:09:59.199120 | 2018-11-20T09:53:26 | 2018-11-20T09:53:26 | 158,166,273 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp |
//
// This is example code from Chapter 18.3 "Essential operations" of
// "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup
//
#include "../std_lib_facilities.h"
//------------------------------------------------------------------------------
int main()
{
string s("Triumph"); // ... | [
"zkx48@mail.ustc.edu.cn"
] | zkx48@mail.ustc.edu.cn |
bb9dc4bd1ade9b26eef39fc7c0bc636d5eee3d63 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/ClickHouse/2016/12/WriteBufferAIO.cpp | 4c7fc6d417eb68f23d1564263e090fdda204e543 | [
"BSL-1.0"
] | permissive | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 14,986 | cpp | #include <DB/IO/WriteBufferAIO.h>
#include <DB/Common/ProfileEvents.h>
#include <limits>
#include <sys/types.h>
#include <sys/stat.h>
namespace ProfileEvents
{
extern const Event FileOpen;
extern const Event FileOpenFailed;
extern const Event WriteBufferAIOWrite;
extern const Event WriteBufferAIOWriteBytes;
}
n... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
18c645645574044c9714734b02dbf57afb595eff | 205184ba19f51b010e0dcd4a1d95be928a4b5fa4 | /variadic_template.cpp | 2c2da5ebc34309ecb93e7c671bd7a07626298a41 | [] | no_license | sqzhr/DemoC-11 | fa77aed420da210be26d3cd7f08a9378b8223fcd | 492df0d0feafe8c46f1af5d331772321d55e99f9 | refs/heads/master | 2020-03-21T16:18:40.254683 | 2018-08-31T11:23:00 | 2018-08-31T11:23:00 | 138,763,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | template<class ... Types> void f(Types ... args) {}
int main() {
f(); // OK: args contains no arguments
f(1); // OK: args contains one argument: int
f(2, 1.0); // OK: args contains two arguments: int and double
} | [
"kostenko.yulia@apriorit.com"
] | kostenko.yulia@apriorit.com |
eb2deb296ba6e32c2313d68e9059b59670fa99f7 | 94e5a9e157d3520374d95c43fe6fec97f1fc3c9b | /vjudge/181014 - Matrix Chain Multiplication/G.cpp | 1f663817f6f43ec9af85307b5ae1c16107782cb4 | [
"MIT"
] | permissive | dipta007/Competitive-Programming | 0127c550ad523884a84eb3ea333d08de8b4ba528 | 998d47f08984703c5b415b98365ddbc84ad289c4 | refs/heads/master | 2021-01-21T14:06:40.082553 | 2020-07-06T17:40:46 | 2020-07-06T17:40:46 | 54,851,014 | 8 | 4 | null | 2020-05-02T13:14:41 | 2016-03-27T22:30:02 | C++ | UTF-8 | C++ | false | false | 3,876 | cpp | #pragma comment(linker, "/stack:640000000")
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <iterator>
#include <list>
#include <map... | [
"shubhashis.roy@selise.ch"
] | shubhashis.roy@selise.ch |
685a195a2eebdddf231da065fd785ff5b1e5b070 | 8c0aa69b4a148f96bcdf4637329262d5227ddf08 | /include/goetia/sketches/sketch/vec/blaze/blazemark/blazemark/blaze/Vec6Vec6Add.h | 3e1eeccb933b20ea1aa59c8efbee47677ec33cb5 | [
"BSD-3-Clause",
"MIT"
] | permissive | camillescott/goetia | edd42c80451a13d4d0ced2f6ddb4ed9cb9ac7c80 | db75dc0d87126c5ad20c35405699d89153f109a8 | refs/heads/main | 2023-04-12T15:30:48.253961 | 2022-03-25T00:23:39 | 2022-03-25T00:23:39 | 81,270,193 | 6 | 0 | MIT | 2022-04-01T21:40:58 | 2017-02-08T00:40:08 | C++ | UTF-8 | C++ | false | false | 3,012 | h | //=================================================================================================
/*!
// \file blazemark/blaze/Vec6Vec6Add.h
// \brief Header file for the Blaze 6D vector/vector addition kernel
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.