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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17f689543d54245d384a62a5de9fb3450645baa5 | d8ed2de0acfbc8af08aa5accb4d727b632696f10 | /source/schemas/ws/EventsWebSocketServer.hpp | f47c2c69fb615a2561cfae52ba423ac5af350412 | [] | no_license | JegernOUTT/CameraManagerCore | ff6cdcc30396200b2ee15857337a9afed07dd89a | 060934b9ccc510ea7ef89082faf538ca40b38306 | refs/heads/master | 2020-06-25T22:35:45.395213 | 2017-07-12T11:45:47 | 2017-07-12T11:45:47 | 96,995,431 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,237 | hpp | EventsWebSocketServer.hpp | //
// Created by svakhreev on 27.03.17.
//
#ifndef CAMERAMANAGERCORE_EVENTSWEBSOCKETSERVER_HPP
#define CAMERAMANAGERCORE_EVENTSWEBSOCKETSERVER_HPP
#include "boost/cerrno.hpp"
#include <memory>
#include <functional>
#include <nlohmann/json.hpp>
#include <simple-websocket-server/server_ws.hpp>
#include "../../model/Ev... |
fb2609f4f7ccea60a6efbacd6e53b28e8e783729 | 4a54dd5a93bbb3f603a2875d5e6dcb3020fb52f2 | /official/zone-2009-09-21-china/src/NetLib/AsyncStream.cpp | 59e4346ca644de84c10ee5f7ae4966b5844ecfcc | [] | no_license | Torashi1069/xenophase | 400ebed356cff6bfb735f9c03f10994aaad79f5e | c7bf89281c95a3c5cf909a14d0568eb940ad7449 | refs/heads/master | 2023-02-02T19:15:08.013577 | 2020-08-17T00:41:43 | 2020-08-17T00:41:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,974 | cpp | AsyncStream.cpp | #include "NetLib/AsyncStream.h"
#include "globals.hpp"
hook_val<unsigned long> CAsyncStream::m_newCompletionKey(SERVER, "CAsyncStream::m_newCompletionKey"); // = ?
hook_func<unsigned int (__stdcall *)(void* CP)> _CompletionProactor(SERVER, "CompletionProactor");
unsigned int __stdcall CompletionProactor(void* CP) /... |
1a072647e0de2fb9dfbf9628375a48ddf0696120 | 8d510f05053edc39bf71238ed94fb3db0c361e10 | /Engine/Include/DlHelper.hpp | 0e5a4e2c7b4abe847ab392554542ed0df86c1f00 | [] | no_license | ReimuA/Raytracer | 944b203869cdf296126c0726216951c6a78edfad | 8cfb7b86fda4f2a2c4c9864254eab79bc71b76b6 | refs/heads/master | 2020-03-22T00:41:15.562352 | 2018-07-05T15:26:30 | 2018-07-05T15:26:30 | 139,259,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | hpp | DlHelper.hpp | /*
** EPITECH PROJECT, 2018
** <------------>
** File description:
** <------->
*/
#pragma once
#include <string>
namespace DlHelper {
void dlClose(void *handle);
void *dlSym(void *handle, const std::string &str);
void *dlOpen(const std::string &str);
};
|
6c04b9674ba6a61ae82a91304a4c3ab61d321096 | 91783283c6f7eb087afbaae5a49cc13e2fe74954 | /smart_parking_slots_cvsr.ino | b5307145929316f1957e5959c3130ff478bdbc8a | [] | no_license | umrsraj/Nano_Arduino | 12553883a7947b21dc9e48f68f4b2bef49a732cf | 93c56ae948c7c0692a7bfb205a84843aa2eaaf7f | refs/heads/master | 2020-05-27T14:37:30.523883 | 2019-07-01T13:53:36 | 2019-07-01T13:53:36 | 188,664,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,426 | ino | smart_parking_slots_cvsr.ino | /*
WiFiEsp example: WebClient
This sketch connects to google website using an ESP8266 module to
perform a simple web search.
For more details see: http://yaab-arduino.blogspot.com/p/wifiesp-example-client.html
*/
// http://projectsiot.xyz/IoTProjects/TollBooth/tollbooth.php?a=A&b=5&c=6&d=3
#include "WiFi... |
a5684f283562062063e72f384cd1eba1bb1ce47f | ad9f0e8b1b5ffae0685027b897032272a4b55acd | /hex grid node crafter/hex grid node crafter/battleCalc.h | 8e8d420525f934d015b7e11e9031c92c09a59a58 | [] | no_license | robertmcconnell2007/chickamauga | 33c36f61f9a467f0cca56c0ea9914ab57da98556 | 1883d055482973ba421e303661ce0acd529ca886 | refs/heads/master | 2021-01-23T00:14:57.431579 | 2010-08-31T19:36:15 | 2010-08-31T19:36:15 | 32,115,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | h | battleCalc.h | #pragma once
#include <iostream>
#include <fstream>
#include <ctime>
using namespace std;
enum battleResults
{
attackRetreat,//0
attackElim,//1
defendRetreat,//2
defendElim,//3
exchange//4
};
class battleCalculator
{
private:
int oddsArray[6][10];
public:
battleCalculator();
battleC... |
4c81289231854269b10155e76fd108b8e6e7fd53 | 26ec2dbf36dbdbcd0697939d1b95f4f67f5ed027 | /Stop_VJets/StopSearches_VJetsBckgdEst.cc | 03ab8e43d09fcc1a39a4f840b7f4a416caf77353 | [] | no_license | caebergs/UserCode | 78d0fd17428c9ece70f9dffc546a841b614ef7ca | 88a7f7a67d18f579c2683aa01fb91341177fb574 | refs/heads/master | 2020-06-05T05:18:48.756206 | 2013-06-12T07:14:10 | 2013-06-12T07:14:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,839 | cc | StopSearches_VJetsBckgdEst.cc | #include "TStyle.h"
#include <cmath>
#include <iostream>
#include <fstream>
#include <sstream>
#include <sys/stat.h>
// Root headers
#include "TArrow.h"
#include "TAxis.h"
#include "TCanvas.h"
#include "TChain.h"
#include "TCut.h"
#include "TEntryList.h"
#include "TFile.h"
#include "TGraphAsymmErrors.h"
#include "TH1.... |
737ef1b289ff79176fd5d8f2ab22ebfe2b03be4c | 9c3a452da21455f64e1e86c1385d3d85c46070ee | /IfcPlusPlus/src/ifcpp/IFC4/lib/IfcObjectTypeEnum.cpp | 86ce1744f8c5c57927bef5bab825ede346a7cdd3 | [
"MIT"
] | permissive | tao00720/ifcplusplus | a0e813757d79b505e36908894b031928389122c2 | 3d2e9aab5f74809a09832d041c20dec7323fd41d | refs/heads/master | 2021-07-02T04:51:25.421124 | 2017-04-11T15:53:48 | 2017-04-11T15:53:48 | 103,811,406 | 0 | 0 | null | 2017-09-17T07:35:36 | 2017-09-17T07:35:36 | null | UTF-8 | C++ | false | false | 2,850 | cpp | IfcObjectTypeEnum.cpp | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/IfcPPBasicTypes.h"
#include "ifcpp/model/IfcPPException.h"
#include "ifcpp/IFC4/include/IfcOb... |
b725735edb196876783fa2dd32a6fb4fb5181b92 | 0b27ca622610261415b56fd7d53e87cc66042fd5 | /exegesis/util/bits.h | 790ea9af6e7ccc6a725aa17fdb4509a648b6097c | [
"Apache-2.0"
] | permissive | google/EXEgesis | 1483dfd35b996bdad2dc1509ba7cdf91991d0c1b | ef5b019969a6aa4c5e26680a3728bb783661db48 | refs/heads/master | 2023-09-02T02:40:40.663198 | 2023-01-13T16:18:58 | 2023-01-13T16:18:58 | 76,657,412 | 214 | 40 | Apache-2.0 | 2023-04-10T00:27:11 | 2016-12-16T13:52:42 | C++ | UTF-8 | C++ | false | false | 2,645 | h | bits.h | // Copyright 2017 Google 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 w... |
746b3a7a44022f4365cc4b6518c389ebadcbc6d6 | dfb64b62db1c725b65bc3ad36d16ebc016363afc | /src/fungame/graphic/VBO.cpp | 89b284ef28a75a228f9698d311a06feefdc78ec3 | [] | no_license | zhengweifu2018/fungame | 1afeb7a98a2f0bd473d5af27f37c1c4b826aedf5 | 699c61ab7abfc23a01afd63fc34da896906fb6c2 | refs/heads/master | 2023-05-26T07:39:02.805570 | 2020-01-13T12:20:24 | 2020-01-13T12:20:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90 | cpp | VBO.cpp | #include "fungame/graphic/VBO.h"
namespace fungrame { namespace graphic {
}}
|
f59351d86a272b56c5014810c63dbff8a3082961 | aeb57b2d79638213f80d563a4eb6371785869761 | /Hoowan-Editor/src/game/Player/Player.h | 24a3d928aebd9a32d3fcd299a39ba88291c777f1 | [
"Apache-2.0"
] | permissive | juanbecerra0/Hoowan | 9278cdebb09b83be703bf352d50aef9f977627e2 | 27d535a8f700537fe7158b40a7cbfa9c54c46e71 | refs/heads/master | 2023-01-14T09:35:21.081982 | 2020-11-10T16:37:41 | 2020-11-10T16:37:41 | 270,831,533 | 0 | 0 | Apache-2.0 | 2020-06-19T21:42:56 | 2020-06-08T21:16:48 | C++ | UTF-8 | C++ | false | false | 884 | h | Player.h | #pragma once
#include "Hoowan.h"
#include "../Scene/SpriteSheet.h"
class Player
{
public:
Player(Hoowan::Ref<Hoowan::Scene> scene, glm::vec2& startingPosition);
~Player();
void OnUpdate(Hoowan::Timestep ts);
glm::mat4& GetTransform() { return m_PlayerEntity.GetComponent<Hoowan::TransformComponent>().GetTransfor... |
65a567ab5b871b77e88d023ec82a4278480aa670 | f4b873e035d4f8ecebaed6305f976804796b2adc | /heroes2/variant.cpp | af5de1f5dd6777114caff20a9caba36ab72a228d | [] | no_license | Pavelius/heroes2 | 1066b6e242767364394c592b0a3f1a6b5880f413 | 00140380b737438367ff8f234cdc7a0a403c5502 | refs/heads/master | 2021-08-10T15:34:01.588053 | 2020-07-20T11:48:02 | 2020-07-20T11:48:02 | 204,486,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,214 | cpp | variant.cpp | #include "main.h"
const char* variant::getname() const {
switch(type) {
case Ability: return bsmeta<abilityi>::elements[value].name;
case Artifact: return bsmeta<artifacti>::elements[value].name;
case Castle: return bsmeta<castlei>::elements[value].getname();
case Hero: return bsmeta<heroi>::elements[value].getna... |
fecceab5e41028ca41b3f8538f15f817fb1c7d4f | 313a869d89a914a8d562379dbefb76f826e1e491 | /Source/Seraph/Public/Gloom/Interfaces/TargetsHexNode.h | 7ccb6be5628b14845445bc2993e9fabe9f5a51e4 | [] | no_license | shanemcdermott/TurnBasedHex | ced88a0ce55b205d0bf32bcb5a3594952d265f29 | b6a3659072eafefb571e92bcae3813c38294bbba | refs/heads/master | 2021-03-27T09:47:40.096537 | 2018-01-08T21:36:57 | 2018-01-08T21:36:57 | 116,730,958 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | TargetsHexNode.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "TargetsHexNode.generated.h"
class AActor;
// This class does not need to be modified.
UINTERFACE()
class UTargetsHexNode : public UInterface
{
GENERATED_UINTERFACE_BODY()
};
/**
*
*/
c... |
727aa61e1a44bf8d9df1de637d63ec3102f361cd | 9aee1fa1607a7eca8b1c820ef87beb6bc4341f6f | /server/plugin/src/process.cpp | b3a8437adfba3be494f7bc62f231b9fa427a60a2 | [
"Apache-2.0"
] | permissive | liuxiaozhen/nuts | d9e6bdaeb23d242d71bba2e37f0c270f80f53dbe | 5f0f56a38393be1d6a945f941890067d852b6ddc | refs/heads/master | 2020-05-29T11:43:28.875563 | 2013-12-16T16:20:35 | 2013-12-16T16:20:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | process.cpp | /*
* process.cpp
*
* Created on: 2013-12-15
*/
#include "plugin.h"
/*
Bet 下注
Call 跟注
Fold 弃牌
Check 让牌 / 观让
raise 加注
Re-raise 再加注
All-in 全押 / 全进
这里分客户端命令和服务器命令
*/
static enum{
register=1,
further_register=2,
fast_login=3,
pwd_login=4,
imei_pwd_login=5,
enter_section=6,
start_game=... |
591cc297372a192f2e440b9ae1e47aa854bcb4da | 78cc7bc0c72838893cf59b1c8683fa82386b55dd | /interface/RecoObjects/SelectionOutputInfo.h | 9d5b1990d23e8c6b5d7af04f2b0e220da1532a88 | [
"Apache-2.0"
] | permissive | kreczko/AnalysisSoftware | 2751431e146a7945ce6b093d822ab70c3a45dc19 | fa83a3775a8d644e6098d28dbc6f3d7f1a11b400 | refs/heads/master | 2021-01-18T07:19:27.617774 | 2015-09-14T10:31:06 | 2015-09-14T10:31:06 | 7,689,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | h | SelectionOutputInfo.h | /*
* SelectionOutputInfo.h
*
* Created on: Dec 10, 2014
* Author: Emyr Clement
*/
#ifndef SELECTIONOUTPUTINFO_H_
#define SELECTIONOUTPUTINFO_H_
#include <vector>
#include <string>
#include <boost/array.hpp>
#include "Jet.h"
namespace BAT {
class SelectionOutputInfo {
public:
SelectionOutputInfo();
virt... |
fdc108c8139b39a1fa3a28d215a595a5e1aef9ee | fc50c001c108cdeff73571beacc852ec73fcd05e | /microunit.h | b972ce78bf3a091541802c9916c518d7d75e1483 | [
"BSD-3-Clause"
] | permissive | smiranda/microunit | cbb04d428f85f4353073babde6ff8d6266d35af7 | 871a581a71408fc746b1c7f90730c34638baf8df | refs/heads/master | 2021-01-10T03:34:03.000300 | 2018-07-18T11:05:00 | 2018-07-18T11:05:00 | 54,343,039 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,375 | h | microunit.h | /**
* @file microunit.h
* @version 0.2
* @author Sebastiao Salvador de Miranda (ssm)
* @brief Tiny library for cpp unit testing. Should work on any c++11 compiler.
*
* Simply include this header in your test implementation file (e.g., main.cpp)
* and call microunit::UnitTester::Run() in the function main(). To register... |
1a55b5d84d9cb2e96700db63ec1a817bc4c3dd54 | 12d3eed45e4ab921ffedd67e077dab0415b0c7d7 | /src/engine/main.cpp | 3d65f171f8966505b0469f1e89d8574563b150ed | [
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-3-Clause"
] | permissive | ACBob/Bube | b2db4f36d9b9e4303bbe13e1f8c4676622a25d5d | 282bee7fd8a628f00550c65d719cd02e2afc6420 | refs/heads/master | 2023-04-23T20:09:35.885465 | 2021-05-05T20:03:27 | 2021-05-05T20:03:27 | 330,546,207 | 6 | 1 | null | 2021-03-25T10:52:09 | 2021-01-18T03:39:25 | C++ | UTF-8 | C++ | false | false | 39,286 | cpp | main.cpp | // main.cpp: initialisation & main loop
#include "engine.h"
#ifdef SDL_VIDEO_DRIVER_X11
#include "SDL_syswm.h"
#endif
extern void cleargamma();
void cleanup()
{
recorder::stop();
cleanupserver();
SDL_ShowCursor(SDL_TRUE);
SDL_SetRelativeMouseMode(SDL_FALSE);
if (screen)
SDL_SetWindowGrab(screen, SDL_FALSE);... |
5655594d7c110059ec676de93c69aa93cdbed418 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5695413893988352_0/C++/trunghai95/close_match.cpp | 3aa6361c40a2dce8fde4b72a739208bc17b1258f | [] | 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 | 909 | cpp | close_match.cpp | //brute-force 1000^2
#include <bits/stdc++.h>
using namespace std;
int test;
char C[20], J[20], len;
bool valid(int c, int j)
{
for (int i = len - 1; i >= 0; --i)
{
if (C[i] != '?' && C[i] - '0' != (c % 10))
return false;
if (J[i] != '?' && J[i] - '0' != (j % 10))
return false;
j /= 10;... |
5e850b3436bbb5c6cb0034b9a54bfeb0483206c5 | ffbf1cbd20eb7939e125fedf892810e86e21bc20 | /Controle_acc_s.lnk.ino | b12285662a0f0e06f8b8549e248bc6af1c104e1c | [] | no_license | bosstkd/arduino-AccessControlSystem | ea967b2c3c0fecf56e7af5007789c693e0689d7e | aaae174bb1ecf2ac0169aecb219451bd52b29bc4 | refs/heads/master | 2020-12-04T14:02:56.072962 | 2020-01-04T16:32:06 | 2020-01-04T16:32:06 | 231,793,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,839 | ino | Controle_acc_s.lnk.ino | #include <SoftwareSerial.h>
#include <SPI.h>
#include <MFRC522.h>
#include <EEPROM.h>
#define SSerialRX 0 //Serial Receive pin
#define SSerialTX 1 //Serial Transmit pin
#define SSerialTxControl 2 //RS485 Direction control
#define RS485Transmit HIGH
#define RS485Receive LOW
#define SS_PIN 1... |
0225b03340418a816e238ea93e0e62543514e56c | 7514c339481aba7c175b3517d8eb16fce693059b | /CPP/PrimalityTesting/utils/InputGenerator.cpp | 79185deed9803e26d9d7d36ef9ee1f32b533c903 | [] | no_license | AlinGeorgescu/Problem-Solving | 4ec4f4d52e659cf9da4ce43db256ec8f434291f4 | 8a9d715703a1eec6d7a8d2e0faa9bf78f6b053de | refs/heads/master | 2022-08-15T11:04:36.657000 | 2022-07-24T19:29:24 | 2022-07-24T19:29:24 | 165,862,493 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | InputGenerator.cpp | /**
* Copyright 2018 Alin-Andrei Georgescu (alinandrei2007@yahoo.com)
* Grupa: 325 CA
* Tema AA - Identificarea Numerelor Prime
*/
#include <iostream>
#include <set>
#include <random>
#include <limits>
#define NUM 1000000 // Numarul de numere de generat.
using std::set;
using std::random_device;
using std::mt1... |
080cda0af8398ff4cd9eb6f06ea47a274c7f775d | 1ac04ddeae434c64fc10e2194a65c249d02129de | /src/cses.fi/dp/Two_Sets_II.cpp | 028c6a8f5a8f0db95de6600342c5414e66f3ff96 | [] | no_license | VIPUL1306/cp_practice | f68de30c9d0af343d77ceda1397d14f22077b5d9 | a439e8cdec79962be6a168cdd70bad848138d757 | refs/heads/master | 2023-09-03T01:49:54.492499 | 2020-10-01T05:03:22 | 2020-10-01T05:03:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,698 | cpp | Two_Sets_II.cpp | // https://cses.fi/problemset/task/1093
#include<bits/stdc++.h>
#define MOD 1000000007
#define ll long long int
using namespace std;
ll bottomup_solution(ll n){
ll sum = (n*(n+1))/2;
vector<ll> dp(125255,0);
dp[0] = 1;
for(int i = 1;i<=n;i++){
for(int j = sum/2;j>=i;j--){
dp[j] = (dp[j] + dp[j-i])%MO... |
fd4852c6ec181838bf90a3bb990356858184eadb | dcc3bdd903b6c5ed2f6d9f43ff2d196bf6b88f16 | /NuklearGl/Scene.h | f619195b5cc2b92e25431f3b84f3410bae00d228 | [
"LicenseRef-scancode-public-domain"
] | permissive | Chrisso/gl-studies | a9dacd369c44686f77cc75c87cd7ca2fb315c9ea | 916cd4851df09d1c959afe8cb4ec0985f881fb7e | refs/heads/master | 2021-06-25T11:17:56.626472 | 2020-10-23T15:47:50 | 2020-10-23T15:47:50 | 135,674,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,644 | h | Scene.h | #pragma once
#include <glm/glm.hpp>
#include <ShaderProgram.h>
class CScene
{
private:
nk_context m_nkContext;
nk_font_atlas m_nkFontAtlas;
nk_draw_null_texture m_nkNull;
nk_convert_config m_nkConvertConfig;
nk_buffer m_nkCommands;
CShaderProgram *m_pNuklearShader = nullptr;
glm... |
7d9ae8207bba96bdfb4a66b2c2ddde722105968d | 7df11251e9e52a68b14d65222a20934670fe5a9e | /Dissimilarity matrix construction/header.cpp | 1233e2b3690d1b0e3cdf1176aaf11d1c49eb25bd | [] | no_license | nunonene/Multi-scale-analysis-and-clustering-of-stress-induced-co-expression-networks | 9a56403c43d8cb4582c57d4039397498eeb294fb | 785889a0e53d899810392c33f489f9b1f69878d8 | refs/heads/master | 2021-01-19T12:19:14.196941 | 2017-12-01T23:49:54 | 2017-12-01T23:49:54 | 82,304,720 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | header.cpp |
/* ----------------------------------------------------------------------
C++ files provided with:
http://www.bioconductor.org/packages/release/bioc/html/BHC.html
------------------------------------------------------------------------- */
#include "header.h"
extern "C" {
#include <math.h>
#inclu... |
27c84c17a7d2d5c83e7ac3323c6eb864c29c6536 | a8117918f26beb4613236366e77072fb33f14ede | /vision/algorithms.cpp | d27694680d858c535febb2398dec32db1c1c4f9f | [] | no_license | yash101/FRC-Eye-2015 | 071e646d45bc54b96cb0c6507e4643cb700986a2 | 3e446212c47999a012b6e0607f46f1e2e14ed21b | refs/heads/master | 2021-01-19T06:39:47.468692 | 2015-02-08T17:21:11 | 2015-02-08T17:21:11 | 29,171,882 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 56 | cpp | algorithms.cpp | #include "algorithms.hpp"
algorithms::algorithms()
{
}
|
adfde54295fd5ac867a3d47c67191b3755560a19 | 26df8a922aea89557071dc919d6d21fb7241488a | /firmware/ArduinoPixel/src/external/esp_ws2812/esp_ws2812_rmt.cpp | 8ac8217d2c314a09d855911f667849da1c0e2d5d | [
"MIT"
] | permissive | nlamprian/ArduinoPixel | 813335abc7a495b4e604db37f737cb30f770f974 | eb28d9fed6deede2ca67b485b6fd834321a825b6 | refs/heads/master | 2023-02-05T22:32:49.543840 | 2020-12-27T18:41:07 | 2020-12-27T19:07:14 | 17,894,345 | 21 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 5,561 | cpp | esp_ws2812_rmt.cpp | /*! \file esp_ws2812_rmt.cpp
* \brief Definitions of functions for interfacing with the RMT peripheral on
* ESP32.
* \note Based on public domain code created on 19 Nov 2016 by Chris Osborn
* <fozztexx@fozztexx.com> http://insentricity.com
* \author Martin F. Falatic
* \date 2017
* \copyright The MIT Licens... |
079b14c6d13a637832028ea359b29fa84a99db33 | 338bfe4b504d2175f24a405d836fa34566d78b02 | /02-SGI_STL源码/SGI_STL/bits/stl_iterator.h | 68a5d24a7dd5259595a9c841f2feded8520b0bad | [] | no_license | irplay/code_repository | a74628d8940b6f5cc874307cd549fc5d61f18a6b | 34064b82ba9159111ceea7c58513f3c483c4384e | refs/heads/master | 2021-01-18T06:25:07.178124 | 2015-05-12T09:00:35 | 2015-05-12T09:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,378 | h | stl_iterator.h |
#ifndef __GLIBCPP_INTERNAL_ITERATOR_H
#define __GLIBCPP_INTERNAL_ITERATOR_H
namespace std
{
template<typename _Iterator>
class reverse_iterator
: public iterator<typename iterator_traits<_Iterator>::iterator_category,
typename iterator_traits<_Iterator>::value_type,
typename iterator_trai... |
9c4869adf32c63c874e793d5d0d8dfd470df4c42 | a61cde1abdf6d984625752e3bb4b6a22d4d4d35d | /MS3/Product.h | e889037de56189e0c0e4a5da6a5d3227afe9a9ea | [] | no_license | fzhang13/OOP244 | e661ad94e1494d0f25228aac366e6fd0647b1146 | ecf7079baa5d62a23d42836a8fe4fdffc2bdf60f | refs/heads/master | 2020-03-26T22:30:43.924071 | 2018-11-05T18:25:25 | 2018-11-05T18:25:25 | 135,484,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,287 | h | Product.h | /**********************************************************
* Name: Xin Song Zhang
* Student ID: 111976171
* Seneca email: xszhang3@myseneca.ca
* Date of Completion: July 23rd, 2018
**********************************************************/
#ifndef PRODUCT_H
#define PRODUCT_H
#include <iostream>
#include "Error... |
affa0c91db131dee1a2a01ac2d24d4c32a1c8eb5 | 75a574cc626abb6106d749cc55c7acd28e672594 | /Test/PostOrderBinaryIteratorWithOutStack.h | 79951f40427ded3eabbe194b7ebe93e0e9c85eb4 | [] | no_license | PeterGH/temp | 6b247e0f95ac3984d61459e0648421253d11bdc3 | 0427b6614880e8c596cca0350a02fda08fb28176 | refs/heads/master | 2020-03-31T16:10:30.114748 | 2018-11-19T03:48:53 | 2018-11-19T03:48:53 | 152,365,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,745 | h | PostOrderBinaryIteratorWithOutStack.h | #pragma once
#include "BinaryIterator.h"
#include "BinaryNodeWithParent.h"
using namespace std;
namespace Test {
template<class T> class PostOrderBinaryIteratorWithOutStack : public BinaryIterator<T, BinaryNodeWithParent> {
private:
BinaryNodeWithParent<T> * current;
BinaryNodeWithParent<T> * prev;
publ... |
09e70073c188c436c3d1725399453cbaa18bd638 | 6ea50d800eaf5690de87eea3f99839f07c662c8b | /ver.0.15.0.1/EmptyMapItem.h | 0da309b58ed803b6c917bbbb4454795a8d260a6f | [] | no_license | Toku555/MCPE-Headers | 73eefeab8754a9ce9db2545fb0ea437328cade9e | b0806aebd8c3f4638a1972199623d1bf686e6497 | refs/heads/master | 2021-01-15T20:53:23.115576 | 2016-09-01T15:38:27 | 2016-09-01T15:38:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | h | EmptyMapItem.h | #pragma once
class EmptyMapItem{
public:
EmptyMapItem(void);
EmptyMapItem(void);
void addPlayerMarker(ItemInstance &);
void addPlayerMarker(ItemInstance &);
void getInteractText(Player const&);
void getInteractText(Player const&);
void requiresInteract(void);
void requiresInteract(void);
void use(Ite... |
55e09555ca86a7a4f3befb5e35b6ab529d2fd482 | 6926361d32b07133eee7b84f7a2049f925b39199 | /src/SignalR/clients/cpp/src/signalrclient/negotiate.cpp | a38d1e31e3a9faf2da3afd4a8199ee96a4adc662 | [
"Apache-2.0"
] | permissive | lyqcoder/AspNetCore | d0ed82460adfaf94dd9d656443cdf45ad7fe6fa2 | 6a6a870f0847d347e72443eda843969d0b46da94 | refs/heads/master | 2020-05-04T06:17:27.579794 | 2019-04-01T23:01:26 | 2019-04-02T04:43:30 | 179,002,699 | 1 | 1 | Apache-2.0 | 2019-04-02T05:06:27 | 2019-04-02T05:06:25 | null | UTF-8 | C++ | false | false | 4,511 | cpp | negotiate.cpp | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#include "stdafx.h"
#include "negotiate.h"
#include "url_builder.h"
#include "signalrclient/signalr_exception.h"
namespace signalr
{
namespace nego... |
f8c8ce0af086e8266cb2f867427cc4f9d6e49fa0 | a9e525c3db9f22caf20dcca2788c81c6bb8b6449 | /include/Thor/Math/ExpressionNodes.h | fb4b7baa0a554699b3f101fe49e6dabf692b25fc | [] | no_license | Soth1985/Thor2 | 6056c5b64ed7127d322189916edf9d44ec239145 | 9c7f18a5c795ecc7c0d78456ee5c9d30ea8aa696 | refs/heads/master | 2023-04-27T07:42:19.427364 | 2023-04-17T07:16:17 | 2023-04-17T07:16:17 | 57,103,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,868 | h | ExpressionNodes.h | #pragma once
#include <Thor/Framework/Common.h>
namespace Thor{
///////////////////////////////////////////////////////////////////
/**
* nil_t represents no type template parameter.
*/
struct nil_t
{};
template < class OpT >
struct Traverser;
////////////////////////////////////////////////////... |
5b84245423ecd27622c5226a757e57092edd27e8 | 5b53cd96e4cc12ddb18b738acd091941f2b69d64 | /URI/uri2582.cpp | b64cb01c27c1317b604d50c8bb150b30801b22c9 | [] | no_license | mtdecarvalho/POO-21.01 | 5457ea90c99564b0f5415a7139105a1bd24966e0 | 4fa78dc2ff7d87d2e4da9aa7b2d413dede6e3cbc | refs/heads/main | 2023-06-23T17:31:57.259442 | 2021-07-19T16:50:14 | 2021-07-19T16:50:14 | 354,854,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | uri2582.cpp | #include <iostream>
using namespace std;
void musica( int X )
{
switch ( X )
{
case 0: cout << "PROXYCITY" << endl; break;
case 1: cout << "P.Y.N.G." << endl; break;
case 2: cout << "DNSUEY!" << endl; break;
case 3: cout << "SERVERS" << endl; break;
case 4: cout << "HOS... |
da632217b4473b20c4babdacaa1e77e1cda8c4bb | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /hackathon/brl/s2/targetList.h | f798f03ebf4a027b660f86fa41b37f3cf5ae9fca | [
"BSD-2-Clause",
"MIT"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 752 | h | targetList.h | #ifndef TARGETLIST_H
#define TARGETLIST_H
#include <QWidget>
#include <QTableWidget>
#include "v3d_message.h"
#include <v3d_interface.h>
#include "tileInfo.h"
class TargetList : public QWidget
{
Q_OBJECT
public:
explicit TargetList(QWidget *parent = 0);
signals:
public slots:
void updateTargetTable(... |
a4c1b7e003cbc732ab4fd791806dd8f6f1ac31ac | 35a8885c932fb958de277e91d9c0f17085655965 | /MapEditor/layer/GridLayerStratgey.h | f7ceb23121dd09102a0acf95823bd05be269e6af | [] | no_license | Kuiderlix/Map-Editor | 72470e4ffd1ca05eb873d698b2487871521b5800 | 5f4fc20d6e4121f71cbfd865c2efe4b8f5deec6f | refs/heads/master | 2021-05-27T08:40:03.341949 | 2014-06-24T11:29:11 | 2014-06-24T11:29:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | GridLayerStratgey.h | #ifndef GRIDLAYERSTRATGEY_H
#define GRIDLAYERSTRATGEY_H
#include "MapView.h"
class GridLayerStratgey : public IStrategy
{
public:
GridLayerStratgey(MapView * mapView);
virtual void execute();
private:
MapView * mapView;
};
#endif // GRIDLAYERSTRATGEY_H
|
3d33bbdb936d2a3e044c5c8e1df068452a0f19a5 | 30dded54c00844dfe5febbb977759c5c9643ea47 | /test/Base.h | 343ae0f8ba63aa79ca59d17813cd1ed3a8be4ac2 | [] | no_license | IamLupo/base-problem | 436839e4ae589cc991dcd124b2c88aef86acabac | b230373b8addc6a41ce23c49e2ec5a639c09a309 | refs/heads/master | 2020-03-24T00:06:14.065459 | 2018-07-27T17:51:41 | 2018-07-27T17:51:41 | 142,273,463 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | h | Base.h | #ifndef H_BASE
#define H_BASE
#include <iostream>
#include <vector>
using namespace std;
class Base {
private:
int base;
long long value;
vector<int> digits;
void updateDigits();
public:
Base();
~Base();
void set(int base, int value);
bool isValid();
int collisions(... |
43a0c6f9345cde9b30448981c15e40d88537e523 | c423ab2463e0f9560fbc27de94262111fe45071c | /c-c++/diamond.cpp | 1a68daede24862d3dcdcdb19ab2d53328fd6133a | [] | no_license | cutecprog/playcode | 61ae5ccc7bfd7592f54036d818e42e589e5a3cde | 431e97ba3a6b27c14311968e6336e127449b6c4c | refs/heads/master | 2021-01-23T17:19:53.327367 | 2014-10-27T14:49:17 | 2014-10-27T14:49:17 | 3,365,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | diamond.cpp | #include <iostream>
#include <time.h>
using namespace std;
void makeDiamond (int, int);
int main()
{
int startTime;
int size, numOfTimes;
cin >> size >> numOfTimes;
startTime = time(0);
makeDiamond(size, numOfTimes);
cout << "Time to complete task: " <<(time(0) - startTime) << " Sec... |
adb2d4fa195c3ac98bf6f0834e205d142669a836 | d7170c2a8234c947432ee1cbffe2eb22db31b221 | /transmission_model/src/Stats.h | 16be415cf59d6c88f352add27075090b1f5bcf03 | [] | no_license | khanna7/BARS | c3ab28354f4bb711c7d8307486194769454c86ff | 6829f0da638c0c839c40dd6f6b84a645c62f4446 | refs/heads/master | 2023-07-06T06:33:57.160645 | 2023-06-28T23:17:24 | 2023-06-28T23:17:24 | 40,013,171 | 6 | 2 | null | 2016-05-17T17:08:43 | 2015-07-31T16:01:07 | C | UTF-8 | C++ | false | false | 5,913 | h | Stats.h | /*
* Stats.h
*
* Created on: Nov 6, 2015
* Author: nick
*/
#ifndef SRC_STATS_H_
#define SRC_STATS_H_
#include <vector>
#include <fstream>
#include "FileOutput.h"
#include "StatsWriter.h"
#include "common.h"
#include "PersonDataRecorder.h"
#include "Range.h"
namespace TransModel {
struct ARTEvent {
... |
d18a61519745137cd89f8d3c44d165b8956d4317 | 197381ad9ce2e3b224d9c40882da6e56b301f180 | /b.cpp | cf93ac9d1ab843cd79e4e49faef8c07d32d2d584 | [] | no_license | dalalsunil1986/OnlineJudge-Solution | c68ec45acf276478d1fa56dc7bede987bdc224a4 | fb2309c9c90b27dab02bec9d87e0de0a3359c128 | refs/heads/master | 2023-07-16T04:20:55.255485 | 2021-08-28T17:58:22 | 2021-08-28T17:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | cpp | b.cpp | #include<bits/stdc++.h>
using namespace std;
double f(double v)
{
return pow(v,3)-3*v-5;
}
int main()
{
long long int i;
stepa: double a,b,c;
cout<<"Enter two guessing number: ";
cin>>a>>b;
if(f(a)*f(b)>0){
goto stepa;
}
double x1,x2,Er;
cout<<"iteration\ta\tb\tc\tf(c)\n"... |
47233b93492d8d483856ad50daa429d7f285dc18 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /ash/ash_element_identifiers.h | 24a96bbcfd1d36cf9ee64ea465ac16079e9ac55f | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 3,411 | h | ash_element_identifiers.h | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_ASH_ELEMENT_IDENTIFIERS_H_
#define ASH_ASH_ELEMENT_IDENTIFIERS_H_
#include "ash/ash_export.h"
#include "ui/base/interaction/element_identifier.h"
namespace ash {
... |
33fe159e0d77d69947db5820b5ee146b83b15412 | 28871bf036c6081bae6f582e9606e1a0027ecc87 | /uartsetting.h | 5136bc99b468d2f0039af3c96fe89c263fb80731 | [] | no_license | Zhangfan94/PLCMonitor | 6f5fa641de353c3abeff6649afe4083e7b14f469 | e28062991b925cdd4f3ec2162cc564943eacc021 | refs/heads/master | 2021-04-06T02:07:02.712017 | 2018-05-13T05:18:26 | 2018-05-13T05:20:15 | 124,897,463 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 593 | h | uartsetting.h | #ifndef UARTSETTING_H
#define UARTSETTING_H
#include "datamenu.h"
#include <QShowEvent>
#include <QWidget>
#include "settingmenu.h"
namespace Ui {
class UartSetting;
}
class UartSetting : public QWidget
{
Q_OBJECT
public:
explicit UartSetting(QWidget *parent = 0);
~UartSetting();
private:
bool i... |
d96bdc62121e219f9ad47a00c0f09f67c80ad169 | 7ea1866667a22f99f110503a7177d12f45e7cca1 | /CollatzAVL/DLL.h | 74ad4170f9f00fdfe5be501e4c8fd417efc4bf05 | [] | no_license | Diamond-Dust/CollatzAVL | c2cbecee7fc0d445ec976e6d6df4a7734487d747 | f98eb8b9a0ed82c1bc8a4d2ed1d9494c65788cfa | refs/heads/master | 2020-03-17T11:55:31.169453 | 2018-05-16T10:21:47 | 2018-05-16T10:21:47 | 133,569,168 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | h | DLL.h | #pragma once
typedef struct Module {
char value;
Module* next;
Module* prev;
}Node;
class DLL {
private:
int size;
Module *head, *tail;
public:
DLL() {
head = nullptr;
tail = nullptr;
size = 0;
}
int GetSize() {
return size;
}
void AddFront(const char& newM) {
Module* NewM = new M... |
93d68abae877f7bf0adee329e95f30f4374404c7 | ffb70f65171441ff865e357738b77a80e57b555e | /lesson11part1.cpp | 3448be95887794ae1212d7d564483212dd7440e7 | [] | no_license | matthewsvu/School-Labs | 8a0da59a1e02bf6a44e7a3b8425c8fdb452fc1c2 | 65e9295b4826712b94e410493e9c220531c5ea43 | refs/heads/master | 2021-07-14T22:40:45.681631 | 2020-11-04T21:03:36 | 2020-11-04T21:03:36 | 221,845,010 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,818 | cpp | lesson11part1.cpp | /*
Make a program that will validate a loshu magic square with sizes between
3x3 and 21x21. There must be every number from 1 to n times in the square
and the program must open and close all files.
*/
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cmath>
#include <vector>
using namespace std;
co... |
737aabe8d4376656c6db38f873782c2b1dec3aaa | 95887af3ebd6b68c8f9c30c33ae5ca4a0393512f | /Library-Management-System/librarianaddbook.cpp | 8736692b30dea15849917bff3b4fe9d1e75a3bb6 | [
"MIT"
] | permissive | xukaixout/Library-Management-System | 318ce2240dde930750bff3a7d983408c6751550e | 77eed5c411b47873580d2fe010835d8748697b09 | refs/heads/main | 2023-02-07T22:49:49.400159 | 2020-11-12T06:51:32 | 2020-11-12T06:51:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,827 | cpp | librarianaddbook.cpp | #include "librarianaddbook.h"
#include "ui_librarianaddbook.h"
#include "QMessageBox"
#include "windows.h"
#include "testh.h"
#include "QComboBox"
#include "QString"
#include "vector"
#include "QDebug"
librarianAddBook::librarianAddBook(QWidget* parent) :
QDialog(parent),
ui(new Ui::librarianAddBook)
{
ui->setupUi(... |
f2b0b91cbd36951d8fc18bab35c533d0effae5a9 | f420ad28c7a8836a6afff7d083b37d6ede4f427d | /MyCameraApp/app/src/main/cpp/include/mylog.h | e618d97c4fcfff7d14237e3ab0ae533fe744be50 | [] | no_license | wuRDmemory/Android_test | 381b02a541db97eff71d755037d99e0d7a6ee127 | f86f6964cbc1a8aedd7977b9aa5d97d28b6b8321 | refs/heads/master | 2020-04-02T15:46:08.960750 | 2018-10-24T23:32:34 | 2018-10-24T23:32:34 | 154,582,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | h | mylog.h | //
// Created by ubuntu on 18-9-21.
//
#ifndef MYCAMERAAPP_MYLOG_H
#define MYCAMERAAPP_MYLOG_H
#include <jni.h>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <android/log.h>
#include <android/asset_manager.h>
#include <android/asset_manag... |
16efa91b8c76d5b8f17bcd8693fdfbd956b64366 | 0b7fd0e1314d442780395068305b511cf3f6d7ca | /src/vertical3d/image/ImageReader.h | e27bbf8a818aa9480e3ae87f871eba28ae421a5b | [] | no_license | sigsegv42/v3dlibs | b1baa4b07df46d5168ed169b5ae95a5c4c693085 | 2fad4d38b1700442f0b15a6b8db200f1925dd1e9 | refs/heads/master | 2020-06-02T10:54:47.188214 | 2014-12-24T21:40:07 | 2014-12-24T21:40:07 | 1,419,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | h | ImageReader.h | #ifndef INCLUDED_V3D_IMAGEREADER
#define INCLUDED_V3D_IMAGEREADER
#include "Image.h"
#include <boost/shared_ptr.hpp>
#include <string>
namespace v3D
{
/**
*
**/
class ImageReader
{
public:
ImageReader();
virtual ~ImageReader();
virtual boost::shared_ptr<Image> read(const std::string & filename... |
224a120a4a83ecf67da885c46b58e2f92b71dcd0 | 337ce318df64cf38c6c8caa265e7280748f992a2 | /override/derived.hpp | b0f2d5d45a299a117d83e3058796059790b839e1 | [] | no_license | cristobalmedinalopez/boost-python-examples | f724ba459ae9959287ce661248fb8e1ae6f743d6 | d9beed420ebac32bc6b6d327dbc6b4b972f35037 | refs/heads/master | 2021-01-10T12:41:36.339808 | 2016-04-13T08:24:26 | 2016-04-13T08:24:26 | 55,055,523 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | hpp | derived.hpp | #include "base.hpp"
class Derived : public Base {
public:
Derived(){}
virtual char const* hello()
{
return "hello from Derived";
}
char const* sayhello()
{
return hello();
}
};
|
59b1ad8738de37598e5afefdb6ba81a99c0ba822 | a2853c5a618ae4eb9590a1ed4d71e8c10ffc3ae5 | /Media/Scripts/Buffs/BurningDamageOverTime.hpp | cdc26c9f5aa4c39ed84b1fabed20ae119b92f28a | [] | no_license | mengzhouli/deepdeepsite | e27a2b195d143f710f51037b4a346c9c80404d4c | 912c5e0aacd5ba5e222df56d0c5359bfb3126ac4 | refs/heads/master | 2021-01-20T17:29:38.712374 | 2017-05-16T17:10:37 | 2017-05-16T17:10:37 | 90,877,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | hpp | BurningDamageOverTime.hpp | #pragma once
#include "Buffs/DamageOverTime.hpp"
#include "Drawables/Flame.hpp"
namespace Dwarf
{
namespace Character
{
class BurningDamageOverTime : public DamageOverTime
{
public:
BurningDamageOverTime(const BuffComponentParameters& parameters, CharacterID sou... |
19b8137ad6bc4b2021f213f9b3baeb90c6818f8a | d7f5938376fc232b3066a8a51005b9c7c6ab3dc5 | /Online Judge/UVa/1585 - Score.cpp | da53dcce073b4a7424afe582766a812de37952dd | [] | no_license | NurenDurdanaAbha/Nuren | a0384e167256a051c224298444f6f75d58a709b6 | a2680693c8ccfc32268c05f816030098d16865c6 | refs/heads/master | 2021-01-09T16:19:45.805936 | 2020-02-22T15:55:19 | 2020-02-22T15:55:19 | 242,368,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | 1585 - Score.cpp | #include<iostream>
#include<string.h>
#include<stdio.h>
using namespace std;
int main()
{
char s[100];
int i,l,test,t,count,sum;
cin>>test;
getchar();
for(t=1; t<=test; t++)
{
cin.getline(s,100);
l=strlen(s);
sum=0;
count=0;
for(i=0; i<l; i++)
{
... |
90ed4eeba7889e8e0ad2c2bb7d64a4732ba99515 | 479a94f5ff583bbd7255e3996814e8fea6dd9a86 | /core/include/rendersystem/Material.h | b186d0e64c5837419cfab8ff4f448641e68e85a9 | [] | no_license | bitores/qt-3d | 5b590ac39c6f6f500b4cdef376933a36002d9fa1 | 53b40c9b87e217787c757de818e749eb672e8613 | refs/heads/master | 2021-01-01T17:30:56.087936 | 2017-07-23T12:00:53 | 2017-07-23T12:00:53 | 98,093,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,469 | h | Material.h | #ifndef _Material_H__
#define _Material_H__
#include "utils/include/prerequisites.h"
#include "utils/include/IteratorWrappers.h"
#include "utils/include/Common.h"
#include "utils/include/ColourValue.h"
#include "utils/include/BlendMode.h"
#include "utils/include/SharedPtr.h"
#include "asset/Resource.h"
// Forward decl... |
0d8d86cded7c8f5b648546e696c2e3a73bc9f3d6 | ff8bbfa7e9a33593a483176fc304a9701ffc65ab | /solver/FBEsolver.hpp | 40ee8e83e09bc9e5e0b7296c4cc59d4b1b0f3267 | [] | no_license | narutse/phasefield | 15d4a94757ed59f4b970c8d42528bd42a67fafd1 | b6bf8a43d85cd613f3c897ff7238f9f3205159ca | refs/heads/master | 2021-09-07T19:34:07.407779 | 2018-02-28T00:11:09 | 2018-02-28T00:11:09 | 122,397,670 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,883 | hpp | FBEsolver.hpp | #ifndef __FBESOLVER_HPP__
#define __FBESOLVER_HPP__
#include <iostream>
#include <Eigen/Sparse>
#include "MMSfunc.hpp"
#include "matrix.hpp"
// #define PRINT_ITER
namespace Solver
{
using namespace MMSfunc;
class FBESolver
{
template <class T> using vector = std::vector<T>;
using SpMat = Eigen::Spar... |
23f5117d3f26e710a91e2a8478edd22d99c1fdf2 | 17c694001063e7ec76a48278f87f3894d4744a88 | /TESTAudioObject.h | 860b58086d4500aa4be61f63900f4a07f5985619 | [] | no_license | tpower/Nori-Engine | f94bc24e50c8da6fd3e48979cb2c36de7cb10758 | 1b146047772b950cded36b0bc45575491c51cdb5 | refs/heads/master | 2016-09-03T06:27:03.382783 | 2012-10-07T19:32:29 | 2012-10-07T19:32:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 281 | h | TESTAudioObject.h | #ifndef TESTAUDIOOBJECT_H
#define TESTAUDIOOBJECT_H
#include "AudibleObject.h"
class TESTAudioObject : public AudibleObject
{
private:
Mix_Chunk *testSound;
public:
void processSound();
void toggleActive(bool);
};
#endif // TESTAUDIOOBJECT_H
|
9d54f02f7fab79d7378b5c33af572a83055f5712 | c6ae6d23823615013c77d34cef3044c6758039a0 | /include/ticker.h | 1b2cb3e1a39f7992dcc1e81934528e2295c5b1de | [
"MIT"
] | permissive | DennieBee/WordClock | 94b64626147cb3fdb72626ca1c2ba4bf40161f00 | f76a59a5b2a58576bc77bd41ff4dbab29ba20c04 | refs/heads/master | 2021-03-31T02:58:51.947785 | 2020-03-22T22:48:56 | 2020-03-22T22:48:56 | 248,070,095 | 0 | 0 | null | 2020-03-17T20:48:05 | 2020-03-17T20:48:04 | null | UTF-8 | C++ | false | false | 252 | h | ticker.h | #ifndef TICKER_H
#define TICKER_H
#include <display.h>
#include <ihandler.h>
class Ticker : public IHandler
{
public:
static void Initialize(String text, CRGB textColor, uint8_t delay);
static void Handle(HandlerInfo info);
private:
};
#endif |
34db2c1aa75fff1cb55620dfc215e98bccd336bf | dc4b96c2d3dda03cc058d303a1ae0fc55233159b | /Codegen/CType/CTypeRef.cpp | 143e0005531735e21f7200bb8b7ff7e210c56641 | [
"MIT"
] | permissive | belyaev-mikhail/borealis | 43783b48883cc48620db28482f31c2cdb2cd244a | 82de619ad4c462f419c55ba375404516c291a7a2 | refs/heads/master | 2020-07-11T06:52:51.661898 | 2019-05-14T09:15:42 | 2019-05-14T09:15:42 | 204,470,584 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 77 | cpp | CTypeRef.cpp | //
// Created by belyaev on 5/12/15.
//
#include "Codegen/CType/CTypeRef.h"
|
73d96ac4d5bcdd18fde760aafb26238c2ce2e7d7 | 54767226ff842669c4c0726fb025431e584325c9 | /test/unit_test.hpp | 80f52fb44628eb52afbcac75df1f1d22e590c78e | [
"MIT"
] | permissive | mmpatil/NCD | 89d39159025b44f082a22d1a03c1073ed43f52cb | 3e0eea39aaa209e470c036e324509697d80aebc9 | refs/heads/master | 2020-07-16T14:27:01.750877 | 2019-09-29T23:44:29 | 2019-09-29T23:44:29 | 205,805,508 | 0 | 0 | MIT | 2019-09-02T07:56:45 | 2019-09-02T07:56:45 | null | UTF-8 | C++ | false | false | 1,039 | hpp | unit_test.hpp | /*
* unit_test.h
*
* Created on: Dec 23, 2014
* Author: atlas
*/
#ifndef UNIT_TEST_H_
#define UNIT_TEST_H_
extern "C" {
#include "ncd.h"
}
class DetectionInitTest : public ::testing::Test
{
protected:
virtual void SetUp()
{
char const* args[6] = {"ncd_main", "127.0.0.1", "-n3000", "-t64",... |
a87ea828504007f6deb5701bbb0295a2aaa7bd24 | 695ec34399b8b89da00f9dd71a99ed80c9b35e2c | /Invitation_of_Crimson_Moon/move_hero.cpp | 90e917b67e749888cb4b4d7105f1a0268e69b7ca | [] | no_license | Alicepro/Invitation_of_Crimson_Moon | f814a91fe46c0ae33fa960608cccc6e5e9894167 | 5d559cd4562efde75dfafdea99a2d2546d16004f | refs/heads/master | 2020-12-31T01:47:22.217865 | 2014-11-19T13:14:09 | 2014-11-19T13:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24 | cpp | move_hero.cpp | #include "move_hero.h"
|
2e8590076eec52f4c86979d5c4e937921d7e9ff5 | 464d6cb42fb8981595cbf7260069cd1e6a67fe2f | /Combitorics/CDC YTU Count possible ways to construct buildings.cpp | d34b4db6add7be303aa4e714d69bd9c299623239 | [] | no_license | rahul799/leetcode_problems | fd42276f85dc881b869072b74654f5811c6618ea | cc7f086eb9ac9bbd20ea004c46d89aa84df10d36 | refs/heads/main | 2023-04-14T05:09:31.016878 | 2021-04-20T19:46:52 | 2021-04-20T19:46:52 | 359,933,382 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,084 | cpp | CDC YTU Count possible ways to construct buildings.cpp | Count possible ways to construct buildings
Difficulty Level : Medium
Last Updated : 12 Nov, 2018
Given an input number of sections and each section has 2 plots on either sides of the road. Find all possible ways to construct buildings in the plots such that there is a space between any 2 buildings.
Example :
N ... |
166d57f2b25f24daba0b12a422949d5dc1947e13 | 6bc31640a0aa00b0f62be75fd8e62864ae6c7e84 | /latortugaDump/latortugaDump.cpp | 32356612460a1cc28aed8ce2a92e503fa797c321 | [] | no_license | latortuga71/latortugaDump | 3ed377b3968eb2985573f22f04fa21c25ee53b75 | 2fe9c71831217d8c71519c5dac48aa2702d5b0f4 | refs/heads/main | 2023-03-03T23:16:35.540391 | 2021-02-14T23:46:45 | 2021-02-14T23:46:45 | 338,925,188 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 6,593 | cpp | latortugaDump.cpp | // latortugaDump.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include <Windows.h>
#include <winternl.h>
#include <ntstatus.h>
#include <stdio.h>
#include <string>
#include <map>
#include <processsnapshot.h>
#include <intrin.h>
#include <Dbghelp.h>
#pragma comme... |
e7089d66aa8361a0857f0bc255f0b06166a5eeba | 3273c7087ba6f3a805a4dfc6ba66bfea801012a3 | /src/libcore/handlerqueue.cpp | 446fb081e63dc72f599d5ecd32a452ed59e32a34 | [] | no_license | zhouxingtuan/gammaServer | e4d38cfaf8a05b0229048af7a1b4010839b2017e | 868d5c2d2cc9b65181489d42971e4a52efc1b800 | refs/heads/master | 2021-01-22T21:45:55.588529 | 2019-03-25T09:06:59 | 2019-03-25T09:06:59 | 85,474,498 | 12 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,918 | cpp | handlerqueue.cpp | //
// Created by IntelliJ IDEA.
// User: AppleTree
// Date: 16/5/30
// Time: 下午9:16
// To change this template use File | Settings | File Templates.
//
#include "handlerqueue.h"
NS_HIVE_BEGIN
static HandlerQueue* g_pHandlerQueue = NULL;
HandlerQueue::HandlerQueue() : RefObject(), Sync() {
}
HandlerQueue::~HandlerQu... |
5f20376e613950b7207121b1f0e786cd81afba28 | 884ab831d68e79e7abefd50d23c0d6fa755f4ad0 | /MyLibrary/MyLibrary.h | a7b505337312c25f6617d41585c448d6306e03e0 | [] | no_license | kulikov050686/Homework_05 | af73c9fa0b17b91c1cc5b25a9daf5628c0628e21 | 0adca88c762eafb3bf22e057d6645a2a6054c942 | refs/heads/master | 2021-05-19T06:19:08.149893 | 2020-03-31T09:55:12 | 2020-03-31T09:55:12 | 251,563,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | h | MyLibrary.h | #pragma once
namespace MyLibrary
{
class VinohradStrassen
{
public:
void mult_standart(double* c, double* a, double* b, int n);
void mult(double* c, double* a, double* b, int n);
private:
void copy(double* a, double* b, int ib, int jb, int n);
void copyback(double* a, int ia, int ja, double* b, int n);
... |
caec3e92ddfd267b2732da5edc1b6e645abf2d0c | ad3e2a87c0f2c1f409edb1a6e3c06f0bc1826064 | /jjanow7Lab5/jjanow7Lab5.ino | 89a711eb3172216cca12042cd6c817517bec944c | [] | no_license | jacjanowski/Computer_Design | 4d643a139658b443fe8a5a76abe08e63b2cb0edd | 0a1be3f6e09e3016d2e636568fd2ac9c80eb1513 | refs/heads/main | 2023-01-19T19:56:48.073485 | 2020-10-27T15:54:02 | 2020-10-27T15:54:02 | 307,750,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,727 | ino | jjanow7Lab5.ino | //********************************************************************************
//Jacob Janowski - 672941241
//Lab 5 - Multiple Inputs and Outputs
//
//Description: In this lab, we are asked to produce a noise
// output utilizing our buzzer at the same time
// creating another outpu... |
316b1808dd394cf7b993363154e479e1118ba623 | 1aecc1834337ebbb69c7c97e4e12ac4f9c1f2c43 | /Cor_Engine/Sprite2DRenderer.h | 9bf502d26bca98f94ee26562930fdff565471510 | [] | no_license | EunwooSong/GP_Is_this_a_country | 374ccfb68e8b77d5d3bf7a5da22d370398914099 | 5c2c37b24e226c8749ecf37885b4a1bcb1052d81 | refs/heads/main | 2023-07-31T18:05:22.610465 | 2021-09-12T13:27:34 | 2021-09-12T13:27:34 | 348,374,590 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | h | Sprite2DRenderer.h | #pragma once
#include "Component.h"
class Sprite2DRenderer
: public Component {
public:
Sprite2DRenderer() :
texture(nullptr),
color(1,1,1,1),
visibleRect(0,0,0,0),
width(0),
height(0),
isVisible(true){}
Sprite2DRenderer(const char* path);
Sprite2DRendere... |
27b2f2da7284760ba1da0b49cb699db2b6a562f0 | 0a0087b9d2a1d1413f8be3f3390c288ee3018656 | /Identity/Engine/src/Physics/ICollider.cpp | 0ec5b7c28cbc94f2eb572bf1040007915027dfed | [] | no_license | GabMeloche/Identity-Engine | fcda4bbf737da7db887d166dec32778c06315a3d | b959e60ade02d94d5205c3526d6ae927a86ded74 | refs/heads/master | 2021-04-02T21:57:16.597937 | 2020-09-28T17:15:19 | 2020-09-28T17:16:46 | 248,327,267 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,654 | cpp | ICollider.cpp | #include <stdafx.h>
#include <Components/SphereCollider.h>
#include <Objects/GameObject.h>
#include <Components/Sound.h>
#include <Components/BoxCollider.h>
#include <Managers/SceneManager.h>
#include <Scene/Scene.h>
void Engine::Physics::ICollider::OnCollisionEnter()
{
if (m_gameObject->FindComponentO... |
1f36494d8286b9e9b9885cd19cc2af3e244594f9 | ca1303a5de37d1a1a2be1ff063362b926479ec46 | /RayTracer/Texture.cpp | 1aeeb0b222584a3005371d53a0b988e11c3e5215 | [] | no_license | AndreaCampagner/RayTracer | 556d798d08d634f683b5f298ba3b0fba363d44ba | c0add95b9be946d20dcdaa9b7e61292678aa7b92 | refs/heads/master | 2021-07-17T06:37:26.600335 | 2017-10-20T20:40:51 | 2017-10-20T20:40:51 | 105,381,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | cpp | Texture.cpp | #include "Texture.h"
#include <iostream>
const glm::dvec3 Texture::operator()(double u, double v) const
{
double w = (u * (double) width);
double h = v * (double) height;
int index = (int)h*width + w;
return image[index]*glm::dvec3(1.0/255,1.0/255,1.0/255);
}
|
1b07c9ecfd3f706661ce5b16ce36b00124b8f467 | 1fd71e5ff9a287538b73950c996cf6b3a056de62 | /yarp/src/libraries/os_services/common/YARPSyncComm.cpp | 650766592e3ffcf93e1b950e171f47eb1197260f | [] | no_license | paulfitz/poker | c34557ed163cb8242ca553e76b250dda3c65f0fb | 3e8f89c102a39b5475f1b550b1620f566ef63dba | refs/heads/master | 2020-04-19T08:48:50.388866 | 2011-09-02T16:25:32 | 2011-09-02T16:25:32 | 2,311,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,352 | cpp | YARPSyncComm.cpp | #include <stdio.h>
#include "YARPSyncComm.h"
#include "YARPNativeSyncComm.h"
#include "YARPSocketSyncComm.h"
#include "YARPNameID_defs.h"
#include "YARPNameService.h"
#include "YARPNativeNameService.h"
static void Complete(YARPNameID& dest)
{
if (dest.GetMode()==YARP_NAME_MODE_NULL)
{
dest = YARPNameServi... |
b40bfad544dcd8af6aa8df3aa8b791cc5e431d1d | e542300fc780b15fabeabdb5167eb828d251a05b | /10DX3D00/cSkinnedMesh.h | 9af4e6f59e0e789ba7fa9707186597e2e36a011f | [] | no_license | HongJunYeong/Orc_Must_Die | d1f6ec955e0ba15f9bf895ff2e41c1134b2b65a3 | d8b014c1e795412eab75d5264c71b9c926d41a90 | refs/heads/master | 2021-01-23T06:09:55.789360 | 2017-06-01T03:11:42 | 2017-06-01T03:11:42 | 93,011,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | h | cSkinnedMesh.h | #pragma once
class cSkinnedMesh
{
public:
cSkinnedMesh();
~cSkinnedMesh();
protected:
LPD3DXFRAME m_pRoot;
LPD3DXANIMATIONCONTROLLER m_pAnimController;
// >>:
float m_fBlendTime;
float m_fPassedBlendTime;
bool m_isAnimBlend;
// <<:
public:
void Setup(char* szFolder, char* szFile);
void Update();
void Up... |
a80b256958d26561816304e601be6e8c549dbaf6 | ee695fb0c945f434b5dc1d409ee47ca134d3b6bc | /SCL/SCLMovableObject.h | 0bc890ab78f35be23c9dbdd00ba9322380d93173 | [] | no_license | ShenChangLing/VsSln | 1a1b4d897a6388a81daeb779945e55d82a1a391e | cf2f2bb2f07e8a0c495aca0f69e2964501f54ac5 | refs/heads/master | 2020-05-09T14:07:17.750904 | 2019-05-28T06:13:41 | 2019-05-28T06:13:41 | 181,182,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | h | SCLMovableObject.h | #pragma once
#include "SCLPrerequisites.h"
namespace SCL
{
//场景可移动对象
class SCL_DLL MovableObject
{
public:
MovableObject();
virtual ~MovableObject();
};
}
|
fdfc948c5d6087f4fc77225219a80abda6ee1fe0 | 0e8d57f10639b0bdcab2c89b307029697c909863 | /atcoder/agc023/A/main.cpp | e2d0aa0ec93e775cf48f37206fc52478e1f49547 | [
"Apache-2.0"
] | permissive | xirc/cp-algorithm | 07a6faf5228e07037920f5011326c16091a9157d | e83ea891e9f8994fdd6f704819c0c69f5edd699a | refs/heads/main | 2021-12-25T16:19:57.617683 | 2021-12-22T12:06:49 | 2021-12-22T12:06:49 | 226,591,291 | 15 | 1 | Apache-2.0 | 2021-12-22T12:06:50 | 2019-12-07T23:53:18 | C++ | UTF-8 | C++ | false | false | 629 | cpp | main.cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int N;
vector<int> A;
ll solve() {
vector<ll> T(N + 1, 0);
for (int i = 0; i < N; ++i) {
T[i+1] = T[i] + A[i];
}
map<ll,ll> M;
for (int i = 0; i < N + 1; ++i) {
++M[T[i]];
}
ll ans = 0;
for (auto e : M... |
cd388da3bbe8967cfd6cf0e432dc729f0e4eec42 | 04b70278f383ff1693f49bca68164a6532110761 | /game.h | 9149503f9ffd6ea59f5bb20e37ce4e3219132f2b | [] | no_license | AlexWillisson/h4ck4th0n | 9474599241e1e165733dd874adef5796602964ef | 71233b0bda7976173be1cb98ac08d5d63beb4d3d | refs/heads/master | 2021-01-17T06:15:59.304267 | 2012-03-29T23:11:16 | 2012-03-29T23:11:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | h | game.h | #ifndef GAME_H
#define GAME_H
#include "socket.h"
#include "server.h"
#include "hack.h"
class Player {
public:
Client cl;
int object_id;
char key_pressed;
float angle;
double time_until_spawn;
int team;
};
class Game {
private:
World world;
int... |
4d426355e7dd9b03c90833edcacf43b19a36a5cd | ed1b1e2f35e18569aa19b63568431c65493b4fbe | /archsim/src/abi/devices/virtio/VirtIO.cpp | 14dbed86afa03ae8d85f311d553dc1ea7227215c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yczheng-hit/gensim | cd215c6efc6357f1e375a90d7bda003e8288ed55 | 1c2c608d97ef8a90253b6f0567b43724ba553c6b | refs/heads/master | 2022-12-31T21:00:50.851259 | 2020-10-16T11:52:19 | 2020-10-16T11:52:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,497 | cpp | VirtIO.cpp | /* This file is Copyright University of Edinburgh 2018. For license details, see LICENSE. */
#include "abi/devices/virtio/VirtIO.h"
#include "abi/devices/virtio/VirtQueue.h"
#include "abi/devices/IRQController.h"
#include "abi/EmulationModel.h"
#include "abi/memory/MemoryModel.h"
#include "util/LogContext.h"
#include... |
3cb7714da67a89dd4f5f35df1023dbeeb2491a29 | c6efa1e74918806942f893fbcfb8a73a7dee0bf7 | /src/common/meta/Common.h | d2bf6d25a2b466c6f7e807be03c0790cba36be85 | [
"Apache-2.0"
] | permissive | panda-sheep/nebula-common | 1d9ec1e1591d52b796bc4badcaebc7e45f990ac9 | ca65cbdd7c04fa047f7a3897a3585795a74e27ae | refs/heads/master | 2023-07-11T05:33:41.739690 | 2020-09-15T14:00:20 | 2020-09-15T14:00:20 | 288,140,909 | 0 | 0 | null | 2020-08-17T09:42:06 | 2020-08-17T09:42:06 | null | UTF-8 | C++ | false | false | 1,198 | h | Common.h | /* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#ifndef COMMON_META_METACOMMON_H_
#define COMMON_META_METACOMMON_H_
#include "common/base/Base.h"
#include "common/thri... |
b6872b63eb83a1febd8fe76d1761126513ef711b | c264552726166f0eda755e7df921623ce2741ba4 | /tictactoe/ttt.cpp | 4b058e4580fd93ef6dac1dfd3b63eaa616bd0dc5 | [] | no_license | rithvik-yerramsetty/Tic-Tac-Toe | 20bd321e7f83df7d3e9278ffc482f573189a710c | 9714a24767907a25f4d6c2778d8319769e8eae94 | refs/heads/master | 2022-11-08T19:49:25.036125 | 2020-06-22T10:05:42 | 2020-06-22T10:05:42 | 273,833,132 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,379 | cpp | ttt.cpp | #include <stdio.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <string>
#include <algorithm>
const int SCREEN_WIDTH = 600;
const int SCREEN_HEIGHT = 600;
const int NO_RC = 3; //No of rows/columns
const int BUTTON_WIDTH = SCREEN_WIDTH / 3;
const int BUTTON_HEIGHT = SCREEN_HEIGHT / 3;
const int TOTAL_BUTT... |
f92265232c7d8902915154390445373e0c09b5ef | 1c5616c56c92d54388431b0894ea02458e564774 | /general/main.cpp | 6111245c02732469b8cb1d185661204ac849df96 | [] | no_license | bolt25/Codding | 93e021d4efe4e3a2bee056f8de9799845395168c | f32c9358bd02add1fc5f3bd1cf6abcac4cddd93d | refs/heads/master | 2020-08-23T12:21:13.074450 | 2019-10-21T16:33:29 | 2019-10-21T16:33:29 | 216,615,386 | 0 | 0 | null | 2019-10-21T16:32:08 | 2019-10-21T16:32:07 | null | UTF-8 | C++ | false | false | 111 | cpp | main.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
cout<<-617613447 -25;
cout<<"\n"<<INT_MIN;
}
|
4670fa2d43b0ba6a62986686e5f8dfd0ff375460 | 2af239d2aa1c1ac854751ca5a132a53831cfac5d | /a_star_algorithm.cpp | 490b1cbd87024ef6084dd7e2485c9c33fa7d43dd | [] | no_license | NataliyaBlagonravova/a-star-algorithm | f0f9e6a74b93aa97d09d470b91930ca63fa2d24d | f4895d569e51ae799bc4db8b17100485b012d16b | refs/heads/master | 2021-01-20T21:12:17.636938 | 2016-07-26T14:04:05 | 2016-07-26T14:04:05 | 64,227,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,067 | cpp | a_star_algorithm.cpp | #include "a_star_algorithm.h"
TAStarAlgorithm::TAStarAlgorithm(TGraph *graph, uint64_t startNodeId, uint64_t finishNodeId, bool needFullOutput)
{
Graph = graph;
OpenNodes = new TOpenedNodesContainer();
ClosedNodes = new TClosedNodesContainer();
Path = new TPathContainer(Graph->GetNodeCount(), startNode... |
4325af2b23b9c418585473a2fd929631f9291b53 | 30ccce5d98cef812062f91edb43701a614258ca6 | /Program/GprsController.ino | c2a7b0d6b539192eefc3dc1d98c1f39812e5c8a8 | [] | no_license | manunapo/security-system | 29c04656017834fb0e2feee115195bd1a695547a | 8c27e29802c25634dd04a4475cdcb58a1fe320a6 | refs/heads/master | 2021-01-21T13:44:04.758682 | 2016-05-29T15:41:57 | 2016-05-29T15:41:57 | 55,920,042 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,856 | ino | GprsController.ino | #include <SoftwareSerial.h>
//TX,RX
SoftwareSerial SIM900(7, 8);
int pinLedSignal_1 = 11;
int pinLedSignal_2 = 12;
String outMessage = "Se activo la alarma";
String destinationNumber = "298315550485";
void setUpGprs(){
SIM900.begin(19200);
pinMode(pinLedSignal_1, OUTPUT);
pinMode(pinLedSignal_2, OUTPUT);
SIM9... |
8d182070b0bcb2c21bc057cffa77c33b0b0a54e2 | ca4bfcaa8aafaacc33444d0e293fc68d1a025e04 | /src/dnnl_ops/Transpose.cpp | b43c03b98eea20138ea8ea754f1ffecacb3b8326 | [
"Apache-2.0"
] | permissive | codecaution/TSplit | 232d41b92dcb885ae140ce556a0123932af639c6 | 8f86f987163aa06521bfeeb174616eb4a0a81b47 | refs/heads/main | 2023-05-03T09:53:10.605881 | 2021-05-01T17:02:16 | 2021-05-01T17:02:16 | 363,457,345 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | Transpose.cpp | #include <cctype>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <random>
#include <stdexcept>
#include <vector>
#include <type_traits>
#include <omp.h>
#include "dnnl.hpp"
#include "../common/c_runtime_api.h"
#include "dnnl_runtime.h"
extern "C" int cpu_Transpose(const DLArrayHandle in_arr, DLArrayH... |
822976c1d37f36b1119bf986992092a36423a018 | d0276045ff88c6ad4969aa4deb929d1e2ed9efb7 | /Important DS Algo/Graph/Dijkstra.cpp | 8918d889ac15a527fe05316dc5242c98da1eaf3b | [] | no_license | rishabhtyagi2306/Competitive-Programming | 2f4d6e34701d3012832e908341606fa0501173a4 | 269d42a89940eefa73c922b6f275596fe68add6a | refs/heads/master | 2023-07-12T18:05:17.366652 | 2021-08-29T18:30:09 | 2021-08-29T18:30:09 | 256,992,147 | 3 | 3 | null | 2020-10-02T05:43:31 | 2020-04-19T12:20:46 | C++ | UTF-8 | C++ | false | false | 2,334 | cpp | Dijkstra.cpp | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ll long long
#define vii vector<int>
#define vll vector<ll>
#define mii map<int, int>
#define mll map<ll, ll>
#define sii set<int>
#de... |
82c82dc7787369fa06ebde518b5e2822139116b0 | cc13bdb0f445b8acf6bec24946fcfb5e854989b6 | /Pods/Realm/include/core/realm/util/platform_info.hpp | 16ae43a4b71650e37f8a5cefde6f80b3f0ed7bd5 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-generic-export-compliance",
"LicenseRef-scancode-realm-platform-extension-2017"
] | permissive | devMEremenko/XcodeBenchmark | 59eaf0f7d6cdaead6338511431489d9d2bf0bbb5 | 3aaaa6aa4400a20513dd4b6fdb372c48b8c9e772 | refs/heads/master | 2023-09-04T08:37:51.014081 | 2023-07-25T23:37:37 | 2023-07-25T23:37:37 | 288,524,849 | 2,335 | 346 | MIT | 2023-09-08T16:52:16 | 2020-08-18T17:47:47 | Swift | UTF-8 | C++ | false | false | 1,933 | hpp | platform_info.hpp | /*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2015] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* if any. The int... |
df796716b42d543f656548c349ec3a92808550a1 | e6311cd105b74e0d3bfd67ed2a4ca0364dc238e0 | /logarea.cpp | 43391d524339fa7605c334dd80131fcc5a2db62f | [] | no_license | printesoi/IPTool | 22d33fad8c3c9cb3e5580f8616021212c5b7523f | f8122c0de1fdab560cec00d0849c07f8f2875796 | refs/heads/master | 2020-12-24T14:09:24.261328 | 2012-11-16T09:01:01 | 2012-11-16T09:01:01 | 6,413,194 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | cpp | logarea.cpp | #include "logarea.h"
LogArea::LogArea(QWidget *parent) :
QTextEdit(parent)
{
setFixedHeight(60);
setReadOnly(true);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
}
void LogArea::appendMessage(const QString &msg)
{
append(msg);
}
|
5e6cef0a97de333e55b9a41f7a2a5d217a656ddd | 5664bdbfb287ef2bbb5b5c31a9d93e31acf7d5b9 | /sumaDeEnteros/sumaDeEnteros/Source.cpp | 49ef04a04d2e550c4d34b1f77fab0820a962b3f2 | [] | no_license | Paruck/programacionOrientadaAObjetos1 | b13d79b0f153e2e6c211a2f0df15141858cce34b | 6e0d042f015af003453c10ad745ae585e1e106d7 | refs/heads/master | 2021-01-19T04:24:34.593214 | 2017-12-13T22:35:40 | 2017-12-13T22:35:40 | 87,368,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | cpp | Source.cpp | #include <iostream>
#include <vector>
#include "Insert.h"
void main()
{
Insert i;
std::cout << "Escriba todos los numeros que desees que sume. \n";
std::cout << "Escribe cualquier numero negativo para mostrar el resultado. \n";
i.insertNum1();
//i.insertNum2();
std::cout << "\n";
system("PAUSE")... |
b3c4f4c5800bf0235535d74eb60725394afdae06 | 972662266cb2087a11e18f80523d4aea87a740e3 | /modules/VTK/include/vtkStandardImageRepresenter.hxx | 73e301308c192a3c3a5caab07edd514f91105198 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tsuholic/statismo | 3f4cb455b4c82612e3835aeb4d200bcc4177d3ab | e9cea2877ed58752e97711caf98324c564325f98 | refs/heads/master | 2020-07-24T08:25:13.745852 | 2016-04-30T18:59:35 | 2016-04-30T18:59:35 | 73,791,891 | 1 | 0 | null | 2016-11-15T08:19:28 | 2016-11-15T08:19:28 | null | UTF-8 | C++ | false | false | 18,679 | hxx | vtkStandardImageRepresenter.hxx | /*
* This file is part of the statismo library.
*
* Author: Marcel Luethi (marcel.luethi@unibas.ch)
*
* Copyright (c) 2011 University of Basel
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ar... |
d0ea26e872f22d5b4a73de2fc8551d846dfc9717 | 54028afa9bde4eec77ddd463ce56f85d0d86973b | /src/Client.h | a36c075459bb15c6f41c5d63c9693d78693e37ca | [] | no_license | Kolbjoern/Pacman | 549875b88080a4d3064d5af5ef078f6749587e42 | 1b6b23d9d2ee8bc48b1757d83670cd1448586569 | refs/heads/master | 2022-08-05T09:56:23.167911 | 2020-05-27T19:42:39 | 2020-05-27T19:42:39 | 257,278,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | h | Client.h | #pragma once
#include <string>
#include <functional>
#include <SFML/Graphics.hpp>
#include <SFML/Network.hpp>
#include "net/Network.h"
class Client
{
public:
void run();
void serverCall(std::function<void(void)> callback);
private:
void init();
void connect(std::string& address, unsigned short port);
void dis... |
d8ebbb0a8cff8e6ea056cb067800811ab40f713c | bc26fbd57d4aee1ab2f68fbb134baee187660393 | /Locker.h | c6797823ab18739b17d8a65943e0428836e19528 | [] | no_license | camilaserra5/75.42-taller-tp2 | 707c3ac6f7ce18ffc1ad127ad07045b04e205b76 | c7f11ca9f9e1ced690b9dc3ba965131ce9b320a9 | refs/heads/main | 2023-01-12T12:34:59.389323 | 2020-11-17T20:31:31 | 2020-11-17T20:31:31 | 309,196,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | h | Locker.h | #ifndef LOCKER_H
#define LOCKER_H
#include "FileProcessor.h"
#include "ExtendedBPF.h"
#include "ResultsProcessor.h"
class Locker {
public:
Locker(FileProcessor &&fileProcessor, ResultsProcessor &&resultsProcessor);
void operator()();
private:
FileProcessor &fileProcessor;
ResultsProcessor &resultsPr... |
5e45ae8645157599e231f9dc9b5f4b7b0818ecdb | b9b300e189110a8effdea48fb26956fdabc534ea | /GameProject3D_01/state_player_damage.h | de256f25b8e6924491b9efbb09c833fcf9ee2878 | [] | no_license | iyotaA/GameProject3D_01 | f1f7032a984e81c51d8c0b6fe869564423a4be0e | 9d352f82cd887b996d4a19cabf39a6f02aff8cb5 | refs/heads/master | 2021-07-09T15:49:20.890128 | 2020-09-26T23:58:06 | 2020-09-26T23:58:06 | 221,925,517 | 0 | 0 | null | 2020-09-26T23:58:07 | 2019-11-15T13:04:35 | C++ | SHIFT_JIS | C++ | false | false | 879 | h | state_player_damage.h | #ifndef STATE_PLAYER_DAMAGE_H_
#define STATE_PLAYER_DAMAGE_H_
#include "state_player.h"
class CStatePlayerDamage : public CStatePlayer
{
public:
CStatePlayerDamage(CPlayer* pPlayer, int damage);
virtual ~CStatePlayerDamage();
virtual void Update(CPlayer* pPlayer) override;
virtual void UpdateDamageState(CStatePlay... |
2044df4da21385a24cff7ceb64f79a1efbff01d5 | c28cd20b70d02048be55ae1b513ef9e1d2090798 | /applications/clawpack/burgers/2d/pwconst/pwconst_user.cpp | 681a9edacf147179b9f02019e4897eb758b976a5 | [
"BSD-3-Clause",
"GPL-2.0-or-later",
"GPL-1.0-or-later",
"BSD-2-Clause"
] | permissive | mjberger/forestclaw | 172798495b9a190b97889937c8f0248728a9400f | 26038e637b9c5c5224b2cab18fbae0b286106e0c | refs/heads/master | 2020-06-13T19:22:44.109062 | 2019-03-05T11:49:14 | 2019-03-05T11:49:14 | 194,764,399 | 0 | 0 | BSD-2-Clause | 2019-07-02T01:12:38 | 2019-07-02T01:12:37 | null | UTF-8 | C++ | false | false | 3,425 | cpp | pwconst_user.cpp | /*
Copyright (c) 2012 Carsten Burstedde, Donna Calhoun
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions a... |
7c5bff62f9b7a57f5de55f906cd7142f11d55399 | 9dfca22ce65a7009879fc096b8db64ae76e776be | /CF/D- 665 Div2 .cpp | e4d43f23acc4896b9bf36d5e598aa5942ce0f3f4 | [] | no_license | viranch044/Cpp_Codes | 9c76cf4aeee456b6e3205550e5a852016e2d3fae | 2dbf2f2505675b151ace3a448da472b13005fe9c | refs/heads/master | 2022-12-06T13:36:34.071940 | 2020-08-26T19:29:48 | 2020-08-26T19:29:48 | 277,124,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cpp | D- 665 Div2 .cpp | #include<bits/stdc++.h>
using namespace std;
int power(int x,int y){
if(y==0) return 1;
int temp = power(x,y/2);
int curr = (temp*temp)%mod;
if(y%2) return (curr*x)%mod;
else return curr;
}
void dfs(int x,vector<vector<int>>& edge, vector<int>& vec, vector<bool>& vis, int n, vector<int>& c){
... |
85f132f0f0fab8601928c4f22aaa65b5817247f5 | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Game Programming Gems 5/Section1-Gen_Programming/1.03-ComponentBasedObjectMgmt-Rene/Components/ICmpActor.h | adcec4a74a9a6777adbdd9147ed9941cd814dc51 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 273 | h | ICmpActor.h | #ifndef __ICMPActor_H
#define __ICMPActor_H
#include "IComponent.h"
class CVector;
class ICmpActor : public IComponent
{
public:
ICmpActor() {}
virtual ~ICmpActor() {}
protected:
static void RegisterInterface(EComponentTypeId);
};
#endif //__ICMPActor_H |
7fbf6835a6b30b7843a826c92893ccb5a2c6a6e0 | fee783abde5891cb3936d68b0fc51e5bca720304 | /Projectfile/Intermediate/Build/Win64/UE4Editor/Inc/BasicStudy/Selectable.generated.h | 91da6fb22bb939142a08521de2c2fee2aae2af17 | [] | no_license | JJIKKYU/UnrealEngine_Study | a4d8eec27d668ed0288a31179d40f9925b4070ed | dcf4db94316f2317bdecc26387059ab8b5f78116 | refs/heads/master | 2022-02-13T07:56:41.844138 | 2019-08-21T14:35:48 | 2019-08-21T14:35:48 | 200,591,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,520 | h | Selectable.generated.h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... |
07b9ba7a38fc48fe32ddd4f35cb8d12b2b356d3c | 4f0d30830302f0cff9f1e5d8ae4fe8576ef29149 | /myRPG/Abilities.h | e9ea52cbd72292290c4685eeaef0492cf5ea9813 | [] | no_license | zxczzx/myRPG | c18915707ce6da41f055119038253671f6d966b3 | e83dd1813646814d1a0439dfdfc94f8d8e75f126 | refs/heads/master | 2021-01-15T10:06:13.575781 | 2016-02-25T17:39:08 | 2016-02-25T17:39:08 | 48,168,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | Abilities.h | #pragma once
#include "libraries.h"
#include "Requirements.h"
class Character;
class Abilities
{
protected:
std::string name;
std::string description;
std::string useString;
int damage;
int manaConsumprion;
int quantity;
std::shared_ptr<Requirements> requirements;
std::shared_ptr<Abilities> th... |
d52ba9c0aaeec4854e88d3639f403a2369193462 | 31f21bd5b0112796ced3de1a9e890f8d2ec2fd1c | /Block.h | fb7bc9418f78c2ac55615aa11649220794f1042a | [
"MIT"
] | permissive | Frans-Lukas/Breakout | e27f32676ff27c40aa1d2fb026c2eee743eb4ef9 | 0b85807f20e11a8448e5fb8b0555fb0e0b8a2656 | refs/heads/master | 2021-05-03T17:58:54.908104 | 2018-03-05T19:46:12 | 2018-03-05T19:46:12 | 120,455,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | h | Block.h | #pragma once
#include"Entity.h"
class Block: public Entity{
private:
int lifeLeft;
sf::Color color = sf::Color::Red;
public:
Block(int newX, int newY, int newWidth,
int newHeight, int newLifeLeft);
int getLifeLeft();
sf::Color getColor();
void setColor(sf::Color color);
void decrementLifeLeft();
void callCol... |
337a87d3cbd4470cf6c7493c44d0097f5ad9053f | 1a19d4493fa96bc0d5d598ce39352cabacd498c9 | /include/sparse-int-array.hpp | 9421f915b8caa034f548352e1221a12e1827ccd8 | [
"MIT",
"BSD-3-Clause"
] | permissive | praveenmunagapati/succinct | 8dbc6ad40fd541ccd1147ecf585d99ca7f6428e4 | e8f56bc9b6273d8f30897b93e32aa1ace4dc26ef | refs/heads/master | 2021-05-28T06:43:58.331757 | 2014-09-18T15:07:40 | 2014-09-18T15:07:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,378 | hpp | sparse-int-array.hpp | #pragma once
#include <vector>
#include <cstdint>
#include <cstddef>
#include <cstring>
#include "bit-utils.hpp"
template<typename T>
class SparseIntArray {
public:
SparseIntArray(size_t n) : size_(n) {
groups.resize(1 + n/64);
zero = 0;
}
size_t size() const {
return size_;
}
~SparseIntArray() ... |
64a7a379eda56caac4f2806697ab081e83f8b405 | 20613d831aca9a42d46e3c49a23cc565bed028f9 | /adagucserverEC/CDataPostProcessor.cpp | ff5e32a41720c240f9fd516e847e07547d90fd9c | [
"Apache-2.0"
] | permissive | KNMI/adaguc-server | 56dcfb61415c3c4e87b8dd9fdc695500d93aefa1 | 973c9d441aba918592b881fef419a6590659cd07 | refs/heads/master | 2023-08-17T04:36:10.133071 | 2023-08-14T15:40:19 | 2023-08-14T15:40:19 | 77,039,523 | 23 | 30 | Apache-2.0 | 2023-09-06T14:21:09 | 2016-12-21T09:54:04 | C++ | UTF-8 | C++ | false | false | 60,129 | cpp | CDataPostProcessor.cpp | #include "CDataPostProcessor.h"
#include "CRequest.h"
#include "CDataPostProcessor_ClipMinMax.h"
void writeLogFileLocal(const char *msg) {
char *logfile = getenv("ADAGUC_LOGFILE");
if (logfile != NULL) {
FILE *pFile = NULL;
pFile = fopen(logfile, "a");
if (pFile != NULL) {
// setvbuf(pFile, N... |
a68b01ea6e68c8ae81ab5096324de20aa85414f9 | 01de5d9591c26cc615708fc269aca678baf2aaec | /matlab/mex/vargplvm.cpp | 0052e788d29921b4d07c9653b9bae1c81671c557 | [] | no_license | shaohua0720/vargplvm | 0ba8c7566be0438d40137eefdac69680770253d0 | 80cc7f5977caa3be5f75cf564f046bf6f7506d59 | refs/heads/master | 2023-03-17T05:56:12.098117 | 2015-05-26T22:04:52 | 2015-05-26T22:04:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,343 | cpp | vargplvm.cpp | /* INSTRUCTIONS:
* Compiling to handle exceptions (that's for typedef): for the watcom compiler
* windows: mex COMPFLAGS="$COMPFLAGS -xs" vargplvm.cpp
*/
#include "vargplvmheader.h"
#include "mex.h"
/*
* #include <R.h>
* #include <Rdefines.h>
* #include <Rinternals.h>
* #include <Rmath.h>
*/
int DEBUGno =0; ... |
cda39f6eceec7024b977986d5590a3c7a28b354e | ad99308660fdc88a292fb4366956f801e4a94c9c | /lab1/cpp/matrix.h | c440a5aef50ef1f6f5214036a966b872d29483de | [] | no_license | dxahtepb/itmo-multithread | 0062b4c260ecaffdd2d8785b6817ac072d82690b | dc6dc45853c03975d05c021f41acbe746cdb8bba | refs/heads/master | 2021-02-11T11:17:21.553466 | 2020-06-15T12:12:25 | 2020-06-15T12:12:25 | 244,486,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | h | matrix.h | #pragma once
#include <cstddef>
#include <type_traits>
#include <vector>
#include <stdexcept>
#include <experimental/iterator>
template<typename T = long>
class Matrix {
static_assert(std::is_arithmetic_v<T>, "Matrix should be numeric");
public:
Matrix(size_t n, size_t m) : n_{n}, m_{m}, data_(n*m) {
... |
e2d4e83ee6ae4f1e5df88753e4f052c285b444ea | ed342d4782a5ea67485ce8c47f789ec3965b7df1 | /Cpp/MFCSock/ClientSocket.h | 9fa152d1f8544a3ee14dec407abfda2c7af16611 | [] | no_license | cdecl/GlassLib | 5124f3b1211d2df1f759319fae7153109e096bca | 4b94bcb5bbd12ff87665a7a597f7a83c6c90e74f | refs/heads/master | 2021-01-10T13:28:43.161268 | 2016-02-16T06:22:54 | 2016-02-16T06:22:54 | 51,808,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,989 | h | ClientSocket.h | // Socket Library
// Version : 1.0
//////////////////////////////////////////////////////////////////////
// Copyright (c) 2003 by cdecl (byung-kyu kim)
// EMail : cdecl@interpark.com
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_CLIENTSOCKET_H__768A9063_6021_4DE7_B088_16C74E... |
bc5b528d3af54ae37992d3667e3beb6df4e9265b | 87a2896f868dc13f89ecbb629d897f0ffe8a57e6 | /Code/792a.cpp | 719291d5677e25720077cbde4b3f94d6c5fef299 | [] | no_license | sahashoo/Daily | a20a4bce60b0903fde23bea9d5244c65a9ea3928 | c209cf800cbae850e2233a149d3cc8181b49fb5e | refs/heads/master | 2020-04-23T04:31:13.770829 | 2019-02-15T20:00:34 | 2019-02-15T20:00:34 | 170,910,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | 792a.cpp | #include<bits/stdc++.h>
#define int long long
#define F first
#define S second
using namespace std;
const int maxn=5e5+100,MOD=1e9+7,INF=1e18+7;
int n,a[maxn],mn=INF,cnt;
int32_t main(){
ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
cin>>n;
for(int i=0;i<n;i++)cin>>a[i];
sort(a,a+n);
for(int i... |
cf440ae9dba06335c937e77a07d28361de8031be | 9241d6ca884b63e0abae80f13d6bbf7eeb818c1e | /FastCat/Dependencies/maya/maya/MFnToolContext.h | b23af9ebea1c8c55ca3f96b249a1dbaed8c1f72b | [] | no_license | AlexMiller12/FastCatVS2013 | 100022c6ed5206903bc10c65e05cebf3a79c4f45 | b93df56cc10e109e9f9b62ccd0cad5fc8be983ae | refs/heads/master | 2021-01-13T00:48:59.076862 | 2016-05-06T20:17:48 | 2016-05-06T20:17:48 | 52,799,609 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | h | MFnToolContext.h |
#ifndef _MFnToolContext
#define _MFnToolContext
//
//-
// ===========================================================================
// Copyright 2013 Autodesk, Inc. All rights reserved.
//
// Use of this software is subject to the terms of the Autodesk license
// agreement provided at the time of installation or dow... |
392866576a388a782b88d02991843875c8260346 | 2e60ec3492a3ba55704bf35fe4f57711b2d8ae8d | /Mixer/Zaher/audiomidiconverter/z_audiomidiconverter.cpp | 6351c87e02fa64390dd076042ce161019f78ddea | [] | no_license | NZBinome/Notefy | c89d544cb786377a87d848ad13f93f2584029ca6 | 9f9a06d79fc3933c52ebb65e53a670a0636a701b | refs/heads/master | 2021-01-15T14:28:36.533511 | 2015-05-18T16:40:55 | 2015-05-18T16:41:06 | 31,070,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,828 | cpp | z_audiomidiconverter.cpp | #include <fstream>
#include "../freq/freqtable.h"
#include "../libaiff/libaiff/libaiff.h"
#include "../audioread/aiffread.h"
#include "../wavFormat/diviseur.h"
#include "../signal/complex.h"
#include "../signal/signal.h"
#include "../signal/mixer.h"
#include "../midi/note.h"
#include "../signal/melody.h"
#include "../a... |
1831329bfccadcf278a799373bed67972c4832f3 | b7fa1e7bc65e5259393635a1aa71105ac573b8f2 | /include/pgmlink/features/tracking_feature_extractor.h | 36c72cef539121c8a48d20f03d98e7ff998033c9 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ilastik/pgmlink | 8de5e4665f4e38ab1bce623e57668a3c71fab5fa | cf4d3da9c72312a3c2076b7af4b95d8e8344b1f2 | refs/heads/master | 2021-01-14T11:43:50.052996 | 2016-09-19T12:29:30 | 2016-09-19T12:29:30 | 48,373,377 | 0 | 0 | null | 2016-09-19T12:29:31 | 2015-12-21T13:32:39 | C++ | UTF-8 | C++ | false | false | 8,905 | h | tracking_feature_extractor.h | #ifndef TRACKING_FEATURE_EXTRACTOR_H
#define TRACKING_FEATURE_EXTRACTOR_H
#include "pgmlink/hypotheses.h"
#include "pgmlink/features/higher_order_features.h"
namespace pgmlink
{
namespace features
{
class MinMaxMeanVarCalculator
{
public:
MinMaxMeanVarCalculator();
void reset();
void add_value(const doubl... |
4e3284d3584279e6528979ead0abba0939cf084a | 6f6e378ea2a3e23d3ecefb1f8ff4e847a7dcda68 | /tinyember/TinyEmberPlus/main.cpp | 1ab9bbfc656f5f3af8a919475bf32abbc938983c | [
"BSL-1.0",
"LicenseRef-scancode-dco-1.1"
] | permissive | Lawo/ember-plus | 878b772f2dff07821019690ba91a72095bf68081 | b42f3143c89f093e01362da69fb39686d0f1bd9e | refs/heads/master | 2023-04-02T17:03:47.304757 | 2023-03-30T12:38:39 | 2023-03-30T12:38:39 | 40,001,159 | 99 | 54 | BSL-1.0 | 2023-03-06T08:30:53 | 2015-07-31T10:55:18 | C++ | UTF-8 | C++ | false | false | 3,245 | cpp | main.cpp | /*
Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.com).
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
#include "TinyEmberPlus.h"
#include <memory>
#include <QtGui>
#include "gadget/Subscriber.h"
#in... |
1fe5aaf1b32d8bee464e65af991cefa88778cc0b | ead2601236ed17193f28cce5912a93d71fc2e90f | /codeforces/.vscode/384Div2/tempCodeRunnerFile.cpp | 8db7a9d5b4a612e3ab71dfa952b4c2fb0fa46754 | [] | no_license | AdityaKarn/cp-cpp | bcbb6f6be7fa0d657506d56fa248dd22ff8a3b41 | 1f885d5eae32fdaf45d943feeccbaf94fddcdf53 | refs/heads/master | 2023-02-15T03:53:57.917215 | 2021-01-11T12:47:34 | 2021-01-11T12:47:34 | 255,907,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31 | cpp | tempCodeRunnerFile.cpp | cout << i << " " << mx << "\n"; |
c40204765db7d6af2bc28e33f81ec811019ead84 | 3af87498fd11b1f3c72411e987552fb5062ee335 | /test/ber_types/IdentifierTest.cpp | d5978bb68450b8c68d010ea4554f3dd0d11b7c29 | [
"BSL-1.0"
] | permissive | ibiscum/fast_ber | 9443c0736a371dd471bea0a6ce9bfbabb2c72fa6 | d3e790f86ff91df8b6d6a0f308803606f59452af | refs/heads/master | 2023-07-07T06:09:15.684227 | 2021-08-08T11:27:49 | 2021-08-08T11:27:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,382 | cpp | IdentifierTest.cpp | #include "fast_ber/ber_types/Identifier.hpp"
#include "fast_ber/ber_types/Integer.hpp"
#include "fast_ber/util/DecodeHelpers.hpp"
#include "fast_ber/util/EncodeHelpers.hpp"
#include <catch2/catch.hpp>
TEST_CASE("Identifier: Encode ExplicitIdentifier")
{
fast_ber::Integer<> i(4);
std::array<uint8_t, 100> ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.