blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b45fedc96d17ba78757c8030c59f5f9887b2069a | 0dc60ccd1b87a24a24d300290115045dcb959dd4 | /vincenzo/6-albero.h | 3f15df7183dc4b77066e840ea89daf6f0e2c2a1e | [] | no_license | vdeluca91/esercizioAlex_vincenzo | 1f676851e223145054734845859ee29f09f80bcf | a71b666c30bc93a1d995707e164a977cdeccca61 | refs/heads/main | 2023-06-05T23:07:40.418794 | 2021-06-27T09:18:09 | 2021-06-27T09:18:09 | 380,452,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,539 | h | 6-albero.h | #ifndef ALBERO_H
#define ALBERO_H
#include <iostream>
#include "5-crealista.cpp"
using namespace std;
template <class H> class Foglia {
private:
H key;
Foglia <H>* left, * right, * parent;
public:
void setLeft( Foglia <H>* p){ this->left = p;}
void setRight (Foglia <H>* p){ this->right = p; }
... |
13292c763a05bb6dde22a4089f976b00d409bae5 | d5f3f38830d5f1a1c77af300523bc33747190601 | /delegate/src/armnn_delegate.cpp | d2b179670821eb9c1fc0a2e6b2961e968ab82fee | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | henriwoodcock/armnn | 3dcee3b82e9a8b4c0f6aaacb39460c4751e1ff03 | 8d229256a4b7a0264fc146abe957c4e0c7887799 | refs/heads/branches/armnn_20_11 | 2023-03-06T22:13:56.232825 | 2020-12-03T10:26:11 | 2020-12-03T10:26:11 | 321,423,066 | 0 | 0 | MIT | 2021-02-19T15:31:51 | 2020-12-14T17:28:25 | null | UTF-8 | C++ | false | false | 34,837 | cpp | armnn_delegate.cpp | //
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include <armnn_delegate.hpp>
#include "Activation.hpp"
#include "ArgMinMax.hpp"
#include "BatchSpace.hpp"
#include "Comparison.hpp"
#include "Convolution.hpp"
#include "Control.hpp"
#include "ElementwiseBinary.hp... |
c7f4aa98e18dd8432ea7b5dddc8f9af0e27aa56a | f740daf6a1c49a513721e939c25441890e227df0 | /Source/parser.cpp | 22eb8b45251fdf280e5952ca7005292b7e31a624 | [] | no_license | danila0606/GameProject | 1929c77d5dfa2b6d8cb708b7b1f14541b0c838d4 | 7a9c15a8a1a10ebfee7e68eeb41e47738ff9daac | refs/heads/master | 2023-04-25T09:51:21.101221 | 2021-05-23T14:50:55 | 2021-05-23T14:50:55 | 367,939,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,529 | cpp | parser.cpp | #include "../Headers/parser.h"
bool Level::LoadFromFile(const std::string& filename)
{
tinyxml2::XMLDocument levelFile;
if (levelFile.LoadFile(filename.c_str()))
{
std::cout << "Loading level \"" << filename << "\" failed." << std::endl;
return false;
}
tinyxml2::XMLElemen... |
0f905e19154a286150d7033b04d17dcfe8a8cc28 | e32a47773511dfe464689517baccd752455508af | /Source/catenaryPlugin.h | 2a82efb4136fcf7f58627bd8807e78b1849c0770 | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kilbong0508/catenary_aip | 108b8ff6ca4bf376b55e51f158bfc1704f11a4db | 7187145571573ec6ea133ad65e4ea84565c8e1a7 | refs/heads/master | 2023-01-18T18:21:29.631164 | 2020-02-16T00:39:11 | 2020-02-16T00:39:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | h | catenaryPlugin.h | #ifndef __catenaryPlugin_h__
#define __catenaryPlugin_h__
#include "Plugin.hpp"
#include "catenaryID.h"
Plugin* AllocatePlugin(SPPluginRef pluginRef);
void FixupReload(Plugin* plugin);
class catenaryPlugin : public Plugin
{
public:
catenaryPlugin(SPPluginRef pluginRef);
virtual ~catenaryPlugin();
FIX... |
8dced797495a166e31f1c11c933f5f684dc48cfa | 55f723d7d871ceba88bac5f5536858082cd71811 | /day_01/ex02/srcs/main.cpp | 7340cc1e4f5dfdd258197abd96220423e902c33d | [] | no_license | Arigowin/piscine_cpp | 688e09d622f1a09ab195f2e55280618c785528a3 | 4d54611d4da768c16c924497aa5785e8f999c936 | refs/heads/master | 2020-03-08T11:23:52.215988 | 2018-04-08T20:29:22 | 2018-04-08T20:29:22 | 128,096,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | cpp | main.cpp | #include "ZombieEvent.hpp"
#include "Zombie.hpp"
int main(void)
{
ZombieEvent event = ZombieEvent();
event.randomChump();
event.randomChump();
event.randomChump();
event.randomChump();
event.randomChump();
event.randomChump();
ZombieEvent event2 = ZombieEvent();
Zombie *gerard = e... |
06133c60abbc4f40cc129aa55d5c577ba6ef2d2a | 3278103b701ef89f39b3171b4a255ae7b3a01c0f | /include/Node.hpp | 147cbecebed867b804ac67332602d5f0483fbba4 | [
"MIT"
] | permissive | BodneyC/treenome | b8a74f8f152d904aa679a9d0b6b414a4d908694b | fa4f8415a443e7c8bc46aed2b7e984bf45cbfe6a | refs/heads/master | 2021-06-09T16:23:55.502452 | 2021-06-02T16:18:52 | 2021-06-02T16:18:52 | 164,468,013 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | hpp | Node.hpp | /********************************************************************
* Filename: Node.hpp [C++ header code]
*
* Description: Header for Node class
*
* Author: Primary - Benjamin Carrington
* Secondary - Dr. Ben Mora
*
*******************************************************************/
#ifndef _NO... |
32939ab094fd32ebfba057bd067eba9f9a79fcf4 | a59e9ec6a982e33ffa305592fc45c342e7ee171a | /Testowe/QMsgClass2.cpp | 9049855206250169f7e1eab3375e11f18d7130d9 | [] | no_license | krawat10/TestEventObserver | c58c3e786b02fe402746670d8acfa269b137b8d5 | 3f665fe99a7fda19c3e0a637799df69497c85f6f | refs/heads/master | 2023-01-22T17:59:43.081227 | 2020-12-02T17:50:37 | 2020-12-02T17:50:37 | 317,945,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 207 | cpp | QMsgClass2.cpp | #include "QMsgClass2.h"
#include <iostream>
void QMsgClass2::sayHello(std::string name)
{
std::string msg = "Hello " + name;
std::cout << "QMsgClass2 Event: " << msg << std::endl;
notifyAll(msg);
}
|
c874c5802a342258f568ca9c67dd5ba73822d963 | f1072da7dbff060ca7b538a81d3936571fec56ea | /src/cpe/dr/data-xml/tests-ut/test_print_union.cpp | 46c9b124344772b8165ff14f82a62260d7566fcc | [] | no_license | Hkiller/workspace | e05374d30a6f309fa8cf1de83887ccb5d22736f9 | 660fc5900300786d7581a850a3fefc90f8d07a93 | refs/heads/master | 2021-03-30T22:44:17.469448 | 2017-04-12T06:08:02 | 2017-04-12T06:08:02 | 125,022,632 | 2 | 0 | null | 2018-03-13T09:07:03 | 2018-03-13T09:07:03 | null | UTF-8 | C++ | false | false | 3,074 | cpp | test_print_union.cpp | #include "PrintTest.hpp"
TEST_F(PrintTest, print_union_no_selector) {
installMeta(
"<metalib tagsetversion='1' name='net' version='1'>"
" <union name='S' version='1'>"
" <entry name='a1' type='int16'/>"
" <entry name='a2' type='int32'/>"
" </union>"
... |
8688bff208c106237d83437bf2bf9da76ebf864c | 44668b27306d84370d7cd5e792afc173738811f7 | /_CPP/Pr1008/src/use_this_main.cpp | 212518c9e6992eb3341724f13c1e243dc7bb09d8 | [] | no_license | arthurzaczek/Hacking-INF-Demo-Examples | c0574b32ca71f8dcfa4bf9c19563732998192c72 | 90e8c0545893a12c9f19eb3641128ab3ef32fa7c | refs/heads/master | 2021-07-24T10:02:01.518401 | 2017-08-08T11:18:24 | 2017-08-08T11:18:24 | 109,694,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | use_this_main.cpp | // Programming with C++, Second Edition, by John R. Hubbard
// Copyright McGraw-Hill, 2000
// Problem 10.8 on page 250
// A Point class
#include <cmath>
#include <iostream>
using namespace std;
class Point
{
public:
Point ():_x (0.0), _y (0.0)
{
}
Point (double x, double y):_x (x), _y (y)
{
}
Point ... |
b31a4daa7645d899dcea5e8fe02648d0593ae2d6 | 471c54686dc6a641fb77e0e9c75c4783ca326e15 | /src/Profile/TauGpuAdapterOpenCL.cpp | 806d120e5a2887b004c2caad2d23e36e500aa3b3 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] | permissive | goxberry/tau2 | ec63911d3970b5330a798c08941e59bf7ca045d1 | d1f34119dc69ad3eda5c939cddda00a86bb303a3 | refs/heads/master | 2020-06-26T12:39:31.496300 | 2019-07-21T23:17:02 | 2019-07-21T23:22:10 | 199,632,738 | 0 | 0 | NOASSERTION | 2019-07-30T10:47:59 | 2019-07-30T10:47:59 | null | UTF-8 | C++ | false | false | 9,359 | cpp | TauGpuAdapterOpenCL.cpp | #include <dlfcn.h>
#include <sys/time.h>
#include <cstdlib>
#include <cstring>
#include <queue>
#include "TauGpuAdapterOpenCL.h"
typedef std::queue<OpenCLGpuEvent*> gpu_event_queue_t;
typedef std::map<cl_command_queue, OpenCLGpuEvent*> queue_event_map_t;
void __attribute__ ((constructor)) Tau_opencl_init()
{
Tau_... |
4ef297b6582074e71bbc0b84fa684e8cd5b03b58 | 9914266a26076c07f1bfbb1313f1970375fbed33 | /05_Entwurfsmuster/Ticker.cpp | e3e45f3b34890fe0ac284eedf0afb7c638ee43de | [] | no_license | lukasmerk/programming2 | 9882b29b166c10305b52231b1c1e27034ee9cee0 | 7647fd6743b40d42cdfc5aea7a4e5eeba5272637 | refs/heads/master | 2021-06-16T08:21:55.063526 | 2017-05-24T08:48:45 | 2017-05-24T08:48:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 480 | cpp | Ticker.cpp | #include "Ticker.h"
#include <iostream>
using namespace std;
Ticker::Ticker (Aktie* ziel) {
beobachteter_kurs = 0;
if(ziel!=0) {
beobachtete_aktie = ziel;
beobachtete_aktie->anmelden((Beobachter*)this);
}
}
void Ticker::aktualisiere() {
float neuer_kurs = beobachtete_aktie->get_kurs();
if(neuer_kurs != beoba... |
ab4c6bf67a23fb72ef30f2a36f9cde8116beab79 | a029f75371ade331f9e6646e38c5b85f7c2639e6 | /main.cpp | 6804d0d4f2dd0967624fb37ddb919655f6573f69 | [] | no_license | PhaseRush/ShittyPlusPlus | 795c896a2b32f1e9594716abc785f38630be69b1 | 3ad9adc674758e282fd1b1790f3ad52349971e0d | refs/heads/master | 2022-12-25T18:27:39.648964 | 2020-08-30T03:56:58 | 2020-08-30T03:56:58 | 287,851,407 | 0 | 0 | null | 2020-08-27T10:55:05 | 2020-08-16T01:14:43 | C++ | UTF-8 | C++ | false | false | 1,740 | cpp | main.cpp | #include <iostream>
#include <map>
#include <string>
#include <memory>
#include <iomanip>
#include "headers/Benchmark.h"
#include "benchmarks/ConstantBench.h"
#include "benchmarks/LognBench.h"
#include "benchmarks/LinearBench.h"
#include "benchmarks/NlognBench.h"
#include "benchmarks/NsquaredBench.h"
#include "benchma... |
b6492a2dad0133a1d6b4db97fa71f996efe5e199 | 451ff5a40071578341ca195908276992bd5396fa | /LightOJ/1374.cpp | 5436b5adc317a2b7febc9829c08c275df887e742 | [] | no_license | Tanjim131/Problem-Solving | ba31d31601798ba585a3f284bb169d67794af6c0 | 6dc9c0023058655ead7da7da08eed11bf48a0dfa | refs/heads/master | 2023-05-02T06:38:34.014689 | 2021-05-14T18:26:15 | 2021-05-14T18:26:15 | 267,421,671 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | cpp | 1374.cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <queue>
#include <stack>
#include <cstring>
#include <algorithm>
#include <set>
using namespace std;
#define LL long long
#define pb push_back
#define mp make_pair
#define PII pair < int , int >
#define infile(f) freopen(f,"r",stdin)
#d... |
25c964bc0b4ad7f50126a2ca52a63443b1ecfeb3 | 69cbeed43d5aa0696d854ef755850f4564ec552b | /main.cpp | 01a9f1e703d68cdea3ba63c224d29a64c78e5217 | [
"MIT"
] | permissive | maxjonata/ScreenTranslator | aef7380ced424ef62194eaf0362a28f34711b01b | 2ae8b4e4a7fdde63b5706e5cd103b6c0c58730d1 | refs/heads/master | 2021-05-23T10:15:49.777733 | 2020-03-23T17:50:17 | 2020-03-23T17:50:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | main.cpp | #ifdef Q_OS_LINUX
# include <locale.h>
#endif
#include <QApplication>
#include <QTranslator>
#include <qtsingleapplication.h>
#include <Manager.h>
#include <Settings.h>
int main (int argc, char *argv[]) {
QtSingleApplication a (argc, argv);
if (a.sendMessage (QString ())) {
return 0;
}
#ifdef Q_OS_LINUX
... |
22f2aa80733f66223e9b3de04b8854bc062e60b4 | 9d62896fb351ade6be2d27d823f6a8bd042f9a93 | /ccc00s1.cpp | 04775e76229a86a1f547dfeacea74171b2823f06 | [] | no_license | stevenbai0724/CCC-Solutions- | fc54b7b7bd5c0d6c6132ae9a9bed2f691b06ecb5 | e6dc30bfe26f6f20e85fb9d5dac255bd9e5fb202 | refs/heads/main | 2023-07-11T05:00:45.626373 | 2021-08-24T18:58:00 | 2021-08-24T18:58:00 | 315,148,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | ccc00s1.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
cin.tie(nullptr)->sync_with_stdio(false);
int m; cin>>m; //coins
int c1,c2,c3; // 30/35th, 60/100th, 9/10th
cin>>c1>>c2>>c3;
int t = 0;
while(m!=0){
t++;
c1++;
if(c1==35){
m+=30;
... |
a38b5d3cf1bbfabce03111b5714491d88650c357 | f5646d7edcc2562dcee2849b11e2e207fb91a5ba | /src/maze/walls.h | e6aee24a385dbdfd64dd26778bda720c2b50f08e | [] | no_license | SirWaddles/MazeGame | a1a08ba072f5444d315e62d37adc8414a8c29494 | 2c30b784fea4a855a06f4a96c1465a871ceb59a6 | refs/heads/master | 2021-01-13T01:29:43.098451 | 2015-01-10T06:52:05 | 2015-01-10T06:52:05 | 29,049,925 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | h | walls.h | #ifndef _WALL_HEADER_
#define _WALL_HEADER_
#ifndef _M_SERVER_
#include "graphics/graphics.h"
#endif
enum BlockType {
BLOCK_WALL = 1,
BLOCK_CELL,
BLOCK_MAZE,
BLOCK_PASSAGE,
BLOCK_FINISH
};
class Block {
public:
void SetBlockType(BlockType toSet);
BlockType GetBlockType();
void SetPos(int x, int y);
int Get... |
e636a5e706d6ec844a1a80ff7cc7fcd309fb00fd | a909df0ba2abf695df4a7d15350312d4c6463c48 | /Kattis/teacherevaluation.cpp | e8770465e13b09209c2621f3e5156f3f9dee742e | [] | no_license | SayaUrobuchi/uvachan | 1dadd767a96bb02c7e9449c48e463847480e98ec | c213f5f3dcfc72376913a21f9abe72988a8127a1 | refs/heads/master | 2023-07-23T03:59:50.638063 | 2023-07-16T04:31:23 | 2023-07-16T04:31:23 | 94,064,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | cpp | teacherevaluation.cpp | #include <iostream>
int main()
{
int n, m, i, t, sum, need;
while (scanf("%d%d", &n, &m) == 2)
{
for (i=0, sum=0; i<n; i++)
{
scanf("%d", &t);
sum += t;
}
if (m == 100)
{
puts("impossible");
continue;
}
for (i=n+1; ; i++)
{
need = (i * m) - sum;
if (need <= 100)
{
break;
... |
e0a59368e239813a99e81010113b6e19c14ebc55 | 4c4e6db2bed76397c274a6f2250a2f8e616d340c | /alphebetacally never giving up.cpp | 10c72bb2ff2c66f99a0569c59b87d557eb88a936 | [] | no_license | Jubayer-Hossain-Abir-404/Problem-Solving-Using-C-C- | 128ee447d6f2ebbb7b544fea3db48abbd7d69e0c | 17e7e7fbd59730d19d0ac00b0ed1040dccae7416 | refs/heads/main | 2023-06-20T14:38:23.661368 | 2021-07-17T17:32:26 | 2021-07-17T17:32:26 | 357,664,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | alphebetacally never giving up.cpp | #include<stdio.h>
#include<string.h>
int main()
{
char x[20][40],swaped[20][40],y[20][40];
int i,j,n;
printf("How many times:");
scanf("%d",&n);
printf("Enter name of %d items:\n",n);
for(i=0;i<n;i++)
{
scanf("%s",x[i]);
}
for(i=0;i<n-1;i++)
{
for(j=0;x[i][j]!='\0... |
1297d14f641b5f5a83343ff4bbfe1408a60e10f2 | 7a68a9c3473feceb613dbc0b390e4b02a276f460 | /leetcode/medium/1658_minimum_operations_to_reduce_x_to_zero.cpp | 8133df4f8b3f60351044d8f41fe1a338a198ba29 | [] | no_license | pzins/Programming | 88cab57200921c1fd9a44568162463f4f0f5e3ab | 45e1466fcf28933aa8a3c85ee8590430ced90db4 | refs/heads/master | 2023-07-20T09:56:03.379507 | 2023-07-18T15:33:15 | 2023-07-18T15:33:15 | 199,602,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,779 | cpp | 1658_minimum_operations_to_reduce_x_to_zero.cpp | class Solution {
public:
int findMaxLenSubarray(vector<int>& nums, int S, int x)
{
// create an empty map to store the ending index of the first subarray
// having some sum
map<int, int> map;
// insert `(0, -1)` pair into the set to handle the case when a
/... |
aa18bab95abc1c582c8b1fddf5c68c7b148dbca2 | 6481d2dab4b0ec6781d35b11865da90e5a9c4e56 | /Binary indexed tree/MATSUM - Matrix Summation.cpp | b4d543dc5e56a2cace0a128cc74687d70b54211a | [] | no_license | vijaynitrr/codes | 02fa5c6ab822e14ffcb3f82e296a719b51992342 | 6163de63390004af6d6270111f0f7d56d05da646 | refs/heads/master | 2021-01-09T21:57:47.211999 | 2017-06-05T09:11:04 | 2017-06-05T09:11:04 | 48,994,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,997 | cpp | MATSUM - Matrix Summation.cpp | #include<bits/stdc++.h>
using namespace std;
#define rep(i,b) for(i=0;i<b;i++)
#define rep1(i,b) for(i=1;i<=b;i++)
#define plln(n) printf("%lld\n",n)
#define s3ll(n1,n2,n3) scanf("%lld%lld%lld",&n1,&n2,&n3)
#define s2ll(n1,n2) scanf("%lld%lld",&n1,&n2)
#define sll(n) scanf("%lld",&n)
typedef long long... |
963a913037eabb3063f30c23a01fa3a8093fbbaa | dc5cf29caf2569f1d84e81f135a2dcae5cd6d8fb | /Grid_QT_GUI_VS2012/RenderTarget.cpp | 50120083c8e249c94ad9bbb16ba6b0d6a79f601b | [] | no_license | lotfimira/openGL_stuff | 6a60df4a5e7e4bb3535b365a0109bb28746a02e6 | 728c9599a64617ba48655167343efe86b049cb5e | refs/heads/master | 2021-01-11T02:31:16.879855 | 2017-06-02T21:45:06 | 2017-06-02T21:45:06 | 70,953,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | cpp | RenderTarget.cpp | #include "RenderTarget.h"
//-----------------------------------------------------------------------------
RenderTarget::RenderTarget(int width, int height)
{
_texture = Texture2D(width, height);
_texture.setFiltering(Texture2D::Nearest);
//_depth_buffer = createDepthBuffer(width, height);
/... |
5dceb6fda8d2d3be4c38e92c2e527259802637d4 | ae1c284e058a6fcfd3163950256e9bbd818ac255 | /1185F.cpp | ddcd756c2d7ab224cb7d3f96580f6056bcaa1876 | [] | no_license | Tan0522718840/DP1 | d499dc4c9772389a9323eee8c3e5901df965d5d9 | 9c12766a97503cc85d2de870c5233aa76f76a7b3 | refs/heads/master | 2022-12-08T16:17:39.271959 | 2020-09-11T15:02:00 | 2020-09-11T15:02:00 | 281,696,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cpp | 1185F.cpp | #include<iostream>
#include<cmath>
#include<cstring>
#include<cstdio>
#include<algorithm>
#define int long long
using namespace std;
inline int read()
{
int neg=1,num=0;char c=getchar();
for(;!isdigit(c);c=getchar())if(c=='-')neg=-1;
for(;isdigit(c);c=getchar())num=(num<<1)+(num<<3)+c-'0';
return neg*nu... |
524de280753280e282d1faf15a556885b1e6d018 | 67563a4436b914654dd441eb2e1915bbd41aa8ca | /Common/common/src/MonRefRecord.cpp | 82a168b61fab1a493fe14a0ef179b4cb181b3f39 | [
"Apache-2.0"
] | permissive | PKO-Community-Sources/ClientSide-Sources | 1cab923af538ffe9d9cb9154b14dd3e0a903ca14 | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | refs/heads/main | 2023-05-13T00:15:04.162386 | 2021-06-02T15:35:36 | 2021-06-02T15:35:36 | 372,753,278 | 3 | 0 | Apache-2.0 | 2021-06-02T15:26:17 | 2021-06-01T08:17:07 | C++ | GB18030 | C++ | false | false | 2,370 | cpp | MonRefRecord.cpp | //======================================================================================================================
// FileName: MonRefRecord.cpp
// Creater: ZhangXuedong
// Date: 2004.09.05
// Comment: CMonRefRecordSet class
//=======================================================================================... |
8a5185a96b4c62f98a0be8d321101e1510348dd5 | 6f3bbca0964dfd291180afcd464351dbf68d2d50 | /LeetCode/Source/countBits_1.h | fe435bf5eb24bcbf3fad0924fcabaed1efe598cf | [] | no_license | Git-HF/Algorithm-Notebook | 5017caa7e1dea93e85d7387ad4624cd07874f671 | 1ba801f705c6bb5536bf646e7b6bd28474833303 | refs/heads/master | 2022-12-01T15:49:20.263368 | 2020-08-20T13:20:14 | 2020-08-20T13:20:14 | 260,212,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | h | countBits_1.h | class Solution {
public:
vector<int> countBits(int num) {
vector<int> result(num+1, 0);
int current_num = 1;
int high_thes = 1;
int low_thes = 0;
while(current_num <= num)
{
if(current_num >= low_thes && current_num < high_thes)
{
... |
e32651a3ec114e05d431ca0cef878d8807223720 | ff50026657a3e041a905433d09e0d7f7f88de5af | /Highly divisible triangular number.cpp | 506c96ff431020e71a7811acbe26f8fb36817d60 | [] | no_license | wjk20120522/projecteuler | aecb34f1eae4c9392ec6c1df0fb1ee45676fcb8c | eef701082a2b5b5bb82c2076e732ea93d062f6cb | refs/heads/master | 2021-01-10T19:54:55.308317 | 2014-04-28T10:19:33 | 2014-04-28T10:19:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | Highly divisible triangular number.cpp | #include <stdio.h>
#include <math.h>
int num_of_dividor(int trian_num)
{
int i;
int count = 0;
for(i=1; i<=sqrt(1.0*trian_num); i++)
{
if(0 == trian_num % i)
{
count += 2 ;
}
if(i*i == trian_num)
{
count --;
}
}
return count;
}
int main()
{
int i;
for(i=10; ; i++)
{
int trian_num = (i*i+i... |
33cc433697769ce1428fd93abc357f4258672b56 | 164e709dcf03ce4769c3ba8f874da0666c35bc03 | /RtTpsRenderLibrary/operation/tps_rl_gallery_measurehittest_operation.cpp | 01c21aa6e8c1be7e3038b3eaab1ca4c6dc9b183c | [] | no_license | liq07lzucn/tps | b343894bcfd59a71be48bd47d6eff6e010464457 | a3be6dc50c5f9a2ff448ecff3f5df1956e26ad4f | refs/heads/master | 2021-06-23T16:35:01.349523 | 2017-08-30T08:09:02 | 2017-08-30T08:09:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,322 | cpp | tps_rl_gallery_measurehittest_operation.cpp | //////////////////////////////////////////////////////////////////////////
/// \defgroup TPS of Radio Therapy Business Unit
/// Copyright, (c) Shanghai United Imaging Healthcare Inc., 2013
/// All rights reserved.
///
/// \author yuxuan.duan yuxuan.duan@united-imaging.com
///
/// \file tps_rl_gallery_measurehit... |
ed701e684f5b304c5d8e98e0d82c4ef8818c43e0 | e0a122f230bcecef69a4db40b8e3c0138dbf7dd7 | /Point of Sales System/CashReg_Project1/CashReg.h | 78d2ed240f25c4e019af4ecc1a7240bb2138079d | [] | no_license | treejames/Point_of_Sales_System | 6087582b3a6239c4bedcdad49400262492fbec0c | c402348c83cccde5e1bcb8baaca808f9283b6c58 | refs/heads/master | 2017-11-13T20:52:05.127956 | 2014-05-17T19:37:37 | 2014-05-17T19:37:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | h | CashReg.h | // Cash Reg program
// File: CashReg.h
// Authors: Bilal Adra, Eric Zuidema, Timothy Byukusenge Date: 4/15/2014 edited 5/4/2014
// This structure defines a Cash Register for a company
#ifndef _CashReg
#define _CashReg
#include <windows.h>
#include <string>
#include "Inventory.h"
#include "Item.h"
#include "Tape... |
9f382d11251d3d15650db26d1fa60ac21349f5c7 | 74a4dde8f15c54e180dcd8b482f926be1855d13d | /bigo-orange/topological-sort/king-path.cpp | 068b271d3bf0f4aa1d3d0b828536894764b135b9 | [] | no_license | cucxabong/algorithm | f7801f3b4e31761b987f07e84fd63017ffabc663 | 62e4fa6b48be71aba619c54b60b261c6a0f61837 | refs/heads/master | 2022-02-20T01:10:31.326877 | 2022-02-13T22:14:36 | 2022-02-13T22:14:36 | 139,819,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,363 | cpp | king-path.cpp | #include <queue>
#include <iostream>
#include <map>
#include <cmath>
#include <set>
using namespace std;
unsigned long long axis_to_index_number(unsigned int x, unsigned int y) {
return pow(10,9)*x + y;
}
pair<unsigned int, unsigned int> index_to_axis(unsigned long long idx) {
unsigned int x, y;
x = idx/... |
3bb946c3730421672dc9cde3412ce251699fa7a6 | 20b49a6ef1fa417d67abef2d29a598c9e41c478e | /CodeForces/1200 - 1400/studentsAndShoelace.cpp | 320639b8871259b184960050d81ce55660c347ed | [] | no_license | switchpiggy/Competitive_Programming | 956dac4a71fdf65de2959dd142a2032e2f0710e1 | beaaae4ece70889b0af1494d68c630a6e053558a | refs/heads/master | 2023-04-15T19:13:12.348433 | 2021-04-04T06:12:29 | 2021-04-04T06:12:29 | 290,905,106 | 1 | 3 | null | 2020-10-05T20:16:53 | 2020-08-27T23:38:48 | C++ | UTF-8 | C++ | false | false | 827 | cpp | studentsAndShoelace.cpp | #include <stdio.h>
#include <vector>
using namespace std;
const int N = 105;
vector<int> E[N], bad;
bool done[N];
int sol, tmp;
int main()
{
int n, m, i, u, v, j;
scanf("%i %i", &n, &m);
while (m--)
{
scanf("%i %i", &u, &v);
E[u].push_back(v);
E[v].push_back(u);
}
while (... |
f60173b3e4358868998f6eefa2526fc4e116c532 | 975bfb4ad8a71d4d925100ddb7d387279302d172 | /Algorithm/ShellSort.cpp | c732ea34782c94cac4902f275370b5bd8303fded | [] | no_license | ikhtopod/algo-struct | c2cf6ebe264cd2addad03400c61805c5c0693eb2 | 57a4fd4da263f7cac6be92b01ccbcab3a4f7e17e | refs/heads/master | 2022-11-20T17:45:42.415986 | 2020-04-16T06:38:14 | 2020-04-16T06:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 107 | cpp | ShellSort.cpp | #include "ShellSort.h"
namespace insoLLLent::Algorithm::Sort {
} // namespace insoLLLent::Algorithm::Sort
|
ff098753f18f7fe8e091873da106f07a6bebd4c8 | d8e7a11322f6d1b514c85b0c713bacca8f743ff5 | /7.6.00.37/V76_00_37/MaxDB_ORG/sys/src/SAPDB/SQLManager/SQLMan_ContextSessionMembers.cpp | b1ea056409ad6d0ed33991d9dd4ec8274c3724fd | [] | no_license | zhaonaiy/MaxDB_GPL_Releases | a224f86c0edf76e935d8951d1dd32f5376c04153 | 15821507c20bd1cd251cf4e7c60610ac9cabc06d | refs/heads/master | 2022-11-08T21:14:22.774394 | 2020-07-07T00:52:44 | 2020-07-07T00:52:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,687 | cpp | SQLMan_ContextSessionMembers.cpp | /*!***************************************************************************
module : SQLMan_ContextSessionMembers.cpp
-------------------------------------------------------------------------
responsible : ThomasA
special area: SQL Manager
description : defines c++ session members SQL manager cont... |
17bd50dd5bd7abab926bcd1d0ca24f3cae8d3a37 | eba1f1338f9226b85e059d64871687277987ad79 | /HelloWorld.cpp | 24e4e9d9338491035cf9f52db17fd39244091364 | [] | no_license | 978924688/VS-code-C | b9e6607b0bf7f20caf5c2ff743a063dfbb749129 | e748156a8372b1383225cf23dfb085ff2ec31d3f | refs/heads/master | 2021-01-01T02:05:55.238675 | 2020-03-21T12:09:57 | 2020-03-21T12:09:57 | 239,132,847 | 1 | 0 | null | 2020-03-21T10:29:39 | 2020-02-08T13:00:30 | C | UTF-8 | C++ | false | false | 1,028 | cpp | HelloWorld.cpp | #include "HelloWorld.hpp"
#include <iostream>
#include <cstdlib>
#include <vector>
#include <algorithm>
using namespace helloworld;
HelloWorld::HelloWorld(/* args */)
{
cout << "构造函数已执行" << endl;
name = "LiuMing";
m_age = 15;
m_sex = true;
}
HelloWorld::~HelloWorld()
{
cou... |
d9fe4fcfa6e53bda452599dac467a51be06c2589 | a456c16e8ce0c647dc51f0c0156816b7c7d288fe | /src/R3DModelOperations.cpp | 4fa824470aa47de855718c8b319491a2b5b8a1ba | [
"MIT"
] | permissive | 3d-py/Regard3D | 9cb1823ba34e34d30106aaed0c42eca81ef0229c | 9f64e927b4186de9fe8b7902f251af4dc645f82b | refs/heads/master | 2020-12-03T09:10:59.842471 | 2017-02-15T15:13:46 | 2017-02-15T15:13:46 | 95,610,231 | 0 | 1 | null | 2017-06-27T23:48:00 | 2017-06-27T23:48:00 | null | UTF-8 | C++ | false | false | 12,402 | cpp | R3DModelOperations.cpp | /**
* Copyright (C) 2015 Roman Hiestand
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation files (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge, publi... |
041271c7b1defba7cd61af0d8a6d197a76c6cd1b | 14de52a289cb3d95a62df9054782ae0eed5ce2c4 | /rectangleWithRoundVertex.cc | 65c396af23225a7aba88c76bc7b962591985a7cb | [] | no_license | LarsImNetz/sdl | 455b505d3bd2935731229303813f1609d570db0f | a6128661a58531ec189b5028eece31f6032d46dc | refs/heads/master | 2016-08-04T08:42:15.949930 | 2014-03-08T08:00:30 | 2014-03-08T08:00:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,948 | cc | rectangleWithRoundVertex.cc | #include <string>
#include <SDL_gfxPrimitives.h>
#include "ttffont.h"
#include "ColorHelper.h"
#include "rectangleWithRoundVertex.h"
#include "updaterect.h"
SDL_Rect filledRectangleWithRoundVertex(SDL_Surface *_pDisplay, int x, int y, int w, int h, int nRadius, Uint32 nColor)
{
SDL_Rect aRect = {x, y, w, h};
f... |
a60a1df9fadf3266bfa215c0414699c407848083 | 38e4b23f621017155de2095602bb9397dac62edb | /src/main/astro/TASS17.cpp | ebcb08514b510b2e27ffbfeb350d37f27cda701a | [] | no_license | JohnVV/cosmographia | ddc9ce78eb5578110e59c7b4d8cf0828a3340929 | b5519746ddd33136f75dc1cd41ab73401705ad02 | refs/heads/master | 2021-06-14T11:24:44.120764 | 2021-03-08T22:35:58 | 2021-03-08T22:35:58 | 137,714,666 | 0 | 0 | null | 2018-06-18T05:51:13 | 2018-06-18T05:51:13 | null | UTF-8 | C++ | false | false | 164,449 | cpp | TASS17.cpp | /** This file was modified by me (Chris Laurel) from Johannes Gadjosik's C implementation
* of the TASS 1.7 theory of the Saturnian satellites. The original copyright is retained
* below. My modifications are:
*
* - Added interface for VESTA's Trajectory class
* - Changed code to compute coordinates in J2000 ... |
ceeea41364eebee29292a0c07ad089b65696d21f | f89c4a2f1cdbfb8f85c25798ab22beb2442c44db | /d01/ex03/ZombieHorde.cpp | e1204aa8d4079b028350dae9040438c3330401e3 | [] | no_license | InBergman/Piscine_CPP_42 | dbade793beeb5f6d1136956ff620f1c8bdbeaab9 | 672c8846c88ea571c8870e0458597308c016cf60 | refs/heads/master | 2020-03-08T05:23:14.524009 | 2019-08-07T15:26:06 | 2019-08-07T15:26:06 | 127,946,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | cpp | ZombieHorde.cpp | #include "ZombieHorde.hpp"
#include "Zombie.hpp"
ZombieHorde::ZombieHorde(int n) {
Zombie *zomb = new Zombie[n];
this->announce(zomb, n);
delete[] zomb;
};
void ZombieHorde::announce(Zombie *zomb, int n) {
int i = -1;
while(++i < n) {
zomb[i].announce();
}
}
ZombieHorde::~ZombieHorde(){
};
|
2abf15bf79a1b49e31d817e6a227ba77eccfd9e3 | 9b419f114d20f98a7719fabd32379035ff444923 | /src/kica.cpp | 10d6b48bfe921f2cc48e7fc86746a71c05ad2235 | [] | no_license | phelrine/kica | ecd553725b7e1d84529866c728224bbcb75838ac | 828881d6df9a52b5c65d662b86d577278c9c66a6 | refs/heads/master | 2020-04-08T20:34:33.884854 | 2011-07-12T02:47:49 | 2011-07-12T02:47:49 | 1,966,187 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,060 | cpp | kica.cpp | #include <XnOpenNI.h>
#include <XnCppWrapper.h>
#if (XN_PLATFORM == XN_PLATFORM_MACOSX)
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif
#include <algorithm>
#include "ImageDrawer.h"
#include "DepthDrawer.h"
#include "SkeletonDrawer.h"
#include "Capture.h"
#define WIN_SIZE_X (800)
#define WIN_SIZE_Y (600)
#... |
a5888bf16fd8841eca5fd1ac6bfb84f6aec13ad8 | 9ea9443eb2f4b2cdf4fd4a185b0cad488b11fe22 | /src/dpe_service/main/dpe_model/dpe_device.h | 57eb047f8527db21f8308a4c731d269ae648eb31 | [] | no_license | baihacker/dcfpe | 9e598f4ddaf970701caedf2ec9bca1b04502d3c4 | b388742d63ba42568982a48dffb53f949e9bb85f | refs/heads/master | 2021-06-16T18:30:41.048607 | 2021-04-14T03:52:06 | 2021-04-14T03:52:06 | 23,687,673 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | dpe_device.h | #ifndef DPE_SERVICE_MAIN_DPE_MODEL_DPE_DEVICE_H_
#define DPE_SERVICE_MAIN_DPE_MODEL_DPE_DEVICE_H_
#include "dpe_service/main/resource.h"
namespace ds
{
class DPEDevice : public ResourceBase
{
public:
virtual std::string GetReceiveAddress() = 0;
virtual std::string GetSendAddress() = 0;
virtual std::string Get... |
b9ebef69016e750a315e8932eafc6f3b9b3be6b1 | 19ccfd6806c5054679dab3f275822302206b222f | /src/responserules/runtime/response_system.h | c1a98aaab63fb2d0a2969989bc27d124f894c85f | [
"Apache-2.0"
] | permissive | BenLubar/SwarmDirector2 | 425441d5ac3fd120c998379ddc96072b2c375109 | 78685d03eaa0d35e87c638ffa78f46f3aa8379a6 | refs/heads/master | 2021-01-17T22:14:37.146323 | 2015-07-09T19:18:03 | 2015-07-09T19:18:03 | 20,357,966 | 4 | 1 | Apache-2.0 | 2018-08-30T13:37:22 | 2014-05-31T15:00:51 | C++ | WINDOWS-1252 | C++ | false | false | 12,501 | h | response_system.h | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: The CResponseSystem class. Don't include this header; include the response_types
// into which it is transcluded.
//
// $NoKeywords: $
//=============================================================================/... |
bf23c71bc7c2a62872fa3104c31612e12e9faca1 | a07abad66df96b0405f54e913a11531877b044e8 | /old Arduino code/RedBlueEnvelopeFade_b.ino | 46495be5529b2718827e446d8fe8dfa466075ed8 | [] | no_license | jeffellenbogen/Pyramid-Of-Destiny | 4ed36fb2f0ca2672426be360043492aa92066a6f | 948ce9384ebe2fcd64f9092988f538e7b9d14e23 | refs/heads/master | 2020-06-18T11:20:40.064067 | 2019-11-25T22:16:46 | 2019-11-25T22:16:46 | 196,286,643 | 0 | 1 | null | 2019-07-26T16:35:56 | 2019-07-10T23:15:08 | C++ | UTF-8 | C++ | false | false | 2,595 | ino | RedBlueEnvelopeFade_b.ino |
#include <Adafruit_GFX.h> // Core graphics library
#include <RGBmatrixPanel.h> // Hardware-specific library
//#include <SPI.h>
// Pin defines for the 32x32 RGB matrix.
#define CLK 11
#define LAT 10
#define OE 9
#define A A0
#define B A1
#define C A2
#define D A3
#define ENVELOPE_PIN A4
#define POT_PIN ... |
e670434f23d8af2710264604dd693fe715260c72 | 7a4e060297e7d2b2613deec8dda5da713657c8a1 | /cpp_d07a_2019/ex01/Parts.hpp | c4cd5289e09220a6a3a182aee235eed7b93abab7 | [] | no_license | ylevygithub/CPP-Pool | 3309f14e61e3ddb6943b6e33598ef6549e152566 | 0ce3eec010842f8babeac0c189f6669c27981030 | refs/heads/master | 2022-07-06T13:06:23.225297 | 2020-05-19T17:45:16 | 2020-05-19T17:45:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | hpp | Parts.hpp | //
// EPITECH PROJECT, 2020
// c++pool
// File description:
// Parts.hpp
//
#ifndef __Parts_HPP__
# define __Parts_HPP__
#include <iostream>
#include <string>
#include <cstring>
#include <iomanip>
#include <fstream>
class Arms
{
private:
const std::string _serial = "A-01";
std::string print_ok();... |
91cec6f9ff43404e06fd7fed2d74c4d674d83748 | 26b3d70f9db3dc38134ec38c06fda7e84030df76 | /utility/spring_mass_moduler.h | 6b8b72b214530463fdf31f12c67634290c021729 | [] | no_license | zyclincoln/SpringNet | e641eeeef387c51d9895fc3607c8e8888489dc56 | cc2a037457731709bea569ff7bbe50cad1790728 | refs/heads/master | 2021-01-20T19:05:06.961433 | 2016-08-01T08:08:26 | 2016-08-01T08:08:26 | 62,781,969 | 0 | 1 | null | 2016-07-07T08:24:26 | 2016-07-07T06:47:32 | CMake | UTF-8 | C++ | false | false | 1,040 | h | spring_mass_moduler.h | #ifndef _SPRING_MASS_MODULER_H_
#define _SPRING_MASS_MODULER_H_
#include <Eigen/Dense>
#include <vector>
#include <utility>
#include "../model/spring.h"
#include "../model/point.h"
namespace zyclincoln{
class SpringMassModuler{
public:
void AddPoint(const std::vector<Eigen::Vector3d> &positions);
void A... |
201d45b69bef5c28f8dba6d69ff5f2ed419ad7b9 | 843bf30616705b5ce817d1a27cbace44b5f980e1 | /web_appcation/src/httpd/http_config.h | 4c17d5571adffd5777f029e15cc2cc81c221b0c4 | [] | no_license | eyjian/mooon | 971d7ffcae167cd67675d8e2262d13db0de18841 | 80e8e74c1b26f6ab41ce6df8f4e09e4f45d8b57c | refs/heads/master | 2022-02-01T22:12:18.055955 | 2021-12-23T10:41:44 | 2021-12-23T10:41:44 | 27,848,358 | 69 | 59 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | h | http_config.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 may... |
6465936286ed2035eedade6ba193b6cd8cd5adc3 | 559593fec56fd90a1bccaf1dbe2744b1b8d479ae | /Cesar_chiper.cpp | 48c25c1c5d7dd97e3bd5598d9cbd6d70667a13c3 | [] | no_license | Anubis308/Caesar-cipher | c693c1a6e616490fac326d2718624d08c13151e6 | 067ac7b58d17bfa93e9371eb0715e9a6fac781b1 | refs/heads/master | 2020-03-28T02:18:25.559290 | 2018-09-05T18:23:04 | 2018-09-05T18:23:04 | 147,559,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | Cesar_chiper.cpp | #include<bits/stdc++.h>
using namespace std;
vector<char>input;
vector<char>output;
int main(){
ifstream infile;
char ch;
infile.open ("cesarin.txt");
freopen("cesarout.txt","w",stdout);
while(!infile.eof()){
infile.get(ch);
if(ch>='A'&&ch<='Z'){
ch+=32;
}
... |
433f5fc72d360737a1f1fff21a7b8847d5724a73 | c3d4f43717d0c098a9bb99f1c60d0688f5057e1d | /baekjoon/000001UnionFind.cpp | 8af5c982b5cf1cb91a81f692acfaf3ace055bd9c | [] | no_license | moneymaniacteam/algorithm | 96701ab7e140ec26c7363fccd1929c8e948319ff | 516175e33bc1d42d556fa43bf1fce0725eaa12c4 | refs/heads/main | 2023-05-05T12:28:20.234649 | 2021-05-25T16:56:30 | 2021-05-25T16:56:30 | 362,050,705 | 0 | 0 | null | 2021-04-27T09:13:19 | 2021-04-27T09:13:18 | null | UTF-8 | C++ | false | false | 2,223 | cpp | 000001UnionFind.cpp | #include <bits/stdc++.h>
/*
#include <iostream>
#include <vector>
#include <algorithm>
*/
using namespace std;
#define FOR(var, start, to) for(int var = start; i < to; i++)
typedef long long int ll;
typedef pair<int, int> ii;
typedef vector<ii> vii;
typedef vector<int> vi;
/*
class UnionFind {
private:
vi p, ra... |
6afec34706a5ea5dc404303f6c8064dda7b82833 | 5b548a3dd706a5ffd66479b5ba0218a776b901fd | /hsdfzoj/3033.cpp | 9fb9dbcd3b624a74e4685aa5452feaed020151bb | [] | no_license | imbazbrg/xiajibabian | cda18d04ad987563c815dcc517ecb361df1040c4 | 481a3dab44ead364268105e83b626ae521c64730 | refs/heads/master | 2021-01-01T20:15:09.857877 | 2020-06-03T14:51:59 | 2020-06-03T14:51:59 | 98,801,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | 3033.cpp | #include<iostream>
#include<iomanip>
using namespace std;
int main()
{
double x,y;
cin>>x>>y;
cout<<setiosflags(ios::fixed);
if(int(x)%int(y)==0)
cout<<int(x)/int(y);
else
cout<<setprecision(2)<<x/y;
return 0;
}
|
180d3efa0f507719e70686a15dcb7b806a469730 | 674f98d6cf7684ea1b299295e30e47407739ae00 | /objectEnemy.cpp | f5603ab8e32ab0e19afcb529ece17067213313a3 | [] | no_license | dwball-png/pilgrimage | ba7eaa0834ab6912565d1e1f348a9e7be5099ab4 | c7877c1e154152314460152530340c7c415d02c2 | refs/heads/main | 2023-02-18T05:37:25.585982 | 2021-01-12T20:13:40 | 2021-01-12T20:13:40 | 329,094,971 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,484 | cpp | objectEnemy.cpp | /*
Daniel Ball
objectEnemy.cpp
CPSC 4160
Witches and Fireballs
*/
#include "objectEnemy.h"
#include <SDL2/SDL_timer.h>
#include <math.h>
// instantiate base
ObjectEnemy::ObjectEnemy(SDL_Renderer* r, int x, int y, int w, int h) {
obj_renderer = r;
obj_sprite = new Sprite();
spr_fac... |
3c2cb5c9fbab65d50d7f4cfae80e5c84a3ad2c4c | c13b4778b72761d94a9b56eb6efd913096263518 | /src/Engine/SDLSystem.cpp | 21340c2854faf8b07360abe5499e2ccdc65049a8 | [
"MIT"
] | permissive | Tecprog-voID/voID | f8e871ca667dfe270b22403c969294059004849f | 0cfac2dd384f5fa1b87b6f40117aa61f93c7ed03 | refs/heads/tecprog | 2021-01-20T03:29:27.192294 | 2017-11-30T10:44:43 | 2017-11-30T10:44:43 | 101,364,239 | 0 | 5 | MIT | 2017-11-30T10:44:45 | 2017-08-25T03:57:23 | C++ | UTF-8 | C++ | false | false | 12,341 | cpp | SDLSystem.cpp | /**
@file SDLSystem.cpp
@brief Manages the SDL functions.
@copyright LGPL. MIT License.
*/
#include "Engine/SDLSystem.hpp"
#include "Customs/FirstBossScene.hpp"
#include "Customs/MainScene.hpp"
#include "Customs/GamePlayScene.hpp"
#include "Customs/PreMenuScene.hpp"
#include "Customs/EndScene1.hpp"
#inclu... |
160689c5fdc8442aa34e577f67d07759601169fa | cd52f2789a5db129f26ba78deb48dfb5c43e1219 | /SortingProblems/SeriousCowTag.cpp | b42874d846a934b59b12c679cef728eaa3c102ef | [] | no_license | chuanqichen/USACO-Silver-Problems | 2f00055a99c9432f2217064f01027df0d2b5a07b | 51c5e3a454b1b60268be68bf1d3689fb0ecd2e27 | refs/heads/master | 2022-12-11T16:02:03.187968 | 2020-09-13T14:10:57 | 2020-09-13T14:10:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,544 | cpp | SeriousCowTag.cpp | /*
Serious Cow Tag
===============
Farmer John's N (1 <= N <= 1000) cows (conveniently numbered 1..N)
are going to play a game of Serious Cow Tag. In Serious Cow Tag,
each cow chooses a grid point in the pasture (-7500 <= X <= 7500,
-7500 <= Y <= 7500) such that the distances between all pairs of
cows are unique.
The... |
3d36f80c9060fdfe52c6d17b737d1600dfdcd5e1 | 4398fcd7a487b5d446da6f714d0a7f40b69799e9 | /MouseClick/MouseClick/MouseClickLib.h | b8c56f6c923aba961c8364c2896894e2a451a722 | [] | no_license | hershey890/Scrabble | c16e86125eba7c3bb9cf8e828d322f1ac9b0b0dc | 319fc62b13fe05963879c0a8d83a2c119cb8c52d | refs/heads/master | 2020-03-26T02:52:09.999913 | 2018-09-06T01:54:47 | 2018-09-06T01:54:47 | 144,428,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | MouseClickLib.h | #ifndef MOUSECLICKLIB_H
#define MOUSECLICKLIB_H
#include <Python.h>
class MouseClick {
/* The static was given in the example but may be unecessary seeing as this is C++ not C and private
* is already beubg used */
private:
/*static*/
PyObject *MouseClick_system(PyObject *self, PyObject *args);
public:
MouseCl... |
2c67d01a681691ca08f05084f53b48147bd89dcc | c73cc3d1ebf652c3a5c8d4e4d41d106c35278190 | /Ch04/04.cpp | b5d01ae3174fd5c522da7f775522f918eed6424d | [
"MIT"
] | permissive | PandoraLS/C-Programming | 17ace1954c9c7cf58d2d176c01cf9e7275ee3326 | ec3dcfa93fe8762b82421e04d93b6c480103a45d | refs/heads/master | 2023-03-28T00:37:42.442505 | 2021-03-30T07:06:54 | 2021-03-30T07:06:54 | 297,030,481 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 685 | cpp | 04.cpp | #include <iostream>
using namespace std;
int main() {
constexpr double JPY_USD = 0.0093; //日元汇率
constexpr double EUR_USD = 1.0963; //欧元汇率
constexpr double GBP_USD = 1.2325; //英镑汇率
double number = 1;
char unit = ' ';
cout << "Please enter a number followed by a unit (... |
fdd813d06c30904368a4c7536855562d245ab456 | 6edba9a9db99eb95271c30c8b8334430cc2abae9 | /tests/src/DisplayObject_TreeSizeTest.cpp | 35e7c1531ef1e95a8f665e9f016ba016e134c4ed | [] | no_license | islamaliev/flash_display_project | 6a193d1be8817a903a60aa4ae1ebe25b338ebaec | e86b1d3d1371c9a94e7daeea0e76290e3142724e | refs/heads/master | 2020-04-05T14:38:40.482079 | 2016-11-27T17:04:14 | 2016-11-27T17:04:14 | 56,805,740 | 0 | 1 | null | 2016-06-26T16:55:36 | 2016-04-21T21:08:07 | C++ | UTF-8 | C++ | false | false | 5,624 | cpp | DisplayObject_TreeSizeTest.cpp | #include "Shape.h"
#include "StageBasedTest.h"
using namespace flash::display;
class DisplayObject_TreeSizeTest : public StageBasedTest {
public:
void makeHierarchy() {
stage().addChild(&cont1);
cont1.addChild(&cont2);
cont2.addChild(&cont3);
cont3.addChild(&obj1);
cont3.ad... |
f69a1e5da137f209218f7abb115730650c9bd563 | 9e27528f7adfd06756792f407daa9932a92677c5 | /Accessory.h | 5f0eeb7130a3379723bc178b3f8dfb4cf942c1f0 | [] | no_license | YuriyGorvitovskiy/ArduinoBackyardAutomation | e6c689ba232e850fc0f26bf276682a9c6e2e5f89 | 6e3666090220630f48b18714b182cdc155c9dd9f | refs/heads/master | 2020-04-01T09:29:57.881985 | 2016-08-23T02:55:59 | 2016-08-23T02:55:59 | 39,760,655 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | Accessory.h | #ifndef __ACCESSORY_H__
#define __ACCESSORY_H__
#include <Arduino.h>
class Accessory {
public:
Accessory(uint16_t dccAddress) :
dccAddress(dccAddress),
pos(0){}
void init();
void update(uint8_t pos);
uint16_t getDCCAddress() ... |
9ba77aae1cef766261eb509ae21d4a5ceb0f9f48 | a47aeb7c2bf558637ed49e2be45fabd746b2f540 | /ws/Cleaner.h | 6f81eac3f7782da7f7f986e24619b15b0d7688c1 | [
"MIT"
] | permissive | jingjiajie/WorkScript | d90e44196d30b7797aa3cd76b181fbe1a4a0efd2 | 6b80932fcdbae0e915c37bac19d262025234074b | refs/heads/master | 2021-06-28T15:16:34.054553 | 2019-06-02T02:32:18 | 2019-06-02T02:32:18 | 141,873,155 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 485 | h | Cleaner.h | #pragma once
#include <string>
#include <vector>
namespace WorkScript
{
class Cleaner
{
public:
void addFile(const std::wstring &file) noexcept{
this->files.push_back(file);
}
void setCleanAtDestory(bool clean) noexcept{ this->cleanAtDestory = clean;}
~Cleaner(... |
50b32a3ea4197e76d30bbdd6083abb6070b51fe7 | 3975d7a5b3834eab8f81014e5b68bb935e3f20a2 | /20181123/networklib/v1/tcpconnection.h | 5dcb290e144c5d947c2343bfce1a42bd48184cc9 | [] | no_license | duri26/cc26 | 100bcc81a94ccfaf601e15c28a66ced1242410e9 | 26b3c95497fed6214f04edc4cbd4b27607e1651a | refs/heads/master | 2020-04-02T16:37:09.784715 | 2019-02-11T14:26:38 | 2019-02-11T14:26:38 | 154,620,741 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | h | tcpconnection.h | ///
/// @file tcpconnection.cc
/// @author duri(1197010670@qq.com)
/// @date 2018-11-23 22:11:36
///
#include "tcpconnection.h"
#include <string.h>
#include <stdio.h>
using namespace wd;
namespace wd
{
TcpConnection::TcpConnection(int sockfd)
:sockfd_(sockfd)
,sockIO_(sockfd)
,localAddr_(Socket::get... |
85e70678506cf37bf265450359d9d6200c008b27 | de32b1c24a9f18525ff4d15be2862f067142cc7b | /src/simplices.hpp | fc71c456998e4053ec92e5452e109779b630510a | [
"BSD-2-Clause"
] | permissive | ibaned/omega_h2 | c3d8c5463fd2988de954023e0f0c98737fd55070 | 163b98f98cbf2df710af3a4208dc9eda78bbd99c | refs/heads/master | 2021-01-13T11:51:01.556474 | 2016-11-12T21:02:35 | 2016-11-12T21:02:35 | 58,775,556 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,303 | hpp | simplices.hpp | #ifndef SIMPLICES_HPP
#define SIMPLICES_HPP
#include "internal.hpp"
namespace Omega_h {
CONSTANT static Int const fvv0[] = {0};
CONSTANT static Int const fvv1[] = {1};
CONSTANT static Int const fvv2[] = {2};
CONSTANT static Int const fev0[] = {0, 1};
CONSTANT static Int const fev1[] = {1, 2};
CONSTANT static Int con... |
b194ff59b44838c3f12fe7f0a4de55a1b82eb283 | cea41b2469f1eb4fda876022ff57b863fea6c367 | /Calculation/src/core.h | 99128d830154297d0c008e961d188ed3ca4c6acf | [
"Apache-2.0"
] | permissive | sebadiaz/personal | 4e859d809427d3d5e0d404394a6b47036f6cfb36 | 9874cb1b6542ae6fd03a9c60cb9a4b06c0d21ac0 | refs/heads/master | 2020-05-18T12:54:09.263156 | 2015-07-25T19:29:33 | 2015-07-25T19:29:33 | 29,344,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | h | core.h | /*
* Copyright 2015 seb <email>
*
* 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 ... |
4e447da301ff29804df3eff5cd635a29d82f02d1 | c8938848b2c19aa0ee4a91f2de461959d58571ed | /Source/LittleTraveler/JumpableNode.h | 73106d127ef4943a03e82401ab02979e44a81492 | [] | no_license | Jieyina/Little-Traveler | 77557ed3405bc16b6c6cf0c618ec2628044fa6a6 | 7998bbe79f598a6656d1c611ee8b13b740f82f8c | refs/heads/main | 2023-04-16T14:19:33.995895 | 2021-04-29T16:22:53 | 2021-04-29T16:22:53 | 330,951,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | h | JumpableNode.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "JumpableNode.generated.h"
UCLASS()
class LITTLETRAVELER_API AJumpableNode : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this act... |
b537e9622637abccf03a4a6ac2948831a998365c | c3f32df33fb37f6daceaad2c2cffe717e39bb4e1 | /Codeforces/Round#305/a.cpp | 5403c0723795eadf45d1170694941fb549534bf4 | [] | no_license | diego-gabriel/CompetitiveProgramming | 92ab79e1acd39b17455a86f36489448085df5a46 | c119997fbe8d1786e0269fe784bc963a17e21564 | refs/heads/master | 2021-01-17T11:55:17.840903 | 2015-06-23T19:44:35 | 2015-06-23T19:44:35 | 37,434,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | a.cpp | #include <iostream>
#include <cstring>
using namespace std;
bool isPal(string cad){
bool ok = true;
for(int i = 0; i < cad.length()/2; i++){
ok = ok && (cad[i] == cad[cad.length()-1-i]);
}
return ok;
}
int main(){
string cad;
cin>>cad;
int k;
cin>>k;
bool ok = cad.length()%k == 0;
if (ok){
int t = ... |
eb7bd26bcc22a19fbb4976a73cfd54bd7470910e | 76b1fc421907e5dfd0a2a3d48847c56db2200390 | /src/scene/cubeMap.cpp | cb371f3450cf199fda79c4c94d436e4a4586dd6f | [
"Apache-2.0"
] | permissive | rdelfin/cs354project1 | ac3263939b969cab39be88c3d0ff2ab15913218a | 07a78bba316b8982070c90dda1e2027cb1fccf37 | refs/heads/master | 2020-09-28T11:22:49.473520 | 2016-09-30T04:54:59 | 2016-09-30T04:54:59 | 67,474,697 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,780 | cpp | cubeMap.cpp | #include <iostream>
#include "cubeMap.h"
#include "ray.h"
#include "../ui/TraceUI.h"
extern TraceUI* traceUI;
glm::dvec3 CubeMap::getColor(ray r) const {
/* Indexing:
* tMap[0] = +x
* tMap[1] = -x
* tMap[2] = +y
* tMap[3] = -y
* tMap[4] = +z
* tMap[5] = -z
/* We can look at the c... |
8285c974deb0571a1378b317f583e7016d7fff92 | 08d3ae56aac8bba5cf5c40db1cdbb2594ceb97d0 | /src/uMario/Minion.h | de0cb6ea8bf82e93adb38beb23e111e4618ac38b | [] | no_license | wyrover/sdl-examples | ec99c37b56a6fb2dfd56f4fbfdf912fb9f4e9f76 | da825457dcdf9b34f2ad7e59fc0ab9e8233633a7 | refs/heads/master | 2021-01-17T18:58:36.868667 | 2017-09-27T01:30:08 | 2017-09-27T01:30:08 | 84,137,392 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,560 | h | Minion.h | #pragma once
#ifndef MINION_H
#define MINION_H
#include "header.h"
#include "CFG.h"
#include "IMG.h"
class Minion
{
public:
Minion(void);
~Minion(void);
int minionState;
bool killOtherUnits;
int iBlockID;
float fXPos, fYPos;
int iHitBoxX, iHitBoxY;
bool minionSpawned;
bool coll... |
7209dc1e269bdc946014a4ea557107a28de7c4eb | 67f988dedfd8ae049d982d1a8213bb83233d90de | /lbshell/src/platform/linux/chromium/ui/gl/gl_gl_api_implementation_shell.cc | a44bd031c59b6574ef7752632a90411bfea3b7c3 | [
"Apache-2.0"
] | permissive | opensourceyouthprogramming/h5vcc | 94a668a9384cc3096a365396b5e4d1d3e02aacc4 | d55d074539ba4555e69e9b9a41e5deb9b9d26c5b | refs/heads/master | 2020-04-20T04:57:47.419922 | 2019-02-12T00:56:14 | 2019-02-12T00:56:14 | 168,643,719 | 1 | 1 | null | 2019-02-12T00:49:49 | 2019-02-01T04:47:32 | C++ | UTF-8 | C++ | false | false | 26,954 | cc | gl_gl_api_implementation_shell.cc | /*
* Copyright 2013 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
b02f1ae0739210af8efb546bf59166496886334b | 834fcda1290b2df392268695e161f47173b91b87 | /include/tudocomp/io/InputSource.hpp | a0a36682d547a2bf1638bd1ec7a3efabab0525a1 | [
"Apache-2.0"
] | permissive | tudocomp/tudocomp | 775fb57c784e3b57d98425255ef576b3d6b365e7 | b5512f85f6b3408fb88e19c08899ec4c2716c642 | refs/heads/public | 2022-09-22T11:56:07.044256 | 2020-04-15T08:49:38 | 2020-04-15T08:49:38 | 49,510,447 | 19 | 16 | NOASSERTION | 2021-12-10T09:38:42 | 2016-01-12T15:48:46 | C++ | UTF-8 | C++ | false | false | 2,476 | hpp | InputSource.hpp | #pragma once
#include <iostream>
#include <string>
#include <tudocomp/util/View.hpp>
namespace tdc {namespace io {
/// Class that stores the source of input data.
///
/// This can store either the path of a file, a view into memory,
/// or a pointer to a `std::istream`.
class InputSource {
pub... |
6d95ebf230e9008c8756f5b8f6fa831e72eb5c05 | 6f4b63e33658f3278ec1fe7cf83dda186cb207fe | /ch08/more_ptr.cpp | 8110129d90803a1d85bb37eadf62f6f64cee4baf | [] | no_license | jtlai0921/PG20048_example | c04631bcfaeee0903de978c06e6afee153bd3168 | 0e66c78045f80b391d5d9626c5929f052816ddb7 | refs/heads/master | 2021-01-06T07:03:45.489636 | 2020-02-18T00:55:25 | 2020-02-18T00:55:25 | 241,240,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 218 | cpp | more_ptr.cpp | //more_ptr.cpp
#include <iostream.h>
#include <conio.h>
void main()
{ int x,*p,**m;
x = 100;
p = &x;
m = &p;
cout << "**m="<<**m<<endl;
cout << "*p=" << *p << endl;
cout << "x=" << x << endl;
getch();
} |
9c96ff6244f750709fc0c5aa18585c8ab6b5be93 | 5d4aba36a4c45367c31abb6d1528d77ca687bea1 | /WriteSingleField.ino | 2b2aa167f94d38aa3ce0310d349263120a7465e2 | [] | no_license | noob0159/Smart-Home-Monitering-System | a934fe035b8b2028a1ee212ec6a2902147794940 | 28e59042a5ff90dc379cb8db5df902fa8c7c98f2 | refs/heads/master | 2020-09-05T15:39:19.860527 | 2020-08-16T18:26:41 | 2020-08-16T18:26:41 | 220,146,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,875 | ino | WriteSingleField.ino | /*
WriteSingleField
Description: Writes a value to a channel on ThingSpeak every 20 seconds.
Hardware: ESP32 based boards
!!! IMPORTANT - Modify the secrets.h file for this project with your network connection and ThingSpeak channel details. !!!
Note:
- Requires installation of EPS32 core. See h... |
63eb1afa8cfcdba6be6fa8e3f420b5b3f44be71c | 4c25432a6d82aaebd82fd48e927317b15a6bf6ab | /data/dataset_2017/dataset_2017_8/Tashiqi/8294486_5681755159789568_Tashiqi.cpp | 4012053b6a9a3bbad4bc2566a1e7c0ec6c80e36c | [] | no_license | wzj1988tv/code-imitator | dca9fb7c2e7559007e5dbadbbc0d0f2deeb52933 | 07a461d43e5c440931b6519c8a3f62e771da2fc2 | refs/heads/master | 2020-12-09T05:33:21.473300 | 2020-01-09T15:29:24 | 2020-01-09T15:29:24 | 231,937,335 | 1 | 0 | null | 2020-01-05T15:28:38 | 2020-01-05T15:28:37 | null | UTF-8 | C++ | false | false | 1,150 | cpp | 8294486_5681755159789568_Tashiqi.cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <iomanip>
#include <algorithm>
#define ll long long
#define sort(A) sort(A.begin(),A.end())
#define rsort(A) sort(A.rbegin(),A.rend())
using namespace std;
static const ll D = 1000000007;
int main() {
ll T;
cin >> T;
for(... |
7cfb5ec1ddd96a2550ddfc83925be8b0b528aa74 | a6ef9674622f6e7c46ac31f4cfffbd568ff4f97e | /SteadyState_Rectangular_0_dt2t10000/processor2/7000/UMean | 83d69280437ddf0ea5809cbe155095a30d167731 | [] | no_license | jhargun/FluidIP | 4c3f6d9a87ed8ce24ed692a9bf939a9ca04222f6 | d6e0f20c1f5e1f86c160497be9d632e6d17abbf7 | refs/heads/master | 2022-08-26T02:34:26.327956 | 2020-05-26T22:33:29 | 2020-05-26T22:33:29 | 266,886,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,661,747 | UMean | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
994078b479597c9481a7c1fbd1039cfb0a700af8 | 8c78375b45216f44068a89129d4d5270e7e3c51b | /compat-inl.h | 8ffb0cc8ace10b9fb9dfb0586db6ba4c64dd46cc | [
"ISC"
] | permissive | bnoordhuis/node-idle-gc | bee68cd1c70bd45acffd559c1444b10d8bc1c41a | 822708fa92758fb8df3b500f3986fab67a9e4c50 | refs/heads/master | 2020-05-20T13:28:18.871855 | 2015-11-29T11:38:11 | 2015-11-29T11:38:11 | 7,225,301 | 35 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 11,533 | h | compat-inl.h | // Copyright (c) 2014, StrongLoop Inc.
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCL... |
7f62ecc98b104ebf18b97fd8daa9b24f86ab955a | 97864bcb16c64fa86739a8d06b30b889671dde8e | /C++_code/第十章/33.cpp | d540cdae7445f0725dadda28813c30428015b8d2 | [] | no_license | liuhangyang/Study_notes | 67214ea88f8b04275d794b0c5dd3a2ab0437179a | 734d216ff116ce451d50c2a2e0f390b0a9a975d3 | refs/heads/master | 2021-01-10T08:44:19.007133 | 2016-03-06T02:31:09 | 2016-03-06T02:31:09 | 47,327,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | 33.cpp | /*************************************************************************
> File Name: 33.cpp
> Author:yang
> Mail:yanglongfei@xiyoulinux.org
> Created Time: 2016年02月02日 星期二 20时20分55秒
************************************************************************/
#include<iostream>
#include<string>
#include<algorithm... |
fd56b1cc3d4bf9879cbb5bd25f4560a753a0b1cb | 92095ddf166b17c30ec1b4c0f179be5f36f8df60 | /DS7/squareBandAsIrregularArray.h | 13c2419df148325852a997cca1cfffc6a80a0ecd | [] | no_license | blackeywong/DataStructure | d9adb065ea1fdf3fcc20b8dd58da223c37578542 | a158d8dd69ac58f53fd237e9c4d50441dbd9b682 | refs/heads/master | 2021-05-23T00:10:01.029878 | 2020-08-04T06:07:04 | 2020-08-04T06:07:04 | 253,150,081 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,901 | h | squareBandAsIrregularArray.h | #pragma once
#ifndef _SQUAREBANDASIRREGULARARRAY_H
#define _SQUAREBANDASIRREGULARARRAY_H
#include <iostream>
#include <algorithm>
#include "../DS5/exceptions.h"
#include "matrix.h"
using namespace std;
//数据结构算法与应用-C++语言描述 第七章
//Exercise 37
template<class T>
class squareBandAsIrregularArray {
template<class T>
friend ... |
4311de99987785425a46e22fa0d539e4ffac0cff | cc44c22ca5af0598ca2cb23ec008e16bced42eca | /662. Maximum Width of Binary Tree.cpp | 5550ea67d2c79bc368598bc59039b975d95a949c | [] | no_license | lmontigny/LeetCode | 14a766a1b4de797bf8f4066bec2861a392043923 | 552bb9d47dc418e772c78f56b8456246422666a6 | refs/heads/master | 2022-02-21T00:47:18.860565 | 2019-09-29T19:45:36 | 2019-09-29T19:45:36 | 104,672,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,345 | cpp | 662. Maximum Width of Binary Tree.cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
Regardless whether these nodes exist:
Always make the id of left child as parent_id * 2;
Always make the id of right... |
d6158bb1fd2f772fdb54dc0e4062003988fafecb | 542abf6219c0b20d8600a463668869f6b9e5a197 | /doubutsu1/prediction/interaction.cpp | cab64a5811045735552f9a2bde862df00a824591 | [] | no_license | snarles/gamers | 42c5da2666d186afc560516903cbf144e7adc86a | 65ae3de3c6b77721a3c5b202d14b3bb67bc37bd4 | refs/heads/master | 2020-12-24T21:28:46.980652 | 2020-04-22T20:04:52 | 2020-04-22T20:04:52 | 57,049,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | cpp | interaction.cpp | #include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::export]]
int ncols1(int sz) {
return sz;
}
// [[Rcpp::export]]
NumericVector shrinker(NumericVector bt, double l1p, double l2p) {
int n = bt.size();
for (int i = 0; i < n; i++) {
if (bt[i] >= -l1p && bt[i] <= l1p) {
bt[i] = 0;
}
if (bt[i] > l... |
aaf61d5b16cfc9dc12cb10d5485100233c6212b6 | 5ac6446886df80e5e0e59c11baa262fde70e7980 | /Trie.h | 2c60acf9d63424039dc1cd4625e2fc15efb8054a | [] | no_license | vincenicoara/cs130a | c20f38700ff60517ed33fbb63a3672943dcd0477 | 09df844410cd0326128b054e124b3b6a2ce00ef8 | refs/heads/master | 2021-01-24T06:14:08.309189 | 2015-05-05T21:41:48 | 2015-05-05T21:41:48 | 35,085,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | h | Trie.h | class Trie {
private:
BasicTrieNode *root;
}; |
b8b2c0bb1859455b705f237d5a2c79af50cb91f6 | 9c5d2ff290bfdde7906fed33bacfc3cb5579dd06 | /Particle Fire Simulation (SDL)/src/Particle.cpp | 2eb7f83b87545e98e252b4dd13752f2d95c44b60 | [] | no_license | Kzeery/Learning-C-Plus-Plus | cfe6b5e35887ec510d3aa08df83e3ad63b7685a4 | 898ba40c68b3e85f4570d821b726402c96a29bd1 | refs/heads/master | 2021-08-11T12:46:14.823555 | 2021-08-03T15:20:59 | 2021-08-03T15:20:59 | 164,002,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | cpp | Particle.cpp | /*
* Particle.cpp
*
* Created on: Jan. 3, 2019
* Author: Yousif
*/
#include "Particle.h"
#include <math.h>
#include <stdlib.h>
#include "Screen.h"
namespace fire {
Particle::~Particle() {
}
Particle::Particle() {
init();
}
void Particle::init() {
m_x = 0;
m_y = 0;
m_direction = (2.0 * M_PI * rand()... |
09120e0c0a71a9494cc125767618263ee897fb75 | 9d06c844aaef8028dae893ad734180da6aaa9cdb | /esp8266_light_alarms.ino | 53f7d7eb9ae386874d8663bf08080b37b2a7c649 | [] | no_license | Avtomat4ik/esp8266 | a72a8fbde655e31b8d4b5e5d239bd1c32e1237c4 | 20864513ea1c4fd35196f9a0700b458919d7bd69 | refs/heads/master | 2021-01-13T00:56:09.524300 | 2015-11-15T11:12:21 | 2015-11-15T11:12:21 | 45,975,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,186 | ino | esp8266_light_alarms.ino | /*15 ноября - оптимизация кода: переменных, выводимых сообщений, процедур
* 10-11 ноября - улучшения
* 22 окт - добавил ESP8266 и wifi ntp синхронизацию
* 18 окт. 2015
Программа для ежедневного включения/выключения светодиодов для подсветки рассады
Включение - каждый день в 7:00
Выключение - каждый день , причем ... |
348d1c419b963c07429af7596f64e4c43e18705a | 5679731cee36c537615d285ed72810f4c6b17380 | /473_MatchsticksToSquare.cpp | 314e570bc8adca97d791e2e9f86d0304999ceda2 | [] | no_license | manofmountain/LeetCode | 6b76105190a9b62df65a7b56b6def4120498b9fa | 718f688b3d316e8c10ef680d9c21ecd518d062f8 | refs/heads/master | 2021-01-12T03:41:48.318116 | 2017-07-18T12:35:58 | 2017-07-18T12:35:58 | 78,252,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,321 | cpp | 473_MatchsticksToSquare.cpp | //95.42%
class Solution {
public:
bool makesquare(vector<int>& nums) {
if(nums.size() < 4)
return false;
int total(accumulate(nums.begin(), nums.end(), 0));
if(total & 0x3)
return false;
int width(total >> 2);
sort(nums.begin(), nums.end(), greater<int>());
vector<int> traced(nums... |
180cf1fde7c63de1dcca7a781904b830b7bbfe7b | fa1620bfd9fb4ed2d9277b3802d7511faaf8700a | /granulator/Grain.cpp | 608283b4a17551d759712c10cb7ef9052d7187c1 | [] | no_license | thzebra/granulation | 07d46b79398ce664b766042f175f2a03a547dd91 | ba923a9aa09c58fe2cd601554695ac3342bb2154 | refs/heads/master | 2020-04-06T06:54:34.833051 | 2016-08-22T17:47:17 | 2016-08-22T17:47:17 | 60,084,379 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,439 | cpp | Grain.cpp | #include "Grain.hpp"
#include <cmath>
#include <QDebug>
#include <sstream>
#include <iostream>
namespace Granulation {
namespace Synthesis {
using namespace RubberBand;
//Grain::Grain() {}
Grain::Grain(std::shared_ptr<Envelope> e, std::shared_ptr<Source> s, double timeratio, double pitchscale) :
m_source{s},
... |
ff273b36512bc861b116a896e23ffdacd046c870 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_6404600001200128_0/C++/hyeonguk/a.cpp | 55a61826e06a29bef73f6755ba7072d7679833f7 | [] | 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 | 714 | cpp | a.cpp | #include <iostream>
#include <vector>
#include <cstdio>
#include <algorithm>
#include <functional>
using namespace std;
void testCase()
{
int n;
scanf("%d", &n);
int answerA = 0, answerB = 0;
vector<int> data(n);
for (int i = 0; i < n; i++)
{
scanf("%d", &data[i]);
}
for (int i = 1; i < n; i++)
{
if (data... |
5c10d1b013ab7c5f84a17fac275da4687f47740c | becf02ce503bf193cc436ae05aaf0874214f38ad | /ModelImpl.h | e5fd11592d8431fe48ca7d8bb56b2c924dc79d84 | [] | no_license | fredlsousa/EmulationAPI | 9598d1eb28d69903bcd859b061847bb30895bf48 | 2986210fdf12315f7f196d9d0b05495ffdc11bde | refs/heads/master | 2020-05-27T18:09:56.694453 | 2019-12-24T05:29:17 | 2019-12-24T05:29:17 | 188,737,178 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | h | ModelImpl.h | //
// Created by Frederico on 07/06/19.
//
#ifndef API_SINGLETON_MODELIMPL_H
#define API_SINGLETON_MODELIMPL_H
#include <iostream>
#include "Model.h"
#include "SystemImpl.h"
using namespace std;
class ModelImpl : public Model{
private:
static ModelImpl* _instance;
protected:
int timeIni;
int timeFin;
... |
94ffa266e8f77987a24553b2986ef32ee686d507 | a5f3b0001cdb692aeffc444a16f79a0c4422b9d0 | /main/extensions/source/propctrlr/cellbindinghandler.cxx | 8d234e764b17dc28b238ac1adc74dc4505933738 | [
"Apache-2.0",
"CPL-1.0",
"bzip2-1.0.6",
"LicenseRef-scancode-other-permissive",
"Zlib",
"LZMA-exception",
"LGPL-2.0-or-later",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-philippe-de-muyter",
"OFL-1.1",
"LGPL-2.1-only",
"MPL-1.1",
"X11",
"LGPL-2.1-or-later",
"GPL-2.0-only",
... | permissive | apache/openoffice | b9518e36d784898c6c2ea3ebd44458a5e47825bb | 681286523c50f34f13f05f7b87ce0c70e28295de | refs/heads/trunk | 2023-08-30T15:25:48.357535 | 2023-08-28T19:50:26 | 2023-08-28T19:50:26 | 14,357,669 | 907 | 379 | Apache-2.0 | 2023-08-16T20:49:37 | 2013-11-13T08:00:13 | C++ | UTF-8 | C++ | false | false | 21,756 | cxx | cellbindinghandler.cxx | /**************************************************************
*
* 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 y... |
4462c75a5d1a2e00816a343fa1076c29f6fcc9af | 244f74985f43aae339a49476a623cdbf9fb700d1 | /cpp/class.cpp | d45affc4176571fe427e59dcf9cbdde86be07b13 | [] | no_license | frozar/model | 45a5dd7f48920d7ce678dc5c3ef2722873656abf | c07cc5b453e44a7242e4f3a52b79a7352b3d1eec | refs/heads/master | 2023-03-07T04:32:07.829803 | 2022-06-20T12:57:59 | 2022-06-20T12:57:59 | 122,744,604 | 0 | 0 | null | 2023-03-07T03:55:19 | 2018-02-24T13:52:36 | JavaScript | UTF-8 | C++ | false | false | 1,024 | cpp | class.cpp | #include <iostream>
template<typename scalarT>
class Parent
{
public:
Parent (const scalarT);
void display () const;
protected:
scalarT internal_;
};
template<typename scalarT>
Parent<scalarT>::Parent (const scalarT internal) :
internal_ (internal)
{}
template<typename scalarT>
void
Parent<scalarT>... |
e4809b59232753c343723b82e18736f467fc1c9c | fc27bf9f79e4d177f24209c603973da24d3ff485 | /Hive_Attack/Object_Hive_Ship.cpp | 8169cd90f2ad43e71cfb5e6cbb30654642dec244 | [] | no_license | nickbartz/Hive_Attack | 196f195a63b90882a2d6c2de381e7c60bf2fd226 | c7354e8a5f843f5d0e038b7889fcd6196b527868 | refs/heads/master | 2020-04-18T00:50:11.619380 | 2019-03-08T21:42:36 | 2019-03-08T21:42:36 | 167,093,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,004 | cpp | Object_Hive_Ship.cpp | #include<Object_Hive_Ship.h>
#include<unordered_set>
#include<glm/gtx/rotate_vector.hpp>
void Ship_Object::Init(Service_Locator* _service_locator, glm::vec3 start_location, vec3 _orbit_location)
{
service_locator = _service_locator;
update_transform_matrix(start_location);
orbit_location = _orbit_location;
home_... |
0c2dc78d5bf8c90d498ac30a02119fcfea954a7c | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5634947029139456_0/C++/sandun/a.cpp | 6c3b18469c8142ad12781e34f2c68c3b05a0944b | [] | 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 | 2,284 | cpp | a.cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<string>
#include<algorithm>
#include<set>
#include<map>
#include<list>
#include<cmath>
#include<iomanip>
#include<utility>
#include<vector>
#include<cstdlib>
#include<ctime>
using namespace std;
typedef long long LL;
typedef pair<LL,int> PII;
const int maxn... |
25539521ba8757b4846954cbea4d045b59b712c1 | 0fed3d6c4a6dbdb49029913b6ce96a9ede9eac6c | /HDOJ/2152.cpp | 5e24907ca1e175e1bbe093da2d020e2df213929a | [] | no_license | 87ouo/The-road-to-ACMer | 72df2e834027dcfab04b02ba0ddd350e5078dfc0 | 0a39a9708a0e7fd0e3b2ffff5d1f4a793b031df5 | refs/heads/master | 2021-02-18T17:44:29.937434 | 2019-07-31T11:30:27 | 2019-07-31T11:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,316 | cpp | 2152.cpp | // Fruit, HDU2152
/*Sample Input
2 3
1 2
1 2
3 5
0 3
0 3
0 3
*/
#include <bits/stdc++.h>
using namespace std;
#define clr(a,x) memset(a, x, sizeof(a))
#define mp(x,y) make_pair(x,y)
#define pb(x) push_back(x)
#define X first
#define Y second
#define fastin ios_base::sync_with_stdio(0);cin.tie(0);
typedef long long ll... |
0f14dd889010129d6804666fc50779e7adad9744 | 9a738fca238878462f0e743a35b66ccbda02a8c3 | /yhge/Isometric/ZIndexNode.cpp | a9e30be97df9068c6826ed72d0a34f7eaddc479d | [] | no_license | trarck/yhge | 10c67e33c1a63e78c450b99a8d415495cac7285b | d552b3afdb7abf19f6aa2977def6cb202737fc4c | refs/heads/master | 2020-06-06T09:23:00.391378 | 2013-12-26T01:44:24 | 2013-12-26T01:44:24 | 3,649,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | ZIndexNode.cpp | //
// ZIndex.
#include "ZIndexNode.h"
NS_CC_YHGE_BEGIN
ZIndexNode::ZIndexNode()
:m_pEntity(NULL)
{
}
ZIndexNode::~ZIndexNode()
{
}
void ZIndexNode::setRect(const CCRect& rect)
{
m_tRect=rect;
}
const CCRect& ZIndexNode::getRect()
{
return m_tRect;
}
void ZIndexNode::setEntity(CCObject* entity)
{
m... |
09211d8c380b44b60d6781fbc8e821faa4d8e494 | c2b0de209bd8a59def35702c2a735954c6fa49da | /src/ArrayTable.h | 8f14a88603a02ad8e541ce7f134025e4243f3f0a | [] | no_license | rgriege/Diff | 0a96f303047e05abab422fd777922b737d9d0e7c | f231cb5abae18b041cd2dd2127fb96ba5ee61c23 | refs/heads/master | 2020-05-14T13:11:01.212602 | 2013-12-13T18:31:54 | 2013-12-13T18:31:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | h | ArrayTable.h | #ifndef __ARRAY_TABLE_H__
#define __ARRAY_TABLE_H__
template <class T, class Allocator = std::allocator<T> >
class ArrayTable {
typedef T value_type;
typedef value_type* pointer;
typedef const value_type* const_pointer;
typedef value_type& reference;
typedef const value_type& const_reference;
... |
6d4c7082ec38337566741de7eb9ca1d831ca370f | 45ae0431635a3bfeff08f42ac0735ac67f385dd2 | /DreamNGN/src/DreamNGN/Window.h | 5180148aca081f309248ca670f360e6b28d017ae | [] | no_license | vnlozan/DreamNGN | 4b26e5f7688ae74195eb41ddf8b6490581dce62a | 8e0274a5c2a7c4ef955e1e29c5ee7653fa761c6e | refs/heads/main | 2023-04-05T18:13:06.727078 | 2021-04-27T22:24:47 | 2021-04-27T22:24:47 | 329,760,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | h | Window.h | #pragma once
#include "dnpch.h"
#include "DreamNGN/Core.h"
#include "DreamNGN/Events/Event.h"
namespace DreamNGN {
struct WindowProps {
std::string Title;
unsigned int Width;
unsigned int Height;
WindowProps(
const std::string& title = "DreamNGN",
unsigned int width = 1280,
unsigned int height =... |
00a8d0c3e609f5b395e574d183259e2356a9a92a | 06ed8e4854c411b2317cce3880f90624096e85aa | /gameoflifemodel.cpp | 0926c625c8797853588bf47602b785806b9dae28 | [] | no_license | lucabox/gameoflife | c30d60d2a905b0bf44389cd5f20adde046924ac6 | 79dabe8817e7c4c9f99aa02394c611881407ceb7 | refs/heads/master | 2016-09-01T18:06:29.461671 | 2010-12-31T00:33:32 | 2010-12-31T00:33:32 | 1,209,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,368 | cpp | gameoflifemodel.cpp | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE.txt
* 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 m... |
8225861ea7512aeb1f2dd1debc23fe43bd4aa3ed | 71695dce16a991ac38303cfca686224f4cc6fab5 | /xsql61/src/q1main.cpp | 9bb101282f34e32f585670d4bc18382f244082ae | [
"PostgreSQL",
"Apache-2.0"
] | permissive | sushil-agrawal/data-analytics | c5358ef29988d7d5bf9e845f91f86d826754c496 | fae4ab1611831b8a93fde54e16939a6a51468dc3 | refs/heads/master | 2020-04-03T10:18:27.806096 | 2018-11-08T10:18:09 | 2018-11-08T10:18:09 | 155,189,622 | 0 | 0 | NOASSERTION | 2018-10-29T10:01:19 | 2018-10-29T10:01:19 | null | UTF-8 | C++ | false | false | 5,440 | cpp | q1main.cpp | /**********
Copyright 2017 Xilinx, Inc.
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, softw... |
6b8003fbb9dcc7871ccdbd6606db3d76a072189a | 99153e5653a3e46548abc2763a6ffcfec2f3d65c | /src/hwoj/main4411.cpp | 8e43c59203af991f3013907d2f2665b2c8840377 | [
"MIT"
] | permissive | jiangxincode/CppTest | 3f7cc70341ce458e2a559b6e0b92d5dc4b8dc39c | 69c4269c2f089abf820e783cf136c5814aa4a605 | refs/heads/master | 2022-11-30T22:49:38.251580 | 2022-11-27T05:56:58 | 2022-11-27T05:56:58 | 34,908,369 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,646 | cpp | main4411.cpp | /**
* 迷你sql引擎
* 实现一个小型sql解析执行引擎
* 1.设计规则
* 1、支持的数据类型:
* integer : 整型,有符号 4 字节整数;
* text : 变长字符串;(实现的时候,内部可以直接用char*)
* 2、支持语法:
* SQL关键字(包括数据类型)不区分大小写,表名/列名/列值 区分大小写;
* SQL关键字包括:
* CREATE TABLE/INTEGER/TEXT/DROP TABLE/INSERT INTO/VALUES/ORDER BY/
* SELECT FROM WHERE/... |
2a3c40c193beccc849fd26801c838e6697d6d94e | 036a044d4f1dddb02627340bf38cd9e625ff8587 | /src/dropbox/files/FilesRelocationError.cpp | 5767f27096ba004483ad1710a9e4f9e37128a06b | [
"MIT"
] | permissive | kobolabs/dropboxQt | 12737a79cbf4021e950dbcb81fd45f732782af7c | 63d43fa882cec8fb980a2aab2464a2d7260b8089 | refs/heads/master | 2020-08-04T02:49:09.795523 | 2019-09-25T17:50:21 | 2019-09-25T17:50:21 | 211,977,548 | 0 | 2 | MIT | 2019-09-30T23:39:37 | 2019-09-30T23:39:36 | null | UTF-8 | C++ | false | false | 3,596 | cpp | FilesRelocationError.cpp | /**********************************************************
DO NOT EDIT
This file was generated from stone specification "files"
Part of "Ardi - the organizer" project.
osoft4ardi@gmail.com
www.prokarpaty.net
***********************************************************/
#include "dropbox/files/FilesRelocationError... |
3010656537c8c9f2aac98f69f0429dc8cb180f57 | 3c6c684ae317ba74fd669f5cba9b64ea321bb586 | /Source/SVWidgetsLib/QtSupport/QtSCheckboxDialog.cpp | 3ea172af8ceaa2e7f632b0431e49be2057490e2b | [
"BSD-3-Clause"
] | permissive | imikejackson/SIMPL | 6bdbe330adda6fb41d2d73993463b1aeda55c0f5 | f61686691d977c234d23320be714e11243e72231 | refs/heads/develop | 2023-07-11T19:28:10.639852 | 2023-06-28T17:44:52 | 2023-06-28T17:44:52 | 89,543,705 | 0 | 1 | null | 2017-04-28T21:36:26 | 2017-04-27T01:49:05 | C++ | UTF-8 | C++ | false | false | 4,600 | cpp | QtSCheckboxDialog.cpp | /* ============================================================================
* Copyright (c) 2009-2016 BlueQuartz Software, LLC
*
* 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... |
ba5843654cb970c8e722317b59396308e3cb18f6 | df922355923a5f3343f2c59c449f13ad6881748d | /assignment-client/src/AssignmentDynamic.h | 35db8b15240466fefd60d97249bfd89344ebe121 | [
"Apache-2.0"
] | permissive | sainuguri/hifi | 428b6c955ee7ee4af0f6604d7a39f6fb3de37ef5 | adafe4afbe592bfa9363d746bb774c64ead94934 | refs/heads/master | 2021-01-20T06:57:24.621649 | 2018-02-12T18:09:39 | 2018-02-12T18:09:39 | 89,945,254 | 0 | 0 | null | 2017-05-01T17:21:18 | 2017-05-01T17:21:18 | null | UTF-8 | C++ | false | false | 1,740 | h | AssignmentDynamic.h | //
// AssignmentDynamic.h
// assignment-client/src/
//
// Created by Seth Alves 2015-6-19
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
// http://bulletphysics.org/Bullet/Bu... |
9d424e4b3d820ce838a886ecc3bc0177687d7e8b | e0479f9541ec548349e086a287b88620207cef1a | /model/position.cpp | 3d7c48248fee1e53b360466ff05957d08122b68b | [] | no_license | Schnullerpip/Snake | 128dceb0957e7a8743c7535b5a692d43f688a1f9 | 1267ad203809f947e7d9eea93c2582e7f96fe65e | refs/heads/master | 2020-03-31T00:37:40.773933 | 2019-10-28T16:50:54 | 2019-10-28T16:50:54 | 32,748,497 | 3 | 3 | null | 2015-04-17T07:40:34 | 2015-03-23T17:42:59 | C++ | UTF-8 | C++ | false | false | 398 | cpp | position.cpp | #include "position.h"
Position::Position(int x, int y){
this->x = x;
this->y = y;
}
int Position::getX(){return this->x;}
int Position::getY(){return this->y;}
void Position::setX(int x){this->x = x;}
void Position::setY(int y){this->y = y;}
bool Position::compareTo(Position* p){
if((this->x == p->getX(... |
ce089be88919998316a3380d883a8b9f9f4bfac3 | 0ab72b7740337ec0bcfec102aa7c740ce3e60ca3 | /include/simplified/system/interaction/function/pairwise/_EG.h | 7bc62dfbe387197b7d449d1bd177c899ebf5e6f1 | [] | no_license | junwang-nju/mysimulator | 1d1af4ad7ddbe114433ebdadd92de8bb3a45c04f | 9c99970173ce87c249d2a2ca6e6df3a29dfc9b86 | refs/heads/master | 2021-01-10T21:43:01.198526 | 2012-12-15T23:22:56 | 2012-12-15T23:22:56 | 3,367,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,689 | h | _EG.h |
#ifndef _System_Interaction_Function_Pairwise_EG_H_
#define _System_Interaction_Function_Pairwise_EG_H_
#include "system/vec-type-selector.h"
#include "system/interaction/function/data-state.h"
#include "system/interaction/function/pairwise/pre-name.h"
#include "system/interaction/function/pairwise/vec-name.h"
#inclu... |
355547f535f90f5f12ae7dfab0a8dcc47bc11b81 | 17b8fa4bc73bd45aca1baa9277a27b1336beba4d | /Card.h | 76a572716814becfe1fd48d9542098dccc73553f | [] | no_license | farqnyy8/Hotel-Administration-Cpp | d230034f99c2a9d77fc4db82eeb12e8fbb2e8139 | 48b26cce4d68500833f94f120af5783b9e8e44db | refs/heads/master | 2020-05-30T10:28:22.099349 | 2019-06-17T14:18:03 | 2019-06-17T14:18:03 | 189,671,964 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | h | Card.h | //Card.CARD_H
#ifndef CARD_H
#define CARD_H
#include <iostream>
#include <string>
using namespace std;
class Card
{
private:
string number;
double deposit;
public:
Card();
Card(string,double);
void deposit_money(double);
void withdraw_money(double);
double get_deposit() const {return deposit;}... |
0e62110fa9e2acde66de9ec7a10f8246268cf26c | d2bd35e535387411ed13e0a1efc32cf8176c2c85 | /4A.cpp | c94926015fb7bbadbfb9e71210c6d5cccc038fd2 | [] | no_license | JamFactoryInc/CS-cpp-Assignments | 76c22fbad60c7fb725ca66a35e07345c901b10f0 | 99d4d025164fa556661719095d86484033d0b9cf | refs/heads/main | 2023-03-08T21:52:19.309987 | 2021-02-10T02:24:12 | 2021-02-10T02:24:12 | 337,594,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | 4A.cpp | #include<iostream>
#include <iomanip>
#include<math.h>
int main ()
{
int iterations;
std::cin >> iterations;
int iterationsCopy = iterations;
int step = 1;
std::cout << std::fixed << std::setprecision(5) << "x\t\tlog10(x)\tlog2(x)\t\tln(x)\n";
loop:
for (int i = 0; i... |
e8081551e829cd9f69c449ef0b2965d4e5bcecbe | ff03909740a125bea70ddcf8b39185c7973e466c | /src/Array.cpp | 8b096d22b03f5701079694819b5ff677e8af3cc7 | [] | no_license | rfejzic1/katon | 6465a503407c954510014518f996f84bf1fb172e | 39cd0161a138343547f1449bcf0a6554ae1c976d | refs/heads/master | 2020-09-01T21:32:08.563512 | 2020-07-25T11:26:02 | 2020-07-25T11:26:02 | 219,062,873 | 16 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | Array.cpp | #include "../include/AbstractSyntaxTree/Values/Array.h"
void Array::add(ptr<Value> &value) {
values -> push_back(value);
}
void Array::addAll(ValueList &newValues) {
values -> insert(values->end(), newValues.begin(), newValues.end());
}
void Array::remove(ptr<Value> &value) {
// todo: After the equality ... |
063c784c685667099b8b128520a59b65bfe8ffd3 | 9fd80101ae3b5b6d632ffbd4475e20942ebd4b2b | /central_place/core/cmd_processor/cmd_processor.h | 340cfb15166d17c317459deaf2c8a45e2c7685f5 | [] | no_license | NarekAt/DiplomaProject | cb18587c77a2ea65ab8657dc4904438c15c77857 | 3b90417bafb24e297a70dca151584933a977f1c0 | refs/heads/master | 2021-06-06T01:14:10.671713 | 2016-05-20T21:52:37 | 2016-05-20T21:52:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,060 | h | cmd_processor.h | #ifndef CMD_CMD_PROCESSOR_H
#define CMD_CMD_PROCESSOR_H
/**
* @file cmd_processor.h
* @brief declaration of class
* cmd_processor
* @author Hayk Khachatryan
*/
#include <string>
#include <map>
#include <vector>
/**
* @namespace cmd
* @brief command infrastructure
* namespace
*/
namespace... |
b08d5078a04f2c094c5fc163ee6b9fdbc98f7c50 | 2cf1d0bd70a523ece6af2963e43ccf8b353deddb | /userinfomgr.h | 4003376c12bae88234504ed531960ceeae18113e | [] | no_license | 41412/messanger_server | 147f2780c78ffa5abbe4d08499f0d2d2ae1394b0 | a09ae03f2320563a559f2fb020ce2e08f092b20b | refs/heads/master | 2023-02-18T02:29:34.727316 | 2020-11-13T05:03:49 | 2020-11-13T05:03:49 | 331,969,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | h | userinfomgr.h | #ifndef USERINFOMGR_H
#define USERINFOMGR_H
#include "widget.h"
#include "chatserver.h"
#include "chatdata.h"
#include <QObject>
#include <QVector>
#include <QDebug>
class UserInfoMgr : public QObject
{
Q_OBJECT
public:
typedef struct _userinfo
{
QString nickName;
QString passWord;
}u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.