blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0702dfead82839e1207999dd008595386a026438 | 7c8a8d1c97286568be23cf7cee90e3cc7df28cec | /Lab03-Square/square.cpp | fdfb5c792c8364f6cc2b32fba3adbfc03a189ca0 | [] | no_license | mmengspv/Lab_Algorithm | 0074076fc76994e07e771a2a14cba9e2df9ce068 | 9caa18304f4b89d71b5cd3d46511f50ee5585eae | refs/heads/master | 2023-03-20T09:39:49.200472 | 2021-03-13T16:16:13 | 2021-03-13T16:16:13 | 347,415,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include<iostream>
#include<math.h>
using namespace std;
int main(){
int n, inn, find, tmp, c, check;
cin >> n;
for(int i = 0; i < n; i++){
cin >> inn;
find = 0;
for(int j = 0; j < sqrt(inn); j++){
for(int k = 0; k < sqrt(inn); k++){
tmp = j*j + k*k... | [
"supavet.a@ku.th"
] | supavet.a@ku.th |
bab5b719f74c90e9c902f9e7ba8a2ff4a9532a9f | 8b1b00dead793435b0bb76f7cc6371cd70d602f8 | /Core/Libs/Game/Src/420/OutdoorPvP/OutdoorPvP.cpp | cda0f17dd203b10b7c174812a77f4f861be97ffa | [] | no_license | csx163/StrawberryEMU | 9fa0e0e067b5022f1e61e8e933d3b7a932fcd317 | 9dc1652bbbdf7cc005ae1d6f556235aa89fa46d5 | refs/heads/master | 2020-12-24T23:29:00.216074 | 2012-12-06T02:09:00 | 2012-12-06T02:09:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,515 | cpp | /*
* Copyright (C) 2008-2011 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later ve... | [
"fabian@strawberry-pr0jcts.com"
] | fabian@strawberry-pr0jcts.com |
df3d0840b8af6522cfc82cf95bdf385f91297fe4 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/e5/7471310ede1355/main.cpp | e4c164f1ec1e682e9338607c74420cc5b8a86da8 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | cpp | #include <vector>
#include <algorithm>
#include <functional>
#include <iterator>
#include <iostream>
struct s
{
double x;
int y;
};
template<typename Container, typename T, typename M>
std::vector<M> select_mem(Container const& c, M T::* mem)
{
std::vector<M> result;
result.reserve(c.size());
... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
5da7086740d5c2abc925a843bb01a728d695b865 | 4f62b209a4b171eddd97305276c3b27f45b30c97 | /bitmap/Bitmap.h | 7104d806e661c0ae3970456c97a42ca11f5b2310 | [] | no_license | dormiveglia/data-structure | f45a84821aadc33ad52058b00615cfe0462bf016 | c50e55cdb46be6c94835768473a130c19f3319f3 | refs/heads/master | 2021-01-05T13:08:57.898217 | 2020-02-17T14:03:40 | 2020-02-17T14:03:40 | 241,031,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | h | #ifndef BITMAP_H_
#define BITMAP_H_
#include <cstdint>
#include <cstring>
class Bitmap {
private:
uint32_t N; // number of allocted bytes
uint8_t *B; // memory of bits
public:
Bitmap(int nBits = 8)
: N((nBits + 7) / sizeof(uint8_t)), B(new uint8_t[N]) {
me... | [
"yanghc_cs@outlook.com"
] | yanghc_cs@outlook.com |
913665a6a301bf3f3d977605370872d95a7864a8 | 41311be8620b1e78bc9e74c327f0110ced0663f2 | /lib/NEAT/innovation.cpp | 6d266e4800b751d31a79b26abc82bc930e17e8a1 | [
"MIT",
"Apache-2.0"
] | permissive | Keiiko/OpenNFS | be2c5b87175aa61da6f9e61d6452b80c9c8cb280 | 9824ca7cb9025346d7d88837ff94d8b06cfdc324 | refs/heads/master | 2020-06-19T05:23:20.645200 | 2019-07-12T13:48:42 | 2019-07-12T13:48:42 | 196,577,315 | 1 | 0 | MIT | 2019-07-12T13:48:43 | 2019-07-12T12:41:03 | C++ | UTF-8 | C++ | false | false | 1,555 | cpp | /*
Copyright 2001 The University of Texas at Austin
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... | [
"AmrikSadhra@gmail.com"
] | AmrikSadhra@gmail.com |
1d89f305cf43364257cf754078d15865326c027b | 548140c7051bd42f12b56e8bb826074609c8b72e | /SDST/TankGame/Code/Game/Player.hpp | 53773cb8f7ec692b864b15875fcae787186a5913 | [] | no_license | etrizzo/PersonalEngineGames | 3c55323ae730b6499a2d287c535c8830e945b917 | 6ef9db0fd4fd34c9e4e2f24a8b58540c075af280 | refs/heads/master | 2021-06-16T22:01:57.973833 | 2021-01-26T03:54:58 | 2021-01-26T03:54:58 | 135,343,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | hpp | #pragma once
#include "Game/Entity.hpp"
class Player :public Entity{
public:
Player(GameState_Playing* playState, Vector3 position = Vector3::ZERO);
~Player();
void Update() override;
void HandleInput();
void Damage();
void Respawn();
void RemoveRenderable();
void AddRenderable();
float GetPercentageOfHea... | [
"emilytrizzo@gmail.com"
] | emilytrizzo@gmail.com |
fbb3ae083f58adf2568907a7228bb9787447b167 | 6481d2dab4b0ec6781d35b11865da90e5a9c4e56 | /DP/EDIST.cpp | 864fc27336a078ca0a75df8db364cf0b0cf8d659 | [] | 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,100 | cpp | //http://www.spoj.com/problems/EDIST/
#include<bits/stdc++.h>
using namespace std;
#define MAX(a,b) ((a)>(b)?(a):(b))
#define MIN(a,b) ((a)<(b)?(a):(b))
#define REP(i,a,b) for(i=a;i<b;i++)
#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)
#defi... | [
"vijaykhandalnitrr@gmail.com"
] | vijaykhandalnitrr@gmail.com |
8121504b7cf2fea7a5e873fea3f43656c38bcf3c | 5588e2530c2fbfe21f4b8e8e692223af4e9f4c81 | /Submission/Test/msgConvert.h | 1625e9a64449183f8a501973464cec27c0790726 | [] | no_license | zatoichi666/Project4 | 525c3b2e39931d997f348178518a7b97f05cb42a | ed213b4f28c724b3b2fef9e5356a7f3c96a89dee | refs/heads/master | 2021-01-19T18:32:34.249795 | 2013-05-01T01:14:57 | 2013-05-01T01:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | h | #ifndef MSGCONVERT_H
#define MSGCONVERT_H
#include <string>
#include <iostream>
using namespace System;
typedef String Message;
typedef std::string stdMessage;
stdMessage ConvertMsgDown(Message^ msg);
Message^ ConvertMsgUp(const stdMessage& smsg);
#endif | [
"matthewsynborski@gmail.com"
] | matthewsynborski@gmail.com |
f14dbdc08b7aa9273985a0f85ec2c20f52125883 | ce1100a15f9fe8d2ee1962fe4a0ee165702c63df | /InventorySystem/PickUpDiscriptionDataAsset.cpp | b598b222604c089e870157ad1818432b78e22b0e | [] | no_license | AnastasiaShevchenko777/FPSwithTimeControl | 76c0b2e8bd90b1736abf72f568cc70bc377d73cc | 1cbcff8c8e865ca4af152ce3baa02f25740773bd | refs/heads/master | 2022-11-29T23:45:31.119080 | 2020-08-12T20:18:22 | 2020-08-12T20:18:22 | 284,798,973 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PickUpDiscriptionDataAsset.h"
| [
"annblades71@gmail.com"
] | annblades71@gmail.com |
8df47f07ff09c28d5be1fcb17079ba5140bef0ea | e47bf592d7ef6441d2af3082ec38f58c12ca6ff4 | /data_structures/c++/linked_list.cpp | 41473878b2d1cba91221002c5937d72cf4678ea4 | [] | no_license | zunayed/puzzles_data_structures_and_algorithms | 0aec8b11546835d6b27a182a51cb545f899e8312 | 749c990f1b7b68e6fffed9f4b8fa576d12e07905 | refs/heads/master | 2022-03-22T14:41:54.217589 | 2019-12-16T16:33:35 | 2019-12-16T16:33:35 | 14,592,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | cpp | #include <cstdlib>
#include <iostream>
using namespace std;
class List{
private:
struct node{
int data;
node* next_node;
};
node* head;
node* current;
node* temp;
public:
List();
void PrintList();
void AddNode(int add_data);
void DeleteNode(int del_data);
};
... | [
"zunayed@gmail.com"
] | zunayed@gmail.com |
213c508a849e301555b1df90484670a5cec6e0b1 | a04fb0464de295fc8ebf463dda16ef77d6226e65 | /white/week4/task4/part2/main.cpp | 71e867cfb7c3b58f7c3512f993181ba2bae01dbc | [] | no_license | poul250/coursera_cpp | 0f6fb7c8846d5f53e25ca292fa5bd1ea32dbe0cd | 75a37594b41364c097d34aa20a51269b2bf7080f | refs/heads/master | 2022-09-07T05:00:51.765614 | 2020-05-28T18:28:46 | 2020-05-28T18:28:46 | 267,665,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include <iostream>
#include <fstream>
int main() {
std::ifstream input{"input.txt"};
std::ofstream output{"output.txt"};
std::string line;
while (std::getline(input, line)) {
output << line << std::endl;
}
return 0;
} | [
"poul250@yandex.ru"
] | poul250@yandex.ru |
d8fe7fd2a0fa9f8d21297e4dbf07fc30e7f69e9a | ea9fdab491ca277959f7dc59004d1a30c4ee6be4 | /fastp/patches/patch-src_main.cpp | fd0cfc6065bad8dd50821c48f154baccc03444aa | [] | no_license | NetBSD/pkgsrc-wip | 99f40fb6f56e2a5a11840a810e9cf8b6097e7f21 | c94e923855e9515400435b2437a1659fdb26d2fb | refs/heads/master | 2023-08-30T14:27:26.946664 | 2023-08-30T12:09:15 | 2023-08-30T12:09:15 | 42,824,785 | 81 | 59 | null | 2021-01-28T20:10:38 | 2015-09-20T18:44:07 | Makefile | UTF-8 | C++ | false | false | 611 | cpp | $NetBSD$
# Make sure main() returns a value
--- src/main.cpp.orig 2021-10-19 02:19:29 UTC
+++ src/main.cpp
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <sysexits.h>
#include "fastqreader.h"
#include "unittest.h"
#include <time.h>
@@ -18,7 +19,7 @@ int main(int argc, char* argv[]){
if(argc == 1) {
ce... | [
"bacon4000@gmail.com"
] | bacon4000@gmail.com |
4d048ebccac04281b1d6176d1e5b556cc0aef0c2 | d4c6151c86413dfd0881706a08aff5953a4aa28b | /src/ui/lib/escher/test/vk/framebuffer_allocator_unittest.cc | 776bea3e81d15c301247d833fcdea885cd6cfe34 | [
"BSD-3-Clause"
] | permissive | opensource-assist/fuschia | 64e0494fe0c299cf19a500925e115a75d6347a10 | 66646c55b3d0b36aae90a4b6706b87f1a6261935 | refs/heads/master | 2022-11-02T02:11:41.392221 | 2019-12-27T00:43:47 | 2019-12-27T00:43:47 | 230,425,920 | 0 | 1 | BSD-3-Clause | 2022-10-03T10:28:51 | 2019-12-27T10:43:28 | C++ | UTF-8 | C++ | false | false | 8,435 | cc | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/ui/lib/escher/vk/impl/framebuffer_allocator.h"
#include <vector>
#include "src/ui/lib/escher/impl/vulkan_utils.h"
#include "src/ui/lib/esch... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
80faabaf899e33fd39d8f0f3e6389556fadd3427 | 213f4ae3858dfccb08e63bdb9bdac6ca13b095a8 | /resources/copy_and_move_semantics/assignment0.cpp | be56b451ae775880bbb9529556e011ef9712359a | [] | no_license | therocode/cpp_mentoring | ed7667c2eab1eeed29d0aade7e2323b62bc8d280 | 1222563b510ae6a89a36923b624eaafc022ae218 | refs/heads/master | 2020-05-02T06:25:38.934038 | 2019-04-20T14:41:52 | 2019-04-20T14:41:52 | 177,795,140 | 7 | 3 | null | 2019-04-30T18:17:34 | 2019-03-26T13:34:52 | C++ | UTF-8 | C++ | false | false | 1,458 | cpp | #include <iostream>
#include <memory>
#include <cassert>
class NullableNumber
{
public:
NullableNumber() = default;
NullableNumber(int v): m_value(std::make_unique<int>(v))
{
}
//TASK: implement copy constructor and move constructor here
bool has_value() const
... | [
"widlundtobias@gmail.com"
] | widlundtobias@gmail.com |
6e6f84acfb25f1a3d1eb36762d8983cfbf11ce72 | 6090525f9edc15d0ee470916a3959399176ea167 | /LoadManager.h | 420c4f92ad685a8ac417e81fe405e2a8de73900a | [] | no_license | bocabi/3D_2 | 8465ddddac22e372c9eea829193423a5b0340729 | 3cb958c27d44236c996b8a7875beca002567dbc8 | refs/heads/master | 2023-04-02T03:07:55.945529 | 2021-04-12T00:16:11 | 2021-04-12T00:16:11 | 357,009,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | h | #pragma once
#include "singleton.h"
#include "Render2DManager.h"
#include "Render3DManager.h"
struct MultiMesh
{
public:
CDXUTTimer* timer;
MultiMesh() { timer = new CDXUTTimer; }
~MultiMesh() { SAFE_DELETE(timer) for (auto iter : v_mesh)SAFE_DELETE(iter); v_mesh.clear(); };
vector<Mesh*>v_mesh;
int a = 1;
int i ... | [
"sdh190101@sdh.hs.kr"
] | sdh190101@sdh.hs.kr |
da43909aed64f8d73cc90e52cc7e7e96907117b7 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restbed-server/generated/model/ComAdobeGraniteRestImplServletDefaultGETServletInfo.h | 162cc32681d32de68fd2f9866b603daa562fd397 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 2,111 | h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
3fdc4071fb331c5ced58ac310239e7095f248c1f | d6b4bdf418ae6ab89b721a79f198de812311c783 | /tke/include/tencentcloud/tke/v20180525/model/DeleteTKEEdgeClusterResponse.h | ac3852cb793669476c4aa4dcde13e91475acaa7f | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
44656b126827c81587063e8b8523e68d694b6d5e | 303e592c312459bf9eb3ce231b1357c4de91124b | /pku/3140/3140.cpp | c7246c175dc6a891408f1f8aeac3033d868a9c83 | [] | no_license | kohyatoh/contests | 866c60a1687f8a59d440da3356c6117f9596e8ce | b3dffeaf15564d57aec5c306f5f84bd448bc791f | refs/heads/master | 2021-01-17T15:06:23.216232 | 2016-07-18T14:06:05 | 2016-07-18T14:06:05 | 2,369,261 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <algorithm>
using namespace std;
#define rep(i, n) for(int i=0; i<(int)(n); i++)
typedef long long Int;
int n, m, c[100000];
Int cnt[100000];
int E, u[200000], v[200000], next[200000], head[100000];
Int rec(int cur, int pre) {
... | [
"kohyatoh@yahoo.co.jp"
] | kohyatoh@yahoo.co.jp |
874ad3459182f7122d55c00e72f7c2f773c9ad16 | 1673411549edc13e87b7e362aa6841e010625cc5 | /examples/generic/model.cpp | 6451896b22b15e40efee0bdda23d3f29ef58055d | [] | no_license | plin1112/epdm | 7f85d8aaa7c022cd5fa2389af87988c029687f02 | edde1122f7cbc1f4143ff1c7e0b1dbc744696495 | refs/heads/master | 2021-06-12T20:40:52.468400 | 2017-02-27T23:15:26 | 2017-02-27T23:15:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,943 | cpp | #include <map>
#include <string>
#include <iostream>
#include "parameter.h"
#include "model.h"
/* model.cpp for a generic model:
* reactions() produces empty reaction list for any pair of species
*/
/* Global configuration dictionary */
extern std::map<std::string,Parameter> configDict;
Specie::Specie(std::string ... | [
"abernats@uvm.edu"
] | abernats@uvm.edu |
07b61419a6dadd12510c3d317701cfcb418b2b49 | b65cabb389fe6b311dfc70625169a484ba861f0a | /src/kvservice/coordinator.h | 9d76ed152c620ccf9c2fbc91ac5e30a47ca78710 | [
"Apache-2.0"
] | permissive | epfl-labos/POCC | cd038fe15ca971bd95d8aa18ff95ec505d7a9437 | 6d564356105db6fb5163f8bfa6469ae8ab04852d | refs/heads/master | 2021-08-08T17:26:47.690642 | 2017-11-10T18:45:28 | 2017-11-10T18:45:28 | 110,276,851 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,304 | h | /*
* POCC
*
* Copyright 2017 Operating Systems Laboratory EPFL
*
* 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... | [
"kristina.spirovska@epfl.ch"
] | kristina.spirovska@epfl.ch |
7119b381d3843aaf360f85d98d0c85f8b05a0e46 | 35baa4a4648003fdd85732850897d043b830761e | /ibstringlongestpallindrome.cpp | 9ca2a11ca281163b81db3ef055dab7661febffda | [] | no_license | deepanshuoct12/interviewbit-solution | 0c091e7ddab2d1be3cc207a70b5c9498c23b33d2 | 87254a250233c571611cc70b91749574d0544b5a | refs/heads/master | 2023-01-03T11:46:16.244384 | 2020-11-02T21:29:57 | 2020-11-02T21:29:57 | 279,698,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | string expandAroundCenter(string s, int c1, int c2) {
int l = c1, r = c2;
int n = s.length();
while (l >= 0 && r <= n-1 && s[l] == s[r]) {
l--;
r++;
}
return s.substr(l+1, r-l-1);
}
string longestPalindrome(str... | [
"deepanshu.oct12@gmail.com"
] | deepanshu.oct12@gmail.com |
f1280fbde50ff72ef768ea1486a193db6204949d | 72b0909c2cbaecf00209eecdfbb9a6cd10600aa9 | /Module_02/ex01/Fixed.cpp | 470c23176d0e864c5ab184b44c12441221cc6af8 | [] | no_license | PCC19/cpp | 153c0a44297c7375bb9c59d78146ad5496d1c09e | 38ec265a2fe1dde03208c13780df8cdc23672e33 | refs/heads/master | 2023-07-29T02:27:48.455619 | 2021-09-06T04:40:25 | 2021-09-06T04:40:25 | 395,015,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | #include "Fixed.hpp"
Fixed::Fixed(void)
{
Fixed::fixed_point_value = 0;
std::cout << "Default Constructor Called" << std::endl;
}
Fixed::Fixed(int n)
{
std::cout << "Int constructor called" << std::endl;
Fixed::fixed_point_value = n << frac_bits;
}
Fixed::Fixed(float f)
{
std::cout << "Float constructor called"... | [
"pcunha00@hotmail.com"
] | pcunha00@hotmail.com |
640bc84f2a1116459302162056b1875cbbebf90f | ebcef100fd86ecf2407c5ece4b11191fa6b106c3 | /313.cpp | da3b000cde4a229e79fa6338f65fa4fd166e07cf | [] | no_license | smakk/LeetCode | 82b181798da8f9cd0d134ec206fe792aa110bfee | 21b615636e672db9d99d028a4c7753d459ec9fd9 | refs/heads/master | 2020-04-27T07:48:19.687203 | 2019-03-24T15:26:43 | 2019-03-24T15:26:43 | 174,148,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | /*
Super Ugly Number https://leetcode.com/problems/super-ugly-number/description/
*/
class Solution {
public:
int nthSuperUglyNumber(int n, vector<int>& primes) {
vector<int> index(primes.size(), 0);
vector<int> v = { 1 };
for (int i = 0; i<n-1; i++) {
int mi = INT_MAX;
f... | [
"noreply@github.com"
] | smakk.noreply@github.com |
8e7ff2e8b2a6e05cf75f9e857d3c705cd07c4541 | 246d46c42f9217864f23cd74890157bf5605c71c | /SCC/poj1144.cpp | f99754d0122ec011d16855afc370e865c212c34d | [] | no_license | linhanyu/ACM | 93b24aa402f426091ad54e1a0db5b49d294a5f02 | 842d822afb6d098af2e110efd3c56c9ea42a5151 | refs/heads/master | 2021-01-10T08:40:57.511568 | 2017-03-06T13:29:22 | 2017-03-06T13:29:22 | 52,157,846 | 0 | 0 | null | 2016-03-01T14:02:09 | 2016-02-20T14:41:32 | C++ | UTF-8 | C++ | false | false | 1,682 | cpp | //
// Created by Henry on 17/2/28.
//
#include<cstdio>
#include <algorithm>
#include <memory.h>
using namespace std;
const int MAXN = 20000 + 10;
const int MAXM = 50000 + 10;
//Star
struct edge{
int v,next;
}G[MAXM];
int head[MAXN];
int cur;
void addedge_(int u,int v){
G[cur].v = v;
G[cur].next = hea... | [
"305991071@qq.com"
] | 305991071@qq.com |
5567efa8d7fe91375ea644b5a2f0834c1037e9ac | 852b84d4f7cc15104358d4eb82c4a95f17c83fe8 | /mediapipe/java/com/google/mediapipe/framework/jni/graph.h | 02be3709ea37b28c547da39d022e70c88fb96bab | [
"Apache-2.0"
] | permissive | yinggeche/mediapipe | 9a5c3df8eae307bfbe0ec8e4a3eaa451c0e44587 | d144e564d8f48737f1bf684ee741c9ccf6a5909d | refs/heads/master | 2020-12-23T20:58:09.295414 | 2020-01-18T00:55:00 | 2020-01-18T01:05:43 | 237,272,390 | 1 | 0 | Apache-2.0 | 2020-01-30T17:58:49 | 2020-01-30T17:58:48 | null | UTF-8 | C++ | false | false | 10,044 | h | // Copyright 2019 The MediaPipe Authors.
//
// 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 a... | [
"jqtang@google.com"
] | jqtang@google.com |
60323ba37534be08d52e7d6d56ebadd6437f5d0e | 87d581672c1a4b80b94ab85e5dd108254f52d507 | /src/client/frameworks/runtime-src/Classes/BarrelScoreLabelNode.h | b8c1f1fefae8325f6c97fb7300bda4a14dba6162 | [] | no_license | z364012341/bubbleDragonSecondLua | 06b0189cc19bd5b4f960474c594c506075ac4925 | 6f4e842c00bcb70284ebf1dc899b5109fa0c061d | refs/heads/master | 2020-12-20T08:10:06.692513 | 2016-07-29T07:43:55 | 2016-07-29T07:43:55 | 52,584,020 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,520 | h | //*******************************************************************************
//类名称 : BarrelScoreLabelNode
//功能 : <桶上的分数标签node>
//-------------------------------------------------------------------------------
//备注 : <>
//典型用法 : <>
//------------------------------------------------------------------------... | [
"734689022@qq.com"
] | 734689022@qq.com |
5b2962fdcee2d432beb4f503a03d2664c94df59b | 57012b1a1c6668e72f0a43403cce79e3da1351d2 | /codes/exercicio_01/exercicio_01.ino | 67bf19cad69b61bc33a16b921b3ad80663f872e4 | [
"MIT"
] | permissive | Atzingen/Workshop-Arduino | aa95f70c8d631b81674f700affd0b682e85e4d55 | 20f1bfbcdfbc763b1b056452ce51b3a183c06001 | refs/heads/master | 2021-01-23T06:58:46.434961 | 2017-03-28T04:28:55 | 2017-03-28T04:28:55 | 86,414,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 682 | ino | /*
Workshop de Arduino
Semana da computação 2017
IFSP Campus Piracicaba
-----------------------------
Exercicio 01
Crie um semaforo que fique:
6 segundos no verde,
2 segundos no amarelo,
8 segundos no vermelho.
Use a imagem para ajudar a fazer as ligações na placa
*/
// Defi... | [
"gustavo.von.atzingen@gmail.com"
] | gustavo.von.atzingen@gmail.com |
781c5ba3509f5946eb004eef5e84ff541f22069c | 4759e5e868f6c6befa1a8c1a0e076dd48ff73078 | /plugins/hid/hidpoller.h | 1bb972a01c0b043b4e5cdb9d1937095c74a21b27 | [
"Apache-2.0"
] | permissive | interzona/qlcplus | bcf18ced749463e7d01e1df257304749902776f0 | f251dd1d62f40dba88821f19462f5174092b38da | refs/heads/master | 2023-08-28T12:59:53.957710 | 2014-03-11T13:15:42 | 2014-03-11T13:15:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | h | /*
Q Light Controller
hidpoller.h
Copyright (c) Heikki Junnila
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.txt
Unless required b... | [
"massimocallegari@yahoo.it"
] | massimocallegari@yahoo.it |
fed71287ced8f1fb6f459ca660afb9945f282149 | 2e4dc385ea685671e91ec31d85c82a58f197efb6 | /content/browser/web_package/signed_exchange_subresource_prefetch_browsertest.cc | 07b9da2bcb8c454b1a6f02c4fe0f35a771a02a85 | [
"BSD-3-Clause"
] | permissive | Gimshanden/chromium-1 | 2e7198fd50d3b57541670431708db65a54e10a2b | c6cd297de7eb827cb07a60bc03522dd15b2479ae | refs/heads/master | 2022-12-22T22:12:38.596237 | 2019-06-03T12:34:04 | 2019-06-03T12:34:04 | 179,655,220 | 0 | 0 | NOASSERTION | 2019-06-03T12:34:05 | 2019-04-05T09:35:04 | null | UTF-8 | C++ | false | false | 82,957 | cc | // Copyright 2019 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 <string>
#include <vector>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/run... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
dcef0ffb84820c3f68d8bb0cec5a6a6e2766de7f | addf8e184d28f788288f4380cec15a1bd66c6727 | /ch13/13_34_36_37.h | b579966d2712c65fbd47a7cede1a11bf594395e8 | [] | no_license | UnendingGlory/Cplusplus_Primer | 6b33146ed51588376f7338789a2afc62300fa191 | 3bf93bd2bd860ee035e0aaa48b22fc8d7917b69d | refs/heads/master | 2023-02-01T18:42:17.684340 | 2020-12-17T06:17:50 | 2020-12-17T06:17:50 | 298,213,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | h | // 定义和实现应该分开较宜
#ifndef CH_13_34_36_37_H
#define CH_13_34_36_37_H
#include <string>
#include <set>
using std::string; using std::set;
class Folder;
class Message{
friend class Folder;
friend void swap(Message &, Message &);
public:
// folders被隐式初始化为空集合
explicit Message(const string &str = "") : content... | [
"1670995411@qq.com"
] | 1670995411@qq.com |
a07411b61efb34039c41a2cc33f5aaf695bb25a3 | 82ace9a87b29e06f486764bd85cc3bde877d4f65 | /Drafts/place.h | 2d5dfb514e01660d4cacf9fc657644d963abbe02 | [] | no_license | janiceyip/errands-organizer | 1e30f81b830128e2b961263be5a53d9e192352db | 645927461ea47b29bf48a86b4abc187faa30ed77 | refs/heads/master | 2020-04-08T21:47:57.688098 | 2015-03-14T18:08:49 | 2015-03-14T18:08:49 | 30,620,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | //
// place.h
//
//
// Created by James Chin on 2/14/15.
//
//
#ifndef ____place__
#define ____place__
#include <stdio.h>
#include <iostream>
#include <map>
#include "errands_org_globals.h"
using namespace std;
struct node {
int openHr;
int closeHr;
int open;
};
class Place {
priv... | [
"jamescew@gmail.com"
] | jamescew@gmail.com |
2bc9e55bbd3f5e82029fe1dc23f9c4f8cebfa290 | fc9509b72acc753eaae129a1fcb27cd9f8ee56b0 | /zhengtu/mcode/Logon/ArcNet/shared/Log.h | 61a418fba2462902e0326d7fb5dffdc995abee0e | [] | no_license | edolphin-ydf/hydzhengtu | 25df5567226c5b7533e24631ae3d641ee0182aa9 | 724601751c00702438ffb93c1411226ae21f46a0 | refs/heads/master | 2020-12-31T03:25:48.625000 | 2012-10-24T10:58:00 | 2012-10-24T10:58:00 | 49,243,199 | 2 | 1 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,751 | h | #ifndef WOWSERVER_LOG_H
#define WOWSERVER_LOG_H
#include "Common.h"
#include "Singleton.h"
class WorldPacket;
class WorldSession;
#define SZLTR "¡¾ArcNet¡¿"
#define SZLTR_LENGTH 11
#define TIME_FORMAT "[%H:%M]"
#define TIME_FORMAT_LENGTH 8
enum LogType
{
WORLD_LOG,
LOGON_LOG
};
extern SERVER_DECL time_t UN... | [
"hyd998877@gmail.com"
] | hyd998877@gmail.com |
599bf6bf2c71f574020ce17514c8834d3cbd3a02 | baff6598930f37022326db33cb4c097bcf387eec | /Chapter 11/11.5_mytime1.cpp | 6249c1aedc0cf645dac62e2d1e59ef2754c17b2c | [] | no_license | NeraSnow/Cpp-Primer-Plus-Note | f18f405c8f8d1360a121d7f9a1d79f265389d8a9 | 34d2d35045a0e545cde1222b80facc7624498189 | refs/heads/master | 2020-05-05T09:17:30.353399 | 2019-04-06T23:35:18 | 2019-04-06T23:35:18 | 179,897,865 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | // mytime1.cpp -- implementing Time methods
#include <iostream>
#include "11.4_mytime1.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m)
{
hours = h;
minutes = m;
}
void Time::AddMin(int m)
{
minutes += m;
hours += minutes / 60;
minutes %= 60;
}
void Tim... | [
"cbz1998@gmail.com"
] | cbz1998@gmail.com |
b5a9c6101cb91488345c116dd4e35f4ae7249a09 | 935864ea85f1f16b0df9aab5f9fbae2a4c99f725 | /bits/countones.cpp | 9fbad8ca1670f1c500ca3aa03b333c0af4d54b0a | [] | no_license | dengsitao/algo | bf0c4247bb8f161516206bfeee4dd58bcbc6b2f2 | 861d2754db68b53521216ceeae28aa42b8fbd784 | refs/heads/master | 2022-08-16T15:39:32.476997 | 2022-06-26T16:47:25 | 2022-06-26T16:47:25 | 30,485,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | /**** count how many 1s are there in a binary number ***/
#include "stdio.h"
#include "stdlib.h"
int main(int argc, char * argv[])
{
if (argc!=2) {
printf("input a number\n");
return -1;
}
int input = atoi(argv[1]);
printf(" %d has ", input);
int count=0;
while(input!=0) {
if (input%2==1) count++;
inp... | [
"dengsitao@gmail.com"
] | dengsitao@gmail.com |
edb0846271d72b2843d52d240819793590f20701 | f29d89b8f15fae5000a681cf5e4d544ebd0dfff3 | /Reazi/src/Platform/Windows/WindowsWindow.cpp | 56b380023952803334014a441750dc33dfd270ad | [] | no_license | PassWorld44/Reazi | 74bd1782f2b9a9e6f0d7f296eccaa40b680aa2b7 | 0dcddc6c767d6ca4207a664d7e5eeee38d66b96a | refs/heads/master | 2023-03-08T17:49:29.139521 | 2021-02-27T11:56:03 | 2021-02-27T11:56:03 | 265,594,844 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,679 | cpp | #include "rzpch.h"
#include "WIndowsWindow.h"
#include "Reazi/Core.h"
namespace Reazi
{
static void GLFWErrorCallBack(int error, const char* description)
{
RZ_CORE_ERROR("GLFW error : ({0}) {1}", error, description);
}
Window* Window::create(const WindowProps& props)
{
return new WindowsWindow(props);
}
... | [
"emile.bondu@gmail.com"
] | emile.bondu@gmail.com |
bfa6e128d2746b730107932d3ae96c0d62299eaf | 425eda84d20e106af7bf5ecf9abac75df1a89aa9 | /include/Enemy.hpp | 2f6d1b42f416ee54f287eb9c79f263d3955ee428 | [] | no_license | RyanThomasTech/OOPDungeonCrawl | 42f4925123be5ec56263c0fd603297309287382b | 0655e62a3dbff05c9da1915a9c1ca13fb1e0b92a | refs/heads/master | 2020-03-08T12:22:53.534486 | 2018-04-04T21:35:56 | 2018-04-04T21:35:56 | 125,759,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | hpp | #ifndef ENEMY_HPP
#define ENEMY_HPP
#include "CombatUnit.hpp"
class Enemy:public CombatUnit{
protected:
int turnCounter;
bool active;
public:
bool IsActive();
void IsActive(bool value);
Enemy(std::string name, int health, int damageMod);
std::string name;
virtual void TakeTurn(CombatUnit* target) = 0;... | [
"narraturgy@gmail.com"
] | narraturgy@gmail.com |
ccc6d85f4a725817fc194bb4e45b0bfc5479990f | 12fde347f8d0439cf30d780b77e6000e268ee819 | /Day-6/flood_fill.cpp | 7c4239f66f2907570e9e7babf9002bbe63000b81 | [] | no_license | gauravtrivedi967/CODES-DSA | 27492c4512b41095600b63426a75072e34b8a4f0 | d9ce3bfcc3b7767718396e58c0e7478f381e0b1c | refs/heads/main | 2023-06-14T01:24:14.302606 | 2021-07-13T16:51:34 | 2021-07-13T16:51:34 | 381,110,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | class Solution {
public:
vector<vector<int>> floodFill(vector<vector<int>>& image, int sr, int sc, int newColor) {
int ori_color=image[sr][sc];
if (ori_color!=newColor)
dfs(sr,sc,image,ori_color,newColor);
return image;
}
void dfs(int r,int c,vector<vector<int>>&imag... | [
"gauravtrivedi967@gmail.com"
] | gauravtrivedi967@gmail.com |
739df3fd25f238dfcc1fb347ed3ed8cd73c3c5d9 | c681508bf3ad18a832389c402a5029acf6e8c72f | /testing/testing_ssytrf.cpp | 43c30e865e71fa17855175dc1f62230e3f9fdfc6 | [] | no_license | xulunfan/magma | 6f058ed0e288ecfc88a4ecc3711ad17faf74cb18 | b4e228e14cc1046861c8f38803743d784b06b9bf | refs/heads/master | 2021-01-21T15:50:21.484822 | 2016-02-10T15:08:42 | 2016-02-10T15:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,936 | cpp | /*
-- MAGMA (version 2.0.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date February 2016
@generated from testing/testing_zhetrf.cpp normal z -> s, Tue Feb 9 16:06:07 2016
@author Ichitaro Yamazaki
*/
// includes, system
#inc... | [
"maxhutch@gmail.com"
] | maxhutch@gmail.com |
20b3512888d7326c559b4e4a19b7db60df285c84 | ead1807fd97bc4ddff17988f572b4bccac04011d | /project/build/jsb-default/frameworks/cocos2d-x/cocos/network/CCDownloader.cpp | 70fd04b4a4abc2e5aff26b0d47a46a749d9e152f | [
"MIT"
] | permissive | bbx0331/Luke | e1e6cdcc9c30ee3c52d00987e498fbc899a81dac | 5dba7de93fa7fec66359a16882a7e90e7dcc6660 | refs/heads/master | 2021-01-25T12:49:31.962384 | 2018-08-01T15:45:00 | 2018-08-01T15:45:00 | 123,515,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,372 | cpp | /****************************************************************************
Copyright (c) 2015-2016 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaini... | [
"zhaonanyu@a-onesoft.com"
] | zhaonanyu@a-onesoft.com |
b6b9ce10420029ae1260d3f0a9b94abf8b9e6225 | e1fa3f6996632f2ef456e541d6b26ef0f1d90839 | /DSA Preparation 450/Bit Manipulation/Non Repeating Numbers.cpp | dc3505b87b385d782f5d96a4f675167c299eb704 | [
"MIT"
] | permissive | gauravk268/Placement-Preparation | 2c22a6c5b9c9a8a3995b16b8663243f4d3fda451 | 10448504db2757d7205dda19a6a275b44953320f | refs/heads/main | 2023-08-11T17:19:06.905483 | 2021-10-01T05:11:56 | 2021-10-01T05:11:56 | 372,550,894 | 6 | 4 | MIT | 2021-05-31T15:23:27 | 2021-05-31T15:23:26 | null | UTF-8 | C++ | false | false | 978 | cpp |
Expected Time Complexity: O(N)
Expected Space Complexity: O(1)
Constraints:
1 <= length of array <= 106
1 <= Elements in array <= 5 * 106
Example 1:
Input:
N = 2
arr[] = {1, 2, 3, 2, 1, 4}
Output:
3 4
Explanation:
3 and 4 occur exactly once.
Example 2:
Input:
N = 1
arr[] = {2, 1, 3, 2}
Output:
1 3
Explana... | [
"noreply@github.com"
] | gauravk268.noreply@github.com |
ea1c5fb3f450c020246facf3df4b7df2a90f487f | 2d2ea7a009644c9ab9b342dc8c9a35070bd1abd8 | /aabb.h | 47dac9ebab35f7bfd68287fff268f71e1454b6b8 | [] | no_license | La-Luna/RayTracer2.0 | a4b9ed9cf837ab623b3ad495d82ba296f4a86db9 | 461c648c9d5a89c58d475d7d13df513e41daa665 | refs/heads/master | 2023-01-05T01:36:53.090154 | 2020-11-08T14:10:14 | 2020-11-08T14:10:14 | 307,358,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | h | #ifndef AABB_H
#define AABB_H
#include "vec3.h"
#include "rtweekend.h"
#include <iostream>
class aabb{
public:
aabb(){};
aabb(const points3& a, const points3& b) :_min(a), _max(b){};
points3 min(){ return _min; }
points3 max(){ return _max; }
bool hit(const ray&r,double tmin,double tmax)const{
for (int a = 0; a ... | [
"la_luna2019@outlook.com"
] | la_luna2019@outlook.com |
87ae1b19c64010e026397b936c71d20f41d4dc79 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13741/function13741_schedule_9/function13741_schedule_9_wrapper.cpp | b843c48505280a45fbf7206bd0f08fc7099ab0f5 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,189 | cpp | #include "Halide.h"
#include "function13741_schedule_9_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(512);
Halide::Buffer<int32_t> buf01(128, ... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
e2e5bc8837f6cee24716d0de5651d66d30663aab | 1afec3e10c24e43da24c77aa681e582e06f4e7d8 | /c/hazard-pointer/stack.cpp | 8e3f069a7fc2243cd4961c81189d8ccadd93e454 | [] | no_license | jeffreywugz/code-repository | 8ade372c334f9ce74ff927f5b9c4a8f4c7fe7deb | 163ede173179309daa3b29a81f0e93ee51da0896 | refs/heads/master | 2020-04-20T13:13:06.606368 | 2014-07-18T06:56:15 | 2014-07-18T06:56:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | struct Node
{
Node* prev_;
void* data_;
};
class ThreadId
{
int64_t get_id();
};
template<int64_t max_n_thread, int64_t n_pointer>
class HazardSet
{
public:
HazardSet(): pointers_(NULL) {}
~HazardSet() {}
public:
int init(int64_t n_thread, int64_t n_pointer_per_thread, void* pointers);
int6... | [
"huafengxi@gmail.com"
] | huafengxi@gmail.com |
4cdeaf89c766b1c12ea62ca44569b08767942d99 | 10081a0b5a2af99d7fce36c54ce4c3101d160b98 | /catkin_ws/devel/include/cartographer_ros_msgs/SubmapQueryResponse.h | c48fd5c940ecca8631459f4ae236e11e4c7e2d52 | [] | no_license | Huangxiaoming1314/AR_Robot | 5d41e12e49ea2a7fc6c9aabcb814f209cc414871 | c18bb06ed555d955678d27c546ec69504c95f1c1 | refs/heads/master | 2020-04-30T23:26:09.518719 | 2019-03-23T09:08:32 | 2019-03-23T09:08:32 | 177,144,004 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,328 | h | // Generated by gencpp from file cartographer_ros_msgs/SubmapQueryResponse.msg
// DO NOT EDIT!
#ifndef CARTOGRAPHER_ROS_MSGS_MESSAGE_SUBMAPQUERYRESPONSE_H
#define CARTOGRAPHER_ROS_MSGS_MESSAGE_SUBMAPQUERYRESPONSE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serializatio... | [
"www.dnng@qq.com"
] | www.dnng@qq.com |
008ed8ad665ffe71a62da6bdebee9745ecb2d5f8 | 368ac143d0c385f0c9b717a31556e79575212db6 | /Patterns/patterndoublesidedarrows.cpp | 569ac869ff0cae4fb816759bf20da4d545b7a33d | [] | no_license | anmolgulati10/Algo | a197127928ae4cb4b2ffc7d52160da874154b865 | d0956b818fdb748430eaa87a0f82815c22134eef | refs/heads/master | 2020-09-02T10:07:42.460629 | 2020-01-12T14:45:30 | 2020-01-12T14:45:30 | 219,197,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | #include<iostream>
using namespace std;
int main() {
int space1,space2,star1,i,j,x,n;
cin>>n;
space1=n-1;
space2=-1;
star1=1;
x=1;
for(i=0;i<n;i++)
{
for(j=0;j<space1;j++)
{
cout<<" "<<" ";
}
for(j=0;j<star1;j++)
{ if (star1==1)
{cout<<x<<" ";}
else
{
cout<<x<<" ";
x--;
}
}
... | [
"gulati.anmol10@gmail.com"
] | gulati.anmol10@gmail.com |
046a4009255181be4bc79f413c9616ef6c039d3c | 2095c1b2b95a69a950615a30354326a990120f99 | /defcreatureparent.h | 3c03dc54987a64e191435ad80d1d23bec536ac37 | [] | no_license | NoRizan4/test | ee2b457779651f7cd262c52b82a0bdcffebcfcaa | 3a873dabb74a19ac4c7ebd009863a3859f311132 | refs/heads/master | 2022-11-12T15:41:39.330988 | 2020-06-28T16:58:21 | 2020-06-28T16:58:21 | 268,706,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,699 | h | #ifndef DEFTOWERPARENT_H
#define DEFTOWERPARENT_H
#include <QString>
#include "monster.h" //小怪类头文件
//生物父类
class DefCreatureParent
{
protected:
//塔
int mx,my; //坐标
int width,height; //宽高
QString DefImgPath; //防御塔图片路径
int RotatAngle = 0; //防御塔旋转角度
int UpLeftX, UpLe... | [
"911533819@qq.com"
] | 911533819@qq.com |
d275c2093c6284925662b6bfc8f5a01e939150ea | 50717a8b735bc4c162d107a2bec297bb1eb80f90 | /protos/scene_area_service.grpc.pb.cc | 85cbd75fae6a299150f726fdaddd2dd99edc7992 | [] | no_license | zhabh/grpc_client_server | 92bdf822621373cdda27a93fb121520e34ea00ce | f70ad52221bf5ca37c5c8b68cd53fab266d138c1 | refs/heads/master | 2020-04-09T11:43:16.558049 | 2018-12-04T08:48:08 | 2018-12-04T08:48:08 | 160,321,393 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,080 | cc | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: scene_area_service.proto
#include "scene_area_service.pb.h"
#include "scene_area_service.grpc.pb.h"
#include <grpcpp/impl/codegen/async_stream.h>
#include <grpcpp/impl/codegen/async_unary_call.h>
#include <grpcpp/impl/... | [
"zhabinghua@163.com"
] | zhabinghua@163.com |
97a847ed423dba08a25c2d204cda815c42c6dfd5 | c34340772727afbf946de4d8767a33d97b2a74f3 | /src/Program.cpp | 5d0f7662821c3a628c94402795c03d4b15636b70 | [] | no_license | AlecWilliams/ELGS | e2386d9d3742ffd83405ddd28ea2ed6b4de9cce0 | 6c15d8e0d729c40a46eb0ae0a30b4f6d68a96c74 | refs/heads/master | 2023-01-24T05:49:22.950049 | 2020-11-29T22:54:47 | 2020-11-29T22:54:47 | 250,403,937 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,322 | cpp |
#include "Program.h"
#include <iostream>
#include <cassert>
#include <fstream>
#include "GLSL.h"
std::string readFileAsString(const std::string &fileName)
{
std::string result;
std::ifstream fileHandle(fileName);
fileHandle.seekg(0, std::ios::end);
result.reserve((size_t) fileHandle.tellg());
fileHandle.seekg... | [
"alecvwilliams@hotmail.com"
] | alecvwilliams@hotmail.com |
8691cc19525cb73ee6fa73b6cdfd3e53c8fd25fe | 4b6fe0d8a552fe76a8f42ad25960a6cea9a41406 | /VSSimDB/VSEventSupplierChainedTables.hpp | 42cf5cd0373482fa5daabb6bf9db6197153a3496 | [
"BSD-3-Clause"
] | permissive | sfegan/ChiLA | 769aef0486b94b5c3281273946c74b471a6a7ef2 | 916bdd95348c2df2ecc736511d5f5b2bfb4a831e | refs/heads/main | 2021-07-30T16:24:06.076214 | 2016-02-10T08:10:02 | 2016-02-10T08:10:02 | 51,363,796 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | hpp | //-*-mode:c++; mode:font-lock;-*-
/*! \file VSEventSupplierChainedTables.hpp
Input of events from database tables in a chained configuration
\author Stephen Fegan \n
UCLA \n
sfegan@astro.ucla.edu \n
\version 0.1
\date ... | [
"sfegan@gmail.com"
] | sfegan@gmail.com |
81908a3ccfd5cdef456f93305e95f09f4cb37c44 | b5277b9f7e82da01c1f31368492e50d21e798303 | /testboost/stringAndText/string_algo/string_algo_example.cpp | afa10be238ed1ff4f1b2f7997bc5ca7c516eb9f2 | [] | no_license | tantaijin/testBoost | 3646ac55eda4e71b7f60295d262a94778f9f2637 | 86763e8b6505f47d0608c0355b1fdef2b0bd5634 | refs/heads/master | 2021-05-07T01:23:03.342499 | 2018-02-01T15:04:44 | 2018-02-01T15:04:44 | 110,249,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,823 | cpp | #include "stdafx.h"
#include "string_algo_example.h"
#include "boost/format.hpp"
#include "boost/typeof/typeof.hpp"
#include "boost/algorithm/string.hpp"
#include "boost/assign.hpp"
void test_string_algo()
{
string str("readme.txt");
if (boost::ends_with(str, "txt"))
{
cout << boost::to_upper_copy(str) << endl;
... | [
"2642058010@qq.com"
] | 2642058010@qq.com |
4094a61ffeb9c896202022a776b28d0a8f7d4e95 | 4866530b4f390e29a7975e33653920d747fd613c | /CLIENT168_RC14h_OK/1.68RC14h/Client/T4C Client/NewInterface/CharacterUI.cpp | 1e1ed5f40d498283a81ed1fa9d0b0935a135a48b | [] | no_license | NyouB/Client | 5494cf05f94cc9f0fdd982dfaec9d61cb9a5b9ec | 7fa6abfaf39ef02a561567c2f0760337c8e64f8a | refs/heads/master | 2023-03-17T03:16:12.646503 | 2017-05-19T17:44:48 | 2017-05-19T17:44:48 | null | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 58,143 | cpp | #pragma warning( disable : 4291 )
#include "../pch.h"
#include "RootBoxUI.h"
#include "CharacterUI.h"
#include "../Bitmap.h"
#include "ChatterUI.h"
#include "InventoryUI.h"
#include "../tileset.h"
#include "../app.h"
#include "..\SaveGame.h"
#include "..\GUILocalString.h" //g_GUILocalString[]
extern Bitmap GridID;... | [
"melodiass@com-db.fr"
] | melodiass@com-db.fr |
9288162600da0f0d343bbdc0459a51e76c010bd6 | 4434910c965bf51c945e95f590422198d24d303a | /Design/208. implement-trie-prefix-tree.cpp | 95615cd0ca4a06d50d4aee42f9e307bc6688a663 | [] | no_license | utkarsh914/LeetCode | 7ca325e130a0b420603e7899562f7a463a765748 | 93d4c2a62e553f13ecc6f3506e91a597bf901ceb | refs/heads/main | 2023-08-14T20:30:49.174023 | 2021-09-17T13:12:23 | 2021-09-17T13:12:23 | 338,639,989 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | cpp | // https://leetcode.com/problems/implement-trie-prefix-tree/
class Trie {
// custom node class (each node will contain a single character of word)
class Node {
char data;
bool complete;
int children;
vector<Node*> next;
public:
// constructor
Node(char c='*', bool comp=false) {
data=c, co... | [
"utiwari914@gmail.com"
] | utiwari914@gmail.com |
31d2bcc17ecc2c970ff152311320789b1e0bf01d | 92dd300a76e8d32d1bb9fa3e5158c5963782ff01 | /Source/lua-common/LuaContext.cpp | 87e61c85de23a2b5082a1ff0b3af6e62c619e8bf | [
"Apache-2.0"
] | permissive | peiandsky/LuaScriptCore | 27d18e574d7501ab8d2d16413adaf60304f8d8ae | 7608117cf23ceeb5b5012051341db5cc873a0900 | refs/heads/master | 2021-04-29T06:54:56.157093 | 2016-12-22T07:56:36 | 2016-12-22T07:56:36 | 77,988,766 | 1 | 0 | null | 2017-01-04T06:40:33 | 2017-01-04T06:40:33 | null | UTF-8 | C++ | false | false | 11,563 | cpp | //
// Created by vimfung on 16/8/23.
//
#include "LuaContext.h"
#include "LuaValue.h"
#include "LuaModule.h"
#include "LuaPointer.h"
#include <map>
#include <list>
#include <iostream>
#include <sstream>
static int methodRouteHandler(lua_State *state) {
cn::vimfung::luascriptcore::LuaContext *context = (cn::vimfu... | [
"vimfung@qq.com"
] | vimfung@qq.com |
ca769e18a4f1b0a27aeae42bc2d43b17c1c4314c | df67d76280888a71b32dfac47ba9c9d743239871 | /src/RegionCosts.h | 47e74d07ff73795d60387675b6e33bf8e6524fd7 | [
"MIT"
] | permissive | TUE-EE-ES/HalideReuseScheduler | 3a4fe6ad85f99ec0ec27e5414ee4a2cc3321a297 | 3700c3b14a7f2116fe1d8503942dff069a8c4d9a | refs/heads/master | 2022-12-19T08:04:55.612922 | 2020-09-24T12:49:55 | 2020-09-24T12:49:55 | 274,900,747 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,846 | h | #ifndef HALIDE_INTERNAL_REGION_COSTS_H
#define HALIDE_INTERNAL_REGION_COSTS_H
/** \file
*
* Defines RegionCosts - used by the auto scheduler to query the cost of
* computing some function regions.
*/
#include <limits>
#include <set>
#include "AutoScheduleUtils.h"
#include "Interval.h"
#include "Scope.h"
namespa... | [
"ssioutas@co23.ics.ele.tue.nl"
] | ssioutas@co23.ics.ele.tue.nl |
62142a3b40b501af16ce8905aad293dd02cd3799 | 4909489caa5f8c81123d1b8419fa185d62f16a97 | /src/robot/commands/toggle_collector.cpp | 24074f3073c78524aa2ec00173e90df5c5ce636a | [
"MIT"
] | permissive | Lukanite/FRC-14 | 25f7217940557a02689c69efe5aace6c62508b97 | 0f0193c254ce3c05903aa7e59008a0bf6e76dfa0 | refs/heads/master | 2021-01-24T19:50:04.175210 | 2014-11-05T23:19:18 | 2014-11-05T23:19:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | cpp | #include "toggle_collector.hpp"
#include "../subsystems/subsystems.hpp"
Toggle_Collector::Toggle_Collector() {
Requires(Subsystems::tilter);
}
void Toggle_Collector::Initialize() {
Subsystems::tilter->toggle_position();
}
bool Toggle_Collector::IsFinished() {
return true;
}
| [
"will@wkunkel.com"
] | will@wkunkel.com |
287868bd8c2b99ef1f8079d9c667e4acd254adcc | ddb41d3041671b2d3c440adc76a1136bba4c8574 | /exceptional-server.cpp | 8767e7fac037a8c6f7ad6968701fc66912daab8a | [] | no_license | ashikp/hackerrankcpp | 79af0ddad150efca4a8cc6fc08df03c24c2eafae | 8980ace5ee2c36146026dc8e91303ff0cf791f17 | refs/heads/master | 2023-01-13T16:39:00.766411 | 2020-11-15T18:36:21 | 2020-11-15T18:36:21 | 312,628,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | try {
cout << Server::compute(A, B) << endl;
} catch (bad_alloc& e) {
cout << "Not enough memory" << endl;
} catch (exception& e) {
cout << "Exception: " << e.what() << endl;
} catch (int e) {
cout << "Other Exception" << endl;
}
| [
"root@DESKTOP-S0HQPFK.localdomain"
] | root@DESKTOP-S0HQPFK.localdomain |
26a5cfecd40e53d619d46bf56b24c447995fd167 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2449486_1/C++/premprakash90/Lawnmover.cpp | 23e25fe42e4ecd57c864f81f12a9846d79e1f53f | [] | 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,853 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstd... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
5c4a0a517bf40475a26e878885d1a9c7bdd83092 | b93422d469c969dd9d94ac6bbe5acf7987685256 | /LearningCPlusPlus/Source/LearningCPlusPlus/Private/BulletProjectile.cpp | fc0d6be14628bb94e5f1f01eb0f8803566221bd7 | [] | no_license | soulofwolf1/LearningCplusplus | 944966648be2a105fe77cd9881f0e91e95e436eb | 9869c524c832a98991d27fe39dcf750a393b6933 | refs/heads/master | 2020-03-23T06:05:00.874042 | 2018-07-19T05:07:34 | 2018-07-19T05:07:34 | 141,187,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BulletProjectile.h"
// Sets default values
ABulletProjectile::ABulletProjectile()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTi... | [
"shardfalldev@gmail.com"
] | shardfalldev@gmail.com |
6a672f2b3e8a37f672209d44fc2147ad88e43de1 | 860df18d2984bfb1b5b4c0181b71500fd7fec203 | /main.cpp | bdc9fd2bab6d6d68566513b6bd6f930edf8f3993 | [] | no_license | karthikswarna/Two-Pass-Assembler | c7c6bbfed6f771a01e85942509ae122d38642ce0 | f052c5387510dbbafb189d19e6443f8b6be002ec | refs/heads/master | 2021-10-28T03:47:25.589103 | 2019-04-21T19:21:39 | 2019-04-21T19:21:39 | 182,361,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,371 | cpp | #include<stdio.h>
#include<iostream>
#include<cstdlib>
#include<string>
#include<cstring>
#include<vector>
#include<algorithm>
#include<fstream>
#include<bitset>
using namespace std;
/*
rrr = reg reg reg
rri = reg reg imm.
rrl = reg reg logical
rrb = reg reg addr.
ri = reg imm.
... | [
"noreply@github.com"
] | karthikswarna.noreply@github.com |
7b40be4b840fc33528527c4ba8e5ae55927814c7 | 3f08146ffde0a1863bfa7ca615894ac22e7ce6a6 | /Experimentation/Investigations/plans/CurrentExperiments.hpp | 7b578b2b786b613078558ce4a26f3d1ce34dbf76 | [] | no_license | MLewsey/oklibrary | 27e05025e5ce349d89c4e9e87c122c19b9e94512 | 4824bc0e9ce015190f7b99245c7ffe0427de2347 | refs/heads/master | 2021-01-18T10:42:17.262955 | 2009-09-15T08:18:21 | 2009-09-15T08:18:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | hpp | // Oliver Kullmann, 3.6.2009 (Swansea)
/* Copyright 2009 Oliver Kullmann
This file is part of the OKlibrary. OKlibrary is free software; you can redistribute
it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation and included in this library; either version 3 ... | [
"O.Kullmann@Swansea.ac.uk"
] | O.Kullmann@Swansea.ac.uk |
97eb7b6cd2407f2f2a682e51e069dc9dc4d966d3 | 49bd331f56ddb63201fec48435a2471365b7cfdd | /FIREprogram/jtvgrp.h | 83e52fe544d671163c87bb5c9e8b9a2b24fab82e | [] | no_license | NIRANKEN/jammingSimulation | 30365a9118c76c8a773d6aab764dd666de9daca5 | 1d45ec0fd79205a769165cd925680fef7baa9fb9 | refs/heads/master | 2021-09-23T21:48:44.731372 | 2018-09-27T22:42:48 | 2018-09-27T22:42:48 | 109,472,863 | 1 | 1 | null | 2017-11-25T07:30:26 | 2017-11-04T06:33:33 | C++ | UTF-8 | C++ | false | false | 16,025 | h | #ifndef _JTVGRP_H_
#define _JTVGRP_H_
#include "jttool.h"
#include "nr.h"
#include "MT.h"
#include <vector>
#include <limits>
namespace JT
{
struct NNset
{
int child;
int parent;
};
//--------------------//
//-------JT func------//
//----(jtfunc.cpp)----//
//--------------------//
namespace... | [
"nira.xvaiq183.nira@gmail.com"
] | nira.xvaiq183.nira@gmail.com |
8d45dd766e51a57c9bb060aa8a9576d3c624e975 | 50a13ac3614118ac90d4745cdbd8860b68dda94b | /HrCocos/HrCocosFramework/HrFramework/Param/HrParam.cpp | 77661b2135050b0b1f46af703911dcef1d2005ee | [] | no_license | nincool/HrGameFramework | b591adfd8cf744cf37cc67fdceb6ed16458cd757 | dd9730f631f0debaa3a938c6c3735f3c85701bc6 | refs/heads/master | 2021-01-22T20:08:51.327395 | 2018-09-18T10:00:22 | 2018-09-18T10:00:22 | 85,284,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 60 | cpp | #include "HrFramework/Param/HrParam.h"
using namespace Hr;
| [
"howieren120"
] | howieren120 |
92fcf9b11315d24d2821bb4cc6da6a913229e5f8 | 3a60374766f5b41f12676df917f4616c5a6f25c8 | /programming/1-1/객체지향프로그래밍/c++/lab5&lab6/응용/1.cpp | 61bd97c57cbfc1e1109f5ee23d74369233dd1fbd | [] | no_license | adfa0117/UniversityProject | cc21af9f8635c1d3f359b3cafe2e57208aa042ec | 263fdaf4791be45704b46efc11d1d811efce281a | refs/heads/master | 2023-04-20T23:32:03.954431 | 2021-04-29T10:25:34 | 2021-04-29T10:25:34 | 362,775,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include <iostream>
using namespace std;
int main(){
for(int i = 1; i <= 5; i++){
int num;
cout << i << "번째 정수 : ";
cin >> num;
if(num%2 == 0){
cout << num << "은(는) 짝수입니다." << endl;
}
else{
cout << num << "은(는) 홀수입니다." << endl;
}
}
return 0;
} | [
"dlawo4339@khu.ac.kr"
] | dlawo4339@khu.ac.kr |
9299ba79c903d7c6e9cb6a11445e7543bc853818 | 289427264d0f37b216d5f75df01fbd9361de6920 | /Source/Project_MFG/Private/Objects/MFG_ElectricityGen.cpp | 717edc9f33215c51c15537941bb7c69d83ad6a66 | [] | no_license | hardguns/Project_MFG | c1e12bd24fd2be95c650c85ee4969dfc39e10e43 | dc908c6b037a3f019d8eafdf915e4b2b8a752758 | refs/heads/master | 2023-04-19T20:22:17.467064 | 2021-05-19T03:02:37 | 2021-05-19T03:02:37 | 295,558,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,756 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Objects/MFG_ElectricityGen.h"
#include "MFG_Character.h"
#include "Components/StaticMeshComponent.h"
#include "Particles/ParticleSystem.h"
#include "Kismet/GameplayStatics.h"
#include "MFG_EPlatform.h"
#include "Objects/MFG_Activ... | [
"hardguns1995@gmail.com"
] | hardguns1995@gmail.com |
92beb550a93c90f51ac633a5121319c3da3e6209 | 24b0a9486db1b945cd9b7623d880377029670a9b | /libChardet/src/nsEUCTWProber.cpp | 710e413eb1db894d25e27ab0e68f39a046c0d1bc | [] | no_license | tmpprj/tmpprj | ea9fbe1e4f584cf1c80c287b1eac19ae18c2d9b6 | 1b1e19d01f6dbfdacdb3000778ca822e57862ca6 | refs/heads/master | 2020-05-17T23:55:36.397473 | 2009-11-08T21:04:37 | 2009-11-08T21:04:37 | 138,308 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cpp | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Licen... | [
"unb_skype@.(none)"
] | unb_skype@.(none) |
1218859051902a3f9665cfde86909aad4c11acc3 | 4d1805ee209fdf111642972a7f6838e2ce5ca39f | /vfs/FileSystem.h | 0c8740d5094c8569292c4631345495ab9b1cb842 | [] | no_license | DayOperatingSystem/Base | b58d46d8e7395f298ab8c6df700ab6d8c8ba2309 | d54802c419c6025cac68dc9a8cf371629b2e0473 | refs/heads/master | 2021-01-10T18:04:13.803913 | 2016-09-22T14:54:55 | 2016-09-22T14:54:55 | 54,015,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,248 | h | /*
* The Virtual File System of the DayOS
* Copyright (C) 2015 Yannick Pflanzer
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) a... | [
"yp1995@outlook.com"
] | yp1995@outlook.com |
7cea6f362ae9e913b3f4e69b75ae7fd95fa60a15 | 5de6dfc56c240917a09c9b25e76619176d35f51a | /CCGameFramework/base/json/cjast.h | 2cea25a79188acb73f28f38bcd007d6fcf7c0f69 | [] | no_license | luhaibo/GameFramework | a87380a91e17463a0b7c7cf2ddd17b69ef34dfb2 | 029fd4fe23ee13222b3f0591fc23ba32fc6154da | refs/heads/master | 2020-11-26T21:09:43.599862 | 2019-12-20T02:28:02 | 2019-12-20T02:28:02 | 229,205,368 | 1 | 0 | null | 2019-12-20T06:37:26 | 2019-12-20T06:37:25 | null | UTF-8 | C++ | false | false | 3,012 | h | //
// Project: clibjson
// Created by bajdcc
//
#ifndef CLIBJSON_CAST_H
#define CLIBJSON_CAST_H
#include "../parser2d/memory.h"
#define JSON_AST_NODE_MEM (32 * 1024)
#define JSON_AST_STR_MEM (16 * 1024)
namespace clib {
enum ast_json_t {
ast_json_root,
ast_json_obj,
ast_json_pair,
... | [
"bajdcc@foxmail.com"
] | bajdcc@foxmail.com |
885f0c8fb1d6a8ae3956f0cb449613f6ebc25aea | 2367a63e0e079a520ed998df0ba3de125b6b3460 | /Translator_file/deal.II/lac/cuda_kernels.h | 1fbc790ce8132ec5a62f7134708392476a631673 | [
"MIT"
] | permissive | jiaqiwang969/deal.ii-course-practice | e005804c506bc764b9e8a25a32b35d28b3fec203 | 0da5ad1537d8152549d8a0e4de5872efe7619c8a | refs/heads/master | 2023-06-03T16:35:07.191106 | 2021-06-19T04:13:02 | 2021-06-19T04:13:02 | 369,974,242 | 0 | 0 | MIT | 2021-06-15T09:04:32 | 2021-05-23T06:05:42 | C++ | UTF-8 | C++ | false | false | 12,816 | h | //include/deal.II-translator/lac/cuda_kernels_0.txt
// ---------------------------------------------------------------------
//
// Copyright (C) 2018 - 2019 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modif... | [
"jiaqiwang969@gmail.com"
] | jiaqiwang969@gmail.com |
1aa37c35582fbe616afff9c7d9a957658dd98d0a | 1b074eb7ab6aa244e3fb0c4135920ebda801ca64 | /ActividadIntegral1/main.cpp | 35a325a861e6d665b6be1759df8c3944de33372d | [] | no_license | Luis-ERP/DataStructuresCourseProjects | bb40ae23f1c114662b2dc37f965ade95001ba6d7 | 2e0c7fff42ad8937bc30a963eb8e314355eada68 | refs/heads/master | 2023-01-21T09:36:56.815691 | 2020-11-28T07:23:59 | 2020-11-28T07:23:59 | 297,229,566 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,048 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include "algorithms.h"
using namespace std;
// Functions declaration
vector<vector<string>> readData();
void writeData(vector<vector<string>> data, string fileName);
template<typename T>
void outputData(vector<vector<T>> data, int start, int e... | [
"43789189+Luis-ERP@users.noreply.github.com"
] | 43789189+Luis-ERP@users.noreply.github.com |
d4feb1f994bcfe6d232711601b25c31d76a9d788 | 6ec0fa53b1bb5a18e781b27acc970b5bd707d3db | /LeagueAccept/src/states/IdleState.h | 59c9dcd62952e4c574be5e3d302558d9106bce1e | [] | no_license | mundoex/LeagueAccept | 718117c78db6239ef3a72660674b1b7fb0a55a76 | 1e86d1b5b93ce121b5f48ec1c9055dcb54e8a251 | refs/heads/master | 2023-04-30T23:09:19.110810 | 2021-05-17T17:05:44 | 2021-05-17T17:05:44 | 235,217,570 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | #pragma once
#include "../ApplicationConstants.h"
#include "BaseState.h"
class IdleState : public BaseState
{
public:
IdleState(StateMachine* stateMachine, HMENU hMenu) : BaseState(stateMachine, hMenu){}
~IdleState();
void Render() override;
}; | [
"brunoserrao19@gmail.com"
] | brunoserrao19@gmail.com |
44ed0a9f41f37a2e8dba9628da356cc0150981b7 | 803ab43a60ebe3dca815ea5afd4a7100967b44c9 | /cores/teensy3/files/libraries/OSC/OSCTiming.cpp | 84575bc798f1e1337dde9a005648a97dc8d2890d | [] | no_license | UECIDE/Teensy3 | bd1c99469aedb6e24539b8ed08b727357e619171 | 22f9a7b80360ba7273308ff2f895840ee320e18a | refs/heads/master | 2016-09-10T17:04:43.845669 | 2014-12-02T18:20:53 | 2014-12-02T18:20:53 | 27,440,355 | 3 | 4 | null | 2015-04-09T01:15:23 | 2014-12-02T16:02:52 | C | UTF-8 | C++ | false | false | 4,124 | cpp | /*
Written by Adrian Freed, The Center for New Music and Audio Technologies,
University of California, Berkeley. Copyright (c) 2013, The Regents of
the University of California (Regents).
Permission to use, copy, modify, distribute, and distribute modified versions
of this software and its documentation without... | [
"matt@majenko.co.uk"
] | matt@majenko.co.uk |
7ecfc408a9fb6f63968a7928dcd0a6e91d949728 | 1573ac92241576f13069093c3d6a39fc8096f409 | /assign3/prog3.h | e2cbe34108f3e677f1c520106ec02d02e2a33e1c | [] | no_license | Wykillin/cs340 | 6b88bdf8f7bf5430dfe8fac0f3bc20a286f860dd | 6b71aee067a13178b8384c025ade5b541e21281f | refs/heads/master | 2020-12-24T08:37:37.410773 | 2019-02-20T21:50:48 | 2019-02-20T21:50:48 | 73,333,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275 | h | #ifndef prog3_h
#define prog3_h
#include <iomanip>
#include <iostream>
#include <iterator>
#include <stdlib.h>
#include <iterator>
#include <set>
const int NO_ITEMS = 16;
const int ITEM_W = 4;
void sieve(std::set<int>&, int);
void print_primes(const std::set<int>&);
#endif
| [
"adam@adamwykle.com"
] | adam@adamwykle.com |
a1d843c5343914445aed4ba504f21ff285fc8386 | 1e006c14837be0e7b6ed9a0f5870907638dfd402 | /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/include/synowireless/wifi/bridge_base.hpp | badff150e747940431ce8d1342b9acd205b06384 | [] | no_license | slowfranklin/synology-ds | b9cd512d86ffc4d61949e6d72012b8cff8d58813 | 5a6dc5e1cfde5be3104f412e5a368bc8d615dfa6 | refs/heads/master | 2021-10-24T01:38:38.120574 | 2019-03-20T13:01:12 | 2019-03-20T13:01:12 | 176,933,470 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,375 | hpp | /* Copyright (c) 2000-2013 Synology Inc. All rights reserved. */
#ifndef _SYNO_WIRELESS_WIFI_BRIDGE_BASE_HPP_
#define _SYNO_WIRELESS_WIFI_BRIDGE_BASE_HPP_
// There are too many shadow copy in boost::ptr_vector
#pragma GCC diagnostic ignored "-Wshadow"
#include <string>
#include <boost/ptr_container/ptr_vector.hpp>
... | [
"slow@samba.org"
] | slow@samba.org |
233828bb4c47cac5e7c16f5dbe6fa197b724de59 | 7607201e01c7d45140a8d1cf0852259c1eb5c667 | /snippet/vexcl/mpi.hpp | a680b92fdd3a2be58d065359a57641208926afc5 | [] | no_license | nhanloukiala/OpenCL-Benchmark | 1f5f3b56c2554cccf2a7fe62103958e4c1323203 | 3dce52cb9947f77657d4a0af8e1ba1549996eabc | refs/heads/master | 2021-01-10T07:08:01.492871 | 2018-12-14T19:05:03 | 2018-12-14T19:05:03 | 51,155,774 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | hpp | #ifndef VEXCL_MPI_MPI_HPP
#define VEXCL_MPI_MPI_HPP
/*
The MIT License
Copyright (c) 2012-2013 Denis Demidov <ddemidov@ksu.ru>
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... | [
"tantrokiniem@gmail.com"
] | tantrokiniem@gmail.com |
edfe0668dee1706794f8d7e59a9523f1f3abe873 | 854bf8937c048ce7bc37ecd17c193ad60e54d5c4 | /BOJ_02xxx/BOJ_2163.cpp | 81a04c4a672d0c5500e9702f607880f354a0dc82 | [] | no_license | Altudy/Solution-Chanwoo | 7a344290c6ea08e116b134022a9c1893da874909 | 10c22750299836b26a82dc3f16a2d9de269324b7 | refs/heads/master | 2020-08-01T13:28:37.800595 | 2020-07-19T13:28:28 | 2020-07-19T13:28:28 | 211,010,945 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | #include <iostream>
using namespace std;
int main(){
int N, M;
cin >> N >> M;
if(N == 1)
cout << M-1 <<'\n';
else if(M == 1)
cout << N-1 << '\n';
else
cout << (N-1) + (M-1)*N << '\n';
// N과 M이 1일 때 예외를 처리해준건데, N*M-1 로 짧게 정리 할 수 있었다.
return 0;
}
| [
"noreply@github.com"
] | Altudy.noreply@github.com |
fdd3600ad5ed42a3e595184cf31b3117a927db1c | cae710ed9f38e5c87c99ae5eca1a9cb2efa0bcad | /psol/include/net/instaweb/rewriter/public/inline_rewrite_context.h | ba9dde34671df3b7de387d63cd1c9f889245c8f7 | [
"Apache-2.0"
] | permissive | sambacha/nginx2 | 2de50c98ebdd1d65d159f921f88c426249a4940b | ed70546e69d0357831adfd982104c077ac23970b | refs/heads/master | 2023-03-28T07:35:32.013909 | 2021-03-27T17:25:36 | 2021-03-27T17:25:36 | 349,439,159 | 0 | 0 | Apache-2.0 | 2021-03-19T13:52:06 | 2021-03-19T13:50:16 | C++ | UTF-8 | C++ | false | false | 3,824 | 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 ... | [
"janitor@contractshark.io"
] | janitor@contractshark.io |
5c47cbbcdf4061f7c6b52496c6ae2c07704f232d | 14ce793aedf5fcc1a685ee7173e1333210b46553 | /src/qtest/abuild-shlibs/data/shared2/Shared2.hh | 482fd790ab82f2a80db8e71d050a79eec720f098 | [
"Apache-2.0",
"Artistic-2.0",
"LicenseRef-scancode-unknown-license-reference",
"Artistic-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | abuild-org/abuild | a569fca784b1a113f65c510233b9d97773c84674 | 54c003b2bf2e544bb25d7727fb4ba6297bc4a61e | refs/heads/master | 2020-11-27T07:39:14.413974 | 2019-12-20T23:38:41 | 2019-12-20T23:38:41 | 229,351,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 174 | hh | #ifndef __SHARED2_HH__
#define __SHARED2_HH__
class Shared2
{
public:
#ifdef _WIN32
__declspec(dllexport)
#endif
static void hello();
};
#endif // __SHARED2_HH__
| [
"ejb@ql.org"
] | ejb@ql.org |
afb82c6cd9143ea1ef4500b6b20679ca8dbe0ab4 | 535cfd63ba66f36279934daec5238d923afc72cf | /src/csapex_core/src/param/parameter_description.cpp | 92b16b58f50a8e653492ccee40c1c3a2ba581cbd | [] | permissive | ICRA-2018/csapex | 12465ae2f089979f55ce0dc74d632ff75902d6c5 | 8ee83b9166d0281a4923184cce67b4a55f273ea2 | refs/heads/master | 2020-04-25T15:27:29.393016 | 2019-04-08T05:24:27 | 2019-04-08T05:24:27 | 172,879,807 | 0 | 0 | BSD-3-Clause | 2019-02-27T08:57:57 | 2019-02-27T08:57:56 | null | UTF-8 | C++ | false | false | 538 | cpp | /// HEADER
#include <csapex/param/parameter_description.h>
using namespace csapex;
using namespace param;
ParameterDescription::ParameterDescription(const std::string& description) : description_(description)
{
}
ParameterDescription::ParameterDescription() : description_("")
{
}
std::string ParameterDescription::to... | [
"sebastian.buck@uni-tuebingen.de"
] | sebastian.buck@uni-tuebingen.de |
ce134fbe7c3f28af7820f2fd76ad06d3e4cc4ae8 | bb6ebff7a7f6140903d37905c350954ff6599091 | /media/cdm/key_system_names.cc | 32b74754d6986b1eceae64e88e8621cfc57aa5df | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 785 | cc | // Copyright 2013 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 "media/cdm/key_system_names.h"
#include <string>
namespace media {
const char kClearKey[] = "org.w3.clearkey";
const char kExternalClearKey[] ... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
4dd5ddec984c22c37f48ff7d60dd4721fbb50e2b | ecdf171b905c240076559d36931daf0b4eb716f2 | /revereselookup.cpp | 913a3f5448f45f3f7d424e7f3d9032b8106f89f7 | [] | no_license | chresko/Tinkering | beba2cc01f375e27fee6c8860d8b57761f975e49 | 3feddfd573df16e48c8b023cb7c6d56e6e0b2c16 | refs/heads/master | 2021-06-28T07:24:19.594391 | 2016-11-27T05:02:40 | 2016-11-27T05:02:40 | 4,345,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,974 | cpp | #include <iostream>
#include <vector>
#include <string>
std::vector<std::string> gContactList;
class ContactTreeNode {
public:
ContactTreeNode()
:mContactIndex(-1)
{
for (int i = 0; i < 10; ++i) {
mChildren[i] = NULL;
}
}
ContactTreeNode(const std::string& number, ... | [
"christian.hresko@gmail.com"
] | christian.hresko@gmail.com |
52bc4f2bcf75993a263fbc24cb670dd77cf24ecf | 326fcf14525928dc6da9ebeb775de0e8984b1754 | /main.cpp | a08d207f08df70ff6e532510f755a9ff0fb6b600 | [] | no_license | goluckywizard/CSVParser | d8217494eb66afe7ba2a7f9f0c75af5905753a62 | e922d10ba4a5ad7f4cc4fc26f2df7ae4e3640732 | refs/heads/main | 2023-02-18T19:37:42.252085 | 2021-01-04T17:21:33 | 2021-01-04T17:21:33 | 324,741,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,293 | cpp | #include "tuple_it.h"
template <typename...Args> class CSVIterator {
public:
std::vector<std::tuple<Args...> > &CSVData;
int curTuple;
CSVIterator(std::vector<std::tuple<Args...> > &a, int& b) : CSVData(a), curTuple(b) {}
void operator++() {
curTuple++;
}
bool operator==(CSVIterator oper... | [
"noreply@github.com"
] | goluckywizard.noreply@github.com |
ae5e2d21ddf97352cdbb8c9a6c7bd4e87e678fa5 | d3a866847e7feeb4d1893bd7b3794af6bcbf68ed | /Completed/558 - Wormholes/558 - Wormholes Bellman Ford.cpp | 2a788435994393cb85765f3dea1831528fda4c02 | [] | no_license | sodrulamin/UVA | b1c7e88ea34e723a6ab9ec7170959e866c5ec729 | d2a6e09ba4d6aabbb06b1080ec41466e26dce4dd | refs/heads/master | 2020-07-18T08:47:59.317865 | 2019-10-16T08:22:40 | 2019-10-16T08:22:40 | 206,215,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | // UVa 558 - Wormholes
// Bellman-Ford to detect negative cycles
#include <iostream>
#include <vector>
#include <string.h>
using namespace std;
struct e {
int a, b, c;
};
int main() {
int t;
for (cin >> t; t; t--) {
int n, m;
cin >> n >> m;
e edge[2000];
for (int i = 0; i < m; i++)
cin >> edge[i].a >> ... | [
"shaon@revesoft.com"
] | shaon@revesoft.com |
3c99110335d1c05e75af82d7b912482ca14755ab | ec48e11593717df874746092ca2a127b6de2f49f | /src/eti/eurex/packets/eurexUploadTESTradeRequestPacket.h | 80ca0ec4c7db4ed4295b2e89e4b2d4c5d5c8cb50 | [] | no_license | blu-corner/codec | 44842673e63dbc9e50077f805de405b121225ca4 | a7582a9384e26452e45c2c36952cb7424a52a6ca | refs/heads/master | 2022-07-25T04:24:39.555286 | 2022-06-06T10:15:12 | 2022-06-06T10:15:12 | 152,606,392 | 9 | 13 | null | 2022-10-18T16:00:33 | 2018-10-11T14:36:13 | C++ | UTF-8 | C++ | false | false | 65,891 | h | /*
* Copyright 2014-2018 Neueda Ltd.
*
* Generated 21/05/2019
*/
#ifndef EUREX_UPLOADTESTRADEREQUEST_PACKET_H
#define EUREX_UPLOADTESTRADEREQUEST_PACKET_H
#include <string>
#include <vector>
#include <sstream>
#include <cstddef>
#include <stdint.h>
#include "eurexPackets.h"
#include "EtiPacketUtils.h"
namespace ... | [
"38314895+richardfaloon@users.noreply.github.com"
] | 38314895+richardfaloon@users.noreply.github.com |
ef4b519841ab10a996c9183b80a24758bf73d3ab | 7802067c1f9429c4a2826b34f9401742138c043b | /include/lexer.h | b76232e38e5fd57c26ffe113b99256627e69e8b8 | [] | no_license | kokic/HydTeaCC | 8d6adcb0407cf8144eff63dcfe6ec1e98aef95c9 | eee6fdcf08cfe6e0bf514ad00297b0f58173216e | refs/heads/master | 2022-03-25T16:07:48.344154 | 2022-03-05T11:56:34 | 2022-03-05T11:56:34 | 251,042,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,741 | h |
namespace token
{
enum type_t
{
ERROR = -1,
// , . : ;
COMMA, DOT, COLON, SEMI,
LP, RP, // left and right parentheses ()
LB, RB, // left and right brackets []
LC, RC, // left and right curlies (braces) {}
// increment/decrement (++ --)
INC, DE... | [
"3250679033@qq.com"
] | 3250679033@qq.com |
55db20be895839155b68527408ad368e01ed6308 | 3f017d8e44b2eb4d3b4df863cc36b64c2519431a | /BattleTank/Source/BattleTank/TankBarrel.cpp | 4e4e715b3d274a74e463f8b27e98c581ab1c89d9 | [] | no_license | EEnglmeier/BattleTankTutorial | 3a728665ee44771097c87821ebc3837c2574a77c | c9974d81e298cd5e2aad324960fbad30b9aa6e00 | refs/heads/master | 2021-01-19T02:43:02.667335 | 2016-11-22T22:54:48 | 2016-11-22T22:54:48 | 73,520,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BattleTank.h"
#include "TankBarrel.h"
void UTankBarrel::Elevate(float RelativeSpeed)
{
RelativeSpeed = FMath::Clamp<float>(RelativeSpeed, -1, +1);
auto ElevationChange = RelativeSpeed * MaxDegreesPerSecond * GetWorld()->DeltaTi... | [
"elias_englmeier@yahoo.de"
] | elias_englmeier@yahoo.de |
0cfbe9fa2d64c2fc2f0550f0e6f5c9a523f96aa5 | 9f96206c9b2af71256e43624a250d300c3f5ab6a | /gameplay/src/ScriptController.h | f00d570924cd5424863ce70a28157d279d0ba320 | [] | no_license | playbar/VkCore | 2ead714b7e45205cf973e124bd542f4f6c275814 | 0cb393a6b6f12e2864ba93fdae2ed9f2808c6d75 | refs/heads/master | 2021-06-08T20:31:19.535405 | 2017-01-03T07:07:55 | 2017-01-03T07:07:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,254 | h | #ifndef SCRIPTCONTROLLER_H_
#define SCRIPTCONTROLLER_H_
#include "Script.h"
#include "Game.h"
namespace vkcore
{
/**
* Controls and manages all scripts.
*/
class ScriptController
{
friend class Game;
friend class Platform;
friend class Script;
friend class ScriptUtil;
friend class ScriptTimeLis... | [
"hgl868@126.com"
] | hgl868@126.com |
c5f918393204212fc4f89bfd41841c058852c8c3 | 1164e166dfbfd4c93873b2db2a5275d296b15498 | /5hw/code/blinkthree/_5p2_lowlevel/_5p2_lowlevel.ino | 113129109b7669f84e85487b0fc1d6aee7c52363 | [] | no_license | KO0I/2020 | c44eeab086cedb7ff6ca3bfe678c6c12fb72ebe3 | 0e5679a64c1f3b243de069a6c786061d206fbb75 | refs/heads/master | 2021-05-31T12:23:53.771901 | 2015-06-04T05:56:28 | 2015-06-04T05:56:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,693 | ino |
#define LED1 12
#define LED2 13
#define CLOCK 16000000
// have we got values for the rates of each LED?
boolean val1 = false;
boolean val2 = false;
boolean values = false;
// rates to be chosen by the user
float freq1 = 1;
float freq2 = 2;
unsigned long led1delay,led2delay;
unsigned long led1timer,led2timer;
//-------... | [
"patrick91jh@gmail.com"
] | patrick91jh@gmail.com |
4b528aeeac0dee2998cc346b418040091be85f38 | 23f727cf2855f838bd183ffcf06a912b437d0985 | /Pang/SplashScreen.h | b538929ae8118b3dc1e4c61a123f655341dcd644 | [
"MIT"
] | permissive | Sherin192/Pang | 2a6f32012008f08001e7cefd4a6f0a4916368eec | 1e63b7bedbdab757f2beb242c0b41847b91e4b8e | refs/heads/master | 2022-02-26T00:19:10.514151 | 2019-10-03T21:22:47 | 2019-10-03T21:22:47 | 112,791,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | h | #pragma once
#include "SFML/Window.hpp"
#include "SFML/Graphics.hpp"
class SplashScreen
{
public:
void Show(sf::RenderWindow &window);
}; | [
"pfigl001@gold.ac.uk"
] | pfigl001@gold.ac.uk |
d451fd52fd1e3f6248652d2c1ae6640bf71a58fc | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/Handle_VrmlConverter_LineAspect.hxx | f0666567a7de5b4b3e5ca14d7eb4110c5ed7554d | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_VrmlConverter_LineAspect_HeaderFile... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
89ee3a4d25ffc0a04cc3e152f8936197793a0a84 | fc886fa3451cba94c93cb7420aa811537d4573a4 | /BankClassLib/BankClassLib.cpp | 7d37e807322673d8dbb9f1825a4878fc7694feac | [] | no_license | pentr32/Bank_ClassLib | e7e0b81ccf0ed928d347712819bf9e83e6f8a8e1 | 3a0cf0d4f16cd7577cc2363cc6be162575fe69ec | refs/heads/master | 2022-12-11T06:45:08.443966 | 2020-09-16T11:58:16 | 2020-09-16T11:58:16 | 295,856,455 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | // BankClassLib.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <iostream>
#include "BankService.h"
#include "AccountTypeEnum.h"
IBank* bankService;
int main()
{
bankService->CreateAccount("Robert", AccountType::AccountChecking);
std::cout << bankService->Balanc... | [
"robzaha@hotmail.com"
] | robzaha@hotmail.com |
543b32c57c9355355d62e95bd52936694910b9f1 | 2cd2accfc77ecb153b3256ba336b2661952c12e9 | /app/g29_console.cpp | e6130bd91ee45e8ec1a28e30f543541d68ecb9bf | [] | no_license | autolaborcenter/pm1_sdk_2 | 31f22ad1afb9ddcdd9ea96202824297f3bc2b3ee | c3d0d1d89d0a9b6b66d1f212688fadd085d258c1 | refs/heads/master | 2023-07-31T04:38:41.112933 | 2021-09-30T09:22:29 | 2021-09-30T09:22:29 | 346,994,334 | 0 | 1 | null | 2021-03-30T08:33:13 | 2021-03-12T08:28:48 | C++ | UTF-8 | C++ | false | false | 332 | cpp | #include "src/g29/steering_t.hh"
#include <iostream>
int main() {
auto steering = logitech::steering_t::scan();
// 反馈事件
int8_t level;
float speed, rudder;
while (steering.wait_event(level, speed, rudder, -1))
std::cout << +level << ' ' << speed << ' ' << rudder << std::endl;
return 0... | [
"ydrml@hotmail.com"
] | ydrml@hotmail.com |
ff8ccabe31231a19220eff5e67ce425a10d8162e | 45e8df26d895fce1ffced77e2fc7c87aa5fcec71 | /codeforces/689/C/sol.cc | 7180a0816414b466ce1d06c88d804e41c4b9a6e9 | [] | no_license | mikehung/competitive-programming | 5c4b429942357bfbe3c8ff2820d5cb5b7c5dc828 | 50713dc5973f2ea42220ac0248c3d1a6d90fcc15 | refs/heads/master | 2021-06-20T08:21:36.837057 | 2021-01-01T01:29:56 | 2021-01-01T01:31:55 | 153,595,870 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cc | #include <bits/stdc++.h>
using namespace std;
#ifdef DEBUG
#define dbg(...) fprintf(stderr, __VA_ARGS__)
#else
#define dbg(...)
#endif
const int MAX = (int) 1e6;
long long a3[MAX];
long long cnt(long long m)
{
long long res = 0;
for (int i = 2; i < MAX && m/a3[i]; ++i) {
res += m/a3[i];
}... | [
"slaotvaen@gmail.com"
] | slaotvaen@gmail.com |
7b9ec8f2dcfa1545e38eb145f053abc1cfb7d49c | 1e2d4e355f72e1a532fe7b1cde28e83d9022c7cf | /hui/private/hgwidget_p.h | 25ae41ec5be3237d97d6bc5bb815c76bbce8d125 | [] | no_license | huqiuyun/qt.project | 99170a75e18264d1a786c146a611eb10e56559bf | 07a319be509f0ba16e482819844c97420a392dcd | refs/heads/master | 2016-09-06T14:23:02.962215 | 2014-06-08T14:03:32 | 2014-06-08T14:03:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | h | #ifndef HGWIDGET_P_H
#define HGWIDGET_P_H
#include "hbase.h"
#include "himagestyle.h"
#include "hgwidgetstyle.h"
#include "hglayout.h"
#include "hgwidget.h"
class HStyle;
class H_API HGWidgetPrivate
{
public:
explicit HGWidgetPrivate();
virtual ~HGWidgetPrivate();
private:
void init();
bool installS... | [
"uidby@sina.com"
] | uidby@sina.com |
d7a2052112b53a46def39656d40f951d93c1b1e8 | 5b36d0d604a4bb43cd3c3b16306d865dd4911d0a | /currentmeter.cpp | 20c97f7c9cbc277a74d9c933faea37be17790743 | [] | no_license | abrox/vessel-monitor | 8453ad77b9d88efde8dc8b5e5bc698798f7dd542 | 4472238a0e378e79a6b5a33ba251f2ab0459b768 | refs/heads/master | 2022-01-30T00:57:17.488667 | 2019-08-01T07:02:50 | 2019-08-01T07:02:50 | 36,957,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,429 | cpp | #include "currentmeter.h"
#include <qpainter.h>
#include <qwt_dial_needle.h>
#include <qwt_round_scale_draw.h>
CurrentMeter::CurrentMeter( QWidget *parent ):
QwtDial( parent ),
d_label( "Amp" )
{
QwtRoundScaleDraw *scaleDraw = new QwtRoundScaleDraw();
scaleDraw->setSpacing( 8 );
scaleDraw->enable... | [
"jukka-pekka.sarjanen@kone.com"
] | jukka-pekka.sarjanen@kone.com |
13607cca832e222dccf647a7adcf6237318ebe6e | d33b232ae41dcca316c590f35d59209176ab185d | /Tools/ResourceEditor/Classes/Commands2/CommandBatch.h | f8701081e084cc7263d6a4e4d6d0f47cf94f93e2 | [] | no_license | dominik111/dava.framework | fd10e75cb76090301dd765de3885fe7f62570e75 | 3650cb7541bad8188d0ac043a804f3eea99b972b | refs/heads/master | 2021-01-17T22:59:46.358803 | 2013-10-11T14:20:14 | 2013-10-11T14:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,125 | h | /*==================================================================================
Copyright (c) 2008, DAVA, 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 o... | [
"s_zdanevich@wargaming.net"
] | s_zdanevich@wargaming.net |
11a11c4606c85e779410adc384cc1a460d93cca2 | ba3732f34edfe72f0bd71c55ed40c3f2b688d44e | /Ch4/listKeeper.cpp | 2a89d7e17a6307fdc27eadaf9acb6cb93a14e24e | [] | no_license | splot-cell/cpp-through-game-programming | 24adb14c609bd080cdc7459d77dc445cc779cdff | 810ae90344d94b0774e27441ec8877540b2bd5ca | refs/heads/main | 2023-08-21T01:39:48.767476 | 2021-10-27T18:44:56 | 2021-10-27T18:44:56 | 405,806,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | cpp | // My list
#include <iostream>
#include <string>
#include <vector>
int main()
{
std::cout << "Here you can keep a list.\n";
std::vector<std::string> myList;
std::cout << "Add an item by typing 'add x', where x is your item.\n";
std::cout << "Remove an item by typing 'remove x'.\n";
std::cout << "To exit type '... | [
"olly_s@hotmail.co.uk"
] | olly_s@hotmail.co.uk |
eeb1ac6103ddae412eb881a025bc5ad00b80f8e4 | 6a836c3cb2682509fa5a0614fcf0cbdfd6bda820 | /4. Elementary sorts/Permutation_with_shell_sort.cpp | b49d52a5f9b56ce7a3d3fbafb77127d4e85aa7ae | [] | no_license | lumos799/Algorithms | f659696df31978186b2674ca1dddf849dc81f547 | e91e5ca88b9bf890473cadecdbbaf96c97876710 | refs/heads/master | 2022-02-02T12:07:58.242157 | 2018-04-01T23:41:55 | 2018-04-01T23:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,456 | cpp | /*
Statement of the problem:
Permutation.
Given two integer arrays of size n, design a subquadratic algorithm to determine whether one is a permutation of the other.
That is, do they contain exactly the same entries but, possibly, in a different order.
Solution:
1. Sort the 2 arrays and then compare them. Im... | [
"noreply@github.com"
] | lumos799.noreply@github.com |
4332e3883f715a2274b408b94e73a8eea30eec2b | 25b0e7a6dae62bc72242c4c3a81a6e0d30e3d6d1 | /21 days/Day - 20/(GFG)Find the maximum number of handshakes.cpp | 7e2c6553c5b3c44a2e0385a61838e4860eb0fa7c | [] | no_license | partha186/21-Days-Competitive-Programming | 3da330380694b97f72be85c9551ced0965357ba5 | 86046ac41d9461177a4ed800c87def901d82de14 | refs/heads/main | 2023-03-22T16:40:10.536403 | 2021-02-22T05:10:05 | 2021-02-22T05:10:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include <iostream>
using namespace std;
int main()
{
int test;
cin >> test;
while(test--){
long long int n;
cin >> n;
cout << (n*(n-1))/2 << endl;
}
return 0;
}
| [
"noreply@github.com"
] | partha186.noreply@github.com |
32d3535a6af6ac2b0565e2e254a953f853449a1c | dad388179127e7b39cd0b5649efb7ed501308c0b | /src/cpp-ethereum/libdevcore/Assertions.h | 7b4a4a76587780dc37548dd3225559ab037d5bf5 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"GPL-3.0-only",
"LGPL-2.1-or-later",
"GPL-3.0-or-later",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"MIT"
] | permissive | blockchaingate/fabcoin | bb17639f50d0f1a658abcb8841933a9a24cae51e | 2dcee3566f4902ed081322a5b31cf23d9fa4134d | refs/heads/master | 2022-08-12T13:08:43.778841 | 2022-07-21T19:20:41 | 2022-07-21T19:20:41 | 127,150,382 | 29 | 23 | MIT | 2018-06-19T19:58:09 | 2018-03-28T14:11:37 | C++ | UTF-8 | C++ | false | false | 3,153 | h | /*
This file is part of cpp-ethereum.
cpp-ethereum is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... | [
"hzx1897@hotmail.com"
] | hzx1897@hotmail.com |
75df5dbaa1d79806ebc3118af7375037039b5b41 | 2fe6b63c60fc5a1eb9d362b98601710885a63984 | /seral_js/node_modules/@serialport/bindings-cpp/src/serialport_unix.cpp | bde5232483b9885aad03c4e9f590f7ca0b72ffb3 | [
"MIT"
] | permissive | Ikeda-Togo/JavaScript_learn | 3f869a72b6aa08c11700aa2ba3d5a60af2e15650 | 025073d275dbb01cbb42413bd093c73b3f79ec9d | refs/heads/master | 2022-09-22T18:17:03.184788 | 2022-09-13T08:11:22 | 2022-09-13T08:11:22 | 237,399,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,482 | cpp | #include "serialport_unix.h"
#include "serialport.h"
#include <sys/file.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
#ifdef __APPLE__
#include <AvailabilityMacros.h>
#include <sys/param.h>
#endif
#if defined(MAC_OS_X_VERSION_10_4) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VER... | [
"syuugo151122@gmail.com"
] | syuugo151122@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.