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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9d1c7e8bfffd4b40d95973e589a8b696becd8806 | 6d34ff39c44b23831639ff60f7c0a9ba24e80372 | /Class_Assignments/Assignment1/C2Q1_Array_Struct.cpp | 5c852306236abbda5d9aaaa7e3108e16ee77ee09 | [] | no_license | eneskemalergin/Programming-Languages | 8bef08707d63a741a1f0b735de8945aca79460d5 | 1ada6de001e503a87cb2f8333dc7952a686daaa3 | refs/heads/master | 2021-01-01T05:53:44.654020 | 2015-12-13T01:58:22 | 2015-12-13T01:58:22 | 41,777,117 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | C2Q1_Array_Struct.cpp | /* To understand the value of records in a programming language,
* write a small program in a C-based language that uses
* an array of structs that store student information, including name,
* age, GPA as a float, and grade level as a string
* (e.g., “freshmen,” etc.).
*/
/* Author: Enes Kemal Ergin
* Assignment... |
2a7ceb8c8509bbbb1203599d7f3751ed7aad8ffc | 09f4740e2aec22c02b6ec13dbce2ba2ad30fc1e0 | /src/NOKIA5110_TEXT.h | 5073778b49787935b400cd10cb95cf44a6cf230a | [] | no_license | WGR7/NOKIA5110_TEXT | 24a0183c41d0458da7d95e365305b89594dc3e62 | fc8feb2340e660915937a9e7d3de51edaaaf0eb0 | refs/heads/master | 2022-04-02T12:21:24.864676 | 2020-02-08T16:41:22 | 2020-02-08T16:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,495 | h | NOKIA5110_TEXT.h | /*
* Project Name: NOKIA5110_TEXT
* File: NOKIA5110_TEXT.h
* Description: Nokia library header file
* Author: Gavin Lyons.
* URL: https://github.com/gavinlyonsrepo/NOKIA5110_TEXT
*/
#ifndef NOKIA5110_TEXT_H
#define NOKIA5110_TEXT_H
#if (ARDUINO >=100)
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
// ***... |
f5a23b0db3d145c20b5dcfe1e52f37aa8c67a724 | f87302e58193507abafaef92efe2b3363135af83 | /libs/model/include/model/analysis/dominator.hpp | 31ec19dc4ea11c76f0274330240e5fa0fa5dca10 | [] | no_license | dannybpoulsen/minimc | 7ccbb7a3ea9d73825db8730f2b04e92f967a7993 | e496b903866a93436f561834e375197b68e16511 | refs/heads/master | 2023-09-05T19:22:44.325477 | 2023-08-10T18:49:44 | 2023-08-10T18:49:44 | 252,640,133 | 8 | 1 | null | 2023-04-20T09:44:47 | 2020-04-03T05:26:04 | C++ | UTF-8 | C++ | false | false | 1,315 | hpp | dominator.hpp | #ifndef _DOMINATOR_ANALYSIS_MANAGER__
#define _DOMINATOR_ANALYSIS_MANAGER__
#include <algorithm>
#include <memory>
#include <set>
#include <unordered_map>
#include <vector>
#include "model/cfg.hpp"
namespace MiniMC {
namespace Model {
namespace Analysis {
template <class T>
class DominatorInfo {
... |
2e7d0f8e632cfca6acf73f8f918f15aa8a4a3d81 | f0c170e7daa0fdc2abec2eb6ff1b672d0f812f7b | /code/03 Demo/MyAdoDemo1/Config.h | f650287741066c5ff953fac6432ef079287200a1 | [] | no_license | mqd520/CPlusPlusLib | 88dc22aa92e4a41ac83c0f123ff1a9c94938308e | 2ec726db5397d78d7c261ce3b4b51227a7571e66 | refs/heads/master | 2020-09-10T01:08:31.051065 | 2019-11-30T21:33:51 | 2019-11-30T21:33:51 | 221,612,262 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 684 | h | Config.h | #pragma once
#include <vector>
using namespace std;
#include "Def.h"
// Config
class Config
{
public:
Config();
protected:
vector<XmlSqlInfo> vecSqlInfos; // Sql info list
public:
bool bMultiThread; // Whether multi thread
int nSqlTaskThreadTime; // Sql task thread time
AdoThreadInfo adoThreadInfo; /... |
55876dfdfaad731d0075861382e3ad184f861f41 | 93dbd845aadb47433778372b0514b785ec4aede5 | /flight_controller/flight_controller.ino | 20c8af5c52c8824b24d464fb93af91439b567548 | [] | no_license | Egor18/diy_fpv_plane | f25b73cc97520d46c97c56f20c4106c82a7770d0 | e705768888b9d93f540cedbaae8b0b8135f91506 | refs/heads/master | 2020-03-28T08:16:18.346719 | 2018-10-08T17:17:25 | 2018-10-08T17:17:25 | 147,955,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,390 | ino | flight_controller.ino | #include <Servo.h>
#include "I2C.h"
#define BAUD_RATE 57600
enum Channel
{
ELEVATOR = 0,
RUDDER = 1,
AILERON = 2,
THROTTLE = 3,
CAMERA = 4,
OSD = 5
};
#define OSD_WIRE_ADDR 0x08
enum OSDCommand
{
OSD_OFF = 51,
OSD_ON = 52,
DIM_OFF = 53,
DIM_ON = 54,
ERR_INC = 55,
ERR_DE... |
0af48c1217a880ed826143bed70a758740c3d2b4 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/12_14872_25.cpp | 96d2c3c906b60309559cf2cca45d7895f5265962 | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,309 | cpp | 12_14872_25.cpp | #define __DEBUG
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
using namespace std;
const int keyIndex[] = {97, 100, 103, 106, 109, 112, 116, 119};
ifstream inputFile;
ofstream outputFile;
void OpenInputFile(char* filename);
void Op... |
cf839a82f0b2b70a4acf8f2cefdbbd879eb812b2 | d618f171a639311de598850d80a0422610dace80 | /LogitechSteeringWheelSDK_8.75.30/Samples/SteeringWheelSDKSimple/SteeringWheelSDKSimple/SteeringWheelSDKSimpleDlg.cpp | c9123b452ab05d0c51a191f9e610f68e492629f9 | [] | no_license | tongji-cdi/driving-simulator | 0cb09206dfb4da30081de2094165f3dc80b36dd1 | a5d9beb114abff1484674d0e5a5b17802b4b6cf2 | refs/heads/main | 2023-08-28T01:57:33.194866 | 2021-10-19T07:29:08 | 2021-10-19T07:29:08 | 412,952,748 | 1 | 2 | null | 2021-10-19T07:29:09 | 2021-10-03T01:55:44 | C# | UTF-8 | C++ | false | false | 35,625 | cpp | SteeringWheelSDKSimpleDlg.cpp |
// DemoWheelSimpleDlg.cpp : implementation file
//
#include "stdafx.h"
#include "SteeringWheelSDKSimple.h"
#include "SteeringWheelSDKSimpleDlg.h"
#include "afxdialogex.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
CSteeringWheelSimpleDlg::CSteeringWheelSimpleDlg(CWnd* pParent /*=NULL*/)
: CDialogEx(CSteeringWheelS... |
cb0e0dda3b58e61a3ccd748633991e3c21664a6f | 4fcccffe897b192779d638ff5b3e36051d605209 | /TheGestion/theacceuil.cpp | e74d8d08eb6e6540456e2b570e624f49a813f37a | [] | no_license | Celerier/ProjetAppliCpoo | ff8c46dd53fe5437678c890e6eac4ab7d0e822b6 | 288eb2ef90b388aa4dbfb34e4c41df763d05b827 | refs/heads/master | 2020-03-19T13:38:53.586164 | 2018-06-08T08:19:55 | 2018-06-08T08:19:55 | 136,588,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,937 | cpp | theacceuil.cpp | #include "theacceuil.h"
#include "thegeneral.h"
#include "thechoose.h"
#include <QtSql>
#include <QSqlDatabase>
#include <iostream>
#include <QString>
#include <QMainWindow>
#include <QtCore>
#include <QPrinter>
#include <QPdfWriter>
#include <QPainter>
TheAcceuil::TheAcceuil() : QMainWindow()
{
zoneCentrale = new... |
f3bc0f46695a5464a9d8c7f4beac58253e26fec2 | 2d1acb7958a4b551929fe39217ee2fe87859a045 | /net_test/httpserver.cpp | 0af102affe632e79c8db1f925cc72fc01e34515c | [] | no_license | zz198808/tbnet | 7b3ac920a4e205e7970d7610d5998bdb0a2f313f | 73234830f1139bbeb7bb4616d8d7766d4a05d59e | refs/heads/master | 2021-01-20T10:32:40.974795 | 2016-11-28T10:07:41 | 2016-11-28T10:07:41 | 75,140,300 | 1 | 0 | null | 2016-11-30T01:53:38 | 2016-11-30T01:53:38 | null | UTF-8 | C++ | false | false | 2,405 | cpp | httpserver.cpp | /*
* (C) 2007-2010 Taobao Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*
* Version: $Id$
*
* Authors:
* duolong <duolong@taobao.com>
*
*/
#include "tbnet.h"... |
68698e3899a9c1f65eefe0aeb4c81791590e5d23 | bb5ae0c5f2fcc917d5c95f5f0886d262d8f55021 | /Source/TheTree/Public/10.Level/TTCommonBattleLevel.h | eff57fd2efadb49d489d3420fce33033c7ad0b64 | [] | no_license | doyoulikerock/TheTree | efa2f634a17826cd78c04647f2d2d4030030e7e7 | fc0d08bb1944a4f3355d6af5db949dd46442d053 | refs/heads/master | 2023-03-19T07:43:35.695149 | 2020-08-25T11:19:37 | 2020-08-25T11:19:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | h | TTCommonBattleLevel.h | #pragma once
#include "TTBaseLevel.h"
#include "TTCommonBattleLevel.generated.h"
UCLASS()
class THETREE_API ATTCommonBattleLevel : public ATTBaseLevel
{
GENERATED_BODY()
private:
void ClearEvents();
public:
ATTCommonBattleLevel();
};
|
be7649ff3e4fabd058e59260d35a13cf7838387f | cffbc9b2dcb4f50719148e8c8798279500d8ac2a | /main.cpp | 8a033858280ecfb86eacecd07e15d0495bb12526 | [] | no_license | sllujaan/stack_cpp | 9c5e341637e2172e9199ebf5216cba458a8914de | 035641945b39b533a40689bc5f5f663fa033638d | refs/heads/master | 2022-06-18T09:58:04.802077 | 2020-05-12T12:48:59 | 2020-05-12T12:48:59 | 263,326,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | cpp | main.cpp | using namespace std;
#include<iostream>
#include"STACK.h"
int main(int argc, char *argv[]) {
int arr[] = {5, 6, 7};
int len = sizeof(arr) / sizeof(*arr);
//STACK<int> _stack;
try{
//STACK<int, 5> _stack = arr;
//print(_stack);
STACK<int, 5> _stack = 1;
_stack.push(2);
_stack.push(3);
int poped... |
9d6709d8ce249c2c43d081de2d3cda508c5be3bf | 81361fbb260f3a43f2dfd05474c1bb06c5160d9c | /CodeChef/2014 July Challange/RETPO Reach The Point.cpp | fab8e8ef78dcf97cd4e10a4d00b6f86fdfabb0ee | [] | no_license | enamcse/ACM-Programming-Codes | 9307a22aafb0be6d8f64920e46144f2f813c493a | 70b57c35ec551eae6322959857b3ac37bcf615fa | refs/heads/master | 2022-10-09T19:35:54.894241 | 2022-09-30T01:26:24 | 2022-09-30T01:26:24 | 33,211,745 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | cpp | RETPO Reach The Point.cpp | //#include <bits/stdc++.h>
//#define _ ios_base::sync_with_stdio(0);cin.tie(0);
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <queue>
#include <vector>
#include <algorithm>
#include <cctype>
#include <fstream>
#include <map>
#include <list>
#include ... |
0b268d3e2f3fc4b360d0c6a8cfae0ceb40cd1831 | 293c244b17524210780b4fcb644c03d5cd6f1729 | /src/bugengine/introspect/src/dbcontext.cc | 4cf5103d040508a64c0758951848fb9c4c29a1b6 | [
"BSD-3-Clause"
] | permissive | bugengine/BugEngine | 380c0aee8ba48a07e5b820877352f922cbba0a21 | 1b3831d494ee06b0bd74a8227c939dd774b91226 | refs/heads/master | 2021-08-08T00:20:11.200535 | 2021-07-31T13:53:24 | 2021-07-31T13:53:24 | 20,094,089 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,118 | cc | dbcontext.cc | /* BugEngine <bugengine.devel@gmail.com>
see LICENSE for detail */
#include <bugengine/introspect/stdafx.h>
#include <bugengine/introspect/dbcontext.hh>
namespace BugEngine { namespace Meta { namespace AST {
DbContext::DbContext(minitl::Allocator& arena, ref< Folder > rootFolder)
: rootNamespace(ref< Namespac... |
eff364f65a4cb4d9b3a01b7f3ec83d3cc075c676 | e6c35a12e6bae5b1ac3a7583365e657c516f74a5 | /Comm/source/IpMaps.cpp | 2d1dba26593775fa6a1cecf85179588362b9f9d7 | [] | no_license | radtek/zephyr-server | 1675f7693c8b19ad59eb98b942bab1372efdc10e | 44b7faf06bb3ce6cc3736cce9011234d0e705443 | refs/heads/master | 2020-06-08T11:45:43.412677 | 2019-04-19T14:40:10 | 2019-04-19T14:40:10 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,947 | cpp | IpMaps.cpp | #include "IpMaps.h"
#ifdef _WIN32
#include "winsock2.h"
#endif
#include "stdio.h"
#include "SettingFile.h"
#include "SysMacros.h"
namespace Zephyr
{
CIpMap::CIpMap()
{
m_nrOfNodes = 0;
m_nrOfVirtualIp = 0;
m_localNodeId = 0;
m_localVirtualIp = 0;
m_pVirtualIps = NULL;
m_pRoutes = NULL;
m_nN... |
a7d6debbf55761c35fa55b9cd5785cb9f1600ae9 | 7cc03603e365c30a3b751498775a0b8a10d58456 | /tests/Utilities/ConnEx/ConnEx.cpp | 4d83e571c0a6b194215d13c25e201401f85ba05c | [
"MIT"
] | permissive | wes-b/Azure-Kinect-Sensor-SDK-1 | f079358c4cecc598741251016a008d368d96a552 | cd55fd4b5aac4a26ca8918fc79550f3d5752d084 | refs/heads/develop | 2020-05-23T19:22:09.653115 | 2019-05-15T22:06:11 | 2019-05-15T22:06:11 | 186,911,034 | 4 | 1 | MIT | 2020-02-05T17:09:58 | 2019-05-15T22:26:28 | C++ | UTF-8 | C++ | false | false | 7,525 | cpp | ConnEx.cpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "ConnEx.h"
#define VC_EXTRALEAN
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <stdio.h>
#include <k4ainternal/logging.h>
#define CONNEX_CMD_PORT "port"
#define CONNEX_CMD_VOLTS "volts"
#define CONNEX... |
7cc92f1a2839ddfa7add178be89cff8a6bab0e61 | 23ec6adce704bff40d04cd6fc0ba446375405b68 | /September_Leetcode_Challenge/repeated_substring_pattern-3.cpp | 83edaf19ae55770e64367299a92c675830e206ee | [] | no_license | amoghrajesh/Coding | 1845be9ea8df2d13d2a21ebef9ee6de750c8831d | a7dc41a4963f97dfb62ee4b1cab5ed80043cfdef | refs/heads/master | 2023-08-31T10:10:48.948129 | 2023-08-30T15:04:02 | 2023-08-30T15:04:02 | 267,779,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | repeated_substring_pattern-3.cpp | class Solution {
public:
bool repeatedSubstringPattern(string s) {
int n = s.size();
for(int i = n / 2; i > 0; i--){
if(n % i == 0){
int reps = n / i;
string r = s.substr(0, i);
string x = r;
for(int j = 0; j < reps - 1; j++... |
ab09102cb6a91c497809b9ef69fba6d118d9d9a9 | 472126e884b0061d7d700a8422e27f1a9b4fae48 | /zlink/zlink_inner.h | f2f93bc7c63b9303ad7921eca196a57d8ae9e7f8 | [] | no_license | shizhongNice/udt-link | 9f1f7c216c4e4f1a5c21eb584037f19ac55c51ea | bfd4f29643baa2e26c80b6b2766c97b7515ff62b | refs/heads/main | 2022-12-19T11:02:18.367648 | 2020-09-29T07:16:11 | 2020-09-29T07:16:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,404 | h | zlink_inner.h | #ifndef ZLINK_INNER_H
#define ZLINK_INNER_H
#include "ZLink.h"
#include "udt.h"
#include "utils.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include <map>
using namespace std;
#define CLIENT_SESSION_ID (... |
e1bae0ea61d5a9c15bff415caf856f9b16507aec | 63a75aa5ff831440062cf7710c8e2d29b5a104a3 | /A4D/Engine/CameraMove.cpp | dfeb9ae8ff2806b05ae2c6ed00eca16483b2fda3 | [
"MIT"
] | permissive | 365082218/A4D | f544db96cb808287e70dc54824877f264c4f4b2e | 4c34c53c5cc0eeaaffface9f60ed114b8388c2c0 | refs/heads/master | 2020-11-27T11:50:19.753133 | 2020-01-06T03:55:28 | 2020-01-06T03:55:28 | 229,427,023 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 1,926 | cpp | CameraMove.cpp | #include "stdafx.h"
#include "CameraMove.h"
#include <QtGui/qevent.h>
#include <d3d9.h>
#include <d3dx9tex.h>
#include "Pool.h"
#include "Time.h"
#include "GameObject.h"
#include "Transform.h"
//摄像机控制脚本
REGISTER_CLASS(CameraMove)
CameraMove::CameraMove()
{
intensity = 5;
}
CameraMove::~CameraMove()
{
}
void Came... |
88000efdbaa6e9d28586e2ef1ceb20e54785099d | 4b691575edf0eff7d0c85f79da9b4c89b94cbf2b | /Final/Demo/Include/Resource.h | da08d149021d2ac93002a1c57e67094144d0a631 | [] | no_license | Ikutzu/ZzZ--engine | bf7c421d4960766c8d43acfc943f7aa3ff2a6bf3 | 5be359fb87a8ede679fa1e8fae8e501d4c08f2fb | refs/heads/master | 2020-05-29T15:20:35.341969 | 2014-12-12T10:43:48 | 2014-12-12T10:43:48 | 23,692,668 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | Resource.h | #pragma once
#include <string>
namespace ZZZ
{
class Resource
{
public:
Resource();
Resource(std::string fn);
~Resource();
std::string getFileName();
virtual std::string getFullPath() = 0;
protected:
std::string fileName;
};
}
|
c5efc54597f45a352d349cc5fb7ed57bc3dd1f24 | 5052cec0f5a138914a2b1d807e706f9406e63b25 | /xcode/src/GuiObjects/NavigationBarObject.h | 83d1d005916025f4014c9e53c618f5333b5ce0a9 | [] | no_license | prudolph/cinder_gui_interface | 486626db8c695d22ce9dde3fdd4fc4290be6db88 | fc73e7cc01453d9f423848afb64f71ed63c812d8 | refs/heads/master | 2021-01-01T18:02:09.501418 | 2013-07-23T19:38:33 | 2013-07-23T19:38:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | h | NavigationBarObject.h | //
// NavigationBarObject.h
// guiObjects
//
// Created by Paul Rudolph on 7/10/13.
//
//
#pragma once
#include "NavigationObject.h"
#include <map>
using namespace std;
class NavigationBarObject:public GuiObject{
public:
NavigationBarObject();
void setup(Rectf containerRect, boost::function<void(Gui... |
90fe6f8f5ceece6c953a58df764e27cfb63f9817 | c20c4812ac0164c8ec2434e1126c1fdb1a2cc09e | /Source/Source/Client/SO3Client/Test/TestProject/TestSO3Client/KItemNull_Test.cpp | d8bed8bc0371915b2eb4d001a3b1c4f1221960e7 | [
"MIT"
] | permissive | uvbs/FullSource | f8673b02e10c8c749b9b88bf18018a69158e8cb9 | 07601c5f18d243fb478735b7bdcb8955598b9a90 | refs/heads/master | 2020-03-24T03:11:13.148940 | 2018-07-25T18:30:25 | 2018-07-25T18:30:25 | 142,408,505 | 2 | 2 | null | 2018-07-26T07:58:12 | 2018-07-26T07:58:12 | null | GB18030 | C++ | false | false | 13,469 | cpp | KItemNull_Test.cpp | #include "stdafx.h"
#ifdef _UNIT_TEST
#include "KItemNull_Test.h"
#include "../ui/elem/wndstation.h"
CPPUNIT_TEST_SUITE_REGISTRATION(KItemNull_Test);
void KItemNull_Test::setUp()
{
int nRetCode = false;
m_item = NULL;
m_item = UI::KItemNull::Create(m_itemdata);
CPPUNIT_ASSERT(m_item);
nRetCode = UI::KWndSta... |
94cbdb77997dde590f8a1a8c347f33d3202d9712 | 49fa47948e67e2600dcfc72d28e86e24dadd4296 | /Sources/epoch_config/Configs/CfgEpochClient.hpp | 3a26ead9ce4d8f31e2c36d69e4ed2491d6057964 | [] | no_license | MGTDB/Epoch | 5ae1f476ae9d99f94d39cf471d9fc5112666d6ee | ae9d5fd6cd9cf884cc436a2ac5900a20b232e3f2 | refs/heads/release | 2021-05-02T01:24:28.727331 | 2017-01-06T13:24:22 | 2017-01-06T13:24:22 | 78,964,958 | 0 | 0 | null | 2017-01-14T20:31:48 | 2017-01-14T20:31:47 | null | UTF-8 | C++ | false | false | 9,152 | hpp | CfgEpochClient.hpp | /*
Author: Aaron Clark - EpochMod.com
Contributors: Andrew Gregory
Description:
Main Client side configs for the Epoch gamemode
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTea... |
51f37c5266b8b7d4303e57b4e789289050e36785 | d1cf34b4d5280e33ebcf1cd788b470372fdd5a26 | /topcoder/algorithm/4/533.srm409/MagicalSpheres.cc | 0d1d9c082106830eb46dadf18fae43fbf3b8abf6 | [] | no_license | watashi/AlgoSolution | 985916ac511892b7e87f38c9b364069f6b51a0ea | bbbebda189c7e74edb104615f9c493d279e4d186 | refs/heads/master | 2023-08-17T17:25:10.748003 | 2023-08-06T04:34:19 | 2023-08-06T04:34:19 | 2,525,282 | 97 | 32 | null | 2020-10-09T18:52:29 | 2011-10-06T10:40:07 | C++ | UTF-8 | C++ | false | false | 3,116 | cc | MagicalSpheres.cc | #include <algorithm>
#include <iostream>
#include <sstream>
#include <numeric>
#include <string>
#include <utility>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <list>
#include <cstdio>
#include <cstdlib>
#include <cctype>
#include <cmath>
#include <cstdarg>
#include <cstring>
using namespa... |
5a1f40a3d6c5fbac1e8b7b77d4f4c1728edbd3af | aee4fcdad6a9b09e07f38cb49a46db321e3c560a | /src/Logger.cpp | 3550f2517360db870f65f99b40d0254d4771c4c8 | [
"BSD-2-Clause"
] | permissive | timre13/chip8asm | df5796552308059cb5b1565c7bff1fcbddd29d9d | 1b289607178b0608b9eea4df5359c1bdf5400492 | refs/heads/master | 2023-07-21T06:45:46.628768 | 2021-08-18T16:33:06 | 2021-08-18T16:33:06 | 387,043,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | Logger.cpp | #include "Logger.h"
namespace Logger
{
Logger dbg{Logger::Type::Debug};
Logger log{Logger::Type::Log};
Logger warn{Logger::Type::Warning};
Logger err{Logger::Type::Error};
Logger fatal{Logger::Type::Fatal};
void setLoggerVerbosity(LoggerVerbosity verbosity)
{
switch (verbosity)
{
case LoggerVerbosity::Qu... |
3f4437acfe1ee0e8f67c6c70d154103a6b614a0f | 3ef62205d9583cca10848309343bfc3edfa91524 | /WinToolsLib/Data/Sqlite/StatementDecorators/ExtendableBase.h | 71b23cdef32735615bdb345f87bebdb72a6f1161 | [] | no_license | alexander-borodulya/WinToolsLib | cc84abcc5659231bc174fae70d7c69ac628792dd | 9eb22734a26db6d092249098d7b04ca159d83b3e | refs/heads/master | 2020-12-07T06:24:44.632273 | 2017-09-25T14:59:44 | 2017-09-25T14:59:44 | 65,025,406 | 1 | 2 | null | 2016-08-05T14:34:57 | 2016-08-05T14:34:57 | null | UTF-8 | C++ | false | false | 5,803 | h | ExtendableBase.h | #pragma once
#include "..\..\..\Types.h"
#include "..\..\..\Buffer.h"
#include "..\Statement.h"
#include "..\SqliteException.h"
namespace WinToolsLib { namespace Data { namespace Sqlite { namespace StatementDecorators
{
using namespace Serialization;
class ExtendableBase : public IStatement
{
ExtendableBase(cons... |
dfbdb364934bfe1b2d6b217c36cbf01300164e49 | 4a54b6d393c247075d425670b70beafb70ce27a2 | /mainwindow.cpp | e085aa41e10ebce174d5be71c1b4b189579a9bab | [] | no_license | mortalis13/Android-Manager-Qt | eefbbc611c3ee83f960b161b60aad124e1ee76c7 | 0fefcd45ba0d631499685f875037f20b94a6c06c | refs/heads/master | 2023-01-25T00:40:24.225323 | 2023-01-19T09:20:01 | 2023-01-19T09:20:01 | 56,925,525 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 16,683 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QtDebug>
#include <QtAlgorithms>
#include <QStringListModel>
#include <QShortcut>
#include <QFileInfo>
#include "fun.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
init();
addActio... |
33ebe9cb71721df29ee92a1ae3b43fd2ef106fe8 | 15b7e5452329a7fe438e2cb06782a0c6d3846e6c | /inflearn/sorting_CountingSort.cpp | f6b0c6369cd806b7fcdf991ab36fbff68192f7c6 | [] | no_license | currybob/algorithm-ps | bf57f61552ce60a4b829767c2c95132fbd121ca9 | 73bae34322bc64700200c6287c48605253caa3f2 | refs/heads/master | 2020-05-03T13:30:26.770865 | 2019-07-06T05:28:45 | 2019-07-06T05:28:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,787 | cpp | sorting_CountingSort.cpp | // Sorting_SortingInLinearTime
/*
Non-Comparsion Sort
어떤 Comparison Sort도 Linear Time을 가질 수 없음
Counting Sort
n개의 정수를 정렬하라. 단, 모든 정수는 0에서 k사이의 정수이다.
예) n명의 학생들의 시험점수를 정렬하라. 단 모든 점수는 100이하의 양의 정수이다.
예) k = 5인 경우의 예
A = {2, 5, 3, 0, 2, 3, 0, 3}
counting 배열을 만듦 C = {2, 0, 2, 3, 0, 1} 각각의 숫자 갯수를 나타냄
cou... |
1401b9a55f53c68aacd4cadaaeff6a59f697a6b4 | 3a197ae498e5636d4aee5cc0d6426c6622f1dcc1 | /Square/Square/_Ending.cpp | cbd36293de70da38fa1bcd1db9656c76f63f513a | [
"MIT"
] | permissive | stackprobe/Square | e8341d54e712e3dea845f2f1e8df6bab875e13a4 | 5864a2348d722eda610bf55be3597d5d4095a49a | refs/heads/master | 2022-11-17T23:26:39.732891 | 2022-11-05T17:38:41 | 2022-11-05T17:38:41 | 99,126,317 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,383 | cpp | _Ending.cpp | #include "all.h"
static Random *Rnd;
static void DrawWall_old(void)
{
DPE_SetBright(0, 0, 0);
DrawRect(P_WHITEBOX, 0, 0, SCREEN_W, SCREEN_H);
DPE_Reset();
double rate;
ifsceneBegin(600, ActFrame)
{
rate = 0.0;
}
ifscene(6000)
{
rate = sc_rate;
}
ifsceneEnd
{
rate = 1.0;
}
sceneLeave();
if(Rnd-... |
79b62a4ee59d687c82683696a570bec52f0fdc00 | b11e816f307bb7ad4206b1daebcba6cf05666860 | /算法学习/并查集专题/好朋友.cpp | 491bfed55720609a466f9fc82854a5be9c63fb39 | [] | no_license | silver-birch-wawa/PAT | 7ab43f3851a6b79a1fdb6b3c8f046ab1e0fbebed | 918873721c35b22e67007ca256a0c592281716b2 | refs/heads/master | 2021-04-18T22:20:12.281360 | 2019-07-26T14:47:51 | 2019-07-26T14:47:51 | 126,701,448 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 913 | cpp | 好朋友.cpp | /*
test:
4 2
1 4
2 3
7 5
1 2
2 3
1 3
1 4
5 6
*/
#include<vector>
#include <iostream>
using namespace std;
#define N 100001
int father[N],sum,relations;
int findFather(int x){
int b=x;
while (x!=father[x]) {
x=father[x];
}
while(b!=father[b]){
int t=father[b];
father[b]=x;
b=t;
}
return x;... |
fe905c6e34e54b46ff5e5be40c66bdcf74c2d8d0 | d071547ff0500a85e82b788ea154e3b9bb30fff1 | /Address.h | 8cc3fbbdd6afe841cfc4f58ed2dc80827f11f36e | [] | no_license | DimaLaguta/IP-calculator | 3c6c96b379f33b2d3396b338b0e7b9959190cb0f | 7056d9b4e238d3ffe768fd7069d30a381b64f881 | refs/heads/master | 2022-02-22T02:19:20.685155 | 2019-10-04T11:49:02 | 2019-10-04T11:49:02 | 211,547,499 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 864 | h | Address.h | #ifndef ADDRESS_H
#define ADDRESS_H
class Address
{
public:
unsigned int addres = 0;
int numBitsMask = 0;
private:
int numOktets = 0;
public:
Address();
Address(char* address);
Address(int mask);//создает маску по кличеству бит
Address(unsigned int mask);//создает масску по int
static void Binary(unsigned ... |
d829e6515302b0ced051b24e408aecf7d6300f62 | 3548088470f21052787e75d91bd8cdda8664cc12 | /joosc.h | b1201605c4f39f91a6caa40c256e36c0c7cc88bc | [] | no_license | Maximus-Wu/joosc | 0ec81a079bf9691be7be96795df1e2f7220fad3a | bbb4e916284f84a6eb51ee10a93d56032e5e6136 | refs/heads/master | 2021-04-19T04:01:59.677911 | 2017-01-03T01:50:38 | 2017-01-03T01:50:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | h | joosc.h | #ifndef JOOSC_H
#define JOOSC_H
#include "ast/ast_fwd.h"
#include "base/errorlist.h"
#include "base/fileset.h"
#include "ir/ir_generator.h"
#include "types/types.h"
namespace types {
class TypeInfoMap;
} // namespace types
// A stage of the compiler. Note that each constant implicitly includes all
// prior constan... |
d0b84d6f902d38067ad3e6b24c43aa929388d74c | 63933a82ddac094d84b618ffeeab1840d188ac66 | /Metabolic Navigator/selectlabelwidget.cpp | 9bec10fe1cbf54b8e3c5d0cfa8417143892d663c | [] | no_license | catkira/Metabolic-Navigator | 4fedd20f1fe5bf0133b4b19ba5205bf44fe3d78e | c2cb57e64e38ab8884ce6dfe05501f8f4ea57bd9 | refs/heads/master | 2023-02-09T06:08:52.175724 | 2021-01-06T21:22:16 | 2021-01-06T21:22:16 | 327,431,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | selectlabelwidget.cpp | #include "selectlabelwidget.h"
SelectLabelWidget::SelectLabelWidget(QWidget *parent)
: QDialogparent)
{
ui.setupUi(this);
}
SelectLabelWidget::~SelectLabelWidget()
{
}
|
949ab351acb8f78038871a834bec4a6d84873de3 | d835d30f334cda50d4e0aae973b3ab7d08fa438e | /Heatmap/main.cpp | 8e27d118b3eb1c8d21aec5f97f14009312ebf70a | [] | no_license | kulbitsky99/ParProg2020 | 06c306dd716eed69592414378381e9eae0bd3664 | a331235d5d1c2b2b38ca71ba714bd785c52b4818 | refs/heads/master | 2023-01-18T16:38:19.381941 | 2020-10-22T18:57:09 | 2020-10-22T18:57:09 | 304,318,708 | 0 | 0 | null | 2020-10-22T19:17:16 | 2020-10-15T12:26:50 | C++ | UTF-8 | C++ | false | false | 899 | cpp | main.cpp | #include <iostream>
#include <iomanip>
#include <fstream>
#include <omp.h>
#include <sys/time.h>
#include <climits>
#include <string>
int create_threads(int n_of_threads);
long int ReadArg(char * str);
int main(int argc, char** argv)
{
return 0;
}
int create_threads(int n_of_threads)
{
int res = 0;
#pragma om... |
2269c68fc353e99566db1a9102e316f569c713e0 | d2c7a119e436c44436361329af13ae2760e9af56 | /source/Entity Manager/Entities/Subsystems/LifeSupport.cpp | 6a07a3225feb93faca7e058c7d83c3ef6072f181 | [] | no_license | rodrigobmg/Damage-Control-FinalProject | 48a902b7d747c0409b7a7d0a553a18d861be4ad2 | 8ad5a3509bc0db96025873da37290f1a51538a8b | refs/heads/master | 2020-05-01T08:08:49.425070 | 2016-02-06T23:47:47 | 2016-02-06T23:47:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,314 | cpp | LifeSupport.cpp | /***********************************************
* Filename: LifeSupport.cpp
* Date: 05/22/2015
* Mod. Date:
* Mod. Initials:
* Author: Michael Mozdzierz
* Purpose:
************************************************/
#include "LifeSupport.h"
#include <string>
#include "../../../Asset Manager/DDSTextureLoad... |
fcfb78c3db1f78dea17ffdd1319e8244bf2c30d8 | 03f9ce37e1a503ee8e02a113a6a6e75ea9280ac9 | /Section_5/41_Pointers_Arrays.cpp | 580e9f16ec2ac02a0f58dcc672e6e09aafb23b10 | [] | no_license | gasar8/cpp-tutorial | 45ac1152c2c58709683b9dbb6cd7534c2cbd14cd | 89e4b62734347d8728aadec6ddfc29dc257d1cc7 | refs/heads/master | 2022-11-29T15:22:43.059956 | 2020-07-28T07:31:28 | 2020-07-28T07:31:28 | 280,093,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | cpp | 41_Pointers_Arrays.cpp | #include <iostream>
using namespace std;
int main()
{
string texts[] = {"one", "two", "three"};
string *pTexts = texts;
cout << "Sizeof array: " << sizeof(texts) / sizeof(string) << endl;
cout << "s====================================================\n" << endl;
cout << "1. example: Normal for lo... |
f0be616f48ec0b03fc1d04e665d278ccec8d4288 | 181e5901afb7079762cae1b0a491c8a390ae6870 | /src/refreshgovernor.h | 18b696057e1762e10860180df6a34d14a62f9d21 | [
"MIT"
] | permissive | hrxcodes/cbftp | baf3cc2da40d0edc04731cc1948122c4bd1eba48 | bf2784007dcc4cc42775a2d40157c51b80383f81 | refs/heads/master | 2022-04-21T04:11:30.532918 | 2020-04-01T06:05:07 | 2020-04-01T06:05:07 | 258,615,100 | 0 | 0 | MIT | 2020-04-24T20:17:59 | 2020-04-24T20:17:58 | null | UTF-8 | C++ | false | false | 512 | h | refreshgovernor.h | #pragma once
#include <memory>
class Site;
class RefreshGovernor {
public:
RefreshGovernor(const std::shared_ptr<Site>& site);
~RefreshGovernor();
bool refreshAllowed() const; // is it time to perform a refresh?
void timePassed(int timepassed); // called continously by the sitelogic ticker
void useRefresh(... |
0e149785728b3be82433ae0f0f2037f692e0fc90 | 3bae1e0391ab877c0ddfbdfbf392a2c5965d1669 | /cbmc_trunk/cbmc_trunk_windows - Copy/src/langapi/language_util.cpp | 48af18467db04adc4ff97c4ba5b5d9d6d1e3a8c6 | [
"BSD-2-Clause"
] | permissive | cocreature/rvt | 36f6e2a153b3f398bd997ebeccdec38ca6259241 | b9dc17b21a87b5b93326376117401c3011bb4fa3 | refs/heads/master | 2021-01-11T16:14:54.732076 | 2017-08-28T19:18:54 | 2017-08-28T19:18:54 | 80,048,732 | 0 | 1 | null | 2017-01-25T19:20:46 | 2017-01-25T19:20:46 | null | UTF-8 | C++ | false | false | 2,930 | cpp | language_util.cpp | /*******************************************************************\
Module:
Author: Daniel Kroening, kroening@cs.cmu.edu
\*******************************************************************/
#include <memory>
#include "language_util.h"
#include "mode.h"
#include <symbol_table.h>
#include <namespace.h>
#include ... |
00f7dd046c7d435fe5b3007b0eab7576ca9e24ba | 737728a38690e2e31c4b4c1a998fae923502cf54 | /C++/17135_캐슬디펜스.cpp | 6ab27dab889d7cfd9790399ff5f65dc4c00d50e4 | [] | no_license | chaeonee/baekjoon | 528c300f15f7f88a4c608a46e7b82aa6cf325a76 | 90da231f7134ab10a3649d4038da3ad6d631de45 | refs/heads/master | 2023-06-27T03:17:54.908553 | 2021-07-26T07:06:53 | 2021-07-26T07:06:53 | 220,909,690 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,880 | cpp | 17135_캐슬디펜스.cpp | #include <iostream>
#include <queue>
#include <vector>
#include <algorithm>
#include <cstring>
using namespace std;
struct Pos{
int r, c;
};
bool cmp(Pos a, Pos b){
return a.c < b.c;
}
void choice(int N, int M, int D, int**map, int start, vector<Pos> &num, vector<Pos> &e, int &max);
int defense(int N, int M, int D... |
3142e6bb95775ac58eb55ea3c560d946df107904 | 64589428b06258be0b9b82a7e7c92c0b3f0778f1 | /Codeforces/Gym/100651 2004-2005 ACM-ICPC East Central North America Regional Contest (ECNA 2004)/F.cpp | 2a9c0692c443396e5ef63cefef2b938f83741e79 | [] | no_license | splucs/Competitive-Programming | b6def1ec6be720c6fbf93f2618e926e1062fdc48 | 4f41a7fbc71aa6ab8cb943d80e82d9149de7c7d6 | refs/heads/master | 2023-08-31T05:10:09.573198 | 2023-08-31T00:40:32 | 2023-08-31T00:40:32 | 85,239,827 | 141 | 27 | null | 2023-01-08T20:31:49 | 2017-03-16T20:42:37 | C++ | UTF-8 | C++ | false | false | 919 | cpp | F.cpp | #include <bits/stdc++.h>
using namespace std;
#define MAXN 109
int N;
char rank[MAXN][10], cur[10], minrank[10];
int diff[MAXN], mp[10], arr[10];
int bubblesort() {
int ans = 0;
for(int i=0; i<5; i++) {
for(int j=1; j<5; j++) {
if (arr[j] < arr[j-1]){
swap(arr[j], arr[j-1]);
ans++;
}
}
}
return ... |
d59cf0e821e6669e0372885d818d04760bb28dbe | 713a93eeec7c9f9f759eb6bc4b552f0c31307cb1 | /21.03.2021/c.cpp | 60d451dd42f326d6a9c35974b111a0a2bc5714e8 | [] | no_license | markov-alex/practice | 98a55d1a0dd46a4fa729108ac440ad74839b4245 | 83f679698f29a6ed34ac8ac64a2b07bcb2a2247c | refs/heads/main | 2023-06-07T08:21:12.940256 | 2021-07-05T13:53:53 | 2021-07-05T13:53:53 | 383,140,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,032 | cpp | c.cpp | #include <bits/stdc++.h>
std::vector<std::list<int>> adjacency_list;
std::vector<bool> visited;
std::vector<bool> leaf;
int res = 0;
void dfs_visit(int u) {
visited[u] = true;
int cnt = 0;
int son = 0;
for (int v : adjacency_list[u]) {
if (!visited[v]) {
cnt++;
son = v;... |
bb63db8480d01334347122375547123432eff554 | 4f55e9f539469002db1df650cc14d9347233a57c | /examples/de_casteljau_point2d/main.cpp | 0c908bb0de2271ede8750ba12bec25aaf5efa83e | [
"BSL-1.0"
] | permissive | hazelnusse/spline | 9a5583b2e0b2ff62a72fb7216b2c39b2aa50f359 | 43ef1dbf02947f97b51323774b57e433f9524754 | refs/heads/main | 2023-06-23T18:58:20.759736 | 2021-06-13T21:26:45 | 2021-06-13T21:26:45 | 374,172,603 | 4 | 1 | BSL-1.0 | 2021-06-15T00:27:33 | 2021-06-05T17:19:58 | C++ | UTF-8 | C++ | false | false | 1,980 | cpp | main.cpp | #include <algorithm>
#include <charconv>
#include <cstring>
#include <functional>
#include <limits>
#include <numeric>
#include <random>
#include <spline/de_casteljau_subdivide.hpp>
#include <vector>
namespace
{
template <class Real>
constexpr auto nan = std::numeric_limits<Real>::quiet_NaN();
template <typename Real... |
64bdf9596ee9d7805d6d549982f33bf1795d84ac | 0fcb8388e4ac7610117657c87f87a7788f7d81ff | /robot/main.cpp | 7ca66bb05098444e64fe69ae56c266aa72c02608 | [] | no_license | macrat/projectR-teamC | eee21348d308e0e996e5b87bffa20972cbc58508 | c96d133ca7da26fe81cf4ccef19b5b3bc342b359 | refs/heads/master | 2021-01-19T06:37:01.710832 | 2016-08-05T14:13:44 | 2016-08-05T14:13:44 | 63,482,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,425 | cpp | main.cpp | #include <limits.h>
#include <stdint.h>
#include "mbed.h"
#include "template_serial.h"
#include "hardware.h"
#pragma pack(1)
struct {
struct {
int8_t left, right;
} body;
struct {
int8_t horizontal, vertical, grab;
} arm;
} typedef control_packet_t;
#pragma pack()
struct {
stru... |
4af87f8dc034c741163bf3614b264f8f3ca1b8e7 | 579d1b8d7166bf800369b5c96c80642c6d4c187a | /dp/0063_uniquePathsWithObstacles.cpp | 76ffbd4b36565ed28e79453111298fdccf03ebae | [] | no_license | zephyr-bj/algorithm | bd1914d9d518ae2b8cccb0d6c3d1c9ba98dbe7bc | e2a52c533ba9bbd6d9530b672cb685ed3d9c4467 | refs/heads/master | 2022-10-14T01:41:45.221235 | 2022-09-26T08:47:51 | 2022-09-26T08:47:51 | 81,426,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | cpp | 0063_uniquePathsWithObstacles.cpp | int uniquePathsWithObstacles(vector<vector<int>>& obstacleGrid) {
int m = obstacleGrid.size();
if(m<1)return 0;
int n = obstacleGrid[0].size();
vector<int>tmpR(n,0);
vector<vector<int>>map(m,tmpR);
for(int i=0; i<m; i++){
for(int j=0; j<n; j++){
... |
2909b18f6e2151f75871ce22a12ebb28d77a954f | d96077f7131a2179a879d6651b20b71cad0c3117 | /KY2DViewer_DLL/KY2DViewer_IF.h | 7d70d4fd7c8b3f8bc15afbe7bdfd55ee0788c0c5 | [] | no_license | wowlsh93/2DViwer | 647c135f77baeb041576b387ffb5e644917b80a8 | 4dd102f56d93896f05ddcbfd812a3735fe37163d | refs/heads/master | 2022-04-14T23:50:23.042248 | 2020-04-11T02:47:06 | 2020-04-11T02:47:06 | 254,779,766 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,296 | h | KY2DViewer_IF.h | // KY2DViewer_IF.h : KY2DViewer_DLL 의 인터페이스 파일입니다.
//
#pragma once
#include <string>
#ifdef _EXPORTS
#define KY2DAPI __declspec(dllexport)
#else
#define KY2DAPI __declspec(dllimport)
#endif
namespace KY2DVIEWER
{
enum e2DShapeType
{
e2DShapeType_RECT = 0
, e2DShapeType_ELLIPSE
, e2DShapeType_POLYGON
, e2DShapeType... |
3955735cf81005b98eee7150e537bf0e10ca8a70 | 6bab09541bd6fe7106d11921db4b46f77c884c95 | /user_msg.cpp | 4d46e8a0619771fee9ccd8c7a43e299e8a92e0cc | [] | no_license | Zsx3/- | 3057b4ceb2df1f9fd509f986067808f7a36ef4a1 | dabfe7c76e6609805a0c2296c9c3385a91a08d1e | refs/heads/master | 2020-09-28T15:03:40.268814 | 2019-12-09T11:56:04 | 2019-12-09T11:56:04 | 226,801,250 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,527 | cpp | user_msg.cpp | #include "stdafx.h"
#include "user_msg.h"
#include<iomanip>
user_msg::user_msg()
{
}
user_msg::~user_msg()
{
}
void user_msg::ReadDocline1()//将人员账号和密码载入一个list<user_information>方便索引查询用户对应的密码
{
ifstream ifs(_F_USER); //输入方式打开文件
char buf[1024] = { 0 };
user_list.clear();
//取出表头(用户|密码)
ifs.getline(buf, sizeof(bu... |
d5926b081cd890c6bfc6be733040c440352e884e | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-frauddetector/include/aws/frauddetector/model/EvaluatedExternalModel.h | e48925bffed811894af7aeceb94a95beb8918154 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 10,057 | h | EvaluatedExternalModel.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/frauddetector/FraudDetector_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSMap.h>
#include <utility>
namespace Aws
{
nam... |
8e5df32b3fd90c24a355c6bc8b3e1e5cebd80f32 | fb5a7667fa36a16f312c7828837558c69fdf27e8 | /SimpleExample2019.4.23/iOS-Export/SimpleExample/Libraries/RegisterMonoModules.cpp | cb064b90196c214b210a9d1f5f270ddc977daa45 | [] | no_license | skillz/integration-examples | 048cce107e1b0f67408736c4cd0d07f3f73daf2c | f283c0624d757131d48d7af135550281709877ba | refs/heads/master | 2021-12-15T06:02:38.174945 | 2021-12-13T22:25:38 | 2021-12-13T22:25:38 | 250,074,665 | 9 | 28 | null | 2021-12-13T22:25:38 | 2020-03-25T19:40:33 | C | UTF-8 | C++ | false | false | 128 | cpp | RegisterMonoModules.cpp | version https://git-lfs.github.com/spec/v1
oid sha256:7d261bc6d7f287092fb13bc986cbc7a841992abce3ddf97013521cf2c04e277b
size 368
|
ccce4a4989f8c08e21e510c0da448d3a4e896e93 | ce37ba275f0c32e2653df1833dd09391c7064dff | /include/cbag/polygon/polygon_90_data.h | 2888de92af884631913ba1ecbd17226070cf882e | [
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | ucb-art/cbag_polygon | e1a35b609af90c4147b07a9460abfec4d10d9d42 | 2c00d8c768fca40ced7905f77b4e3dad49c0b85b | refs/heads/master | 2022-12-16T23:25:48.097823 | 2020-06-24T18:13:57 | 2020-06-24T18:13:57 | 292,124,854 | 0 | 0 | null | 2020-09-01T22:54:00 | 2020-09-01T22:53:59 | null | UTF-8 | C++ | false | false | 6,318 | h | polygon_90_data.h | // Copyright 2019 Blue Cheetah Analog Design Inc.
// SPDX-License-Identifier: Apache-2.0
#ifndef CBAG_POLYGON_POLYGON_90_DATA_H
#define CBAG_POLYGON_POLYGON_90_DATA_H
#include <type_traits>
#include <vector>
#include <cbag/polygon/point_concept.h>
#include <cbag/polygon/point_data.h>
#include <cbag/polygon/polygon_9... |
d8e6efc4a8f7af3b76cdcdf874bb62048dafd132 | 2d7e3b4a580d4476a6415866754354de287602a3 | /pemc/pemc.cc | ebc768b7c34ddb39dc831a1120129ad4e884e3d1 | [
"MIT"
] | permissive | joleuger/pemc | ff3439808ebeea654dbcea34dd4d0d6980f88e6b | ba1608a8b575bbd324d59e376a60f54f1f55526b | refs/heads/master | 2023-07-07T15:35:07.134183 | 2023-06-27T19:19:43 | 2023-06-27T19:19:43 | 147,083,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,042 | cc | pemc.cc | // The MIT License (MIT)
//
// Copyright (c) 2014-2018, Institute for Software & Systems Engineering
// Copyright (c) 2018, Johannes Leupolz
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Softw... |
bc3b96aa3980611f7908a9df86b8027abfc8d141 | 2329437594f97ae6fd43edfed26456854e745995 | /VarInfo.cpp | e5ad691774a3a0ead8363e6d17281c48ffc5edd6 | [] | no_license | TomSendrovich/FlightGear | 450abd18503716fda388daaa132e1f126ca6d50c | 17b8e3ecef255aa179ca86eb4c1e5de41bc1e6a4 | refs/heads/master | 2020-12-06T03:14:39.288384 | 2020-01-04T14:51:41 | 2020-01-04T14:51:41 | 232,323,644 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cpp | VarInfo.cpp | //
// Created by guy on 16/12/2019.
//
#include "VarInfo.h"
VarInfo::VarInfo(string name, int direction, string path) {
_name = name;
_direction = direction;
_path = path;
_value = 0.0;
}
double VarInfo::getValue() {
lock_guard<mutex> lock(m_lock);
return _value;
}
void VarInfo::setValue(double value) {
... |
1c0883e901556f042bdbf67e0b33f0579b672c1d | 93deffee902a42052d9f5fb01e516becafe45b34 | /cf/1000/C.cpp | 0b5e937eb61c55345f26dee3a3392a81b6b9b5ae | [] | no_license | kobortor/Competitive-Programming | 1aca670bc37ea6254eeabbe33e1ee016174551cc | 69197e664a71a492cb5b0311a9f7b00cf0b1ccba | refs/heads/master | 2023-06-25T05:04:42.492243 | 2023-06-16T18:28:42 | 2023-06-16T18:28:42 | 95,998,328 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | C.cpp | #include<bits/stdc++.h>
using namespace std;
#define allof(x) (x).begin(), (x).end()
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
int main(){
cin.tie(0);
cin.sync_with_stdio(0);
int N;
cin >> N;
map<ll, ll> mp, ans;
for(int a = 1; a <= N; a++){
ll l,... |
7193bb3b97436f858d3eef2bbb34db44c4c6a8a8 | 0cd73b1729b90fed0a99852bcf7a2862f9397250 | /hs_unoidl/src/writer.cxx | cb639533daedc17e5786abf0c74f22a68b470f74 | [] | no_license | jorgecunhamendes/haskell-uno-binding | 26e224019f3ec8851446b033d9efbf96e97850ab | 7f99674cf986f5f9a4079353f079d7982e2ffc61 | refs/heads/master | 2021-01-23T20:45:15.587242 | 2015-08-28T11:23:00 | 2015-08-28T11:23:00 | 37,615,841 | 7 | 2 | null | 2015-08-25T09:31:02 | 2015-06-17T19:20:35 | C++ | UTF-8 | C++ | false | false | 4,909 | cxx | writer.cxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... |
e188b8362982d91570af9207f0e3e6418e8ccb8e | 2f100caef4b7c2a3e0bef722325c59a5ab91086c | /Scene.h | da2581cbc5ea47cddbc27d60ec0ee7c4055277c2 | [] | no_license | ilotXXI/RayBacktrace | 3f0222c499236b78af2973d5ba0866168e278ba8 | 3acd1aad22537a3e595cffc8a16d515f248086fe | refs/heads/master | 2021-01-11T20:37:50.557873 | 2019-02-01T10:50:10 | 2019-02-01T10:50:10 | 79,155,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | h | Scene.h | #ifndef SCENE_H
#define SCENE_H
#include <vector>
#include "Polygon.h"
#include "SpotLight.h"
class Scene
{
public:
Scene();
Scene(const std::vector<Polygon> &polygons,
const std::vector<SpotLight> &lights);
const std::vector<Polygon> & polygons() const;
std::vector<Polygon> polygons();
... |
a007468323d5709200aa0e48d6c299262d22c701 | 4f462f866f1b2470fa2b4b35731ff65b5231a0c9 | /src/datastore.cpp | 52a739696196b535254b71946b80ed407457bcd6 | [] | no_license | Gigahawk/mech366_DAQ | e52c172dd0fb99af849e8d144ad128cada5c36c2 | 5e0216526d31b0a54b3dc2a7c3af7b06947a99ba | refs/heads/master | 2020-09-11T12:01:20.098243 | 2019-12-01T12:04:22 | 2019-12-01T12:04:22 | 222,057,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,409 | cpp | datastore.cpp | #include "datastore.h"
#define DS_BUFFER_LENGTH (uint16_t)(1.05*COLLECTION_PERIOD*ACCEL_RATE)
int16_t x_accel[DS_BUFFER_LENGTH];
int16_t y_accel[DS_BUFFER_LENGTH];
int16_t z_accel[DS_BUFFER_LENGTH];
int16_t accel_time[DS_BUFFER_LENGTH];
volatile uint16_t accel_idx;
MPU6050 accel = MPU6050(ACCEL_ADDRESS);
bool collect... |
8f4dfc66f990bbe848569992e5364b988168e6f8 | d6b4bdf418ae6ab89b721a79f198de812311c783 | /tiw/include/tencentcloud/tiw/v20190919/model/DescribeTIWRoomDailyUsageRequest.h | 557ed6d6fa4dd2fc39d0c2cffcb16c9e4a5d8abc | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp-intl-en | d0781d461e84eb81775c2145bacae13084561c15 | d403a6b1cf3456322bbdfb462b63e77b1e71f3dc | refs/heads/master | 2023-08-21T12:29:54.125071 | 2023-08-21T01:12:39 | 2023-08-21T01:12:39 | 277,769,407 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,542 | h | DescribeTIWRoomDailyUsageRequest.h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
c8a1b8642da8d070caf08a2231d7a48b01412639 | ed313bf0460c93ad03ad34e86175250b3c0e6ab4 | /newshuoj/contest_84/I.cpp | d797a4de16f355999888a084a884e56690a7e163 | [] | no_license | ThereWillBeOneDaypyf/Summer_SolveSet | fd41059c5ddcbd33e2420277119613e991fb6da9 | 9895a9c035538c95a31f66ad4f85b6268b655331 | refs/heads/master | 2022-10-20T02:31:07.625252 | 2020-04-24T11:51:32 | 2020-04-24T11:51:32 | 94,217,614 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | I.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int T;
cin >> T;
while(T--)
{
int k,n;
cin >> k >> n;
set<pair<int,int> > incache;
int ans = 0;
for(int i = 0;i < n;i++)
{
int x;
cin >> x;
int isin = 0;
set<pair<int,int> > :: iterator it;
for(auto temp = incache.begin(); temp !=... |
6141999973e38697623b8ccba049dbe33558be02 | 70255bed739886125d65264a1a5887f810694df4 | /include/radar/estimator_fsk.h | beea63fa5e36a8abfdf8674ede2174852a4fb8cb | [] | no_license | mbr0wn/gr-radar | 808bb0f50fb6c683a4f1a66516184d7defa05786 | 6b03ca63df16f063d199de2c0f696c5246b879ce | refs/heads/master | 2021-05-10T07:45:58.675552 | 2018-02-28T10:48:52 | 2018-02-28T10:48:52 | 118,856,125 | 4 | 0 | null | 2018-01-25T03:19:29 | 2018-01-25T03:19:29 | null | UTF-8 | C++ | false | false | 2,347 | h | estimator_fsk.h | /* -*- c++ -*- */
/*
* Copyright 2014 Communications Engineering Lab, KIT.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* Thi... |
24da6832ef9fd996b2adb68415448b1e975faf93 | 91e77ae31b4079d25d669e425a54c335a721d86a | /Array/1_largest_and_smallest_array.cpp | fb328dcc03bb195f9a10e3913affe33c6fe707cd | [] | no_license | KashifAhmad1789/KashifAhmad-dsa | cae60727463f8266e84a726be53a757c74f03e80 | 4c536959b204c4ecd377de3c43c2f597dd28ab6b | refs/heads/main | 2023-08-12T05:03:04.789563 | 2021-09-17T18:49:45 | 2021-09-17T18:49:45 | 402,451,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | 1_largest_and_smallest_array.cpp | #include <iostream>
#include <climits>
using namespace std;
int main() {
int n,i;
int a[1000];
cin>>n;
int largest = INT_MIN;
int smallest = INT_MAX;
for(i=0;i<n;i++){
cin>>a[i];
}
// Smallest and lasrgest function of arrays;
// for(i=0;i<n;i++){
// ... |
c078cdfb3666d97fdb7e559706b024e638b2ac23 | b49b177bf5e0e318e643c0844ee72736bd0be961 | /libwiisys/source/logging/FileLogger.cpp | 8aadcb7b32b79ad35e6abee4a958ce7854ff1e78 | [] | no_license | CLEMENTINATOR/TeamWiigen | a8edf883318cbf087dfa2efbf9e887758abc51c1 | 011bc8023f4bcb2a1a9e682f14e2197fddfacc02 | refs/heads/master | 2020-06-19T10:32:58.356873 | 2013-06-18T17:28:00 | 2013-06-18T17:28:00 | 74,909,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,400 | cpp | FileLogger.cpp | #include <Libwiisys/logging/FileLogger.h>
#include <sstream>
using namespace std;
using namespace Libwiisys::IO;
using namespace Libwiisys::Logging;
FileLogger::FileLogger(const std::string& filePath) :
_filePath(filePath)
{
if (File::Exists(filePath))
File::Delete(filePath);
paused = true;
}
FileLogger... |
a56b0dc516db578965eb6c5c35028860d0b89bab | db666b5c6b5381c55c716f95818a7ecc241d59c7 | /C++/681-nextClosestTime.cpp | 2daab77cbd727ea84c46e4aa5c3f7f9b60b40f65 | [] | no_license | SaberDa/LeetCode | ed5ea145ff5baaf28ed104bb08046ff9d5275129 | 7dc681a2124fb9e2190d0ab37bf0965736bb52db | refs/heads/master | 2023-06-25T09:16:14.521110 | 2021-07-26T21:58:33 | 2021-07-26T21:58:33 | 234,479,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | 681-nextClosestTime.cpp | #include <string>
#include <unordered_set>
using namespace std;
int distance(string cur, string next) {
int a = stoi(cur.substr(0, 2)) * 60 + stoi(cur.substr(2));
int b = stoi(next.substr(0, 2)) * 60 + stoi(next.substr(2));
return a < b ? b - a : b - a + 24 * 60;
}
void DFS(unordered_set<char> &set, stri... |
7324c24c52e9a59d208f4c72925cc4bc013c3b66 | 21b5b3116ba4bc1ade58cb80d63e3beb25127590 | /gearoenix/glc3/shader/glc3-shd-forward-pbr.cpp | 036156aeb24443e9e88d6d41ca778cf0c231a16e | [] | no_license | bmjoy/gearoenix | 54ac24d088627af16208e7e98f6d3c317b9b5ca0 | 0b6c0c3c19899d99272a2b5168197c7880fa0fc3 | refs/heads/master | 2022-04-17T15:31:42.942367 | 2020-04-21T02:19:08 | 2020-04-21T02:19:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,263 | cpp | glc3-shd-forward-pbr.cpp | #include "glc3-shd-forward-pbr.hpp"
#ifdef GX_USE_OPENGL_CLASS_3
#include "../../core/cr-function-loader.hpp"
#include "../../gl/gl-loader.hpp"
#include "../../system/sys-app.hpp"
#include "../engine/glc3-eng-engine.hpp"
#include <sstream>
#define GX_GLC3_SHADER_SRC_EFFECT_UNIFORMS ... |
e812d54a39c165b3f2e89564199021a324ea4e07 | 9faf70be5b39535134280fdf432868048847fc7a | /URI 1256 - Tabelas Hash.cpp | ef4efa0383a454c914be7d3ef02b65661f42a70b | [] | no_license | luigim1998/Questoes_URI_Luigi_Muller | 6967b53f290993be2fb13267b26d78acee90df21 | e0f89ece36ccca444ad4b1dd8f123a7e63f11352 | refs/heads/master | 2021-08-22T13:11:31.664959 | 2020-04-03T18:56:13 | 2020-04-03T18:56:13 | 155,127,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | cpp | URI 1256 - Tabelas Hash.cpp | #include <iostream>
#include <queue>
using namespace std;
int main(){
int casos; // número de casos de teste
int endereco; // número de endereços-base que ele terá em cada caso
int quantidade; // quantidade de valores a ser inseridos no caso
int aux;
cin >> casos;
while(casos >... |
a720d8a1a5909636690c8018dabc1cb40dde8108 | 1948ad2f78654b52c2addbab0a83ca3051a8da43 | /buttons.ino | cd521611a4c5854b37e5221a07d6316f70dd8d39 | [
"MIT"
] | permissive | dJPoida/dJPsController | 0628bc362dc1ac220294110181e1142f91f1be10 | 175e26a507e6b5f604aad3a77385886e09e53a23 | refs/heads/master | 2020-08-31T17:00:24.379269 | 2019-10-31T10:27:42 | 2019-10-31T10:27:42 | 218,738,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | ino | buttons.ino | /**
* Update the Button A
*/
bool updateButtonA() {
// Read the new values
bool newBtnA = !digitalRead(PIN_BTN_A);
// Any changes?
if (newBtnA != btnA){
btnA = newBtnA;
return true;
}
return false;
}
/**
* Update the Button B
*/
bool updateButtonB() {
// Read the new values
bool newBtnB ... |
de978254252c782845c5c881b8e35de85d29f1d4 | d48b00b905ed9fb27949285737601f0b3d04c857 | /2018/09/01/南京网络赛/L.cpp | 4ccaa99345e3ede56ba9ee9035b0005f9fc30e64 | [] | no_license | Smlight/Programming-Contest | 1162bbd5476cc687c1afe3d2fd92e4832cf4b979 | ee90ad89804ae10c9cd4b31171adb467f2493b33 | refs/heads/master | 2021-06-01T10:42:08.730261 | 2020-12-09T07:36:35 | 2020-12-09T07:36:35 | 56,766,943 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,641 | cpp | L.cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int N=100010;
const int inf=0x3f3f3f3f;
struct Edge {
int to,next,val;
} eg[N<<1];
int last[N],tot=0;
int T,n,m,k;
struct Node {
ll len;
int x,y;
bool operator <(const Node &r) const {
return len<r.len;
}
bool ope... |
fa39281700e3864ee5cad4ae06f183c36880e3dc | 01dee3bf83b1ab356a0109cc70b3536c57b065a1 | /codeforces/553/E.cpp | cd31dec4a6eb7a3aa72e8897f708db54fa979000 | [] | no_license | YMDragon/OJ-code | 3e5c9c9871e86fffdd5a24e9da247b9980f364f4 | 6569bfa6519021cc3303aa42a4e60a40149a7816 | refs/heads/master | 2021-01-23T06:01:36.991005 | 2017-05-02T01:21:09 | 2017-05-02T01:21:09 | 86,330,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,758 | cpp | E.cpp | #include <algorithm>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <complex>
#include <cstdio>
#include <cmath>
using namespace std;
const double pi=acos(-1);
struct comp{double a,b;}A[1<<15],B[1<<15],C[1<<15];
struct edge{int s,t,d,n;double p[20002],S[20002];}e[105];
int n,m,x,t,dis[5... |
f9ae7d3aa620e5f2a805ddd476494cfbfe8533c0 | 17953c4ff376936161fc89eb41d605b66699a38c | /src/ServerEngine/test/RouterServerTest/TestGS/TestGameImp.cpp | 26cdb50b61a9039f9ca057affa96077f9b891a41 | [] | no_license | equalizer-bourne/otherserver | 8353fc495e71bb549b23759c58d1595e590be902 | e6865f90ef8c008601a7e2c6657d102ae4820c40 | refs/heads/master | 2020-05-15T16:20:38.684392 | 2018-09-18T18:49:56 | 2018-09-18T18:49:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | cpp | TestGameImp.cpp | #include "TestGameImp.h"
#include "Push.h"
#include "RouterServer.pb.h"
TestGameImp::TestGameImp()
{
}
TestGameImp::~TestGameImp()
{
}
void TestGameImp::initialize()
{
}
void TestGameImp::destroy()
{
}
taf::Int32 TestGameImp::doRequest(taf::Int64 iConnId,const std::string & strAccount,const std::string & sMsgPack... |
2a78963af2a2cba32df9a50bc654892a46571ec9 | 924de80dab7907fdb03ab1cafeea6e399d9759c6 | /CODE/GRAPHIC/SYSTEM/GRAPHIC_SYSTEM.h | ae02a3b91b7675ba5c4fe7b7cd8a64e316193ff5 | [] | no_license | x-tox-man/xengine | 866fd44d79207c71c6ad2709a66496d392ec0f6d | 81b9445795422969848acfffde59136e1eb66fbe | refs/heads/master | 2021-04-29T10:39:43.257184 | 2020-10-25T10:48:54 | 2020-10-25T10:48:54 | 77,837,329 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,646 | h | GRAPHIC_SYSTEM.h | //
// GRAPHIC_SYSTEM.h
// GAME-ENGINE
//
// Created by Christophe Bernard on 21/06/15.
// Copyright (c) 2015 Christophe Bernard. All rights reserved.
//
#ifndef __GAME_ENGINE_REBORN__GRAPHIC_SYSTEM__
#define __GAME_ENGINE_REBORN__GRAPHIC_SYSTEM__
#include "CORE_HELPERS_CLASS.h"
#include "GRAPHIC_SYSTEM_RUNTIME_E... |
5c4dc55546f7193713c79c7ba888725181554082 | bfc88535fa1495c64672f048a5559e8bb6de1ae1 | /CodeChef/APRIL19B/g.cpp | 956b3d265bb8e2f7ffddb98c9bb033b1dce3d96b | [] | no_license | famus2310/CP | 59839ffe23cf74019e2f655f49af224390846776 | d8a77572830fb3927de92f1e913ee729d04865e1 | refs/heads/master | 2021-07-05T00:23:31.113026 | 2020-08-07T22:28:24 | 2020-08-07T22:28:24 | 144,426,214 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,671 | cpp | g.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef pair<int, int> pii;
typedef pair<int, pair<int, int> > piii;
#define pb push_back
#define debug(x) cout << x << endl
#define fastio ios_base::sync_with_stdio(0), cin.tie(0)
#define PI acos(-1)
#define all(c) c.begin(), c.end()
#define SET(x, y)... |
b15c6169416edda19a898f00b8642861d06809d2 | a980ba973c6365b2b2f11a1af443191596ded453 | /lib/Secrets/lockcoderequest.cpp | 0ee2c31fdb0f3932b28016958e7216afc4f4ab23 | [
"LicenseRef-scancode-free-unknown",
"BSD-3-Clause"
] | permissive | sailfishos/sailfish-secrets | 44f724f1470e7b4bbfbd4c0ab4cb481cbc54f2e0 | 303687d1e4e71cf741b6aec3b35dd78c033b1ede | refs/heads/master | 2023-04-07T06:44:07.878773 | 2023-03-21T10:41:41 | 2023-03-21T10:41:41 | 109,001,458 | 27 | 16 | BSD-3-Clause | 2023-08-31T14:14:11 | 2017-10-31T13:43:11 | C++ | UTF-8 | C++ | false | false | 17,604 | cpp | lockcoderequest.cpp | /*
* Copyright (C) 2018 Jolla Ltd.
* Contact: Chris Adams <chris.adams@jollamobile.com>
* All rights reserved.
* BSD 3-Clause License, see LICENSE.
*/
#include "Secrets/lockcoderequest.h"
#include "Secrets/lockcoderequest_p.h"
#include "Secrets/secretmanager.h"
#include "Secrets/secretmanager_p.h"
#include "Secr... |
9f83026a4b573bbfd9bdf50b05fdcc64b3312b21 | 2ea34a7ff11da761313e32914b23ca748e7d3d66 | /coba-coba Addition of two numbers 230919.cpp | 8354c147f46819520d9ad0098d8320142cc91ef1 | [] | no_license | andimaliaAMFB/Dasar-Pemrograman-C- | a6c0666f458df1a31c287c3fd7dd80866541ab34 | 1584a080b955851f304a1dbb9e3108ea56d7714c | refs/heads/main | 2023-02-25T20:31:50.498096 | 2021-01-30T05:57:04 | 2021-01-30T05:57:04 | 334,338,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | coba-coba Addition of two numbers 230919.cpp | #include <iostream>
using namespace std;
int main()
{
int num1,num2,hasil;
cout<<"Masukan angka Pertama: ";
cin>>num1;
cout<<"Masukan angka ke-2: ";
cin>>num2;
hasil=num1+num2;
cout<<"Hasil= "<<hasil;
}
|
fac2dbcf30bfa4e8b1b885e7f84317671716ee1c | 1f41b828fb652795482cdeaac1a877e2f19c252a | /standalone c++/glfwProj/glfwProj/Key.h | cab59deb554358aa412344950560f6a63ff61e93 | [] | no_license | jonntd/mayadev-1 | e315efe582ea433dcf18d7f1e900920f5590b293 | f76aeecb592df766d05a4e10fa2c2496f0310ca4 | refs/heads/master | 2021-05-02T07:16:17.941007 | 2018-02-05T03:55:12 | 2018-02-05T03:55:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | h | Key.h | #pragma once
#include <GLFW/glfw3.h>
class Key
{
public:
Key();
~Key();
static void key_callback(GLFWwindow* wnd, int key, int scancode, int action, int mods);
}; |
f30a5acfe9425b1ce02cf2943f201fbf29ed3a55 | 5eb519bf5c71ff4c28d2c7463825c0816ea92584 | /src/lib/ARObjects.h | b943a41044fe7a594eca62916df10996cf5d7384 | [] | no_license | sortofsleepy/ofxARKit | ab219a5e1454042c0a956253a222245707f87e73 | 1ede6a0ea1b5e909ed50cf9e0caef49c36f36ad7 | refs/heads/master | 2023-02-22T02:06:36.357252 | 2021-08-15T17:28:50 | 2021-08-15T17:28:50 | 99,613,090 | 255 | 35 | null | 2023-02-08T22:02:07 | 2017-08-07T19:35:58 | Objective-C++ | UTF-8 | C++ | false | false | 3,689 | h | ARObjects.h | // ARObjects.hpp
//
// Created by Joseph Chow on 8/25/17.
// With additional help by contributors.
//
#ifndef ARObjects_hpp
#define ARObjects_hpp
#include <stdio.h>
#include "ofMain.h"
#include "ARFaceTrackingBool.h"
namespace ofxARKit {
//! This defines the basic data structure of a Plane
typedef st... |
518782b494be85456b208b8e626fd41e62239362 | 997f0af92ac9fa805e916c9135fac763a7eadd51 | /Digital Circuits/alwaysoffgate.cpp | f964d871c5a4a187edc3d3b11bf51851aba424fd | [] | no_license | nimajnaimi/Cpp | 2e9037947050949b36cae272395173f73605c6c8 | f1bb1237c52a973c81576306f03dadd195145e42 | refs/heads/master | 2020-09-13T01:11:07.589957 | 2019-11-19T05:44:53 | 2019-11-19T05:44:53 | 222,614,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | alwaysoffgate.cpp | #include "alwaysoffgate.h"
AlwaysOFFgate::AlwaysOFFgate(string name) : Gate(name)
{
output = false;
}
AlwaysOFFgate::~AlwaysOFFgate()
{
//dtor
}
void AlwaysOFFgate::cycle() {
}
bool AlwaysOFFgate::isReadyToCycle() const {
return true;
}
|
05da82fddf6b2aa0a6ba8beadb06650671c5e8bb | e67259f518e61f2b15dda1eb767f012a5f3a6958 | /src/planner/binder/statement/bind_delete.cpp | cbe02c005e7a608b1096bca60b777ca26afe1c97 | [
"MIT"
] | permissive | AdrianRiedl/duckdb | e0151d883d9ef2fa1b84296c57e9d5d11210e9e3 | 60c06c55973947c37fcf8feb357da802e39da3f1 | refs/heads/master | 2020-11-26T13:14:07.776404 | 2020-01-31T11:44:23 | 2020-01-31T11:44:23 | 229,081,391 | 2 | 0 | MIT | 2019-12-19T15:17:41 | 2019-12-19T15:17:40 | null | UTF-8 | C++ | false | false | 777 | cpp | bind_delete.cpp | #include "duckdb/parser/statement/delete_statement.hpp"
#include "duckdb/planner/binder.hpp"
#include "duckdb/planner/expression_binder/where_binder.hpp"
#include "duckdb/planner/statement/bound_delete_statement.hpp"
using namespace duckdb;
using namespace std;
unique_ptr<BoundSQLStatement> Binder::Bind(DeleteStateme... |
72c80429c089982723e0c1ce6900cc0f48c75c38 | 57625110a30efc8360f396294c247e107e220efa | /src/modules/data/data.cc | c6054ecb603b886a1ae16be1c5bb282e1e1efe7b | [] | no_license | Jsty00/star | f27314864f84a7072a37ff875a260678132d51c2 | 64a8dff9719dd5926f12e77898c8994780c3b97a | refs/heads/master | 2023-03-23T10:01:51.233265 | 2021-02-24T16:11:42 | 2021-02-24T16:11:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,756 | cc | data.cc | #include "../util/files.h"
#include "data_c.h"
using namespace star;
m21list *star_data_get_lines_from_file(const char *filename) {
char *path;
FILE *file = fopen(filename, "r");
if (!file) math21_file_error(filename);
m21list *lines = math21_data_structure_list_create();
while ((path = math21_fil... |
b13dcc63eda7b197259a54fa9b7c006c9d459ea5 | 57dde4ae85512d71a412b1a9b7bac8f4a22c7ea8 | /8. Segment Tree/Query bits.cpp | b0cbf90665d2ca6326a0a0f27924e4665fa64776 | [] | no_license | HemantKr79/CB-Competitive-Programming-Solutions | 0efec4f60df03fe54b747c0d561a4eeab568c75e | 5170aeba51730eca8f1e5f31782a6bb5e556b16b | refs/heads/main | 2023-03-22T20:00:18.305515 | 2021-03-01T02:20:46 | 2021-03-01T02:20:46 | 343,264,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,709 | cpp | Query bits.cpp | #include<iostream>
#include<vector>
using namespace std;
#define int long long
#define mod 1000000007
vector<int> power(2000006, 0);
void set_bits(vector<int> &tree, vector<int> &lazy, int ss, int se, int l, int r, int index) {
if (lazy[index] != -1) {
if (ss != se) {
lazy[2 * index] = lazy[2 * index + 1] = la... |
1af8adda88635ef91b6365cc67dae0c4345e94af | eea72893d7360d41901705ee4237d7d2af33c492 | /src/track/spacepoint/CsCalSpacePoint.h | 788408614947735393c25d6320503b92a0faba1d | [] | no_license | lsilvamiguel/Coral.Efficiencies.r14327 | 5488fca306a55a7688d11b1979be528ac39fc433 | 37be8cc4e3e5869680af35b45f3d9a749f01e50a | refs/heads/master | 2021-01-19T07:22:59.525828 | 2017-04-07T11:56:42 | 2017-04-07T11:56:42 | 87,541,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | h | CsCalSpacePoint.h | // $Id: CsCalSpacePoint.h,v 1.2 2003/04/24 07:23:24 benigno Exp $
/*!
\file CsCalSpacePoint.h
\brief Calibrarion spacepoint, derived from CsSpacePoint Class.
\author Hugo Pereira
\version $Revision: 1.2 $
\date $Date: 2003/04/24 07:23:24 $
*/
#ifndef CsCalSpacePoint_h
#define CsCalSpacePoint_... |
7bb0b775a33dcf4206a98ee06f27196096aefc46 | 65851f6c2ee158020264781c5dc0ee70eba3597a | /Chapter02_Forces/Ex25GravitationalAttractors/src/Ex25GravitationalAttractorsApp.cpp | dc4eef047274592b1f7e17a7a006ed83480669f5 | [] | no_license | hinike/The-Nature-of-Cinder | 2a56d47e80885abe63f61945cf7d9c563e1f5daa | e86ccfe713c9a7ecf860975915c0818ddeadd0b5 | refs/heads/master | 2020-03-19T16:02:40.712658 | 2015-01-27T06:15:32 | 2015-01-27T06:15:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | cpp | Ex25GravitationalAttractorsApp.cpp | #include <vector>
#include "cinder/app/AppNative.h"
#include "cinder/gl/gl.h"
#include "cinder/Rand.h"
#include "Mover.h"
#include "Attractor.h"
using namespace ci;
using namespace ci::app;
using namespace std;
class Ex25GravitationalAttractorsApp : public AppNative {
public:
void prepareSettings( Settings* set... |
b6d179e555815404d7b6efdd6df099b3e5440b5c | 2919deaad34e98b368a919b73f68e2f9e2ae10d9 | /Graphic2/Graphic2/SkinnedAnimations.cpp | e61c99dbaf308f96da2321446f1d87e9a2890949 | [] | no_license | Tonykidv2/The2Planeteersandthe1Musketeer | f720a6158fa90eae892c9c52a4ae46df5831ce20 | 50a2b98e31bf5927d7516519d8a3141efbdfbdb8 | refs/heads/master | 2021-01-11T05:20:21.604026 | 2016-11-18T14:32:40 | 2016-11-18T14:32:40 | 71,957,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,981 | cpp | SkinnedAnimations.cpp | #include "SkinnedAnimations.h"
float BoneAnimation::GetStartTime()const
{
// Keyframes are sorted by time, so first keyframe gives start time.
return (float)Keyframes.front()->m_FrameNum;
}
float BoneAnimation::GetEndTime()const
{
// Keyframes are sorted by time, so last keyframe gives end time.
float f = (float)... |
22b154a6ac1ec7eadbce6523f9a1e449b1eafff0 | 5d4753b7e463827c9540e982108de22f62435c3f | /testing/cc/keyset_impl_test.cc | 248adfedc48176f7d4bb161dcd8bb0c4a7bdfbd7 | [
"Apache-2.0"
] | permissive | thaidn/tink | 8c9b65e3f3914eb54d70847c9f56853afd051dd3 | 2a75c1c3e4ef6aa1b6e29700bf5946b725276c95 | refs/heads/master | 2021-07-25T02:02:59.839232 | 2021-02-10T17:21:31 | 2021-02-10T17:22:01 | 337,815,957 | 2 | 0 | Apache-2.0 | 2021-02-10T18:28:20 | 2021-02-10T18:28:20 | null | UTF-8 | C++ | false | false | 6,830 | cc | keyset_impl_test.cc | // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed ... |
af8bf4fe74d228b794d6708cec4ce83d9eb45ab3 | 7b53e837f7a5cc4473d1a4e29af82dbde2d94be4 | /98_writing_classes_in_separate_files_using_define/Person.h | c83c3139e8d6bf0825418d4c1d841dc88fa4ec95 | [] | no_license | Rakshit0404/OOPS-programs-and-explainations-by-me | 62035653d878b1b8cc0454a4e9db4bfd185978ae | 002383a4eff3f2dba61a76a2ae21d462313d541b | refs/heads/master | 2023-07-16T18:21:18.257764 | 2021-09-04T06:32:56 | 2021-09-04T06:32:56 | 395,921,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | h | Person.h | #ifndef PERSON_H//this line is to check if the variable is not defined,
#define PERSON_H//if it is not defined, we define it and then class definition is done.
//this has been dont to avoid multiple declaration of the same classes.
class Person{
public:
Person();
void display();//if we make headers... |
f40de3ce334705389ea86dc3ad14fc8b66635ebc | 98c0eb22dd0c31e7a2b98367070ef770bc67a4fa | /DoublyLinkedList.h | b0b994ddd37ac7672873f44072f64f68aa4c905e | [] | no_license | naryshev/cpsc350-fall2020-assignment4 | b9f7c7d9da7816cc28be9cac49977f0210ae891d | 5f186aff2914d56aaa5a121b3163358ffd5a3b7b | refs/heads/main | 2023-01-21T22:33:21.688132 | 2020-11-19T07:42:39 | 2020-11-19T07:42:39 | 313,548,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | h | DoublyLinkedList.h | /*
Daniel Naryshev
2327209
dnaryshev@chapman.edu
Eshaan Vora
2318955
evora@chapman.edu
Assignment 4 - Registrar Office
*/
#include <iostream>
#include "ListNode.h"
using namespace std;
template <class T>
class DoublyLinkedList {
private:
ListNode<T> *front;
ListNode<T> *back;
unsigned int size;... |
a57e48af6ef799794b6060172f2abd27c1f12797 | 94ebc8ca6afaedfba770785f96f3e16d83ba986a | /GBEmu/MMU.cpp | d3beb69468d80059a3c0c51bf9f5eb587cc2d863 | [] | no_license | Dgrayson/GBEmu | 366a563618bc07a27c7161d8f37cdabc0e04bfaa | 975e87ec207ad208251b932e194f1034c983972b | refs/heads/master | 2021-06-19T06:38:57.866809 | 2021-03-23T22:10:06 | 2021-03-23T22:10:06 | 187,305,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | MMU.cpp | #include "pch.h"
#include "MMU.h"
#include <cstdio>
#include <ostream>
#include <iostream>
MMU::MMU()
{
}
MMU::~MMU()
{
}
short MMU::readByte(short PC)
{
return memory[PC];
}
void MMU::writeByte(short PC, short byte)
{
memory[PC] = byte;
}
void MMU::loadRom(char* fileName)
{
FILE* rom;
fopen_s(&rom, fileN... |
6ca9a3ca1df108be4466328e24b6b794864c5a66 | a373b1c21040d6ed7b12448f53140b41c6983c48 | /Classes/gamebase/U2CocosViewComponent.h | 710e3503d3c8878373810e2aec9d9e4b80b81a34 | [] | no_license | Crasader/mygamelogic | 258bfbd16786065b9007b1a3250591bb617c4879 | 609552035469ebdc8075b55ce9bfed7a03059313 | refs/heads/master | 2020-12-10T04:01:14.607094 | 2016-02-16T08:53:08 | 2016-02-16T08:53:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,806 | h | U2CocosViewComponent.h | //
// CRemoteMsgManager.h
// myGame
//
// Created by jiang on 13-7-23.
//
//
#ifndef __U2CocosViewComponent__
#define __U2CocosViewComponent__
#include "U2Core.h"
#include "U2Mvc.h"
#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include "cocostudio/CocoStudio.h"
U2EG_NAMESPACE_USING
class CocosViewComponent :... |
74553cf5971e8920d6e82d38f51e0919e733fe2f | edab58696afb07657232f17490b24c8e1e11b6c2 | /uva/11388n.cpp | 47142cbb76e70d8b04f12cd95672de5227fa161e | [] | no_license | mhcayan/competitive-programming | cd8e08da67138cfbdcd2d47cd70572a7fc6435fd | f80ab6929a5d2eb780d35679688ea39138cf9e8a | refs/heads/master | 2022-05-27T15:03:46.147224 | 2022-05-22T00:21:29 | 2022-05-22T00:21:29 | 161,851,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | 11388n.cpp | #include<stdio.h>
int main()
{
long c,g,l;
scanf("%ld",&c);
while(c--)
{
scanf("%ld %ld",&g,&l);
if(l%g==0)
printf("%ld %ld\n",g,l);
else
printf("-1\n");
}
return 0;
} |
538cc46a092b51fa007b736afb90ba19ab676871 | 989fbdb229e8d8f93de4dd2e784c520ca837dd15 | /src/base/units/Times.cpp | e17c67cba07d68a6f1bc388324014a3e819242be | [] | no_license | gehldp/OpenEaagles | 3ed7f37d91499067a64dae8fa5826a1e8e47d1f0 | 3f7964d007278792d5f7ac3645b3cd32c11008e3 | refs/heads/master | 2021-01-15T15:58:14.038678 | 2017-08-10T02:35:03 | 2017-08-10T02:35:03 | 2,516,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,533 | cpp | Times.cpp | //------------------------------------------------------------------------------
// Time, Seconds, MilliSeconds, Minutes, Hours, Days
//------------------------------------------------------------------------------
#include "openeaagles/base/units/Times.hpp"
#include <iostream>
namespace oe {
namespace base {
... |
8477130e3d96c59c6ef15f4db14ee22eac76af56 | d4446dd5e3590110225ecff0d273c5effe2e5e76 | /solutions/amazonPowerGrid.cpp | 619267eae48d888cbe50cbfa46c2571591540c87 | [] | no_license | realmelan/leetcode | 7f41dd4cadfe8e55cfbbee8d00c3a2683b74411b | e8d147908dac7e357a22af31921459ee9ed3c5dc | refs/heads/master | 2021-08-19T09:18:20.781322 | 2021-05-05T20:25:56 | 2021-05-05T20:25:56 | 120,499,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,666 | cpp | amazonPowerGrid.cpp | //
// amazonPowerGrid.cpp
// leetcode
//
// Created by Song Ding on 11/12/20.
// Copyright © 2020 Song Ding. All rights reserved.
//
#include "common.h"
using namespace std;
namespace amazonPowerGrid {
/*
// TODO: copy problem statement here
Position: New Grad
Platform: SHL
Location: USA
Date: Aug 2020
Your... |
5597e88903272842b1f8ea775dd388f76158951e | 8b1a8925f22ba204d179540462724b9d986d0ee3 | /container.cpp | dc1bcdadd1678b9915d520b100d90a56877d48ba | [] | no_license | chengzhengqian/CommonJITInterface | 129019ae56675845bcca84c52bb028dcbd5d6421 | 1b4ad8a8695bd6460458e9eb5e21b9fd817beac0 | refs/heads/master | 2020-04-10T01:30:18.362409 | 2018-12-06T18:52:33 | 2018-12-06T18:52:33 | 160,717,805 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | container.cpp | #include <iostream>
#include <map>
using namespace std;
typedef void *MapRef;
extern "C" {
MapRef createMapLL() { return (MapRef) new map<long, long>(); }
void disposeMapLL(MapRef m) { delete ((map<long, long> *)m); }
void setMapLL(MapRef m, long k, long v) {
auto m_ = (map<long, long> *)m;
(*m_)[k] = v;
}
long g... |
4f7e54bff89b50f1fcaf86ac825a667f405dcd8b | 580ca0cde8d78bb908c380bb914e82160e8ff35e | /SDLGame01/Mandel.cpp | 8f10c7699dd2a1c5d4fd1e65d4335feb1c37f2fd | [] | no_license | m-hegyi/sdl-test | 4e43d61b991ddb4022d0d714b260a2842afdea52 | 58cf4a9431eecb797f3b219f8659c7a7e2fb59d3 | refs/heads/master | 2020-03-28T09:04:44.057573 | 2018-09-12T18:58:48 | 2018-09-12T18:58:48 | 148,012,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | Mandel.cpp | #include "Mandel.hpp"
#include <iostream>
bool Mandel::init()
{
m_centerPoint.setX((int)m_width / 2);
m_centerPoint.setY((int)m_height / 2);
m_pixels = new Uint32[m_width * m_height];
memset(m_pixels, 255, m_width * m_height * sizeof(Uint32));
m_resolution = 4;
m_texture = SDL_CreateTexture(m_engine->getRend... |
0fc38d7464b42a367e446c5ac57f46d2d1e6e2f5 | ecd7d2120a0e99c17defdb11ffabc8b237df576c | /cf1265D.cpp | 07353b1ca2a20c1f211139cc73cd67ffacf06dee | [] | no_license | emanlaicepsa/codes | 246735d9b04945ba3511f2bb2f20581abb405ddc | da2fdee786433708251cc8c4fc472e21354a6bc4 | refs/heads/master | 2021-05-20T08:51:38.902467 | 2020-04-01T14:58:51 | 2020-04-01T14:58:51 | 252,206,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | cpp | cf1265D.cpp | #include <bits/stdc++.h>
#define IOS ios::sync_with_stdio(false);cin.tie(0);
#define rep(k,n) for(int k=0;k<(n);k++)
#define rep1(k,n) for(int k=1;k<=(n);k++)
#define fi first
#define se second
#define reset(n,k) memset((n),k,sizeof(n))
#define all(n) n.begin(),n.end()
#define pb push_back
#define vi vector<int>
using ... |
5e9fba1a8044bde594be3bada5ac6bfb16218a7d | af6b7370dcdf9bfccf81d963084b1bbb50a9e714 | /leds.h | 97be6b59e6d305c0d1dc4a5fec2945e8ba61de5c | [] | no_license | maykonsouza/fechadura | 50629426c8c905d854396e273956fa525d9e7a42 | 6afeda421b832fc459ee4459b9099b9f2c010cc9 | refs/heads/master | 2023-06-27T23:31:29.016291 | 2021-07-29T19:45:01 | 2021-07-29T19:45:01 | 386,354,380 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h | leds.h | #ifndef LEDS_H_INCLUDED
#define LEDS_H_INCLUDED
class Led{
public:
Led(int pin);
void init();
void ligar();
void desligar();
private:
int pin;
};
#endif // LEDS_H_INCLUDED
|
b1f042be1e127158d6b241e1f52021bdc03c6c35 | 72ef49782ccd004b8352a8c6db7bca9123a50247 | /src/client/gui/pawscontrolwindow.cpp | 4c819cb28f099ae44f81bcac5abf041c6cc6edec | [] | no_license | joaocc/planeshift-git | 857d55788fcb5eb857f49a54780e39576fb167df | 7d62dd986a35cb591646c9928c4cd4be15e8ba8e | refs/heads/master | 2021-01-19T14:52:50.468518 | 2014-07-25T02:52:06 | 2014-07-25T02:52:06 | 22,362,463 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,135 | cpp | pawscontrolwindow.cpp | /*
* pawscontrolwindow.cpp - Author: Andrew Craig
*
* Copyright (C) 2003 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
*
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation (v... |
2d51f28ffd1005e1bd9ea2aade46cbbbe057f58a | 86229a4a89c0694fbf10952f02831a7c0c968da3 | /dev/sql.h | 080565d8702dde0836ccaf86389b5199e2de48b7 | [] | no_license | ggipson2/seniorcap | ba0852a750e4523f81d33b6f98629ea4102a6c80 | 19666cb5bc003933c73c334773866f79671c6131 | refs/heads/master | 2021-01-21T08:25:09.335496 | 2015-05-13T00:20:52 | 2015-05-13T00:20:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | h | sql.h | /*******************************************************************************
File Name: sql.h
Author: Grant Gipson
Date Last Edited: May 14, 2011
Description: Function prototypes for database access
*******************************************************************************/
#ifndef _SQL_H_
#define _SQL... |
321100ef5fe98b0970b01f21d7804a5a82d78927 | 3e3fd47e5955d98f9657dc52ced1ec6aa1571a03 | /worker/include/RTC/RTCP/XrDelaySinceLastRr.hpp | b2a7ec2c8814c16f32694829fdc460dcccbfb825 | [
"ISC"
] | permissive | versatica/mediasoup | f9de556f16d81694e6d776ec2ed9c7d6633c6fee | d6d5fcc9f98a42a5e2f38bd4faaafcbd77960df7 | refs/heads/v3 | 2023-09-01T17:39:26.877961 | 2023-08-30T17:24:33 | 2023-08-30T17:24:33 | 27,918,697 | 5,654 | 1,141 | ISC | 2023-09-14T15:32:28 | 2014-12-12T12:00:36 | C++ | UTF-8 | C++ | false | false | 3,857 | hpp | XrDelaySinceLastRr.hpp | #ifndef MS_RTC_RTCP_XR_DELAY_SINCE_LAST_RR_HPP
#define MS_RTC_RTCP_XR_DELAY_SINCE_LAST_RR_HPP
#include "common.hpp"
#include "RTC/RTCP/XR.hpp"
/* https://tools.ietf.org/html/rfc3611
* Delay Since Last Receiver Report (DLRR) Report Block
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+... |
7b6fc3ba8c728a8b225187a045b657a51b4d07f4 | 26309a202bfc2b61151555b926295e119a0f5d87 | /aibohp.cpp | 66e504fc835a36fd77118869c6dae51abcc6ead5 | [] | no_license | ClearSeve/Old-Codes | 7696ecb9816ac8c972ede66a88dc7a2a3ff3b3be | c2bc55bd94da84d404e6ed3be92b81ffcfbaa74f | refs/heads/master | 2023-03-18T17:13:36.472947 | 2014-10-19T15:19:06 | 2014-10-19T15:19:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | aibohp.cpp | #include<iostream>
#include<cstdio>
#include<cstring>
char s[5005];
int dp[2000][2000];
#define min(a,b) (a>b?b:a)
int main()
{
int t;
for(scanf("%d",&t);t--;)
{
memset(dp, 0, sizeof dp);
scanf("%s",s);
int l = strlen(s);
for(int i = 1; i < l; i++)
for(int j = 0; j < l-i; j++)
{
if(s[ j ] == ... |
be2427906c95ae63c06bcf4cf9cce1b4f1a1c3a7 | 845937fa74a320967ff0f6447f7eedf17c1413cc | /include/ph/Opt/IdentifierFinder.h | 22813fdacdd8fce3695317fe1bbc40852cbedc72 | [
"WTFPL"
] | permissive | lijiansong/Phaeton | 2fa0f813fbeebd8bb188629df3f8f5b4f092206e | 3afcbdd8803eec7f009c7e9febd04c4f1aafee3b | refs/heads/master | 2021-07-10T20:25:52.730911 | 2020-09-04T04:47:08 | 2020-09-04T04:47:08 | 192,645,813 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,245 | h | IdentifierFinder.h | //==--- IdentifierFinder.h - Representation of Identifier expr finder ------==//
//
// The Phaeton Compiler Infrastructure
//
//===----------------------------------------------------------------------===//
//
// This file defines the class IdentifierFinder.
//
//===---------------------------------... |
20ad626714718bc11fa98730bfc1c38d24baedb0 | 1e97a97f123749f5cad346c542f259d0425be3d3 | /util/volleyball-mcsat.cpp | a41f11a4efb2555c070ae37f480b3eaa3499890f | [
"MIT"
] | permissive | waldow90/repel-2 | 3c6b8f63c507d3f790e93ad31bcd7c02ee6fcbcd | e45c40dee951eb7365d5cc9dd827fb270508222c | refs/heads/master | 2021-05-28T01:46:00.809333 | 2012-08-12T00:27:05 | 2012-08-12T00:27:05 | 280,900,091 | 0 | 1 | MIT | 2020-07-19T15:58:43 | 2020-07-19T15:58:42 | null | UTF-8 | C++ | false | false | 27,265 | cpp | volleyball-mcsat.cpp | /*
* volleyball-mcsat.cpp
*
* Created on: Jun 1, 2012
* Author: selman.joe@gmail.com
*/
#include <boost/random.hpp>
#include <boost/program_options.hpp>
#include <boost/iostreams/filtering_stream.hpp>
//#include <boost/iostreams/filter/zlib.hpp>
#include <boost/iostreams/filter/gzip.hpp>
#include <boost/iost... |
48b5630e4c494f55dca0df0ebb45b567906fdc1b | 60e45951f7e82ae52c0d61c7804b5dd271e63e8d | /tests/json_dictionary.cpp | ca28df1401922dc12d2560a293045adb577acc02 | [
"MIT"
] | permissive | Koheiru/gts | 52be27aa959a2f3bdef695b98ea9982908fa60f1 | f708585a8f93597887cbc7f52eaafd18d3ef2147 | refs/heads/master | 2020-05-27T04:36:50.615955 | 2019-06-12T17:07:00 | 2019-06-12T17:07:00 | 188,485,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,446 | cpp | json_dictionary.cpp | #include <boost/property_tree/json_parser.hpp>
#include <gtest/gtest.h>
#include <gts/json.h>
// ----------------------------------------------------------------------------
template <class T>
class JsonDictionarySuite : public ::testing::Test
{
public:
JsonDictionarySuite() = default;
virtual ~JsonDictionary... |
6a6d9bbf10614342188d4bfd4c7c02c2eaa72ad1 | f76ea88828f9598ad53a8bd2d2b39e0c62bae17b | /src/moon9/render/atlas/atlas.hpp | ec38949d7e2eac713aa4febf31684afa6fd8275b | [
"LicenseRef-scancode-warranty-disclaimer",
"Zlib",
"MIT"
] | permissive | xingjilin/moon9 | 61c7c3cbb8b85d5587b020d311355404283c599d | d4e1255b1517744e0e74dc05d5967aba7fdcbe4f | refs/heads/master | 2020-05-01T03:08:37.991393 | 2015-05-10T15:32:12 | 2015-05-10T15:32:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | hpp | atlas.hpp | #pragma once
#include "texture/texture.hpp"
namespace moon9
{
typedef moon9::texturemap atlas;
}
|
56cbe0e318f2220173293b2716ff5becbb75a377 | 386025f7751e3b7c9a4442aea936410e89f0bb78 | /confirmcalculator.h | ec314060d3781df39c4d919609c0b29054c33184 | [] | no_license | ArtemHodeev/Gidrolog | cdb741b501a9655541fe959d5234eba7058c10aa | ec5cb800d34058e578e95bccfa71c3dc499c9e6b | refs/heads/master | 2020-04-27T20:35:06.142336 | 2014-06-24T12:13:42 | 2014-06-24T12:13:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | h | confirmcalculator.h | #ifndef CONFIRMCALCULATOR_H
#define CONFIRMCALCULATOR_H
#include <QDialog>
#include <confirmcalculatormodel.h>
#include <QItemSelectionModel>
namespace Ui {
class ConfirmCalculator;
}
class ConfirmCalculator : public QDialog
{
Q_OBJECT
public:
explicit ConfirmCalculator(QWidget *parent = 0);
~ConfirmCal... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.