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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb9b5fe5329e5361f97298fb14109338860a557e | d4e74a538776e5ab8d3c243b942c6969aaedf468 | /GameClient/GameStateSearching.cpp | 1e748f289ddd95850ee65c1db253039fdab5418e | [
"BSD-3-Clause",
"MIT",
"Zlib",
"Libpng",
"X11"
] | permissive | SamirAroudj/BaseProject | 4d53eecd7c7b06f61c351afdcbb543b991f11435 | 50ede52bd6fa7b20d6ecb8a11bc1193ef841d91d | refs/heads/master | 2021-09-26T17:35:53.171748 | 2018-10-31T22:02:40 | 2018-10-31T22:02:40 | 104,905,749 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,812 | cpp | GameStateSearching.cpp | /*
* Copyright (C) 2017 by Author: Aroudj, Samir, born in Suhl, Thueringen, Germany
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the License.txt file for details.
*/
#include <sstream>
#include "FontManager.h"
#include "Game.h"
#includ... |
031ba26cccb0d1cab4f91f074ced8fc3d9a751f5 | df6d96ba17dc9765770f587a1e04d9880925b2f8 | /src/mntNcFieldWrite.cpp | ba270d768292456492b446593dccdbcaba27c76c | [
"0BSD"
] | permissive | pletzer/mint | 300c7e460453afba3fae4ccc8d04e12bf48341d3 | 50c2c66bce5e09cf14f9f244da67ab4be84fbe5b | refs/heads/master | 2023-08-08T08:38:20.361042 | 2023-07-31T07:18:37 | 2023-07-31T07:18:37 | 130,304,591 | 6 | 4 | 0BSD | 2023-07-31T07:18:38 | 2018-04-20T03:36:44 | C++ | UTF-8 | C++ | false | false | 5,694 | cpp | mntNcFieldWrite.cpp | #include "mntLogger.h"
#include "mntNcFieldWrite.h"
#include <cstdio>
#include <cstring>
#include <netcdf.h>
#include <iostream>
LIBRARY_API
int mnt_ncfieldwrite_new(NcFieldWrite_t** self,
const char* fileName, int fileNameLen,
const char* varName, int varNameLen,
... |
32838b5b3a78a5063bc966a837d2168516232836 | d7c86291772d3108c69051b2e6b9de7ec38fe5b9 | /msvc/run_tests/run_tests.cpp | 7b9b527c60ac3f98c8a10e8db87e476401590412 | [
"BSD-3-Clause"
] | permissive | galacticstudios/picoc | b77f734aa93038b9b43150d3516889dfd7510c0c | 0e2c492aedfecccc8a631cc796dffeebcd4504d0 | refs/heads/master | 2020-12-25T05:51:59.706647 | 2015-08-17T15:09:02 | 2015-08-17T15:09:02 | 40,515,133 | 7 | 0 | null | 2015-08-11T01:42:14 | 2015-08-11T01:42:14 | null | UTF-8 | C++ | false | false | 5,117 | cpp | run_tests.cpp | // run_tests.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdlib.h>
#include <sys/stat.h>
#include <direct.h>
static int TestDirectory(char *dir, char *picoc);
static int TestFile(char *fileName, char *picoc);
static int ValidateResults(char *expect, char *outp... |
4557d26afabc2527e57e724f44149050021c1133 | 868436c93c3c9e29b37e837260d0b29a0b02da08 | /yagi/src/scope.cc | 1f960de7d4833e35e3258164d342f528bb8dbeae | [
"Apache-2.0"
] | permissive | BadSugar/Yagi | 34cba2947b07e535ce4c9bf5a7e75ca9ef221e0d | 1b258eb2cd04409e781b8848e6c718ccb877098a | refs/heads/main | 2023-09-04T05:22:46.105450 | 2021-11-04T17:12:41 | 2021-11-04T17:12:41 | 430,242,116 | 1 | 0 | Apache-2.0 | 2021-11-21T00:46:54 | 2021-11-21T00:46:54 | null | UTF-8 | C++ | false | false | 13,816 | cc | scope.cc | #include "scope.hh"
#include "symbolinfo.hh"
#include "base.hh"
#include "exception.hh"
#include "typemanager.hh"
#define UNIMPLEMENTED throw UnImplementedFunction(__func__)
namespace yagi
{
/**********************************************************************/
YagiScope::YagiScope(uint8_t id, YagiArchitecture* ... |
9d40b31988de74e89f0e6486ded04bd7b779187a | 59c47e1f8b2738fc2b824462e31c1c713b0bdcd7 | /001-Qt_QML_Concerning/build-TestAnimation_Arrow-Desktop_Qt_5_7_1_GCC_64bit-Debug/qrc_qml.cpp | 57b16a755820b84ac0f92250e3a9c087b9e4e0c3 | [] | 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 | UTF-8 | C++ | false | false | 54,384 | cpp | qrc_qml.cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.7.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsig... |
317d39cfc1d8807139fe06ebd7014086a4ab2194 | a42d43d34ac0b14caf8319136d8823c61f93cb13 | /cpp-strings/cpp-strings/cpp-strings.cpp | db8321775e85117a9c587caa6e18ee7f34fad86a | [] | no_license | RAStoychev18/c--strings | 65a1f92855d1f5a37cf5f167bc8cea9c10e6e5ab | ff78589f45ee8da6a567a6d5871e3fd49d1fc3b6 | refs/heads/master | 2022-10-26T09:06:17.963290 | 2020-06-12T20:20:08 | 2020-06-12T20:20:08 | 270,653,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | cpp-strings.cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <ctime>
#include "Functions.h"
#include "DataTypes.h"
using namespace std;
int main() {
srand(time(NULL));
Genre geometry, animals, food, transoprt, sportsAndGames;
ifstream geo, ani, fod, trans, sport;
SetupFiles(geo,... |
0053e34d7fb74d5ac6d3f7363ef47aa447525f14 | f8d41b5c66e8daa27121824bbb16cc827a785cc2 | /Code/GraphMol/MolStandardize/Wrap/Tautomer.cpp | 6979f6a4d4e3ec0ca4501cc14709aaea6b34fd00 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | greglandrum/rdkit | 56a0e6531dd187308489122aaa67aa9907f9635e | 0eacf4824833b31a49de7fa7ad3ae00c946b7f14 | refs/heads/master | 2023-08-31T23:59:33.246643 | 2023-03-23T09:57:25 | 2023-03-23T09:57:25 | 40,303,040 | 3 | 3 | BSD-3-Clause | 2023-09-07T11:01:54 | 2015-08-06T12:14:42 | HTML | UTF-8 | C++ | false | false | 20,959 | cpp | Tautomer.cpp | //
// Copyright (C) 2020 Greg Landrum
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#define NO_IMPORT_ARRAY
#include <boost/python/suite... |
1bd01d2300cab1bdddabaa7c60af5be84178d1fa | ddc6f9bbae74b509480cc3296c48d80c663bb133 | /HelloWorldCPP/PurchaseOrder.cpp | c0cb74b989513895bbc1f9f324b2c8812e54af4e | [] | no_license | suwatch/cfexts | 07c96a54fa30582290f2879a7bbd2dd6ef0db820 | 73f59991639fb6f03244c106afaea0b8b7595a8b | refs/heads/master | 2016-08-03T19:26:42.726058 | 2013-05-05T01:05:14 | 2013-05-05T01:05:14 | 9,862,136 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | PurchaseOrder.cpp |
#include "stdafx.h"
#include "PurchaseOrder.h"
PurchaseOrder::PurchaseOrder(int id)
{
this->Id = id;
}
PurchaseOrder::~PurchaseOrder()
{
}
void PurchaseOrder::Print()
{
printf("PurchaseOrder: Id=%d\n", this->Id);
}
|
15614265672add90ec5c794ba4ea6d99ed362583 | 02b187d56a2c6a71480135fcc4d24d0903c37ebe | /Baekjoon/7569.cpp | b4bcf49efcf67d72e366dba5c0829ad7e63a55f1 | [] | no_license | mbkim95/Algorithm | 13fdab15746dbeddd147986a56f4452430cc5963 | 5cb9ad2a8af9079725782b98ed068c711501f596 | refs/heads/master | 2023-04-27T20:33:04.569574 | 2023-04-16T02:50:50 | 2023-04-16T02:50:50 | 154,241,473 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,327 | cpp | 7569.cpp | #include <iostream>
#include <queue>
using namespace std;
struct tomato {
int x, y, z;
};
int n, m, h, mt, map[101][101][101], v[101][101][101];
const int dx[] = {-1, 0, 1, 0, 0, 0}, dy[] = {0, -1, 0, 1, 0, 0}, dz[] = {0, 0, 0, 0, -1, 1};
queue<tomato> q;
int bfs() {
int day = 0, cnt = 0;
if(cnt == mt) return... |
69c36a65fd45729d6fce11f305570ceb6ea825ce | 208ad0069c81125951007be2f8f9d7613c1b8a98 | /processor.cpp | 101729019d7993c89b99d0501f57914a377a88dc | [
"MIT"
] | permissive | xiaohaoxiang/temu | 97c95c837f4b440753d08207eea4175b9f7a3949 | 7adba793ef650c79cd8c7b86a04e19751db25534 | refs/heads/main | 2023-02-07T08:15:33.173791 | 2020-12-30T09:37:33 | 2020-12-30T09:37:33 | 311,633,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,287 | cpp | processor.cpp | #include "processor.h"
#include "defs.h"
#include <cstring>
#include <limits>
const char *const regname[] = {"$zero", "$at", "$v0", "$v1", "$a0", "$a1", "$a2", "$a3", "$t0", "$t1", "$t2",
"$t3", "$t4", "$t5", "$t6", "$t7", "$s0", "$s1", "$s2", "$s3", "$s4", "$s5",
... |
5d900c982e23f689aca348d22fe486b3392e8f5c | 592c8ae293cfc4418b086226843bdeeeeae60899 | /2020S/Luogu/P1022.cpp | e70a4e936900fd79b209e25287123600460483f4 | [
"MIT"
] | permissive | Magic-Xin/Coding | d60c342c56be9e790b612d76b4c4ea77e8f33437 | 19a27cf248069b92a1ef6fbc26effce5dd984221 | refs/heads/master | 2022-11-25T03:34:35.328418 | 2022-09-05T11:24:29 | 2022-09-05T11:24:29 | 209,703,898 | 15 | 2 | MIT | 2022-11-22T10:13:25 | 2019-09-20T04:15:48 | C++ | UTF-8 | C++ | false | false | 1,080 | cpp | P1022.cpp | #include<bits/stdc++.h>
#include<stdio.h>
using namespace std;
char c,a;
int f = 1, now = 1, k, b, x;
bool r;
double sum;
int main(){
while(cin >> c)
{
if(c == '-'){
b += now * f * x;
x = 0;
f = -1;
r = 0;
}
if(c == '+'){
b +=... |
7605c8324b37935c11e55ae29de64f75fb569728 | 4d1a438ee0c80053e33431d10683ce4872118957 | /mugshot-dependencies/trunk/airbag/src/client/mac/handler/exception_handler_test.cc | 0fbe1d82c0b13ef4ddda59be735d80ec6730719b | [
"BSD-3-Clause"
] | permissive | nihed/magnetism | 7a5223e7dd0ae172937358c1b72df7e9ec5f28b8 | c64dfb9b221862e81c9e77bb055f65dcee422027 | refs/heads/master | 2016-09-05T20:01:07.262277 | 2009-04-29T06:48:39 | 2009-04-29T06:48:39 | 39,454,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,177 | cc | exception_handler_test.cc | //
// Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of cond... |
842b32c22d73c93c9807d1fb03cf6f632d0dba1c | cfd8c061954fc604f9683ef5eb3adaa02230214e | /solutions/pairs_of_songs_with_total_durations_divisible_by_60.cpp | a7e4ff8fb50d62d0f8ee19ed75c4097e8a2a151f | [
"Apache-2.0"
] | permissive | kmykoh97/My-Leetcode | fe976b4069f8aff564ee6d2af626c94b88f83e04 | 0ffdea16c3025805873aafb6feffacaf3411a258 | refs/heads/master | 2023-01-28T03:59:05.516327 | 2020-12-11T14:00:57 | 2020-12-11T14:00:57 | 263,032,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,070 | cpp | pairs_of_songs_with_total_durations_divisible_by_60.cpp | // You are given a list of songs where the ith song has a duration of time[i] seconds.
// Return the number of pairs of songs for which their total duration in seconds is divisible by 60. Formally, we want the number of indices i, j such that i < j with (time[i] + time[j]) % 60 == 0.
// Example 1:
// Input: time ... |
a3305d3b84437b03c244d46f09156a8419fee22a | 51be8db88a49f7bebeefddf431faff6048ac4f37 | /xpcc/src/xpcc/architecture/platform/avr/atmega/analog_sensors.hpp | 5fe7be65dc67557a3929e4604b88c17a550206d9 | [
"MIT"
] | permissive | jrahlf/3D-Non-Contact-Laser-Profilometer | 0a2cee1089efdcba780f7b8d79ba41196aa22291 | 912eb8890442f897c951594c79a8a594096bc119 | refs/heads/master | 2016-08-04T23:07:48.199953 | 2014-07-13T07:09:31 | 2014-07-13T07:09:31 | 17,915,736 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,396 | hpp | analog_sensors.hpp | // coding: utf-8
// ----------------------------------------------------------------------------
/* Copyright (c) 2011, Roboterclub Aachen e.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... |
ea39142df11cddd181dbadbd41f3f0aeb2347947 | 500670c60a356af799e55f73952b4462e0fb744b | /libraries/uartnet_link_layer/link.cpp | 49d19c0bad46bb2e4eb9f0f46b64b75d06a8fd24 | [] | no_license | bowen-liu/P2P-UART-Network | d8d23ee167cb39cdc1711e51c85a21007e596816 | 474806358c4d1165fe25b4fff7e2ac0f97185303 | refs/heads/master | 2021-09-10T23:00:07.912864 | 2018-04-03T19:20:18 | 2018-04-03T19:20:18 | 83,370,286 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,954 | cpp | link.cpp | /*This file must be declared as a .cpp file since it uses the HardwareSerial Object from Arduino's library*/
#include "link.h"
/*******************************
Initialization
*******************************/
void link_init(HardwareSerial *port, uint8_t my_id, LINK_TYPE link_type, LINK *link)
{
link->port = port;
... |
280fb544a68fad025a082d29db086a7caf9c6275 | 08189f1de22be2d632a5bf0d1ff086d893517c9b | /src/cec_wrapper.cpp | 801bcbe835879bf2e38db4e03e01b63cc70354f8 | [] | no_license | runoshun/rpi-event-monitor | 11f2c08d44b527c2fa43ec533c7ce72f5bb4fa40 | b9954d4bfbcd754d20321160ef11373bb4889a6e | refs/heads/master | 2021-01-21T13:21:40.098614 | 2016-05-22T06:42:43 | 2016-05-22T06:42:43 | 50,776,896 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,122 | cpp | cec_wrapper.cpp | #include "cec_wrapper.h"
#include <string>
#include <iostream>
#include <stdio.h>
#include <glib.h>
#include <cec.h>
#include <cecloader.h>
using namespace CEC;
namespace RpiEvtMon { namespace Cec {
typedef struct route {
bool is_activated;
} route_t;
route_t* create_route() {
route_t... |
c8c76d5bfe42f1841aabd4805a88ae4cb33c854c | 00840c5da67b07a7c9b3488a292ec2aaa1616be3 | /ch09/ex9_22.cpp | e262daf15c5de4c54e14f2f61b8616809ff616d9 | [
"CC0-1.0"
] | permissive | TychoMagneticAnomaly-1/Cpp-Primer | db6609800967e1d00a08af8828694862c36e5e64 | 6cdcda3627fc5cea0ee490d63cf36f6d0238443d | refs/heads/master | 2022-02-26T20:11:08.476530 | 2022-01-16T08:19:49 | 2022-01-16T08:19:49 | 250,958,969 | 1 | 0 | CC0-1.0 | 2020-03-29T05:14:22 | 2020-03-29T05:14:22 | null | UTF-8 | C++ | false | false | 451 | cpp | ex9_22.cpp | #include <iostream>
#include <vector>
void double_and_insert(std::vector<int>& v, int some_val)
{
auto mid = [&]{ return v.begin() + v.size() / 2; };
for (auto curr = v.begin(); curr != mid(); ++curr)
if (*curr == some_val)
++(curr = v.insert(curr, 2 * some_val));
}
int main()
{
std::v... |
fc87cd6f8572f355ec8036c37c68e615c8f55d69 | f551416f5cea25ed50fadfe8ecc51e49edb14b61 | /Arduino/EmoT_LED_Test/PoseDetector.h | 19b985d9a12f778e92be2de89828429045de4d08 | [] | no_license | 0x0c/EmoT | cf72528e74f210c4fef6441202788e48e8ef57a7 | cddb9b91d5537b9757d2d17574fee59252e7570b | refs/heads/master | 2020-12-30T20:27:06.870076 | 2017-09-01T11:26:51 | 2017-09-01T11:26:51 | 96,243,056 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,002 | h | PoseDetector.h | // class PoseDetector {
// public:
// enum Pose {
// question,vsign,arm,standing,beer,sushi
// };
// static double classify(int i[5])
// {
// double p = -1;
// p = PoseDetector::N139c75e935(i);
// return p;
// }
// static double N139c75e935(int i[5]) {
// double p = -1;... |
913cfb68f9295ff9588890f3c49ee5bb90581794 | a19ee98b6d7a5a699770980df02d30169cd1af52 | /Service/Scanner.cpp | 014a43ebcf64f4c087a05be22663381b5aa811ba | [] | no_license | KirinatorMAN/Antivirus | 3ba8b0d4d3038776a2984d9defac09e9478cec96 | e66e13c032ba86a59a46a5e18f046d381ff62c8a | refs/heads/master | 2023-04-08T23:20:43.597410 | 2021-04-22T14:15:47 | 2021-04-22T14:15:47 | 353,634,427 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,879 | cpp | Scanner.cpp | #include "Scanner.h"
#include "PipeNamesBuffsizesPaths.h"
bool Scanner::shouldStop = false;
Scanner::Scanner(std::shared_ptr<InformationStorage> infoStorage)
{
this->infoStorage = infoStorage;
}
message Scanner::scanDirectory(const std::string& path, HANDLE pipe)
{
message result;
namespace fs = std::filesystem;
... |
013f0cfa59460323cd935f757e7e5c1c425910cc | 247611a46841ab59d7f5776352a3731bf4ae62da | /Source/core/animation/IEexecute.cpp | 47f4a74d3013ef49ea9463d9c69dc08a8aa70e78 | [] | no_license | ComeOnSweetCandy/Iridescent-Game-Engine | d002cb4ec5c558fe713767db1d0a717b2204c9b0 | d815d610975ca9a6ba29c235fccb195ad31f3edf | refs/heads/master | 2020-03-28T20:08:44.878661 | 2017-10-13T10:03:16 | 2017-10-13T10:03:16 | 94,608,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | IEexecute.cpp | #define __IE_DLL_EXPORTS__
#include "IEexecute.h"
IE_BEGIN
IEExecute::IEExecute()
{
}
IEExecute::~IEExecute()
{
}
void IEExecute::Initialization()
{
}
IEExecute * IEExecute::Create()
{
IEExecute * object = new IEExecute();
object->Initialization();
return object;
}
void IEExecute::CompletedAction(IENode * n... |
e0e3cbd24ffb0a4b801f26d7a70f92d725f9dd45 | 922656620794f16b7562197d9a8cb77ee629b771 | /src/place.h | ca3a5adf705d1a92c7bb518ee5826a7d649048fd | [] | no_license | rahenri/blackbit | f7bd36e91708d2b7e2fd94098556286e6ccc6c18 | 42d924c5aa605a28ed583596ebc391208ae24de6 | refs/heads/master | 2021-06-18T21:50:52.360579 | 2021-06-10T14:35:38 | 2021-06-10T14:35:38 | 193,802,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | h | place.h | #pragma once
#include <numeric>
struct __attribute__((__packed__)) Place {
public:
inline Place() : _place(0) {}
/* not BB */
inline int8_t line() const { return _place >> 3; }
/* not BB */
inline int8_t col() const { return _place & 7; }
/* not BB */
static inline Place of_line_of_col(int8_t lin, int... |
4d743071281b6565a038831d0159a101995ea7d1 | bf8cafe7e308686e2062fea7cd7f6133ac9c0093 | /leetcode/assign_intialize.cpp | a7c98f4cbad91f18ce28f056ff7b76f4da017ee5 | [] | no_license | dheerajkhatri/bajinga | 0d5ee1e735bb41956894e7fec02a587a204584b8 | 83dd43c99a99666c4b25f7fe9ccbffedcaddb38f | refs/heads/master | 2020-12-14T07:31:32.875274 | 2015-10-18T18:22:02 | 2015-10-18T18:22:02 | 43,668,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | cpp | assign_intialize.cpp | #include <bits/stdc++.h>
using namespace std;
class point{
public:
// point(double x, double y){x=x;y=y;} //simple assignment (not initialization)
// point(){this->x=0;this->y=0;} //self refrential method (doctor who :P)
point() :x(0.0),y(0.0){} //intializer list must for const variables
private:
... |
90702be28591caab123c89ed5215917033f68a26 | 79a634d9357a750cbd0efea04d932938e1b7f632 | /Contest/ACM/2010_bak/MULTIPLE_2010/BJTU/problems/J.Chain/pchain.cpp | b0477ca64d6026d2370012828431e34aa85fb878 | [] | no_license | hphp/Algorithm | 5f42fe188422427a7762dbbe7af539b89fa796ed | ccbb368a37eed1b0cb37356026b299380f9c008b | refs/heads/master | 2016-09-06T02:24:43.141927 | 2014-05-27T00:49:44 | 2014-05-27T00:49:44 | 14,009,913 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,089 | cpp | pchain.cpp | #include<cstdio>
#include<cstring>
#include<iostream>
#include<vector>
using namespace std;
const int maxn=300010;
struct node{
int left,right,father;
int x;
int total;
bool reverse;
};
int n,root,now;
node a[maxn];
void leftrotate(int y){
int x=a[y].father;
a[y].father=a[x].father;
if... |
64c3769212799101e0f3929aced563c5b9fcf774 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/AssetBundleImportJobDataSetOverrideParameters.h | e4bd6ad0b1079c01757f8aaa37a46e312ef4bb30 | [
"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 | 4,120 | h | AssetBundleImportJobDataSetOverrideParameters.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
... |
4a40297e1fa744615597f4c990ebcaf8191816c8 | c1eaae8ae7eaef0d1d6313d039ab46636bb850f3 | /src/scenes/ConnectControllerScene.cc | 1e9bd4338db94f13cd654617f78fe371d5ce406c | [] | no_license | JoaoBlimping/pigEngine | dbba540eb97628cff04f76edefa0ef1da3a80949 | d4311f72eae8c33e23d08a33027534e19e1ec79a | refs/heads/master | 2021-05-31T12:15:57.656475 | 2016-01-21T04:01:06 | 2016-01-21T04:01:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cc | ConnectControllerScene.cc | #include "ConnectControllerScene.hh"
void ConnectControllerScene::logic(float deltaTime)
{
//TODO: make it be able to end
}
void ConnectControllerScene::render(SDL_Renderer * renderer,float deltaTime)
{
//do a nice background colour
SDL_SetRenderDrawColor(renderer,100,100,255,255);
SDL_RenderFillRect(renderer,NU... |
4c73a29cb075e4890c37970803ed5627ee086a52 | 2c9e0541ed8a22bcdc81ae2f9610a118f62c4c4d | /harmony/tests/vts/vm/src/test/vm/jvmti/funcs/RedefineClasses/RedefineClasses0106/RedefineClasses0106.cpp | c14c12df926aa87413418513293be0be18204409 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | JetBrains/jdk8u_tests | 774de7dffd513fd61458b4f7c26edd7924c7f1a5 | 263c74f1842954bae0b34ec3703ad35668b3ffa2 | refs/heads/master | 2023-08-07T17:57:58.511814 | 2017-03-20T08:13:25 | 2017-03-20T08:16:11 | 70,048,797 | 11 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 9,556 | cpp | RedefineClasses0106.cpp | /*
Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable
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... |
4c3f509d2fdd0329889c101dfcf115047d9850a5 | 5254b5e2bc646f00dd49538dffae4ca81e81078a | /device/deviceController.cpp | 85abd0c797455f3569c407a86d9c60a272b9e258 | [] | no_license | happydpc/Conf_lls_QML | 48700258dbe70b0fb188b149526029d47ccd3875 | a350f1b2391f666b27d059d13b174cdca5d7ef90 | refs/heads/master | 2021-10-08T13:11:27.422071 | 2018-12-03T08:50:24 | 2018-12-03T08:50:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,519 | cpp | deviceController.cpp | #include "deviceController.h"
#include "device/Progress_TMK24/Progress_tmk24Service.h"
#include "device/Progress_TMK24/Progress_tmk24.h"
#include "device/Nozzle_Revision_0_00_Oct_2018/Nozzle_Revision_0_00_Service.h"
#include "device/Nozzle_Revision_0_00_Oct_2018/Nozzle_Revision_0_00_Oct_2018.h"
DeviceController::Devic... |
604c624ef51b86b38f9f0735175fd193b91336c2 | 5ce1e1a28e97a610cdde9ef98083deceb507dcaf | /pathfinder.h | a8f844efa3a0e89bc2ded5bdd88c5f2d6d32b6e3 | [] | no_license | sahmed586/Pathfinding-Algorithm-Project | b070884748f3bdfa89b4bd6f4374989c3ceb0f80 | a1923a8732bf4650207adf5bcc43326ed7343fd1 | refs/heads/main | 2023-03-06T02:00:24.283095 | 2021-02-26T18:12:55 | 2021-02-26T18:12:55 | 342,659,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | pathfinder.h | // CSC 2110-2111 - Group #7
//Akansha A, Sadia A
// pathfinder.h
#pragma once
#include <iostream>
#include "cell.h"
using namespace std;
class pathfinder{
private:
cell * *map; // pointer to 2D array of cell objects
position currentPosition; // current position in path
void display(); // prints... |
dce4bd2a0e0e2271d4c10f9f51b1d23941eec781 | 584f5184eb0f79e355a4361c19d17ab8c2305f4d | /imu_driver/src/imu_decoder.cpp | 2521af5de53c51cfee0606c6c9f5c189ac2c380c | [] | no_license | yalan2017/imu_driver | 7b91ca5a6d320e1595e7694499db026670861de5 | 1901b64eecde0e30ad33a390cd3fc2f3b7e99ac8 | refs/heads/master | 2021-01-16T19:27:52.372858 | 2017-08-13T11:51:32 | 2017-08-13T11:51:32 | 100,173,132 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,472 | cpp | imu_decoder.cpp | #include <ros/ros.h>
#include <cereal_port/CerealPort.h>
// #include "imu_driver/JY901_frame.h"
#include "imu_driver/JY901.h"
#include "sensor_msgs/Imu.h"
#include "std_msgs/Float64.h"
#include "std_msgs/Int8.h"
#include "std_msgs/Int32.h"
#include "std_msgs/Int8MultiArray.h"
#include "std_msgs/Int32MultiArray.h"
#incl... |
b28b3c2a2e0201b29ed758e60886b48760f5f8a9 | 7bcf78cc75710a949fe581317982724a262defb7 | /sedziak_z7/main.cpp | 4e348633c7f31dcf18181f16f24b1e42d1d23e6b | [] | no_license | Levii01/Studies_exercise | 56a6a94a026ba485e7a3217dfb1dd6d915aca151 | 6f69f1e50d61d5eaddd43058046f6e254f0e4bc4 | refs/heads/master | 2021-01-11T15:56:40.251609 | 2017-01-27T20:13:12 | 2017-01-27T20:13:12 | 79,962,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,956 | cpp | main.cpp | #include <iostream>
#include <cstdlib>
#include <fstream>
#include <iomanip>
const int n=6;
const int A=1965, B=1980;
const double P=800;
struct moto
{
std::string marka;
int rocznik;
double cena;
};
int main()
{
moto S[n];
char litera='s'; // ostatnia litera marki
int licznik=0; // ilosc... |
44ace5dba96c097645435cbcac5b9b2dd2e82155 | d8783a5ca4acb93d9391b8b13e4de1556022f079 | /compare_output.cpp | 932d3fdf75dd90ccc6101e4c8d9d1e2cb46975c4 | [] | no_license | rishitc/External-Sort-Using-Cpp | 416eccabfe064667a8d6bd58b2ac41cbd0fdd48d | 65f14fc5db7577f69c606d0c42c9bcfcfd9a75d3 | refs/heads/master | 2023-02-16T03:38:54.232323 | 2021-01-11T18:35:32 | 2021-01-11T18:35:32 | 328,711,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | cpp | compare_output.cpp | #include <iostream>
#include <fstream>
#include <stdio.h>
using namespace std;
int main(int argc, char* argv[]) {
string input_1 = argv[1];
string input_2 = argv[2];
ifstream input1, input2;
input1.open(input_1.c_str());
input2.open(input_2.c_str());
while (!input1.eof() && !input2.eof()) {
... |
ef4c01a0f5b91054716ff6773eb0a862fbbb9f32 | 2a5db4d9e51d29445f72d1ffd3f98609523b082d | /media-driver/media_driver/agnostic/common/hw/mhw_block_manager.h | 4c7d1d8d79ae234eb806ed20b6536c355ae50cf1 | [
"BSD-3-Clause",
"MIT"
] | permissive | mintaka33/media | 19f26239aee1d889860867a536024ffc137c2776 | 4ab1435ef3b3269ff9c0fa71072c3f81275a4b9d | refs/heads/master | 2021-05-11T04:01:48.314310 | 2018-02-02T03:43:36 | 2018-02-02T03:43:36 | 117,930,190 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,806 | h | mhw_block_manager.h | /*
* Copyright (c) 2015-2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, p... |
e328b6a6c11cf447474f94ad9e4231e94fb0940c | 36006487fbed2c19a2367e968afc11e76a55bb95 | /Codeforces/832B.cpp | a3e662ce3d680bc1b687a9064f863a76e85c4949 | [] | no_license | AkVaya/CP_Solutions | 99bd280470997f048ca2ee9b9dda83488d19ca7e | 60fd900aad28caf34b15b75ce736141dbc074d9f | refs/heads/master | 2021-09-27T13:57:38.897747 | 2021-09-16T16:43:55 | 2021-09-16T16:43:55 | 232,780,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | cpp | 832B.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string s,t;
bool check = true;
unordered_set<char> allowed;
cin>>s>>t;
int q,ind = -1;
for(auto i : s){
allowed.insert(i);
}
for (int i = 0; i < t.length(); ++i)
{
if(t[i]=='*'){
ind = i;
break;
}
}
cin>>q;
while(q--){
cin>>s;
if((ind=... |
007cf2c6968fde581a472a90a297eaa02762087a | ed3a1bfb78362eab5dbed63b529d404f913f031c | /435LGame/main.cpp | 7c69f8b4dd5b5931e2dc49d47f6723c8a99b09cd | [] | no_license | AliAkbarH/435LGame | 6ca4c4c009bc2973eb8560c6af704640c633a9f3 | 02a156a9a5cbccde8e7c072d919eafefba4b826f | refs/heads/master | 2020-03-30T01:39:25.807514 | 2018-12-09T18:09:00 | 2018-12-09T18:09:00 | 150,587,361 | 0 | 0 | null | 2018-11-07T05:46:45 | 2018-09-27T12:59:32 | C++ | UTF-8 | C++ | false | false | 690 | cpp | main.cpp | /**
* \mainpage EECE435L Game
* \author Ali Al Akbar Haidoura
* \author Camille farhat
* \date 9-12-2018
* \brief A game containing two sub-games designed to help kids learn programming
*/
#include <QApplication>
#include <QtWidgets>
#include<QPushButton>
#include<signinwidget.h>
#include<logginwidget.h>
#include<gam... |
431e39874a6373d4512bba83183bdaf96be1f96f | 41bccfc44386c15e239b336b540004abcc024122 | /checkZlib/checkZlib.cpp | 6a953eb9b87a0c7be71d865aca4bd6aca4c16709 | [] | no_license | agangotia/ZlibCompressor | 860275e90c0cd1e40858362d3a357b811c8feeda | 2231d62b061569052e87c4685241c72430290c7e | refs/heads/master | 2021-01-01T17:47:11.912893 | 2013-11-21T18:02:54 | 2013-11-21T18:02:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,647 | cpp | checkZlib.cpp | // checkZlib.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
#include <stdint.h>
#include <string>
#include "CompressionZutil.h"
#define nMaxFileSizeToread 1024*1024*1024
#define nBuffer 16*1024*1024
using namespace carbonite::dedupexperiment;
uint64_t getSizeFor... |
0547985907387176881c800ef60a9b45ec7158e0 | c140db9d127803a03199db78ff5507b503b316fb | /cpp/includes/objects/globals.hpp | 3b4a3aca6e72f81c069bc1257c8852c891a98283 | [
"Apache-2.0"
] | permissive | shangma/rapp-api | dedaf7ed140549568f1e83306b039ae81482a4ae | e842401e1a83754a51874b996646355e627a9b18 | refs/heads/master | 2021-01-23T08:11:23.688892 | 2016-07-01T12:29:01 | 2016-07-01T12:29:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 152 | hpp | globals.hpp | #ifndef RAPP_OBJECTS_GLOBALS
#define RAPP_OBJECTS_GLOBALS
namespace rapp {
/// Common global types
namespace types {
typedef char byte;
}
}
#endif
|
9333c38bbf9aa1420650aa1b7dde8a2567fc8c5e | 8110781934e5ac078ace2430aa5d8d4c91837562 | /libs/ezsat/testbench.cc | f5a91f3fb6863793f28b7b07a7665729127f5624 | [
"ISC",
"MIT",
"LicenseRef-scancode-other-copyleft",
"BSD-2-Clause"
] | permissive | YosysHQ/yosys | 91acb592cb47b8298b115572faa02edfa468c1f0 | 72bec94ef4f0ce8090f22c16cd5163b816e8c698 | refs/heads/master | 2023-09-01T17:46:13.846954 | 2023-09-01T08:15:51 | 2023-09-01T08:15:51 | 7,454,197 | 2,389 | 769 | ISC | 2023-09-13T15:43:31 | 2013-01-05T10:10:48 | C++ | UTF-8 | C++ | false | false | 11,356 | cc | testbench.cc | /*
* ezSAT -- A simple and easy to use CNF generator for SAT solvers
*
* Copyright (C) 2013 Claire Xenia Wolf <claire@yosyshq.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and thi... |
1b23e012bf8e0d4d5f0f384f048cc970efe1f3f5 | 3170ee59b930cdb4612a50f28200c83898f1c272 | /NatureFight/Classes/ResourceManager.cpp | 8147fe345b9fcf37fedd7e95961a10fe4218307a | [] | no_license | DadTraining/YearEnd2019_Group2 | ab3475081cdcada3db89a8d075e19b362b2fcb62 | dc7405b71911c964ea3f11678b4cbf0701afc7c7 | refs/heads/master | 2022-06-24T01:06:15.809715 | 2020-01-17T14:54:24 | 2020-01-17T14:54:24 | 227,056,167 | 0 | 1 | null | 2019-12-17T07:28:43 | 2019-12-10T07:31:46 | C++ | UTF-8 | C++ | false | false | 3,954 | cpp | ResourceManager.cpp | #include "ResourceManager.h"
int ResourceManager::LevelPlayer = 1;
ResourceManager* ResourceManager::s_instance;
ResourceManager::ResourceManager()
{
//s_instance = new ResourceManager[10];
/*m_sprites = new std::map<char, Sprite*>[10];
m_buttons = new std::map<char, ui::Button*>;
m_labels = new std::map<char, Labe... |
6bcdbb8650e62b4003e6fc6d4923226c3eac56be | 057fdc8f0cfe51041878cafebafbef0a3b07360c | /src/ppl/nn/engines/x86/impls/src/ppl/kernel/x86/int64/transpose/avx/transpose_int64_avx.h | 76f7ea681dee765ec0f2e6dde3c207adfed15234 | [
"Apache-2.0"
] | permissive | wonderzy/ppl.nn | 8ca93f7bd4d136b88489674a12fa31544c3217d6 | 7dd75a1077867fc9a762449953417088446ae2f8 | refs/heads/master | 2023-06-06T13:45:00.119077 | 2021-07-01T13:39:47 | 2021-07-01T13:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | h | transpose_int64_avx.h | #ifndef __ST_PPL_KERNEL_X86_INT64_TRANSPOSE_AVX_TRANSPOSE_INT64_AVX_H_
#define __ST_PPL_KERNEL_X86_INT64_TRANSPOSE_AVX_TRANSPOSE_INT64_AVX_H_
#include <immintrin.h>
#include "ppl/kernel/x86/common/internal_include.h"
namespace ppl { namespace kernel { namespace x86 {
#define TRANSPOSE_4X4_INT64_AVX_MACRO() ... |
a5a8d079ad8eab1137ca1010af1252acfdf3c394 | 3243c7bc1378cddae61999265aba70db517ef7a6 | /Sandbox/src/GameLayer.cpp | 423e4856b41a859aabf8309d6b87d70121a181e5 | [] | no_license | francolerch/OpenGLEngine | 175238838269187dea0eb4ab785547f78b21824c | d2a9048b302d69c748d8b094b079941bd2e59177 | refs/heads/master | 2023-06-22T06:12:25.845263 | 2021-07-10T14:08:06 | 2021-07-10T14:08:06 | 234,412,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,356 | cpp | GameLayer.cpp | #include "GameLayer.h"
#include <imgui/imgui.h>
#include "Scene/Components.h"
namespace SANDBOX
{
GameLayer::GameLayer()
: Layer("EditorLayer")
{
m_DirectoryIcon = CreateRef<Texture>("resources/Icons/ContentBrowser/DirectoryIcon.png");
m_FileIcon = CreateRef<Texture>("resources/Icons/ContentBrowser/FileIcon.p... |
6d3a916aa257971149f0182b3a9e92fcb995e12c | 4b7126744844a5da9e93b218e1d85620ec1727ae | /examples/labels.cpp | 6662f7831f87f69189d2956afa4482c255ed366c | [
"MIT"
] | permissive | tonykero/Metasm | e1ad08ded80f3c7e9254db7489f8b79b9c926cef | e3c3db98daf0e5d57489016afe5493add7bd40d9 | refs/heads/master | 2021-01-20T15:18:25.086176 | 2017-06-26T15:25:22 | 2017-06-26T15:25:22 | 82,803,209 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | labels.cpp | #include <Metasm.hpp>
#include <iostream>
using namespace std;
int main()
{
meta::Engine engine(4);
std::string script =
"PUSH 23\n"
"PUSH 23\n"
"JE EQUAL\n"
"PUSH 0\n"
"JMP EXIT\n"
"LB... |
aa0cac6b8bcae64fb1bfc3080332fa12e833ddab | 981098a8731388efb013a9087b2d81cf12d95804 | /tests/asio_queue_suite.cpp | a07aa271e5d9b764413a5de8e9b62c43175da885 | [
"MIT"
] | permissive | mambaru/wflow | ad3a9de04c995ab44b3268adf7f72689382cf49f | 2aeac046e86179a95f22b3abc19b555503fb3a9b | refs/heads/master | 2023-08-30T16:49:42.506412 | 2023-08-03T18:57:47 | 2023-08-03T18:57:48 | 127,921,496 | 2 | 0 | MIT | 2021-04-22T12:31:17 | 2018-04-03T14:32:09 | C++ | UTF-8 | C++ | false | false | 652 | cpp | asio_queue_suite.cpp | #include <fas/testing.hpp>
#include <wflow/queue/asio_queue.hpp>
#include "delayed_common_suite.hpp"
UNIT(asio_queue1, "")
{
boost::asio::io_context io;
auto pq = std::make_shared< ::wflow::asio_queue >(io, 0);
delayed_unit1(t, *pq);
}
UNIT(asio_queue2, "")
{
boost::asio::io_context io;
auto pq = std::make... |
956dd340cbe1a1078e09a41730a3f887dbd1f8de | 61b4f780fab617bc1657814bc9703193774900b1 | /SOURCE/DescriptorEnemy.h | 0ea1fce53da77ac13cfbd2f029a675013b5d9ca6 | [
"MIT"
] | permissive | vplesko/DungeonsOfPain | 2b693cb37f0201f3c962de7b30e56701d736cbdd | cb56c138a12bdc08376a2ba04f02d24527344202 | refs/heads/master | 2022-01-06T05:25:24.139760 | 2018-01-04T12:05:09 | 2018-01-04T12:05:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | h | DescriptorEnemy.h | #ifndef _Descriptor_Enemy_h_
#define _Descriptor_Enemy_h_
#include "DescriptorCombatant.h"
class DescriptorEnemy : public DescriptorCombatant {
public:
std::string handle, name;
unsigned genWeight;
int diff;
std::string textureFileName;
std::string missileTextureFileName;
private:
void apply(const pugi::xml_no... |
ede372fd6709f2c17442586c83ca793e03530d37 | ddeaf3d04e85ece302beaf9e82f83c2ab198fb60 | /scanner/app/Fork/module/PrinterDevice.h | 2b0a395f8d918a3527153eae0381eff382733194 | [] | no_license | waterlemon6/olicom-maxwell | 2382aab0d91f53926e280049de3f2a101b4ad652 | e447d02b10673d63b5bbd3eec667484f37fee340 | refs/heads/master | 2020-05-17T22:58:36.547684 | 2020-01-13T03:15:20 | 2020-01-13T03:15:20 | 184,017,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 669 | h | PrinterDevice.h | #ifndef __PRINTER_DEVICE_H__
#define __PRINTER_DEVICE_H__
#include "Module.h"
#define PRINTER_NOT_ERROR 0x08
#define PRINTER_SELECTED 0x10
#define PRINTER_PAPER_EMPTY 0x20
#define GET_PRINTER_STATUS _IOR('w', 0x21, unsigned char)
#define SET_PRINTER_STATUS _IOWR('w', 0x22, unsigned char)
class PrinterDevice : publi... |
f491199fdfff82ab6ab83466ae6092efd67fbcc6 | 0dc6eaffdb2268cd63ae2986389a3e4d8a242c8c | /4.cpp | 64e3298fbf2dd5eb3fe50b1ccca0750bbfcf6d88 | [] | no_license | sazalHub/Project-Euler | cfa8ca7156204d6a992e7ae891ef1210fa8586fc | b24d96528ced79ce5f704ae46f19751958f2c55b | refs/heads/master | 2021-01-12T10:00:57.951816 | 2019-04-05T18:59:04 | 2019-04-05T18:59:04 | 76,333,085 | 0 | 0 | null | 2016-12-13T07:27:57 | 2016-12-13T07:13:41 | C++ | UTF-8 | C++ | false | false | 1,103 | cpp | 4.cpp | #include<bits/stdc++.h>
#define ll long long
using namespace std;
vector<ll>palindromes;
bool isPalin(ll n)
{
ll num=0,t=n;
while(t!=0)
{
ll r = t%10;
t/=10;
num=num*10+r;
}
if (n==num)
return true;
else
return false;
}
void PalinGe... |
258d9a5424b6c8b267d92b3bc8c902465fdf9b2c | 280b3a71a76defbc2a4df66db7f38b48eff9ba32 | /apps/model.cpp | 7ed61a936b7c6e9ba836ad704662470a9e1be401 | [
"MIT"
] | permissive | yangfengzzz/DigitalRender | 46cc8956767bcc8db28eb3b3513e05af2c1b235a | c8220fe2e59b40d24fe3b33589b4b1c5de5cd3f2 | refs/heads/main | 2023-02-01T18:01:16.587795 | 2020-12-17T13:36:05 | 2020-12-17T13:36:05 | 309,258,567 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | cpp | model.cpp | //
// model.cpp
// apps
//
// Created by 杨丰 on 2020/11/30.
//
#include "model.hpp"
#include <bx/pixelformat.h>
#include <bx/commandline.h>
#include <bx/endian.h>
#include <bx/math.h>
#include <bx/readerwriter.h>
#include <bx/string.h>
#include <bimg/decode.h>
#include "common/entry/entry.h"
namespace vox {
Model::... |
54da7266a75b9122ede8abe66206e9eeee473c5c | 2c5e6a833394d6e9fef94d357e64f1ee90a6acba | /important_problems/2580_sudoku.cpp | 9d43696021a16c166c2ff63105b289977bf1ff64 | [] | no_license | oikkoikk/ALOHA | f2fa91863a01997464f106a65704a6382bc49bd9 | 36b33211ee5d0b350f6d6e6f577bf8922c3e1782 | refs/heads/master | 2023-04-11T19:45:01.017321 | 2023-03-15T15:15:24 | 2023-03-15T15:15:24 | 254,006,898 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,359 | cpp | 2580_sudoku.cpp | #include <iostream>
using namespace std;
#define MAX_NUM 10
int sudoku_size = 9;
int sudoku[MAX_NUM][MAX_NUM];
bool chk_row[MAX_NUM][MAX_NUM]; // 행에 숫자(1~9)가 존재하는지 여부 확인
bool chk_col[MAX_NUM][MAX_NUM]; // 열에 숫자(1~9)가 존재하는지 여부 확인
bool chk_square[MAX_NUM][MAX_NUM]; // 정사각형(3x3)에 숫자(1~9)가 존재하는지 여부 확인
// (x,y)가 몇 번째 정... |
824090b5165655bf2930b3547e516f2d2cad31a5 | d5320e25c6dabe006a89991bf05f2e2f00679c43 | /testsuffixtree/testsuffixarray.cpp | ac4979b4e63956cf05a3354a490d0ca1e0e2c267 | [] | no_license | impr0t/suffixtree | f66597f0f54a88177d8846b2c3585e2f174ff123 | 92458256e0ee939292fda528a4c0fffbd7201d82 | refs/heads/master | 2020-03-08T02:24:05.658656 | 2018-04-11T16:25:35 | 2018-04-11T16:25:35 | 126,114,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | cpp | testsuffixarray.cpp | //
// testsuffixarray.cpp
// testsuffixtree
//
// Created by Brad Lindsay on 2018-04-10.
// Copyright © 2018 Brad Lindsay. All rights reserved.
//
#include "include/catch.hpp"
#include "../suffixtree/suffixarray.hpp"
SCENARIO("Build produces a suffix array.") {
GIVEN("The string = 'ababaa'") {
SuffixA... |
a3f662265f4abd48e06d631c959e97ab87fda413 | df3ac0b513a1826a3a232cb7903ee8c8a5d65b15 | /util/sieve/sieve.h | c9f13283e4091652897f82d849ea4118cc7e5f9e | [] | no_license | rutrum/mn-cpp | 205bf900dc3d6ad9af95e656e5cf859d36fb71d3 | b60da2c35e5f765a7b8606111997c6cec5a655bd | refs/heads/master | 2023-01-04T21:29:50.225979 | 2020-10-22T21:04:21 | 2020-10-22T21:04:21 | 258,602,255 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,317 | h | sieve.h | using namespace std;
class Sieve {
boost::dynamic_bitset<> primes;
public:
Sieve(uint64_t n) {
primes.resize(n + 1);
init_sieve();
}
uint64_t count() {
return primes.size() - primes.count();
}
void print() {
for (uint64_t i = 0; i < primes.size(); i++) {
... |
2c029d56dfd3d322e5b75267c622008f3cfb0764 | c0485eca6176f98f2f879d90b4dbd020c08e120d | /src/game/player/SwordGraphics.hpp | f71f25912579e2cd08086457820036719c7764b6 | [] | no_license | mangannn/slash | 8772ca81d15ab27aeedde03da2276056f46e5aa1 | 926afa45846c7d9310ce24194d6cbffb335526ec | refs/heads/master | 2021-01-09T20:56:02.820532 | 2018-06-21T12:46:07 | 2018-06-21T12:46:07 | 61,660,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | hpp | SwordGraphics.hpp | #ifndef _SWORD_GRAPHICS_H_
#define _SWORD_GRAPHICS_H_
#include <SFML/Graphics.hpp>
class SwordGraphics {
public:
Color swordColor = Color(220, 30, 40);
const static int SWORD_VERTEX_COUNT = 6;
Vertex swordVertices[SWORD_VERTEX_COUNT] = {
Vertex(Vector2f(0, 0), swordColor),
Vertex(Vector2f(0, 0), tintColor(s... |
ed1e70da940189f3d1cda1e5f45cd0e90cca6e87 | a1085d5a40de3f0a12b02c3b728c1ebbfcce515d | /Src/Singleton/Chat.cpp | 62bd5410d5d736f03c4cea3b25824e2ff7d2d493 | [] | no_license | ljwlaji/BattleNet | 0792ce255d7b86c0fa6fd007c0aa96a195346aca | 7d885b4678e39a166572afaa7336847750b3ea00 | refs/heads/master | 2021-01-23T16:53:10.251214 | 2017-06-17T18:25:39 | 2017-06-17T18:25:39 | 93,308,431 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,537 | cpp | Chat.cpp | #include "DataBase.h"
#include "Chat.h"
#include "Log.h"
#include "Config.h"
#include "World.h"
#include "WorldPacket.h"
#include "Opcodes.h"
#include "WorldSession.h"
static Chat* _char = nullptr;
Chat* Chat::GetInstance()
{
if (!_char)
_char = new Chat();
return _char;
}
void Chat::OnStart()
{
sLog->OutLog("聊天... |
22e1031c89b21727f3d226e33c4b00f5685fe509 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /components/search_provider_logos/google_logo_api.h | c8274594403f6809f8e5875c719d4cf8bcd2f0d4 | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,325 | h | google_logo_api.h | // Copyright 2014 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.
#ifndef COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_
#define COMPONENTS_SEARCH_PROVIDER_LOGOS_GOOGLE_LOGO_API_H_
#include <memory>
#include <strin... |
7eafb00e59b2a445b99cc12e8309c1b1f010b8d2 | d8dde07d7c9cf75f7f18a91ab1dd74a4a261a9e7 | /contest/poj/vol_05/1442.cc | 2bc088f53c25d6dbcc3966cb858f0801abbfac8b | [] | no_license | tiankonguse/ACM | 349109d3804e5b1a1de109ec48a2cb3b0dceaafc | ef70b8794c560cb87a6ba8f267e0cc5e9d06c31b | refs/heads/master | 2022-10-09T19:58:38.805515 | 2022-09-30T06:59:53 | 2022-09-30T06:59:53 | 8,998,504 | 82 | 51 | null | 2020-11-09T05:17:09 | 2013-03-25T04:04:26 | C++ | UTF-8 | C++ | false | false | 1,945 | cc | 1442.cc | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>
#include <queue>
#include <set>
#include <map>
#define inf 0x3f3f3f3f
#define Inf 0x3FFFFFFFFFFFFFFFLL
#define maxn 30030
using namespace std;
struct BinaryIndexedTrees... |
bb30e88021b67567be134f4834b0aa838917f0be | d6b4bdf418ae6ab89b721a79f198de812311c783 | /antiddos/include/tencentcloud/antiddos/v20200309/model/CCReqLimitPolicyRecord.h | 158747e484164ab2438705f7b3ab0096fa049c95 | [
"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 | 11,575 | h | CCReqLimitPolicyRecord.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
... |
e25655162cb860c862b621e260a7916d84700be9 | 08a3e4b23b102107781af559533be232a7b7c257 | /desolarized.h | 44b281a1ef417317c21146bbf217dba612e06318 | [
"BSD-3-Clause"
] | permissive | j3parker/desolarized | 03a59f6522aa2cd202f5a073aac1d058dc57bf48 | 1c23afd568fb96a97f37cc799ca8e4485df9ba4e | refs/heads/master | 2021-06-24T02:28:04.338112 | 2016-12-23T18:29:04 | 2016-12-26T20:09:55 | 26,096,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,442 | h | desolarized.h | #ifndef _DESOLARIZED_H_
#define _DESOLARIZED_H_
#include <array>
#include "colour.h"
namespace desolarized {
const LAB kYellow = LAB(79, 10, 65);
const LAB kOrange = LAB(65, 45, 300);
const LAB kRed = LAB(50, 65, 45);
const LAB kMagenta = LAB(50, 65, -5);
const LAB kViolet = LAB(50, 15, -45);
const LAB kBlue = LAB(5... |
2cc1b72e3581037f7b801bbb5ffa26609fa9cec0 | 2377cfa2b0256f0b2cc7a9a23f93e5e717e79473 | /pandey9/personType.cpp | a42dfacd5cdf31bc7407cbe3096abbf4d05d97ef | [] | no_license | sushildevy/CSIS_252 | 2ca82a8c7bd722254e0e62bd7bd72d02ee56f324 | 868055d0687d869e1ef2d9f3c2131d70647368fe | refs/heads/master | 2022-11-14T20:44:28.811667 | 2020-07-06T23:59:55 | 2020-07-06T23:59:55 | 277,673,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | personType.cpp | // File: personType.cpp
// Author: Sushil Pandey
// Program: prog9
// Date: 04/17/2018
// Description:
// This file contains the implementation for a personType class
#include "personType.h"
#include "dateType.h"
#include <iostream>
#include <string>
using namespace std;
ostream& operator<<(ostream& out, c... |
cb7526b6406b769e950a7a328d1ac432a980ce46 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1483488_0/C++/sspa/main.cpp | 49e2ce88b73f52e2451cccc6cfbe3e60dea381ce | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | main.cpp | #include <iostream>
#include <algorithm>
#include <string.h>
#include <stdio.h>
#include <map>
using namespace std;
int a,b;
int work(int x,int k)
{
int h[11]={0};
int i=0;
while(x)
{
h[i]=x%10;
x/=10;
i++;
}
int ret=0;
for(int j=k;j>=0;j--) ret=ret*10+h[j];
... |
30306298e4de0c009cbe4afdbb618a83c028ba77 | 2c3d97d8403dd5b488da4d8ea9c229f916b71849 | /Bluetooth.h | 0465c201786405f163043dae49e8c4b1e80b4c31 | [] | no_license | Bluecane/arduino_app | 27f627e72372348fe1b07accb689ee54342ed985 | 240a5f7e747d4bd63457dbdef4697a9fd399d9e1 | refs/heads/master | 2021-01-21T04:27:39.200810 | 2016-08-06T13:50:20 | 2016-08-06T13:50:20 | 55,557,205 | 0 | 0 | null | 2016-08-06T13:50:21 | 2016-04-05T22:09:00 | C++ | UTF-8 | C++ | false | false | 359 | h | Bluetooth.h | /**
* Bluetooth serial wrapper
**/
#ifndef Bluetooth_h
#define Bluetooth_h
#include "Arduino.h"
#include "SoftwareSerial.h"
class Bluetooth
{
public:
Bluetooth(int pinTX = 10, int pinRX = 11, int vel = 9600);
char send(char msg);
void receive(char (*callback)(char));
bool available();
private:
... |
dd5221f644c425d0a1552df8110d1319267b7576 | 5660ceafa5ed1e2b812d8f85a99bf00971e29d6b | /src/audio/SoundBuffer.h | 65625d906edb8afdfe695d091fd1fb90a0c8fc4a | [] | no_license | markwash/playground | 3a163583d214ada409ded3bd45b57c65aee1efb2 | 63e264a6d136b2de85fe0055ae0f801063b01418 | refs/heads/master | 2016-09-06T12:58:28.768139 | 2011-04-01T18:12:26 | 2011-04-01T18:12:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h | SoundBuffer.h | // Copyright 2011 <Mark Washenberger>
#ifndef SRC_AUDIO_SOUNDBUFFER_H_
#define SRC_AUDIO_SOUNDBUFFER_H_
#include <stdint.h>
namespace pg {
namespace audio {
class SoundBuffer {
public:
SoundBuffer();
explicit SoundBuffer(int size);
~SoundBuffer();
void Init();
int channels();
int16_t *data();
int f... |
c96c284f4c9737ab852a7bcd9617870d1723d530 | 8e56ba44a699f3f5feb44d12ab6356a09bc5a86d | /LearningOpenGL/Project1/SpringForceGenerator.cpp | d6f802ccb77e5f5cbed82ef6a68255cbfc64252a | [] | no_license | rbtres/GamePhysics | 37d85253c8401450145a303c38e7fc0403fe2ca1 | 7f8ed55597ab036584508878da4eed940981e1b9 | refs/heads/master | 2016-09-06T14:34:13.459734 | 2015-04-29T23:30:23 | 2015-04-29T23:30:23 | 29,218,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | SpringForceGenerator.cpp | #include "SpringForceGenerator.h"
#include <cmath>
SpringForceGenerator::SpringForceGenerator()
{
m_k = 5;
}
SpringForceGenerator::~SpringForceGenerator()
{
}
void SpringForceGenerator::UpdateForce(PhysicsObject* object)
{
Vector3D force;
force = object->getPos();
force -= m_AnchorObject->getPos();
float magn... |
0171549f83883f95c4348189d65c0b694cddab02 | 666e2ff7aa1a4bcf3592331062ce774373fe6fa6 | /sip/headers/sip_header_cseq.cpp | d4617e34cff184098822e4d6b9a6f4ee883688f0 | [] | no_license | asyr625/mini_sip | aeffd6e5ea1dafafa817b1137859b41351fe9580 | 12ea4b9a03585b5c7e5b5faeeed0a5bc6a9c19cc | refs/heads/master | 2021-01-20T12:06:33.212419 | 2015-11-24T02:33:26 | 2015-11-24T02:33:26 | 46,761,914 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,527 | cpp | sip_header_cseq.cpp | #include "sip_header_cseq.h"
#include "string_utils.h"
SRef<Sip_Header_Value *> cseqFactory(const std::string &build_from){
return new Sip_Header_Value_CSeq(build_from);
}
Sip_Header_Factory_Func_Ptr sip_header_cseq_factory = cseqFactory;
const std::string sipHeaderValueCSeqTypeStr = "CSeq";
Sip_Header_Value_CS... |
e3a63d8f735b290bf861d325afe8d76af26b0969 | 260bdca70f0c5cc47a61de222faa49fba5f81fbf | /201816040114/Ex03_13/Ex03_13.cpp | 0a60e225ad9618f814e3535d4fa2a50ef07e9e67 | [] | no_license | XueLing-c/Assignment_03 | 354095fb237dd81a25cf8ff7ff454b6fb57ccf52 | 78b1ebe738d3aae0f1254a75c4e325dfb6339035 | refs/heads/master | 2020-09-01T13:32:11.242017 | 2019-11-01T11:06:05 | 2019-11-01T11:06:05 | 218,968,811 | 0 | 0 | null | 2019-11-01T10:59:08 | 2019-11-01T10:59:08 | null | UTF-8 | C++ | false | false | 287 | cpp | Ex03_13.cpp | #include <iostream>
using namespace std;
#include "Invoice.h"
int main()
{
Invoice invoice("C516","to click something",12,13);
cout<<invoice.getPartNumber()<<" "<<invoice.getDescribe()<<" "<<invoice.getSalesAmount()<<" "<<invoice.getPrice()<<" "<<invoice.getInvoiceAmount();
}
|
36d5081562a453dc70e041f4ee6fd81e453b693b | 4cfc6c4425786ac3128af32ed6a7c4d97b154a8f | /libraries/CustomHeaderLibs/tool/out_pin.hpp | e0ba3ce4d2b9b8cf51ddb17e01e901bfcacd0f58 | [
"WTFPL"
] | permissive | mskoenz/arduino_crash_course | 9aa1417daa84442c20de27df11646bd40525d039 | cc7031e827dd13211cb9ce84f6d758f6e635e6a8 | refs/heads/master | 2020-05-16T23:58:43.635800 | 2019-11-18T09:00:33 | 2019-11-18T09:00:33 | 13,575,894 | 0 | 0 | null | 2013-10-24T14:39:30 | 2013-10-14T23:23:07 | C | UTF-8 | C++ | false | false | 1,900 | hpp | out_pin.hpp | // Author: Mario S. Könz <mskoenz@gmx.net>
// Date: 04.07.2013 15:35:23 EDT
// File: out_pin.hpp
/* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The Fuck You Want
* To Publi... |
d1658ad8cc204de4bd45a118ddc8456d9a69c03a | 8776e5e32be27c16c7f8cd2a9a4259b6fb7a012b | /im_server/common/HashList.cpp | 445f5d4ccf236df6a8719912adb4dc5489f5603b | [] | no_license | 736229999/im | 970b9754da2e15fd5cdaaed6ba189e7c497e15e3 | dc00c52e77a99fae28df9dba8366e31b578a7831 | refs/heads/master | 2021-01-15T11:11:56.737294 | 2017-06-14T07:56:44 | 2017-06-14T07:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | cpp | HashList.cpp | #include "stdafx.h"
#include "HashList.h"
HashListItem::HashListItem()
{
m_hashPre = NULL;
m_hashNext= NULL;
m_ListPre = NULL;
m_ListNext= NULL;
}
HashListItem::~HashListItem()
{
}
//////////////////////////////////////////////////////////////////////////
TranPacketItem::TranPacketItem()
{
m_id = 0;... |
20ddf4771144027a9bcadeaa15db066834b509ea | 6394118fe656ead590e5ea8f390b77556ff70905 | /include/test_interface.h | 2946fa70ace7a7ec394e770651870c95aa220c0a | [] | no_license | pdJeeves/MCell-Test-Framework | bcb6bc801dedfa3f954da5a0b4e38c14cb958d25 | a3b807ae5f5a6317854744eba1b845e58ef74b20 | refs/heads/master | 2020-12-24T13:52:34.364129 | 2014-05-02T14:23:28 | 2014-05-02T14:23:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | h | test_interface.h | #ifndef _test_interface_h_
#define _test_interface_h_
#include "scheduler_interface.h"
#include "data_table.hpp"
//working dir - where mcell puts files
//current dir - where we put files
//so only need to know working.
extern int least_edit_distance(const std::string & a, const std::string & b);
template<typename T>... |
07dfd93860ebbc016723da7010d4e44ae48fdc68 | e51cb6b7d8a4e5d370291caecda6dfa5b6a11f1b | /testXML/mainwindow.cpp | f98ee3e5bc03e6465d7760da1faae9b257e5d83a | [] | no_license | xjs-js/QT | 1c3539a43b65651325b990c4c0dcc51cc2e31914 | e2ff83b44e9a07db43f777df96891b9f95c27e98 | refs/heads/master | 2020-07-10T13:34:55.534709 | 2020-05-25T02:05:10 | 2020-05-25T02:05:10 | 204,274,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,413 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "pugixml.hpp"
#include <iostream>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->textEdit->setContextMenuPolicy(Qt::CustomContextMenu);
connect(ui->textEdit, SIGNAL(customCon... |
c4c5a7bb7b78ad0c889c80ae9c09a940bf436f1b | 334eb563a92f30a78c6d4d692ce439e757f3bed2 | /LikatorJurnal/catmaster.h | 6ac282ded4d2bce09fcc3f2dd147793406ebb7e9 | [] | no_license | yrasik1986/Likator | a2e4e3eb7eb8971cf1621f3c8141e3c403ad9c1f | 8ba390a5ba99490a8aee09a37aef19fe9211b98d | refs/heads/dev | 2020-12-21T08:12:08.002592 | 2020-10-18T15:37:32 | 2020-10-18T15:37:32 | 236,368,840 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | h | catmaster.h | #ifndef CATMASTER_H
#define CATMASTER_H
#include <QDialog>
#include <QSqlQueryModel>
#include "addcatmaster.h"
#include "dellcatmaster.h"
namespace Ui {
class CatMaster;
}
class CatMaster : public QDialog
{
Q_OBJECT
public:
explicit CatMaster(QWidget *parent = nullptr);
~CatMaster();
private slots:
... |
46e6579de75b22c43933f71b02e60edaed3f7c57 | 20cf6482b7f5a68bd0029414c02f7ec4747c0c5f | /triton2/server/logic/inc/chat.h | 4004e1bc2fd6dcfcba3aeb9aa7c28afe26dd0657 | [] | no_license | kensniper/triton2 | 732907c76c001b2454e08ca81ad72ace45625f6c | 7ad2a359e85df85be9d87010047a198980c121ae | refs/heads/master | 2023-03-23T02:20:56.487117 | 2017-02-26T00:00:59 | 2017-02-26T00:00:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,495 | h | chat.h | #ifndef _CHAT_H_
#define _CHAT_H_
#pragma once
#include "object.h"
#include "chattype.h"
#include <time.h>
#include "sceneobj_define.h"
#include "scenecfg_manager.h"
//#define SPEAKCOUNT 6
// ********************************************************************** //
// CChat
// **************************************... |
7d1b4abcbc060ed2960ee85352a286b14e9be495 | 218ab40c9f828fc9c65dc2b6017ede7506559d8a | /Hw9/Hw9/main.cpp | ea20c74157429fc712d08ca7549e187361ea3dcb | [] | no_license | antonio7905/Computer-Vision_Hw | 401901edf26bb717311d3d940d569e0a7dba5519 | 37b0a6031d6d71d7b4f208da96d47b93513c325f | refs/heads/master | 2022-10-21T04:24:48.185717 | 2017-06-05T03:17:57 | 2017-06-05T03:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | cpp | main.cpp | //
// main.cpp
// Hw9
//
// Created by Antonio Tsai on 22/05/2017.
// Copyright © 2017 TTU. All rights reserved.
//
// tess.cpp:
// Recognize text on an image using Tesseract API and print it to the screen
// Usage: ./tess image.png
#include <tesseract/baseapi.h>
#include <leptonica/allheaders.h>
#include <tes... |
e9f16164bd7fa35a67f11abae4c319e2443f5094 | a312f03975dd63cc696115af04ee04726364be47 | /client2.0/src/YouMeCommon/MonitorDataReport.h | 8ff5391e6060d9b247ed0ba1f85cf677dbdbed5a | [] | no_license | Andy8871/YouMeIM | 389c679bf37fb73d67654589ba20c21e9dcda0e2 | d69b2ab3a190e99acf221dce1054e298580b6ac7 | refs/heads/master | 2021-01-12T12:58:19.067361 | 2016-10-06T09:26:49 | 2016-10-06T09:26:49 | 70,139,683 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | h | MonitorDataReport.h | #pragma once
#include <YouMeCommon/CrossPlatformDefine/PlatformDef.h>
#include <YouMeCommon/XVariant.h>
#include <YouMeCommon/SqliteOperator.h>
#include <YouMeCommon/XSemaphore.h>
#include <mutex>
#include <thread>
#include <map>
/************************************************************************/
/* 保存了上报的东... |
17cd9043b4995eca6df74b1ef81ef2c0c4e4e06b | dbe8bdc2b3d9d4c13d7fc9c13895f7bcd226db05 | /HuaWei/3明明的随机数.cpp | 54d4b0673d4c88c1082a8ec4abfc1306e6c10508 | [
"MIT"
] | permissive | zl6977/BasicKnowledge | 8740515e786826984c2c7e05e5cdb1d75717637e | 60d361c83243c24407be844dd9201adf83c6a0e5 | refs/heads/master | 2020-05-27T06:38:18.670076 | 2019-01-28T17:13:25 | 2019-01-28T17:13:25 | 188,524,708 | 1 | 0 | null | 2019-05-25T05:29:01 | 2019-05-25T05:29:01 | null | UTF-8 | C++ | false | false | 368 | cpp | 3明明的随机数.cpp | #include "stdafx.h"
#include "HuaWei.h"
#include<iostream>
#include<set>
#include<string>
using namespace std;
int test_3()
{
int num = 0;
while (cin >> num)
{
int value;
set<int> iset;
for (int i = 0; i<num; i++)
{
cin >> value;
iset.insert(value);
}
for (auto m = iset.begin();m != iset.end();m++... |
b8a0c6dbaf70356af8a125193f0352909935b191 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/FilledMapFieldWells.h | ae47d8c445b0a2f346219c7cdd7a933f698d8cb4 | [
"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 | 2,760 | h | FilledMapFieldWells.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/quicksight/model/FilledMapAggregatedFieldWells.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
cla... |
6619a555c0a3ef71ff71e30432725af1dc2582f5 | 21398f93e869699e6bbd73bf2346f538b2b368e9 | /linearprobing-omp/linearprobing.cpp | 09d71ca4cdbbc2c5650148e98638c7d977a4a96e | [
"BSD-3-Clause"
] | permissive | zjin-lcf/HeCBench | fc67fa11d052ca5b9fbaac9ecee3d7a3ab3af08f | e2e13ff587c392361989cece0956d827167aa7b9 | refs/heads/master | 2023-08-18T05:08:57.134834 | 2023-08-14T01:22:41 | 2023-08-14T01:22:41 | 285,634,219 | 89 | 34 | BSD-3-Clause | 2023-09-08T18:28:55 | 2020-08-06T17:44:38 | C++ | UTF-8 | C++ | false | false | 3,982 | cpp | linearprobing.cpp | #include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <vector>
#include <chrono>
#include "linearprobing.h"
// 32 bit Murmur3 hash
uint32_t hash(uint32_t k)
{
k ^= k >> 16;
k *= 0x85ebca6b;
k ^= k >> 13;
k *= 0xc2b2ae35;
k ^= k >> 16;
return k & (kHashTableCapacity-1);
}
// Insert the key/va... |
b4cb8d4617b376332b1af3b4f073006f5ec0f6ae | c8d3961ede782158448a77cd8036ef1330155381 | /TestCommandReader/TestStatementReader.cpp | 07e68bd829fd68bfaaa7cf3332248e08153c88af | [] | no_license | connect2nelson/MerchantGuideToGalaxy | a1e2426c10348a96e96f282dd4e35af3e631d762 | 45e3ed9d3a31da8f33191d254089a0ab0e4b68e8 | refs/heads/master | 2021-05-08T11:27:45.740761 | 2018-02-01T21:46:55 | 2018-02-01T21:46:55 | 119,897,722 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | TestStatementReader.cpp | // TestCommandReader.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "gtest\gtest.h"
#include "StatementReader.h"
#include <string>
using namespace std;
TEST(read_from_file, StatementReader)
{
StatementReader * reader = StatementReaderFactory::getStatementReader("FILE");... |
553aa13bfa3d454bf212404be4da76b66b81cd5f | 28ae1453e6fbb1bd41a0d866eecbe11b4daf1e0f | /src/GOF Four/Behavioral/iterator_/aggregate.cpp | 7355369a2d7ddf42f074bb479303b00e15c642a4 | [
"MIT"
] | permissive | haomiao/DesignPattern | f4a874e273feb6bf8245d6cbd0bc81735ee732d2 | 3841fca5e8f08348e60af42566e57951d7d1c4dd | refs/heads/master | 2021-04-15T12:49:02.635962 | 2019-10-19T04:14:54 | 2019-10-19T04:14:54 | 63,339,913 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | aggregate.cpp | #include "stdafx.h"
#include "aggregate.h"
|
50e5a5776a1bb87a411f9eeed092a02453d133cf | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/multimedia/directx/dsound/dsound/ksvad.cpp | 99b2150fea51c1716f9ce54cb1672521d36f463f | [] | 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 | 152,967 | cpp | ksvad.cpp | /***************************************************************************
*
* Copyright (C) 1995-2001 Microsoft Corporation. All Rights Reserved.
*
* File: ksvad.cpp
* Content: WDM/CSA Virtual Audio Device class
* History:
* Date By Reason
* ==== == ======
* ... |
cd4e0ae781b6b55575bae2d22a95a3dd9e5677b3 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-workspaces-web/source/model/AssociateUserSettingsRequest.cpp | 9442eb4a7fcb743836f601556572368885051d19 | [
"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 | 975 | cpp | AssociateUserSettingsRequest.cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/workspaces-web/model/AssociateUserSettingsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/http/URI.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>... |
64c3bf46c8129bed2f1cdd2dd6fa87dac10833da | 399a6763af6d388ae654c5b28b71a53d60d7d5ea | /modbusMaster.cpp | bf98f9b44048e9d46df64796545914bb819b91dd | [] | no_license | juancarrascom/qt_modbus_demo | 63cd827c1b296b3fdef40b55c9a35edd236d1b0e | 9a57bda9d8625580800aaefaa38c4775ddc1eb91 | refs/heads/main | 2023-08-22T19:26:33.561088 | 2021-10-06T10:29:19 | 2021-10-06T10:29:19 | 414,166,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | cpp | modbusMaster.cpp | #include "modbusMaster.h"
#include <QDebug>
modbusMaster::modbusMaster(QObject *parent) : QObject(parent)
{
qDebug()<<"Init mosbusMaster Class";
}
bool modbusMaster::initModbusSerialMaster(QString portName, QSerialPort::BaudRate baudRate,
QSerialPort::DataBits dataBits,
... |
e73456a7c6753f2977ebcfc42be92573247f1d5a | 40074bb9c41a722e9d5d0384312d7f89df3f05d9 | /backgroundkeepalive/src/main/cpp/keep-alive.cpp | 30e5c39d60faa33d9d7de1880ce1475b790f808e | [
"Apache-2.0"
] | permissive | happyduak/AndroidOpen | 6cd009d91567bcc3831d34da18222f6280b9e2c4 | eacb223b01f8797c883d97000e37d1dc85ce6ab3 | refs/heads/master | 2020-03-22T15:00:29.187630 | 2017-11-09T11:30:31 | 2017-11-09T11:30:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,913 | cpp | keep-alive.cpp | //
// Created by shenhua on 2017-11-08-0008.
//
#include <jni.h>
#include <string>
#include <android/log.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <stdlib.h>
#include <sys/stat.h>
#define THREAD_COUNT 1
#define LOG_TAG "JNI LOG"
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG, __VA_AR... |
fe8e183d19e8268ddd6809af4cb74969b5477f28 | c2f318ed8dd34022421fd13fb378ea54f59d39fd | /source/jit/SpecialFunctions.hpp | 3e0a5e58b48fa68850c47d161bcf23155647ac54 | [] | no_license | dlaxar/cij-vm | a8f030e1cf9277642a4956ab27ff79fe3733391e | c3c6c30572c090c073e20777dec744ef93bcaae3 | refs/heads/master | 2020-03-28T12:27:55.158860 | 2018-09-11T10:35:11 | 2018-09-11T10:35:11 | 148,301,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | hpp | SpecialFunctions.hpp | #pragma once
#include <jit/allocator/memory/HeapAllocator.hpp>
#include <jit/JitEngine.hpp>
#include <interpreter/InterpretEngine.hpp>
#define SPECIAL_FUNCTIONS (8)
#define SPECIAL_F_IDX_ALLOCATE (0)
#define SPECIAL_F_PTR_ALLOCATE &am2017s::jit::allocator::allocate
#define SPECIAL_F_IDX_START ... |
104e09e6ad45f05f30e5f4b856705b9dba8d8d62 | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/chrome_frame/crash_reporting/minidump_test.cc | d8aa653e211a8989f95281401e8b27d83e5379b0 | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 15,581 | cc | minidump_test.cc | // Copyright (c) 2011 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 <windows.h>
#include <dbghelp.h>
#include <objbase.h>
#include "base/basictypes.h"
#include "base/command_line.h"
#include "base/file_util.h... |
226cd77daa3bb765cec445d5a37a5cbbaa9edf73 | 0f9efd5a6c7fc517f5d0b031226b6eab8f03c852 | /ke_mode/winnt/ntke_cpprtl/eh/frame_based/_x86/eh_msvc_internal_data.cpp | a23ec844787b22a59a0ed51e65e0c7bec53e87ca | [
"MIT"
] | permissive | mining8/project_ntke_cpprtl | 612f2d73573115ad452597f6712def0d4fb89319 | f2d3fd36a2c44f968f7b10c344abe7e0b7aa2e4c | refs/heads/master | 2020-04-29T10:39:54.846278 | 2018-04-13T15:35:22 | 2018-04-13T15:35:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,366 | cpp | eh_msvc_internal_data.cpp | /////////////////////////////////////////////////////////////////////////////
//// copyright (c) 2012-2017 project_ntke_cpprtl
//// mailto:kt133a@seznam.cz
//// license: the MIT license
/////////////////////////////////////////////////////////////////////////////
#include "eh_msvc_internal_data.h"
#i... |
5d267779a47970348053f24602d75376295fe582 | a4232c1b0e3c4db8911e4b4565cb4e154e8d3beb | /Devkit-kode/SPI_Interface/SPI_IF.h | 0da47958a44331611fafd72afe88a39df2fe2cf5 | [] | no_license | Kledal/semesterprojekt3 | d197614a55c1f29cf913c45064a52f4877ef1105 | c7a36a4f1c7fd4fd31082d54ad7c131dd52cd4ac | refs/heads/master | 2020-04-30T04:24:33.486539 | 2014-12-08T13:52:42 | 2014-12-08T13:52:42 | 26,537,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | h | SPI_IF.h | #ifndef SPI_IF_H
#define SPI_IF_H
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string>
#include <stdlib.h>
#include <stdio.h>
int getBatIF( ) {
int fd_bat;
int temp_bat;
int len_bat = 3;
char buffer_bat[6] = {0};
fd_bat = open("/sys/class/psoc/psoc1/battery", O_R... |
d3144655f92fcd7abc4e7d5666a318a840a9c187 | ad378a3d14b53b0cda7799ec3a7ac5254d577621 | /test/test/type/param/Function.main.cpp | 7adf7342cb11840f338f8c903acc3ae2689b587f | [
"MIT"
] | permissive | AnantaYudica/basic | 2f537a3eda8f108ed79a8594c87c160beb0b1984 | dcbf8c9eebb42a4e6a66b3c56ebc3a7e30626950 | refs/heads/master | 2021-07-10T01:50:46.784042 | 2020-06-17T08:21:37 | 2020-06-17T08:21:37 | 139,540,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cpp | Function.main.cpp | #include "Test.h"
#include "test/type/param/Function.h"
#include <cstdio>
#include <cassert>
#include <cstring>
char * gbuffer;
#define BUFFER_SIZE 1024
#define EMPTY_CSTR ""
#define VALUE1_INT 14
#define VALUE1_CSTR "14"
#define VALUE2_CHAR '4'
#define VALUE2_CSTR "4"
#define VALUE3_FLOAT 3.14f
#define VALUE3_CST... |
a749afba8d0544fbf5e51dc93f098fa4512c31ed | 144204c519069fe75ecf084a5aefefea142542b7 | /rootfs/rootfs/usr/local/include/argh.hh | d757fbc22ad4df9cb08e08b15171066a99ceb945 | [] | no_license | bopopescu/UnitedSafety | fcb6baf9b3382cc1b45c58079da1dcc33b95d434 | baea1b16c2fd44e224fb9120d026da2535123bd7 | refs/heads/master | 2022-10-10T04:04:58.528055 | 2020-06-11T18:29:19 | 2020-06-11T18:29:19 | 282,259,268 | 1 | 0 | null | 2020-07-24T15:48:24 | 2020-07-24T15:48:24 | null | UTF-8 | C++ | false | false | 4,908 | hh | argh.hh | #ifndef optrar_argh_hh
#define optrar_argh_hh
/* Copyright (C) 1992,2001 Bisqwit (http://iki.fi/bisqwit/) */
/*
* C++ USAGE EXAMPLE
*
#include <argh.hh>
int main(int argc, const char *const *argv)
{
vector<string> files;
string buildfn;
bool worst = false;
ParamHandler Argh;
Ar... |
ed513444277215cd2d304ae45a667bbb867b4918 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/12/U | 92f8477d3acdccf420e0d4a7dae8908662e902e0 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239,311 | U | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | |
257c7ec12d791162ae13b8e0388ea9bcded3d689 | 225b9a9ce807b669f5da0224b374bbf496d0bc70 | /数学/gcd-lcm/at_agc010_d.cpp | 11c0e3c3845ab1746a95c48d11c3c53339c72a25 | [] | no_license | Kewth/OJStudy | 2ed55f9802d430fc65647d8931c028b974935c03 | 153708467133338a19d5537408750b4732d6a976 | refs/heads/master | 2022-08-15T06:18:48.271942 | 2022-07-25T02:18:20 | 2022-07-25T02:18:20 | 172,679,963 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 21 | cpp | at_agc010_d.cpp | ../../at_agc010_d.cpp |
2204294a7ced389de20ae85aa25c591a4dd0855f | cd214f3414c23bda970e3a694654b41c1d05396f | /main.cpp | ae732528a7e548d0c5eb03ae60a4506857df88f6 | [] | no_license | alexferrer17/Assignment4 | f58a572dd719e54532c60522748f4d03b69ab20d | d0019319303f9bd62149216d58770131fa2ce978 | refs/heads/master | 2020-05-07T22:05:32.800922 | 2019-04-12T05:32:00 | 2019-04-12T05:32:00 | 180,931,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | main.cpp | #include "Register.h"
using namespace std;
int main(int argc, char const *argv[]) {
std::cout << "hello from main!" << '\n';
Register programme = Register();
programme.RunSimulation(argv[1]);
return 0;
}
|
378c0f23328930dd330f2b3bba6023ec645c19c4 | 2f646109cb066da0d155e09bb498e0e844d9279d | /include/pages/page-bearing.hpp | 7478fd05ea84a98333845e4990e82f03a5147283 | [
"MIT"
] | permissive | johnheenan/TTGO-T-Wristband | 72b19e7777e0f1d0bc10a0a27aad033472043c33 | 8744fe47c33dd2e04c5e9c0c030cf1cccf41829a | refs/heads/master | 2022-07-04T10:34:33.567829 | 2020-05-05T16:43:35 | 2020-05-05T16:43:35 | 260,613,482 | 2 | 0 | MIT | 2020-05-05T16:43:36 | 2020-05-02T04:28:36 | C++ | UTF-8 | C++ | false | false | 160 | hpp | page-bearing.hpp | #include <Arduino.h>
#include "mpu.hpp"
#include "wristband-tft.hpp"
#include "wristband-wifi.hpp"
void pageBearing(bool initialLoading);
void actionBearing(); |
864d3b63667650f7985023d8851c92bbe6d4ffe4 | bd4ca5d1a4a0cc9674f092fdf8d17ca0d8c9be8a | /senior-detection/build/dox/proto/perf_conf.pb.cc | b53719741b6e00d21c10377e82de362d85a0e055 | [] | no_license | chouer19/cpp_learning | 6b7d8e9fafb9f22cc06943ca061cde381f8134ba | 20fffbe89b6d9608084c5060dcc2d0ec0470c5ae | refs/heads/main | 2023-07-15T06:55:04.414251 | 2021-08-16T16:17:08 | 2021-08-16T16:17:08 | 387,370,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 13,446 | cc | perf_conf.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: dox/proto/perf_conf.proto
#include "dox/proto/perf_conf.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/des... |
b7b62d565bb587a5bdcd9bc42aed98e822a186cf | 6d23f9e7a13f7e474a19d7c643cdf8f3f58a0186 | /headers/m_iii.h | 93aa6001d12645b8dd564c1e1e199dbc90ea06fa | [] | no_license | giodueck/dhips | 9872e228f3b471bd986e24751bc2fa446d9d58c1 | 71fd3aced8145f967f318894c497e4ff0d720b33 | refs/heads/main | 2023-07-02T03:28:57.965788 | 2021-07-28T15:28:36 | 2021-07-28T15:28:36 | 381,145,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,867 | h | m_iii.h | /*
Module III
Description: Chequear si hay sniffers o si el equipo ha entrado en modo promiscuo. No
deben controlar solamente los registros de auditorías, sino también deben
controlar que no existan herramientas conocidas de aplicaciones de captura de
paquetes en ... |
fd9ff15dd7e9fe2a3bd5ea7a976aaeffb1c3b5a2 | cf60d96da2fe37311f367ca826d2b86b76ec2a6c | /遥感图像配准系统/CDibt.cpp | 94dc83b84ec49f0a397399af66fa04e468a85c14 | [
"MIT"
] | permissive | yyywxk/Remote-sensing-image-registration-system | b7e30482d44b6cc05f8db11d5b8cb4082e598685 | 3032e3ceed7cb959aec9a99d64e00ca7443a5d22 | refs/heads/master | 2020-04-06T21:30:28.449011 | 2018-11-17T00:50:14 | 2018-11-17T00:50:14 | 157,805,515 | 0 | 2 | null | null | null | null | GB18030 | C++ | false | false | 7,163 | cpp | CDibt.cpp | //dib.cpp
#include "StdAfx.h"
#include "CDibt.h"
#include "windowsx.h"
#include "afxadv.h"
#include "io.h"
#include "errno.h"
//////////////////////////////////////////////////////////////////////////////////////
//CDib
IMPLEMENT_DYNAMIC(CDibt, CObject)
CDibt::CDibt()
{
m_pBMI = NULL;
m_pBits = NULL;
m_pPalette = ... |
3572d70431753ede289c04c5fcde1056370fe5b5 | d7dff481b013dca2e2622e9e4d39dfd83b29a2ca | /get_image/main.cpp | 6313625b8b7f75ef101a2c3af1fa53faea695ff5 | [] | no_license | guyii54/gazebo-camemra | fe991f39208ad423fd7ef5c1e28e4eb419c304b7 | 5fd7015578d47d53075997fbc391155c83c5631b | refs/heads/master | 2020-04-27T04:03:16.394106 | 2019-03-06T00:50:01 | 2019-03-06T00:50:01 | 174,042,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,262 | cpp | main.cpp | #include <stdio.h>
#include <stack>
#include <opencv2/opencv.hpp>
#include <iostream>
#include <fstream>
#include <iomanip> //setprecision()
#include <libxml/parser.h>
//https://mp.weixin.qq.com/s/48jMBVVEqQp3IR6NpUy2QA
using namespace cv;
using namespace std;
#define COLLECT_IMAGES //def:采集图像模式 notdef:标定模式
... |
3eaa27e4d41b5c236e0ded2cff22afe1aee97476 | ce7ecea41ace1f819735ffafd8e9d289723f8dcb | /Week 8/Lab/Lab/three.cpp | cf180eeb5356fc8bd692c0080acce5e68763ff4b | [
"Apache-2.0"
] | permissive | sugamkarki/NAMI-Year-II-Term-I-Software_Engineering | c6d4c439f79af4a1a0997ebcea4e0844eabe10b0 | 39182816b670dcb75ec322e24b346a4cfeb80be0 | refs/heads/master | 2023-05-20T01:06:29.413887 | 2021-06-10T09:34:39 | 2021-06-10T09:34:39 | 300,939,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,114 | cpp | three.cpp | #include <iostream>
using namespace std;
struct Inventory
{
string description;
int numberOfParts;
};
void Display(Inventory[], int);
int addParts(Inventory[], int);
int removeParts(Inventory[],int, int);
int main()
{
int size = 10;
Inventory bin[size] = {{"BinValue", 10},
{"B... |
3012de2089bf6c23ff0fbe70348b7399efac7ad1 | 3cb4a38522487cbce3cbd49fc4fcd38bd117c6ac | /KaraokeSongs/Artist.h | ccea7528d730813995fdd6d32c3722c4e7634b70 | [] | no_license | rockie1004/FinalCIS164_KaraokeProgram | 83624f8301defd41b22815acee325be4b72a64ff | 309882d912aea72dd1571fde75a81a15d2a8727c | refs/heads/master | 2020-08-27T15:12:37.145216 | 2019-11-13T17:21:02 | 2019-11-13T17:21:02 | 217,418,833 | 2 | 1 | null | 2019-11-13T17:21:04 | 2019-10-25T00:30:34 | C++ | UTF-8 | C++ | false | false | 3,030 | h | Artist.h | //This is the abstract class Artist.h. This class can be instantiated through either the Band.h file or IndividualArtist.h files. This is the
//basic structure shared between the band or the individual artists.
//Mysti Freed
//4-NOV-2019
//mrfreed@dmacc.edu
#pragma once
#ifndef ARTIST_H
#define ARTIST_H
#include <str... |
44699436b385df0cf63461071c512181b5f1e5a7 | 541c4f648cee67b937b3a5087d69a467826aff52 | /Src/Equation/Centered/CIPCSL2/cipcsl2_ancillary.cpp | 3449d989cbdd765e2ceae95ae40b0e88d98ca2e1 | [] | no_license | Wentao2017/PSI-Boil-liquid-film | 9831382e5d3303a7be54f2216225f113c804c630 | 8c59435c4bc6c75bb06b17f6d4c899aee0099aa0 | refs/heads/master | 2023-05-07T05:38:07.261651 | 2021-05-31T06:28:25 | 2021-05-31T06:28:25 | 328,350,633 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | cipcsl2_ancillary.cpp | #include "cipcsl2.h"
/******************************************************************************/
void CIPCSL2::ancillary() {
/***************************************************************************//**
* \brief Calculate ancillary vof parameters.
**************************************************************... |
1fbdc9e2f6f8335b982913c59132a771a7674f43 | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/IILUtil/IILSave.cpp | b1c8056e82f4e4242a7af3559d017de10e5076b0 | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,946 | cpp | IILSave.cpp | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... |
903bc355ae664c5a6e68b9cf2a8f1c4fd4039541 | c83e7a30656d4f05ddd016e8095ce9a93d27b0df | /include/Watchdog/Watchdog.h | 88b30592d7760bc009f92f2e18891cf1fede673e | [] | no_license | Richi2105/BoomBoxEventSystem | 0390ce8839c58f6df1ab5946df3f20274139ccb3 | c723865411c50fca5522ab84507fa53073955566 | refs/heads/master | 2016-08-12T14:01:21.608723 | 2016-02-19T01:43:46 | 2016-02-19T01:43:46 | 45,798,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | h | Watchdog.h | /*
* Watchdog.h
*
* Created on: Jan 25, 2016
* Author: richard
*/
#ifndef INCLUDE_WATCHDOG_WATCHDOG_H_
#define INCLUDE_WATCHDOG_WATCHDOG_H_
#include <time.h>
#include <pthread.h>
namespace EventSystem {
class Watchdog {
public:
/**
* initializes a watchdog object with a time span. If the watchdog reac... |
639e987f530924137e0b1ca2a9b78bd64a687c4f | 14639ec3d34396139a8d70a98ca9909f8c9c40b8 | /USACO Training/Chapter 1/1.6 sprime.cpp | 64172f61bb7a2d5b8b9c0e532beb2a78952ad054 | [] | no_license | daydramas/competitive-programming | d78d5c783dd5c587c08bcf9751cbd2fbdb4d9b5d | 180afd44ca0716711abc419593226b72f7ede932 | refs/heads/master | 2023-04-06T12:50:33.031215 | 2021-04-10T23:45:52 | 2021-04-10T23:45:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | 1.6 sprime.cpp | /*
ID: dongliu3
TASK: sprime
LANG: C++
*/
#include <bits/stdc++.h>
using namespace std;
// structures/defines
#define vi vector<int>
// global variables
int N;
// functions
bool prime(int n) {
if (n <= 1)
return false;
if (n <= 3)
return true;
if (n % 2 == 0 || n % 3 == 0)
return false;
for (int i = 5;... |
227f85e11c1b9dc6a3ab047548edeb2a29a65c3e | 09f596ad590ace740ed556e8d4de9875cd4af1b6 | /TVOut/still_alik_ve/TVOlogo.cpp | 66b223e5b348d6bab8fa045c90d077374396c74c | [] | no_license | zoomx/ArduinoHome | 8d1f8946cf241e9f57f9a28402b6c563e281841b | 163cc52a85bab2fa80c4d121fe4ba57aaa70bc81 | refs/heads/master | 2021-01-18T15:08:15.736644 | 2016-03-05T18:07:30 | 2016-03-05T18:07:30 | 53,214,744 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,033 | cpp | TVOlogo.cpp | #include "TVOlogo.h"
PROGMEM const unsigned char TVOlogo[] = {
200,192,
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
0xC0,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.