blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
67791174e9b401f28fee93a13b7841c837d83eba | c9da109272f2b5ec8981d1916bcc526830a49d33 | /gecko_api/include/nsIServiceManager.h | b257ed123a732f613bc4e031627e1b7ff083ecc3 | [] | no_license | aqbal/firefox-mac-pdf | 378997577cf1e3f8926e0f1aad66e4e88c318bdf | 121d1deb8fac35c56e6b31c0030bf88b59d78e47 | refs/heads/master | 2016-08-12T04:03:29.762671 | 2011-03-03T01:44:00 | 2011-03-03T01:44:00 | 51,633,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,895 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/xpcom/components/nsIServiceManager.idl
*/
#ifndef __gen_nsIServiceManager_h__
#define __gen_nsIServiceManager_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to ... | [
"colesbury@db329023-cf4e-0410-aa6c-69754c57d2e5"
] | colesbury@db329023-cf4e-0410-aa6c-69754c57d2e5 |
2fb5475801fcd8bfdb459e9dcfbc866218cb3b92 | 60bb67415a192d0c421719de7822c1819d5ba7ac | /blazetest/src/mathtest/tsvecsmatmult/VCbLCa.cpp | a9df973c8bce02211614723c0a3b8f1eabedf867 | [
"BSD-3-Clause"
] | permissive | rtohid/blaze | 48decd51395d912730add9bc0d19e617ecae8624 | 7852d9e22aeb89b907cb878c28d6ca75e5528431 | refs/heads/master | 2020-04-16T16:48:03.915504 | 2018-12-19T20:29:42 | 2018-12-19T20:29:42 | 165,750,036 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,399 | cpp | //=================================================================================================
/*!
// \file src/mathtest/tsvecsmatmult/VCbLCa.cpp
// \brief Source file for the VCbLCa sparse vector/sparse matrix multiplication math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// T... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
3259189ee3a9f7e9b0763de8cbb4873e52b1d697 | cecfda84e25466259d3ef091953c3ac7b44dc1fc | /UVa Online Judge/volume131/13130 Cacho/program.cpp | 27bc8e8c8bbbb7da1116ed829cee263eabae0ef7 | [] | no_license | metaphysis/Code | 8e3c3610484a8b5ca0bb116bc499a064dda55966 | d144f4026872aae45b38562457464497728ae0d6 | refs/heads/master | 2023-07-26T12:44:21.932839 | 2023-07-12T13:39:41 | 2023-07-12T13:39:41 | 53,327,611 | 231 | 57 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | // Cacho
// UVa ID: 13130
// Verdict: Accepted
// Submission Date: 2019-04-15
// UVa Run Time: 0.000s
//
// 版权所有(C)2019,邱秋。metaphysis # yeah dot net
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char *argv[])
{
cin.tie(0), cout.tie(0), ios::sync_with_stdio(false);
int cases, dice[5];
... | [
"metaphysis@yeah.net"
] | metaphysis@yeah.net |
cbe4e29a3ffeaae92fdeaecb679af432a70b1ca0 | 9a8c6a6bc5300f7038c33d9d558f7524e5f33451 | /myex/prob5/prob5-3.cpp | 03163c4c3f913329d22599ad77946972fdb9db7f | [] | no_license | s1250009/Cpp | 5ee7279290ca0189e5e0dfb15984063638ef860a | a2bd5e9ebf99bb8badbcd94dd687fdca59376334 | refs/heads/master | 2022-04-05T15:13:02.134348 | 2020-03-07T16:17:01 | 2020-03-07T16:17:01 | 212,468,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | #include <iostream>
#include "counter.h"
using namespace std;
int main(){
Counter c1, c2;
c1.count();
c2.count();
c2.count();
c2.reset();
c1.count();
c1.count();
c2.count();
int a,b,c;
a = c1.getCount();
b = c2.getCount();
c = Counter::getTotalCount();
cout << a <<... | [
"s1250009@u-aizu.ac.jp"
] | s1250009@u-aizu.ac.jp |
57ffe18e4fb82ee09b41991e44fb6ccf1307d10d | 9b76d1676c1fa747971def9a4c8210da99ba7576 | /include/vsmc/opencl/backend_cl.hpp | e83577c947bbe7b70dec9ab1172354b4cb539bb9 | [
"BSD-2-Clause"
] | permissive | zhouyan/vSMCExtra | 0754caf42da406816acbf22330dd426ddbb17fb1 | baf1645742aa4e02c225cde27253f2c3fe792ce7 | refs/heads/master | 2016-09-15T14:54:53.674425 | 2016-03-10T09:26:54 | 2016-03-10T09:26:54 | 39,458,721 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,108 | hpp | //============================================================================
// vSMC/include/vsmc/opencl/backend_cl.hpp
//----------------------------------------------------------------------------
// vSMC: Scalable Monte Carlo
//---------------------------------------------------------------... | [
"zhouyan@me.com"
] | zhouyan@me.com |
38cd272254ebc2606f46a49a8e65829897e2c6cc | 439df4a7fdd73401d2a3a7061a1df678fd5eb98b | /day2/arduino/relay/relay.ino | d3d1dc703f50ea5dc8b6a83ea25eb18bd7ea5fa8 | [] | no_license | SothanaV/demo | 13c582861d4061f7e2c0f69b0f68f9f7adf6ff04 | d4db7e92fc2eaa0f0e916d1b6c611fe83ae3e1c9 | refs/heads/master | 2021-03-13T02:05:37.498402 | 2017-07-30T05:29:38 | 2017-07-30T05:29:38 | 91,478,385 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | ino | ////นำเข้า ชุดคำสั่ง import libary/////
#include <Arduino.h>
#define USE_SERIAL Serial
///////define pin กำหนดขา/////
int relay = 5; //setpin of relay at D1
//////กำหนดค่าอื่นๆ//////////////
void setup()
{
USE_SERIAL.begin(115200);
pinMode(relay,OUTPUT);
}
void loop()
{
digitalWrite(relay,HIGH);
... | [
"nai6320@gmail.com"
] | nai6320@gmail.com |
eee59bb4f9c1672f9bc4d2349271556a773e2ac2 | 53948ed8641e21e59318ffea88e9f123fad70300 | /03_animation/03_rectangleInterpolatePowf/src/ofApp.cpp | d9b9afeab1f17836a9ed2ce969400da0bf8fef00 | [] | no_license | mikewesthad/ofBookExamples | 1e573d955e52165ffb0ff74c8d1fe9877dad049c | 1a3a9b3be086a34efa841ec2af9416f1c1dcbdab | refs/heads/master | 2020-12-25T17:14:58.185004 | 2016-02-29T01:52:08 | 2016-02-29T01:52:08 | 52,225,446 | 0 | 0 | null | 2016-02-21T20:08:34 | 2016-02-21T20:08:34 | null | UTF-8 | C++ | false | false | 918 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
// macs by default run on non vertical sync, which can make animation very, very fast
// this fixes that:
ofSetVerticalSync(true);
// set background:
ofBackground(30,30,30);
// set the "a" and "b" position... | [
"litchirhythm@gmail.com"
] | litchirhythm@gmail.com |
a5668a5ac7840e3d3205c44a8c6062f8685e6b06 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_5788.cpp | c348915d3bf8cd15d3b854417d2eab0f2eaf82c0 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | storeAppendPrintf(sentry, " C = CLOSING\n");
storeAppendPrintf(sentry, " R = RESERVED or DEFERRED\n");
storeAppendPrintf(sentry, " S = SHUTDOWN\n");
storeAppendPrintf(sentry, " P = PLACEHOLDER\n");
}
void
| [
"993273596@qq.com"
] | 993273596@qq.com |
78819f862f6a59391b09f235d1f64fdb0b7ed82f | ce64c59e1e2b6ae779f125c982e94f6de93d62f8 | /actions/kaction.cpp | 309cf82652e236ff92744c1ffbafdea791b00ba4 | [] | no_license | The-Oracle/kdeui | f3e2d7cc7335bdffce9d6a02de38ab196e5cf02d | 87414d061d2f7156901212a19ea01bdf85d6e53d | refs/heads/master | 2021-01-20T00:51:25.654205 | 2017-04-24T05:14:13 | 2017-04-24T05:14:13 | 89,200,851 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,867 | cpp | /* This file is part of the KDE libraries
Copyright (C) 1999 Reginald Stadlbauer <reggie@kde.org>
(C) 1999 Simon Hausmann <hausmann@kde.org>
(C) 2000 Nicolas Hadacek <haadcek@kde.org>
(C) 2000 Kurt Granroth <granroth@kde.org>
(C) 2000 Michael Koch <koch@kde.or... | [
"Jeremy@jbdynamics.net"
] | Jeremy@jbdynamics.net |
675b5d102cffd3e44e1bf1e812beca5baa7d481e | 6ceef7c951794e782fe044d0b8eb6997f9d8809b | /theNewBoston/stockMarketSimulator.cpp | daa61a283500f9a9daaafe9bec2a71464a76b1e0 | [] | no_license | sandeepatel01/Learn_CODE | 26798ed42b6203985299ddaa8ce36674451726e7 | 0b43d028bacee97f434b9391f96668212cb253c2 | refs/heads/master | 2023-03-19T08:13:19.516303 | 2021-01-15T18:10:30 | 2021-01-15T18:10:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
float a;
float p = 10000;
float r = .03;
for(int day = 1; day <=30; day++)
{
a = p * pow(1+r, day);
cout << day << " ------- " << a << endl;
}
} | [
"rosekamallove@gmail.com"
] | rosekamallove@gmail.com |
b9f3c9916f3f6c346b3f4dbf6fef1294713abb93 | af7977991477325ddc604b6d3e2ac3cb4aa29337 | /FlappyBirdGame3D3.0/Temp/il2cppOutput/il2cppOutput/AssemblyU2DCSharp_Vuforia_VuforiaBehaviour1383180241.h | 584f92669c16ad910d89e57b544c8db2c6330b7d | [] | no_license | jpf2141/FlappyBird3D | b824cf5fac6ca3c5739afc342b659af1f2836ab9 | fe4e9c421ec8dc26a7befd620f9deaf3c6361de5 | refs/heads/master | 2021-01-21T13:53:25.062470 | 2016-05-06T02:39:28 | 2016-05-06T02:39:28 | 55,712,365 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,405 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// Vuforia.VuforiaBehaviour
struct VuforiaBehaviour_t1383180241;
#include "Vuforia_UnityExtensions_Vuforia_VuforiaAbstractBeh2427322319.h"
#ifdef __clang__
#pragma clang diagnostic ... | [
"kdj2109@columbia.edu"
] | kdj2109@columbia.edu |
2bb14f8f714ba2187df20e3cc2071921b45a9c18 | 14f3dfb46f5270b1e5f307eb9b5ba5683215ab25 | /interval_sum.cpp | c85edeb2f8d24bfc5872b6756283ff1373b7fb66 | [] | no_license | devleejb/algorithm-snippets | 7f0a36ac95511288d595a01b34f83a43354a427d | 43e63ad1c1cc108cc2df233a4e838bb1022406d2 | refs/heads/main | 2023-08-24T01:02:17.434821 | 2021-10-11T06:09:28 | 2021-10-11T06:09:28 | 404,652,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include <stdio.h>
using namespace std;
int arr[5] = {1, 2, 3, 4, 5};
int prefixSum[6];
int sumVal;
void calPrefixSum(int n) {
for (int i = 0; i <= n; ++i) {
prefixSum[i + 1] = sumVal += arr[i];
}
}
// Return Interval Sum [start, end]
int intervalSum(int start, int end) {
return prefixSum[end] -... | [
"dev.leejb@gmail.com"
] | dev.leejb@gmail.com |
a6a362c4eb8379993c626185c2ca374a0735608f | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5652388522229760_0/C++/heroming/heroming.cpp | fd09d7ba1f3f1251ffbc09a36bc4bc09806524c9 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,985 | cpp | /*
* Author:heroming
* File:heroming.cpp
* Time:2016/4/9 8:54:38
*/
#include <vector>
#include <list>
#include <set>
#include <map>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
6f0549f8d2cd60ae5fe437fcccdb23d74a1f282b | 883887c3c84bd3ac4a11ac76414129137a1b643b | /vuexporter2009/include/n3dfile.h | 9e9e31e0609dd60a0fa5a7be43adf2f41b3eea4e | [] | no_license | 15831944/vAcademia | 4dbb36d9d772041e2716506602a602d516e77c1f | 447f9a93defb493ab3b6f6c83cbceb623a770c5c | refs/heads/master | 2022-03-01T05:28:24.639195 | 2016-08-18T12:32:22 | 2016-08-18T12:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | h | // n3dfile.h: interface for the CCamera class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_IN3DFILE_H__2EA8A433_3318_4E3E_A71D_E986DA9A4673__INCLUDED_)
#define AFX_IN3DFILE_H__2EA8A433_3318_4E3E_A71D_E986DA9A4673__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC... | [
"ooo.vspaces@gmail.com"
] | ooo.vspaces@gmail.com |
f14178fc996ee4c667e4ede8216c99f9a185492a | 44f7f0513aa956e2fe880ab3537255d4f13940ca | /Engine/Code/Engine/Utils/LinkedPtrList.hpp | 8943efca06db3d433432e2c585a7b098fc5d08e8 | [] | no_license | ZanneZankyo/Zankyo-Games | ae1862f174d13c80b70657a3a880952fa6279a3c | e75838242cabb0467b6934704a2eeb7dba1c038c | refs/heads/master | 2020-03-17T20:30:07.300836 | 2018-07-09T22:53:51 | 2018-07-09T22:53:51 | 133,913,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,234 | hpp | #pragma once
template<typename DataType>
class LinkedPtrListNode
{
public:
LinkedPtrListNode<DataType>* m_next;
DataType* m_data;
public:
DataType* Data() { return m_data; }
void Initialize() { m_next = nullptr; m_data = nullptr; }
void Free() { free(m_data); }
void Destroy(bool deleteMeta = true) {
if(deleteM... | [
"zannezankyo@gmail.com"
] | zannezankyo@gmail.com |
ee6eef7f825fdb2bd34740be94c9c335523f3e93 | a81c07a5663d967c432a61d0b4a09de5187be87b | /content/browser/loader/source_stream_to_data_pipe.h | f909755ab70b5b95620499b8684a7ae4b6fc18b8 | [
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 1,824 | h | // 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.
#ifndef CONTENT_BROWSER_LOADER_SOURCE_STREAM_TO_DATA_PIPE_H_
#define CONTENT_BROWSER_LOADER_SOURCE_STREAM_TO_DATA_PIPE_H_
#include "base/callback_forward... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4057ea9bd890e7cc1b7935710a65135d8084a66c | befd3c888dff79f56bdc8892bdebe8847d59c9ad | /ZLToolKit/Util/NoticeCenter.h | 8a4469536e9ea43c2b41456a85b16fd15127a134 | [] | no_license | wlfsihua/HI3520DVR | 2a44d9dc5cab7b4eccf854d95725723ed972658b | 5c09110cbe140dc3e44e5c6366995cb45c8bf14c | refs/heads/master | 2022-11-06T09:29:38.946490 | 2020-06-21T17:43:16 | 2020-06-21T17:43:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,363 | h | /*
* MIT License
*
* Copyright (c) 2016 xiongziliang <771730766@qq.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | [
"864733526@qq.com"
] | 864733526@qq.com |
69dd71bc466959b11e58fb977327fc2c69416994 | 4494c8ed801f7f3c2627c750b7d4fef469d70616 | /frontend/grader/framework.h | a5a8d95f1b2694e5a6ab3833e4de7dbfc4fe1c02 | [
"Apache-2.0"
] | permissive | william-redenbaugh/lc3tools | 7c9a2f23b6ab8ed6f48c72d28e13949ba1e277e4 | 33e3745a21750c703c0a895d5bed6a9d5a3eacd1 | refs/heads/master | 2022-11-20T21:33:12.706561 | 2020-07-16T07:59:14 | 2020-07-16T07:59:14 | 280,090,294 | 0 | 0 | Apache-2.0 | 2020-07-16T07:54:04 | 2020-07-16T07:54:03 | null | UTF-8 | C++ | false | false | 4,718 | h | /*
* Copyright 2020 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
*/
#include <cstdint>
#include <iostream>
#include <functional>
#include <map>
#include <string>
#include <sstream>
#include <vector>
#include "inputter.h"
#incl... | [
"dev.sakhuja@gmail.com"
] | dev.sakhuja@gmail.com |
3bfa4ee9b0710cee212462abe9649cfe94cfcd41 | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /ETS/Components/MM/EtsMmRisks/MmRvSynthGreeksAtom.h | 1fa56c2f9a86c67150b4e999ac46b7eabd0206b6 | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,154 | h | // MmRvSynthGreeksAtom.h : Declaration of the CMmRvSynthGreeksAtom
#ifndef __MMRVSYNTHGREEKSATOM_H__
#define __MMRVSYNTHGREEKSATOM_H__
#pragma once
#include "resource.h" // main symbols
#include "EtsMmRisks.h"
#include "MmRvPrice.h"
_COM_SMARTPTR_TYPEDEF(IMmRvSynthGreeksAtom, IID_IMmRvSynthGreeksAtom);
... | [
"chuchev@egartech.com"
] | chuchev@egartech.com |
990572a02c961f3e6251ef1e2ea535eefd67c70e | 1de92b1d5ac3659466066077e6b7dd267b0dc015 | /codes/miserman.cpp | 3f726ec98a4155432872c532719baeca17425759 | [] | no_license | sumedhm/spoj | 2fcb1e6ef7d9e511a6d47698d3b4d7d56bf8d564 | fd5ca5b6075da548100510bd841d4c06158fd88f | refs/heads/master | 2020-12-25T18:18:39.824168 | 2015-10-14T09:38:01 | 2015-10-14T09:38:01 | 15,586,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | #include <iostream>
#include <stdlib.h>
using namespace std;
int minimum(int a, int b){
return (a<b ? a:b);
}
int minimumFare(int **fares, int m, int n){
if(m<=0 || n<=0) return 0;
int min;
if(n==1){
for(int i=0;i<m;i++) min += fares[i][0];
return min;
}
int fare[m][n];
for(int i=0;i<n;i++){
fare[0][i] ... | [
"sumedhm18@gmail.com"
] | sumedhm18@gmail.com |
1be70934c07533e87d932d120376119dea730b84 | 48952512107de9f5f05da4ace3017747f4233695 | /src/test/DoS_tests.cpp | 47423db5e41916f657bd10185443bf140f9890ac | [
"MIT"
] | permissive | eliooses/identifi | ba24bf943876f6ceb8f2742afee1e2fcd4a2dd00 | ec46aeeb63e8d3ec7e13d380691097db41bef8b4 | refs/heads/master | 2021-01-18T02:29:24.166610 | 2014-08-29T18:26:36 | 2014-08-29T18:26:36 | 23,488,383 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,483 | cpp | //
// Unit tests for denial-of-service detection/prevention code
//
#include <algorithm>
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/foreach.hpp>
#include "main.h"
#include "net.h"
#include "u... | [
"martti.malmi@aalto.fi"
] | martti.malmi@aalto.fi |
f6b847a578d7c4fc1b5a6e03b08a2b3f7d66af0a | f44561bab919b065056bff7cc7ed395ff6a55dd2 | /pgk/zad5/grid.hpp | 9ccc7d9c0c38ac8fe6b8ef9daef60d818ea8891c | [] | no_license | CheessieStew/Stuff | dfb3015e9c45d972d76fffd473f54da7e8c8ebde | 1208d4f47ca80c0ec05b83003855e48832e3c208 | refs/heads/master | 2021-01-19T01:45:26.979829 | 2017-04-25T23:12:32 | 2017-04-25T23:12:32 | 53,255,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | hpp | #pragma once
#include <GL/glew.h>
#include <glfw3.h>
#include <glm/glm.hpp>
#include <vector>
class Grid
{
int Density;
int MaxLoD;
int CurrentLoD;
GLuint vertexBuffer;
GLuint* indexBuffers;
public:
void BindVertices();
void BindLoD(int LoD);
void BindLoDNoDetail();
int HowManyElements();
Grid(int density, ... | [
"serindrack@gmail.com"
] | serindrack@gmail.com |
fef7d397b7d00e23c73944aff38c0a933babc485 | 95dcf1b68eb966fd540767f9315c0bf55261ef75 | /build/pc/Boost_1_50_0/boost/date_time/time_zone_base.hpp | 2399dad3d13ed5d9f20cd65430c86d4189b8b044 | [
"BSL-1.0"
] | permissive | quinsmpang/foundations.github.com | 9860f88d1227ae4efd0772b3adcf9d724075e4d1 | 7dcef9ae54b7e0026fd0b27b09626571c65e3435 | refs/heads/master | 2021-01-18T01:57:54.298696 | 2012-10-14T14:44:38 | 2012-10-14T14:44:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,712 | hpp | #ifndef _DATE_TIME_TIME_ZONE_BASE__
#define _DATE_TIME_TIME_ZONE_BASE__
/* Copyright (c) 2003-2005 CrystalClear Software, Inc.
* Subject to the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: Jeff Garland, Bart Garst
* $Date: 2008-02... | [
"wisbyme@yahoo.com"
] | wisbyme@yahoo.com |
a1454ffb9776c0a932f84a7db5e95bef1557bbd5 | c98d0ff396a010607da42a6cba0b45ae52c04c0c | /include/fmt/chrono.h | e080b958b3849650e2b51f42967adccf681decd8 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"Python-2.0",
"BSD-2-Clause"
] | permissive | cgrinker/fmt | 39ecc76e76be52638d6995a520af10b13ba5f994 | f16f77297e6bb4df38d4c858edb3295f55716cb4 | refs/heads/master | 2020-06-04T11:39:37.039908 | 2019-06-14T22:53:31 | 2019-06-14T22:53:31 | 192,006,221 | 0 | 0 | BSD-2-Clause | 2019-06-14T21:12:35 | 2019-06-14T21:12:35 | null | UTF-8 | C++ | false | false | 22,690 | h | // Formatting library for C++ - chrono support
//
// Copyright (c) 2012 - present, Victor Zverovich
// All rights reserved.
//
// For the license information refer to format.h.
#ifndef FMT_CHRONO_H_
#define FMT_CHRONO_H_
#include "format.h"
#include "locale.h"
#include <chrono>
#include <ctime>
#include <locale>
#in... | [
"victor.zverovich@gmail.com"
] | victor.zverovich@gmail.com |
1ff4ff5b41143a180e547d48355e46b88308367e | 4ef234d3528936a0fe344f782fec115ad2a1d71f | /src/AnimatedSpriteSkin/CAnimatedSpriteSkin.h | ef3c3c55c046a0ef3591bf5496423abb2c02e8c2 | [
"Zlib"
] | permissive | liqt/IrrLua | 12b1e92e66a10c1671dce924566e22ea00f534d1 | e03211e2caf59ed2083862eaf23d76151652980a | refs/heads/master | 2021-01-16T17:51:19.757041 | 2013-11-14T21:46:09 | 2013-11-14T21:46:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,070 | h | // Copyright (C) 2002-2006 Nikolaus Gebhardt, Josh Turpen
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef _CANIMATEDSPRITESKIN_H_
#define _CANIMATEDSPRITESKIN_H_
#include "IGUISkin.h"
#include "irrString.h"
#include "ITexture.h"
#inc... | [
"zenakuten@yahoo.com"
] | zenakuten@yahoo.com |
e4f5761c8309ad03ae33ceec632f2b764cfb8eb4 | a963d48092f5a27b0875db68d673065b13398895 | /boost_lib/boost_1_55_0-windows/libs/container/test/vector_test.hpp | 9bf47bb6c5de7823c38853797b558b922a334752 | [] | no_license | james1023/test_boost | 219130db778bff512555bb29e5e59afaf59594b6 | 11100d6a913d5c5411f89ff3a32b7e654e91a104 | refs/heads/master | 2020-05-20T12:19:36.754779 | 2017-03-02T03:30:01 | 2017-03-02T03:30:01 | 35,875,247 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,414 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2004-2012. 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)
//
// See http://www.boost.org/libs/c... | [
"james.huang@avtech.com.tw"
] | james.huang@avtech.com.tw |
09ee50d526279684cf120859196b52dad564e827 | 3218bb96f8ce61cef2ad2b4e607e9b9c4152025e | /hphp/runtime/vm/extern-compiler.cpp | d9369f6a04d33bedd7ef0759ceaf381afed3a847 | [
"PHP-3.01",
"Zend-2.0",
"MIT"
] | permissive | yahongie2014/hhvm | 22e655d73988dd15b38e77646d6096090292e9c8 | a825853c3eb82dde1ff95b39c90a91f7fe10d067 | refs/heads/master | 2020-04-01T05:56:48.293583 | 2018-10-13T16:35:08 | 2018-10-13T16:37:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,112 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"hhvm-bot@users.noreply.github.com"
] | hhvm-bot@users.noreply.github.com |
43f332cfb6b0e73898494e1da09f52a0c87f0465 | 23c84c283f0dd2ffe6811e85d5924102a05d7ed1 | /UVa/V012/1201 - Taxi Cab Scheme.cpp | 766db78cd0602a3e7a47550a672dc3a05c58c38f | [] | no_license | HJackH/OnlineJudges | efaaaf35fabeb5393a3fefac9a19e3c89a535b3b | 1e5bfc7ad13cc171e16d562a4cac0bcdc92bbce2 | refs/heads/master | 2022-07-08T21:31:37.960165 | 2022-06-22T07:01:57 | 2022-06-22T07:01:57 | 245,434,136 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,553 | cpp | #include <bits/stdc++.h>
using namespace std;
#define IOS ios_base::sync_with_stdio(0); cin.tie(0);
#define pb push_back
const int MAXN = 500 + 5;
int dis(int x1, int y1, int x2, int y2) {
return abs(x1 - x2) + abs(y1 - y2);
}
struct Taxi {
int stTime, edTime;
int fx, fy;
int tx, ty;
void read() {... | [
"fandy36@gmail.com"
] | fandy36@gmail.com |
1468c7cc6d2d9dac7b63ec53b559b21b6c2bd3fd | 7fb8c421a2efa33969b0cf298a3f1fe4688dbbda | /GaleEngine/Managers/Physics_Manager.cpp | 9448af615df30c7036bbf3e156eabe65c09d655b | [] | no_license | hakgagik/GaleEngine | 9c2e7d007ddb15a7a497b0aeac4a2df4e2107e06 | 3a3cb5a4330c67348d99bef56223f3ea4c14f09b | refs/heads/master | 2022-09-04T18:56:12.330889 | 2020-03-30T15:38:37 | 2020-03-30T15:38:37 | 47,303,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,068 | cpp | #include "Physics_Manager.h"
#include "../Physics/Particles/Particle.h"
#include "../Physics/Constraints/Constraint.h"
#include "../Physics/IConstraintGroup.h"
#include "../Physics/PhysicsObjects/PhysicsObject.h"
#include "../Physics/PhysicsObjects/Fluids/FluidHelper.h"
#include <glm/glm.hpp>
using namespace Managers;... | [
"xddarkgalegh@aim.com"
] | xddarkgalegh@aim.com |
34302a10d273551e74861a22530a94e995b39707 | 65278f7bb0c1014a2a2df1a6e6124b02d5dff28a | /maxflow/src/pyarray_index.h | 56649d199d825248e4eb7b4779e60c776cb50d6e | [] | no_license | letterx/PyMaxflow | 71ee5c4b36188eeb7f4b10355d1e5b16e054e0b9 | e41668d7f930e789d75fc9182e9c1ed3f1f7131f | refs/heads/master | 2020-12-06T23:30:06.421207 | 2013-11-21T02:18:00 | 2013-11-21T02:18:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,948 | h |
#ifndef _PYARRAY_INDEX_H
#define _PYARRAY_INDEX_H
#include "pyarraymodule.h"
class pyarray_index
{
public:
typedef npy_intp* iterator;
typedef const npy_intp* const_iterator;
npy_intp* idx;
int ndim;
explicit pyarray_index(int ndim);
pyarray_index(int ndim, int value);
pyarray_i... | [
"pmarquezneila@gmail.com"
] | pmarquezneila@gmail.com |
b90f3a885e44634ac97b34f9a2dd90449e30cbf0 | 21237f6d16d8179dbf4e6a79a944ce2e670db20e | /windows/runner/main.cpp | e37d88d41ca3c3076d3b7045569ce1040965dc55 | [] | no_license | mannasoumo/OntimeApp | 728b104dc02015c7376c1f3b6b18f52e3772edc0 | 1707b4ccaedf3bafc0d0088382c12eb704e986f7 | refs/heads/main | 2023-08-17T06:21:59.527335 | 2021-10-07T04:08:14 | 2021-10-07T04:08:14 | 407,779,887 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,265 | cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
// Attach to console w... | [
"75923589+mannasoumo@users.noreply.github.com"
] | 75923589+mannasoumo@users.noreply.github.com |
263356eacebe9991e1dea5d9c890930341791411 | 0ddc8ded20a40949abc64bd81f3e972d670dba7f | /Penteract/Assets/Scripts/AbilityRefreshEffect.cpp | b181df1d8724ce9104363b4c768de2b348b74650 | [
"MIT"
] | permissive | jcarlos0305/Penteract | cb8444cd8ef099786e8a765621bb34b036bd2cd4 | 1ba680cb63369773787247b435bf5a7a54e78e47 | refs/heads/master | 2023-06-14T10:31:26.457527 | 2021-07-09T16:06:56 | 2021-07-09T16:06:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,364 | cpp | #include "AbilityRefreshEffect.h"
#include "GameplaySystems.h"
#include "Components/UI/ComponentImage.h"
#include "Components/UI/ComponentTransform2D.h"
#include "HUDController.h"
// clang-format off
EXPOSE_MEMBERS(AbilityRefreshEffect) {
MEMBER(MemberType::FLOAT, totalEffectTime),
MEMBER(MemberType::FLOAT, effect... | [
"davidsierragonzalez@enti.cat"
] | davidsierragonzalez@enti.cat |
8b9072630fca781d10ba91ec54a046d0fcd51e2c | c0177f6ee9ed5fcd549ce48af2a6b2eab14219f6 | /OOP With C++/Chapter 12 'Templates'/Programming Exercises/12.4 Class template which shows working of calculators/main.cpp | c93bf9732754fb7c90152db028d85e1f47f5f31f | [
"MIT"
] | permissive | idesign0/robotics | 99d8f9be5690485a0b78120d815521a2617429b5 | 69a7961a563276fbf021814c0b4577d4c45f3eb8 | refs/heads/master | 2021-07-09T18:26:27.739304 | 2020-10-29T12:59:52 | 2020-10-29T12:59:52 | 210,374,010 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 834 | cpp | #include<iostream>
#include<stdlib.h>
using namespace std;
template<class T>
class calculator{
T num1;
T num2;
public:
calculator(T a, T b){
num1=a;
num2=b;
}
T add(){ return num1+num2;}
T subtract(){ return num1-num2;}
T multiply(){ return num1*num2;}
T division(){ ret... | [
"dhruvpatel2991998@gmail.com"
] | dhruvpatel2991998@gmail.com |
1b9463e462becb923450500951a8286f4fe59c22 | b5d20ba5c51cbbabb8e8f67e64fec5f22abbf5b5 | /webrtc/rtc_base/base64_unittest.cc | 913e9f790537ad7d3af64640854a2cccab7e038c | [] | no_license | zeiger589/video-chat | 1f979e7f1e7ab543d4e36bef09175548c7528ec6 | 7c233388298057663cfbb65631b0d0d8b80530d4 | refs/heads/master | 2020-05-17T07:07:53.894612 | 2019-04-17T16:10:18 | 2019-04-17T16:10:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,120 | cc | /*
* Copyright 2011 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contrib... | [
"tuanit96@gmail.com"
] | tuanit96@gmail.com |
2e9b67b6f67c9135f0e292b18fb4e2ca3c1d6e2d | 74a12315360ce16ebc112d248638e14f4d569505 | /problems_051-100/euler_66.cpp | fdbba9892e7604849918337e10c83e8ff1022be7 | [
"Apache-2.0"
] | permissive | sedihub/project_euler | 2c0d18bc21777f86d2134c466eec67960e20fc3c | 2d7d40ee67a1e0402aa68e78a5f7d7cf18221db5 | refs/heads/master | 2023-02-19T15:10:52.430978 | 2021-01-23T22:53:58 | 2021-01-23T22:53:58 | 297,150,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,228 | cpp | /*
PROBLEM:
Consider quadratic Diophantine equations of the form:
$$
x^2 - Dy^2 = 1
$$
For example, when D=13, the minimal solution in x is 649^2 – 13×180^2 = 1.
It can be assumed that there are no solutions in positive integers when D is square.
By finding minimal solutions in x for ... | [
"luciferous@protonmail.com"
] | luciferous@protonmail.com |
1a68245c4775c07afc3760129f209c4fcc861bb2 | c4116c2e8c411a9ab01065144e0e105f99f95313 | /Podd/THaEpicsEbeam.cxx | 0c37153afcaf45274e45ea7e90891abfaf3e6aa3 | [
"BSD-3-Clause"
] | permissive | JeffersonLab/analyzer | aba8b4ce90b549b345daa81e731e44b0d704354b | a0613dcafa9efe42f759f5321cd0f8d2c633ba2f | refs/heads/master | 2023-06-17T00:26:31.368749 | 2022-11-06T22:46:23 | 2022-11-06T22:46:23 | 13,133,237 | 9 | 61 | BSD-3-Clause | 2021-10-30T14:54:45 | 2013-09-26T20:14:27 | C++ | UTF-8 | C++ | false | false | 4,298 | cxx | //*-- Author : Ole Hansen 07-May-2004
//////////////////////////////////////////////////////////////////////////
//
// THaEpicsEbeam
//
// A physics module that provides beam energy/momentum based on
// EPCIS information
//
//////////////////////////////////////////////////////////////////////////
#include "THaEp... | [
"ole@jlab.org"
] | ole@jlab.org |
b5d72d15efb4f3ec93c4e97b1749b959a8c9e768 | e82c9d4cff80444346dffd89015cea8de0c3402b | /Euler_Point.h | 3a077bb129006749d9af1db2101e1aa556bece7e | [] | no_license | Linpinliang/IB | 94e64790b7007c609458036d1a9f571e906ed889 | f4e507477efb0307268ac177324fd22476e0d430 | refs/heads/master | 2020-05-24T14:30:56.556259 | 2019-05-18T11:50:09 | 2019-05-18T11:50:09 | 187,306,402 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,466 | h | #ifndef EULER_POINT_H
#define EULER_POINT_H
#include "Parameter.h"
#include <iostream>
#include "Function.h"
#include <vector>
using namespace std;
/*
*/
using namespace std;
class Euler_Point
{
private:
//网格
int grid_x;
int grid_y;
//速度
double u;
double v;
double u0;
double v0;
//unfoced velocity
d... | [
"928248595@qq.com"
] | 928248595@qq.com |
0e1c91b702fc5d4a96b264f2f52da8374a3b13bf | 6cc00c07a75bf18a2b1824383c3acc050098d9ed | /CodeChef/Easy/E0076.cpp | 3a3fdd999ba91599e7588a7d2062b423927441f6 | [
"MIT"
] | permissive | Mohammed-Shoaib/Coding-Problems | ac681c16c0f7c6d83f7cb46be71ea304d238344e | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | refs/heads/master | 2022-06-14T02:24:10.316962 | 2022-03-20T20:04:16 | 2022-03-20T20:04:16 | 145,226,886 | 75 | 31 | MIT | 2020-10-02T07:46:58 | 2018-08-18T14:31:33 | C++ | UTF-8 | C++ | false | false | 665 | cpp | // Problem Code: A1
#include <iostream>
#include <vector>
using namespace std;
string subsetSum(vector<int> coins, int n, int m) {
vector< vector<bool> > dp(n + 1, vector<bool>(m + 1));
for (int i=0 ; i <= n ; i++)
dp[i][0] = true;
for (int i=1 ; i <= n ; i++)
for (int j=1 ; j <= m ; j++) {
dp[i][j] = d... | [
"shoaib98libra@gmail.com"
] | shoaib98libra@gmail.com |
ddeb680188d8b801be93f1bca25b33d023ceb3dc | ebe08ca697a16a81eebef5180e95f7386aa16455 | /Source/LigmaWars/Private/RotateandHoverComponent.cpp | 2e54bb5090a55973ff69dc5388eaede455a69bcb | [] | no_license | DemirAmetov96/LigmaWarsGame | ef5c9c65ab7fb73e84767b71a4e3f3e2a46ab400 | 87046625351c711bb67d54e1ebf338d6825a2d7e | refs/heads/master | 2020-04-15T15:12:51.895483 | 2019-01-09T04:09:31 | 2019-01-09T04:09:31 | 164,777,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "RotateandHoverComponent.h"
#include "GameframeWork/PlayerController.h"
#include "GameFramework/Actor.h"
// Sets default values for this component's properties
URotateandHoverComponent::URotateandHoverComponent()
{
// Set this co... | [
"demirametov@gmail.com"
] | demirametov@gmail.com |
021f49e60d3b6310e90d148c5990dc2b8b09df7f | 9e3266ced53ab77e24a53fda6677220b03c62a97 | /A_1006.cpp | b8b89dcc43a297fffbb6a16a999b448807739379 | [] | no_license | dongx/PAT | 9f5836ff71867e3879e7d28996902b9af2b00177 | 7feb0d72d03242ed120e7546eb31bcceb20fef7e | refs/heads/master | 2020-03-30T22:01:39.257029 | 2015-04-16T05:46:23 | 2015-04-16T05:46:23 | 33,999,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | cpp | #include <iostream>
#include <string>
#include <cstdio>
using namespace std;
struct Records{
char id[15];
long inTime;
long outTime;
}Records;
int main()
{
int number;
cin>>number;
int h,m,s;
struct Records stu[number];
for(int i = 0;i < number;i++){
scanf("%s",&stu[i].id);
... | [
"dongxin213@gmail.com"
] | dongxin213@gmail.com |
b3e18a9f30284a41bd47aacdda7ff9b7ee2ac307 | c67cbd22f9bc3c465fd763fdf87172f2c8ec77d4 | /Desktop/Please Work/build/Android/Preview/app/src/main/include/Uno.IO.StreamReader.h | 7f4b383ab4713b9ad9f0ef5032bbcc55e9f2ffbf | [] | no_license | AzazelMoreno/Soteria-project | 7c58896d6bf5a9ad919bde6ddc2a30f4a07fa0d4 | 04fdb71065941176867fb9007ecf38bbf851ad47 | refs/heads/master | 2020-03-11T16:33:22.153713 | 2018-04-19T19:47:55 | 2018-04-19T19:47:55 | 130,120,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | h | // This file was generated based on C:/Users/rudy0/AppData/Local/Fusetools/Packages/UnoCore/1.8.0/Source/Uno/IO/StreamReader.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.IDisposable.h>
#include <Uno.IO.TextReader.h>
namespace g{namespace Uno{namespace IO{struct Stre... | [
"rudy0604594@gmail.com"
] | rudy0604594@gmail.com |
ef93b9ac06c350e975b6276fcd1a831be44f4367 | cbba4843ce29e263bb6a4b371547cdc7b1cde095 | /DISCONTINUED/includes-aj/runtime/BooleanPrototype.h | d131b7df79ce5f68e10129aaa284672e8a3821ed | [
"Apache-2.0"
] | permissive | openaphid/Runtime | e5c15adbec0c8d64a3cee4f0e707ff4127387b5f | f2d779b45632bba438e2a9a655166f4963274425 | refs/heads/master | 2021-06-20T08:45:50.765804 | 2021-03-10T09:10:26 | 2021-03-10T09:10:26 | 4,126,273 | 56 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | h |
/*
Copyright 2012 Aphid Mobile
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | [
"openaphid@gmail.com"
] | openaphid@gmail.com |
58ddaf7d13a0dfe2f5abc2615459bd97c928b8f8 | 5983ae483f5d4abb576baf7e38e2354a38ae0349 | /createnewstudent.cpp | 4d57afaa63efefe3e7d36cb82d55c5d83cb6395b | [] | no_license | nimrod-vanir/HaigNetwork | 5a525e139bda26348d3324cd5c745fce5c377b9f | 0c476b284cb77d4589c54a992f8c69186a924c47 | refs/heads/master | 2020-08-17T03:36:31.599251 | 2019-10-16T17:08:58 | 2019-10-16T17:08:58 | 215,601,473 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,743 | cpp | //include required header files and libraries
#include "createnewstudent.h"
#include "ui_createnewstudent.h"
#include <QMessageBox>
CreateNewStudent::CreateNewStudent(QWidget *parent) :
QDialog(parent),
ui(new Ui::CreateNewStudent)
{
//function called when window is launched
//Ui window is displayed
... | [
"nimrodvanir@DESKTOP-TVIMQCO.localdomain"
] | nimrodvanir@DESKTOP-TVIMQCO.localdomain |
12bbbe9fa07cb5f42f61e74ace00ec7812d85da5 | 1f620b55d7875283bd1e8c83062d62519b1ac10b | /practice/5557.cpp | e063df822ee5446e7b5100fbc80fa842fd1646d2 | [] | no_license | punkryn/SWEA | e53b42d0f1dcd051810399553d476adc09ac19e5 | c5f24561fce6bc9522e72690ec90859c7e215850 | refs/heads/main | 2023-07-03T20:31:28.906605 | 2021-08-10T10:09:13 | 2021-08-10T10:09:13 | 387,395,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | #include <iostream>
using namespace std;
long long dp[101][21];
int arr[101];
int main(){
ios::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int n;
cin >> n;
for(int i = 0; i < n; i++){
cin >> arr[i];
}
dp[0][arr[0]] = 1;
for(int i = 1; i < n - 1; i++){
for(int j =... | [
"gns8167@naver.com"
] | gns8167@naver.com |
1ca72e8a5c7a562f7e36749003b81e8044a6c2ea | 2ea984ee5114382724502f2667b236f2e1136560 | /制作ゲーム/FMGameBase(Ver20200403_Yurudora)/Project/src/BaseObject/GameObject/SpEffect/RedFairyDead/cRedFairyDead.cpp | f8ad1b2a7b7334caf3bcad51d3e40e0542dc411d | [] | no_license | s-kosugi/FMGameBase | 06cce9670025769e0a41b45cfc295372d72817e5 | 595a845135b1b5691bd22274fa0496fb97df76bf | refs/heads/master | 2022-12-30T07:10:42.897526 | 2020-10-05T23:40:01 | 2020-10-05T23:40:01 | 292,718,517 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,266 | cpp | /*==============================================================================*/
/* */
/* @file title : cRedFairyDead.cpp */
/* @brief : 赤妖精死亡エフェクトクラス */
/* @written : s.kosugi */
/* @create : 2020/04/05 */
/* */
/*==================... | [
"program.sk5@outlook.jp"
] | program.sk5@outlook.jp |
85087518cf9f4af7a91132ead30561b430d367f6 | 56faa945655349a2c529b5076139ad823db2e516 | /leetcode/hard/493.bit.cpp | 5bf2cfdf47dd56d6ea80046198b5e37663168079 | [] | no_license | lijinpei/leetcode | 61e3fec4ec935ec0d3a8048e5df6c022b3663545 | 9833469506f4802009398b6217e510e35b188c95 | refs/heads/master | 2018-10-17T08:28:08.716683 | 2018-08-02T16:30:50 | 2018-08-02T16:30:50 | 120,696,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | #include <cstdint>
#include <algorithm>
#include <vector>
#include <iostream>
#include <algorithm>
uint32_t LOWBIT(uint32_t v) {
return v & -int32_t(v);
}
class Solution {
public:
int reversePairs(const std::vector<int> &nums) {
int s = nums.size();
std::vector<int> BIT(s + 1);
auto BIT_mark = [&](int... | [
"leekingp1994@163.com"
] | leekingp1994@163.com |
2390843f323f22220ae9d7094e576349d9824303 | 046eaaf88181f687aebdd11822176d8745c1b890 | /src/Graphics/Helpers/Grid.cpp | e2116cb36723b1c4e1e1eb359ee6abd5524e27f5 | [
"MIT"
] | permissive | filipecn/Aergia | 7e28d11e4e76f1500b9fe54720341d9bb25d12d9 | ba42e3f07c70791f0e44b876adf2696ca8001c0e | refs/heads/master | 2021-01-20T12:15:21.271343 | 2015-07-17T05:16:48 | 2015-07-17T05:16:48 | 29,448,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | cpp | /*
* Grid.cpp
*
* The MIT License (MIT)
*
* Copyright (c) 2014 FilipeCN
*
* 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 right... | [
"filipecn@gmail.com"
] | filipecn@gmail.com |
77547890b008746e3f4ddd6dbc1101710f27e1b8 | 3bb2b2648b836ec1b9f9dca72a5de604534173f9 | /UE4Editor/MedievalEscape/Source/MedievalEscape/Hands.h | b7a211af89423628b020beb268a5725630056138 | [
"Unlicense"
] | permissive | Skippern/udemy_UE4_course | c8ce59cb170be57b191686984997c4f6d23d94fa | 37c14c81748b9d11f265f3299d3d85d693b5e269 | refs/heads/master | 2023-03-01T13:30:22.096870 | 2021-02-17T21:40:37 | 2021-02-17T21:40:37 | 106,208,595 | 0 | 1 | null | 2017-10-29T11:50:33 | 2017-10-08T20:43:24 | C++ | UTF-8 | C++ | false | false | 1,123 | h | // Aun "Skippern" Johnsen 2021
#pragma once
#include "Components/ActorComponent.h"
#include "Components/InputComponent.h"
#include "CoreMinimal.h"
#include "DrawDebugHelpers.h"
#include "Engine/World.h"
#include "GameFramework/PlayerController.h"
#include "PhysicsEngine/PhysicsHandleComponent.h"
#include "Hands.genera... | [
"skippern@gimnechiske.org"
] | skippern@gimnechiske.org |
0cf9cdd134866f6925d98a02f7d099dd366ce240 | 7c112951d0785e3fcc7191137ddc0d39c854759c | /MOG_Bridge/Integration Samples/C++/MOG_Integration.h | 6d1781534a028bf92f32915837cc8bf117a6dcc7 | [] | no_license | MOGwareSupport/MOG | 1003f575eea09a13309ecbad698cdb71a16f2fb8 | cd768ad570d99c7f2b959a082f8f4976ec628b4a | refs/heads/master | 2020-09-07T17:21:01.373903 | 2019-11-14T03:40:29 | 2019-11-14T03:40:29 | 220,857,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,618 | h | // MOG_Integration
// Copyright (c) 2006 MOGware, Inc.
//
//
#ifndef __MOGINTEGRATION_H__
#define __MOGINTEGRATION_H__
#define MOG_INTEGRATION 1
#if MOG_INTEGRATION
#include <stdio.h>
#include <windows.h>
#include "MOG_BridgeAPI.h"
enum MOGStatus
{
MOGStatus_Offline,
MOGStatus_OfflineNoServer,
MOGStatus_Lo... | [
"support@mogware.com"
] | support@mogware.com |
9c1250bad3a8fd91c2520f43b2e35ad02b90ea41 | e093de3afa04c5117290dbc05fac8c39ff144756 | /lc/301.remove-invalid-parentheses.cpp | 45dc2a39596c46aa2ea289f89ababcc0d410561b | [] | no_license | njzhangyifei/oj | 25cef36f0cb1484c94ee5adf91628c7c1fef81be | 4d0b461f5c5c7dd36af0ff3f22a39a9e8d741f9c | refs/heads/master | 2020-05-30T08:46:12.255693 | 2019-08-01T02:06:21 | 2019-08-01T02:06:21 | 82,627,911 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | cpp | class Solution {
public:
vector<string> removeInvalidParentheses(string s) {
vector<string> res;
remove(s, res, 0, 0, {'(', ')'});
return res;
}
void remove(string & s, vector<string> & res, int last_i, int last_j, const vector<char> & parens) {
int stack = 0;
for (i... | [
"njzhangyifei@gmail.com"
] | njzhangyifei@gmail.com |
d0c87770ab06faa8b71278932931dff7a30b073b | 968a4cb2feb13518940f9d125c4d6b5ae2094595 | /Plugins/PointSprite/ParaViewPlugin/vtkSMSpriteTextureProxy.h | d953b93b7249a4217f031a41942d80c9449cf884 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | wildmichael/ParaView3-enhancements-old | b4f2327e09cac3f81fa8c5cdb7a56bcdf960b6c1 | d889161ab8458787ec7aa3d8163904b8d54f07c5 | refs/heads/master | 2021-05-26T12:33:58.622473 | 2009-10-29T09:17:57 | 2009-10-29T09:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | h | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile: vtkSMSpriteTextureProxy.h,v $
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... | [
"utkarsh"
] | utkarsh |
d168211a723d89fcb1604f12cdd5836b47541de1 | ca3f403b48c31c4fab34343277534c1fbd6c6616 | /wifi/model/sta-wifi-mac.h | cc63ba22e3c483a407de5b0a574d13229f0961a4 | [] | no_license | ieee80211axsimulator/muofdma | 868f35c8c1a4d5a4d415ff268f630dfeaedecd3c | b0b5f6ffbaf23fa56f66060b9cbf2b174a93ebeb | refs/heads/master | 2021-07-25T03:50:28.477191 | 2017-11-06T21:44:51 | 2017-11-06T21:44:51 | 107,055,656 | 10 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,325 | h | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2006, 2009 INRIA
* Copyright (c) 2009 MIRKO BANCHI
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foun... | [
"xxx@yyy.zzz"
] | xxx@yyy.zzz |
893a00e7200956382a11ad072dfe4a6f286d82b7 | 1fc9560211750135d297483acf5c6abde34a44ce | /Archives/OOP244/w6/in_lab/Contact.h | 1e295a68e591b40c377f4d45d4767dc8499a1029 | [] | no_license | shweyin/Seneca-work | d5b1eec6677dc7bafd69ae34558210c036da242f | df1f033bf18f801076d4932f7834579974cfe288 | refs/heads/master | 2023-01-21T15:11:27.581479 | 2020-12-05T19:57:02 | 2020-12-05T19:57:02 | 124,494,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | #pragma once
// Student: Shweyin Than, 115675175, shweyin@gmail.com
#include <iostream>
#include <cstring>
#include <iomanip>
namespace sict
{
class Contact
{
char name[20];
int size;
long long *phone_numbers;
long long cc(long long);
long long ac(long long);
long long num1(long long);
long long num2... | [
"shweyin@gmail.com"
] | shweyin@gmail.com |
7892296d0e1af50cd567140eaa7287ccf82fc14c | cd982e468c9493635816f8ca468e6de5e03ab5da | /DIKUgrafik/Src/WindowUtils/windowutils.h | 1364b1935d27a3e429c77a83f1cef6130d49addd | [] | no_license | gmnamra/Grafik | 5ee0625ee95779fbc67ab00ee6247880bb57c3c5 | a7bb9b0035091cce5d1261c775eb753dd15e76b8 | refs/heads/master | 2020-05-27T12:42:46.288013 | 2018-01-20T12:00:19 | 2018-01-20T12:00:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,073 | h | #ifndef __WINDOWUTILS_H__
#define __WINDOWUTILS_H__
#include <iostream>
#include <iomanip>
#include <stdexcept>
#include <fstream>
#include <sstream>
#include <cmath>
#include <vector>
#include <string>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "DIKUgrafik/errorcheck.h"
// ResizeCallback - function poi... | [
"jakobhl@hotmail.com"
] | jakobhl@hotmail.com |
739ae777d1d48d7b4b6c8e49e5ac22ce4c7f9da0 | a69ba39dcbf8280c6ec75f16d1725b611976ef1a | /inference/interface/inf_wrapper.hh | cfc10cae1fe5684ee784ca04bbee53bf16662722 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | GilesStrong/cms_hh_tf_inference | 0954abd8c10ea10fe856b53e6ed0d053230abe98 | 070c6e67531d16f8639b85e2f9e5219512142afa | refs/heads/master | 2022-03-13T09:04:57.784967 | 2020-02-19T10:46:26 | 2020-02-19T10:46:26 | 228,627,256 | 0 | 1 | Apache-2.0 | 2022-02-10T09:18:11 | 2019-12-17T13:52:37 | Jupyter Notebook | UTF-8 | C++ | false | false | 557 | hh | #ifndef INF_WRAPPER_HH_
#define INF_WRAPPER_HH_
// C++
#include <iostream>
#include <string>
// Local
#include "pipeline.hh"
class InfWrapper {
/* Wrapper for instanciating prediction pipelines and assigning events to correct ensemble */
private:
std::vector<Pipeline> _pipes;
bool _verbose;
public:
//... | [
"giles.strong@outlook.com"
] | giles.strong@outlook.com |
37af0aaf013f33515662384dfa8f76206345b9bc | 084006eb442b60b82b3d85d61a3b53d21c5c8855 | /shared/Irrlicht/source/Irrlicht/CImageLoaderBMP.cpp | b12cdc05bc20cc977e96a3c600b9f87f86f791f0 | [
"XFree86-1.1",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-other-permissive",
"Zlib"
] | permissive | SethRobinson/proton | 7aadcb38bc676c136dce01b8f6773fd75fa33d55 | 6b1474e75a2acf48d848c70fcb043ce8223001a9 | refs/heads/master | 2023-08-31T11:04:21.575522 | 2023-08-29T07:44:50 | 2023-08-29T07:44:50 | 142,253,855 | 81 | 31 | NOASSERTION | 2023-08-07T22:02:41 | 2018-07-25T05:55:38 | C++ | UTF-8 | C++ | false | false | 8,626 | cpp | // Copyright (C) 2002-2009 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CImageLoaderBMP.h"
#ifdef _IRR_COMPILE_WITH_BMP_LOADER_
#include "IReadFile.h"
#include "SColor.h"
#include "CColorConverter.h"... | [
"seth@rtsoft.com"
] | seth@rtsoft.com |
c6c6f47e1036ee4fd466cf38a49960cac8924efb | 9030ce2789a58888904d0c50c21591632eddffd7 | /SDK/ARKSurvivalEvolved_ExplosionEmitter_underwater_functions.cpp | 6bcf6f73496a3af7912a9db17ad1a6d3f2cec275 | [
"MIT"
] | permissive | 2bite/ARK-SDK | 8ce93f504b2e3bd4f8e7ced184980b13f127b7bf | ce1f4906ccf82ed38518558c0163c4f92f5f7b14 | refs/heads/master | 2022-09-19T06:28:20.076298 | 2022-09-03T17:21:00 | 2022-09-03T17:21:00 | 232,411,353 | 14 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | cpp | // ARKSurvivalEvolved (332.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_ExplosionEmitter_underwater_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
3553cd574942817611ff7db5f47ccd1112a5bf4c | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /gpu/command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc | 631e3bf989378c72574a364cc7ef04c4be280d4c | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 19,694 | cc | // Copyright 2014 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 "gpu/command_buffer/service/gles2_cmd_decoder.h"
#include <stddef.h>
#include "base/command_line.h"
#include "base/stl_util.h"
#include "base/s... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
741f6c6425541e45d26a0f4a60cbb97e700ec85f | a67aff40080148e6ef791cae0a983d3dfc51a3e5 | /LeetCode/tags/hash-table/find-words-that-can-be-formed-by-characters.cpp | d101ca1d2231f03e2313e81f04423f8be193fa72 | [] | no_license | llenroc/CP | 622b97676dafc80dbcb7054977fcb73702f370fe | fa4c5160f37b6cc550b062bf77b17b0484efc671 | refs/heads/master | 2023-03-28T17:25:28.548230 | 2021-04-06T11:09:14 | 2021-04-06T11:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | cpp | #include<bits/stdc++.h>
using namespace std;
#define endl '\n'
#define MOD 1000000007
typedef vector<int> vi;
typedef vector<vector<int>> vii;
class Solution {
public:
int countCharacters(vector<string>& words, string chars) {
int f[26]={0}, ans=0;
for(char &c: chars) f[c-'a']++;
for(string... | [
"jitendra.iitp@gmail.com"
] | jitendra.iitp@gmail.com |
b51546de2f8bc1e7c66b7a48282d9733668de854 | 37d6f894d3152e77bb86497dd052f5efc924ce59 | /src/test/merkle_tests.cpp | 51119891a3d8e54f1232f33b763d2009ad8f4671 | [
"MIT"
] | permissive | xuyenvtram/C-Bit-0.12.1 | 099339e4fafcb7f56c4c4ff09502c86788dea371 | 8506fc10f79eb32dc2c0cb0223b45c050e0f2efd | refs/heads/master | 2021-01-20T03:53:08.517958 | 2017-04-27T11:43:19 | 2017-04-27T11:43:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,909 | cpp | // Copyright (c) 2015 The C-Bit Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "consensus/merkle.h"
#include "test/test_bitcoin.h"
#include "random.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE... | [
"crzybluebilly@mailinator.com"
] | crzybluebilly@mailinator.com |
49b63da97bfbef5634233ae23b4d2c68bcfd1c31 | 938a706481520d93ff5d9a43861cad20ca569862 | /Exercise04-06/src/evaluation.cpp | b79a4a7abd7b970fa1f63d8e33df4842aa12ebb5 | [] | no_license | saurabheights/TDCV | aed4fd9f7e7917cdc8cbd65be6b9f26aca2610dd | a7b92584c1942d2cd54d341358242164b3448f98 | refs/heads/master | 2023-06-23T18:54:04.555476 | 2019-02-09T23:51:14 | 2019-02-09T23:51:14 | 157,727,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,068 | cpp | #include <opencv2/opencv.hpp>
#include <HogVisualization.h>
#include <RandomForest.h>
#include <iomanip>
#include <sstream>
#include <random>
#include <opencv2/core/utils/filesystem.hpp>
using namespace cv;
using namespace std;
// #define DISPLAY
vector<vector<pair<int, cv::Mat>>> loadTask3Dataset()
{
vector<pair... | [
"khandujasaurabh@gmail.com"
] | khandujasaurabh@gmail.com |
a19df37b84f2c59a90d27e61d998123aa0655d93 | 1473d671ba397ada8164ee44612b68130a94d7e6 | /translator.h | 62bdfa0d2bdf1ed48b97ef97283c6c7db2c16e88 | [] | no_license | vmoolle/qtsummit2015demo | 53e7b071609d0d3e5c979a99345dd863fd334dfe | f3196bc6ef6fdeaa10f2415a2fb0020c214a4d9e | refs/heads/master | 2021-01-10T01:29:14.379545 | 2015-10-07T21:31:08 | 2015-10-07T21:31:08 | 43,747,797 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h | #ifndef TRANSLATOR
#define TRANSLATOR
#include "activerequest.h"
class TranslateRequest: public ActiveRequest
{
Q_OBJECT
public:
~TranslateRequest();
QVariant value() const;
private slots:
void onLanguageChange();
private:
friend class Translator;
TranslateRequest(Translator *translator, con... | [
"vmoolle@ics.com"
] | vmoolle@ics.com |
af4d4355b06b388845c85479409986e48819e57b | c1d03c773c8f21354f8ae77affc0b0e706320d5e | /Week 5/Programming Assignment 1/src/inheritance.cpp | 3aee3a5e92d7765eb3a1106b07ad43efb6ed220c | [] | no_license | ProfessionalLearner/c-plus-plus-yellow-belt | a86aa83a75c0d2cb4fb0c0a6234d6a55df298229 | 3d80e6937e57d345f4f6b86d555bc3eed9223015 | refs/heads/master | 2023-01-11T01:24:19.524487 | 2020-11-09T15:34:19 | 2020-11-09T15:34:19 | 311,380,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include <iostream>
using namespace std;
class Animal {
public:
Animal(const string& name)
: Name(name) {
}
const string Name;
};
class Dog : public Animal {
public:
Dog(const string& name) : Animal(name) {
}
void Bark() {
cout << Name << " barks: woof!" << endl;
}
};
| [
"arnur.nogaibekov@mail.utoronto.ca"
] | arnur.nogaibekov@mail.utoronto.ca |
e370f839e54434581a3f3a41563007a094b3b9c2 | 209bd94caa54ad6aeb9f6f208199608da8eeeb58 | /src/text.cpp | c48ff1bb997d13b2f781018bd4c571b6c6191f7e | [
"Apache-2.0"
] | permissive | PuceBaboon/ESP_Zork | d966915e3eeaa85565ba55011170d7418fcb1def | 6eb26cac03f112b9c7cd1c28013a4784d1308017 | refs/heads/master | 2021-01-19T10:26:47.419698 | 2018-02-18T00:33:54 | 2018-02-18T00:33:54 | 87,866,958 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,534 | cpp | /* Jzip V2.1 Infocom/Inform Zcode Format Interpreter
* --------------------------------------------------------------------
* Copyright (c) 2000 John D. Holder. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... | [
"PuceBaboon@users.noreply.github.com"
] | PuceBaboon@users.noreply.github.com |
13f1542da5fba98d74b986a2cb5d22b20e3d19ac | eb46dbb888d661f8577da2ef3fdc744ffac1e5e4 | /modules/video/opencv_perf_video_pch.cpp | df1b402c2cbadc54c0b04640cfed48256be8244f | [] | no_license | gzhangx/opencv.builds | 251d692767285d2dd9a84e934618fa348417a9fe | 760936d44450a6660efb750cf8ad5726c33a4504 | refs/heads/master | 2023-08-03T09:46:02.559701 | 2021-09-17T22:19:37 | 2021-09-17T22:19:37 | 406,840,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68 | cpp | #include "D:/work/acccn/opencv/modules/video/perf/perf_precomp.hpp"
| [
"gzhangx@hotmail.com"
] | gzhangx@hotmail.com |
04c1f1f86736eb34fed616351a9fab454fb6e76b | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-kinesisvideo/source/model/TagResourceResult.cpp | 068434f3adb044b2fe226c60a85c8e8ea2c3b501 | [
"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,273 | 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 |
913d1521dfeb8961fbe8b3baaee43c32d4ab6df9 | c1c70168fe5ed0c9c81e08915a647961200d1766 | /CodeForce/Problems/1552A.cpp | cf2b1d2995743d40aa01e23a96616b197e212e89 | [] | no_license | cies96035/CPP_programs | 046fa81e1d7d6e5594daee671772dbfdbdfb2870 | 9877fb44c0cd6927c7bfe591bd595886b1531501 | refs/heads/master | 2023-08-30T15:53:57.064865 | 2023-08-27T10:01:12 | 2023-08-27T10:01:12 | 250,568,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | #include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, a, b) for(int i = a; i < b; i++)
int t, n, cnt;
string s1, s2;
int main()
{
cin.tie(0);
ios_base::sync_with_stdio(0);
cin >> t;
while(t--){
cin >> n >> s1;
s2 = s1;
sort(s1.begin(), s1.end());... | [
"39860649+cies96035@users.noreply.github.com"
] | 39860649+cies96035@users.noreply.github.com |
12d71d49a59afaf793be43cc86bf4455e7db1dcb | de3377ea3356e5e167a1046ae200331b12e87998 | /RISBJfunctions.cpp | af5072108fc94de8e46f2d34b3daf16dd96e2743 | [] | no_license | Frupla/Risky-project | 536058e605226b07932927abef441ef5823fdb04 | 3d1339ee7208fb298d4a343658020a6145413964 | refs/heads/master | 2020-04-04T18:52:08.905608 | 2018-12-05T09:21:51 | 2018-12-05T09:21:51 | 156,182,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,319 | cpp | #include <iostream>
#include <stdint.h>
using namespace std;
union InstructionUnion {
uint32_t instruction;
struct {
uint32_t opcode: 7;
uint32_t rd: 5;
uint32_t funct3: 3;
uint32_t instruction.I_s.rs1: 5;
uint32_t rs2: 5;
uint32_t funct7: 7;
} R_s;
stru... | [
"s163905@student.dtu.dk"
] | s163905@student.dtu.dk |
fa44d615786ca427430ca0cb3d21c438b1a8e57a | 6cecdbbe6eb721a0e43c07ed2b31bdcc9e553c55 | /Sail2D/Runs/first_flatplate_150_12/case/7000/phi | c1f035e49fddc8bdbd0e7591fd98ba50a345c158 | [] | no_license | kiranhegde/Gmsh | 799d8cbefb7dd3f3d35ded15b40292fd3ede6468 | fefa906dabfddd9b87cc1f0256df81b4735420e1 | refs/heads/master | 2021-01-19T23:21:57.414954 | 2015-01-21T02:02:37 | 2015-01-21T02:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334,696 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu | |
4ab9cf7040c6fdb282286c4a759e86a86c836332 | 19a0bb9ba76357ee3e3fec3368676872ba0fe52f | /media/audio/audio_debug_file_writer_unittest.cc | 805b1d8879012aa1d69f8ce5800c183f0473f569 | [
"BSD-3-Clause"
] | permissive | C351/chromium | f2cf547e5a3bd7dfe85090189a811f8afdce2519 | efb6eca4dfa14ea18a449c2f0c3c659dd1d5ce01 | refs/heads/master | 2023-02-26T14:46:38.518313 | 2018-02-25T03:16:38 | 2018-02-25T03:16:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,867 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stdint.h>
#include <limits>
#include <utility>
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/memory/ptr_util.h"
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6247cae06572e413a5bf15494b43c43ece304e87 | 094f09117e0d6f24c1da7b8e95f100b81b607727 | /src/main/cpp/btree_symmetry.cpp | 8ad3297a76934a1c58b805a3c76f198a64d0b06f | [] | no_license | novelinux/algorithm | 0f330913ce82f8484d3956b4645c8e4db108a91b | fb4018f6023ec2a85b7f0030ebc220c912c5a6f4 | refs/heads/master | 2020-07-03T01:38:31.911871 | 2019-10-14T02:22:34 | 2019-10-14T02:22:34 | 201,744,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp | /*给定一个二叉树,检查它是否是镜像对称的。
例如,二叉树 [1,2,2,3,4,4,3] 是对称的。
1
/ \
2 2
/ \ / \
3 4 4 3
但是下面这个 [1,2,2,null,3,null,3] 则不是镜像对称的:
1
/ \
2 2
\ \
3 3
*/
#include <stdio.h>
struct btree_node {
int val;
struct btree_node *left;
struct btree_node *right;
};
static void print_btree(st... | [
"liminghao@xiaomi.com"
] | liminghao@xiaomi.com |
2e56baa01efca4296e3d6cacbdc3a38da2d832c9 | 27da58458e8f4a70adcb0c1d8a7ed84e8342367f | /Libs/BaseLib/DxLib/vectormath/boolInVec.h | 03bf1c9255abcea3db0c8e69a8ba29d9591a1c1b | [] | no_license | WiZFramework/BaseCross | f5c5d41abb1bfc8c5e7e0fc397a522318c95a7d2 | 3166d3870e818c947c2b598ff9d629c58780168d | refs/heads/master | 2020-05-22T02:44:26.650636 | 2019-09-17T17:46:08 | 2019-09-17T17:46:08 | 64,080,808 | 16 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 5,511 | h | /*
Copyright (C) 2006-2010 Sony Computer Entertainment 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
... | [
"wiz.yamanoi@wiz.ac.jp"
] | wiz.yamanoi@wiz.ac.jp |
e0c977ad88af85dbddc65564863a7128aea56491 | 48cc483245c51c6f67f51eb3ba555ce8b36cb84f | /htmlThief.h | b9b218c42dd1210f2920b5906b64e4648e31a905 | [] | no_license | ViNN280801/CourseWork2 | 71511084ea31b4fb90315ceab3cf2e0fad3e69f4 | 8c294caca63693b1eb85cd8b9ddb1f8f9bc5b1ee | refs/heads/main | 2023-01-30T03:01:46.230611 | 2020-12-13T10:11:53 | 2020-12-13T10:11:53 | 319,993,634 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | h | #ifndef HTMLTHIEF_H
#define HTMLTHIEF_H
#include <c++/10/curl/curl.h>
#include <istream>
#include <cstdlib>
static size_t writeData(void* ptr, size_t size, size_t nmemb, void* stream){
size_t written = fwrite(ptr, size, nmemb, (FILE*)stream);
return written;
}
int htmlThief(int argc, char* argv[]){
CURL* cu... | [
"vladislav@localhost.localdomain"
] | vladislav@localhost.localdomain |
55decd6d7939352ab7b06bacbbcad72fbf8b1b45 | 5ed52fbab39d7fd6a44443ec7b086eed0397c605 | /CPlusTest/CPlusTest/worker0.cpp | 41d5d53b02cad08f8cacfd15702e1f19a39affbe | [] | no_license | JerryXu008/CGContextDrawLinearGradient | 92888db0c7e9134cd3d2dbf53df85830441174dd | d2afb7cdb4945769f04e88f9c74deb4c89520528 | refs/heads/master | 2021-01-17T17:37:30.237534 | 2016-08-16T06:52:26 | 2016-08-16T06:52:26 | 65,795,024 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | //
// worker0.cpp
// CPlusTest
//
// Created by song on 15/3/6.
// Copyright (c) 2015年 song. All rights reserved.
//
#include "worker0.h"
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
Worker::~Worker(){}
void Worker::Set(){
}
void Worker::Show() const{
}
void Waiter::Set(){
Worker... | [
"song@song-Mac-mini.local"
] | song@song-Mac-mini.local |
f90129914255e822a3f20b1b56cae164de7a150f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_patch_hunk_4793.cpp | a1cdc576b117e4953e9269c8324065d2ee3d8910 | [] | 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 | 1,107 | cpp | sizeof(szPath));
if ((rv = exists_and_readable(szPath, p, NULL))
!= APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, APLOGNO(02201)
"Init: Can't open server certificate file %s",
... | [
"993273596@qq.com"
] | 993273596@qq.com |
f0ab0e7c0cdd758eac998a7c0bf67151d71c7ae9 | 6590343427073ed8cf41b17cb88274ea89cb369f | /CamelCase.cpp | e16196cd79da225e6e4bc23f3f41a1e9c45fb505 | [] | no_license | delta7-138/Hacker_Rank_Sols | fd79275e923b9f2e35dd2fc205aeb542b9f2990d | 281208cc72bbfc63c9af134449d0ec821e4d0d07 | refs/heads/master | 2020-08-06T06:20:46.273215 | 2019-12-18T11:23:35 | 2019-12-18T11:23:35 | 212,869,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | #include <iostream>
#include <string>
using namespace std;
int number_of_words(string str)
{
int count = 0;
for(int i = 0; i<str.length(); i++)
{
if(str[i]>='A' && str[i]<='Z')
count++;
}
return (count+1);
}
int main()
{
string str;
cin>>str;
cout<<number_of_words(str);
return 0;
}
| [
"sharmakrishna9501@gmail.com"
] | sharmakrishna9501@gmail.com |
56a6d3027ac5d009ee4c83c6c65eb0e8a91d7bcd | 31b5a64c02c3797d1e5c2202dde3d47710cf906f | /ProjectSource/include/ui_MainWindow.h | b248b63654492160abb4d11c58ee2cdf23bd9ad6 | [] | no_license | majorpr13/SwarmingVehicles | b23f027a7f03bc9f275c06ea6cdc67ad186cea5b | 9ab78f1819743f612683f5c4e484a752f41f517b | refs/heads/master | 2020-04-05T22:56:13.842358 | 2014-10-20T18:23:28 | 2014-10-20T18:23:28 | 24,241,480 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,370 | h | /********************************************************************************
** Form generated from reading UI file 'MainWindow.ui'
**
** Created by: Qt User Interface Compiler version 5.2.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**********************************... | [
"dempsy@dodo.(none)"
] | dempsy@dodo.(none) |
cbe045269cab2752568414d141a9b900faa15050 | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /science/salome-kernel/files/patch-src_SALOMEDSImpl_SALOMEDSImpl__Study.cxx | 240b4bbc288b64b461c582c2ff59fef8c8895d53 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 781 | cxx | --- src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx.orig 2023-07-03 21:36:43 UTC
+++ src/SALOMEDSImpl/SALOMEDSImpl_Study.cxx
@@ -212,7 +212,7 @@ bool SALOMEDSImpl_Study::Open(const std::string& aUrl)
isASCII = true;
char* aResultPath = HDFascii::ConvertFromASCIIToHDF(aUrl.c_str());
if ( !aResultPath )
- ret... | [
"yuri@FreeBSD.org"
] | yuri@FreeBSD.org |
3165d2dd01e0fc7d50d73089d1bb69006e3f6a81 | 9f9660f318732124b8a5154e6670e1cfc372acc4 | /Case_save/Case30/case9/300/nut | c6f59b3db6d9c87363dbefbefdb8da0f2a7b85ed | [] | no_license | mamitsu2/aircond5 | 9a6857f4190caec15823cb3f975cdddb7cfec80b | 20a6408fb10c3ba7081923b61e44454a8f09e2be | refs/heads/master | 2020-04-10T22:41:47.782141 | 2019-09-02T03:42:37 | 2019-09-02T03:42:37 | 161,329,638 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,998 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"mitsuaki.makino@tryeting.jp"
] | mitsuaki.makino@tryeting.jp | |
40e9f2ca3c97d142d4ea2cb9cd74765cdb54efab | 977c82ec23f2f8f2b0da5c57984826e16a22787d | /src/IceRay/render/0scanner/adaptive.hpp | 03eb189b14dc06e0eac725fbb9b9448059188d80 | [
"MIT-0"
] | permissive | dmilos/IceRay | 47ce08e2920171bc20dbcd6edcf9a6393461c33e | 84fe8d90110c5190c7f58c4b2ec3cdae8c7d86ae | refs/heads/master | 2023-04-27T10:14:04.743094 | 2023-04-20T14:33:45 | 2023-04-20T15:07:18 | 247,471,987 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 42 | hpp | ///renderu evry n-th then calc dispersion. | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
0c296b36f4ae2940ff1081a612fd77ae64961a9a | c47d35768ccf61ac69076d13d50f4a02afe1cfc1 | /src/Memory/BinarySegregatorAllocator.hpp | 58591144c05d3d3762c11f6da3b8fb9cbe0462b4 | [
"MIT"
] | permissive | epicbrownie/Epic | 8eaecc7624739bd91ec86d1cf830cebded068c3c | c54159616b899bb24c6d59325d582e73f2803ab6 | refs/heads/master | 2020-04-12T06:43:21.216759 | 2018-04-15T20:33:49 | 2018-04-15T20:33:49 | 64,624,266 | 0 | 0 | MIT | 2018-04-20T13:25:18 | 2016-08-01T00:59:25 | C++ | UTF-8 | C++ | false | false | 4,243 | hpp | //////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2016 Ronnie Brohn (EpicBrownie)
//
// Distributed under The MIT License (MIT).
// (See accompanying file License.txt or copy at
// https://opensource.org/licens... | [
"epicbrownie@gmail.com"
] | epicbrownie@gmail.com |
e86428270cf95f386dedd5ebd2fdb627c8a6c9a8 | eed3cdaa263de8fced4b982bf3e92d0ab16fdbbf | /Switch/base64.h | 1f3d2794efd8c3b46c6f0e2cd93ec415592e77a3 | [
"Apache-2.0"
] | permissive | phaistos-networks/TANK | 4eeaf2e51b8397ff63705a9c63c28fa12b368fc3 | ecb7a2d23532bf6eb21c5f587490f71b7afdb859 | refs/heads/master | 2023-03-08T06:01:00.660937 | 2022-09-06T08:22:58 | 2022-09-06T08:22:58 | 62,232,843 | 1,022 | 82 | Apache-2.0 | 2020-02-01T07:12:34 | 2016-06-29T14:35:45 | C++ | UTF-8 | C++ | false | false | 477 | h | #pragma once
#include "switch.h"
#include "buffer.h"
static inline bool is_base64(const uint8_t c) noexcept {
return c == '+' || c == '/' || (c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
}
namespace Base64 {
size_t decoded_repr_length(const str_view32 s);
uint32_... | [
"mpapadakis@phaistosnetworks.gr"
] | mpapadakis@phaistosnetworks.gr |
9acbc011dfc5e1198911d2986dfda9f505370a22 | baddcd5e125c92c5818190d1d9a5c6a207407ff7 | /day1/day1.cpp | 3e892c80681611fedb2cba2aec5d249b13abd539 | [] | no_license | mdeabreu/aoc2019 | 0afe64d41943029b72cfddc737e499db4121bdf7 | b4bec75a115c8335f18cad758b90eb4b4be3126a | refs/heads/master | 2020-11-25T06:37:56.528232 | 2020-01-13T18:43:50 | 2020-01-13T18:43:50 | 228,542,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,610 | cpp | #include <iostream>
#include <algorithm>
#include <numeric>
#include <cassert>
#include "day1.hpp"
// Fuel required to launch a given module is based on its mass.
// Specifically, to find the fuel required for a module, take its mass, divide
// by three, round down, and subtract 2.
// Fuel itself requires fuel just l... | [
"Matthew.DeAbreu@gmail.com"
] | Matthew.DeAbreu@gmail.com |
d18deb7cdd2b92940ad3fdf6ba7885ab093b0557 | 93294d148df93b4378f59ac815476919273d425f | /src/training/SetControlConstraintsAction.cpp | 7e51326fc5b0724d3bd9e8a351f2f2d144d8d190 | [
"MIT"
] | permissive | FreeAllegiance/Allegiance | f1addb3b26efb6b8518705a0b0300974820333c3 | 3856ebcd8c35a6d63dbf398a4bc7f0264d6c823c | refs/heads/master | 2023-07-06T17:53:24.363387 | 2023-06-29T00:24:26 | 2023-06-29T00:24:26 | 98,829,929 | 86 | 34 | MIT | 2023-06-28T03:57:34 | 2017-07-30T23:09:14 | C++ | UTF-8 | C++ | false | false | 3,837 | cpp | /*
** Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
**
** File: setcontrolconstraintsaction.cpp
**
** Author:
**
** Description:
** Implementation of the training library "setcontrolconstraintsaction" interface.
**
** History:
*/
#include "pch.h"
#include "SetControlConstraintsAction.... | [
"nick@zaphop.com"
] | nick@zaphop.com |
44c2a277cd0c590fd6ef966358c003047620c7e9 | 90ea5ed39310aa15afa1ffa502ea438545c3ebc6 | /decoratorPattern.cpp | 8b9b1448d8d7daff8f976c5524d1e897f08c8dcc | [] | no_license | miloudbelaabed/Design-Patterns | ec608707f90f5d068e34b52b828fc412c897af86 | 9bc5ba2171d76ffd23fd8691570d36cbd1ebd805 | refs/heads/master | 2022-12-15T02:23:14.217198 | 2020-08-30T14:46:17 | 2020-08-30T14:46:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | cpp | #include <iostream>
using namespace std;
class Beverage {
public:
virtual int cost() = 0;
void discription() {
cout <<"this is a beverage " << endl;
}
};
class espreso : public Beverage {
public:
int cost() {
return 1;
}
};
class milk : public Beverage {
int cost() {
return 2;
}
};
... | [
"unknown.dza@gmail.com"
] | unknown.dza@gmail.com |
55f9857e041cd32044dc88efa06cfaedcdc13b31 | fffcc3013b809d60ea8af4ddb437c9ae7cfbf1fb | /processor_pool.h | eca916a9a69bfa27654dc42510ba83b24e69de4f | [
"Apache-2.0"
] | permissive | skyformat99/coroutine-6 | b07143994835e8d15668bb2bff1c1c612fc9b94b | 42ec14eee0e19d2dff120cc30b4734d25b6f005b | refs/heads/master | 2020-03-31T17:32:21.408406 | 2018-10-06T13:02:55 | 2018-10-06T13:02:55 | 152,426,591 | 0 | 1 | NOASSERTION | 2018-10-10T13:17:16 | 2018-10-10T13:17:16 | null | UTF-8 | C++ | false | false | 3,884 | h | #pragma once
#include <iostream>
#include <thread>
#include <atomic>
#include "smallvector.h"
#include "spinlock.h"
#include "readwrite_queue.h"
#include "coroutine.h"
namespace coro {
using Task = std::function<void()>;
using TaskQueue = ReadWriteQueue<Task>;
class Processor {
private:
std::vector<routine_t> w... | [
"zhengankun@163.com"
] | zhengankun@163.com |
952e3404b0aae4fa6def07a036a988a74024e3f6 | 83bbe184d6ba3ee90b28312a79a5862e93c25f16 | /Ice Climber/Ice Climber/Topi.h | 3bc817928b9c5b2fdca74a9b755a2917a3f8f031 | [] | no_license | tmsao2/IceClimber | 5392f76203e3da97d48fda89802253629b66f05a | 60485564281e478d78eabf7d7d59b4b4022d3e31 | refs/heads/master | 2020-05-20T03:35:28.731076 | 2019-10-25T05:12:11 | 2019-10-25T05:12:11 | 185,362,160 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 725 | h | #pragma once
#include "Enemy.h"
class Player;
class EnemyFactory;
class Ground;
class Topi :
public Enemy
{
private:
Vector2f _vel;
int _wait;
int _grapH; //画像ハンドル
//メンバ関数ポインタ
void (Topi::*_updater)();
//状態(ステート)
//ニュートラル
void NeutralUpdate();
//歩く
void WalkUpdate();
//ダメージ
void DamageUpdate();
//死亡
v... | [
"1701377@PC65210"
] | 1701377@PC65210 |
be2ca1cbd388a62d4aeb3bca73244a7d4428b4b9 | 8f57ac1d0cd7d4f97d9084d4d9917e794f2a4ce5 | /Tree.hpp | 87d0f83733d6c381c46e6a81326d6dd1fb08d050 | [] | no_license | nizan153/cpp-BinaryTree | 5948d9199656a4aa644a55c65a49da467ad0de46 | aa5b6c0e607036e3b964472198f12ccaf7084a52 | refs/heads/master | 2020-04-30T02:46:52.798058 | 2019-03-31T15:01:12 | 2019-03-31T15:01:12 | 176,567,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | hpp | #ifndef TREE_H
#define TREE_H
#include <iostream>
namespace ariel
{
class Node{
public:
Node *left;
Node *right;
int data;
Node(int i) : data(i), left(NULL), right(NULL) {}
};
class Tree
{
private:
Node *head;
int... | [
"nizan153@gmail.com"
] | nizan153@gmail.com |
b2dc402f42e7384b11307906a1dddd2736c648fc | 47232a61bf588e82bd7b0003f6608c4714863d8b | /src/database.cpp | 3bd9f5123a780dad4ef910fd0759d398cde9c135 | [] | no_license | sidorplugin/HearDemoTrackEasy | ca091433d85352cabf618e73ce3b34d36ff3af36 | 517dc406ff0566719f5b8da5ac4c45c558c70c77 | refs/heads/master | 2021-01-18T18:46:54.204791 | 2018-09-19T20:01:01 | 2018-09-19T20:01:01 | 100,524,274 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,201 | cpp | #include "database.h"
Database* Database::m_self = NULL;
Database::Database()
{
// Создает БД и таблицы.
initialize();
m_model = new Model;
m_model->setTable("tracks");
m_model->setEditStrategy(QSqlTableModel::OnManualSubmit);
m_model->select();
// Создает заголовки модели.
for (int i = MediaInfo::... | [
"sidormax@mail.ru"
] | sidormax@mail.ru |
300bb85ba800f91eea00416a820ee09f834d720e | 666787219f3e004a3f0fc91e0c706d49c810eff0 | /module05/multipleInheritance/Navy.h | 360980f93f6c682104b96665cb2cab9e6e6e036f | [] | no_license | vallejos/rasmussen-advanced-cpp-programming-cop2350c | ebfbe14a1bb7ef3026a236935798cd79d52e0ff1 | 50becd279a90c2ed6e7f8c2de6e2724d4daf9a0b | refs/heads/master | 2020-12-02T11:30:26.665262 | 2017-08-08T23:08:54 | 2017-08-08T23:08:54 | 96,644,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | h |
#ifndef NAVY_H
#define NAVY_H
#include "Soldier.h"
class Navy : public Soldier {
public:
Navy();
Navy(const Navy& orig);
virtual ~Navy();
private:
};
#endif /* NAVY_H */
| [
"vallejosfab@gmail.com"
] | vallejosfab@gmail.com |
13fa06a441ab3209d355236a9d02a1f7abba21b6 | be99bc1d4280e2a53f67c8b649566ae80f2ed642 | /Player.cpp | a9ca61ffa7239cf21a2c03f52c446d050c29b3a2 | [] | no_license | azshen23/pokemon-gen3 | 4007a52fdec5616210c345ec1c82b0ce65c0a917 | 4d23d33e29e162d8d02fd72bbab853333e441290 | refs/heads/master | 2021-10-10T07:59:37.375674 | 2021-10-05T20:57:44 | 2021-10-05T20:57:44 | 245,323,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <cassert>
#include <cstring>
#include <string>
#include <array>
#include <vector>
#include <sstream>
#include <cstdio>
class Player
{
public:
virtual int menu()
{
}
private:
};
class ComputerPlayer : public Player
{
};
class HumanPlayer ... | [
"55771349+azshen-umich@users.noreply.github.com"
] | 55771349+azshen-umich@users.noreply.github.com |
578afe76ecba44f7a75a587b075cb76333745d2e | 9c21a1f7caf0b889201414e5a97c5e2a3147d0cc | /CdS_Base/FunctionMapDrawer/include/VirtualModel.h | 4571411cb707d20e020a798a537bb232b3b7ae6b | [] | no_license | dlCdS/Dev | f95a2e41b71de2ea562c268e713e3879ac74e3b4 | 304ee4cbef803f98d1017927fddb3b036ffcf165 | refs/heads/master | 2022-01-13T00:33:19.449933 | 2021-10-25T14:40:08 | 2021-10-25T14:40:08 | 220,112,062 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | #pragma once
#include <Common.h>
#include <SetColourWidget.h>
#define e(f, i, j) (f[i][j])
#define loop() for(ge_i i=0; i<_size.w; i++) for(ge_i j=0; j<_size.h; j++)
class VirtualModel
{
public:
VirtualModel();
virtual ~VirtualModel();
virtual void setColourWidget(SetColourWidget* scw);
void setSize(const ge_p... | [
"francis.denis541@gmail.com"
] | francis.denis541@gmail.com |
5184e7b6d8868d0ab42082b96d68fba3611d3c1f | a63f168cf9580def12980a06ca8f6757e8cb440d | /practice/ufds/owl-fight.cpp | 2a33ce86798786b117d5bd5eed54d8ad42208df9 | [] | no_license | ajay-anand-verma/ds-algo | 6caf749d0c88d70830139d62826b0d43477217f5 | 305614fab61d80bdb169ea01feddb5862f74a173 | refs/heads/master | 2023-04-01T06:07:56.898661 | 2021-04-06T15:23:51 | 2021-04-06T15:23:51 | 293,047,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
vi p;
int findSet(int i) { return p[i] == i ? i : p[i] = findSet(p[i]); }
bool isSameSet(int i, int j) { return findSet(i) == findSet(j); }
void setUnion(int u, int v){
if(!isSameSet(u, v)){
int x = findSet(u), y = findSet(v);
if(x>y)
p[y]... | [
"ajay.codifer@gmail.com"
] | ajay.codifer@gmail.com |
cef62d998bf63b67c9014309d7f8338831b2f6cf | c8b2bb50a19f79556aa8760731a5b8b963087bd0 | /my3d/Sampler.h | ec29b30fc641b4ab354565687b12337a5972948c | [] | no_license | etyoshino/D3D | 6729ce46f3b256ebfaf1158e63049b48ebb75d92 | 2331c58600d6a3bce0a8b9ce3bae5f8b75fe8b0d | refs/heads/main | 2023-08-14T08:27:19.825669 | 2021-09-22T09:56:50 | 2021-09-22T09:56:50 | 376,202,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | h | #pragma once
#include "Bindable.h"
class Sampler : public Bindable
{
public:
Sampler(Graphics& gfx);
void Bind(Graphics& gfx) noexcept override;
protected:
Microsoft::WRL::ComPtr<ID3D11SamplerState> pSampler;
};
| [
"etyoshino@163.com"
] | etyoshino@163.com |
f83043b2b751419b4c3d87ed9ef6a97a2f565ffc | 12faf41c596568f32785d5e841d930c67a7e0649 | /tests/testPsf.h | 630a3bc507abab8f0820870a2f55a37a69cc04b5 | [
"NCSA"
] | permissive | DarkEnergySurvey/LSSTmeasalgorithms | 086dad3e1ccf595eebb089346842558b0ef12f21 | 1d91d52849eff71238f90c4ae3f374458ed4e12d | refs/heads/master | 2023-03-12T04:26:49.887471 | 2021-03-03T21:19:27 | 2021-03-03T21:19:27 | 339,210,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,999 | h | // -*- LSST-C++ -*-
/*
* LSST Data Management System
* Copyright 2013 LSST Corporation.
*
* This product includes software developed by the
* LSST Project (http://www.lsst.org/).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... | [
"felipe@illinois.edu"
] | felipe@illinois.edu |
ab3ec707c25b570b637976b3617089f93e1fe11c | 30c8f9dc6f24aafbbcad30c445fadb11efa2be83 | /os/ios/api/AppDelegate.inl | 2efdad12c64b9cb74d4022ae7d1dcd4045de5eca | [] | no_license | metabeast/app | 0083be89e3419a80162d556f5a18ecc249cd4503 | 357638c88d4fd999f6df17369477fdfcd963d798 | refs/heads/master | 2021-09-10T02:52:10.096577 | 2018-03-20T19:46:38 | 2018-03-20T19:46:38 | 126,073,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,836 | inl | #pragma once
namespace app::ios {
struct AppDelegate : NSObject {
static struct API {
objc::classid cls {
"AppDelegate","NSObject",
objc::method {
"application:didFinishLaunchingWithOptions:",
[](AppDelegate* self,objc:... | [
"garett.bass@king.com"
] | garett.bass@king.com |
08ea17b82df598013024f21d4ba6c1e1663048bd | 4ca41284a19cc0ccf681327dbbe47b81befd6d75 | /BackUp/SpaceObsession/Classes/popups/PurchaseView.cpp | 52fc82a73995b1c462ebd61ae5e29bf72d22b6b6 | [] | no_license | droidsde/SillyatomGames | 9e82c89a5390c4530f40a63cd7109e4aaeae6729 | 81e4c49fae9473b664f954bd0e8483ae4d404b2d | refs/heads/master | 2020-07-05T01:09:10.928828 | 2016-04-13T17:12:44 | 2016-04-13T17:12:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,779 | cpp | //
// PurchaseView.cpp
// MyCppGame
//
// Created by Sillyatom on 24/01/15.
//
//
#include "PurchaseView.h"
#include "../Constants.h"
#include "../Helper.h"
#include "../PlayerData.h"
#include "../lib/GameSaveData.h"
#include "../lib/Utility.h"
#include "GenericPopup.h"
#include "../lib/InAppHandler.h"
void Purcha... | [
"sillyatom@Sillyatoms-iMac.local"
] | sillyatom@Sillyatoms-iMac.local |
2ac7be43889df9973f9fff6231741518fcc08b74 | ed0c22c7289ea36083d87d5538c72de004ebbd00 | /dyninst/cuda/Fatbin.cpp | 5b58a867e57d54d21b499060f857554498969cb3 | [] | no_license | HPCToolkit/hpctoolkit-tests | 42fa24875ae12226d392e9ea4e3013ec5b5ff3b5 | b290c0425bef02041a03d624d84e38f25f4c54e9 | refs/heads/master | 2022-07-18T11:45:35.701061 | 2022-07-07T18:41:54 | 2022-07-07T18:41:54 | 82,117,502 | 2 | 3 | null | 2022-07-07T17:44:39 | 2017-02-15T23:30:09 | C | UTF-8 | C++ | false | false | 7,825 | cpp | // * BeginRiceCopyright *****************************************************
//
// $HeadURL$
// $Id$
//
// --------------------------------------------------------------------------
// Part of HPCToolkit (hpctoolkit.org)
//
// Information about sources of support for research and development of
// HPCToolkit is at 'hp... | [
"krentel@rice.edu"
] | krentel@rice.edu |
af62e9efb063e6f0ab518ff5e6ced1560690f504 | 9cefee022eec34a27e4ad16e47bb615993ac99e6 | /Labview Software/Hardware Mfg/AlazarTech SDK/7.2.3/Samples_C/ATS9462/DualPort/NPT_Volts/ATS9462_NPT_Volts.cpp | 98cd88f5c1c33c5fa9406673864ba5bb47167839 | [] | no_license | BUNPC/SerialSectOCT | 8fb497012bbd98751fbf752fb8fa08d6ddc86ec5 | b3ddbe87595fc246dc3959cc0c81b453c27b0781 | refs/heads/master | 2023-08-17T23:51:09.781058 | 2023-08-05T15:28:08 | 2023-08-05T15:28:32 | 133,862,311 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 24,110 | cpp | //-------------------------------------------------------------------------------------------------
//
// Copyright (c) 2008-2016 AlazarTech, Inc.
//
// AlazarTech, Inc. licenses this software under specific terms and conditions. Use of any of the
// software or derivatives thereof in any product without an AlazarTech ... | [
"Shuaibin@bu.edu"
] | Shuaibin@bu.edu |
38d00a9107cf5414f6592e7d734b3bf2f564f3cf | 9d74b8a8d42a217669e27534132787b522829e03 | /FastVideoPro/FastVideov1/VideoDownloader/loginedserverprotect.h | fd072aa9194169627e1cd790ffdec5030f6f1522 | [] | no_license | TommyZhang936/TChallaOld | c8450880135d1ff2392236e288c515ccb799216e | 6d980b31f40fc7e6b789b862e2e7f408296dadfc | refs/heads/master | 2020-07-01T08:15:02.259552 | 2016-11-10T01:32:59 | 2016-11-10T01:32:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,053 | h | #ifndef LOGINEDSERVERPROTECT_H
#define LOGINEDSERVERPROTECT_H
#include <QString>
#include <map>
#include <mutex>
#include <memory>
class IVideoServer;
class videoserver;
class videoserverFactory;
class LoginServerInfo;
class LoginedServerProtect
{
static std::recursive_mutex sMutexEvent;
static std::map<QStri... | [
"janyboo@gmail.com"
] | janyboo@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.