blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b4cbdf6bdcd0b97e3471e6ff9fd34a260efc9a8e | 2efbd55f9c7f39bddc1348f3a9d38a8f05d0644a | /plugins/eeui/WeexSDK/ios/weex_core/Source/include/wtf/dtoa.h | 83f092bb214f6216d118c222b2ff6114bf1232d4 | [
"MIT"
] | permissive | bonniesl/yktapp | 23b05cc53214269bf1d792dcf41993b425bfe470 | 3f96b7aad945e9aa110f0643d9a57e28d0645ab6 | refs/heads/master | 2023-03-27T04:27:14.921221 | 2021-03-25T06:29:16 | 2021-03-25T06:33:12 | 351,330,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,704 | h | /*
* Copyright (C) 2003, 2008, 2012 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... | [
"1336429771@qq.com"
] | 1336429771@qq.com |
16f6f4bced0c50a79add47dbaf3e582d5479c6e2 | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/OICAdapter/iotivity-1.0.0/resource/oc_logger/include/oc_logger.hpp | 2d0df21448b4f239ccd3ffe1de0233fc8b1825cb | [
"MIT",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 1,046 | hpp | //******************************************************************
//
// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | [
"artemz@microsoft.com"
] | artemz@microsoft.com |
a9feebad607de513a0b89388802646dac3e3081f | 02c22f9cdab5fa3462469c827f76c505897f5b76 | /src/core/integrators/photon_map/Photon.hpp | f0f441916df8ca19d6a3a4561e9ffdfa5f052fae | [
"Zlib",
"BSD-3-Clause",
"MIT",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"Unlicense",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | libingzeng/tungsten | 42070b9d64c66c2abc9de4b33a58eb30e0188aef | 8d3e08f6fe825ee90da9ab3e8008b45821ba3c67 | refs/heads/master | 2020-03-31T09:48:13.683372 | 2018-11-04T07:37:59 | 2018-11-04T07:37:59 | 152,111,453 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,336 | hpp | #ifndef PHOTON_HPP_
#define PHOTON_HPP_
#include "math/Vec.hpp"
namespace Tungsten {
struct Photon
{
uint32 splitData;
uint32 bounce;
Vec3f pos;
Vec3f dir;
Vec3f power;
void setSplitInfo(uint32 childIdx, uint32 splitDim, uint32 childCount)
{
uint32 childMask = childCount == 0 ? 0... | [
"mail@noobody.org"
] | mail@noobody.org |
cd15ab34b66ef0c6ac0e93d2c9184a03748da5cb | 574c0dbf05e263357b32d58fc5e2af79a845b3e0 | /Engine_Graphics/include/ComputeShader.h | 859b09dd0e96333b17de497f6eb4dfb99a53660f | [
"MIT"
] | permissive | subr3v/s-engine | 8d2d5d2063f99231c4f7b95b8137037fe6252e1d | d77b9ccd0fff3982a303f14ce809691a570f61a3 | refs/heads/master | 2021-01-10T03:04:33.928634 | 2016-04-02T14:12:29 | 2016-04-02T14:12:29 | 55,234,945 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | h | #ifndef ComputeShader_h__
#define ComputeShader_h__
#include <d3d11.h>
class FGraphicsContext;
class FShaderProgramInfo;
class FComputeShader
{
public:
FComputeShader(FGraphicsContext* GraphicsContext, const FShaderProgramInfo* ComputeShaderInfo);
~FComputeShader();
void Bind(ID3D11DeviceContext* DeviceContext);... | [
"subr3v@gmail.com"
] | subr3v@gmail.com |
906b39e70de12e65a3ab34d7030be09abfb766de | 75452de12ec9eea346e3b9c7789ac0abf3eb1d73 | /src/storage/fs_test/link.cc | ab8d7439e770cb0f6c1aae58b932ab98d79bf280 | [
"BSD-3-Clause"
] | permissive | oshunter/fuchsia | c9285cc8c14be067b80246e701434bbef4d606d1 | 2196fc8c176d01969466b97bba3f31ec55f7767b | refs/heads/master | 2022-12-22T11:30:15.486382 | 2020-08-16T03:41:23 | 2020-08-16T03:41:23 | 287,920,017 | 2 | 2 | BSD-3-Clause | 2022-12-16T03:30:27 | 2020-08-16T10:18:30 | C++ | UTF-8 | C++ | false | false | 12,907 | cc | // Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <optional>
#include <vecto... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9a0f0484baf335c54b14c235ec39e910a255c40b | d32424b20ae663a143464a9277f8090bd017a7f6 | /arsenal/datastructure/BinaryTree/Traversal.cpp | 13b2ccf10e67bc8c895ab158b41e8b11b1a02f1e | [] | no_license | Vesion/Misirlou | a8df716c17a3072e5cf84b5e279c06e2eac9e6a7 | 95274c8ccb3b457d5e884bf26948b03967b40b32 | refs/heads/master | 2023-05-01T10:05:40.709033 | 2023-04-22T18:41:29 | 2023-04-22T18:43:05 | 51,061,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,296 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <stack>
#include <queue>
using namespace std;
struct TreeNode {
int val;
TreeNode *left, *right;
TreeNode(int v) : val(v), left(NULL), right(NULL) {}
};
// preorder / inorder / postorder / level order
// recursively + i... | [
"xuxiang19930924@126.com"
] | xuxiang19930924@126.com |
499a464d33c11783fd3171e0923f6fd7ae3e73d2 | 44ab461147c679c6f654b5ca8643557e1033ffb9 | /geo_normal_3d_omp.cpp | 8af6006bb32a07c23e37e642f6151e1129950c3c | [
"BSD-3-Clause"
] | permissive | snowmanman/structrock | 767e6f5544aae48e1d70e2c3cf56091f5e7ff40f | 754d8c481d22a48ea7eb4e055eb16c64c44055ab | refs/heads/master | 2021-07-31T01:03:37.715307 | 2020-07-16T07:32:03 | 2020-07-16T07:32:03 | 193,132,993 | 1 | 1 | BSD-3-Clause | 2019-06-21T16:56:32 | 2019-06-21T16:56:32 | null | UTF-8 | C++ | false | false | 2,019 | cpp | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | [
"WXGHolmes@Gmail.com"
] | WXGHolmes@Gmail.com |
32663debfe682c9ef244f125e9ee675f6fb00ad2 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-ec2/source/model/GetCoipPoolUsageRequest.cpp | daee2872508f86176bd7096dfac25ef966e7efb8 | [
"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 | 1,481 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ec2/model/GetCoipPoolUsageRequest.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
using namespace Aws::EC2::Model;
using namespace Aws:... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
47884bfb4ca1d013c02678a75adb9a24b49fd605 | 9614eda056137277b2da5097ceb7583cb9a42fdb | /Cluedo/room.h | 2ce431fa326f72357d6fa5ef2baeb5a429a32449 | [] | no_license | CPeacockEngineeringLTD/Cluedo | 4a6ddb58dbf80296706ccf5f7385abac471a20df | 34ce55c406c0f4c498b90b235ac87cff39405146 | refs/heads/master | 2023-06-03T12:13:34.889883 | 2021-06-26T08:37:39 | 2021-06-26T08:37:39 | 324,749,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | h | #pragma once
#include <string>
#include <chrono>
class room{
public:
static std::wstring getContents(int a);
static void chooseMurder();
static bool checkMurder(int a);
};
| [
"clegguy@hotmail.co.uk"
] | clegguy@hotmail.co.uk |
c582935ddb500b1c672fe3d0ad22dd3b33fac7c9 | 208650de138a6b05b8b8e7e4ca6df9dc72290402 | /Contests/LT/2.cpp | 420328deba7462ff448ab5cfa78a75c8458fe0c1 | [] | no_license | cs15b047/CF | 9fcf83c5fd09124b6eaebbd4ecd67d19a1302582 | d220d73a2d8739bbb10f4ed71437c06625870490 | refs/heads/master | 2021-08-20T06:21:24.577260 | 2021-06-09T04:56:47 | 2021-06-09T04:57:29 | 177,541,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main(int argc, char const *argv[])
{
ll t;scanf("%lld",&t);
for(int i=0;i<t;i++){
ll n,m;scanf("%lld%lld",&n,&m);
vector<string>grid;grid.clear();grid.resize(n);
for(int j=0;j<n;j++)cin >> grid[j];
bool flag = true;
if((n<=1) || (m<=... | [
"cs15b047@smail.iitm.ac.in"
] | cs15b047@smail.iitm.ac.in |
12ad3191dc3e63ddff4a944b9700f009a7a79028 | 762d0c7c44687373bf643624c8ac616cb08cd227 | /Espresso Shot/src/Espresso/main.cpp | 56050ded678e29d7e6daa7fe8b711b9ddc9e7e7f | [
"MIT"
] | permissive | Promethaes/Espresso-Shot-Engine | eba955c95cbbce03cb22051bd055ae89a499d984 | 6dffcbd5e69708af2f8251b701b7052207162e9b | refs/heads/master | 2020-07-17T03:27:23.751072 | 2019-09-10T02:56:06 | 2019-09-10T02:56:06 | 205,931,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,235 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <Fmod/fmod.h>
#include <Fmod/fmod_common.h>
#include <Fmod/fmod.hpp>
#include <Fmod/fmod_errors.h>
#include <iostream>
#include <vector>
#include <time.h>
... | [
"anth19800@hotmail.com"
] | anth19800@hotmail.com |
acb9df39bd96bba5f0d39befbd0c510017a27ba5 | 28dba754ddf8211d754dd4a6b0704bbedb2bd373 | /Topcoder/FiveHundredEleven.cpp | fc0ab1ccbd74c616c6787170b50421e79a72bca9 | [] | no_license | zjsxzy/algo | 599354679bd72ef20c724bb50b42fce65ceab76f | a84494969952f981bfdc38003f7269e5c80a142e | refs/heads/master | 2023-08-31T17:00:53.393421 | 2023-08-19T14:20:31 | 2023-08-19T14:20:31 | 10,140,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,684 | cpp | #line 2 "FiveHundredEleven.cpp"
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <queue>
#include <stack>
#include <bitset>
#include <vector>
#include <cstdio>
#include <string>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
... | [
"zjsxzy@gmail.com"
] | zjsxzy@gmail.com |
5b5d13f0c89a783af659e096a9c2448a3894259e | 7b80d8166c41e164db46403cf10c2e5300238dd6 | /APP/COMMON/InvBusinessFunc.cpp | d93d0955fda11c65e705f6ba21af4ca7bd654d60 | [] | no_license | duanwenhuiIMAU/SKJ_FWSK_1.0000 | d7a3862d1f02d1a62a6726fd7efc3d348c666383 | 004d47182ebca13428d78500a0425ada195c5e7b | refs/heads/master | 2020-04-27T13:39:35.511980 | 2015-09-16T09:45:36 | 2015-09-16T09:46:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,910 | cpp |
#include "InvBusinessFunc.h"
#include "commonFunc.h"
#include "YWXML_FPDR.h"
#include "YWXML_BSPFPFF.h"
#include "YWXML_BSPFPSH.h"
#include "YWXML_FJTH.h"
#include "YWXML_GPXXXP.h"
#include "YWXML_GPXXXPJS.h"
#include "YWXML_BSPFPCX.h"
#include "BusinessBase.h"
#include "LOGCTRL.h"
//#define NO_POS_DEBUG
#include "p... | [
"zhangchaoyang@aisino.com"
] | zhangchaoyang@aisino.com |
7149fc13ad7642c91ce070746fee5cd3991ae785 | fe5223cead58a475e43d5289a695d01aab1ec15f | /hphp/compiler/type_annotation.cpp | 19bdd7532fe87e74faeb90329e7d7fb1953ae62e | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla",
"PHP-3.01",
"Zend-2.0"
] | permissive | zilberstein/hhvm | ca188c730f5bdbdfb3f3ed0867418a6bcf6ec1b6 | 34f129dce3a7686d32e1ace6b0f6ba03013d7b6e | refs/heads/master | 2021-01-15T10:07:12.837945 | 2014-02-28T20:08:48 | 2014-02-28T20:08:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,187 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"sgolemon@fb.com"
] | sgolemon@fb.com |
86923448d578c330e3c6763d488d5bfb8dfe952b | 8694f8a9ca03012ac173ed4e30025fe815ed9581 | /Chapter7/quick_sort.cpp | fff7b89c3759b43f032d3791422222317a92d7f5 | [] | no_license | kenyangzq/Introduction_to_Algorithms | 2dff7aa8ac8cef8966d2b5d027fb162e76f7fd4d | a1764fef7093e8bd7159b28592fa4a1cd8d99abf | refs/heads/master | 2020-03-08T17:17:14.089603 | 2018-04-15T20:30:48 | 2018-04-15T20:30:48 | 128,264,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | cpp |
#include <algorithm>
#include <iostream>
#include <vector>
#include <stdexcept>
#include <cmath>
int partition(std::vector<int> & vec, int l, int r) {
int x = vec[r];
int i = l;
for (int j = l; j < r; j++) {
if (vec[j] <= x)
std::swap(vec[i++], vec[j]);
}
std::swap(vec[i], vec[r]);
return i;
}
void quick... | [
"ziqi.yang@vanderbilt.edu"
] | ziqi.yang@vanderbilt.edu |
77bb5431a79ade64f37a484de79853de02dc79de | 5512b175913434519ff0f99d89631036d07fbb82 | /Beginner/Bodybuilder (BUILDB)/bodybuilder.cpp | 4a970c2256310970232927e540a61b221a5ab9b4 | [
"Apache-2.0"
] | permissive | sakayaparp/CodeChef | ea53d6dec5929775acb37e644297a7a915aed1dd | 84cc11304f9abd42d5b657c196756c6402e187d9 | refs/heads/main | 2023-09-01T20:21:56.671530 | 2021-10-06T04:22:30 | 2021-10-06T04:22:30 | 414,112,104 | 1 | 0 | Apache-2.0 | 2021-10-06T07:27:55 | 2021-10-06T07:27:55 | null | UTF-8 | C++ | false | false | 758 | cpp |
#include <bits/stdc++.h>
#define ll long long
#define sz(x) ((int) (x).size())
#define all(x) (x).begin(), (x).end()
#define vi vector<int>
#define pii pair<int, int>
#define rep(i, a, b) for(int i = (a); i < (b); i++)
using namespace std;
template<typename T>
using minpq = priority_queue<T, vector<T>, greater<T>>;
... | [
"noreply@github.com"
] | sakayaparp.noreply@github.com |
319ddeeb26f32637d62ef98d079fea0dff532ad0 | 452f7ba589dec9c9c7fbfbf9f0e4f8fedbdf392c | /xerolibs/xeromisc/MessageDestFile.cpp | 39f74314e203363993bc4e3894eed3fd5606d393 | [] | no_license | errorcodexero/endurance2019 | 51364f9e2a638029439002622e445d60016fb772 | f2442d43c845c3b9c6d94e86c21ecc571a3410b6 | refs/heads/master | 2020-12-29T22:42:08.917542 | 2020-02-06T18:54:22 | 2020-02-06T18:54:22 | 238,759,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,403 | cpp | #include "MessageDestFile.h"
namespace xero
{
namespace misc
{
void MessageDestFile::initialize()
{
strm_p_ = nullptr;
setTimeout(15 * 1000); // Default to 15 seconds. Stored in ms.
}
MessageDestFile::MessageDestFile()
{
initialize();
}
MessageDestFile::MessageDestFile(const std::string &name)
{
in... | [
"bwg@cypress.com"
] | bwg@cypress.com |
672e57bf4a0dbe3f343eeaf474cd66345ba5b041 | 144d2d44e3fa9c561d069009276ae76db8ff8b1c | /Examples/Features/LogisticContrastEnhancementImageFilter/Main.cpp | 89ec509d0ffc8e9830e6d33cb429d5ee4350090d | [] | no_license | cancan101/ITK | f6f51d6cec93ed907886b3dcb477b65261cd8d6d | d8c89499eedeb228f5b127e11055bc245deb891a | refs/heads/master | 2021-08-08T04:23:53.232248 | 2017-10-06T12:56:44 | 2017-10-06T12:56:44 | 108,953,488 | 1 | 0 | null | 2017-10-31T06:15:57 | 2017-10-31T06:15:57 | null | UTF-8 | C++ | false | false | 2,018 | cpp | #include "itkImage.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkLogisticContrastEnhancementImageFilter.h"
int main(int argc, char* argv[])
{
if ( argc < 4 )
{
std::cerr << "Missing parameters. " << std::endl;
std::cerr << "Usage: " << std::endl;
std::... | [
"acsenrafilho@gmail.com"
] | acsenrafilho@gmail.com |
ef0de11f5dcff3f6ccb028dbcf9b1510c027b9a0 | 3da18f95e457f3ac8c41c468cd7271ba9717bb19 | /03.sdl_MoveImage/app/simplesdl.cpp | f1943482165743e78f9b1be4097ed5ac7cba401b | [] | no_license | Falmouth-Games-Academy/GAM340-SDL | f61cfb9fe3d42f8957a1b972c5b5630c3721bfc8 | f9dc8c545b38536d1858276fe6720223517fdb5f | refs/heads/master | 2020-08-11T21:28:10.741500 | 2019-10-12T10:55:22 | 2019-10-12T10:55:22 | 214,630,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,183 | cpp | #include <SDL.h>
#include <SDL_image.h>
#include <stdlib.h>
#include <stdio.h>
#include <windows.h>
#undef main
#include <stdlib.h> //rand()
#pragma comment(lib, "SDL2main.lib")
#pragma comment(lib, "SDL2.lib")
#pragma comment(lib, "SDL2_image.lib")
SDL_Window *window = NULL;
SDL_Renderer *renderer = NULL;
int ... | [
"gareth_lewis@yahoo.com"
] | gareth_lewis@yahoo.com |
3a1739865ce70ba4d7bcfe87380648ad24a6adb8 | 4060dfd3ee62b32ecf287944ebbc38ef889f5fca | /Dynamic Programming/392. Is Subsequence.cpp | 9b7a4a57567c9ad3bfef27a1fad38e49ed3153b9 | [] | no_license | Sensrdt/Leet-Code-Sol | e5cd6b25a6aa9628f1d311d02ad03c4a435fe47c | 893d0614849b2416d920929e0ee1156b6218c6b9 | refs/heads/master | 2020-07-01T15:12:07.546062 | 2020-06-07T13:34:55 | 2020-06-07T13:34:55 | 201,206,677 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | cpp | class Solution
{
public:
bool isSubsequence(string s, string t)
{
int n = s.length(), m = t.length();
int i = 0, j = 0;
while (i < n && j < m)
{
if (s[i] == t[j])
{
i++;
j++;
}
else
... | [
"stsdutta2@gmail.com"
] | stsdutta2@gmail.com |
31664c5453e631e0b1d84d0451e1451eebd91d6a | 09029c871c08379f427ce472000673411bd6b21c | /lib/libnet/nstream_proactor.cpp | d63773e0476f2a4250e6441b4ed0d70eeaa44650 | [] | no_license | sbunce/p2p | 0c1a9fb8259fc0d60623c22f5950bed9fad234e2 | e5e97714de193295b88b2610080acebd9be18252 | refs/heads/master | 2021-05-02T07:37:54.674279 | 2018-11-19T05:29:30 | 2018-11-19T05:29:30 | 17,999,320 | 2 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 15,103 | cpp | #include <net/nstream_proactor.hpp>
//BEGIN events
net::nstream_proactor::conn_info::conn_info(
const boost::uint64_t conn_ID_in,
const dir_t dir_in,
const tran_t tran_in,
const boost::optional<endpoint> & local_ep_in,
const boost::optional<endpoint> & remote_ep_in
):
conn_ID(conn_ID_in),
dir(dir_in),
tran(tra... | [
"seth@seth.dnsdojo.net"
] | seth@seth.dnsdojo.net |
ff5158eb6e56886f120dadafb3b99ce51bfda92e | b25898993f8646c8517d93662cbe9ae33cf51095 | /o2xfs-xfs3/src/o2xfs-xfs310-test.dll/cpp/cim/PowerSaveControl3_10.cpp | 219514a453dc3b7f8feeb95a101a8e413fc5e0ed | [
"BSD-2-Clause"
] | permissive | dotfeng/O2Xfs | 5e4a16cd11305d4476ce28fb15887d6393ca90cd | 27e9b09fc8f5a8f4b0c6d9a5d1746cadb61b121d | refs/heads/master | 2021-01-24T20:25:10.044447 | 2017-03-08T22:07:02 | 2017-03-08T22:07:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,871 | cpp | /*
* Copyright (c) 2017, Andreas Fagschlunger. 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, ... | [
"github@fagschlunger.co.at"
] | github@fagschlunger.co.at |
5951a59ac5649f243bf34e5dabfa281905ce418c | f67f6607786bf68ee83751c4fa48263a4c1db5f2 | /bankingstoragereterievedata.cpp | 71b1049d655281506740589d40b99c6cda36c67b | [] | no_license | shwetakumawat/bankingstorageandreterivingdata | 8689bf370b7003f42d8887780ebde4dbcfef13b0 | d7acd6d3d04a734c754cbd8994b7503fa3e4a7f1 | refs/heads/master | 2020-08-08T15:28:34.330908 | 2019-10-09T08:13:07 | 2019-10-09T08:13:07 | 213,859,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,852 | cpp |
#include<iostream>
#include<fstream>
#include<cctype>
#include<iomanip>
using namespace std;
class account
{
int acno;
char name[50];
int deposit;
char type;
public:
void create_account();
void show_account() const;
void modify();
void dep(int);
void draw(int);
void report() const;
... | [
"noreply@github.com"
] | shwetakumawat.noreply@github.com |
30abd459cf47c58c0e9ac346a192f7e286726f8b | a3f5923ae3826fae0378307607b9bf0b1b54a41e | /TestHX711/TestHX711.ino | 3def94fcaf302c55c1d1ca06535df328195455a6 | [
"MIT"
] | permissive | nuzhmiammar/Code-Tahap-Awal | fe6016113c0dee1a3bf103a44362ed9561714e41 | e6fa39142a21087a514e0c845307f8d2d2dbe173 | refs/heads/main | 2023-02-15T09:24:37.449530 | 2021-01-18T12:11:05 | 2021-01-18T12:11:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | ino | #include "HX711.h"
#define DOUT A0
#define CLK A1
HX711 scale(DOUT, CLK);
float calibration_factor = 344.10;
int GRAM;
void setup() {
Serial.begin(9600);
scale.set_scale();
scale.tare();
}
void loop() {
scale.set_scale(calibration_factor);
GRAM = scale.get_units(), 4;
Serial.println(GRAM... | [
"noreply@github.com"
] | nuzhmiammar.noreply@github.com |
68a9f515c4489b4070112007eae98def7213bd67 | b01cf41ed58bf297cf13d0a8a7f4feeecedafb4b | /Contest 3/H TAXI/main.cpp | c7d2e474a2ceab94dcd52302e77b0b3dc8b26a95 | [] | no_license | thanhnx12/TTUD-1 | 636a25f2c7486a820253c36b182be9345a6e6495 | f05a71692622ce36e5b5efc85a58d4f953b592ff | refs/heads/master | 2023-03-15T16:49:09.091169 | 2020-07-19T11:02:25 | 2020-07-19T11:02:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,038 | cpp | #include <bits/stdc++.h>
using namespace std;
int n,k,c[23][23],d[23],dem = 0,_min = 1e9;
int res = 1e9,s = 0,t;
void Try(int x,int y){
if(dem < k)
for(int i = 1; i <= n; i++){
if(!d[i]){
dem++;
d[i] = 1;
s+=c[y][i];
if(s + (t-x)*_min < res) Try(x+1,i);... | [
"ntd275@gmail.com"
] | ntd275@gmail.com |
f10fac8f10c4bc63ef9058e613cdb0c4611f6036 | 27e0a8065d73de8deedfb58a94730f7c3c55261e | /数组中常见的问题/167. 两数之和 II - 输入有序数组/main.cpp | 21a16c516c2624004646a54ccc0ae050f82de929 | [] | no_license | Jae1010/leetcode | 5ea717eb15f5fff560b04a6f5301c4ed682fcbda | 8f55d4ead6cd1ebb7e166d64a73e5d2890bf4425 | refs/heads/master | 2023-02-02T05:39:00.627840 | 2020-12-22T06:54:04 | 2020-12-22T06:54:04 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,883 | cpp | //==================================================================
// Leetcode代码
// 作者:曹佳
//==================================================================
//
// 167. 两数之和 II - 输入有序数组
// 题目:给定一个已按照升序排列 的有序数组,找到两个数使得它们相加之和等于目标数。
// 函数应该返回这两个下标值 index1 和 index2,其中 index1 必须小于 index2。
//说明:
//返回的下标值(index1 和 index2)不... | [
"335181140@qq.com"
] | 335181140@qq.com |
6db0d0ae48960109b30c22d919ca11f857788ff4 | b4ba3bc2725c8ff84cd80803c8b53afbe5e95e07 | /Medusa/Medusa/Geometry/Size3.h | a8a89c08ec57e315cb8cf864dacd7e638b6e29c5 | [
"MIT"
] | permissive | xueliuxing28/Medusa | c4be1ed32c2914ff58bf02593f41cf16e42cc293 | 15b0a59d7ecc5ba839d66461f62d10d6dbafef7b | refs/heads/master | 2021-06-06T08:27:41.655517 | 2016-10-08T09:49:54 | 2016-10-08T09:49:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,396 | h | // Copyright (c) 2015 fjz13. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
#pragma once
#include "MedusaPreDeclares.h"
#include "Core/Assertion/CommonAssert.h"
#include "Geometry/Size2.h"
#include "Core/Math/Math.h"
#include "Core/System/B... | [
"fjz13@live.cn"
] | fjz13@live.cn |
8b216672a7fd7fc582af19186085131e3308e1a3 | d63e9b801d9b1e5b959310db757c7e13fa51c5d7 | /C++/Queue_Wt/Queue_Wt/Queue_Wt.hpp | a9c8cc510b030da2de4098e1e6beb8746c47350e | [] | no_license | BillMark98/xcode | 5a5a6257d02bd15f64e6b2eba92beee7ae602970 | 9da7a1632b0448fde9cf0e02bed3e25d32c1cc35 | refs/heads/master | 2020-04-02T10:17:18.161830 | 2018-10-23T13:33:55 | 2018-10-23T13:33:55 | 154,330,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,249 | hpp | //
// Queue_Wt.hpp
// Queue_Wt
//
// Created by Bill on 10/31/17.
// Copyright © 2017 Bill. All rights reserved.
//
#ifndef Queue_Wt_hpp
#define Queue_Wt_hpp
#include <iostream>
#include <string>
#include <iomanip>
using std::cout;
using std::cin;
using std::endl;
using std::setw;
using std::string;
template < t... | [
"panwei.hu@rwth-aachen.de"
] | panwei.hu@rwth-aachen.de |
c1d503576b286fc58fc0c0bdf8b77e78cae54f4a | dd20b761f4f5df086f9c3c64f1e642286270324e | /adjacency_list/adjacency_list.cpp | a1409880fa52c7990756324be96f790066faa4c3 | [
"MIT"
] | permissive | guiaugusto/cpp_playground | bccaab8710af1a243e65cdb7a3f5707df6e7988c | e68b4c1c209b9bc4ea1a44bcd81d4ccb8fafa678 | refs/heads/master | 2020-05-17T01:05:07.647080 | 2019-05-22T18:37:43 | 2019-05-22T18:37:43 | 183,416,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,231 | cpp | #include <bits/stdc++.h>
using namespace std;
class Node{
public:
int index;
vector<int> list;
bool visited;
};
vector<Node> nodes;
void marked_as_visited(int c){
nodes[c].visited = true;
vector<int>::iterator begin = nodes[c].list.begin();
for(int i = 0; i < nodes[c].list.s... | [
"guilherme.francais@gmail.com"
] | guilherme.francais@gmail.com |
850b2170278b8c1cccb53545ebf47af1253083ba | 397e5b58b968f122fbac156a84392334a237b0f6 | /include/DetectorConstruction_Messenger.hh | 6073319c8ec626102975b7d9ffd16f4987df8d5c | [] | no_license | aschester/TIP_Coulex_RDM | f0ccdf17c36d470c3ede7f1ec73a02d383a5ef68 | f09c78661cf1ee8c7d42d8b2dc031acda6e48a6a | refs/heads/master | 2021-01-01T18:57:05.616869 | 2017-07-26T21:41:54 | 2017-07-26T21:41:54 | 98,467,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | hh | #ifndef DetectorConstruction_Messenger_h
#define DetectorConstruction_Messenger_h 1
#include "DetectorConstruction.hh"
#include "globals.hh"
#include "G4UImessenger.hh"
#include "G4UIdirectory.hh"
#include "G4UIcmdWithAString.hh"
#include "G4UIcmdWithADoubleAndUnit.hh"
#include "G4UIcmdWithoutParameter.hh"
class Dete... | [
"noreply@github.com"
] | aschester.noreply@github.com |
83ca2014792c62eb3b1a554386d63be592d6f227 | 438e2b02741015225f5b54130f3a97d4005c3f58 | /BOJ/1275.cpp | 0e3c88a03ca2808d581071c5f58fe5ea280fd4a6 | [] | no_license | jiho5993/solving_algorithm | 20c2e3e3ee6e14116554d0fd00918447ca21784c | fbbe52bc372d418e204128e78432038dfb60b410 | refs/heads/master | 2022-10-27T13:36:27.393518 | 2022-10-16T09:32:18 | 2022-10-16T09:32:18 | 193,317,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define all(x) (x).begin(), (x).end()
typedef long long ll;
ll arr[100001];
typedef struct SegTree {
vector<ll> tree;
int size;
SegTree(int N): size(N) {
tree.resize(N*4);
}
ll init(int node, int st, int en) {
... | [
"jiho5993@naver.com"
] | jiho5993@naver.com |
70808b5a528d05962adaa67cadc6783fa4d37556 | b04aba222b36f229061fd38edf806aae31534449 | /include/scalapackpp/wrappers/linear_systems/posv.hpp | 8758c3e780d55df9cdcf9c58c029d19cf7bbd273 | [] | no_license | ValeevGroup/scalapackpp | 49ce1a5db96b0585f214d0115fcaad46fc1c3e92 | 321b6fc8749fd020042fd1d75cb2292613cec178 | refs/heads/master | 2022-06-13T01:48:12.633522 | 2020-02-07T17:03:49 | 2020-02-07T17:03:49 | 239,920,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 437 | hpp | #pragma once
#include <scalapackpp/types.hpp>
#include <scalapackpp/util/sfinae.hpp>
namespace scalapackpp::wrappers {
template <typename T>
detail::enable_if_scalapack_supported_t<T, scalapack_int>
pposv( const char* UPLO, scalapack_int N, scalapack_int NRHS,
const T* A, scalapack_int IA, scalapack_int JA, co... | [
"dbwy@lbl.gov"
] | dbwy@lbl.gov |
5b0230bd6ca0c645077030692a6fa632e67482f8 | fb61b5a0264d42d976ee383b7302779621aab327 | /02_OF_cylinder/ppWall/5/U | 2c8c31ab6f0d3b3848f62b8d0e5da58763e0db75 | [] | no_license | Ccaccia73/Aerodinamica | 31062b24a6893262000df2f3d53dde304969182a | 49485cde03a6a4fd569722c9ca4b3558825221ad | refs/heads/master | 2021-01-23T03:16:31.037716 | 2018-01-21T14:55:05 | 2018-01-21T14:55:05 | 86,064,538 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,328 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"c.caccia@libero.it"
] | c.caccia@libero.it | |
31cc2f89f1954b3b5018f203b67b5ce4f91d9211 | 3288e8ff6adc21524a399dd97fc018469520b323 | /cpp_cookbok/3-5.cpp | e5f6ae78a86f2ea275d43c8e7d89d33e2a1e98e2 | [] | no_license | arraytools/C | 2a04cfe07da43d385dc1c3b3b86e6f9cd0099a52 | 42e127024f19ad432d82240cca9435ec3882a542 | refs/heads/master | 2018-12-28T16:07:51.710347 | 2015-01-17T00:25:20 | 2015-01-17T00:25:20 | 10,589,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 904 | cpp | #include <iostream>
#include <boost/lexical_cast.hpp>
using namespace std;
using boost::lexical_cast;
using boost::bad_lexical_cast;
template<typename T>
bool isValid(const string& num) {
bool res = true;
try {
T tmp = lexical_cast<T>(num);
}
catch (bad_lexical_cast &e) {
res = false;
}
return(res... | [
"arraytools@gmail.com"
] | arraytools@gmail.com |
5d03165d9339fbf6d9dc4eaf388c284d3d861b23 | 8e86c2e07a7f3c275c395761634c0ed2ed412db8 | /uva/10004-Bicoloring/solution.cpp | e803569b584f424e89f1b3a81767c1c1e811bf4d | [] | no_license | ramirezjpdf/problems | e145d82d876f7c4d0b99a6453a22aecec07d1fe5 | 0896b8e072f5a29752f02d38878ac361ed3586b5 | refs/heads/master | 2021-01-19T19:38:06.205467 | 2017-04-17T14:31:42 | 2017-04-17T14:31:42 | 88,431,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,315 | cpp | #include <iostream>
#include <vector>
#include <queue>
using namespace std;
const int MAXV = 200;
const int MAXDEGREE = 200;
struct graph{
vector<vector<int> > edges;
vector<int> degrees;
int nvertices;
int nedges;
graph() : edges(MAXV, vector<int>(MAXDEGREE)),
degrees(MAXV, 0) {}
};
void in... | [
"ramirez.jpdf@ymail.com"
] | ramirez.jpdf@ymail.com |
1838d39fc88c7664d78bd5cee5c32705f02e3700 | b72a026e8f6a3f7e87c8aefcb7ae50031fea9c71 | /backend/backend/passengernode.cpp | 73648bb5a1527f4d0a1d4317de77499967ce6096 | [] | no_license | quoccuonglqd/CTDL2018-2019 | ab985f691168ffb4a972b9e324bb14b225eb2e5a | ecd6c3b023b32effec8b629276596b8e84b635a9 | refs/heads/master | 2020-06-11T22:46:19.463247 | 2019-06-27T14:17:23 | 2019-06-27T14:17:23 | 194,110,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include "stdafx.h"
#include "passengernode.h"
passengernode * passengernode::getleft() const
{
return left;
}
passengernode * passengernode::getright() const
{
return right;
}
passengernode * passengernode::getpar() const
{
return par;
}
void passengernode::setleft(passengernode * src)
{
left = src;
}
void ... | [
"quoccuonglqd123@gmail.com"
] | quoccuonglqd123@gmail.com |
c78c28e786c707ef691a7ee1430e22affa1df716 | 54bd24a7ec00e2128e74704833035740926fe1a2 | /c3dEngine2/c3dEngine/c3dEngine/platform/win32/appFrame/mainWindowGlobal.cpp | 0616e9ea5140a25de95191681d4b717bd01f47d1 | [
"MIT"
] | permissive | qaz734913414/c3dEngine2 | 3739073d7d6f1046cdfce19ca7a5fdc9c7a9bada | 0c12d077d8f2bac8c12b8f720eccc5a2f3f3a7c1 | refs/heads/master | 2020-04-15T19:47:52.391730 | 2015-12-14T16:07:29 | 2015-12-14T16:07:29 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 479 | cpp | #include "mainWindowGlobal.h"
//global var
bool isTouching;
long tf=0,t=0,dt=0;//tf上次进入idle,t本次进入idle,dt本次与上次进入idle时间间隔--abc
float captionHeight=0;//标题栏高度--abc
float frameBoarder=0;//窗口边框宽度--abc
//win32 global var
HDC hDC=NULL; // Private GDI Device Context
HGLRC hRC=NULL; // Permanent Rendering Context
HWND hW... | [
"350479720@qq.com"
] | 350479720@qq.com |
790244b04b966a3f6349a7430883688fcb39aba3 | 41a4994a18f3e3a411a63e028a5c75e2e5f820f4 | /2020_StressW/2020_StressW/DrawModule.cpp | ae3e298158d01e094697496d9923fbab36453cda | [] | no_license | JS-0125/2021GameServerTermProject | f2c74b954794b4b10346a06e93bcafb2434b4531 | 85c3ff47593f1a4c6d7ff789e5fb244a81c50b6c | refs/heads/main | 2023-05-27T12:54:29.419528 | 2021-06-15T14:49:11 | 2021-06-15T14:49:11 | 375,627,551 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 18,138 | cpp | /*
* This Code Was Created By Jeff Molofee 2000
* Modified by Shawn T. to handle (%3.2f, num) parameters.
* A HUGE Thanks To Fredric Echols For Cleaning Up
* And Optimizing The Base Code, Making It More Flexible!
* If You've Found This Code Useful, Please Let Me Know.
* Visit My Site At nehe.gamedev.net
*/
#incl... | [
"realline@kpu.ac.kr"
] | realline@kpu.ac.kr |
1e6a0b3ca628c1fa0dcef34af9fda0d341923cf1 | c2672fa922da6f0c292206c99a551565a145d942 | /crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/manual/cocostudio/lua-cocos-studio-conversions.cpp | b0044442be3dad998f90d39ff4f4adf08e5c543a | [
"MIT"
] | permissive | lache/RacingKingLee | 2b37d7962766cfc99cacc1949e55bd055715414b | eb3a961c6c71d44e797eb2394613e4c8196feb31 | refs/heads/master | 2022-11-09T02:24:15.448152 | 2015-07-27T16:40:09 | 2015-07-27T16:40:09 | 36,938,174 | 0 | 1 | MIT | 2022-10-27T05:03:56 | 2015-06-05T14:47:06 | C++ | UTF-8 | C++ | false | false | 3,174 | cpp | /****************************************************************************
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
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 ... | [
"gasbank@msn.com"
] | gasbank@msn.com |
80ead1a20f7c2c0100b176d566c510ea12385c0f | 10854fab019a83ad29f4e16fe45616720c95d75b | /MilesMacklin-Sandbox/core/vec2.h | 83f132fa2f273b0c5be8e75a513323d87f22b165 | [] | no_license | Woking-34/daedalus-playground | 2e928e95f371196d039e035ef035a90ad468c5e5 | 41a884194aa8b42e1aa2ecbc76e71b1390e085ba | refs/heads/master | 2021-06-16T03:35:19.755817 | 2021-05-29T10:52:44 | 2021-05-29T10:52:44 | 175,941,574 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | h | #pragma once
#if defined(_WIN32) && !defined(__CUDACC__)
#if defined(_DEBUG)
#define VEC2_VALIDATE() { assert(_finite(x));\
assert(!_isnan(x));\
\
assert(_finite(y));\
assert(!_isnan(y));\
}
#else
#define VEC2_VALIDATE() {\
assert(isfinite(x));\
assert(isfinite(y)); }\
#endif // _WIN32
#else
#define V... | [
"m_nyers@yahoo.com"
] | m_nyers@yahoo.com |
060f7a8ba41e89bd99fa7921b39c1143602e9e6c | c681c3fb11347eaa9ce3a4a51f8ad55bc89c80ed | /GoblinEngine with SFML/Core/MapCell.cpp | 72ae8daca3dd42dac5434d6b0673446e8a0e9e7f | [] | no_license | chibicitiberiu/goblin-engine | 933b72778691eda084042892429e1578645b211e | a66466cb9bb148473f062d49e1e8d8790d375b9d | refs/heads/master | 2016-09-06T05:36:52.160481 | 2013-09-06T21:26:21 | 2013-09-06T21:26:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cpp | #include "MapCell.h"
namespace Goblin
{
MapCell::MapCell(void)
{
}
MapCell::~MapCell(void)
{
}
int MapCell::getTerrainType() const
{
return this->terrainType;
}
float MapCell::getHeight() const
{
return this->height;
}
void MapCell::setTerrainType(int value)
{
this->terrainType = value;
}
v... | [
"chibicitiberiu@gmail.com"
] | chibicitiberiu@gmail.com |
4ef2ffc17ddb791a484d830030875b4c423b79df | ce588945eabc48c36ce87e7601751d9addcb2cec | /yooncpp/project/step10/AccountHandler.cpp | db4a7766eeeffc014e964bd5b2ec2e025289b454 | [] | no_license | jun097kim/study-cpp | 6512f482d45fc2f958014e7f59b238b3d2920eee | 282e93aa0ee7cc09289e0c3478cba2b2b7dab263 | refs/heads/master | 2020-03-21T05:07:56.110571 | 2018-07-18T15:20:25 | 2018-07-18T15:20:25 | 138,145,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,344 | cpp | #include "BankingCommonDecl.h"
#include "AccountHandler.h"
#include "NormalAccount.h"
#include "HighCreditAccount.h"
void AccountHandler::ShowMenu() const
{
cout << "-----Menu-----" << endl;
cout << "1. 계좌개설" << endl;
cout << "2. 입 금" << endl;
cout << "3. 출 금" << endl;
cout << "4. 계좌정보 전체 출력" << en... | [
"jun097kim@gmail.com"
] | jun097kim@gmail.com |
a4ebdba4b4e5b0e8e0309dd4d8caaefef35a5642 | 2eb8c826a7d6d097f503a9fbc94ee4eaae09faeb | /C로배우는 자료구조/03장/3-14_재귀호출로_factorial_값_구하기/3-14.cpp | 68a462324c76ae53635beb07b63268c9cacbb0c4 | [] | no_license | kimth007kim/C_dataStructure | a93ef4b7ce4c30509ceb4fa32d588faec81e754b | 96cdbece50ed8d3c98de42ed14b5190b325cf2d6 | refs/heads/master | 2023-03-01T14:25:50.837999 | 2021-02-06T15:19:31 | 2021-02-06T15:19:31 | 321,634,656 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 526 | cpp | #include<stdio.h>
long int fact(int);
void main() {
int n, result;
printf("\n 정수를 입력하세요!! ");
scanf_s("%d", &n);
result = fact(n);
printf("\n\n %d의 factorial 값은 %ld입니다.\n", n, result);
getchar();
}
long int fact(int n)
{
int value;
if (n <= 1) {
printf("\n fact(1)함수 호출!");
printf("\n fact(1)값 1 반환!!");
... | [
"kimth007kim@naver.com"
] | kimth007kim@naver.com |
15330a65ac0b9f447bc06b3a7909dfe622121e53 | 74359a77bc2ee4f4730d1bd9716fd3cea13fa54c | /src/api/udf/UDFFactory.h | 36396a5fc8508828a16fa6a63eeb4198c6e02230 | [
"Apache-2.0"
] | permissive | Anewczs/nebula | 32c0d82e982a41886d3ea0d8d3d331b7e5c5a473 | f9bcd3c6df47c459712c1c30c5183873970182ae | refs/heads/master | 2022-04-23T00:01:30.514432 | 2020-04-18T00:46:56 | 2020-04-20T22:27:54 | 257,549,610 | 1 | 0 | null | 2020-04-21T09:47:01 | 2020-04-21T09:47:00 | null | UTF-8 | C++ | false | false | 2,698 | h | /*
* Copyright 2017-present Shawn Cao
*
* 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... | [
"caoxhua@gmail.com"
] | caoxhua@gmail.com |
8ef003f4e85e511c0438ebe75fee7990ba1936b1 | 290575cb248a2d31ee83d329bf4cf0fb9cb82950 | /server/ppm-reader.cc | 38be77618c0dcac5494e40ea476d7a91a39d662b | [] | no_license | scottyallen/flaschen-taschen | cc8bda61df3e8ea43aa9a7dae1b92f16bf4342fa | 9cd03255154ceac7cd8fd93a0079ab3e3348f5a1 | refs/heads/master | 2020-04-05T23:38:18.586179 | 2016-05-06T17:43:15 | 2016-05-10T04:25:39 | 58,512,269 | 0 | 1 | null | 2016-05-11T03:43:42 | 2016-05-11T03:43:39 | null | UTF-8 | C++ | false | false | 3,539 | cc | // -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
//
// 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 version 2.
//
// This program is distributed in the hope that it will be usef... | [
"h.zeller@acm.org"
] | h.zeller@acm.org |
42a02da877b41b9855a921ecaedbfb975f93f548 | 309975d60e30260f2e02d11e71eaaf6e08b93659 | /Sources/Internal/Render/RHI/Common/PreProcessor.h | 34720025c39672d79a6a8c7cd44d9372d7baa34c | [] | permissive | BlitzModder/dava.engine | e83b038a9d24b37c00b095e83ffdfd8cd497823c | 0c7a16e627fc0d12309250d6e5e207333b35361e | refs/heads/development | 2023-03-15T12:30:32.342501 | 2018-02-19T11:09:02 | 2018-02-19T11:09:02 | 122,161,150 | 4 | 3 | BSD-3-Clause | 2018-02-20T06:00:07 | 2018-02-20T06:00:07 | null | UTF-8 | C++ | false | false | 3,115 | h | #pragma once
#include "ExpressionEvaluator.h"
namespace DAVA
{
class PreProc
{
public:
struct FileCallback
{
virtual ~FileCallback() = default;
virtual bool Open(const char* /*file_name*/) = 0;
virtual void Close() = 0;
virtual uint32 Size() const = 0;
virtual uint32 Re... | [
"m_molokovskih@wargaming.net"
] | m_molokovskih@wargaming.net |
15e2221369b1c3cabde9170f5bedc3fb7c877b94 | 49b878b65e9eb00232490243ccb9aea9760a4a6d | /ash/public/cpp/holding_space/holding_space_constants.h | 1d07baf95dac95d4817a530ef8820e4eb7cf7cf6 | [
"BSD-3-Clause"
] | permissive | romanzes/chromium | 5a46f234a233b3e113891a5d643a79667eaf2ffb | 12893215d9efc3b0b4d427fc60f5369c6bf6b938 | refs/heads/master | 2022-12-28T00:20:03.524839 | 2020-10-08T21:01:52 | 2020-10-08T21:01:52 | 302,470,347 | 0 | 0 | BSD-3-Clause | 2020-10-08T22:10:22 | 2020-10-08T21:54:38 | null | UTF-8 | C++ | false | false | 2,634 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_PUBLIC_CPP_HOLDING_SPACE_HOLDING_SPACE_CONSTANTS_H_
#define ASH_PUBLIC_CPP_HOLDING_SPACE_HOLDING_SPACE_CONSTANTS_H_
#include "ash/public/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ed55f5d416a845e1c57846fbc85989bca8e1612d | 709b54207de45074aede80d7f4cf8373f15a208a | /CPP/Special Palindrome Again/SpecialPalindromeAgain.cpp | 259e80eb0865cd9499fa8ee3d9cea3ff2a8a7645 | [] | no_license | codemasa/Hackerrank | 40f5b86d9f3680fc3fe62434e4d82bffa7f31961 | a82ed18680e18656609dd7658875fd8f25764156 | refs/heads/master | 2020-03-30T21:37:48.245959 | 2019-05-23T16:05:05 | 2019-05-23T16:05:05 | 151,635,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | #include <bits/stdc++.h>
using namespace std;
// Complete the substrCount function below.
long substrCount(int n, string s) {
}
int main()
{
ofstream fout(getenv("OUTPUT_PATH"));
int n;
cin >> n;
cin.ignore(numeric_limits<streamsize>::max(), '\n');
string s;
getline(cin, s);
lon... | [
"cody.masao@gmail.com"
] | cody.masao@gmail.com |
cf86dd40e683355353298b44f6db48632b066139 | 3f6b0498b97a3f71f444a58b5a7e06f09f4571e0 | /Source/InfiniEx/Public/Characters/Heros/InfiniKnight.h | c9622fabb0105b310d52cbfdd9dece4353213609 | [] | no_license | aalhamoudi/InfiniWar | 517aad84f0ed1c3fba5fec204df4007f6165a9d8 | 2f6cfcf9ce4a8062e4f8ba4df61bb15f71e1ec0d | refs/heads/master | 2020-04-20T12:33:54.830018 | 2017-01-29T04:06:42 | 2017-01-29T04:06:42 | 168,846,326 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | h | // Copyright Abdulrahman Alhamoudi, 2016 - All rights reserved.
#pragma once
#include "InfiniHero.h"
#include "InfiniKnight.generated.h"
/**
*
*/
UCLASS()
class INFINIEX_API AInfiniKnight : public AInfiniHero
{
GENERATED_BODY()
public:
// Character Vitals //
/** Max Stamina */
UPROPERTY(E... | [
"aalha028@uottawa.ca"
] | aalha028@uottawa.ca |
0aec9bf3a97a6d36914b6c4a41342c2b392510a4 | e44283331c214e69f049d3d23b6350dbf2abbf32 | /All ACM Codes/contest/light oj 02.09.2016/F.cpp | bdbf7737f690345559b7df376fd2b25178edfe7c | [] | no_license | Abiduddin/Competitive-Programming-Codes | cd2a8730998859d751e1891b4bc9bd3a790b8416 | 59b51b08c6f34c1bed941c8b86490ee9a250e5a9 | refs/heads/master | 2020-09-09T22:54:09.708942 | 2019-11-14T02:31:06 | 2019-11-14T02:31:06 | 221,588,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include <stdio.h>
#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int i,j,l=0,k,m,n,p;
scanf("%d",&i);
while(i--)
{
scanf("%d.%d.%d.%d",&k,&m,&n,&p);
printf("Case %d: ",++l);
cout<<oct<<k<<"."<<oct<<m<<"."<<oct<<n<<"."<<oct<<p<<endl;
}
}
| [
"abidakash456@gmail.com"
] | abidakash456@gmail.com |
3e10ed5e09663fbf07c1c714ff2e2fafa207925d | 49fc9092d53d1c06843986e57cf3b7e63007acdf | /include/shipeditordlg.h | 8752155ef01b62b8e2d9722b4ce825ec264cf455 | [] | no_license | ptitSeb/freespace2 | 8615e5c55b9a19bdf280bc0e0b164f9e33640045 | 500ee249f7033aac9b389436b1737a404277259c | refs/heads/master | 2020-09-20T19:13:59.618314 | 2019-01-02T10:51:59 | 2019-01-02T10:51:59 | 67,286,355 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,869 | h | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on
* the source.
*/
/*
* $Logfile: /Freespace2/code/Fred2/ShipEditorDlg.h $
* $Revision: 110 $
... | [
"sebastien.chev@gmail.com"
] | sebastien.chev@gmail.com |
56fb32cda41c77a4991911c4e64499921e591188 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-4701.cpp | 54ef0911cbf36626b42b137984caf04c3aa75cf9 | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,765 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1
{
bool ac... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
8d5585974d3998a3b38d87026aa3daa0ca7bc8cc | 820f4cd8567a92f3d4d98c234871fa3256ce9d5a | /src/Sim/BarnesHut.hpp | f3da3bbef8fa90f7d25e40f2ec4e30dffccb71fa | [] | no_license | matty9090/Procedural-Universe | 6635805cb8bb4ce4ae31ed459c8f49486fb8b324 | 3242f594bfe1553b4359fb97db6b0b1975e7503b | refs/heads/master | 2022-08-06T16:25:18.399832 | 2020-05-23T22:21:18 | 2020-05-23T22:21:18 | 208,433,218 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 940 | hpp | #pragma once
#include <GeometricPrimitive.h>
#include "Octree.hpp"
#include "INBodySim.hpp"
#include "Render/Model/Cube.hpp"
#include "Core/ThreadPool.hpp"
class BarnesHut : public INBodySim
{
public:
BarnesHut(ID3D11DeviceContext* context);
~BarnesHut();
void Init(std::vector<Particle>&... | [
"lowe.matthew@mail.com"
] | lowe.matthew@mail.com |
d5910ae213634215bb41c35ea9d97bef4d90e9de | 7b0c32697ea55325608dfaca954538292acd7e8f | /src/main.cpp | eb21d0a742794e0a50b79ade0497bcac9dead1a0 | [] | no_license | TobyPDE/cntk-api-experiment | 197819f619c7a962370c76bd068ef3bbe80e7774 | 70750da43bf0cea9304a2f4a4dceefad0d20f7d9 | refs/heads/master | 2021-06-10T08:51:17.600560 | 2016-12-22T21:01:43 | 2016-12-22T21:01:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | //
// Created by toby on 01.12.16.
//
#include "chianti/layers.h"
#include <string>
#include <iostream>
int main(int argc, const char** argv)
{
auto device = CNTK::DeviceDescriptor::GPUDevice(0);
auto X = CNTK::InputVariable({ 2, 2, 3 }, CNTK::DataType::Float);
CNTK::FunctionPtr network;
network = Ch... | [
"tobias.pohlen@gmail.com"
] | tobias.pohlen@gmail.com |
6e5cc19f0eee9dd659fcc0edce453b52584b289a | 0b1dfd176953fdb3675eb0085dae5d0dd8873574 | /Algorithms/Sorting/SelectionSort/SelectionSortLinkedList.cpp | a741048f0805403d7e0713cb68a88662f63a1071 | [] | no_license | ManasMahapatra/DS-Algo-Implementations | 54fee36a5bb90f42b4947c7fb0b7c53f719e734f | 639941a020134cfd483136e9774f2dc6184d1e1c | refs/heads/master | 2020-07-28T06:05:43.202647 | 2019-10-10T04:29:29 | 2019-10-10T04:29:29 | 209,331,511 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,769 | cpp | #include <stdio.h>
#include <iostream>
#include "../../../DataStructures/LinearDataStructures/LinkedList/LinkedList.cpp"
class SortedLinkedList : public LinkedList {
public:
void selectionSort() {
//Variable to store current minimum value
int newMinimumValue;
//Pointer to point at the n... | [
"chirag301212@gmail.com"
] | chirag301212@gmail.com |
3f62efe84a200de69cc7eb01af27631456f490bb | 553a22eb54b2bc5df030d0c72d4a74ac4003aa4e | /unitrotate.cpp | ea63c22944956dbb691ae425615e09b2e3056fff | [] | no_license | jchristi/taddraw | d2cffaae01c660351e0f56235671e9d2fad6e0a1 | b52868b1f5ffede884c9c0ea46fb11b105d24f2b | refs/heads/master | 2016-09-06T14:36:20.774557 | 2015-05-30T16:11:35 | 2015-05-30T16:11:35 | 35,358,173 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,652 | cpp | #include "oddraw.h"
#include "iddrawsurface.h"
#include "unitrotate.h"
char *NewMem;
CUnitRotate::CUnitRotate()
{
LocalShare->UnitRotate = this;
IDDrawSurface::OutptTxt ( "New CUnitRotate");
}
CUnitRotate::~CUnitRotate()
{
}
bool CUnitRotate::Message(HWND WinProchWnd, UINT Msg, WPARAM wParam, ... | [
"xpoy@d74ebf05-6d01-4e7b-8b90-17afc8ece2ee"
] | xpoy@d74ebf05-6d01-4e7b-8b90-17afc8ece2ee |
13e213b98d4623b49ffde49642bb47f425a66370 | 76874343d99e3292df374deeca5e1cb7dd064f81 | /algorithms/ShellSort.cpp | 5e44992c51713bd9363cd886a1d0c59ef44cd499 | [] | no_license | wfwei/coding | 2e8afa40ed8fdec9b63d426d42695bf6292e31b8 | 1d31c640b2882217fbf8235889b07cc27235a54e | refs/heads/master | 2021-01-10T19:54:53.933525 | 2013-09-23T07:31:53 | 2013-09-23T07:31:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #include<stdio.h>
#define SIZE 12
void prt(int A[], int size){
int i;
for(i=0; i<size; i++)
printf("%d ", A[i]);
printf("\n");
}
void ShellSort(int *A, int s, int e){
int i, j, tmp, inc;
for(inc=(e-s)/2; inc>0; inc/=2){
for(i=inc+s; i<=e; i++){
tmp = A[i];
j = i;
while(j-inc>=s && tmp<A[j-inc]){
... | [
"cf.wfwei@gmail.com"
] | cf.wfwei@gmail.com |
1f1bdcd8951e6e586dac1d2f5eb6dc0e393ca1df | 0280d3e052ac227d778f6a1dbee1b0bdd1678407 | /CodeFights Challenges/growingPlant.cpp | 09d974566342efbce1438298f6e418e84ecf73cb | [] | no_license | oknashar/Problem-Solving | 5d9da159ab5190fcdcff9fc229a25c0f4090801c | 07656a0ace44d1933f1212ecc4dc99d7813de2bf | refs/heads/master | 2022-08-15T12:34:18.820659 | 2020-05-24T23:28:41 | 2020-05-24T23:28:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | cpp | //link: https://codefights.com/arcade/intro/level-9/xHvruDnQCx7mYom3T/
int growingPlant(int upSpeed, int downSpeed, int desiredHeight) {
int curr = 0, i=0;
while(true){
i++;
curr += upSpeed;
if(curr >= desiredHeight)
return i;
curr -= downSpeed;
}
}
| [
"noreply@github.com"
] | oknashar.noreply@github.com |
bf4dc8196b11390cf6d1858ebb65458dd8deabb8 | 91b241f1340b2062f5f7fa257b6f59f58ba24fbe | /Lab04OOP/VolumetricShape/CBody.h | 196b06cbbac0d0c6262e0d8c6cbe1a4b29cfc6a3 | [] | no_license | fjodor-rybakov/OOP | fed50967936da4d59075cbaf7939c7b36cf54e47 | 38971571177d0be9a1d7f33de8ecdb0720ac62bc | refs/heads/master | 2020-03-11T11:10:45.203118 | 2018-05-22T17:38:24 | 2018-05-22T17:38:24 | 129,962,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | #pragma once
#include "string"
#include "vector"
class CBody
{
public:
CBody(const std::string &type);
CBody(const std::string &type, double density);
virtual double GetDensity() const;
virtual double GetVolume() const;
double GetMass() const;
std::string ToString() const;
std::string GetType() const;
private:... | [
"fedryb@mail.ru"
] | fedryb@mail.ru |
ec4348a8ee15a7bcdc8a37ae04286738da6b416b | a9f6a3dfc2fb54547c5451d5c1380842aff45311 | /EM_8x8/ArduinoTestCode/Arduino_EM_8x8_scanner8/Arduino_EM_8x8_scanner8.ino | d5935c2a35088c312cf62a5ca7e05c01577003ca | [
"MIT"
] | permissive | CmdrZin/chips_avr_examples | e7b5403db501456f26f88909bc27d40ae20ba831 | d4b57a8efd6aff2a678adef4fd405e6359e891e6 | refs/heads/master | 2021-08-06T03:38:08.789930 | 2021-01-13T04:42:03 | 2021-01-13T04:42:03 | 26,470,544 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,941 | ino | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 Nels D. "Chip" Pearson (aka CmdrZin)
*
* 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 limitati... | [
"chip@gameactive.org"
] | chip@gameactive.org |
7f22c3a63446e839a2a6ee577e5edb7e79aa4c4c | 75e49b7e53cf60c99b7ab338127028a457e2721b | /sources/plug_osg/src/luna/bind_osgUtil_RenderBin_SortCallback.cpp | ac50a7b77870f7b98a2e81e4415308fa67b0b485 | [] | no_license | roche-emmanuel/singularity | 32f47813c90b9cd5655f3bead9997215cbf02d6a | e9165d68fc09d2767e8acb1e9e0493a014b87399 | refs/heads/master | 2021-01-12T01:21:39.961949 | 2012-10-05T10:48:21 | 2012-10-05T10:48:21 | 78,375,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,382 | cpp | #include <plug_common.h>
class luna_wrapper_osgUtil_RenderBin_SortCallback {
public:
typedef Luna< osgUtil::RenderBin::SortCallback > luna_t;
// Derived class converters:
static int _cast_from_Referenced(lua_State *L) {
// all checked are already performed before reaching this point.
osgUtil::RenderBi... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
683a8c9a04ee349aadec78d77d060b5dcbbc37e9 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/29_atomics/atomic/65147.cc | 0c390bb86420dc47e6566df048e8fb7009799039 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 960 | cc | // Copyright (C) 2015-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 op... | [
"rink@rink.nu"
] | rink@rink.nu |
5b421b25131b907b73ca8fc247a14cfea9087b25 | fe4ebfc4a21f996e4e792e75961c74453fab85c0 | /src/error.h | 83963ee566c20715cc3d397cab81e8ef39bc7cd6 | [] | no_license | xeekworx/spacetheory | 4e2971e83e9eaeb0640cfabb2595679e495ab1b9 | 753c88e96e9880c8485f0930e7476faedebbde28 | refs/heads/master | 2021-01-19T22:52:39.807236 | 2018-03-11T03:23:21 | 2018-03-11T03:23:21 | 88,878,200 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | #pragma once
#include <stdexcept>
namespace spacetheory {
class error : public std::runtime_error
{
// May extend the capability of this in the future, but to avoid the
// mass changes needed I'm going to go ahead and make use of this
// everywhere.
public:
explicit erro... | [
"xeek@xeekworx.com"
] | xeek@xeekworx.com |
732ac11c843ec35b1b22d949eb6cffa7607a0a06 | 06810247a5fe519f3521adcc031b9a65011b485e | /No/2020.cpp | 546b0cf6044ce8f1a41ea4282456248925cb864d | [] | no_license | yjhmelody/hdoj | ce036b7573200a4b075f4d8815595e5afc904887 | 4fabb95b2cb42c984ad5f0e7e8cc9680110c1b0c | refs/heads/master | 2020-02-26T13:31:30.066347 | 2016-11-22T14:21:39 | 2016-11-22T14:21:39 | 68,513,913 | 0 | 0 | null | 2016-11-21T09:21:58 | 2016-09-18T10:21:50 | C++ | UTF-8 | C++ | false | false | 568 | cpp | #include<stdio.h>
#include<string.h>
int main()
{
int n,i,temp,k,j;
while(~scanf("%d",&n)&&n)
{
int a[100],b[100];
memset(b,0,sizeof(b));
for(i=0;i<n;i++)
{
scanf("%d",a+i);
if(a[i]<0)
{
b[i]=1;
a[i]=-a[i];
}
}
for(i=0;i<n;++i)
{
k=i;
for(j=i+1;j<n;++j)
{
if(a[k]<a[j])... | [
"465402634@qq.com"
] | 465402634@qq.com |
80e34a3bf7d64e059e631eaffa96110b5060c441 | 068c1a644084a3920969949dfd0f0de5b9528a29 | /cpp-cgdk/model/Unit.h | 9056d5370dc08c5fcd4304555f14aa0cdb68c54f | [] | no_license | m16a/game01 | 28374fa824aa95daa556dc157e220ec1c1d057f1 | ef9169e82ce551539c5bb4d5720ba39f8c551125 | refs/heads/master | 2021-01-15T22:52:57.832889 | 2013-11-29T18:09:09 | 2013-11-29T18:09:09 | 14,368,124 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 451 | h | #pragma once
#ifndef _UNIT_H_
#define _UNIT_H_
namespace model {
class Unit {
private:
long long id;
int x;
int y;
protected:
Unit(long long id, int x, int y);
public:
virtual ~Unit();
long long getId() const;
int getX() const;
int getY(... | [
"mshvorak@gmail.com"
] | mshvorak@gmail.com |
4ffcd993dcc3945c439a3e08513e557fbc285915 | ec7a0d96847f30a34d0502697c92f51b1b7adc52 | /src/RayTracer.h | 47f39a8eca8c1131a891537c3c6a734170f6376a | [] | no_license | LeeDua/RayTracing | fd7cc0d90605c703d1941b39cc0252023310f2ed | d9498e74a2a10c3538cea1347680e97255266e77 | refs/heads/master | 2023-02-03T07:36:13.576376 | 2020-12-16T15:30:15 | 2020-12-16T15:30:15 | 319,074,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,261 | h | #ifndef RAY_TRACER_H
#define RAY_TRACER_H
#include "HittableVec.h"
#include "Ray.h"
#include "Material.h"
#include "BVH.h"
namespace RayTracing{
class RayTracerBase{
public:
virtual MatColor trace(Ray& ray) const = 0;
private:
virtual void recursiveTrace(Ray& ray, HitRecord& h... | [
"1063809383@qq.com"
] | 1063809383@qq.com |
7daaa44851dee0f89b9408248a411398998fe570 | 220a9d0f6a7dea7c6eeea192a820e8c53dd4bbd1 | /crack/main.cpp | 5c5780ad7a95541d364dc3407fbf3900a111b6b1 | [] | no_license | IamLupo/hackhound-cyber-challenge | 8e340fc4ef8ec62be1eaadf183e16311d9e57fa2 | 759c322924f7594d35e396c24fb7edbc2a181a6c | refs/heads/master | 2021-01-10T17:56:52.258273 | 2014-02-05T18:27:44 | 2014-02-05T18:27:44 | 44,474,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,243 | cpp | #include <boost/thread.hpp>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <windows.h>
using namespace std;
enum Secret_Message
{
MSG_DEC_SUCCES,
MSG_ENC_SUCCES,
MSG_USAGE,
MSG_ERROR_INPUT_FILE,
MSG_ERROR_OUTPUT_FILE,
MSG_ERROR_FILE_FORMAT,
MSG_ERROR_PASSWORD,
MSG_ERR... | [
"admin@ludoruisch.nl"
] | admin@ludoruisch.nl |
ca40657bd158f4e699cbf901e41f232b7120358a | 717c70331e83947539c4a68dd63d1863bbed32e0 | /textga/textga_cpplib/trunk/src/tag/AbstractElement.cpp | e296d4cafd0f39234be57f9a3267247e81357af7 | [] | no_license | hoboaki/oldcode | 5907bdd01af84d6d2d779e26d6e4dbd3be1a028c | 2c2aa0b20dc3f48656011dd5eb197d79fa3266cf | refs/heads/master | 2020-12-03T03:51:03.125931 | 2017-06-29T13:44:19 | 2017-06-29T13:44:19 | 95,781,642 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 964 | cpp | /**
* @file
* @brief AbstractElement.hppの実装を記述する。
*/
#include <textga/tag/AbstractElement.hpp>
//------------------------------------------------------------
namespace textga {
namespace tag {
//------------------------------------------------------------
AbstractElement::AbstractElement(
const char ... | [
"hoboaki@10106.net"
] | hoboaki@10106.net |
344e5463bf57057605d10ce82ce12d025e413dee | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/mscorlib_System_Array_InternalEnumerator_1_gen3490621956.h | c1411b4d6113c3f87907f446a3999f1d05ba3f51 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,458 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_ValueType3640485471.h"
// System.Array
struct Il2CppArray;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ign... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
229751f0e206b96ff80af466e8f6ca188f1798b5 | afaf58bfe495edc9da224d597912763df1b5a410 | /src/kt84/openmesh/debug_writeSVG.hh | 92e57d80ae33d11765548fac2be55577e3c6738c | [] | no_license | tian0ti/sketch | 1c5ee62a6411e478f292cfbaa98760d98f62288e | 3ef958dfc69a32a822c6ce71c2d3b4839e1592a0 | refs/heads/master | 2016-09-06T13:40:57.836963 | 2015-04-13T08:46:58 | 2015-04-13T08:46:58 | 33,857,540 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,989 | hh | #pragma once
#include <cstdio>
#include <sstream>
#include "simple_svg_1.0.0.hpp"
namespace {
#ifdef _WIN32
inline FILE* popen(const char* command, const char* mode) { return _popen(command, mode); }
inline int pclose(FILE* file) { return _pclose(file); }
#endif
}
namespace kt84 {
template <class TMesh>
inlin... | [
"sjulin@gmail.com"
] | sjulin@gmail.com |
981a8fbedba3b2b38b6778717cf006506b9adc33 | f730e0181244b8035c0a08f43f3ca157f16c3eed | /admin.cpp | 99f2472c0032df11e15971179c6650ad4055eca1 | [] | no_license | EdelAlan/PurchaseOrderManagementSystem | fc9f062a9d0dd7007f7be578d56cae490ff1628a | 690b9008aceef73b658fed9c4610a6cfdf597be4 | refs/heads/master | 2021-01-01T19:31:24.891290 | 2017-07-28T02:41:42 | 2017-07-28T02:41:42 | 98,600,313 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,311 | cpp | #include <stdio.h>
#include "admin.h"
using namespace std;
void admin::menu() {
std::cout << "Signed as Admin" << std::endl;
std::cout << std::endl;
std::cout << "1. Item Entry" << std::endl;
std::cout << "2. Supplier Entry" << std::endl;
std::cout << "3. Daily Sales Entry" << std::endl;
std::... | [
"my.magic@mail.ru"
] | my.magic@mail.ru |
b803bcb0f8dd44db80198fbb85549ec464fec015 | 0f7a4119185aff6f48907e8a5b2666d91a47c56b | /sstd_utility/windows_boost/boost/unordered/detail/fwd.hpp | 27978bd932a7ec830ef5cbe353737a16074d9068 | [] | no_license | jixhua/QQmlQuickBook | 6636c77e9553a86f09cd59a2e89a83eaa9f153b6 | 782799ec3426291be0b0a2e37dc3e209006f0415 | refs/heads/master | 2021-09-28T13:02:48.880908 | 2018-11-17T10:43:47 | 2018-11-17T10:43:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,975 | hpp |
// Copyright (C) 2008-2016 Daniel James.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_UNORDERED_FWD_HPP_INCLUDED
#define BOOST_UNORDERED_FWD_HPP_INCLUDED
#include <boost/config.hpp>
#if defined(... | [
"nanguazhude@vip.qq.com"
] | nanguazhude@vip.qq.com |
0fd85692c4b1ad5719c87a96bac8ab6ca55da0b1 | 3680fc5ba33cea0fbaf0bd7f686569370059359a | /worker/main.cpp | 0aa2b03d63c74beb6d9a258c5d1c155dd558d4cc | [] | no_license | recheal-zhang/fifo | bca3044b0487ef4c806f1a46a5b1e3891f53773e | ea30e955f3768670882a49310a82ed0b5379ed90 | refs/heads/master | 2021-06-16T03:07:06.477311 | 2017-04-26T01:49:29 | 2017-04-26T01:49:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include <unistd.h>
#include <iostream>
#include <string>
#include "Util.h"
#include "Define.h"
#include "Fifo.h"
#include "Epoll.h"
using namespace std;
int main(){
cout << "hello worker" << endl;
std::string fifoClientName =
CUtil::getFifoName(WORKER_1_KEY);
CFifo fifoSend(fifoClientName.c_... | [
"zhanglichao0331@163.com"
] | zhanglichao0331@163.com |
4878fdb76b5859886e438583c7ef5b5e13a15cbf | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day2程序包/answers/GD-0014/travel/travel.cpp | 96532cbf32bb1f23f8954a9452fdd533290e70c0 | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | #include <cstdio>
#include <cstring>
#include <queue>
using namespace std;
const int N = 5005;
int n, m, dfsq[2 * N], dfn[N], list[N], cnt = 0;
struct edge
{
int from, to, next;
void add(int x, int y) {
from = x; to = y;
next = list[x]; list[x] = cnt;
}
} e[2 * N];
struct node {
int num;
bool operator < (cons... | [
"orion545@qq.com"
] | orion545@qq.com |
5ffb44c96596a9d4957ed49c296e5adca57ed302 | 592490cd67944e3d2e777de130e5e5a121ef2dca | /module04/ex01/AWeapon.hpp | c98861c4b8b60ce18f72b4d4bd942e10e3437c78 | [] | no_license | VictorTennekes/CPP_Piscine | 322b0298755cf16c1387fc155c0ea082f6ce163f | fad40c86c0fe67d5a151e72b26685c42f4e07460 | refs/heads/master | 2023-01-01T17:46:20.249434 | 2020-10-22T09:53:09 | 2020-10-22T09:53:09 | 291,345,452 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | hpp | /* ************************************************************************** */
/* */
/* :::::::: */
/* AWeapon.hpp :+: :+: ... | [
"victor@tennekes.nl"
] | victor@tennekes.nl |
f9e49a693614c9e0107e9cbf5c2751b65dd0a009 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14699/function14699_schedule_30/function14699_schedule_30_wrapper.cpp | d14ce7e376b2a21490105cbf2accf64336b29dc3 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 933 | cpp | #include "Halide.h"
#include "function14699_schedule_30_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(256, 256, 512);
Halide::Buffer<int32_t> buf0(... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
7fe86cdbd85130cde70c881e178f255ff74240f0 | d741c1b64758eec7a7619dfce0ebf7015bcd4675 | /ekbase/base/sessionmanager.cpp | 555f7b58799339c02d609ff6adbd59e2853076e2 | [
"MIT"
] | permissive | maat2019/exkit | ebc4def068efb98c594dacc3013893b06a0d36d2 | 18d71e84d688060f0c30af456dcbec5252ebbdac | refs/heads/master | 2022-01-25T12:05:08.042818 | 2019-05-20T10:00:20 | 2019-05-20T10:00:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include "sessionmanager.h"
#include "holder.h"
SessionManager::SessionManager(Holder *hld)
: hld(hld), session()
{
}
SessionManager::~SessionManager()
{
}
Session SessionManager::GetSession()
{
std::lock_guard<std::mutex> lock(mtx);
if (session.sessId == 0)
LOGW("SessMan has no session");
... | [
"artintexo@yandex.ru"
] | artintexo@yandex.ru |
1615f37d81f147a8ecc9820d9625355300c8fe66 | 53aaac390ce455b4039aa0e68375885adae99111 | /Array/reverse_array.cpp | 99a482c66b0067cb006446ae548941682bba5e7f | [] | no_license | devesh-iitism/Data-Structures | 419bd41207d58edf23d72f946a080be5b32f3e21 | 8c955fc2a55f8ef01b17b3fc3d5fdbc39bc06ae3 | refs/heads/master | 2023-05-14T11:19:29.099647 | 2021-06-08T02:03:41 | 2021-06-08T02:03:41 | 368,142,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | cpp | #include<bits/stdc++.h>
#define pb push_back
using namespace std;
int main()
{
int n; cin>>n;
vector<int> arr(n, 0);
for(int i=0;i<n;i++) {
cin>>arr[i];
}
cout<<"Before: ";
for(int i=0;i<n;i++) {
cout<<arr[i]<<" ";
}
cout<<"\n";
int l = 0, r = n-1;
while(l<r)... | [
"dcdev001@gmail.com"
] | dcdev001@gmail.com |
806accfbc483f5c0c17301747d9de7c5caffb20a | 41d0aee2205d1d1d244faf6b72bae5b48d3839af | /testsuites/unittest/posix/mqueue/full/It_posix_queue_150.cpp | 6852a595d460782605c8a3ba45550a54662ae954 | [
"BSD-3-Clause"
] | permissive | SunnyLy/kernel_liteos_a_note | 75d2df014abce78e85722406331343832f74cec4 | 9c54aa38d2330b365e55e5feff1f808c3b6dba25 | refs/heads/master | 2023-08-19T13:15:21.905929 | 2021-10-22T09:26:15 | 2021-10-22T09:26:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | cpp | /*
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redist... | [
"kuangyufei@126.com"
] | kuangyufei@126.com |
6c977ef5923ba58dd6d462db9ad547674fe15754 | d0a3edcc3172d5d60b43776cd36bcc51027a3d77 | /delete Node Recursively.cpp | 8b2b41f0e41ee631a58380b8f05ac97a7578151f | [] | no_license | Sanchitgoyal2000/Singly-Linked-List | b2b4ddabc1d8b7b7a5c644e9c02b628ad9f24201 | 32aa172a6e0fd3b9406fed75c167fb12c9f28d35 | refs/heads/master | 2020-07-01T13:04:54.754825 | 2020-03-28T06:41:16 | 2020-03-28T06:41:16 | 201,184,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | struct Node* recursivedelete(struct Node *head,int p)
{
if(p<1)
return head;
if(p==1)
{
struct Node *temp1=(struct Node*)malloc(sizeof(struct Node));
temp1=head->next;
free(head);
return temp1;
}
head->next=recursivedelete(head->next,p-1);
return head;
}
| [
"noreply@github.com"
] | Sanchitgoyal2000.noreply@github.com |
ea0627d8876c11909807b564cf1f701253e0c9b0 | 2511b9066113f8c1e9cb18b6943094616e15fea0 | /WinrtApp/MainPage.cpp | feff90adc31e4920d70f9a08e46244ce2c897c07 | [] | no_license | wcj233/StaticLibraryWinrt | d3af71cf16ba7a1d0b4a5a355c2b114ec79cff31 | 2047eeea2d522bfe8bfcf14e0d71a7d6ca12fbc7 | refs/heads/master | 2022-11-13T16:38:09.622454 | 2020-06-23T08:32:41 | 2020-06-23T08:32:41 | 274,352,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | #include "pch.h"
#include "MainPage.h"
#include "MainPage.g.cpp"
#include <winrt/StaticLibrary1.h>
using namespace winrt;
using namespace Windows::UI::Xaml;
namespace winrt::WinrtApp::implementation
{
MainPage::MainPage()
{
InitializeComponent();
}
int32_t MainPage::MyProperty()
{
... | [
"v-faywan@microsoft.com"
] | v-faywan@microsoft.com |
db70e704e4eea6851082831a8adf627f62db575c | c2bbe165858014ea7fd226710fa3dc1f4af36fe8 | /src/locMatrix.cpp | 69877a4fda10ece5f6a3539e6b69e2799fcd89cc | [] | no_license | tonymugen/GWAlikeMeth | 5781bb71e0ac79d6772d405a025f4379a52453cc | 8245a7224ba4253681f54aaedd17a60b4520bedf | refs/heads/master | 2020-04-16T00:34:56.464885 | 2020-01-31T22:28:18 | 2020-01-31T22:28:18 | 165,144,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59,218 | cpp | /*
* Copyright (c) 2016 Anthony J. Greenberg
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis... | [
"info@bayesicresearch.org"
] | info@bayesicresearch.org |
6870ac65a787817b64c4dde8594a1141adfc4f20 | 85b9ce4fb88972d9b86dce594ae4fb3acfcd0a4b | /build/Android/Release/Global Pot/app/src/main/include/Fuse.Animations.MasterPropertyGet.h | a733d6ac85b16a46bf4b5cb4616e6ea7b020f558 | [] | no_license | bgirr/Global-Pot_App | 16431a99e26f1c60dc16223fb388d9fd525cb5fa | c96c5a8fb95acde66fc286bcd9a5cdf160ba8b1b | refs/heads/master | 2021-01-09T06:29:18.255583 | 2017-02-21T23:27:47 | 2017-02-21T23:27:47 | 80,985,681 | 0 | 0 | null | 2017-02-21T23:27:48 | 2017-02-05T10:29:14 | C++ | UTF-8 | C++ | false | false | 685 | h | // This file was generated based on C:\Users\EliteBook-User\AppData\Local\Fusetools\Packages\Fuse.Animations\0.44.1\$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Fuse{
namespace Animations{
// internal abstract interface MasterPro... | [
"girr.benjamin@gmail.com"
] | girr.benjamin@gmail.com |
41c0c8d723450b591519783178c5787f65d439e4 | 69a2604ec0058aadc68d4a003661881a4674b7d8 | /cpp/server/main.cpp | 7eaac2d5c57d6891bc96fb8b5dbf094d467ac7ef | [
"MIT"
] | permissive | danieljoos/grpc-error-details | f62e6c0fdbe1b72cfe2fd195e279589ee907b5f2 | 3e127d1b4d3cccc6c86c5bfe71a683170b5bea06 | refs/heads/master | 2022-03-18T20:22:26.090404 | 2022-03-09T18:12:51 | 2022-03-09T18:12:51 | 128,110,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp |
#include <grpc++/grpc++.h>
#include <grpc++/support/error_details.h>
#include <grpc/grpc.h>
#include "example.grpc.pb.h"
#include "example.pb.h"
// This is the compiled protobuf header of `google::rpc::Status`.
#include "status.pb.h"
class ExampleHelloImpl final : public example::ExampleHello::Service {
grpc::S... | [
"daniel@joosweb.de"
] | daniel@joosweb.de |
ee30b318a81b221ce7770cb5b0a082e289ffc982 | 41b4adb10cc86338d85db6636900168f55e7ff18 | /aws-cpp-sdk-storagegateway/source/model/ErrorCode.cpp | 6307f8d502af4e923b791bf91d805c84ee83b32e | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | totalkyos/AWS | 1c9ac30206ef6cf8ca38d2c3d1496fa9c15e5e80 | 7cb444814e938f3df59530ea4ebe8e19b9418793 | refs/heads/master | 2021-01-20T20:42:09.978428 | 2016-07-16T00:03:49 | 2016-07-16T00:03:49 | 63,465,708 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,369 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
255e6131640b0864b72b32e008802d3f726e938b | 100000b8c66f0b7a95c8985518e2214f1ede2597 | /Homework 10/Homework 10/HW10Source.cpp | 8d149c4fd2b78547bd142c7ff9f29ca9846494aa | [] | no_license | Kardbord/CS1400 | 9803a3941c544e2eadb31a7966d32c4aaf908deb | 8130b970b7c1c9f85c42e9e4098e1f6ad1a93ea5 | refs/heads/master | 2021-05-11T09:01:28.322815 | 2018-01-19T02:34:25 | 2018-01-19T02:34:25 | 118,066,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,841 | cpp | //Tanner Kvarfordt
//A02052217
/*This program uses input from a file to display the average high and low temperatures
over however many days are included in the file. It will also display how many days are
in the file and the number of days that the temperature was below 32 degrees Fahrenheit.*/
#include<iostream>
#i... | [
"tanner.kvarfordt@aggiemail.usu.edu"
] | tanner.kvarfordt@aggiemail.usu.edu |
e855ae2bb6d2b6401b5a5aa0a49d19522687f9b2 | 2482d7f225d0e2a30fd86fc884d1b09f0f709a67 | /source/piece.h | b2e5cb299e67ccade852f9d7e189906e2af27644 | [] | no_license | EduardGomezEscandell/ConsoleChess | 0f194683b6e6aad16d562077bbf9b132c999d639 | bc2a2ef7e262b320633f4120b2ec0a8597f55b93 | refs/heads/master | 2023-04-27T13:13:18.258816 | 2021-05-10T17:01:38 | 2021-05-10T17:01:38 | 356,655,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,428 | h | #ifndef CHESS_PIECE_H
#define CHESS_PIECE_H
#include "defines.h"
#include "move.h"
#include <vector>
#include <memory>
#define CHESS_DEFINE_PIECE_BOILERPLATE(Name, NameCapitalized, Symbol)\
\
Name::Name(const int & rank, \
c... | [
"eduard.gomez.escandell@gmail.com"
] | eduard.gomez.escandell@gmail.com |
8c2b55df03516fcbb4a31c25d0888b4b45a61643 | 48e4c9712b38a90b819c84db064422e1088c4565 | /toolchains/motoezx/qt/include/qt-2.3.8/qwssocket_qws.h | d359b1b6d2cfc1299f592979dab894452cfbc564 | [] | no_license | blchinezu/EZX-SDK_CPP-QT-SDL | 8e4605ed5940805f49d76e7700f19023dea9e36b | cbb01e0f1dd03bdf8b071f503c4e3e43b2e6ac33 | refs/heads/master | 2020-06-05T15:25:21.527826 | 2020-05-15T11:11:13 | 2020-05-15T11:11:13 | 39,446,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,356 | h | /****************************************************************************
** $Id: qt/src/kernel/qwssocket_qws.h 2.3.8 edited 2004-08-05 $
**
** Definition of QWSSocket and related classes.
**
** Created : 970521
**
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
**
** This file is part of the ker... | [
"eu.gabii@yahoo.com"
] | eu.gabii@yahoo.com |
cb33b63d556c81ae617c2a28d5bf407a61fe662c | 9bbef6def62136a555bbe5dd6962fe929f5f102d | /lldb/include/lldb/Target/TraceCursor.h | c27bba3abf4cb9a9e740e24d587e10874c8e80b6 | [
"NCSA",
"Apache-2.0",
"LLVM-exception"
] | permissive | jmorse/llvm-project | ca96001f51957966a718d350f51e88580cd96a83 | ee8da6369225f47f85e61e1ef2807af6a8677a0d | refs/heads/master | 2023-07-27T02:18:21.584156 | 2021-07-11T14:10:11 | 2021-07-11T14:10:11 | 183,056,402 | 1 | 0 | null | 2023-03-03T20:51:17 | 2019-04-23T16:39:17 | null | UTF-8 | C++ | false | false | 5,377 | h | //===-- TraceCursor.h -------------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"wallace@fb.com"
] | wallace@fb.com |
9997ceb4aab912b427c1cde4a4c663c97fcccfcf | aad71b18989fb7e67c577b3c9e6309f6475e03b2 | /rootex/framework/entity_factory.h | 043bb13e893f45f9484736573d1acd96efc7dec3 | [
"MIT"
] | permissive | meetcshah19/Rootex | 8bb5f79834777c10966dc5dbd2d0f0ca18a142b5 | 002725f80ee6ce02a01e1d18630f5635ad2a5b0c | refs/heads/master | 2021-05-18T21:50:12.894803 | 2020-07-27T16:33:48 | 2020-07-27T16:33:48 | 251,438,812 | 0 | 0 | MIT | 2020-03-30T22:04:07 | 2020-03-30T22:04:07 | null | UTF-8 | C++ | false | false | 2,369 | h | #pragma once
#include "common/common.h"
#include "resource_file.h"
#include "entity.h"
#include "component.h"
/// Invalid ID for an entity
#define INVALID_ID 0
/// Root entity ID
#define ROOT_ENTITY_ID 1
/// Function pointer to a function that constructs a component, taking in a set of component data.
typedef Compon... | [
"wtwarit@gmail.com"
] | wtwarit@gmail.com |
b1cdfe7aec7059aab02d56b2126877b3f2e6e464 | 00f95f1ce60a571faefd214db17442d7d32450c6 | /src/midi/render.cpp | 2d67e368b51846681086028ccf20b973025f1c40 | [] | no_license | emildekeyser/midi-parser | fcff34a6d5a2874fe66e9f8e7442d45cf0ae442d | e452b30bb2a7e85d8c90d253253e65ec71c3ac9b | refs/heads/master | 2023-01-09T22:24:56.619955 | 2020-08-09T13:56:41 | 2020-08-09T13:56:41 | 312,271,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,618 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <map>
#include <sstream>
#include <numeric>
#include <iomanip>
#include "imaging/bitmap.h"
#include "imaging/bmp-format.h"
#include "midi/midi.h"
#include "render.h"
std::map<int, imaging::Color> gen_colors(std::vector<midi::NOTE> notes)
{
imaging:... | [
"emil.dekeyser@student.ucll.be"
] | emil.dekeyser@student.ucll.be |
f193ef483bff463ebfdf2c17d2c21249364bdb4e | 4ae1d3431c99958b4a79ffb003588738ac5724df | /gengen/staticcodegetter.h | 99fcd336f4708b8552aa5ff918799d49d6f7b9a7 | [
"MIT"
] | permissive | JaDogg/GenGen | 2971e0c0c8c40f1ff0a7dff6e88c9df7bba8a6eb | 29a28ce809095a28683193d55d2291996cc90b47 | refs/heads/master | 2021-01-19T18:10:38.662843 | 2015-02-01T14:52:05 | 2015-02-01T14:52:05 | 30,136,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | h | #ifndef STATICCODEGETTER_H
#define STATICCODEGETTER_H
#include <string>
class StaticCodeGetter {
public:
virtual std::string GetBeforePreHeader() = 0; // our header message
virtual std::string GetAfterPreHeader() = 0; // our includes and functions before main()
virtual std::string GetAfterHeader() = 0; // ... | [
"jadogg.coder@gmail.com"
] | jadogg.coder@gmail.com |
a09e078eb8dd6367ff30ede189de09fd4d7c2cce | 519c64b3f1a8d8c12121141f9f950db8c31d3ac9 | /Poj/2376.cpp | 3855ebb58af6ba8c050ea127ed4257a0386e8e55 | [] | no_license | Ronnoc/Training | 7c7db931865dd5a7ba222b3c1c384a43459737f0 | 75d16ac8f33dfe0cf47548bf75d35a8b51967184 | refs/heads/master | 2022-11-11T19:57:53.845777 | 2022-11-06T02:54:34 | 2022-11-06T02:54:34 | 13,489,501 | 17 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <bitset>
#include <cctype>
#include <cstdio>
#include <string>
#include <vector>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <sstream>
#inc... | [
"kybconnor@126.com"
] | kybconnor@126.com |
6fd6ef50dfc87965adf3ea30720c692658cab3da | fb0969b4687bd3eb8986feacdbd7fc327ed44fe9 | /for_and_arrays/1_7_14.cpp | 7a95d2a9ee56f945fc890d197dc7001b046e87a9 | [] | no_license | chinoiserie/stepik_yandex_cpp | 574cc869d05d564c85280e51080f186257705f5a | 5bd83b5d0c543aca10da8dbd3b7d11ad83da9624 | refs/heads/master | 2020-03-28T18:55:09.538571 | 2018-09-19T20:24:00 | 2018-09-19T20:24:00 | 148,926,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | /* N кеглей выставили в один ряд, занумеровав их слева направо числами от 1 до N. Затем по этому ряду бросили K шаров,
при этом i-й шар сбил все кегли с номерами от li до ri включительно. Определите, какие кегли остались стоять на месте.
Формат входных данных
Программа получает на вход количество кеглей N и количеств... | [
"noreply@github.com"
] | chinoiserie.noreply@github.com |
848fcf7c4528214efe623f166c525a9484b7ffbf | b2119eea95c182c183913cc3574e75e8689d3130 | /SOURCES/ui/src/common/missions.cpp | 99b17abf6de96f5da054016678a56f5753f8d400 | [
"Unlicense"
] | permissive | 1059444127/Negev-Storm | 11233b1b3741f643ff14b5aa7b6ee08de40ab69f | 86de63e195577339f6e4a94198bedd31833a8be8 | refs/heads/master | 2021-05-28T10:48:53.536896 | 2015-02-08T10:42:15 | 2015-02-08T10:42:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,003 | cpp | //
// Mission Building stuff for the UI
//
//
#include <windows.h>
#include "unit.h"
#include "campwp.h"
#include "campstr.h"
#include "squadron.h"
#include "division.h"
#include "flight.h"
#include "team.h"
#include "find.h"
#include "misseval.h"
#include "camplist.h"
#include "chandler.h"
#include "ui95_ext.h"
#inclu... | [
"israelyflightsimulator@gmail.com"
] | israelyflightsimulator@gmail.com |
13040b33274f5b196ee3ca22e4a9ed28e1053615 | 777a11faede97e93799bf14c4885d3c9f674af21 | /DirectProgramming/DPC++FPGA/ReferenceDesigns/db/src/query12/pipe_types.hpp | f7b24c05c2abb67e625fff02413d8e307bbbfcd1 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | delecui/oneAPI-samples | 26ab2acd1646e6d7979efe58226921bbb0c8fdbc | dd944e85680bd5603d13d58ea422757c5ce0c15b | refs/heads/master | 2023-07-16T04:30:10.949547 | 2021-08-16T21:48:44 | 2021-08-16T21:48:44 | 359,517,315 | 1 | 0 | MIT | 2021-08-17T02:25:59 | 2021-04-19T15:58:36 | null | UTF-8 | C++ | false | false | 3,072 | hpp | #ifndef __PIPE_TYPES_H__
#define __PIPE_TYPES_H__
#pragma once
#include <CL/sycl.hpp>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include "../db_utils/StreamingData.hpp"
#include "../dbdata.hpp"
using namespace sycl;
//
// A single row of the ORDERS table
// with a subset of the columns (needed for this query)
/... | [
"noreply@github.com"
] | delecui.noreply@github.com |
cc008d030e816170c6a4ae37bb3c468c8f708fa9 | a805a483de393a9110bb339522a90582f8817367 | /Display.h | fef21f2ad07d330c4ad7505a57c5b4e632ae6324 | [] | no_license | Nanoxium/hpc_cellular_automata | 98900025fe86f59f4173b1cc46e23c8f98f7ad62 | 1c9134863cbde11e972dc411e8a656cbfb97d06b | refs/heads/master | 2023-03-14T16:22:08.808017 | 2020-07-17T12:15:52 | 2020-07-17T12:15:52 | 350,714,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | #ifndef Display_H_
#define Display_H_
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
struct color{
float r;
float g;
float b;
};
template <class T>
class Display {
public:
Display( T* data, unsigned int sizex, unsigned int sizey, T max );
~Display();
void show();
... | [
"jerome.chetelat@etu.hesge.ch"
] | jerome.chetelat@etu.hesge.ch |
a07213e12d486af036a0e0af20e37ce8a3b1f8a8 | 42ae585ddad8ef6d7d9c28543f119d675a7721d8 | /Codeforces/Educational/80/A. Deadline (IMP - Binary search).cpp | 06c3529325178ecdf3e2a4615deed348388657fa | [] | no_license | arnab9997/DSA-Problems-Personal | d32dd11c1226a244352c43178207ac841542f5a5 | 5d5945178ea67278382b3cc85c2b3f123ac3afcc | refs/heads/main | 2023-01-13T20:11:42.514785 | 2020-11-17T03:16:18 | 2020-11-17T03:16:18 | 313,490,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
#define REP(i, a, n) for(int i=a; i<n; ++i)
#define pb push_back
#define sz(x) (int)((x).size())
#define all(x) (x).begin(), (x).end()
typedef pair<int, int> ii;
typedef vector<int> vi;
typedef vector<ii> vii;
#define sq(... | [
"noreply@github.com"
] | arnab9997.noreply@github.com |
78f3e4beba2fe23df3919e8c575d730653d9d546 | d4df1707f1651063e1617a2b86a6b0b79a36b120 | /less_than_k_in_query[l,r]_using_BIT.cpp | ab2c441df371a349fe426bcb0eba8f3fe21ea71a | [] | no_license | naresh9949/Problams | 654b170c1dfed48aefb7c811175fd0bf8f04ad46 | f2e66a4ede9319697366d28bf548c3f2a28d866c | refs/heads/master | 2022-09-18T05:39:10.536231 | 2020-06-04T05:57:18 | 2020-06-04T05:57:18 | 269,272,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,936 | cpp | #include<iostream>
using namespace std;
class FenwickTree
{
int size;
int *Tree;
int *ar;
public:
FenwickTree(int n)
{
Tree = new int[n+1];
size = n+1;
memset(Tree,0,size);
}
int GetSum(int index)
{
int pos = index+1;
int sum = 0;
while(pos!=0)
{
sum+=Tree[pos];
pos = GetParent(pos)... | [
"noreply@github.com"
] | naresh9949.noreply@github.com |
42ebf8c1402d81c926ac1d3c29dfc91313306215 | bd8bcdb88c102a1ddf2c0f429dbef392296b67af | /include/fengine/IO/Crypto/DecryptionException.h | 6239efde4b21add78b9b21041b260f8b1ded655c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | LukasBanana/ForkENGINE | be03cee942b0e20e30a01318c2639de87a72c79c | 8b575bd1d47741ad5025a499cb87909dbabc3492 | refs/heads/master | 2020-05-23T09:08:44.864715 | 2017-01-30T16:35:34 | 2017-01-30T16:35:34 | 80,437,868 | 14 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | /*
* Decryption exception header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_DECRYPTION_EXCEPTION_H__
#define __FORK_DECRYPTION_EXCEPTION_H__
#include "Core/Exception/DefaultException.h"
namespace Fork
{
/**... | [
"lukas.hermanns90@gmail.com"
] | lukas.hermanns90@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.