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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38c533ed257cdf1325d73f606a3107380f1b04a4 | 0d802f71dfeb703f3e20c4091cbcf583a48bc8c9 | /main-14.cpp | c649ef8b135b7783e0df7342ddb2ad1287c4962a | [] | no_license | finaldestroyer/Cs1 | 4f6c67e5d5efffcaea8c4b8b279e9dfca92ec8db | 0a2df61c7c99f0f06464a65a500f715a13fbe519 | refs/heads/main | 2023-02-09T14:00:41.397078 | 2020-12-29T15:04:41 | 2020-12-29T15:04:41 | 325,315,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,142 | cpp | main-14.cpp | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... |
def379e3d06b38c3663af1c42bd0adc60c2f03a4 | 8e4958b3c503c88bdf854570f7d381c3fa4008dc | /online-test/leetcode/easy/intersectionOfTwoLinkedLists.cc | c5140ce7bce05d4c9ceb817194c56120107384e8 | [] | no_license | qiansl127/cpp-studio | 387a1bd83908dccb0f9d50f376042b7b72697f8b | 57acd4232bb62aaa9065244c378d308605429444 | refs/heads/master | 2020-05-22T01:10:09.955026 | 2017-05-06T00:36:06 | 2017-05-06T00:36:33 | 23,223,850 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,629 | cc | intersectionOfTwoLinkedLists.cc | /*
* # 160
* Intersection of Two Linked Lists
*/
#include<iostream>
#include<vector>
using namespace std;
//Definition for singly-linked list.
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
int getLength(ListNode* h) {
int length... |
e1af7a2df324012dc70ba286bb0a8973e732fab2 | dcc668891c58cd594234d49a209c4a5e788e2341 | /include/lol/def/LolGameflowGameflowWatchPhase.hpp | c5c583ab8b01004621b1579b2b032d5dd8e71cc6 | [
"BSD-3-Clause"
] | permissive | Arryboom/LeagueAPI | 56d6832f125d1843d575330ae5b0c8172945cca8 | be7cb5093aab3f27d95b3c0e1d5700aa50126c47 | refs/heads/master | 2021-09-28T01:05:12.713109 | 2018-11-13T03:05:31 | 2018-11-13T03:05:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,309 | hpp | LolGameflowGameflowWatchPhase.hpp | #pragma once
#include "../base_def.hpp"
namespace lol {
enum struct LolGameflowGameflowWatchPhase {
None_e = 0,
WatchFailedToLaunch_e = 3,
WatchInProgress_e = 2,
WatchStarted_e = 1,
};
inline void to_json(json& j, const LolGameflowGameflowWatchPhase& v) {
if(v == LolGameflowGameflowWatchPha... |
fd2403ab8428e6db503aa13e5aafa71cc6a10e13 | 83aa98403d2821f8bac217dfd53e71135b8a691f | /GetOffers/src/GetOfferQ3.cpp | dadf425bb3cb6c37d909b28ac6546962add0c6d3 | [] | no_license | tla001/GetOffers | a01e62b480b2d45b478ac6a199e4b6c6f45f29df | bbed267de4f3b54700c77fcade9da86fce17b51b | refs/heads/master | 2021-01-17T18:06:53.413689 | 2016-11-24T00:49:16 | 2016-11-24T00:49:16 | 71,026,196 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,880 | cpp | GetOfferQ3.cpp | /*
* GetOfferQ3.cpp
*
* Created on: 2016年10月17日
* Author: tla001
*/
#include "GetOfferQ3.h"
GetOfferQ3::GetOfferQ3() {
// TODO Auto-generated constructor stub
}
GetOfferQ3::~GetOfferQ3() {
// TODO Auto-generated destructor stub
}
void GetOfferQ3::create(struct ListNode *&head) {
head... |
85a0cf28e135d75ec8c9f3dfd000fa65aa8c3752 | e08769a230de65d96cc3adb1cd69fb8b6a13ff17 | /src/lib/fst/text_compose.cpp | 35251786df4da0d571e6386b87692f51ef2fe63c | [] | no_license | yotarok/spin | 6ff8fc96f2ee2d517ac4d7b7cad42af009f13d04 | 0365f7fd7d18c75c205ab7ff2b89a2617b27079d | refs/heads/master | 2020-04-27T20:03:10.603844 | 2019-03-09T03:35:21 | 2019-03-09T03:35:21 | 174,644,096 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,733 | cpp | text_compose.cpp | #include <spin/fst/text_compose.hpp>
#include <gear/io/logging.hpp>
#include <fst/script/relabel.h>
#include <fst/script/arcsort.h>
#include <fst/script/compose.h>
#include <fst/script/convert.h>
#include <fst/script/relabel.h>
#include <vector>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>... |
906d846a6f54cb0d335fc082fb7ac117bd55897b | 06919c4595c775af746cf72afaf74c318c5ae0ce | /main.cpp | af1e397d14176092ffd916a56319ae66be2997b8 | [] | no_license | IlyaCS/SWtest | 2bde46e621539a2aa5e18bd8099c67b724bebd0d | 33a9882351e816715172daa43d53eda999fb0b6d | refs/heads/main | 2023-08-20T04:07:06.924360 | 2021-10-07T19:22:29 | 2021-10-07T19:22:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | cpp | main.cpp | #include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
int main()
{
string b;
cout << "Hello, world!" << endl;
cout << "Git Basics!" << endl;
int a;
cout << "Self-work: ";
system("pause");
return 0;
}
|
6b87572224a472de7f00fe414254344ebaf31aa0 | 6b49bf37e346b149cc4ad881ef650c183b4e5fc2 | /src/kernels/clfr_printer.cc | 922e0d2635ae3dce827f3f383a8aae422a0857e4 | [] | no_license | olivermichel/starflow-analytics | 7f0e401b9f3c38fae9d325889b28e009b3bade5f | c9e358d1f371312e8b2c841aecdbce5c94d5bf90 | refs/heads/master | 2021-03-27T09:32:59.470550 | 2018-02-15T00:27:38 | 2018-02-15T00:27:38 | 102,988,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cc | clfr_printer.cc |
#include "clfr_printer.h"
#include "../types/clfr.h"
starflow::kernels::CLFRPrinter::CLFRPrinter(bool sink, std::ostream& os)
: _sink(sink), _os(os)
{
input.add_port<types::CLFR>("in");
if (!_sink)
output.add_port<types::CLFR>("out");
}
raft::kstatus starflow::kernels::CLFRPrinter::run()
{
types::CLFR clfr;
... |
4f9a7bf791be11af0c3a37f46a25cfdfb7a31395 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/ds/security/cryptoapi/test/capi20/tstgdir/tstgdir.cpp | a0be55c2aec34e176edaea06d045fc1f1a7b7067 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 14,395 | cpp | tstgdir.cpp | //+------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1993 - 1993
//
// File: tstgdir.cpp
//
// Contents: Recursive directory display of a storage
// document
//
// Functions: main
//
// History:... |
6799884b08f1fe399cd0af81933595f1e86e3b62 | 5ac4af1856032d41cedcd83b481b247c9cd2ede0 | /lib/Runtime/old/volren/hpgv/hpgv_socket.cpp | 621494f28a621bc33acc592102e59bf00ee7560b | [
"BSD-3-Clause",
"LicenseRef-scancode-other-permissive"
] | permissive | lineCode/scout | 884bf2a6bf5c0e9963ef6af36f8559ec635929f3 | a7b66c9bb6940625005c05bc350491a443a23866 | refs/heads/master | 2021-05-30T14:55:14.591760 | 2016-02-18T22:45:02 | 2016-02-18T22:45:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,256 | cpp | hpgv_socket.cpp | /**
* hpgv_socket.c
*
* Copyright (c) 2008 Hongfeng Yu
*
* Contact:
* Hongfeng Yu
* hfstudio@gmail.com
*
*
* All rights reserved. May not be used, modified, or copied
* without permission.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#inclu... |
3ebb1be289fb03be13ffd61fc1cc883f57a11c64 | 22c6d0b104b2051f9d641e706a1d38576ce7f746 | /lesson6/pointArray.cpp | 19ed1677582f977e4ecb28757cd05bc91301ce76 | [] | no_license | simakovvv/NIIT-work-with-C | c21e4d5be52f72a8766f09351656e0cd735e7226 | 96141a8c1c6100dd90e3290b47a9611f2f241974 | refs/heads/master | 2020-03-26T12:45:49.309829 | 2018-08-15T21:49:36 | 2018-08-15T21:49:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | pointArray.cpp | #include "Point.h"
#include "pointArray.h"
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#define SIZE 50
POINT arr[SIZE];
void initArray() {
srand(time(0));
for (int i = 0; i < SIZE; i++) {
arr[i].x = rand() % 101 - 50;
arr[i].x = rand() % 101 - 50;
}
}
void printArray() {
for (int i = 0; i < SIZ... |
0acd28c48b9f6beb4b43b0893426fe2649635165 | 9f4390685064b06f8093ab221100b6d4a93b8519 | /source/Globals/File/FileSystem.h | c961745c1365ad444c98e6614a7cce506e5acf17 | [] | no_license | Darkyon0831/EndGine | 316a302607961a6b6362e658aebc976cd98a0a78 | 46f4fbecb8ba843794765c875dce606afd51a79d | refs/heads/master | 2020-08-29T04:33:25.031785 | 2020-07-22T13:47:29 | 2020-07-22T13:47:29 | 216,434,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | h | FileSystem.h | #pragma once
#include "Globals/Singleton.h"
#include "Globals/String.h"
#include "Graphics/Device.h"
#include <wincodec.h>
#include <d3d11.h>
namespace EG
{
class FileSystem : public Singleton<FileSystem>
{
public:
struct D3D11Texture
{
ID3D11ShaderResourceView* pShaderResourceView = nullptr;
ID3D11Tex... |
20c2124c299711404cae94298f868292578c27c7 | 6e0e1b705096397604ec9468f5f1f2c8ee975433 | /SDLBasic/Game-Engineering--2-Lab4-main/AnimatedFSM/Player.h | e2b4afc161889345e4c206595f8184980e21d80a | [] | no_license | RobinMeyler/CppSnippets | abec12c6badfae99c8a38629af78856496da1681 | 9d991bd1c6e643401d283b621fea51f823c713cd | refs/heads/main | 2023-05-07T19:20:24.399780 | 2021-06-02T14:31:21 | 2021-06-02T14:31:21 | 373,191,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | Player.h | #pragma once
#include "InputHandler.h"
#include <Events.h>
#include <PlayerState.h>
#include <AnimatedSprite.h>
class Player
{
private:
PlayerState* m_state;
AnimatedSprite m_animated_sprite;
InputHandler m_commandPatternInput;
public:
Player(const AnimatedSprite&);
virtual void handleInput(gpp::Events);
virt... |
c725220ab2a7409e6177583647d8340786ac61ed | 51a484c4885439799561dc5f6ab59e91d33d98fd | /src/jwt/JWTDecoder.h | 57f072238e1eb979176ad1b41ba1eeec9e355ab0 | [
"BSD-3-Clause"
] | permissive | BeeeOn/server | 7b22a4c7cbd551542a2bde5a128f09c02d597a99 | c705503f6bc033f2014aaa675d1e29bfeed9f5eb | refs/heads/master | 2020-12-29T02:31:55.089160 | 2019-01-29T22:08:50 | 2019-01-29T22:08:57 | 47,968,600 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 836 | h | JWTDecoder.h | #pragma once
#include <vector>
#include <Poco/SharedPtr.h>
#include <Poco/Timestamp.h>
#include "jwt/JWToken.h"
#include "util/Loggable.h"
namespace BeeeOn {
class TokenID;
/**
* @brief JWTDecoder is used to decode JSON Web Token string into
* its internal representation (an instance of JWToken).
*/
class JWTD... |
46a140794a4e3f0912d2988da9dd46ababdf5637 | 2da11190370a9de4acae40d0862d078fb68a9e57 | /library/symlib-mutex.h | 82d60201bff1883c8ef5ed6d64b607ac11250fb4 | [] | no_license | mando/Symagent | 6e06f8de9c9b2c814098fb31f5a5d829b11d85b4 | e4af70d96972d750f368229185784d01c99a2f8f | refs/heads/master | 2021-01-13T02:02:03.261624 | 2009-07-07T19:51:00 | 2009-07-07T19:51:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,133 | h | symlib-mutex.h | /*
#######################################################################
# SYMBIOT
#
# Real-time Network Threat Modeling
# (C) 2002-2004 Symbiot, Inc. --- ALL RIGHTS RESERVED
#
# Symbiot Master Library
#
# http://www.symbiot.com
#
#######################################################################
# ... |
aa301d52b017753a0197da1247b1c81086e64743 | 07d5313b6f7aa7fc421dd244a045e45962b23bf8 | /Common_3/ThirdParty/OpenSource/BulletPhysics/2.77/UnitTests/BulletUnitTests/TestBulletOnly.h | b37ef5fde2b7ad966b33edb3c286249d8b678fea | [
"Apache-2.0",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-unknown"
] | permissive | daveansh/The-Forge | 4bc91d1978f6f46ec746d4e690280fcdfe06efbd | 29b377a64230be414eb84b632b8517646a1f9da4 | refs/heads/master | 2022-02-22T21:14:44.125736 | 2019-08-19T20:27:19 | 2019-08-19T20:27:19 | 192,270,664 | 1 | 0 | Apache-2.0 | 2019-06-17T03:44:11 | 2019-06-17T03:44:11 | null | UTF-8 | C++ | false | false | 3,746 | h | TestBulletOnly.h | #ifndef TESTBULLETONLY_HAS_BEEN_INCLUDED
#define TESTBULLETONLY_HAS_BEEN_INCLUDED
#include "cppunit/TestFixture.h"
#include "cppunit/extensions/HelperMacros.h"
#include "btBulletDynamicsCommon.h"
#include "BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h"
// -----------------------------------------------------... |
9394430533eefcfcbb6a916a16c2ec434cc831fb | 71c1c86b30c1518e21728f7d5e0f09b5e602baac | /Algo_Engine/ROM_Handler/RDS/TPOSCLIENT/include/tpos/TposDefs.h | 2b802d1c0537433db594f7daa0c288c806ab4b21 | [] | no_license | ssh352/ronin | 3ddf360fec5f106015c6902b5107aedefe934836 | 33301b6c5e68fa9d02c7d54bc86f6b7732985fc2 | refs/heads/master | 2023-05-03T11:00:39.368460 | 2021-05-17T18:41:08 | 2021-05-17T18:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,334 | h | TposDefs.h | #ifndef TPOS_DEFS_H
#define TPOS_DEFS_H
# include<stdlib.h>
# include <string>
# include <vector>
# include <list>
#define TCR_NONE 0
#define TCR_TRADE (1<<1)
#define TCR_POSITION (1<<2)
#define TCR_THEO (1<<3)
#define TCR_ALL 0xFFFFFFFF
//#define DEBUG_FILTER if ( getenv( ... |
4773ba8275a9201b93042acb5e720a4ea2cc94dd | 3924cab3c018feb08223a559e912a55d487abc04 | /arduino_final/arduino_final.ino | a052e021ccd987c8f44d9cb6c4975553e1e37252 | [] | no_license | wvanderp/project78 | e38aa5cca42e5e3619fee704f4e11ff9c24ddbff | 82d85b29a25a32c72f7aa606444fd5ab35189f5f | refs/heads/master | 2021-01-21T04:55:39.419850 | 2016-06-21T06:41:47 | 2016-06-21T06:41:47 | 54,377,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,099 | ino | arduino_final.ino | #include <TimerObject.h>
#include <SoftwareSerial.h>
#include <Servo.h>
#include <NewPing.h>
void checkEverything();
void check(int stepSize, int delayTime);
void move(int degrees);
boolean checkIfClearFront();
double checkClearPath();
boolean checkIfObjectGone(int deg);
double lookLeftOrRight(int deg);
double turnAf... |
317b1e5724a0eba0c455218cd51673e0519cfb27 | ebc3ea653f8f9a9c7df480e67dcc44e9826181f3 | /inc/GetIMEI.h | d839ce544e061b2fd5cabec97108be948d1879ab | [] | no_license | jorezy/caca | 1ecea64fcac57be79d9e68d943064589b127a56e | dc14d9be34486915c974be081cf33412898e99c0 | refs/heads/master | 2021-06-15T04:41:27.881180 | 2017-04-23T03:42:57 | 2017-04-23T03:42:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,059 | h | GetIMEI.h | /* Copyright (c) 2006, Nokia Mobile Phones. All rights reserved */
#ifndef __GETIMEI_H__
#define __GETIMEI_H__
#include <e32base.h>
#include <etel3rdparty.h>
class CGetIMEI : public CActive
{
public:
static CGetIMEI* NewL(/*TDes& aIMEI*/);
// Cancel and destroy
~CGetIMEI();
public: // New functions
// Function f... |
328804ff6d353ce62ba1470d818551c659d7dd2b | 91eec30d4a0361da5e9493417ea8c5d391e78855 | /pngui/grid/QTextFilter.cpp | 0f02d1a6cd0c4484f7235d1949b4b626e0ac82ad | [] | no_license | chenchy/Praaline | d49f088fb8dd6e1861458de3354c8bcfb4c0a79f | 58455554029c7ed31249b0d38f9e8cf038cfc187 | refs/heads/master | 2023-04-10T05:00:20.595290 | 2021-04-25T23:19:34 | 2021-04-25T23:19:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,949 | cpp | QTextFilter.cpp | /******************************************************************************
** This file is part of qadvanceditemviews.
**
** Copyright (c) 2011-2012 Martin Hoppe martin@2x2hoppe.de
**
** qadvanceditemviews is free software: you can redistribute it
** and/or modify it under the terms of the GNU Lesser General... |
0d159d29a52416bf94973e9743f3b4b36cdd859a | 215111e92a3dfc535ce1c1ce25a35fb6003ab575 | /cf/cf_715/cf_704/c.cpp | 9c2d1a8671af5e4f224a96e3296c7c2f1099a4ff | [] | no_license | emanueljuliano/Competitive_Programming | 6e65aa696fb2bb0e2251e5a68657f4c79cd8f803 | 86fefe4d0e3ee09b5766acddc8c78ed8b60402d6 | refs/heads/master | 2023-06-23T04:52:43.910062 | 2021-06-26T11:34:42 | 2021-06-26T11:34:42 | 299,115,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | c.cpp | #include <bits/stdc++.h>
using namespace std;
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
#define endl '\n'
typedef long long ll;
const int INF = 0x3f3f3f3f;
const ll LINF = 0x3f3f3f3f3f3f3f3f;
int main(){ _
int n, m; cin >> n >> m;
string s, t; cin >> s >> t;
vector<int> pref;
int it = 0;
for (int i... |
bf3ee2d476e14e0368369ff6989c372c0bb83713 | 0201a8340b2a3bddc8db3eba533bc35286a0cec6 | /Practica2.2/ejercicio12.cc | 3e8c3e0b166acf4a6e82c248461b36e36c889146 | [] | no_license | Yisas12/asor_repo | b449e0562d5e23dbdf4089a2b2840aea61ab8908 | a194d438e7432458fc11b10361f356137e04466c | refs/heads/main | 2023-02-20T16:40:25.135110 | 2021-01-22T18:30:40 | 2021-01-22T18:30:40 | 317,844,281 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cc | ejercicio12.cc | GNU nano 2.3.1 File: ejercicio12.cc
#include <fcntl.h> /* Obtain O_* constant definitions */
#include <unistd.h>
#include <iostream>
using namespace std;
int main(int argc, char **argv){
int file = open(argv[1], O_CREAT | O_RDWR, 0777);
if(file == -1){
... |
795233e0016345667291b8f8db2ce00d7f0c18f0 | bb1ca40029b349b4e6fdb8d8fd3a0a281b31aae3 | /avr_rtc.cpp | dbb40d8528e4630403b92ac66dca0daf12783ce8 | [] | no_license | burundiocibu/bling | 1399399a86b545bfec71c0afc53c38911c67fce9 | 6093325ee9100a0c793862abcee873e22866272b | refs/heads/master | 2021-01-13T02:08:32.783858 | 2014-11-08T18:36:30 | 2014-11-08T18:36:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | cpp | avr_rtc.cpp | #include <inttypes.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include "avr_rtc.hpp"
namespace avr_rtc
{
uint32_t t_ms=0;
ISR(TIMER2_COMPA_vect)
{
t_ms++;
}
// Sets up timer 2 to generate an interrupt every ms
void setup(void)
{
t_ms = 0;
TCCR2A = _BV(WGM21); // CTC... |
842f1b638be843f827c122ff9069152f5c029c7e | e6be6f446d7a50eb62430059e66517b5f1612879 | /P2/4 class/4 class/4.6.5 4.6.6 继承同名成员处理方式.cpp | 901ff03677a424c29a7b5ecffc1d3e6f33afa612 | [] | no_license | asurada404/heima-cpp | add457a715b8b01b41340e18b26357c890b4a347 | ed02f632b36481b0a86cf8126bb4b17afefb0a2a | refs/heads/main | 2023-03-23T16:34:22.964617 | 2021-03-16T03:12:00 | 2021-03-16T03:12:00 | 338,764,724 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 717 | cpp | 4.6.5 4.6.6 继承同名成员处理方式.cpp | #include <iostream>
using namespace std;
class Sport {
public:
int a;
public:
void func() {
cout << "func in Sport" << endl;
}
void func(int a) {
cout << "func in Sport, and arg a: " << a << endl;
}
static void func1() {
cout << "static func in Sport " << endl;
}
};
class Ball : public Sport {
public:
... |
f2898933367369f334e01392d127b6508e039dfa | 1a2acba79fade4760faed12ef8f54d10146982a8 | /test/Vector4Tests.cc | 76fd4e024fc81ded0a9d116ce363b75630c5480f | [
"MIT"
] | permissive | theycallmecoach/cagey-math | 6b117a6c5b936e433867f0c64a074d27b2c56ab4 | e3a70d6e26abad90bbbaf6bc5f4e7da89651ab59 | refs/heads/master | 2021-08-17T08:56:00.900878 | 2020-12-31T03:49:25 | 2020-12-31T03:49:25 | 49,614,331 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,776 | cc | Vector4Tests.cc | #include "gtest/gtest.h"
#include <cagey-math/Vector2.hh>
#include <cagey-math/Vector4.hh>
#include <cagey-math/VectorFunc.hh>
#include <cstdint>
using namespace cagey::math;
TEST(Vector4Test, Vector4SizeTest)
{
ASSERT_EQ(sizeof(Vector4<short>), sizeof(short[4]));
ASSERT_EQ(sizeof(Vector4f), sizeof(float[4]));
... |
2aefdbba41028faa570a3ee488375b485b64ba2c | 4506cfa5d57fd4e66dd470fb0e2278383a551462 | /lab1/include/str_match/all.hpp | 46b21d4dc3b309610280493405cb8e22fcf5b065 | [] | no_license | pazamelin/ORA_labs | 647b6ca9868f0130c4d774629d250fd3b5ac4712 | ca4a7c19ebf607a6dad5e7de8dd68c9ec5932f2c | refs/heads/main | 2023-05-20T03:25:38.312477 | 2021-06-14T12:45:41 | 2021-06-14T12:45:41 | 360,643,354 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 127 | hpp | all.hpp | #pragma once
#include "naive.hpp"
#include "rabin_karp.hpp"
#include "BoyerMooreHorspool.hpp"
#include "KnuthMorrisPratt.hpp"
|
e760d734d344d41e360e4abb6078689352690082 | 59c47e1f8b2738fc2b824462e31c1c713b0bdcd7 | /006-All_Test_Demo/000-vital/000-sodimas_notice/000-code/WindowsAPP-old/BST_IDE/global/devfun.cpp | fee2cf40c4410e62ff9c2f21b360ddeb0c4a1d62 | [] | no_license | casterbn/Qt_project | 8efcc46e75e2bbe03dc4aeaafeb9e175fb7b04ab | 03115674eb3612e9dc65d4fd7bcbca9ba27f691c | refs/heads/master | 2021-10-19T07:27:24.550519 | 2019-02-19T05:26:22 | 2019-02-19T05:26:22 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 29,818 | cpp | devfun.cpp | #include "devfun.h"
#ifdef IDE
#include "projectmanager.h"
#include "bstui.h"
#include "tabpage.h"
#include "mdppage.h"
#endif
#include "deviceinc.h"
#if (defined(IDE) || defined(DISPLAY) || defined(SETTING))
#include "physicallcd.h"
#endif
void WaitInfo::SetTimeout(quint32 pValue)
{... |
956a30cc71725edc28b5434c3abb47f76403af52 | aaf28ddaf0314d5e0664bd6b1d8fbb784db74f18 | /test/unit/prng.cpp | 42a42ca697065d2c6214f2f76d90cecada0ab3d2 | [] | no_license | QuarkCloud/jemalloc-windows | 129677bc8a86fd1d49128da2da58d0e729d426f9 | 31631451e14b0bea4145ecf7f8007c1e5247839c | refs/heads/master | 2020-03-20T04:15:35.939082 | 2019-03-22T05:17:32 | 2019-03-22T05:17:32 | 137,176,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,822 | cpp | prng.cpp | #include "test/jemalloc_test.h"
#include "unit_test.h"
static void
test_prng_lg_range_u32(bool atomic) {
atomic_u32_t sa, sb;
uint32_t ra, rb;
unsigned lg_range;
atomic_store_u32(&sa, 42, ATOMIC_RELAXED);
ra = prng_lg_range_u32(&sa, 32, atomic);
atomic_store_u32(&sa, 42, ATOMIC_RELAXED);
rb = prng_lg_range_u32... |
348391588e56b530c720fad676b1edecc3ec6f7f | 44d212e4b92b39a24b3fc9356c28bddd513f1f54 | /UVa Online Judge/10026. Shoemaker's Problem.cpp | 58871837b37082997abf7c3abab929b5062adaaf | [
"MIT"
] | permissive | nicoelayda/competitive-programming | e946d4eeac5fadcae58d44dd3d9b6fb3d86983a4 | 5b5452d8d2865a1a5f1e3d2fece011749722e8c4 | refs/heads/master | 2020-04-23T09:42:46.697943 | 2019-02-18T16:29:27 | 2019-02-18T16:29:33 | 171,078,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 857 | cpp | 10026. Shoemaker's Problem.cpp | #include <cstdio>
#include <algorithm>
#include <utility>
#include <vector>
using namespace std;
bool comparator(pair<int, double> p1, pair<int, double> p2) {
return p1.second > p2.second;
}
int main() {
int T;
scanf("%d", &T);
while (T-- != 0) {
int n;
scanf("%d", &... |
bfc9aa270d5c7870b6f83b610921cef47be7c188 | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtbase/src/testlib/qtestcase.cpp | 270f8b57ac48d60e586e8bbc2d9e2bbe73c7631f | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-commercial-license",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"LicenseRef-scancode-qt-commercial-1.1",
"LGPL-3.0-only",
"LicenseRef-scancode-qt-company-exception-lgpl-2.1",
... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 129,999 | cpp | qtestcase.cpp | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtTest module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commer... |
13890b2cc5140b1a798e1409bf0b222df5f71087 | c29e9d984244dc7d1addaaa8c1fe061c743e3dbd | /cpp code/Problem/PAT A1074.cpp | 0151e112c0216f8fc903e0bf549fef4a1b5e806a | [] | no_license | KaihongGo/PAT | b596519a74ff9e5ce508b95fe05070a551896fa1 | 3b9d80681694aedf33e7f355cb684576156811c4 | refs/heads/master | 2023-01-09T07:56:18.829829 | 2020-11-02T13:05:39 | 2020-11-02T13:05:39 | 304,880,027 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,088 | cpp | PAT A1074.cpp | //PAT A1074.cpp 1074 Reversing Linked List (25 分)
//two pointer二路推进策略
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
const int MAXN = 100010;
struct Node
{
int key, addr, next;
} list[MAXN];
int main()
{
int head, n, k;
cin >> head >> n >> k;
for (int i = 0; i < ... |
2272e45fc274dd2189452964a6660ba3657aef51 | 23f4810fa3adfc5835f6f4378213bf37688888bd | /ControlRobotViaSerialConnection/src/MainController.cpp | 543c38f619ac12347af33b51b0b78acec5f356e8 | [] | no_license | foreglance/ControlRobotViaSerialConnection | 0b933f0cb8b995a3c07a87cc6a428d9659500a10 | a5e399465b7c8b2f1936ae0b0e1140d518031a31 | refs/heads/master | 2021-01-21T02:36:31.366667 | 2014-03-15T07:11:28 | 2014-03-15T07:11:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cpp | MainController.cpp | /*
* MainController.cpp
*
* Created on: Mar 12, 2014
* Author: foreglance.com
*/
#include "MainController.h"
#include "ActionResult.h"
#include "ConsoleLogger.h"
MainController::MainController() {
m_logger = new ConsoleLogger;
m_conn = new SerialConnection(m_logger);
}
MainController::~MainController() ... |
dd3c6946220584da0ecfdbac15efc71753f45ab9 | 8d86d4a327220f92e76723bbf655b0121fad9289 | /TestApps/Rosetta/BNN/Sources/utils/DataIO.h | 818f56ee22abd3c4daa46917dc31bd5be32672f0 | [
"MIT"
] | permissive | HansGiesen/hls_tuner | 3cd7d8143ddeb704091b62ef6640ccb75d16867b | 9c8d03737d1115f4e5cfa03cabc2334ea8b3ca19 | refs/heads/master | 2023-07-15T09:50:13.636478 | 2021-08-26T16:49:00 | 2021-08-26T16:49:00 | 191,989,889 | 2 | 1 | MIT | 2019-09-19T18:16:39 | 2019-06-14T18:35:31 | VHDL | UTF-8 | C++ | false | false | 876 | h | DataIO.h | //------------------------------------------------------------------------
// Class to read the image data
//------------------------------------------------------------------------
#include <assert.h>
#include "Debug.h"
#ifndef RUN_STANDALONE
#include "ZipIO.h"
#endif
#include "Common.h"
#include "SArray.h"
// This ... |
2b5bf070f4a61cc0f6774e90d60dcb78308aa520 | 590f8a12ed8c667ded41ca8d3c36eb2de270b6d0 | /Q2/arorachaitanya.Q2.cpp | 35875b369ae3ee1c6a2226e4f7f0b1c621361566 | [] | no_license | rajranjan0608/yourFirstPR | 71bd45f0390732dbc1cbbf3702c9ca433ca9521b | 74c7187a8821ea89765c956f46872265f7815a8e | refs/heads/master | 2022-11-02T00:13:51.798880 | 2022-10-02T17:11:19 | 2022-10-02T17:11:19 | 212,445,108 | 8 | 70 | null | 2022-10-28T05:04:46 | 2019-10-02T21:30:38 | C | UTF-8 | C++ | false | false | 249 | cpp | arorachaitanya.Q2.cpp | #include <iostream>
using namespace std;
int main()
{
int n1;
cout << "enter a number to check even or odd .";
cin >> n1;
if (n1 % 2 == 0)
cout << n1 << " is even number.";
else
cout << n1 << " is odd number.";
}
|
3639b1687542ce403038c10c5d36678333139ef4 | a78cbb3413a46c8b75ed2d313b46fdd76fff091f | /src/mobius.atp/mobius.cvc3/cvc3-20090730/java/src/cvc3/ValidityChecker_impl.cpp | ee72d24b65cdef3c20ee5b99acaf60cdc935a592 | [] | no_license | wellitongb/Mobius | 806258d483bd9b893312d7565661dadbf3f92cda | 4b16bae446ef5b91b65fd248a1d22ffd7db94771 | refs/heads/master | 2021-01-16T22:25:14.294886 | 2013-02-18T20:25:24 | 2013-02-18T20:25:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,600 | cpp | ValidityChecker_impl.cpp | INCLUDE: <sstream>
INCLUDE: <theory_arith.h>
DEFINITION: Java_cvc3_ValidityChecker_jniCreate1
jobject
return embed_own<ValidityChecker>(env, VCL::create());
DEFINITION: Java_cvc3_ValidityChecker_jniCreate2
jobject c CLFlags flags
return embed_own<ValidityChecker>(env, VCL::create(*flags));
DEFINITION: Java_cvc3_Va... |
0bf660cc8edec7b8d5a115b06a163bc17f0af4a1 | eef9f643eb82bc50028012a170edd154a05b5989 | /Hackerrank/DesinerPDFViewer.cpp | 49cf3de59350061e2c5f02c5170f69ade3e56e04 | [] | no_license | KhanhMachinLearning/Coding-Inteview | 035d27839ac9656c3023be9a8d0a2ee9629da423 | 2a95da5a3b0afa8aa2d53a27ac6d214a4da37ede | refs/heads/master | 2020-03-31T23:58:18.770792 | 2018-10-14T02:10:56 | 2018-10-14T02:10:56 | 152,676,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | DesinerPDFViewer.cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int length_[26];
for(int i=0;i<26;i++)
cin>>length_[i];
string s;
cin>>s;
int max = length_[s[0]-'a'];
for(int i=1;i<s.length();i++){
if(max < length_[s[i]-'a']){
... |
6edf4bb7aa072b9f9e27bc410167c97ae4ec262a | bd0a55c760a3a92e51c807d79f495a23564abeff | /week12/newtiles/newtiles_1.cpp | 2bd3759a3d4b39fd015b83d83dd834269c04773c | [] | no_license | miqueljubert/AlgoLab17 | 4d595cf9d5d176a786cc268098e300a19d72316a | ff0c3b6a184db1a5645b6ffccd2a9965e65fd987 | refs/heads/master | 2021-04-30T13:16:41.717730 | 2018-02-13T12:58:45 | 2018-02-13T12:58:45 | 121,290,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | newtiles_1.cpp | #include <iostream>
#include <vector>
using namespace std;
int max_tiles( int row, int column, int h, int w, int prev_mask, int mask, const vector<int> &states, vector<vector<int>> &table )
{
if( row == h ) return 0;
if( column >= w-1 ) return max_tiles( row+1, 0, h, w, mask, 0, states, table );
int row_... |
a613130b09830b74a83e0d9e3bca9b5c4e7f2cd5 | f959849552c83bcccdfdb3ec7f200348fda2309b | /cmdnet/multicast/commander/src/DeviceManager.h | 9de9e9678e789a2d278ab604c7c2ee240c6a2a31 | [] | no_license | sujeet-banerjee/radio | a907b93c50f0929e1e3dd7161d4f1939515fee1b | b63e5ed37c5581c3aab23d8bf8c41f37cc1765a0 | refs/heads/master | 2020-06-28T11:46:46.297312 | 2017-01-06T09:00:30 | 2017-01-06T09:00:30 | 67,323,791 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | DeviceManager.h | /*
* DeviceManager.h
*
* Created on: Oct 6, 2016
* Author: banerjees
*/
#ifndef SRC_DEVICEMANAGER_H_
#define SRC_DEVICEMANAGER_H_
class DeviceManager {
public:
DeviceManager();
virtual ~DeviceManager();
void interrupt();
void setup();
/**
* Obsolete, please remove it
* The device manager will e... |
d876a762b1b00741430f4dcbae7a56bc2b97e3c2 | 2277375bd4a554d23da334dddd091a36138f5cae | /ThirdParty/Havok/Source/Common/Compat/Patches/2011_2/hkpPatches_2011_2.cpp | e59c9605ced232abf8d5adffeb76ff2610c48190 | [] | no_license | kevinmore/Project-Nebula | 9a0553ccf8bdc1b4bb5e2588fc94516d9e3532bc | f6d284d4879ae1ea1bd30c5775ef8733cfafa71d | refs/heads/master | 2022-10-22T03:55:42.596618 | 2020-06-19T09:07:07 | 2020-06-19T09:07:07 | 25,372,691 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,592 | cpp | hkpPatches_2011_2.cpp | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... |
29b1338266f1ebd579f02154d346ee4af0001103 | a67bdf04c1b783ce3e71d11751cea5b2d20a8576 | /net/client/dev_message/transmmiter/harristransmmit.cpp | ef3e31349d8ad333552a80230fbda750ea2a55fa | [] | no_license | piaoliushi/SmartServer | f24ab5508822804da530f36eee4bc7092063dc57 | ad3777c8ee82d215d168724cc3f6294dcf88d56a | refs/heads/master | 2021-04-06T00:53:13.086324 | 2021-03-12T09:38:04 | 2021-03-12T09:38:04 | 52,346,788 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,987 | cpp | harristransmmit.cpp | #include "harristransmmit.h"
namespace hx_net{
CHarrisTransmmit::CHarrisTransmmit(Tsmt_message_ptr ptsmessage,int subprotocol,int addresscode)
:Transmmiter()
,m_subprotocol(subprotocol)
,m_addresscode(addresscode)
,m_pmessage(ptsmessage)
{
initOid();
... |
bb5dd3803b0cb356592784c92cfd7e146dbd1d83 | f54ac34a820e516629f578a12cd352c332e3570c | /src/main1.cpp | 793174bc1f68bc05eedfbc988a755484ca75b183 | [] | no_license | wx6boy/tp-lab-3 | a3c2ebbf7abeab60b86dbfc7e0fb9b7d8a8b7ff7 | 6927017ff2c3cd3a31fd03ffa99eb51c8b0a4218 | refs/heads/master | 2020-09-04T23:05:10.571520 | 2019-12-10T18:50:08 | 2019-12-10T18:50:08 | 219,918,685 | 0 | 0 | null | 2019-11-06T05:27:49 | 2019-11-06T05:27:48 | null | UTF-8 | C++ | false | false | 333 | cpp | main1.cpp | //
// Created by aklen on 10.11.2019.
//
#include <iostream>
#include "task1.h"
#include "Circle.h"
using namespace std;
int main(){
double delta=calcDelta();
cout<<"The gap between Earth and the rope is "<<delta<<" meters \n";
double cost=calcCost();
cout<<"Full cost is "<<cost<<" roubles "<<"\n";
... |
6a3e758551810a6ea5e3e7fb566ba78997a8b530 | 406bf7effeff72b793f9302e4c72485ff805e5e4 | /src/Entity.h | 7277b295e94933f259e2a6cb9464b3e311b8dd9a | [
"MIT"
] | permissive | nicoaw/netroids-prototype | a00af53a8a5e6e510189c1d94cbe116778882b74 | ac8b4c75efc136fbd04f27bdb7cc028d5a02f06c | refs/heads/master | 2021-01-10T07:07:24.262285 | 2015-10-14T02:01:22 | 2015-10-14T02:01:22 | 44,215,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | h | Entity.h | #pragma once
#include "Rendering.h"
#include "AABB.h"
template<typename T, typename U>
class Entity
{
public:
typedef T State;
Entity();
virtual void update(const AABB& bounds, float dt);
virtual void render(const Camera& camera, float alpha);
protected:
typedef U Derivative;
State current... |
2be205d46b797caad8ddc0a43cbd0a94da0b065a | ef94267c9e9f9be67a68e107e978c42c812965cb | /Source/FPSSimulator/PS_Domination.h | 2aa119f0bcaaf2abfd2a65772b6a7183ac4dd853 | [] | no_license | stevenlwk/LAGCOM | 3df1f0940584877033096c97b271bb4540549bc4 | f82e8183abafb1d512a1d28face7d986d67d05ec | refs/heads/master | 2021-01-20T02:33:59.495835 | 2017-08-24T22:04:38 | 2017-08-24T22:04:38 | 101,326,126 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 939 | h | PS_Domination.h | #pragma once
#include "FPSSimulatorPlayerState.h"
#include "CapturePoint.h"
#include "GS_Domination.h"
#include "PS_Domination.generated.h"
UCLASS()
class FPSSIMULATOR_API APS_Domination : public AFPSSimulatorPlayerState {
GENERATED_BODY()
public:
void BeginPlay() override;
void OnKilled(AFPSSimulatorPlayerState*... |
f737384967e13c2694a93f7f8c29cef8a72379be | 9f2819f90aaaf11966a35b60d198850a54736c75 | /Lab14.3/Lab14.3/Lab14.3.cpp | 3eb531ed47e06d73977e250c47ff25a62ea063ac | [] | no_license | nastyakrul/VVP_ | b22fdc9f6b9059433e07a2bce74f48d5baddb128 | 2be3733d9901bd2e88f14c9202a59673b1d347ae | refs/heads/master | 2023-02-02T18:12:42.762180 | 2020-12-21T23:42:55 | 2020-12-21T23:42:55 | 297,173,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,368 | cpp | Lab14.3.cpp | // Lab14.3.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
#include <locale.h>
#include <stdio.h>
int main()
{
setlocale(LC_ALL, "Russian"); //установка русского языка
int n,k,i;//ввод переменных
printf("Введите целое число N: "); //ввод зн... |
f8052b466676911940bf374474d5a4095cfd42b1 | 18a108c80c5355e6fe7ff3a19b637d8900cf3c6a | /AD5292.h | 68709fb310c75fa2612e18e79f3e4ddfd749a4b2 | [
"MIT"
] | permissive | That8BitMan/AD5292 | 4b905e691d55a1d2a80226c45018cce22f48c954 | 629ecd8dfbcd9ed495c6e38ad916e91103dbafb8 | refs/heads/master | 2021-01-19T16:40:29.407528 | 2017-09-18T23:52:15 | 2017-09-18T23:52:15 | 101,015,375 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,187 | h | AD5292.h | /******************************************************************************/
/*!
@file Systronix_ModulatorShield.h
@author B Boyes (Systronix Inc)
@license BSD (see license.txt)
@section HISTORY
v1.0 2015 Jul 01 bboyes Start based on working Arduino .ino program
*/
/*********************************... |
b690db19bfe912c99a891c6b80de5448ecf00248 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta/68.8/alpha.water | 0981a397f5ac7f17fdf49082a6064265546de8ae | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158,791 | water | alpha.water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... |
f2cbf5f1dc3db3626e7284e13bdc4cef9188c1e3 | 3f105c95c2a34f914140a3a15377ed0e808eb75a | /example/addon.cc | 51edf441040a021ab0e3a5c2b17718863358611d | [
"Apache-2.0"
] | permissive | dgkimfirm/node-async-event-emitter | 99a8b15f6e52a2f42e048a7c097f44354a542cfc | 7e2db7d4e68bec98e9e66b1d2e39f216305f8e6f | refs/heads/master | 2020-06-18T09:15:12.974126 | 2017-04-18T12:24:25 | 2017-04-18T12:24:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cc | addon.cc | #include "Event.h"
#include <async/EventEmitterObjectWrap.h>
using namespace v8;
void InitAll(Local<Object> exports)
{
async::EventEmitterObjectWrap::Init(exports);
Event::Init(exports);
}
NODE_MODULE(addon, InitAll)
|
a89601becb65935bc2417590c444eafba367a4a7 | 6685a35f0d01a63ae8abba7c52a0a6eaa4bcf35d | /src/cplug_str.cpp | 0eec3bdca9cd0d3e8293f0e5c73549d4a08d749b | [] | no_license | lchen-c/cplug | 31ffc9b2a39988c21299cdb5578a7a90c30213d0 | 7d14a0b38651ad89f481f7e8970b52f59b5ba966 | refs/heads/main | 2023-02-23T10:55:12.074740 | 2021-01-29T01:25:24 | 2021-01-29T01:25:24 | 333,705,818 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | cpp | cplug_str.cpp | #include "cplug_str.h"
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace boost;
#ifdef _WIN32
#include <Windows.h>
#endif
#if defined (_WIN32) || defined(_WIN64)
wstring Cplug_Str_StrToWstr(const std::string& str)
{
int num = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), -1, NULL, 0);
wcha... |
e746a6315541b0dfb5d17ee62473829cb0020700 | 8a9e53a77ae7ac846a5a067cb2e987e63bbd532c | /macro_keyboard/macro_keyboard.ino | 1b7298bb65c9dae54979501af48583350906a74a | [] | no_license | umbe073/Arduino-Sketches | 5e83938d555762467735f7befbb301344a4523e6 | 7fc263add976705b16e384213d02348c67bf2b95 | refs/heads/master | 2021-01-18T00:50:14.879946 | 2014-11-03T22:00:00 | 2014-11-03T22:00:00 | 39,171,199 | 1 | 0 | null | 2015-07-16T02:04:11 | 2015-07-16T02:04:10 | null | UTF-8 | C++ | false | false | 3,383 | ino | macro_keyboard.ino | /*
Custom Macro Keyboard
Requires Arduino Leonardo or compatible
Written by Gareth Halfacree, http://freelance.halfacree.co.uk
Based on work by Tom Igoe, http://arduino.cc/en/Tutorial/KeyboardButton
Parts list:
4x momentary push-buttons: http://www.oomlout.co.uk/pushbuttons-x5-p-196.html
Ju... |
78731de3018d240f567802382b9d45e207f0def1 | ed5f0333845f73bb3865bdf5cd63a1b77b50c9f3 | /fuzzer/src/flags.cpp | a901d68cfc60c193ed5842fe5c75cfabc8c0237b | [
"MIT"
] | permissive | ucsb-seclab/regulator-dynamic | c2b260cd14ebb30ecb93d3e7a4e6b5bcd0d16538 | 9b40c0dcb89f102dd0814728fb7da938b62bab68 | refs/heads/master | 2023-09-03T07:41:47.446073 | 2021-11-17T19:55:13 | 2021-11-17T19:55:13 | 369,074,668 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | cpp | flags.cpp | #include "flags.hpp"
namespace regulator
{
namespace flags
{
uint64_t FLAG_timeout = 0;
bool FLAG_debug = false;
}
} |
fa273eba00f88d018c46b60b65bb5368c0c22d21 | 7c857119fe1505b1d80d6e62969661c06dc1a2f4 | /rEFIt_UEFI/libeg/image.cpp | d5972272e4b909101839f6d99ce2c50b561c92ef | [
"BSD-2-Clause"
] | permissive | CloverHackyColor/CloverBootloader | 7042ca7dd6b513d22be591a295e49071ae1482ee | 2711170df4f60b2ae5aa20add3e00f35cf57b7e5 | refs/heads/master | 2023-08-30T22:14:34.590134 | 2023-08-27T19:14:02 | 2023-08-27T19:14:02 | 205,810,121 | 4,734 | 770 | BSD-2-Clause | 2023-09-03T12:41:33 | 2019-09-02T08:22:14 | C | UTF-8 | C++ | false | false | 8,725 | cpp | image.cpp | /*
* libeg/image.c
* Image handling functions
*
* Copyright (c) 2006 Christoph Pfisterer
* 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 ret... |
4e887702bd0cb91f6afac7604cac17c9ea8e35f1 | 332cb0837f091491ce97d3f1467a9f4f19272fb2 | /Clases/Blink_v-1-1-0/Blink_v-1-1-0.ino | eed3db6bcce5265e7ebc7a7098a295d31cb7b16b | [
"MIT"
] | permissive | dannycuichan/Ejemplos_Cpp | 0a3555f35bdd0aa2a2037ec20fcdc5ddd7e0bdc1 | e5b46484844420c5e8e7a81fc34d26a8ad09b481 | refs/heads/master | 2021-03-16T17:25:38.381775 | 2020-03-12T21:01:32 | 2020-03-12T21:01:32 | 246,926,591 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | ino | Blink_v-1-1-0.ino | //Poling y clases
#define BOTON 0
#define ACTIVO 2
#include "blink_class.h"
blink_class blink1(1000, 1000, 5, 5);
//blink_class blink1;
blink_class blink2(500, 500, 10, 4);
blink_class blink3(1000, 500, 7, 1);
void setup()
{
pinMode(BOTON, INPUT);
pinMode(ACTIVO, OUTPUT);
blink1.begin();
blink2.beg... |
68e437e3d2a03a2b263a62eb8ba716fcfb1bb729 | a27eef822309928227850f4ade896a248bccd42a | /Sources/DrawableTex2D.cpp | 080b5e9ebb6eb4b80b2923cc11206c85563c166d | [
"MIT"
] | permissive | GTVolk/DX10House | f25fc2630f05a4cfd9c48ac3dee0986301176c64 | ac44447cb13a09bbd0ef28838ddd081d38a327d4 | refs/heads/master | 2021-04-27T10:55:53.371945 | 2020-02-20T22:00:38 | 2020-02-20T22:00:38 | 122,548,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,161 | cpp | DrawableTex2D.cpp | #include "..\Headers\DrawableTex2D.h"
DrawableTex2D::DrawableTex2D()
: mWidth(0), mHeight(0), mColorMapFormat(DXGI_FORMAT_UNKNOWN),
md3dDevice(0), mColorMapSRV(0), mColorMapRTV(0), mDepthMapSRV(0), mDepthMapDSV(0)
{
ZeroMemory(&mViewport, sizeof(D3D10_VIEWPORT));
}
DrawableTex2D::~DrawableTex2D()
{
ReleaseCOM(mC... |
a4a5288af55254d11b2fb6ebbd1a623036e03c12 | d17cc08f721f6e457c19ba685c5c041291cf73a8 | /04Kochmar/04Kochmar/Main.cpp | f0f5575cd0cb764081b9dc9059a14de775a2f5df | [] | no_license | vvadymk/pp | 8b70b98ef71ee024307a4bcd7d4e916d2e494f36 | ba0eb09697a1b4650f4d0e820ce5f790a596f0d4 | refs/heads/master | 2020-07-19T03:30:35.821631 | 2019-09-04T16:48:55 | 2019-09-04T16:48:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | Main.cpp | #include<iostream>
using namespace std;
#include"Function.h"
int main(void)
{
cout << agm(1, 10) << endl;
cout << agm(5, 10) << endl;
cout << agm(4, 6) << endl;
cout << agm(5, 11) << endl;
cout << agm(20, 40) << endl;
cout << agm(100, 175) << endl;
cout << agm(2, 3) << endl;
return 0;
} |
235de16b770171e6f2be17ee7377ff4f69f01b5b | 406c4973cfc226536452bb3b7f46d9ce2722ba6d | /algorithms/src/graph_cost.h | 788a6a6b15f072ff5b67e7f10d02487337d675fd | [] | no_license | kwatts/interview_practice | d3e5ac1ec20b95a6d33d38bb31bd63fd437756ec | d1d5707260e94f65737f97c5e9f14e3d3797983c | refs/heads/main | 2023-04-29T03:39:47.279208 | 2023-04-22T22:53:08 | 2023-04-22T22:53:08 | 315,455,639 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | graph_cost.h | #include <string>
#include <vector>
#include <functional>
#include "query_helper.h"
// Find cost of a query in a graph.
double findCost(QueryHelper const& get_connections, std::string start,
std::string end);
|
4f1d4c48f4d80cff365ef8cc4bea576a0e4d6994 | ac75558b13b1eb5a220ea7b84739c87ad50f6da5 | /Graph/Topological Sort.cpp | 5720b0b482ba35868c71b104b7f150459fc42506 | [] | no_license | Anik-Modak/CompetitiveProgramming | 670a53f323292b16484ca28f340e123e8da8fcff | 3fa0b9712f6bb4879d53a066fa16274e480b31a4 | refs/heads/master | 2022-03-22T06:21:30.654964 | 2019-12-10T12:58:35 | 2019-12-10T12:58:35 | 184,308,402 | 1 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 3,814 | cpp | Topological Sort.cpp | // A C++ program to print topological sorting of a DAG
#include<iostream>
#include <list>
#include <stack>
using namespace std;
// Class to represent a graph
class Graph
{
int V; // No. of vertices'
// Pointer to an array containing adjacency listsList
list<int> *adj;
// A function used by topolog... |
b402ad567e1b2c00056a63421322dc84ce9d09c5 | 9151dbb877ad81650d85460a3aa34f3b74de6dae | /Oving1/arduino_kode_morse/arduino_kode_morse.ino | 786cfe510bc19bab6428078b7cfe3e0b33f5dcaf | [] | no_license | wQuole/TDT4113 | 443447bbaaa85b3f261ed624b6b0d03912ec0fc3 | 496a84bd61fac64abf9011740968092d92580d2c | refs/heads/master | 2021-09-21T02:15:45.944884 | 2018-08-19T16:49:20 | 2018-08-19T16:49:20 | 104,644,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,150 | ino | arduino_kode_morse.ino | // this constant won't change:
const int buttonPin = 3; // the pin that the pushbutton is attached to
const int ledpin_green = 12; // the pin that the LED is attached to
const int ledpin_red = 13; //OG
// Variables will change:
int buttonPushCounter = 0; // counter for the number of button presses
int ... |
8dbffb08631779b0250fae9ff033b4bc893400e7 | df430be8407bd7eff51cd060e83074a6e67ea816 | /PROBLEM SOLVING - UVA/P-352.cpp | 650293e380d610727c5cf3f25ac52d0ff3a7c293 | [] | no_license | sohag-aust/Problem-Solving---UVA | 445b9d02b93764b7a20ca7da090f0c9f61ed54bf | d7b396efcfd314a96236f8eb94c6bd27339e11f4 | refs/heads/master | 2021-07-20T06:34:10.794244 | 2021-07-10T04:48:58 | 2021-07-10T04:48:58 | 160,833,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | cpp | P-352.cpp | #include<bits/stdc++.h>
using namespace std;
const int maxi=30;
char grid[maxi][maxi];
int r,c;
int flag[maxi][maxi];
void init()
{
for(int i=0; i<r; i++)
for(int j=0; j<c; j++)
flag[i][j]=0;
}
void floodfill(int i,int j)
{
if(i<0 || j<0 || i>r-1 || j>c-1)
return ;
if(grid[i]... |
6b777fb016a7514798d36c75baaed3a98d273265 | 0841c948188711d194835bb19cf0b4dae04a5695 | /p2pserver_v2/track/sources.bak.20141029/livetrack/src/flashp2pdb.cpp | f8aa290fc79d002e01a821fda116a20be0a5776e | [] | no_license | gjhbus/sh_project | 0cfd311b7c0e167e098bc4ec010822f1af2d0289 | 1d4d7df4e92cff93aba9d28226d3dbce71639ed6 | refs/heads/master | 2020-06-15T16:11:33.335499 | 2016-06-15T03:41:22 | 2016-06-15T03:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,532 | cpp | flashp2pdb.cpp | #include "flashp2pdb.h"
#include "versiondb.h"
#include "spdb.h"
#include "provincedb.h"
#include "citydb.h"
#include "filedb.h"
extern IPTranslator IPTRANSLATOR;
FlashP2PDb::FlashP2PDb()
: FP2PDb() {
}
FlashP2PDb::~FlashP2PDb() {
VersionDBMap::iterator i = versions_.begin();
while( i != version... |
9028f7b1c8be91ad346ee21015005bc7e62f6a0e | 27cf09462dc9e20f2de5d0e8586abe6ed6392687 | /configobject.hpp | 0eeb82528bb3972082bf2f63e397f213bee509bf | [] | no_license | julam5/clibconfig | 6cadfac31e318851ad83a40ed267e824e4006915 | 21be91848bf43ee7dc9f0a76dba4b6bd6923ceff | refs/heads/master | 2020-12-09T01:54:20.726356 | 2020-03-03T19:28:06 | 2020-03-03T19:28:06 | 233,157,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,323 | hpp | configobject.hpp | #ifndef CONFIGOBJECTS_H
#define CONFIGOBJECTS_H
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <libconfig.h++>
namespace Airspace
{
typedef enum
{
CFG_TYPE_INVALID = 0,
CFG_TYPE_INT = 1,
CFG_TYPE_INT64,
CFG_TYPE_DOUBLE,
CFG_TYPE_BOOL,
CFG_TYPE_STRING,
} cfg_type_e;
t... |
e7a017e0aa205f66f474dd7cc0b2c468462268ee | 8e068eede9730e6ce3773f1e7232c34dd03ef29d | /Engine/Platform/Platform.WinPC/OpenGL/EGLView.cpp | eccc9f0ce179833bfd9ce941ab355279c1808331 | [
"MIT"
] | permissive | leec0m3t/Leggiero | 2e228fa23f723132883577c8018e7f6a47879f61 | 8fe13d86454a08ba8a3a8cebe1ce92343090c1be | refs/heads/main | 2023-04-09T19:17:06.555139 | 2021-04-19T06:54:00 | 2021-04-19T06:54:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | cpp | EGLView.cpp | ////////////////////////////////////////////////////////////////////////////////
// OpenGL/EGLView.cpp (Leggiero - Platform.WinPC)
//
// EGLView Implementation
////////////////////////////////////////////////////////////////////////////////
// My Header
#include "EGLView.h"
// Leggiero.Platform.WinPC
#include "WinPC... |
e97e45b8a8166a50be958cc12b54f4a43b380a31 | d44fe46073bcee3b42d84f43170614dc2249687d | /GameJam_v3.2/GameEngineBase/externals/Havok/includes/Source/Common/Internal/MeshSimplifier/hkMeshSimplifier.h | b8aa61c2e2ad83e3de0d846227124efc9147871f | [
"MIT"
] | permissive | aditgoyal19/Tropical-Go-Kart-Bananas | 1b162a3c994f90d3e5f432bd68251411a369812c | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | refs/heads/master | 2021-01-11T15:21:24.709156 | 2017-07-06T21:07:36 | 2017-07-06T21:07:36 | 80,340,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,521 | h | hkMeshSimplifier.h | /*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets of ... |
59ee922f5a4ed976cca525f6056b7b3882cc390b | 78edd8ed9c5209717db710c602c2b655daa1c13e | /test1011-2.h | a8ff9eaabd3551ef4a69d0e6a73d5744a2d9e09e | [] | no_license | shinsoyeon16/18-2lesson | 97ac25e1b785feb029694e2a764749f88be09764 | b56c70e0b61f4bf3eb75a01e170aabd60a710e55 | refs/heads/master | 2020-03-28T13:35:37.166916 | 2018-10-31T20:23:32 | 2018-10-31T20:23:32 | 147,277,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | test1011-2.h | #pragma once
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include <string>
#include "ArrayStack.h"
using namespace std;
bool CheckMatching(const char* filename) {
FILE *fp = fopen(filename, "r");
if (fp == NULL) error("Error: 파일 존재하지 않습니다.\n");
int nLine = 1, nChar = 0;
ArrayStack stack;
char ch;
while... |
f1e14accce31a942755fe38383b9e13e3d4b05fa | c59ec5f46f8681d83f7d2a22c85b3b7dc0e24bf9 | /лаб 1 задание 3/лаб 1 задание 3/лаб 1 задание 3.cpp | 43f7db65b8013e9907aa71a7d9a04bbe8207f365 | [] | no_license | olyalashkina/GLAZKOV | b12c187cfa275859b318c49d7e0f103e4f43a8d1 | 7f996930dca5bbd3b3ee8420898a12b0cc5b98e5 | refs/heads/main | 2023-06-15T10:15:49.479267 | 2021-06-28T10:19:51 | 2021-06-28T10:19:51 | 380,981,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | cpp | лаб 1 задание 3.cpp | #include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL, "Ru");
int m[3][3];
cout << "Введите значения матрицы: " << endl;
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
cout << "m[" << i << "][" << j << "] = ";
cin >> m[i][j];
}
}
cout... |
14af7596e79602f36e179008ffdf09dc3afed3e8 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2652486_1/C++/ichyo/1C_2.cpp | 6f41b3c1ab1fa37d28614904167a9b92a196bdda | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,057 | cpp | 1C_2.cpp | #include <iostream>
#include <sstream>
#include <string>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <cassert>
using namespace std;
#define FOR(i,k,n) for(int i=(k); i<(int)(n);... |
d7f3f89684ea0e7d43c4d0423e6ad96de9ff39ed | a61e4651b938bc61184fc3e0e2b033d63d405535 | /tests/uptestserviceregistry_unittest.cpp | 6db17de2021cc3145ee61c701dd74e9233f32b26 | [] | no_license | ha2ne2/peercast-yt | 8a8615fcfdb4c65dbfb9ac337771d0fc41a90ebe | d12715cb6d2afcc00502ec14a5522730b2a4720b | refs/heads/master | 2021-01-19T19:02:54.850095 | 2017-10-23T14:06:14 | 2017-10-23T14:06:14 | 88,395,471 | 0 | 1 | null | 2017-04-16T06:25:24 | 2017-04-16T06:25:24 | null | UTF-8 | C++ | false | false | 2,238 | cpp | uptestserviceregistry_unittest.cpp | #include <gtest/gtest.h>
#include "uptest.h"
class UptestServiceRegistryFixture : public ::testing::Test {
public:
UptestServiceRegistryFixture()
{
}
void SetUp()
{
}
void TearDown()
{
}
~UptestServiceRegistryFixture()
{
}
UptestServiceRegistry r;
};
TEST_F(Upte... |
dea27b36e10da9e6fc122d19e198cc4b05a2e51a | 54f85829cda7ae8322aae14f5e60fe5fe1234d12 | /Syl3D/gui/guimanager.h | d0d1f80ab7bd259efe29f8c2b9a920b16dac0d27 | [
"MIT"
] | permissive | Jedi18/Syl3D | 128f00a1c292727c2df4be56292976f213348ec4 | 8f62a3cd5349eaff83c36e9366003da61888ec73 | refs/heads/master | 2023-02-27T15:31:30.673352 | 2021-02-03T07:40:47 | 2021-02-03T07:40:47 | 290,950,828 | 2 | 2 | MIT | 2021-01-13T17:21:36 | 2020-08-28T04:29:56 | C++ | UTF-8 | C++ | false | false | 458 | h | guimanager.h | #pragma once
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "../vendor/imgui/imgui.h"
#include "../vendor/imgui/imgui_impl_glfw.h"
#include "../vendor/imgui/imgui_impl_opengl3.h"
namespace gui
{
class GUIManager
{
public:
void initialize(GLFWwindow* window);
void render();
void cleanUp();
voi... |
83d4834ab881c3659270c71742dd46b007337bae | 9a0f56f6c1e33d26449f9cfa2c4dcc70635a5d22 | /Labs/lab4/Node.cpp | a66984506eb2a99d43cb393ca43eeec66e267a54 | [] | no_license | JayOfferdahl/eecs560-DataStructures | 85871cdb082a5dcbe21f9ba0ca75583dd383fcf7 | 95e716988a4a7649b75c0fd230c531553814b49b | refs/heads/master | 2021-06-01T08:43:15.829482 | 2016-05-17T01:10:36 | 2016-05-17T01:10:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | cpp | Node.cpp | //*****************************************************************************
//
// Author: Jay Offerdahl
// Class: EECS 560 (Data Structures)
// Lab: Tues. 11a - 12:50p
// Lab #: 4
//
//*****************************************************************************
#include "Node.h"
#include <iostream>
#include <... |
2f4c12b3d1a7344dff55a1ce50a73b23c84bbc49 | 4c958d966495f7886c89b101f65cf968712139ef | /Server_v1.1/test/server/inc/DBManager.h | 4ee051613f1f0ccc78863b1375758188282fbd95 | [] | no_license | van76007/SecureDNS | 94ca27e1aa37f7b6537961ee6293138e8879af51 | db8df79c85aa8d5cec94e8c48cfe201ee49f4e33 | refs/heads/master | 2016-09-06T10:21:21.873168 | 2015-01-25T08:34:26 | 2015-01-25T08:34:26 | 29,673,454 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | h | DBManager.h | #ifndef __DBMANAGER_H__
#define __DBMANAGER__
#include <boost/thread.hpp>
#include <boost/thread/mutex.hpp>
// For posix::time
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
// For cdb
#include <cdb.h>... |
91934706a94372bdfd5c161b55ae04231d99c60c | d4ef6fd80e242ae4c85660b51ba5a4680e7661eb | /v3d_main/vrrenderer/V3dR_Communicator.h | da2f22e751445690f8ef69512e77e67c68882bd8 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | JaneliaSciComp/v3d_external | 30f5253699ba8c710df8549245fa2ff50b37f64b | d515fefcf06cba346601b62e3652ab0b09860038 | refs/heads/master | 2021-01-25T04:22:21.301915 | 2019-02-15T14:21:36 | 2019-02-15T14:21:36 | 93,433,792 | 0 | 1 | null | 2017-06-05T18:19:17 | 2017-06-05T18:19:17 | null | UTF-8 | C++ | false | false | 1,103 | h | V3dR_Communicator.h | #ifndef V3DR_COMMUNICATOR_H
#define V3DR_COMMUNICATOR_H
#include <QWidget>
#include <QtGui>
//#include <QtCore/QCoreApplication>
#include <QTcpSocket>
//#include <QRegExpValidator>
//#ifdef _WIN32
// #include <windows.h>
//#endif
#include "../basic_c_fun/v3d_interface.h"
//class CMainApplication;
class My4DImage... |
98d066387050c278a52a6440cebfddcdb47e4efd | b9b966952e88619c9c5d754fea0f0e25fdb1a219 | /libcaf_net/caf/net/http/arg_parser.hpp | 46aa6b36059f29e78b5a0f49554f24ed93cbbb41 | [] | permissive | actor-framework/actor-framework | 7b152504b95b051db292696a803b2add6dbb484d | dd16d703c91e359ef421f04a848729f4fd652d08 | refs/heads/master | 2023-08-23T18:22:34.479331 | 2023-08-23T09:31:36 | 2023-08-23T09:31:36 | 1,439,738 | 2,842 | 630 | BSD-3-Clause | 2023-09-14T17:33:55 | 2011-03-04T14:59:50 | C++ | UTF-8 | C++ | false | false | 1,157 | hpp | arg_parser.hpp | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#pragma once
#include "caf/detail/parse.hpp"
#include <optional>
namespace caf::net::ht... |
b488bc609c19ca8261b22e25dcae72435408a0a5 | e6e435005251f101e7b458d6bdf5fef0453b5902 | /src/worker.cpp | 4850dc647807c095d5e62e47edc61d9616a6f211 | [] | no_license | kushalbabel/Socket-Programming | 2dfb8ec445d9ca3c5f46e1172e6eeeeab7805ee3 | 9448a54b4fce4d3c47b1e647ab5bae7c41ebb552 | refs/heads/master | 2021-05-03T21:47:53.380015 | 2016-10-21T07:20:07 | 2016-10-21T07:20:07 | 71,539,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,717 | cpp | worker.cpp | #include <iostream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <arpa/inet.h>
using namespace std;
#define numeric "0123456789"
#define small "abcdefghijklmnopqrstuvw... |
31fcda1c82a00e3a15f0398df5508acdb108dc4e | ab24243914c96f1c04ba41cdf1c27effe5a56741 | /implementation/testFile/testFile.cc | 21b57c6fc6074f979640a2acc572bfa3281cb739 | [] | no_license | d3bird/RevolutionHackathon | fb169aef4687c75737fe92260c2c9bf283c4ac27 | c9a3613b7dca7b4190861c9482735fb201437840 | refs/heads/master | 2020-04-26T10:20:33.440945 | 2019-03-18T14:01:23 | 2019-03-18T14:01:23 | 173,483,476 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 105 | cc | testFile.cc | #include <iostream>
using namespace std;
int main()
{
cout << "\n\nThis is the child program!\n\n";
}
|
991d5c840e959c0bf1160b915a67506a59f8de6c | 8be023f90d9a18f4917af4bba8fb31230df3df2a | /SigLog_MibLib/agent/extend.cpp | f65d9fe4d278266f4248e32178ded31ddb09573b | [] | no_license | duniansampa/SigLog | d6dba1c0e851e1c8d3aef3af4bb85b4d038ab9c9 | 3dae0e42a36ebc5dca46fb044d3b1d40152ec786 | refs/heads/master | 2021-01-10T12:25:17.511236 | 2016-03-12T18:38:19 | 2016-03-12T18:38:19 | 44,571,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,394 | cpp | extend.cpp |
#include <siglog/net-snmp-config.h>
#include <siglog/net-snmp-features.h>
#include <siglog/net-snmp-includes.h>
#include <siglog/agent/net-snmp-agent-includes.h>
#include <siglog/agent/watcher.h>
#include <siglog/agent/agent_callbacks.h>
#include "agent/extend.h"
#include "utilities/execute.h"
#include "struct.h"
#i... |
b0ce8d3eeed89969227fb98d256610d7cf468ccb | 46abb55fbd239db6865903cb371779c8048edcee | /GameTemplate/Game/Light.cpp | 4c2b91e33e1f53730ff7c70c58722a87b456ba08 | [] | no_license | yokoyamasota/Syuukatu | b3fd1d1b5ab8b560fc90f0a473afdb54745c9208 | 9f8187333743195693f07b10bc026b66c0ebb6f4 | refs/heads/master | 2023-09-03T09:44:39.101536 | 2021-11-05T02:21:54 | 2021-11-05T02:21:54 | 390,931,628 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,968 | cpp | Light.cpp | #include "stdafx.h"
namespace
{
const Vector3 DIRLIG_DIR = { 1.0f, 1.0f ,-1.0f }; //ディレクションライトの初期方向
const Vector3 DIRLIG_COL = { 1.0f, 1.0f ,1.0f }; //ディレクションライトの初期色
const Vector3 SPOLIG_POS = { 0.0f, 0.0f ,0.0f }; //スポットライトの初期位置
const Vector3 SPOLIG_COL = { 1.0f, 1.0f ,1.0f }; //スポットライトの初期色
const Vector3 SPOLIG... |
1c94b13fd38b3b2336d29fb93ec609e5faa9d1cb | 52cd559a55c31a4e7f903382b6e99182ecff87a7 | /src/MiniFileSystem/MiniFileSystem/miniFSCommand/src/command/FdCommand.cpp | d8a79ea802845e6cfbb9daf872aa68e2be86cccd | [
"MIT"
] | permissive | LLFKirito/Mini-File-System---BIT1120161918 | a2684164a532fd65a994be606ace8cab86627375 | f0484538ec77b6c33014eafa64b83837ddd67468 | refs/heads/master | 2020-04-27T18:04:56.151244 | 2019-03-09T08:31:04 | 2019-03-09T08:31:04 | 174,553,290 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,286 | cpp | FdCommand.cpp | /**
*
* Mini File System Project
*
* Copyright (c) 2018 Linfeng Li. All rights reserved.
*
**/
#include "../../include/command/FdCommand.h"
bool FdCommand::Accept(const std::string & str) const
{
if (str == "fd")
return true;
else
return false;
}
bool FdCommand::Action(MiniFileSystem * mfs, const std::ve... |
5f153a1718b8b220464a18312ed6029c3a5ffdb2 | b18adf09556fa66a9db188684c69ea48849bb01b | /Elsov/SkyFrame/HardwareTest/Tranceiver.cpp | 42dc18a4f4aadbdc2093914196d845c5312d0c5e | [] | no_license | zzfd97/projects | d78e3fa6418db1a5a2580edcaef1f2e197d5bf8c | f8e7ceae143317d9e8461f3de8cfccdd7627c3ee | refs/heads/master | 2022-01-12T19:56:48.014510 | 2019-04-05T05:30:31 | 2019-04-05T05:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | Tranceiver.cpp | #include "stdafx.h"
#include "Tranceiver.h"
CTranceiver::CTranceiver()
{
}
// virtual
CTranceiver::~CTranceiver()
{
}
|
310bbf800e06d1315f505a04f2b43f694f947ecf | efc39e68b3e7f588cebe247a485013c84624ff55 | /plugins/mmstd/include/mmstd/light/CallLight.h | 607fec1f3171fd6111def7dcfb7b8ed50c9ecf2f | [
"BSD-3-Clause"
] | permissive | invor/megamol | 5d913a6ed5f8315f15c938f6494da84ac5093ece | 36f1061d34e930927cb18ae6b79690fe79d6c0ba | refs/heads/master | 2023-08-04T22:10:56.033868 | 2023-03-20T15:33:49 | 2023-03-20T15:33:49 | 204,038,195 | 2 | 0 | BSD-3-Clause | 2022-10-10T16:59:40 | 2019-08-23T16:58:27 | C++ | UTF-8 | C++ | false | false | 726 | h | CallLight.h | /**
* MegaMol
* Copyright (c) 2017, MegaMol Dev Team
* All rights reserved.
*/
#pragma once
#include "mmcore/factories/CallAutoDescription.h"
#include "mmstd/generic/CallGeneric.h"
#include "LightCollection.h"
namespace megamol::core::view::light {
class CallLight : public core::GenericVersionedCall<LightColle... |
f7b0bfd0bc2dbb646e72567ca381d1839400b917 | 1d47ac9e74008601804ba050bfca4a8a36d596d1 | /IP_Documentation/IPtask/GoalTrack.cpp | e78a2d1ae698639109b3ff0e4da2496942e7f35b | [
"BSD-3-Clause"
] | permissive | g4gekkouga/AUV_Summer_2019 | 4d1a21b54def008f0792fe80337e2e8f6939ea84 | 558cc3337a8c369c245dcaa551b02d81e5a4bfd3 | refs/heads/master | 2020-05-18T22:53:59.307377 | 2019-11-15T22:51:56 | 2019-11-15T22:51:56 | 184,700,012 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 8,140 | cpp | GoalTrack.cpp | #include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/video/video.hpp>
#include <opencv2/video/tracking.hpp>
#include <iostream>
#include <vector>
using namespace std;
using namespace cv;
#define Max_H_Black 60
int main()
{
... |
296a8f4b4d9131f947264c7a1edba0b477308075 | 6e90b0e4b74be26c3f196227b803d6daff57805f | /etude/memory/construct.hpp | 04e034c09ade64bb4a7ce06ed645f58dd1b7fb11 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | gintenlabo/etude | 52472b652004383c76089f5145a7cab350b6eb05 | c9e9db5cce72d560a50b1ab27a0ee675a725aefa | refs/heads/master | 2016-09-07T19:08:57.455833 | 2013-08-09T09:54:51 | 2013-08-09T09:54:51 | 1,121,611 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,488 | hpp | construct.hpp | //
// construct:
// オブジェクトを構築します。
//
// ::new(p) T(...) のスマートポインタ版です。
// 生ポインタを直接扱うよりは少しはマシになります。
//
// Copyright (C) 2010-11 Takaya Saito (SubaruG)
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
//
#ifndef ETUDE_MEMORY_INCLUDED_CONSTRUCT_HPP... |
4d86d97e9af4a7dbecb99b72f836a70d6f2ca088 | 093010dd152dafcc3abe72acb54f7180554951bf | /ceng213/hw3/hw3.h | fb9e666601fdf9b726b995b7310cb2f1a3338edf | [] | no_license | scnepate/homeworks | 612ce563ebe5ea32dd02932806ecdf44527246da | e597f07db7e2e0c7b85024db70df716e471a4b24 | refs/heads/master | 2020-05-27T17:04:37.979629 | 2019-05-26T17:59:34 | 2019-05-26T17:59:34 | 188,711,239 | 0 | 0 | null | 2019-05-26T17:39:55 | 2019-05-26T17:14:12 | null | UTF-8 | C++ | false | false | 1,880 | h | hw3.h | #ifndef _HW3_H
#define _HW3_H
#include <iostream>
#include <string>
#include <vector>
#include <utility> // use just for std::pair< >
#include <fstream>
#define MAX_LOAD_FACTOR 0.65
#define EMPTY (std::string("EMPTY"))
#define DELETED (std::string("DELETED"))
#define which_table (a) (a)
class AccessCo... |
926fc5e04fbb2469b91f5b27d80ec882a20838da | eeddea04cc4a615a4e75f52f638c5f47621dc100 | /foundations/cpp/4/bmimetric.cpp | d7cdcd69eb0d8ecbabb7209295ade62cbb4ce1ce | [] | no_license | pernilongo/NYU | 27abd08772fb7c9642b330ac5c00b487aa0163a7 | 704373c5007f75939c4dd4067e250a1e917934cd | refs/heads/main | 2023-06-14T17:57:35.540866 | 2021-07-14T01:06:14 | 2021-07-14T01:06:14 | 328,179,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | bmimetric.cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main()
{
double weight, height;
cout << "Please enter weight in kilograms: ";
cin >> weight;
cout << "Please enter height in meters: ";
cin >> height;
double bmi = weight / (height * height);
cout << std::fixed << std::setprecision(2)
<< "BMI is:... |
af96bcc8b5be2e095aed3c345e281a0abf94cca2 | 8ec9319e221bcf4b46d3f23e48c78158c6150a18 | /C++/Searching/linear_search.cpp | c41932983140a12b0bf5f6272411d8459b9a5404 | [
"MIT"
] | permissive | coding-freak456/algorithmsUse | 40cf901e217cd45412f06b29b4c37a5f1e2fb27a | a98b7f8fa763ddfc51e43da89364be2f0a70fbd7 | refs/heads/master | 2023-01-04T19:21:14.722036 | 2020-11-01T11:45:16 | 2020-11-01T11:45:16 | 305,447,173 | 0 | 1 | MIT | 2020-11-01T11:45:17 | 2020-10-19T16:31:26 | C++ | UTF-8 | C++ | false | false | 557 | cpp | linear_search.cpp | #include <bits/stdc++.h>
using namespace std;
int linearSearch(int arr[], int n, int key) {
for (int i = 0;i < n;i++)
if (arr[i] == key)return i;
return -1;
}
int main() {
int n;cin >> n;//size of the array
int arr[100005];
for (int i = 0;i < n;i++)cin >> arr[i];//taking input inside the array
i... |
afa70cc73d8987cf69ae2d820889d4c087c34198 | e796cc676bc725a952aa6e0b2c2f22547035d2a3 | /CListTest/ChildView.h | 1be298569de1694681138c368a398dd46299a238 | [] | no_license | pivant/MFC-PAINT-ETC-WIP2 | 56db016e4f3af33150312902841766fb4cb67f42 | a0bde116637b55d450a3b429f1ddc90fb5f884b5 | refs/heads/master | 2021-01-21T10:25:14.159962 | 2017-05-18T12:06:52 | 2017-05-18T12:06:52 | 91,688,326 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,181 | h | ChildView.h | // ChildView.h : CChildView 클래스의 인터페이스
//
#pragma once
// CChildView 창
class CChildView : public CWnd
{
// 생성입니다.
public:
CChildView();
// 특성입니다.
public:
CList <CPoint> m_pt;
CPoint m_st;
CPoint m_ed;
bool m_RButton;
COLORREF colorchange;
int elre;
// 작업입니다.
public:
// 재정의입니다.
protected:
virtual BOO... |
ab674a7535f5fe16e541d9e0e3e89588c1120880 | d77eb9e88e5402d7e4dcf1d5bbd3df8f222bdf13 | /P2_2_Contoh2(Soal 2).cpp | de5b558b947ae1cf753ff6a4710f813591c4c52c | [] | no_license | sanhaji182/ap1 | 3f9a3c78a09a7d55634cc8673e05b94d7f416b37 | 760835dcebf692a3cd0b95f9ff222063df4b900a | refs/heads/master | 2021-01-10T03:57:42.002285 | 2016-03-22T08:04:36 | 2016-03-22T08:04:36 | 53,387,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | P2_2_Contoh2(Soal 2).cpp | #include <iostream>
using namespace std;
int main()
{
int a,b,c,d;
int r=10;
int s;
a=5;
b=600;
c=5;
d=b*b-4*a*c;
s=10+r++;
cout << "d = "<<d<<'\n';
cout << "r = "<<r<<'\n';
cout << "s = "<<s<<'\n';
r=10;
s=10 + ++r;
cout << "r = "<<r<<'\... |
785d72ec66e2a631ad05e6b56f7911d6394a9f8b | 193cacbe89f5b2ef2208ef075dedc1871464f5f4 | /src/api/common/include/exchangepublicapi.hpp | 848034e234e419e186bd517e7245ea9445fe3ff7 | [
"MIT"
] | permissive | sssong81/coincenter | 6c867fc39d9b096bafb71a9cb41295ed76dd29f5 | 5f46b89af3a10c4a85a1fe6d3cbda950b7b3c949 | refs/heads/master | 2023-04-22T21:43:08.753950 | 2021-05-05T06:53:20 | 2021-05-06T13:40:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,271 | hpp | exchangepublicapi.hpp | #pragma once
#include <optional>
#include <string>
#include <string_view>
#include <unordered_map>
#include "cachedresultvault.hpp"
#include "cct_flatset.hpp"
#include "cct_vector.hpp"
#include "coincenterinfo.hpp"
#include "currencyexchangeflatset.hpp"
#include "exchangebase.hpp"
#include "market.hpp"
#include "mark... |
a68184289f3d33c59bdddbf67b4f578a7b2689ae | 0ad1e75df68fb14976c79c8921249dcd6e74f967 | /malloc functions.cpp | 90d212c275464bead6abbb32542f1d52cc9b9733 | [] | no_license | variablemayank/competetive-programming-codes | 9010d215832f4937735d6b35b1df35df0f8a59e6 | 71bbc70049089fcc24444471dd4504b1d29c371f | refs/heads/master | 2021-09-06T04:17:29.052221 | 2018-02-02T08:57:56 | 2018-02-02T08:57:56 | 119,955,414 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cpp | malloc functions.cpp | #include<stdio.h>
#include<stdlib.h>
int main()
{
int a;
int *p;
p=(int* )malloc(sizeof(int));
*p=10;
printf("%d\n",*p);
free(p);
p=(int* )calloc(10,sizeof(int));
printf("%d%d\n",p,*p);
return 0;
}
|
08aa8aa0cfbd42439293e56ae2001d977eef8d18 | b5a3fd74b37d2c021eaa0229ddb721151a6527ba | /Code/projet_lo21/gardien.h | 8c634f45b6fc525a3722d44b1be6af5ba823eea4 | [] | no_license | nleleu/LO21-Calculatrice | 7f276c419273fd144ba0ce14349ec35cc9a0e6b3 | 6a3e34be881956cb68be8b11054f257a3fb970fe | refs/heads/master | 2019-01-02T06:32:58.049646 | 2012-06-18T13:49:47 | 2012-06-18T13:49:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | h | gardien.h | #ifndef GARDIEN_H
#define GARDIEN_H
#include <QVector>
#include <QStack>
#include "type.h"
/*!
* \file gardien.h
* \author Le Feurmou/Leleu
*/
/*! \class gardien
* \brief Classe representant un gardien
*
* La classe permet de sauvegarder les etats d'une pile, dans le but de pouvoir les restaurer
* P... |
138059a3005dce0fbc8e76d58a364cc6092bef3e | dd3564f348bf84fd341a7845d419fde6c98dcb1e | /Codility/C++/Lesson07-Stacks and Queues/StoneWall.cpp | eabdb497021e5a14130a2c1f908774bce5a3a3f2 | [] | no_license | YebinKim/Algorithm-Study | af01526b9ad866c573eae194767d11e163d9f329 | 63f994fdf3bc549c5ed159f2fd6a47de4b849442 | refs/heads/main | 2023-05-25T19:22:44.139820 | 2023-05-11T12:03:08 | 2023-05-11T12:03:08 | 204,962,764 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | StoneWall.cpp | //
// StoneWall.cpp
// Lesson07-Stacks and Queues
//
// Created by Yebin Kim on 2019/11/14.
// Copyright © 2019 김예빈. All rights reserved.
//
#include <iostream>
#include <vector>
#include <stack>
using namespace std;
// Time Complexity O(N)
int solution(vector<int> &H) {
int answer = 0;
stack<int> stone;... |
9ee339bcd89c3b6303ef2871157eb34c788cabf6 | fdc73b80d530105308ecfe61691aa3640c14482c | /number_of_unique_bst.cc | 6b9ec7779f10bac3f566760fa9c606f56eb6848d | [] | no_license | aakash1104/leetcode_solutions | d7938d562c29a658fe7e0402c7ef5a6156a4bbb7 | b111dffc8647a32288f76c3369c36ae0f38e7a8f | refs/heads/master | 2023-02-02T14:49:11.295855 | 2020-12-20T23:08:58 | 2020-12-20T23:08:58 | 279,177,873 | 0 | 0 | null | 2020-12-20T22:08:53 | 2020-07-13T01:12:54 | C++ | UTF-8 | C++ | false | false | 318 | cc | number_of_unique_bst.cc | class Solution {
public:
int numTrees(int n) {
vector<int> OPT(n + 1);
// Base case
OPT[0] = OPT[1] = 1;
for (int i = 2; i <= n; i++)
for (int j = 1; j <= i; j++)
OPT[i] += OPT[j - 1] * OPT[i - j];
return OPT[n];
}
};
|
ea7685f46dd7b7b33ef838818e2f930cbfb6cee7 | 585bc2eda0af2b17ed587d416f6e472aa64f9134 | /G1213SHUO/Intermediate/Build/Win64/UE4Editor/Inc/G1213SHUO/G1213SHUOCharacter.generated.h | 7928307c6af81c90de80a680ee1e6aea0809857f | [] | no_license | zSomnus/G1213SHUO | 500d0ffd9005a4f2e980f7b9b4d5a99acc713032 | b31af17c9e745ac891bde85dcec4b879268e4f82 | refs/heads/master | 2020-11-23T22:11:38.068486 | 2019-12-13T15:47:43 | 2019-12-13T15:47:43 | 227,841,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,938 | h | G1213SHUOCharacter.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!
==============================================================... |
8bff2e2d2d7a173ce8889288ca5f5fe410304b9f | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/automation/testing_automation_provider_aura.cc | 95e02c68004aa163c33ca5903e673183acd04d58 | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 966 | cc | testing_automation_provider_aura.cc | // Copyright (c) 2012 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 "chrome/browser/automation/testing_automation_provider.h"
#include "base/logging.h"
#include "chrome/browser/automation/automation_window_tr... |
ece03b3345a859d9e5ca2b649d33757f3a5d43d1 | ac0642759c121158cbf00e2c8b08530b03337260 | /src/PdnPinDumper/src/db/obj/frTrackPattern.h | 8ce50f5bc863ff234010ac8774291a9caa14287b | [
"BSD-3-Clause",
"Apache-2.0",
"LicenseRef-scancode-unknown",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ax3ghazy/pdn | 6dc1c594bc47be701b51cde24c812050586cfac0 | a53aaf9620654fc799227f2f48d61eceb0322b36 | refs/heads/master | 2020-11-27T03:21:44.720248 | 2019-10-24T13:11:53 | 2019-10-24T13:11:53 | 229,285,794 | 0 | 0 | BSD-3-Clause | 2019-12-20T15:06:52 | 2019-12-20T15:06:51 | null | UTF-8 | C++ | false | false | 3,410 | h | frTrackPattern.h | /* Authors: Lutong Wang and Bangqi Xu */
/*
* Copyright (c) 2019, The Regents of the University of California
* 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 sour... |
874f68a2b455ac723192898c2256575e620a6a08 | ff13c255737ff4df265d84177ff110e9a3888b9a | /SEC/svrctrlpage.cpp | 18469009ecae53873bae64d296e690ffc5704b4d | [] | no_license | liuyufeng509/SecCenter | ef651ba85c10841faeede83bf357c823ce266231 | 84e11cc3a13d256880ca0ac52f39fc85aa4c146e | refs/heads/master | 2021-01-19T20:27:14.402515 | 2017-07-27T01:23:05 | 2017-07-27T01:23:05 | 83,753,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,972 | cpp | svrctrlpage.cpp | #include "svrctrlpage.h"
#include "ui_svrctrlpage.h"
SvrCtrlPage::SvrCtrlPage(QWidget *parent) :
QWidget(parent),
ui(new Ui::SvrCtrlPage)
{
ui->setupUi(this);
isRmOpen = false;
isBibaOpen = false;
updateUI();
}
void SvrCtrlPage::getHtmlStr(QString labelStr, QString color, QString status)
{
... |
077f8c8894816c30b9c2497767ce6de3d2b69569 | 2c7d32507822cb8fb38377f36476ccb3f25db0ab | /P/acmp/Решение олимпиадных задач/5. C++ STL/Коммерческий калькулятор.cpp | 97f292592edd0a7e8eb435d87b08d29885a4e590 | [] | no_license | heavenlybilly/olympiad | 00bdfb46b1ac462e6cf188ae1421edba3242b065 | 7014ef1d4e8942e9db92a5f8a4c7582ce9f79678 | refs/heads/master | 2023-07-07T11:21:31.505516 | 2021-08-11T18:12:50 | 2021-08-11T18:12:50 | 395,076,879 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | cpp | Коммерческий калькулятор.cpp | /*
* ------------ КОММЕРЧЕСКИЙ КАЛЬКУЛЯТОР ------------
& структуры данных
~ prioity_queue
? нужно перебирать все пары чисел так, чтобы текущие два числа были самыми маленькми из имеющихся. Результат их суммы нужно добавлять в очередь с приоритетом, куда ранее добавили числа из исходных данных.
? нельзя использовать д... |
6d8fe06483f6883cb80cff65b125bcd10b92160a | f381783123883376065bfbfdf46cf28e7dadaf3d | /April Long Contest 2020/SQRDSUB.cpp | dab305acda5b57b410ad626dab541c3d2e7ced77 | [] | no_license | Bomma-Pranay/My-CodeChef-Solutions | c29d5e6fb5a9843f905bccdc1b5b340afa6a0a1f | 2f7b95ea2ffed5d7b50253feb11de09fe9b68aa3 | refs/heads/master | 2022-12-07T16:56:03.908261 | 2020-08-09T11:02:05 | 2020-08-09T11:02:05 | 255,638,168 | 0 | 1 | null | 2020-08-28T06:54:00 | 2020-04-14T14:50:30 | Python | UTF-8 | C++ | false | false | 2,213 | cpp | SQRDSUB.cpp | Problem link : https://www.codechef.com/APRIL20B/problems/SQRDSUB
/*
Let's call a sequence of integers good if the product of its elements can be represented as a difference of squares of two integers. More formally, a sequence S1,S2,…,SK is good if it is possible to find two integers p and q such that S1⋅S2⋅…⋅SK=p2−q2... |
8e0c14c7f2d6992b819335dcec26b5c0ba5878d2 | 265f2c427126a18f6fe7a72e3ffc4683888e4330 | /AUPinkNoise/PublicUtility/CAHostTimeBase.h | d456f8bb07e3ab026bcd6ca726d7407d5d865da0 | [] | no_license | ocrickard/CocoaSampleCode | 39d05f36c58918d89958df4f2b1c8116c141a7d5 | f81bc9e391368dc8c34e762dd45e59f329a4d4f7 | refs/heads/master | 2021-01-15T17:56:17.895338 | 2013-04-16T09:57:24 | 2013-04-16T09:57:24 | 11,711,657 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,912 | h | CAHostTimeBase.h | /*
<codex>
<abstract>Part of CoreAudio Utility Classes</abstract>
<\codex>
*/
#if !defined(__CAHostTimeBase_h__)
#define __CAHostTimeBase_h__
//=============================================================================
// Includes
//=============================================================================
... |
4945cd065bb950461d9891729813b4b7846cf3ca | ef5741834d960cd3930b42f32e187dece4fbf71f | /include/o3d/gui/guitype.h | 12d75705c37549621d781b25f2ed88692ec12d97 | [] | no_license | dream-overflow/o3d | d893db752166c6e96f0886646643ae696b8a2af1 | 988956aae32a3956b314e1488385bb51c4409387 | refs/heads/master | 2023-06-22T03:12:20.291006 | 2023-06-08T20:56:08 | 2023-06-08T20:56:08 | 174,154,406 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,836 | h | guitype.h | /**
* @file guitype.h
* @brief Enumerations for GUI.
* @author Frederic SCHERMA (frederic.scherma@dreamoverflow.org)
* @date 2012-12-15
* @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved.
* @details
*/
#ifndef _O3D_GUI_TYPE_H
#define _O3D_GUI_TYPE_H
namespace o3d {
enum GuiObjectType
{
... |
0b65a3b9848de286a0c06ea5c35ba5a604e294b5 | 8eee08d3ea5f41ed1443c298c37085d17a50f5a2 | /main/main.ino | 1701d23ae907d77152061610f26eba8c074698e3 | [] | no_license | jmancillavalenzuela/IotGoogleMqtt-Test | d0b7026d9f06028f26774a7c431001b2691a3363 | a6289d4146e04527c2e604923c38951136ee2271 | refs/heads/master | 2023-04-20T14:06:16.848853 | 2021-05-11T14:10:24 | 2021-05-11T14:10:24 | 357,344,169 | 0 | 1 | null | 2021-04-14T13:31:09 | 2021-04-12T21:28:53 | HTML | UTF-8 | C++ | false | false | 1,301 | ino | main.ino | #include "esp32-mqtt.h"
String device_name;
double temp_shower;
double temp_hot_shower;
double temp_out_shower;
double temp_pump;
double flux_hot_pump;
double flux_out_pump;
double flux_pump;
double battery_shower;
int state_shower;
int state_pump;
double latitude;
double longitude;
void setup() {
// put your setup ... |
441403e76180e7430fc8fbe4482a9d6fc37c480b | 4c626c943b6af56524c6599b64451722ee2e9629 | /aep_model/model/checkers/checkers_builders/aep_model_ovl_always_checker_builder.hpp | e6b2ed4797861f8ba452cce4a7f4c72fe2d62bb9 | [] | no_license | kirillPshenychnyi/AEP | 96cec51a4c579b2430b8c93cace5e25003c64219 | 07d9f3deb47514043a8a1cb0c5ff6091737c3d47 | refs/heads/master | 2018-08-31T16:59:08.415648 | 2018-06-10T22:21:04 | 2018-06-10T22:21:04 | 117,731,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | hpp | aep_model_ovl_always_checker_builder.hpp | #ifndef __AEP_MODEL_OVL_ALWAYS_CHECKER_BUILDER_IMPL_HPP__
#define __AEP_MODEL_OVL_ALWAYS_CHECKER_BUILDER_IMPL_HPP__
/***************************************************************************/
#include "aep_model\api\checkers\ovl\checker_builders\aep_model_always_checker_builder.hpp"
#include "aep_model\model\check... |
e5a55f62ad0d027bc323284ce7071ccf08920278 | addf0c6ff509bdf89174a9dbebcd2f1b256ac50d | /lesson4/6p3e_shared_pointer3.cpp | b18fa520f0a9a7958be7f7a643e6784a64d27e96 | [] | no_license | fabdonati/cppUdacityND | c004dd9701a058e9da277d09378444362fb70aa8 | 6c481a2cdb98e22e66740438ecdc57adc0243b27 | refs/heads/master | 2022-04-24T11:22:12.766542 | 2020-04-26T16:42:55 | 2020-04-26T16:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | 6p3e_shared_pointer3.cpp | // this is a case of circular reference (the counter never goes to 0)
#include <iostream>
#include <string>
#include <memory>
class MyClass {
std::string _text;
public:
std::shared_ptr<MyClass> _member;
~MyClass() {std::cout << "destructor called" << std::endl;}
};
int main() {
std::shared_ptr<MyClass... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.