blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6048291360fbc3fa92ee150340e20b937801c0f3 | c251135af4c6e957c7b70d30aabb0e1da9bbe376 | /node-angular-display-server/node_modules/node-mirror/lib/pty-win/deps/winpty/agent/AgentAssert.cc | 413fcf7b2328804dcde1e592c75d6fc2c492cd73 | [
"MIT",
"BSD-3-Clause"
] | permissive | strongloop-community/node-angular-raspberry-pi-dashboard | 41999d49985baa33e01850570defcaa0f9466cda | 8ab985f41582f9a561f3fd999a3f54293164e330 | refs/heads/master | 2021-01-01T20:17:36.280716 | 2013-12-02T15:37:28 | 2013-12-02T15:37:28 | 14,508,781 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cc | // Copyright (c) 2011-2012 Ryan Prichard
//
// 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... | [
"matt.schmulen@gmail.com"
] | matt.schmulen@gmail.com |
5a0fcbfabd4c4042f5eee05b7ed9919c90c8a8f3 | 6d262e1e3f104f316cb8c3b3c9cfd5ddbb5cc6e3 | /Source/Common/Game/Enemy.h | b52b325c564e302144f82c7eca0b759f0ed7590f | [] | no_license | doug0102/GAM1514FinalProject | 594819061bb10dcb19a4a59ac8cb5f4e241882c5 | d2c693648607f48610a59e52726fa10076bed302 | refs/heads/master | 2020-06-06T02:35:08.380462 | 2013-12-12T20:15:27 | 2013-12-12T20:15:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | #include "Player.h"
class Enemy : public Player
{
public:
Enemy(Level* level, float speed);
virtual ~Enemy();
const char* getType();
void update(double delta);
void paint();
void reset();
void fireProjectile(float x, float y);
void slowEnemy(double length, float power);
protected:
void handlePlayerColli... | [
"doug0102@algonquincollege.com"
] | doug0102@algonquincollege.com |
b8cd780b6f5f3b7901c1dce488160cf1ebf878ea | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.002/PC4H9O | 4d2ccc5f551a17b22996f1625d18e2313bb42046 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
ebfb60a5243b44bb7316068da1b5fc612ee26e3d | b4bdcc68d17958d7175c9f7742594b1a33be2c79 | /CaffeMac/caffe/blob.hpp | 1ca17113b6751818d895c74cba4ed3825582cf92 | [] | no_license | panda-lab/CaffeXcode | bc844a53f0eafb38636bb047c18d997f324ea9c1 | 5747d94a2e3917771a2fef2023d37736b299a4bd | refs/heads/master | 2022-09-09T08:10:42.899473 | 2017-08-21T09:46:37 | 2017-08-21T09:46:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,533 | hpp | #ifndef CAFFE_BLOB_HPP_
#define CAFFE_BLOB_HPP_
#include <algorithm>
#include <string>
#include <vector>
#include "caffe/common.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/syncedmem.hpp"
const int kMaxBlobAxes = 32;
namespace caffe {
/**
* @brief A wrapper around SyncedMemory holders serving as the bas... | [
"lisiyuan@oneniceapp.com"
] | lisiyuan@oneniceapp.com |
d3884a1f91d6aa9e9cdadd6f810953f026a76c54 | e41e78cc4b8d010ebdc38bc50328e7bba2d5a3fd | /SDK/Mordhau_BP_Executioner_katzbalger_classes.hpp | ad6fdbe71887f8d84fd22b22f2ed735ada101486 | [] | no_license | Mentos-/Mordhau_SDK | a5e4119d60988dca9063e75e2563d1169a2924b8 | aacf020e6d4823a76787177eac2f8f633f558ec2 | refs/heads/master | 2020-12-13T10:36:47.589320 | 2020-01-03T18:06:38 | 2020-01-03T18:06:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | hpp | #pragma once
// Mordhau (Dumped by Hinnie) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClas... | [
"hsibma02@gmail.com"
] | hsibma02@gmail.com |
8335f948cf048b2f8efc5ffa25e416c7c79a8649 | 1b264f5b419e7fca9fb6304a0961aed604366878 | /NonOptimal.cpp | c62a0537fc949413ac79d6de558a23419f311d80 | [] | no_license | yuvalmizrahi2/Reduced-Huffman-Trees | 16b26d5e17431877375e7d61a6ade5c1d2580148 | 036f0032b42c5c1b30f6b780ad3b60e76a133e44 | refs/heads/master | 2020-05-19T22:57:26.903631 | 2019-09-02T15:48:19 | 2019-09-02T15:48:19 | 185,256,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | cpp | #include "NonOptimal.hpp"
NonOptimal::NonOptimal(vector<int> l){
copy(l.begin(), l.end(), back_inserter(this->leaves));
for(unsigned int i = 0; i < leaves.size(); i++)
numberOfNode.push_back(0);
}
NonOptimal::~NonOptimal(){
}
int NonOptimal::numberAfterReduce(int high, int low){
int count = 0;
... | [
"yuvalmiz9@gmail.com"
] | yuvalmiz9@gmail.com |
14cfcc2881749d9a5d7e7d0646d011235b3dc746 | e28e5e34a399c49ec61409dfb66a33d3c033498f | /10869-fourop/10869-fourop.cpp | 126104aba2ec7ffe73b67c78438c8605de6f0ad4 | [] | no_license | rupc/boj | e72f2e8ec1a69da7d735ac1723273b977cf2155e | 281ce9561c152a7330acc31ded83198a1d0c34c7 | refs/heads/master | 2020-07-02T08:07:00.618675 | 2017-01-24T05:56:32 | 2017-01-24T05:56:32 | 66,392,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,437 | cpp | // input, output
#include <iostream>
#include <iomanip>
// container
#include <vector>
#include <array>
#include <list>
#include <map>
#include <set>
#include <string>
// container adaper
#include <stack>
#include <queue>
// STL algorithm related
#include <algorithm>
#include <iterator>
#include <functional>
#include ... | [
"neurosilver@gmail.com"
] | neurosilver@gmail.com |
29f03c1284e414292c37b74d8dedfd87a28c10c6 | 0b9e0845b93c3759ffcbf9abb12413088fdfbe10 | /Manibus2.0/Manibus-VE-group/VE_DLL/Peripheral/MGpio/MGpio/MGpio.h | 7669352966c84eacd0dd9df2210d43b6d10808e4 | [] | no_license | MyLinkiio/Manibus | b4e95752e51a04245e2ba5881455c928802c3a38 | 2a57e97731dc61b56c8c6469b59978758f5a8098 | refs/heads/master | 2020-03-28T09:09:20.911179 | 2018-08-19T07:59:09 | 2018-08-19T07:59:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,417 | h | #include "stdafx.h"
#include <iostream>
#include <utility>
#include <string>
#define MGPIO_API __declspec(dllexport)
#define GPIO_Check 0xFE
#define pPinInit__ID 0xE1
#define pPinDeInit__ID 0xE2
#define pPinOutPut__ID 0xE3
#define pPinReadBit__ID 0xE4
#define G... | [
"33600719+JameScottX@users.noreply.github.com"
] | 33600719+JameScottX@users.noreply.github.com |
24d560bce905db7299b5526edbd5e302dc48f9dc | abc4cd2f20e873ae23b969252813987ff028d0df | /Labs/lab09/main.cpp | bc4b41158e2579201ccee2f844dde2d4b5877d34 | [] | no_license | Reido50/CSE-232 | 7b291440d4c733336464bb4513aca28a5e978dd3 | 6bd6af37a4ed85d5d854b09fb64d2de27072eba2 | refs/heads/master | 2022-04-24T17:32:05.725968 | 2020-04-26T18:19:09 | 2020-04-26T18:19:09 | 233,287,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | cpp | #include<iostream>
#include<string>
using std::cout; using std::endl;
using std::string;
#include "math_vector.h"
int main (){
MathVector v1;
MathVector v2(3,2);
MathVector v3(10,12);
cout << "V1:" << vec_to_str(v1)
<< ", V2:" << vec_to_str(v2)
<< ", V3:" << vec_to_str(v3)
<< endl... | [
"reidoharry50@gmail.com"
] | reidoharry50@gmail.com |
71ad8926f751b5cde1ba559705235ef061cf1ca7 | 6b68d51a5e78f09ac3c0ce618c22f3d94a9ba4d8 | /src/rpcdump.cpp | 4077bd1a976163a72e435a3ba087ea61d2249ddf | [
"LicenseRef-scancode-other-permissive"
] | permissive | systemgregorypc/a1xcoin | f9e5f883fa33a3e6a427c306547d1ba2a32f9370 | e64dbf3d7220161ccbc58d9b600e222de4bd2df0 | refs/heads/master | 2021-05-09T11:12:11.036599 | 2018-09-10T05:44:50 | 2018-09-10T05:44:50 | 118,985,262 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,623 | cpp | // Copyright (c) 2009-2012 Bitcoin Developers
// Copyright (c) 2012-2015 The Peercoin developers
// Copyright (c) 2018 The a1xcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h" // for pwalletMain
#... | [
"noreply@github.com"
] | noreply@github.com |
08591be038a2027e9bea529d273d58e8b43156d9 | 8f4678d6c0ba8ec98a6bd5ecef800a3f51751937 | /Demo/BulletPhysics.cpp | eddde90c1bc5a8ae9981c31c3547e00d7ea07d28 | [] | no_license | Lateks/physics-demo | a01858b5781b4f6d5993ce7b0bd4534e41ec4b92 | 24e655744b66ca7c7af2b37afb075f3e3d853dfa | refs/heads/master | 2021-01-22T03:13:35.295427 | 2013-05-26T08:23:55 | 2013-05-26T08:23:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,081 | cpp | #include "BulletPhysics.h"
#include "BulletPhysicsObject.h"
#include "GameActor.h"
#include "WorldTransformComponent.h"
#include "GameData.h"
#include "IEventManager.h"
#include "XMLPhysicsData.h"
#include "Events.h"
#include "BulletConversions.h"
#include "BSPConverter.h"
#include <btBulletCollisionCommon.... | [
"laura.leppanen@iki.fi"
] | laura.leppanen@iki.fi |
416eaad698e2a70d433b265a1bedcf44318ba2dd | 786ee5ec2863154dd194f2144850a0abdca5947b | /src/njli/graphics/opengl_es_3.0/Geometry.cpp | 034256925ab903934a0442d6f09a965564233dd8 | [
"MIT"
] | permissive | njligames/Engine | c36076fcf79784354cb75ea23fab461340b084a2 | 899c7b79cea33a72fc34f159134f721b56715d3d | refs/heads/master | 2020-05-20T18:56:30.287559 | 2017-04-06T23:06:18 | 2017-04-06T23:06:18 | 84,506,545 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,037 | cpp | //
// Geometry.cpp
// JLIGameEngineTest
//
// Created by James Folk on 11/22/14.
// Copyright (c) 2014 James Folk. All rights reserved.
//
#include "Geometry.h"
#include "JLIFactoryTypes.h"
#include "World.h"
#include "LevelOfDetail.h"
#include "Material.h"
#include "ShaderProgram.h"
#include "MaterialProperty.h"
... | [
"jamesfolk1@gmail.com"
] | jamesfolk1@gmail.com |
eee27e3f3a417ff94b388c34d8037828333b5d89 | feb916f1dadbbb91a1ba710a471bc0a267f3255f | /source/Jigsaw3D/PuzzlePiece.h | e855a2223a159da9751c9bd010900c2b856626fa | [] | no_license | DaanNiphuis/Jigsaw3D | b4475ad78faac08a445507db4aa94302bc81e1fd | f10238d5b5572668c4a0dbb3683080d92ea317b7 | refs/heads/master | 2020-05-30T16:33:05.614082 | 2013-01-23T19:22:43 | 2013-01-23T19:22:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | h | #ifndef PUZZLEPIECE_H_
#define PUZZLEPIECE_H_
#include <iostream>
#include <vector>
#include "common.h"
class PuzzlePiece {
const uint _gridwidth;
std::vector<uint> _piece_shape;
uint get_point_index(uint row_number, uint col_number) const;
uint get_flippable_point(bool flipped, uint row_number, ... | [
"dniphuis@gmail.com"
] | dniphuis@gmail.com |
f3b01d90130add0e78bd1688f4c0b8e76fe620d4 | d29ff768a0f7c0a21e497271ae6bb3a9510c0c41 | /DesktopToys/Shooter2Mark.cpp | 12f40f868732078887762485f407ae6276274fcc | [] | no_license | imcy/DesktopToys | e2544512574d6b2e8d2575611538b41173604216 | 98d281fb3b8021869b664eb3bcf5afd153da72a8 | refs/heads/master | 2021-08-15T02:52:37.391784 | 2017-11-17T08:00:30 | 2017-11-17T08:00:30 | 110,933,217 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,893 | cpp | #include "stdafx.h"
#include "Shooter2Mark.h"
CShooter2Mark::CShooter2Mark(float x, float y)
{
SetCenterPos(x, y);
// 生成[1,5]之间的随机数
int i = 1 + rand() % 5;
TCHAR szFilename[MAX_PATH] = { 0 };
_stprintf_s(szFilename, _T("images/The Toolbox Mark %02d.png"), i);
m_img = Image::FromFile(szFilename);
for (int i ... | [
"393632272@qq.com"
] | 393632272@qq.com |
5da6769bbda4777f0ff4458d511321aeb9832597 | e769bb7386f31ee347accee1ccbb421dfd9c42d1 | /Assignments/Assignment 2/A2/A2/LevelOneState (copy).cpp | 69dd76d89962021b7f88e00d71fc053dd07a9c1c | [] | no_license | neytjieb1/Software-Modelling | 5cf0bbdf5411b7b6006aa02113ee493fe077f65f | 907fc4dc2f1fac9b6b0ce62e840b17a7b6604a72 | refs/heads/master | 2023-02-07T18:53:14.187438 | 2020-10-23T04:30:22 | 2020-10-23T04:30:22 | 287,204,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | //
// Created by jo on 2020/08/26.
//
#include "NoLevelState.h"
#include "LevelOneState.h"
#include "LevelTwoState.h"
#include <iostream>
using namespace std;
LevelOneState::LevelOneState() : LevelState("level1") {}
void LevelOneState::handle() {
cout << "The country is at level1: Very few cases" << endl;
}
Lev... | [
"u17091820@tuks.co.za"
] | u17091820@tuks.co.za |
843c1d0855f5f4b7057454d5fec5a14def31f95d | ba10da4be74ba4e472bbe4b51d411627fc07bdbf | /build/iOS/Preview/include/Fuse.UserEvent.h | 92659f0b13d2a814041d20cd3fbb6a011c9ec526 | [] | no_license | ericaglimsholt/gadden | 80f7c7b9c3c5c46c2520743dc388adbad549c679 | daef25c11410326f067c896c242436ff1cbd5df0 | refs/heads/master | 2021-07-03T10:07:58.451759 | 2017-09-05T18:11:47 | 2017-09-05T18:11:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,173 | h | // This file was generated based on '/Users/ericaglimsholt/Library/Application Support/Fusetools/Packages/Fuse.UserEvents/1.0.5/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Behavior.h>
#include <Fuse.Binding.h>
#include <Fuse.INotifyUnrooted.h>
#include <Fuse.IP... | [
"ericaglimsholt@hotmail.com"
] | ericaglimsholt@hotmail.com |
138980fbb4e3563a20203f8baef32f94d8c5450f | 8c4ad8d91bdd5cc1c0cf2f7b2766d804a21e0ff8 | /chef/SPOON.cpp | 950f1fd49ad65da86da9c4dcc0594b4af018649e | [] | no_license | gabrieltepin/programming-contests | c4da797a80a77ee02b99a74b8469cb77677fd94c | 9dcf56c4b77c5426dd987ebf1f0536aa14fd4858 | refs/heads/master | 2023-03-23T11:36:39.908248 | 2021-03-19T13:43:43 | 2021-03-19T13:43:43 | 349,437,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | cpp | #include <iostream>
#define fori(x, y) for(int i = x; i < y; ++i)
#define forj(x, y) for(int j = x; j < y; ++j)
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL); cout.tie(NULL);
int T, R, C;
char tab[102][102], str[5] = {'s', 'p','o', 'o', 'n'};
cin >> T;
while(T--){
bool isfound... | [
"gabrieltepin@gmail.com"
] | gabrieltepin@gmail.com |
6539ce6c96c7172e4a38acbf268469f033b3fdba | 03ba325820c997599beff5add437d35347a953aa | /source/editor/Editor.h | 26d849327caaed3be993996657619bec63b20798 | [
"MIT"
] | permissive | simplerr/UtopianEngine | cc13a43279bd49f55136120cf75c8c8d5fcff705 | b7c38df663a4b6b2fa1d7c9f1f83dfc661de1a9a | refs/heads/master | 2022-10-12T12:03:19.166812 | 2022-09-28T05:48:31 | 2022-09-28T05:48:31 | 77,483,702 | 64 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,412 | h | #pragma once
#include "utopian/vulkan/VulkanPrerequisites.h"
#include "utopian/utility/Common.h"
#include "utopian/ui/Console.h"
#include <vector>
#include <string>
#include <glm/glm.hpp>
namespace Utopian
{
class World;
class Actor;
class ActorInspector;
class Terrain;
class TerrainTool;
class Folia... | [
"axel.blackert@gmail.com"
] | axel.blackert@gmail.com |
06a26f81a362ac0c8ac92d50232c94665e86aca3 | 9324cb559c509753d3a2f6467ccb6616de58af05 | /fboss/lib/RingBuffer.h | 011615227269d6ed854f9b34ad14d1f8b86dcfd1 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | rsunkad/fboss | 4b39eefa3851bd9e415403d28a28290838dea22f | 760255f88fdaeb7f12d092a41362acf1e9a45bbb | refs/heads/main | 2023-07-24T10:39:48.865411 | 2021-09-08T18:58:30 | 2021-09-08T18:59:40 | 404,465,680 | 0 | 0 | NOASSERTION | 2021-09-08T19:09:20 | 2021-09-08T19:09:19 | null | UTF-8 | C++ | false | false | 721 | h | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pra... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
9a3043a6ac568c4db92972b8a6174282fa50757c | ef9692ecde7874511d0e82338cdbeca0bbb18c68 | /include/rcnn/config/paths_catalog.h | 5e2e5b5c372bcd7b9ca1037a080d3ad4008abf88 | [
"MIT"
] | permissive | conanhung/maskrcnn_benchmark.cpp | f364dae01be21d289c6e7034f0a2070c9c0cb909 | eab9787d3140e003662a31a8e01f7ae39469e9a0 | refs/heads/master | 2020-09-29T17:29:04.957348 | 2019-11-10T12:50:05 | 2019-11-10T12:50:05 | 227,083,634 | 1 | 0 | MIT | 2019-12-10T09:53:59 | 2019-12-10T09:53:59 | null | UTF-8 | C++ | false | false | 871 | h | #pragma once
#include <map>
#include <string>
namespace rcnn{
namespace config{
using args = std::map<std::string, std::string>;
class DatasetCatalog{
public:
DatasetCatalog(){};
std::tuple<std::string, std::string, std::string> operator[](std::string name);
static const std::string DATA_DIR;
static const... | [
"lsrock1@naver.com"
] | lsrock1@naver.com |
3c071a227c48141295f4eff86e748589891056e3 | 120eb6e3eefd4083d719ab90ed288c88fcedfaed | /guichan/sdl/OpenGLImage.cpp | 0e72ff8872076a60256db2f6738033751e781248 | [] | no_license | AspidT/Zerlight | b111d6c874033b1bccef1780d8479f216d0239b0 | 2fb6d713580f4b93217274ee8f655b5af0682a07 | refs/heads/master | 2020-04-18T18:59:39.029017 | 2019-01-28T16:47:29 | 2019-01-28T16:48:51 | 167,700,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,164 | cpp | //
// Created by tatiana on 28.09.18.
//
#include "OpenGLImage.h"
#include "guichan/gui/Exception.h"
namespace sdl_interface
{
OpenGLImage::OpenGLImage(const unsigned int* pixels, int width, int height, bool convertToDisplayFormat)
{
mAutoFree = true;
mWidth = width;
mHeight = height;... | [
"hx03@yandex.ru"
] | hx03@yandex.ru |
db8cd4233081687773b81880a18f3e63823a1ea6 | dcb6cb3bf5d34a9d16394172fa7a19a0f5eee2f9 | /Offline 3/nachos_64bit/code/userprog/spaceid_generator.h | cc20d870f700ad767178e9a01d33a89ff2297180 | [] | no_license | Rafid013/Nachos_Offline | 4ba530de20a45004eaaf43ac338555c073b7e034 | 5158a3b84144af887b3f4a970fb3d578060fd1e5 | refs/heads/master | 2023-06-24T17:42:48.475770 | 2021-07-27T18:58:46 | 2021-07-27T18:58:46 | 115,601,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | h | //
// Created by rafid on 12/31/17.
//
#ifndef SPACEID_GENERATOR_H
#define SPACEID_GENERATOR_H
#include "../threads/synch.h"
#include <queue>
using namespace std;
typedef int SpaceId;
class SpaceIdGenerator {
queue<SpaceId> *freeIds;
Lock *lock;
public:
explicit SpaceIdGenerator(int maxId);
~SpaceId... | [
"1405013.ahmr@ugrad.cse.buet.ac.bd"
] | 1405013.ahmr@ugrad.cse.buet.ac.bd |
da725655e550f6513f7acdb796f587e0a273fe38 | 404547b1ec3237f02342fe65e957f32851ce1495 | /Game/ge_stategrapheventfilterisplayer.h | dd3a127845e597b37298a833c6e753bcca5e8e43 | [] | no_license | Adanos-Gotoman/GenomeSDK-R | c5e3a5d57c4fb721b15bb7f572454f2a3021561a | cf87f21fca83b37d2e186fb69b083b72932f9c8c | refs/heads/master | 2023-03-16T07:05:00.799421 | 2021-02-19T16:07:09 | 2021-02-19T16:07:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #ifndef GE_STATEGRAPHEVENTFILTERISPLAYER_H_INCLUDED
#define GE_STATEGRAPHEVENTFILTERISPLAYER_H_INCLUDED
class GE_DLLIMPORT gCStateGraphEventFilterIsPlayer :
public gCStateGraphEventFilter
{
GE_DECLARE_PROPERTY_OBJECT( gCStateGraphEventFilterIsPlayer, gCStateGraphEventFilter )
public: virtual bEResult Create( vo... | [
"gothicgame29@gmail.com"
] | gothicgame29@gmail.com |
46f1bc43d18b99d033da5132c0a530a3b7214cbf | d11776e8f2e823d9c4095e7f10e8bf7dce8d33eb | /Oscilloscope.cpp | e74df89f3b923403fc1142aa6f5246f98b2b9b37 | [
"MIT",
"BSD-3-Clause",
"LGPL-2.1-only"
] | permissive | jfchapman/VUPlayer | c71968c27c042301ad570f22cc46ee012eb1f6fb | dfbf9764c387aaf97aad01d98721e0abe598b3ce | refs/heads/master | 2023-08-23T18:26:35.383957 | 2023-08-12T12:02:23 | 2023-08-12T12:02:23 | 89,956,372 | 78 | 7 | MIT | 2023-05-18T06:01:53 | 2017-05-01T19:38:47 | C | UTF-8 | C++ | false | false | 5,527 | cpp | #include "Oscilloscope.h"
// Render thread millisecond interval.
static const DWORD s_RenderThreadInterval = 15;
DWORD WINAPI Oscilloscope::RenderThreadProc( LPVOID lpParam )
{
Oscilloscope* oscilloscope = reinterpret_cast<Oscilloscope*>( lpParam );
if ( nullptr != oscilloscope ) {
oscilloscope->RenderThreadHandl... | [
"james@vuplayer.com"
] | james@vuplayer.com |
ef6de0aad6dacc292ad14b410346e27e6f5ae621 | 4dd4f58ed9dbb5c0f93a63f2edec20e06bd66539 | /packages/thirdParty/wxWidgets/wxWidgets-2.9.4/include/wx/os2/combobox.h | 37eceeb791d2a8f06c3b5ba679acb274b2fb50f0 | [] | no_license | iokto/newton-dynamics | 042e46c5d7ea38252ad2ec7b26d537b4f148d502 | cf43da56760e53dbd19e9c25092ab28559f79f39 | refs/heads/master | 2021-01-19T07:33:50.459594 | 2015-07-19T01:58:05 | 2015-07-19T01:58:05 | 39,357,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,962 | h | /////////////////////////////////////////////////////////////////////////////
// Name: wx/os2/combobox.h
// Purpose: wxComboBox class
// Author: David Webster
// Modified by:
// Created: 10/13/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
//////... | [
"jerezjulio0@gmail.com"
] | jerezjulio0@gmail.com |
2c4aee2a0bf7ce2ae023bd965ffd7492b5e5e8d5 | 3abc173c09536289842c3a249967060ca6bfb8f8 | /1097.cpp | b2cabc4c1de611a689705fb8f4e9af3ec3accda8 | [] | no_license | Frank980908/51NOD | 2e06ff5e7f295c5c13272214b79b8634deafc567 | 3efd360183a7c2edeca332f6d29f9ea0a1214bcd | refs/heads/master | 2020-03-30T16:39:18.656851 | 2018-10-03T13:50:35 | 2018-10-03T13:50:35 | 151,414,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <bits/stdc++.h>
using namespace std;
const int AX = 1e4+6;
string a[AX];
bool cmp(const string x , const string y ){
string x1 = x + y ; string x2 = y + x;
return x1 < x2;
}
int main(){
int n ;
cin >> n;
for( int i = 0 ; i < n ; i++ ){
cin >> a[i];
}
sort( a , a + n , cmp );
int tot = 0;
for( int ... | [
"1045000428@qq.com"
] | 1045000428@qq.com |
794762a6db1b5965187d221515c37a138aec2741 | 0ac4fb044735c1d8db0276834f4728980655be57 | /WrenCommon/Source/EventHandling/Events/ChangeActiveLayerEvent.h | 7f4b71c8a161e8a35a64b3f63e05e89c8a6681fe | [] | no_license | ericbfriday/wren | 87d0bc21f090d46f3bce40b70a495c82615861df | 5010309a705b7016c546215da01cb5f66e8910dd | refs/heads/master | 2020-12-08T20:38:15.428673 | 2019-12-01T06:52:41 | 2019-12-01T06:52:41 | 233,088,842 | 1 | 0 | null | 2020-01-10T16:40:05 | 2020-01-10T16:40:04 | null | UTF-8 | C++ | false | false | 244 | h | #pragma once
#include "Event.h"
#include "../../Layer.h"
class ChangeActiveLayerEvent : public Event
{
public:
ChangeActiveLayerEvent(const Layer layer)
: Event(EventType::ChangeActiveLayer),
layer{ layer }
{
}
const Layer layer;
}; | [
"drew.kestell@gmail.com"
] | drew.kestell@gmail.com |
478de40eaf1276711e23d07e2e2b40c8b918888c | fe265101e3b799864268427b0633a098f15683c8 | /Operaciones basicas.cpp | 8b1455cfcef51dbc1ab9725981b6c3670dff5a7b | [] | no_license | vladyslavTokmak/UTN-Curso-de-verano-2017 | 298b7a4cc0a0412e76fe2dfa5918969d3c2c1758 | 0b53e0da9d089841bed79542ecc752e4b5c7926c | refs/heads/master | 2021-01-18T13:08:43.665747 | 2017-02-10T21:59:33 | 2017-02-10T21:59:33 | 80,733,803 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,167 | cpp | /*
Id.Programa: Operaciones basicas
Autor......: Tokmak Vladyslav
Fecha......: Fedrero - 2017
Comentario.: Suma-resta-multiplicacion-division, curso de verano 2017
*/
#include <iostream>
using namespace std;
int main() {
int x,y;
int opcion;
float division = 0;
cout<<"Ingrese el... | [
"noreply@github.com"
] | noreply@github.com |
40c52c2d1edf1f2140187bfb3f08cf033284b2ae | 0d094ff96f957ad70882b5206eeedce7400a1980 | /Host_client/Server/Dealer.cpp | 40f9cf0cdb1a9f7297c217865df37fa1a45de8d9 | [] | no_license | Glowny/Korttipelimoottori | 28bc6c75e707fbe98004c68a597dc8b93bde60f0 | eb0945bb40a40f8bb91b1b034d4f559dd4f0e46c | refs/heads/master | 2021-01-20T07:50:58.371432 | 2014-07-28T04:42:55 | 2014-07-28T04:42:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | #include "Dealer.h"
Dealer::Dealer(void)
{
std::srand(unsigned(std::time(NULL)));
initialize();
}
Dealer::~Dealer(void)
{
}
void Dealer::initialize()
{
deck.clear();
for(int i = 1; i <= 13; i++)
{
Card h(i, Hearts);
Card d(i, Diamonds);
Card c(i, Clubs);
Card s(i, Spades);
deck.push_back(h);
de... | [
"alluoma@outlook.com"
] | alluoma@outlook.com |
c14fd780da0e81aa5f47ba3bdaffcb9207100e98 | 95251dfb465d951dd8ce64c2f9b9625e458df315 | /Lab3_Circuit/Node.cpp | 388cce2d743e2758fdc0cc8dadf66d7aa4df5d44 | [] | no_license | zhangjingwei07/ece244_lab3 | 9063b3c5dbe45d7c5674c8368e25ef63718e6f43 | 9a1d0f22cc0140b361bc34267db3639c12550421 | refs/heads/master | 2020-03-21T15:19:16.645554 | 2017-10-18T01:09:06 | 2017-10-18T01:09:06 | 138,706,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | cpp | //
// Node.cpp
// Lab3_Circuit
//
// Created by 张经纬 on 2017/10/11.
// Copyright © 2017年 Jingwei Zhang. All rights reserved.
//
#include <cstdlib>
#include <iomanip>
#include <string>
#include <iostream>
#include "Node.h"
#include "Rparser.h"
#include "Resistor.h"
// The node constructor
Node::Node(){
}
/... | [
"danielzhang@s-MacBook-Pro.local"
] | danielzhang@s-MacBook-Pro.local |
c73f4dcef810e3ca386100f80164d9bb62d17f5f | c04366db4f98cf4c24db04bb512ff418e2bc57dc | /aws-cpp-sdk-ssm/include/aws/ssm/model/MaintenanceWindowTaskParameterValueExpression.h | 5b0bdb051b1cddf0b2ca858dba620bf368e3d2d3 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | margomw/aws-sdk-cpp | 409259eb891162389bb6a1481fc0787c349252d3 | 5f60ff49d323c117eb1992aa059d8214a26d1506 | refs/heads/master | 2021-01-11T12:17:27.791797 | 2016-12-14T22:51:13 | 2016-12-14T22:51:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,534 | h | /*
* 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" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
4dcc5caa33532f7302707445cd1cb6326ca9847f | dbaf0bc1ee749efa2aa1405259c6d8e3f5c4eebf | /pocheng_HW3/pocheng_HW3/pocheng_Problem3.cpp | c292c574c09fa88efa36d1b72d32be7aa6d17c1a | [
"Apache-2.0"
] | permissive | dpocheng/CPP-Practice-Projects | 78a19e5ae6c87ecfb6c924b58ef3e6e4f33dddbf | 2695ea7c78f439e1d4334378b66d4cd2c3ce1922 | refs/heads/master | 2021-01-20T01:43:47.753096 | 2017-04-25T06:01:53 | 2017-04-25T06:01:53 | 89,322,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,643 | cpp | #include "pocheng_Problem3.h"
#include "pocheng_Hw3Stack.h"
#include <iostream>
#include <string>
using namespace std;
void Problem3() {
cout << "Problem 3" << endl;
// Case 1:
// Create a stack and print out the correct size / capacity based on user input
cout << "Case 1:" << endl;
Hw3Stack s;
cou... | [
"noreply@github.com"
] | noreply@github.com |
99ca66817d7510bf9c90aba9391586aaa9ae4f4b | bc92c058b0c2dd2877648e30156245e36ee571a4 | /source/solution_zoo/video_box/include/mediapipemanager/basicmediamoudle.h | dd1068d29d989f77373235a548251bf460cc8b20 | [
"BSD-2-Clause"
] | permissive | robort-yuan/AI-EXPRESS | c1783f5f155b918dcc6da11956c842ae5467de8e | 56f86d03afbb09f42c21958c8cd9f2f1c6437f48 | refs/heads/master | 2023-02-09T03:51:44.775020 | 2021-01-02T15:15:37 | 2021-01-02T15:15:37 | 309,591,131 | 0 | 0 | BSD-2-Clause | 2020-12-08T07:48:54 | 2020-11-03T06:11:06 | null | UTF-8 | C++ | false | false | 1,107 | h | /**
* Copyright (c) 2020, Horizon Robotics, Inc.
* All rights reserved.
* @Author:
* @Mail: @horizon.ai
*/
#ifndef INCLUDE_BASICMEDIAMODULE_H_
#define INCLUDE_BASICMEDIAMODULE_H_
#include <cstdint>
#include <cstring>
#include "hb_vio_interface.h"
namespace horizon {
namespace vision {
typedef enum {
RTSP_Pay... | [
"qingpeng.liu@horizon.ai"
] | qingpeng.liu@horizon.ai |
882321add7002d796f893730480d3f7ef9411138 | c5707dba79b69ed3080d452a1fe37840254f5de5 | /src/ParticleSystem.cpp | aefb3a136efc8108c5a3e174eab9fea1b5ae8ade | [] | no_license | August1s/Heart-Pool | 3903358a0fc58aefdacaf0f5dba9472cf58b908f | 8d45ea7951d0396ef5045b936d1850e79d011bb1 | refs/heads/master | 2023-07-23T22:35:21.377787 | 2021-08-28T10:46:31 | 2021-08-28T10:46:31 | 326,929,443 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,380 | cpp | #include "ParticleSystem.h"
ParticleSystem::ParticleSystem(float radius, int num, float width, float height, Curve& c)
:H(radius), HSQ(radius*radius), particles_num(num),
POLY6(315.f / (65.f * M_PI * pow(radius, 9.f))), SPIKY_GRAD(-45.f / (M_PI * pow(radius, 6.f))), VISC_LAP(45.f / (M_PI * pow(radius, 6.f))),
EP... | [
"154010273@qq.com"
] | 154010273@qq.com |
369258f8d4885f00459cc1bc699e97099cfc2898 | 443416bab5d7c258936dae678feb27de6c537758 | /applications/ContactStructuralMechanicsApplication/custom_utilities/interface_preprocess.h | 1d8adae89f71a270bd9a4f8751c8ff66676e7409 | [
"BSD-3-Clause"
] | permissive | pyfsi/Kratos | b941e12594ec487eafcd5377b869c6b6a44681f4 | 726aa15a04d92c958ba10c8941ce074716115ee8 | refs/heads/master | 2020-04-27T17:10:10.357084 | 2019-11-22T09:05:35 | 2019-11-22T09:05:35 | 174,507,074 | 2 | 0 | NOASSERTION | 2020-03-27T16:38:28 | 2019-03-08T09:22:47 | C++ | UTF-8 | C++ | false | false | 8,578 | h | // KRATOS ___| | | |
// \___ \ __| __| | | __| __| | | __| _` | |
// | | | | | ( | | | | ( | |
// _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
//
// License: BSD License
// ... | [
"vmataix@cimne.upc.edu"
] | vmataix@cimne.upc.edu |
879c23629a6ef0e6ecf686675ee9df1f248d3e93 | ac48dc874f5550d03648c28b1eda5720202eb55c | /prebuilt_HY11/target/product/msm8937_64/obj/include/mare/mare/internal/synchronization/barrier.hh | 102978b8b5fbd1ba9eb47fe4edf2c32918c92557 | [] | no_license | difr/msm8937-8953_qcom_vendor | 464e478cae4a89de34ac79f4d615e5141c40cbcb | 6cafff53eca7f0c28fa9c470b5211423cf47fd40 | refs/heads/master | 2020-03-20T09:58:48.935110 | 2018-05-27T04:13:22 | 2018-05-27T04:13:22 | 137,355,108 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | hh | // --~--~--~--~----~--~--~--~----~--~--~--~----~--~--~--~----~--~--~--~--
// Copyright 2013-2015 Qualcomm Technologies, Inc.
// All rights reserved.
// Confidential and Proprietary – Qualcomm Technologies, Inc.
// --~--~--~--~----~--~--~--~----~--~--~--~----~--~--~--~----~--~--~--~--
#pragma once
#include <atomic>
#in... | [
"adithya.r02@outlook.com"
] | adithya.r02@outlook.com |
7a29fd17ead86c96b928ed44abec265df875b790 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE78_OS_Command_Injection/s03/CWE78_OS_Command_Injection__char_environment_w32_spawnlp_81.h | 8add8d3ad4d6449e5cfff2efb9e238a70a2bfba7 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,734 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_environment_w32_spawnlp_81.h
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-81.tmpl.h
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from an... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
36ffbe6246edc32860d2c1bafa50b76a6062fafb | e7de4d463001ae5523579c43d2a23949d1a1dcf0 | /src/main/cpp/native-lib.cpp | 6612cbfc5cef61369bd6d6934ba9a8708255cb55 | [] | no_license | Silver-Official/DexLoader | bb75bb9859f6bdcf5563ad0f997473fecb0b41be | fbce19fcdd620a51d8afe953f6d0d273bf845edd | refs/heads/master | 2023-05-24T20:46:56.564973 | 2019-12-26T02:36:39 | 2019-12-26T02:36:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | #include <jni.h>
#include <string>
#include <cstring>
#include <unistd.h>
#include <sys/inotify.h>
#include<pthread.h>
#include<sys/wait.h>
#include <signal.h>
#include <sys/select.h>
#include <stdio.h>
#include <sys/ptrace.h>
#include <stdlib.h>
#include <fcntl.h>
#include <signal.h>
#include <stdio.h>
... | [
"noreply@github.com"
] | noreply@github.com |
e38211388a21bbffced4cedfc331c3b2dfce3a9f | ccfbf5a9ee9c00282c200945bbe36b387eb38b19 | /Codeforces Solutions/codeforces 584D.cpp | ec6aab0dc206158f6b2270243a629c420401f22b | [] | no_license | sakiib/OnlineJudge-Solutions | e070d4b255d036cdefaf087e9f75b69db708406c | b024352aa99efe548b48ef74c492cb69c1fa89f9 | refs/heads/master | 2023-01-07T20:57:04.259395 | 2020-11-16T08:41:27 | 2020-11-16T08:41:27 | 288,191,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,050 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int LL;
typedef unsigned long long uLL;
typedef pair < int , int > ii;
const int inf = 1e9;
const LL INF = 1e18;
const int N = 1e5 + 5;
const int mod = 1000000007;
const double eps = 1e-8;
const double pi = acos( -1.0 );
bool ok( int n ) {
for( i... | [
"sakibalamin162@gmail.com"
] | sakibalamin162@gmail.com |
bb858117361b7700b1318da0b7cb51a5d30a30bb | 10ab53a980d7abac380b4e6cef7a113d5bc54330 | /tools/IIItest/Renderer.h | b11145ced83d88f7c35bbb7ab6c068147e633997 | [] | no_license | MonteHeights/librwgta | 0cce73b7649d43f8720f251416bcc943323c6b25 | dae35cbe16f8ad54f47f4b6e5abd29a056030b55 | refs/heads/master | 2021-04-27T12:07:33.127422 | 2018-01-15T15:46:14 | 2018-01-15T15:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | h | class CRenderer
{
public:
static int ms_nNoOfVisibleEntities;
static int ms_nNoOfInVisibleEntities;
static CEntity *ms_aVisibleEntityPtrs[2000];
static CVector ms_vecCameraPosition;
public:
static void ConstructRenderList(void);
static void ScanSectorPoly(rw::V2d *poly, int numVerts, void (*f)(CSector*));
static... | [
"aap@papnet.eu"
] | aap@papnet.eu |
923e8d223732fe41dc7197ac294464dc03bf960c | 878a0c7a89ec5ef6c937eb79b57d64e4bfd73760 | /include/panoramagrid/uvmaterial.hpp | d952f2a8f3e3b6d609a35707d7ece79fb57eb090 | [] | no_license | krystiancha/panoramagrid | aa634a4bcfed1503177cf611a72445587958b8d9 | 23b454c9189dee4c409824c9cf9032f2438e0b42 | refs/heads/master | 2021-06-25T14:14:55.079134 | 2020-11-30T16:36:27 | 2020-11-30T16:40:38 | 174,722,347 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | hpp | #ifndef PANORAMAGRID_UVMATERIAL_HPP
#define PANORAMAGRID_UVMATERIAL_HPP
#include <panoramagrid/material.hpp>
namespace panoramagrid {
class UvMaterial : public Material {
public:
const cv::Mat &getTexture() const override;
void setTexture(const cv::Mat &texture) override;
bool isCu... | [
"krystiancha@gmail.com"
] | krystiancha@gmail.com |
29c55aff6392b7a620567fe70b03730a99658e9b | b483f26702813245c008530f1376d6446aaf8113 | /Dependencies/include/EventHandler.h | 1ea2542c2f9efb75ce31bf5d5adc7c9942bbddc5 | [] | no_license | bennybroseph/2D-OpenGL-Engine | c553dfa2b44e95f0720fcacfa289de2ef7025d05 | 8cfe480726aeb3d54a0c9166292f9662128582d5 | refs/heads/master | 2021-01-10T14:08:32.520575 | 2015-12-15T21:23:56 | 2015-12-15T21:23:56 | 43,943,477 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,520 | h | //////////////////////////////////////////////////////////////
// File: EventHandler.h
// Author: Ben Odom
// Brief: You're not meant to create an object of this class
// This class is created to simply be inherited by
// 'Loop'. By making all virtual, each object of
// 'Loops' (or its children) can ... | [
"bennybroseph@gmail.com"
] | bennybroseph@gmail.com |
e52a84754e93075f8a32a34cca26e84f69b5ea54 | 38c75ea38cab758b96236fb01e77ae504491de37 | /PGML-BL/OpenFoam_Laminar/laminarFlatPlate/1/p | d6baf53bce27452a645b125e8208d6dd7e6cc28c | [
"Apache-2.0"
] | permissive | zuokuijun/PGML | afa4ea49cc2d6e3249fada1000b813730ea5e6e6 | 2b919d65e6467b2afdd9f58b9a72f1d5ec74132f | refs/heads/main | 2023-07-16T18:17:29.166672 | 2021-08-23T01:39:42 | 2021-08-23T01:39:42 | 435,793,580 | 1 | 0 | Apache-2.0 | 2021-12-07T08:05:32 | 2021-12-07T08:05:31 | null | UTF-8 | C++ | false | false | 28,752 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"pawarsuraj92@gmail.com"
] | pawarsuraj92@gmail.com | |
eba9d099f4dd73ba4807803fade8f29fac23bfee | dc29086e666691d3d1f1371708ca860c7393fd8f | /libWorld/include/LibEngine/AutoBuffer.h | 796c500836941a115f93b37b625d7effc631b3b8 | [] | no_license | preboy/9DayGame | acb9ee02500a7a6a8b3470d4c6adbfbd517c442a | 4947b402e5e9e9cd430ea178b8bf6debc05abbf4 | refs/heads/master | 2021-01-11T14:11:59.060933 | 2017-02-10T14:46:12 | 2017-02-10T14:46:12 | 81,573,914 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,195 | h | #pragma once
#include "LibWindows/lock.h"
using namespace LibWindows;
namespace LibEngine
{
// 自动管理大小的缓冲区;
// 多线程版本;
const UINT nMaxBufferSize = 200*1024*1024; // 可分配内存的最大大小200M;
class AutoBuffer
{
public:
AutoBuffer();
~AutoBuffer();
// 获取缓冲... | [
"preboy@126.com"
] | preboy@126.com |
82dd67233134ebf9b52e0b4f81e0b15bc7b8abf4 | 6722aa483d1b2d7b7f2c5aee8cabb41bba68cd20 | /BOJ/9457(기하학 문양).cpp | 8de08efbd8301874e1dd7e5afded86035e3752b0 | [] | no_license | oknkc8/PS | 3b28d4bb368cd5bc23623a1369ae0a3dce38c7a6 | cb27f08ef00d04dbfee5ae44e9449e4dbaa7bf10 | refs/heads/master | 2020-03-24T10:26:39.018880 | 2019-09-05T04:56:53 | 2019-09-05T04:56:53 | 142,656,302 | 0 | 1 | null | 2018-09-22T12:30:36 | 2018-07-28T07:21:33 | C++ | UTF-8 | C++ | false | false | 421 | cpp | #include<bits/stdc++.h>
using namespace std;
#define mod 10007
int dp[50005][2];
int main() {
dp[2][0] = 4, dp[2][1] = 3;
for (int i = 3; i <= 50000; i++) {
dp[i][0] = (3 * dp[i - 1][0] + dp[i - 1][1]) % mod;
dp[i][1] = (2 * dp[i - 1][0] + dp[i - 1][1]) % mod;
}
int t; scanf("%d", &t);
while (t--) {
int n... | [
"oknkc8@gmail.com"
] | oknkc8@gmail.com |
0e2777b9fe092bd3851169d5a0c241ae952f0aeb | 1f9ff37c2383ea01758a486eeb9d46185c28520f | /Solved Problems/Count_Subarrays.cpp | 64fb10b8d1f2e90500a10f04476be39c28cd5a72 | [] | no_license | Manii-M/InterviewBit | 992a9fbca290052d2386536443e57f62818bdc12 | b5d735d9c22edebfbcbd2ee06532cba28f18f64d | refs/heads/master | 2022-12-15T10:31:55.391785 | 2020-09-07T13:56:44 | 2020-09-07T13:56:44 | 263,404,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | /**
* Approach 1 - brute force is to take all subarray and see all the elements are unique or not
* TC - O(n^2) and to check also O(n)
* Approach 2 - we can have a frequency array.
* and based on that we'll keep counting the subarrays which has freq == 1
* as we encounter the element freq>1 we'll keep decrementin... | [
"manii.nitc@gmail.com"
] | manii.nitc@gmail.com |
217bec91c9f0e9854134af127dff77281bb1e610 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_2075_last_repos.cpp | 11efb7651f989b2de687509553dd412a35ea62a2 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | cpp | static int diff_cache(struct rev_info *revs,
const struct object_id *tree_oid,
const char *tree_name,
int cached)
{
struct tree *tree;
struct tree_desc t;
struct unpack_trees_options opts;
tree = parse_tree_indirect(tree_oid);
if (!tree)
return error("bad tree object %s",
tree_na... | [
"993273596@qq.com"
] | 993273596@qq.com |
a0ff8f6f2b039adb2f078833dbd17011a2d26fa8 | 3ac54f76223c0e6c8e61a67ff3d72775644baa01 | /1035/Main.cpp | 9b247c6197d8b25e47738d0b60644317c26d0ebd | [] | no_license | luizklitzke1/URI_CPP | ba0614023713e0102b929c527632707669d9e6cd | 88f7a1e6c4ebe866ec9f8bc8efa228aab7e1542a | refs/heads/main | 2023-05-09T08:03:42.172323 | 2021-05-25T02:04:37 | 2021-05-25T02:04:37 | 367,716,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | cpp | #include <iostream>
using namespace std;
int main()
{
long lValorA = 0;
long lValorB = 0;
long lValorC = 0;
long lValorD = 0;
cin >> lValorA >> lValorB >> lValorC >> lValorD;
if (lValorB > lValorC && lValorD > lValorA && ((lValorC + lValorD) > (lValorA + lValorB)))
{
cout << "Valores acei... | [
"49824305+luizklitzke1@users.noreply.github.com"
] | 49824305+luizklitzke1@users.noreply.github.com |
1b22979fa738a41033d1a64cf06d9f2c63c4700f | 16580255e7a63f2eb31b9f46644018a60bd61202 | /bicoloring.cpp | 873152b609941b6bdccacb707ebb7633d56b68d8 | [] | no_license | Sadeeb96/Algorithm-Implementations | 682e159def6e89d817dd937ead065316144a653a | a81a8fee32449561a09bf3e85e34fe6b6980c0d5 | refs/heads/master | 2020-06-19T20:52:32.502838 | 2019-08-02T21:30:30 | 2019-08-02T21:30:30 | 196,867,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
while(true)
{
int nodes;
int edges;
cin>>nodes;
if(nodes==0)
break;
cin>>edges;
int A[nodes][nodes];
memset(A,0,sizeof(A));
for(int i=0; i<edges; i++)
{
... | [
"noreply@github.com"
] | noreply@github.com |
585b3819ac27225f83d2424eab3727434b28a862 | c9bb5bfc7b7adb253629c46e8b3d4ca3e5220b38 | /include/km_utils/mifsud_combinations.hpp | e1ed662573661d33638cf890312b8401f9fd0c36 | [
"Apache-2.0"
] | permissive | kartikmohta/km_utils | b3b1e323dafbf756b348ff751d44b00affdaae18 | 41fa812f3cfddcf214653081c8e4183f2b3fa543 | refs/heads/master | 2021-01-25T13:06:40.466812 | 2018-10-09T03:25:49 | 2018-10-09T03:28:12 | 123,529,982 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | hpp | #pragma once
#include <cassert>
#include <vector>
namespace km
{
/**
* Generates the next combination of the integers [0,...,n-1] taken r at a time
* in lexicographical order.
*
* The algorithm is from:
* Mifsud, Charles J. "Algorithm 154: Combination in lexicographical order."
* Communications of the ACM 6.3 (... | [
"kartikmohta@gmail.com"
] | kartikmohta@gmail.com |
4e094c6f71dac3690b6e0d8e7e40e1c3ffa957cb | 6a07849efd29bf8e44a75d02b45821073ab75fe8 | /Codeup/100000575B.cpp | 317618a5b82bedea17deab97dee1a1692fabe288 | [] | no_license | hsinyv/Algorithm_Exercise | 3185c971e8dc2f511a4d4e16275f38567edf29fa | fd6b0fcdfa9b94c4d52531d66a34f726eba460fb | refs/heads/main | 2023-03-22T19:25:07.857517 | 2021-03-18T16:28:54 | 2021-03-18T16:28:54 | 335,290,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <algorithm>
#include <vector>
#include <map>
#include <set>
#include <string>
#include <cctype>
#include <unordered_map>
#include <iomanip>
using namespace std;
int main() {
string s,t;
while(cin >> s){
cin >> t;
// cout <<"s: " << s << endl;
// cout... | [
"hsinyv@163.com"
] | hsinyv@163.com |
aa5141882950c4adff9f48dd17a126eeca9f109b | e76475e8405f87c154152d7e03373ea12b2da13d | /demoapps/clustering/lanczos.hpp | e825ede9fd084ad8544bf72e67619a28c176e06b | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | iivek/graphlab-cmu-mirror | dc84da0f9969ad3c8e3882f22c25a2db7ff42da6 | 028321757ea979e6a0859687e37933be375153eb | refs/heads/master | 2021-07-08T12:45:47.503395 | 2012-02-29T19:44:26 | 2012-02-29T19:44:26 | 106,104,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,369 | hpp | /**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... | [
"danny.bickson@gmail.com"
] | danny.bickson@gmail.com |
2d8eb66af53a0a3a5f3269c15c43ded10d91d0f7 | fc23228bc1cbacda78c67fbe45d5a06da4bdb91e | /src/VulkanDevice.hpp | 03681773b11005b236776fa9242ac953c424accb | [] | no_license | SkaillZ/renderer | 584387b41929e9d91ede4631dcd1d4398ce45a74 | adfd2c6919b05573f888b92784be4a89f2a75e55 | refs/heads/master | 2023-02-15T20:49:56.631715 | 2021-01-15T15:57:03 | 2021-01-15T15:57:03 | 299,661,802 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,592 | hpp | #pragma once
#include <optional>
#include <vector>
#include <iostream>
#define GLFW_INCLUDE_VULKAN
#include <GLFW/glfw3.h>
#include "VulkanBuffer.hpp"
class VulkanDevice {
public:
VulkanDevice(GLFWwindow* window);
virtual ~VulkanDevice();
GLFWwindow* window;
VkInstance instance;
V... | [
"rene.buchmayer@gmail.com"
] | rene.buchmayer@gmail.com |
1c6d8ee058dc06366a4b118dff60729fa092a5a9 | a07e8ce8748e1c11dcb2fb4f1d8438759a791c0d | /year1/torrent/torrent_client/torrent_client/main.cpp | a05308e0adf23ed5f700c5f8648c48ecf8473f6f | [] | no_license | celidos/programming-mipt-2015-2017 | 7aef789009cf63dfe415070e6907c634a0b89c7a | cd27a7798f2f50164228b3ab0b7c3015a9c7c049 | refs/heads/master | 2021-06-16T14:22:29.455077 | 2017-05-13T15:33:58 | 2017-05-13T15:33:58 | 91,165,940 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,868 | cpp | #include <fstream>
#include <iostream>
#include <memory>
#include <string>
#include <sstream>
#include "cpp-bencoding-master/include/Decoder.h"
#include "cpp-bencoding-master/include/Encoder.h"
#include "cpp-bencoding-master/include/PrettyPrinter.h"
#include <iomanip>
#include <stdio.h> /* printf, sprintf */
#include... | [
"chloroformorganic@gmail.com"
] | chloroformorganic@gmail.com |
1f8ea2a2d28cc557158d4040030f423d4866ab37 | 61447d695c11d4a76c92a4b710d8f1ee55f0f8bb | /C+Cpp/GameFrameWorkDemo/src/Graphics/Texture2D.cpp | f7f8a97f7db016ae3d56a6ed181ed4ecab91068a | [] | no_license | biyu/PlayGround | 0fede52c543c823546f726c1403aafc4a7b1524e | 403964687ba635eebfab9c174cede047418ca3e7 | refs/heads/master | 2021-01-15T19:45:08.464767 | 2013-08-11T16:13:48 | 2013-08-11T16:13:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | #include "Texture2D.h"
Texture2D::Texture2D(std::string fileName)
: _gTextureTarget(GL_TEXTURE_2D),
_fileName(fileName), _pImage(0)
{
}
Texture2D::~Texture2D()
{
delete this->_pImage;
}
bool Texture2D::load()
{
if(this->_fileName.empty())
{
Debug(L"empty texture file name");
return false;
}
try {
... | [
"yubin19850822@gmail.com"
] | yubin19850822@gmail.com |
78beb1e2e1fb1b42552912638ba2cb4709c934b0 | 6857c2ef676792a4048c9c67e52dc3b64550a771 | /evita/text/marker_set_unittest.cc | 7a426efeb35bec39e1404ef21137f6b81ba50bd9 | [] | no_license | TheTypoMaster/evita | d4978ae4d332e8980d1c0da0f717d957d102dd26 | 213d542fc39736d15372dc04cd3c803806db352b | refs/heads/master | 2021-01-15T20:19:04.727264 | 2015-09-19T21:17:19 | 2015-09-19T21:17:19 | 42,788,695 | 0 | 0 | null | 2015-09-19T20:33:06 | 2015-09-19T20:33:06 | null | UTF-8 | C++ | false | false | 7,955 | cc | // Copyright (c) 1996-2014 Project Vogue. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma warning(push)
#pragma warning(disable : 4365 4625 4626 4826)
#include "gtest/gtest.h"
#pragma warning(pop)
#include "evita/text/marker_s... | [
"eval1749@gmail.com"
] | eval1749@gmail.com |
894dfbcb50ce6b627392422996bfa35dade8efd3 | 8726841917e4999289451334c356e97f966ee776 | /C++/256 Paint House.cpp | cab9545fc76ab7a7dd88bf069095a759621bfb20 | [] | no_license | weiho1122/LeetCode | cf890eaf3b8299897431564d811c52d1a95f6d94 | ac986cb0ccba053afbb21b7fe6ec8fa5f767da5e | refs/heads/master | 2021-01-11T02:04:40.560365 | 2016-09-13T00:09:04 | 2016-09-13T00:09:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | //dp. O(3n) sub-problems, O(3) choices for each sub-problem
class Solution {
public:
int minCost(vector<vector<int>>& costs) {
if(costs.empty()) return 0;
int n = costs.size(), m = costs[0].size();
vector<vector<int>> dp(n+1,vector<int>(3, INT_MAX));
dp[0][0] = 0, dp[0][1] = 0, dp[0]... | [
"zhangweiqi357@gmail.com"
] | zhangweiqi357@gmail.com |
515dd57d72249f98ebb8bb16689e91d340125751 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/ui/webui/settings/md_settings_ui.h | 6f49d402e08debbdd4f54e15c60ef26ba750007d | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,533 | h | // Copyright (c) 2015 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 CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_SETTINGS_MD_SETTINGS_UI_H_
#include <unordered_set>
#incl... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
5325ef1fffd494ad4dc113f7b97c7c440d9adfea | 5c4a89eae320d3297237d36c7f09e0c0c2b50722 | /mainwindow.h | d9cec7b4fc368b2f5670e4fd3adcefbc4e7a6d92 | [] | no_license | NipunaCooray/Grace | abed041b85b8b50a1b30bd82563399bc514d692a | 1b831fe777bcc0a67b15a6be2f7a1af22a0fcf9d | refs/heads/master | 2020-07-17T12:13:19.452456 | 2016-12-07T05:34:12 | 2016-12-07T05:34:12 | 73,930,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "edgedetect.h"
#include "serialreadwrite.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_pushBu... | [
"noreply@github.com"
] | noreply@github.com |
f956c3462f8968d651a0ceb01aa96dbf9692af4d | 3cd86ab3ce830eb0cd15cd3073e5e6c18ae54ff9 | /test/cases/c++.cpp | c32099d7a98e9a7cf8d7331516335836555a280a | [
"MIT"
] | permissive | okonet/node-language-classifier | 781c80462c6454eac3a94414f5eb6812ae5e6f0f | 2e3ac320da5f4e5b62f7424a21b0fced827ae471 | refs/heads/master | 2023-09-04T11:07:11.648972 | 2017-04-26T20:17:44 | 2017-04-26T20:17:44 | 89,521,701 | 0 | 0 | null | 2017-04-26T20:03:00 | 2017-04-26T20:03:00 | null | UTF-8 | C++ | false | false | 19,427 | cpp | /*
Copyright (c) 2007-2012 iMatix Corporation
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
0MQ is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public ... | [
"tj@vision-media.ca"
] | tj@vision-media.ca |
7018514c6316c00dc1de39fd21915a1980a09535 | 650d493d6037383fe22423e00d000879fe2c580b | /node_modules/node-sass/src/libsass/src/error_handling.hpp | bcb4e808dfa207a167cbda98afaa989e48b0da1a | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | 253033688/m-boot | 6d8f06226992c98d72e32dffd98ec05717c46e0d | a424633fcfd65296868dfbdc3492b1f57c15448d | refs/heads/master | 2021-08-31T00:49:50.016040 | 2017-12-20T01:58:18 | 2017-12-20T01:58:18 | 114,828,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,434 | hpp | #ifndef SASS_ERROR_HANDLING_H
#define SASS_ERROR_HANDLING_H
#include <string>
#include <sstream>
#include <stdexcept>
#include "position.hpp"
namespace Sass {
struct Backtrace;
namespace Exception {
const std::string def_msg = "Invalid sass detected";
const std::string def_op_msg = "Unde... | [
"253033688@qq.com"
] | 253033688@qq.com |
adc3bee93f765d70d6d562e23a66ea6a41babcc6 | e73ba4846d69522247545ef4edd689e0c51e3958 | /include/Engine/Renderer/Renderer.h | b1e8fa3c2143b89d2e6ec4de7fc3f5f900ba016b | [] | no_license | Flinnk/Simple-Game-Engine | f11bb79a676415aa11c6243d06536ac0e6274601 | c323f9f31a6de14d75f5fd3b4303de85d0bfd615 | refs/heads/master | 2021-01-21T22:25:39.289880 | 2018-01-12T17:32:49 | 2018-01-12T17:32:49 | 102,157,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | #pragma once
#include <string>
#include <Engine\Renderer\RenderData.h>
namespace GameEngine {
class SpriteRenderer;
class TextRenderer;
class Shader;
class Texture;
class CameraComponent;
class SpriteComponent;
struct Rect;
class Renderer {
public:
Renderer(Shader* SpriteShader, Shader* TextShader);... | [
"francisco.porcelparis@gmail.com"
] | francisco.porcelparis@gmail.com |
bee084a35e52186e53e971e53d484a5a2c50e113 | 9cddde271e75d4c9d5edb67475aac3566d16f68c | /include/ServerBluetooth.hpp | 544371750e15ace040b0ad431c70358d8337fe44 | [] | no_license | leandrg/Hands-Free | 0a8253fb5c2b6061152c4b1c66fd1fc7200abbf2 | ad97cba37beb513ba54df25af865f8b738a71acd | refs/heads/master | 2022-04-05T21:16:16.647965 | 2020-02-17T14:25:16 | 2020-02-17T14:25:16 | 213,389,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | hpp | //
// Created by Gaëtan Léandre on 16/02/2020.
//
#ifndef HANDS_FREE_SERVERBLUETOOTH_HPP
#define HANDS_FREE_SERVERBLUETOOTH_HPP
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <blu... | [
"gaetan.leandre@epitech.eu"
] | gaetan.leandre@epitech.eu |
847287dc39caec7ce6b9ca8f1e80c5c0e6298d06 | ab7d5ec2e40b26c33da957210b5d2da77f9b696d | /repos/arduino-sketch/contents/sketch_jul28a_seq/sketch_jul28a_seq.ino | 86d434259e4b060ea28d23927b0df353fe97cff4 | [
"LicenseRef-scancode-public-domain",
"CC0-1.0"
] | permissive | mcclure/bitbucket-backup | e49d280363ff7ef687f03473e463865a7ad8a817 | b6a02ca8decf843fa0a765c842c24e7eccf59307 | refs/heads/archive | 2023-01-24T21:15:14.875131 | 2020-02-02T20:56:23 | 2020-02-02T20:56:23 | 237,833,969 | 115 | 6 | null | 2023-01-07T14:24:14 | 2020-02-02T20:43:56 | C | UTF-8 | C++ | false | false | 3,769 | ino | #include <ctype.h>
#include <math.h>
#define PLAY 2
#define PITCH 3
#define FUNCS 26
#define STACKMAX 4
#define DEBUG 0
#define RATE 300
#define HIGHTIME 80
static int OCTAVE = 255/5;
static int ROOT = OCTAVE*3;
// Number: Play this note
// Parenthesis: Store a pattern, first letter is the label (must be uppercase le... | [
"andi.m.mcclure@gmail.com"
] | andi.m.mcclure@gmail.com |
6c951242ba5e93ab87d393bd973900e7c468ca44 | 350aa833bb2c86162a85c1c70f0cd3c51a3a1818 | /Rare/1_RK.cpp | 1d30349a472594b08ea806d7bfdeedaeeae09be2 | [] | no_license | foy4748/CPP_from_sheets | ad2a230a15483f6327c3e6572a91779352fead93 | 65ce735e07d7b6083b7f4484ecfe2a2d7cd97f75 | refs/heads/main | 2023-03-01T21:03:41.229307 | 2021-02-03T16:09:04 | 2021-02-03T16:09:04 | 335,677,503 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | #include<iostream>
#include<cmath>
#include<fstream>
using namespace std;
ofstream fout("1_RK.dat");
//Defining functions
double F(double x)
{
double omega = 4.2;
return -omega*omega*x;
}
void RK()
{
//Necessary Variables
double k1,k2,k3,k4, l1,l2,l3,l4;
//Initial Values
double x = 0, z = 1.0, t, h = 0.01... | [
"faisaljfcl@gmail.com"
] | faisaljfcl@gmail.com |
8f4c5f4ada07d924497d717701bdf71acbc20ae3 | bef429c175a2ddc77a51ee9f967e087421ea5389 | /tcpclient.h | 4b3684467cd40b11df3880ecb2161cd48ef7931b | [] | no_license | specialk74/Lexus | 774da7e1bde769982d674f86d28aedccfc3e61dd | 24f06fa2f5f3ae5a643eb795d1f03c25925816fb | refs/heads/master | 2021-03-12T23:34:41.472410 | 2014-06-06T21:47:59 | 2014-06-06T21:47:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | #ifndef TCPCLIENT_H
#define TCPCLIENT_H
#include <QObject>
class QTcpSocket;
class TcpClient : public QObject
{
Q_OBJECT
public:
explicit TcpClient(QObject *parent = 0);
void setSocket (QTcpSocket *socket);
void sendMsg (const QByteArray &data);
QTcpSocket * getSocket ();
void setDebug (const ... | [
"m.faletra@gmail.com"
] | m.faletra@gmail.com |
27dc1d8f9287cecbcfbcc4d41bee40f134938ba5 | 1ea7cb0f5f583d50a680c4dc600c46d986278143 | /src/synapse.cpp | 2d91c26deb5eb0fd1c8fd6500f71258dc3d34197 | [] | no_license | asuka1975/network | aa56e97993e29130f6db3977ba95666d1fc2c622 | 3a04324929e3c453dec7036fbf555f93243a054c | refs/heads/master | 2023-08-28T12:41:50.666945 | 2021-05-26T09:04:25 | 2021-05-26T09:04:25 | 282,084,832 | 4 | 0 | null | 2021-05-26T09:04:26 | 2020-07-24T00:26:09 | C++ | UTF-8 | C++ | false | false | 730 | cpp | //
// Created by hungr on 2020/07/24.
//
#include "synapse.h"
synapse::synapse(std::weak_ptr<circuitable> target, float weight) : receiver(target), weight(weight)
{
weight_update = [](auto v, auto w) -> auto { return w; };
}
void synapse::receive(float value, input_type type) {
switch (type) {
case NE... | [
"39215088+asuka1975@users.noreply.github.com"
] | 39215088+asuka1975@users.noreply.github.com |
7cb915562c59bc3067d18fbb1bf0883eb9abbe40 | 19183c5eac81f9610d71ca035e32f7c138745531 | /src/vibration/vibration.h | 2bcdba9c5d68d0ac83a2184d646296e4009c5850 | [] | no_license | DavidM42/esp32-task-splitter | 20a6614895ae9871442fadbb05c2f641c70773fe | d95fdd05a39c9121a9527c9e2cd27f3f390e2985 | refs/heads/master | 2023-04-05T01:40:42.195401 | 2021-04-09T16:11:42 | 2021-04-09T16:11:42 | 355,705,735 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | #ifndef VIBRATION_H // To make sure you don't declare the function more than once by including the header multiple times.
#define VIBRATION_H
#include <Arduino.h>
class Vibration
{
private:
int vibration_pin = 22;
uint32_t vibration_length_ms = 400;
public:
void setup();
void short_vibration();
};... | [
"davidmerz@gmx.de"
] | davidmerz@gmx.de |
16e897089b07d91e4ec8efe6ffeebb6565ff3a39 | 5c406524fb7d20d0cef1456f0d12182b6c8d08ee | /hprose/io/decoders/BoolDecoder.h | 2c1e647eb99188e613e120b28da15cc74fcf030d | [
"MIT"
] | permissive | HelloKitty2022/hprose-cpp1x | 27818dffa06af91e1e1957edd52aaa1d96121cf6 | d37b3737bbf1836d68b32241c78f711051b1984c | refs/heads/master | 2023-08-25T18:10:22.934102 | 2021-11-04T13:08:25 | 2021-11-04T13:08:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | h | /**********************************************************\
| |
| hprose |
| |
| Official WebSite: http://www.hprose.com/ |
| ... | [
"cf850118@163.com"
] | cf850118@163.com |
39a8fff971feee1feea368c080c07813ee4d3b42 | d167de45f960f57e72dd7da861b862e4ca0a4b3e | /rd-cpp/demo/profile.cpp | d423eb5facf5c1eedbe5fbb246d8d3af2b1f1890 | [
"Apache-2.0"
] | permissive | jmoeller93/rd | 571f8544f3f2b9babcbc8d618acda91e1632a53d | 9b59220e8c4efbadcf09776c45a770099944c70e | refs/heads/master | 2020-06-20T13:56:52.172616 | 2019-07-11T17:45:16 | 2019-07-11T17:45:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | cpp | #include "DemoModel.h"
#include "ExtModel.h"
#include "Lifetime.h"
#include "SocketWire.h"
#include "Protocol.h"
#include "SimpleScheduler.h"
#include <cstdint>
using namespace rd;
using namespace demo;
int main() {
minimum_level_to_log = LogLevel::Fatal;
SimpleScheduler serverScheduler;
SimpleScheduler clientS... | [
"operasfantom@gmail.com"
] | operasfantom@gmail.com |
d9913f62af9e16b818584b33ca6f8a06728cffc7 | 63ba91de14d218aafce9b9fef4d68f072dc511d2 | /uva/solved/11057/c.cpp | 3b791da93f7bccc3dc9ab49e3806894ceae52cbd | [] | no_license | anas-didi95/programming-practices | bd1b57ea88db274f7c4b926cf2baf7360b3efe41 | cb0fb132e322b190edc11a8f71a231912c14ede5 | refs/heads/master | 2021-04-27T11:41:15.594540 | 2018-03-06T10:22:00 | 2018-03-06T10:22:00 | 122,566,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | #include <bits/stdc++.h>
using namespace std;
#define dg(x) cerr<<x<<' '
#define dgl cerr<<endl
int n;
int b[10010];
int m;
string w;
int main() {
while (scanf("%d", &n)==1) {
for (int i = 0; i < n; i++) scanf("%d", &b[i]);
scanf("%d", &m);
getline(cin, w);
sort(b, b+n);
... | [
"anas.didi95@gmail.com"
] | anas.didi95@gmail.com |
e83ec1d0d029ba81645323b01c073aefd952820d | 05f2045835f6d47d4f5d8e480fe33a02a49ec6d5 | /GREEDY TECHNIQUE/SOLVED EXAMPLES/jobSequencingProblem.cpp | cc0c6028af53e2995d1dc27e4c2f98de217fc376 | [] | no_license | Amanuttam1192/The-CP-Companion | b9d94abad6f35170ab8d563fe757f68f7d6457bc | e590ff4c86e7f8c18103086bbd02e9a65b8238fb | refs/heads/main | 2023-08-29T16:08:41.642937 | 2021-10-13T19:01:12 | 2021-10-13T19:01:12 | 416,994,836 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
struct Job
{
char id;
int dead;
int profit;
};
bool comparison(Job a, Job b)
{
return (a.profit > b.profit);
}
void printJobScheduling(Job arr[], int n)
{
sort(arr, arr+n, comparison);
int result[n];
bool slot[n];
for (int i=0; i<n; i++)
sl... | [
"noreply@github.com"
] | noreply@github.com |
03286994146d4fea5649de228711aab15feda3c0 | 2fecdeaca0adf090ebf581e053daf9261b0cb743 | /C++基础/字符型示例.cpp | 9dbedd00e423830a577190be78a58ead32b8d959 | [] | no_license | ArvinRoad/C-Tutorial | 9aa5d98411aaf47d7698fddc68626349440e4806 | 4b1a535be496def8a37de7774b2d0adbadf7939f | refs/heads/master | 2022-12-29T02:37:17.298342 | 2020-10-20T06:48:21 | 2020-10-20T06:48:21 | 284,160,213 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 446 | cpp | #include<iostream>
using namespace std;
int main10() {
char ch = 'a';
/*
char ch2 = "b";
如果ch2为"b",系统报错。char语法为''。
char ch3 ='abc'
如果ch3为'abc',系统报错。char只支持字符,不支持字符串。
*/
cout << "ch =" << ch << endl;
cout << "char 类型的内存空间占用大小为:" << sizeof(ch) << endl;
cout << (int)ch << endl; //查看a的ASCII编码
system... | [
"53329456+ArvinRoad@users.noreply.github.com"
] | 53329456+ArvinRoad@users.noreply.github.com |
0fd036fed8a94c9927735e0e2516cdc8de6a26b1 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-devicefarm/include/aws/devicefarm/model/ListTestGridSessionsRequest.h | 56cb70ff28712f703e42d31114fd0687240f3db7 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 10,996 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
#include <aws/devicefarm/DeviceFarmRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/devicefarm/model/TestGridSessio... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
71b95b3bf5584b7237f745a6b61828022b17f453 | 8d45911e021d96c5675ea0f68c0dd97664a593f9 | /17.cpp | 89c43498606dc6b357988028f578e4c949cbe94f | [] | no_license | Arik096/L2-T1-DS-final-lab-test | 457aff1fc884ac156a4b75dc603cca3faebb54fd | d146d85e48eda31ce49d3d8e6a7b9ff25cf967d5 | refs/heads/master | 2021-01-01T15:56:17.595168 | 2017-07-19T16:03:45 | 2017-07-19T16:03:45 | 97,734,176 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include <bits/stdc++.h>
#define MAX 5
long long int a[MAX];
long long int rear = - 1;
long long int Front = - 1;
int main ()
{
while(1)
{
long long int add;
printf("Inset the element in queue : ");
scanf("%lld", &add);
if (rear == MAX - 1)
{
printf("\nQueu... | [
"noreply@github.com"
] | noreply@github.com |
28c53fb90282c66391f983380864c8c2e836073f | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /content/renderer/media/rtc_certificate.cc | 16a57a7545f8a5c20cef3223eb7c513a598f4dd7 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,295 | cc | // Copyright (c) 2015 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 "content/renderer/media/rtc_certificate.h"
#include "base/memory/ptr_util.h"
#include "url/gurl.h"
namespace content {
RTCCertificate::RTC... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
35df90a1ead611a9ecb0dd7ddde07fd78e16efab | b7034de7478e196dd27e8d794f774b24238ccbde | /Week_01/reverse-only-letters.cpp | b3cf4d9f83555ea921fdd56d60d6f43999275278 | [] | no_license | NathanFreeman/algorithm008-class01 | 76c60357dac0cd2d08c613af11371162837ddedf | 75a7bcd55a089949713c7dcdc8c3ff374ed80b3b | refs/heads/master | 2022-11-18T22:40:49.479612 | 2020-07-05T10:34:51 | 2020-07-05T10:34:51 | 255,629,052 | 0 | 0 | null | 2020-04-14T14:15:29 | 2020-04-14T14:15:28 | null | UTF-8 | C++ | false | false | 525 | cpp | #include <string>
#include <iostream>
using namespace std;
class Solution {
public:
string reverseOnlyLetters(string S) {
for (int i = 0, j = S.length(); i < j;) {
if (!isalpha(S[i])) {
i++;
} else if (!isalpha(S[j])) {
j--;
} else {
... | [
"20188212e588G"
] | 20188212e588G |
e61712354cc8472dca1e1173cf887209747adb45 | 4dd1a4bb458bb8a664b4b7f57bdc5ac5a80361a7 | /chrome/browser/ui/global_media_controls/media_notification_service_unittest.cc | c32c1152dc735d82929e5d5ad42908653ed375d9 | [
"BSD-3-Clause"
] | permissive | joker2016cn/chromium | e2c74f1100b2138d54548dd8e8d1fad41f6cc9b9 | a5088d502f500bed6fa1ee1cabd0f530d2982599 | refs/heads/master | 2022-12-22T17:11:20.272822 | 2020-01-29T03:59:00 | 2020-01-29T03:59:00 | 177,708,424 | 0 | 0 | NOASSERTION | 2020-01-29T03:59:01 | 2019-03-26T03:30:16 | null | UTF-8 | C++ | false | false | 39,841 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/global_media_controls/media_notification_service.h"
#include <memory>
#include "base/strings/string_number_conversions.h"
#i... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ae3ad53dacc0a6dc8f696fa8419e12daf6902bad | 087ec97a3db6d2c93e9d14a288e9b8683c1c3183 | /client.h | 6f5668f825702eb5db9065930df3450482307a8b | [] | no_license | laloxxx20/Network-Game | 306bed9dea4f4dc391bd5971820ae63dfc2cf6e1 | b71c26687db8185b7c0262546859ff4df6c33db2 | refs/heads/master | 2021-06-24T19:18:22.845223 | 2017-09-15T00:57:48 | 2017-09-15T00:57:48 | 103,597,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,616 | h | #include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <thread>
#include <time.h> /* time */
// #include "protocol.h"
using na... | [
"eduardolalox90@gmail.com"
] | eduardolalox90@gmail.com |
e0c93b3376e1fc7faee9bb4d064f532a45bcfbc9 | be31580024b7fb89884cfc9f7e8b8c4f5af67cfa | /CTDL1/New folder/VC/VCWizards/AppWiz/MFC/Library/templates/1041/dllmain.cpp | 797a2b026d5e5c649858dd49d9e686bc896f77d7 | [] | no_license | Dat0309/CTDL-GT1 | eebb73a24bd4fecf0ddb8428805017e88e4ad9da | 8b5a7ed4f98e5d553bf3c284cd165ae2bd7c5dcc | refs/heads/main | 2023-06-09T23:04:49.994095 | 2021-06-23T03:34:47 | 2021-06-23T03:34:47 | 379,462,390 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,500 | cpp | // dllmain.cpp : DLL の初期化ルーチンを定義します。
//
#include "stdafx.h"
#include <afxwin.h>
#include <afxdllx.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
static AFX_EXTENSION_MODULE [!output SAFE_PROJECT_IDENTIFIER_NAME]DLL = { NULL, NULL };
extern "C" int APIENTRY
DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserv... | [
"71766267+Dat0309@users.noreply.github.com"
] | 71766267+Dat0309@users.noreply.github.com |
54c258a04d621fb87b0c47c4540515d94360779c | b5eb58d11c138fe273b171a02abd42bd7d469692 | /Codechef/APRIL20B/ANSLEAK.cpp | ed1d9211e20cfa6197a450996beec6a6efaea1b0 | [] | no_license | anand2000a/Coding-Contests | da2cd80d5a2a78d5a6c8e85038a4f748336aa795 | 6feedec3204c1b5a147fdf4f9876757851e4e7e4 | refs/heads/main | 2023-03-16T14:45:18.156358 | 2021-03-09T08:04:17 | 2021-03-09T08:04:17 | 320,330,364 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,639 | cpp | //code by - anand2000
#include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(0); cin.tie(NULL); cout.tie(NULL);
#define ll long long int
#define vll vector < ll >
#define vpll vector < pair < ll,ll > >
#define pb push_back
//#define mp make_pair
#define fr(i,a,b)... | [
"noreply@github.com"
] | noreply@github.com |
715f266c17d404b8aed7baa13da73f4ff37e2b8a | 120f50ad80c0f60a659dafb6a09ff2cf31021c16 | /client/SWGPaymentsWalletsApi.cpp | a17f0a3bc94ca731e410a95503043432d331bb7d | [] | no_license | knetikmedia/knetikcloud-qt5cpp-client | 72dc0d1d7cbdf7536021cf546e347885497a1973 | cfad9f29a82a513941c0eb8fb2a82c18d16a24dc | refs/heads/master | 2021-01-23T06:35:36.976006 | 2017-03-27T20:52:02 | 2017-03-27T20:52:02 | 86,382,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,541 | cpp | /**
* Knetik Platform API Documentation latest
* This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com
*
* OpenAPI spec version: latest
* Contact: support@knetik.com
*
* NOTE: This class is auto generated by the swagger code generator program.
* ... | [
"shawn.stout@knetik.com"
] | shawn.stout@knetik.com |
a57660d181271ac619b57f43bf69b06305aa1c28 | df70bc240d052a892875cc98ac7c773af4d7aac5 | /solutions/SPOJBR/BRACELMG.cpp | 2592f625b419ed68c4c310575d52e26f4dbb6c9a | [
"Unlicense"
] | permissive | jrondanv/algo | 82771e9d98d7720fb2e86f96029e4f7e07a506f6 | 01f91cb566cc6d2dadc48864d19bdaf886f23ede | refs/heads/master | 2021-01-19T07:49:58.675555 | 2015-11-17T18:11:20 | 2015-11-17T18:11:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,488 | cpp | #include <stdio.h>
#include <string.h>
#include <vector>
#include <stdlib.h>
#include <algorithm>
using namespace std;
#define pop(x) __builtin_popcount(x)
#define ind(x) __builtin_ctz(x)
#ifndef ONLINE_JUDGE
#define getchar_unlocked() getchar()
#endif
typedef unsigned long long ull;
ull B = 3409;
char p[10201], *b;... | [
"fetofs@gmail.com"
] | fetofs@gmail.com |
d481bf7c9b1a883abdce835df4083d222a9be86e | b591fbbd37b9b5e81d8f308f61d607fe7b145ed7 | /include/RE/I/ID.h | 3666f90098e188f13065d826c1d947f66ec0c324 | [
"MIT"
] | permissive | aquilae/CommonLibSSE | f6a1d321b16f2eb1e296f1154d697bd4bed549b6 | b8e6a72875b22c91dd125202dfc6a54f91cda597 | refs/heads/master | 2023-02-02T16:45:00.368879 | 2020-12-15T03:58:22 | 2020-12-15T03:58:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | h | #pragma once
#include "RE/F/FileID.h"
namespace RE
{
namespace BSResource
{
struct ID : public FileID
{
public:
// members
std::uint32_t dir; // 0
};
static_assert(sizeof(ID) == 0xC);
}
}
| [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
a45b1cf09a0855cd1781dcf416406062600f86d8 | b4784f7d03c278222ca697dc0a629c42d8d41e01 | /tinyxpath/xpath_static.cpp | 598b5ef65b3f99942bd0d5d3c74674d11c3534a1 | [] | no_license | guitarhua/scxml_exec | 52bf5d218dbb08aa0dcbf313ba29e73a9209acf0 | cc5cde6dd121d607e44b1203202634118eeee3ea | refs/heads/master | 2020-04-27T00:47:03.338088 | 2017-03-11T04:41:48 | 2017-03-11T04:41:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,410 | cpp | /*
www.sourceforge.net/projects/tinyxpath
Copyright (c) 2002-2004 Yves Berquin (yvesb@users.sourceforge.net)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to... | [
"suyuan1573@gmail.com"
] | suyuan1573@gmail.com |
82c9a4356ab996677531e5a8bf26d81f60d30eb6 | d30be602df8d91db95dcb4e894d729fbedf7555f | /v0.7/lib/src/SubReqMan.h | 4ee7107497f9b796bc328fdf95c9da1d1231e6a7 | [] | no_license | skhds/PA_SSD | d757ed9c2e6a7ad2ed1d94755ce0da29d3a8cfca | a51cd82b0c73646f28177bd55129140162018755 | refs/heads/master | 2020-04-05T06:49:34.613433 | 2018-12-10T06:12:02 | 2018-12-10T06:12:02 | 156,652,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,292 | h | //-------------------------------------------------------------- //%
// Important: The template for this file was generated //%
// automatically and can only be re-generated if rules //%
// are followed when editing: ... | [
"skhds1@daum.net"
] | skhds1@daum.net |
4319cbeeae94cc272d31d1b34ddfa96b95d63540 | 19d893b6fe80641ac38566c36c0760bf2dcff115 | /publisher.cpp | d548ab2f9637944bfe25aea9e0c07d344f0717be | [] | no_license | ewingert1/random-depo | 2b33931fbb192251ba6d9c851821acaa6f05af50 | 750d72dcb227c5a306f27699cfa37b674cf2253e | refs/heads/master | 2020-03-17T18:07:38.561943 | 2018-05-20T20:20:41 | 2018-05-20T20:20:41 | 133,815,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | cpp | #include <ros/ros.h>
#include "std_msgs/String.h"
#include <stdlib.h>
#include <sstream>
int main(int argc, char **argv) {
//Initializes ROS, and sets up a node
ros::init(argc, argv, "PR_test");
ros::NodeHandle nh;
//Ceates the publisher, and tells it to publish
//to the husky/cmd... | [
"noreply@github.com"
] | noreply@github.com |
4dbac86d55d443945526af95e7408b92d5dc3115 | 5a0dc6612e84f1152a3ad31249e0e910d3f95f3c | /HDMap/include/map_api/msg/std_msgs_Byte.h | 4287861c5b9c78920ff1a7978cb0e8a27ad11ad9 | [
"MIT"
] | permissive | 1335654481ren/autoparking | ff121043b33730544bf28dc930817e0e58365647 | a36ffaa1f787329b5e8324beb261059d6c0bd63f | refs/heads/master | 2020-04-02T05:42:56.165638 | 2018-12-05T08:28:07 | 2018-12-05T08:28:07 | 154,099,858 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | #ifndef STD_MSGS_BYTE_H
#define STD_MSGS_BYTE_H
#include <string>
#include <vector>
using namespace std;
namespace std_msgs {
class Byte
{
public:
Byte() {};
~Byte() {};
signed char data;
};
} // namespace std_msgs
#endif
| [
"renxl@xiaoliangrendeMacBook-Pro.local"
] | renxl@xiaoliangrendeMacBook-Pro.local |
0bbdf748afb047f4a0ca581aaddd00d1b6adde9c | c286fd021537d80086c63404e9157799e8f2a59e | /cpro/assign2/q3/main.cpp | 756c1f6bc49d892a7d9070c38b78f0df6998953e | [] | no_license | bollu/IIIT-H-Code | f7bb88bff8f201a0435d648f648ccc67fd4e61d7 | e178919ab642ecfeea2ac3cdd3d668da43a2b883 | refs/heads/master | 2023-01-28T11:43:05.034342 | 2020-05-04T13:23:21 | 2020-05-04T13:23:21 | 65,584,926 | 8 | 3 | null | 2023-01-19T02:48:27 | 2016-08-12T21:37:13 | C | UTF-8 | C++ | false | false | 3,801 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
#define endl '\n'
typedef int digit;
typedef vector<digit> number;
template<typename T>
void printvec(vector<T> &v, string name="") {
cout<<name<<" : [";
for(auto x : v) {
cout<<x<<" ";
}
cout<<"]\n";
}
//remove... | [
"siddu.druid@gmail.com"
] | siddu.druid@gmail.com |
19ecaed655a69ccc8b7851d866f1aa7cf1b3e77e | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/vc6addon/ide/pkgs/bld/src/javadbg.cpp | 9d5f68fe921f3df61f04fb0dd7b7e53789ac2bb4 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 56,718 | cpp | //
// CDebugJavaGeneralPage
// The general debugger options page for Java projects. This page
// lets the user enter the class file to debug, the HTML page
// containing the applet, and/or the parameters to the applet/application.
//
// CParamGridWnd
// The grid for entering applet parameters.
//
... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
4ad8a70844445ebec0c44fafc27d32dcfd0a864c | c51febc209233a9160f41913d895415704d2391f | /library/ATF/tagPALETTEENTRY.hpp | f18c90cdfc4f3a90c1018b1b3407c16d857d5d23 | [
"MIT"
] | permissive | roussukke/Yorozuya | 81f81e5e759ecae02c793e65d6c3acc504091bc3 | d9a44592b0714da1aebf492b64fdcb3fa072afe5 | refs/heads/master | 2023-07-08T03:23:00.584855 | 2023-06-29T08:20:25 | 2023-06-29T08:20:25 | 463,330,454 | 0 | 0 | MIT | 2022-02-24T23:15:01 | 2022-02-24T23:15:00 | null | UTF-8 | C++ | false | false | 315 | hpp | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
struct tagPALETTEENTRY
{
char peRed;
char peGreen;
char peBlue;
char peFlags;
};
END_ATF_NAMESPACE
| [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
5432c7aa8251c6276a130cfbbd37ad73e6f110e9 | c9bbd90aec6bd43c53b68c0c77c9648fbce6d425 | /15) Алгоритм Дейкстры/d_v2.cpp | c13d927a4410ae69ba6a8f135996aa681b7cbe8e | [] | no_license | u7er/TSVPS | 9c82170b0fb437740a42f1390c77f54ab40282c6 | 91a52f8821800f0592c0e19664f5556cf52823b2 | refs/heads/master | 2021-08-31T18:26:39.285566 | 2017-12-22T10:42:28 | 2017-12-22T10:42:28 | 108,965,241 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,601 | cpp | #include <stdio.h>
#include <vector>
#include <algorithm>
#include <map>
#include <math.h>
using namespace std;
int count_vertex, count_edges, trudoemkost = 0;
vector <int> p;
vector <int> vershiny;
struct edge {
int x, y, w;
};
int search_index_min(vector <int> m) {
int index = 0;
int min = m[0];
fo... | [
"noreply@github.com"
] | noreply@github.com |
a04eca4baf85e134de7de7c95a7a678048ff6321 | 4f5505e172aab9d03a8fc75d1bc052deb8e1f85f | /Hacker Rank/p36.cpp | b884a0b603aa850651343e07a4c8c0910ee921ca | [] | no_license | Sartech-B/Competitive-Programming | 625fa038730725a23e4288df2759a65c96e0cf9a | 6d609f10c19945f3c19b52955d2bdb1561082b3c | refs/heads/master | 2020-12-05T05:04:23.100117 | 2020-01-06T02:23:39 | 2020-01-06T02:23:39 | 232,015,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
long int a[n], b[n];
for(int i=0; i<n; i++)
{
cin>>a[i];
b[i] = a[i];
}
int ans1 = 0, ans2 = 0;
for(int i=0; i<n-1; i++)
{
for(int j=i+1; j<n; j++)
{
if(a[i]>a[j])
{
swap(a[i], a[j]);
ans1++;
}
}
}
for(int ... | [
"sarthakbawal@gmail.com"
] | sarthakbawal@gmail.com |
290c20684fdaaf1aeece226b78752229ae96e4ea | 564a820c13ffd1b28fa23b35244fa8c029839885 | /block_matching/src/doc_analyzer/Matcher/blockmatching.cpp | 97eb4c72d943ee14219e2753f9a34bbd6cd1c7b6 | [] | no_license | NotMichaelChen/index_update | 1ccc584cca3b2829c80cae4172705a70c083950a | 7c5fa88ea65915791f610d7c93ee93ea7b2b5fb9 | refs/heads/master | 2021-01-01T15:33:03.748899 | 2019-10-22T00:26:16 | 2019-10-22T00:26:16 | 97,640,100 | 3 | 3 | null | 2018-11-30T00:11:21 | 2017-07-18T20:17:21 | C++ | UTF-8 | C++ | false | false | 7,962 | cpp | #include "blockmatching.hpp"
#include <map>
#include <unordered_map>
#include <algorithm>
#include <iostream>
#include "utility/util.hpp"
//is 1 overlapped by 2
bool isOverlap(int oldbegin1, int newbegin1, int oldlen, int oldbegin2, int newbegin2, int newlen) {
return
oldbegin1 >= oldbegin2 &&
ol... | [
"mzc12345@gmail.com"
] | mzc12345@gmail.com |
2c09b77c9929378d8c48cd9228737b32cdacdd21 | c73b9c4d9d1f61fdb706d0bb2b5e35d222c1ea5c | /OMP.cpp | f5a20680bf5e36b71b1d1d3a74accd0b49f5d449 | [] | no_license | gk023/dcomp | 52c73e326955bef775c2aee0fa99dc5a1e92da72 | fb134004c58d598596a8511935df14f3d7ded18b | refs/heads/master | 2020-05-26T15:29:24.822493 | 2019-06-04T16:56:54 | 2019-06-04T16:56:54 | 188,286,454 | 0 | 0 | null | 2019-06-03T15:08:55 | 2019-05-23T18:27:29 | C++ | UTF-8 | C++ | false | false | 773 | cpp | // file OMP.cpp
//
// Definitions for the OMP class
//
// Programmer: Garrett King
//
//*****************************************
#include <complex>
#include <cmath>
#include "OMP.h"
//Get optical potential with parameters V, r, a, W, rw, aw for a
//nucleus with A nucleons
OMP::OMP(double V, double r, double a, do... | [
"kinggar1@msu.edu"
] | kinggar1@msu.edu |
f0196036cb1092a41fa1d1ed595d36b5b3354788 | 0e8bd6ecee37b391299e8a41c842ce2786864e55 | /src/Magnum/Test/RectangleTextureGLTest.cpp | ad438db17f6b2a28ecbc075d37726d49810cddcc | [
"MIT"
] | permissive | 91yuan/magnum | c3fc8a0287bcd2a8d62ac5db5aec905b9e185468 | 929329b1f8363ac5e6f8688423c6c6854014865e | refs/heads/master | 2021-01-19T16:41:37.924578 | 2017-08-21T17:23:50 | 2017-08-21T20:17:31 | 101,019,156 | 1 | 0 | null | 2017-08-22T03:54:43 | 2017-08-22T03:54:43 | null | UTF-8 | C++ | false | false | 20,021 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
Vladimír Vondruš <mosra@centrum.cz>
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... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
879134a7c14923e5cee73c763871101ea5f4058e | eee81611a5961254832c7ce8f0bd9357d400c6a3 | /libs/oss/others/APL/opencore/oscl/oscl/osclbase/src/pvlogger_accessories.h | 8b577515db7b9d72f7ddbb04daf7c8d46c05442a | [] | no_license | easycodec/emlinux-ssd1935 | ba829b2743529bf98bc229a69c27ed3dcb166a8d | 34782c27c8a4d7f915467637f8974c69345719e4 | refs/heads/master | 2020-07-30T14:12:19.210694 | 2016-01-09T10:09:45 | 2016-01-09T10:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,603 | h | /* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* 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.a... | [
"acassis@gmail.com"
] | acassis@gmail.com |
f396cb61d5cdb07791e8004386d61eb53a7166fd | 2f16099c2311e817fd1287573ba98d9acb3582ec | /shootinggame/player_bullet_spread.cpp | e1acedcc55dcc0230312243ebe7255fa75281e46 | [] | no_license | jiwonan/ShootingGame01 | 80ca7d47f1f9afbfedc73a27266458190a3887d1 | 8b9eaf5bc11c1dfd4eab15a36ae4f85aebac1441 | refs/heads/master | 2022-11-05T15:25:17.595442 | 2020-06-11T11:42:27 | 2020-06-11T11:42:27 | 267,024,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,141 | cpp | #include "player_bullet_spread.h"
#include "global.h"
PlayerBulletSpread::PlayerBulletSpread(int x, int y, float vx, float vy)
{
posX = x;
posY = y;
velX = vx;
velY = vy;
isDead = false;
}
void PlayerBulletSpread::Update()
{
posX += velX;
posY += velY;
if (posX<0 || posX>WINDOW_WIDTH ||
posY<0... | [
"s2018s31@e-mirim.hs.kr"
] | s2018s31@e-mirim.hs.kr |
28a4f6005ff49e9c4dbe92e9b250aa3afe07a93d | 5cad8d9664c8316cce7bc57128ca4b378a93998a | /CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.h | ae9382142c31c990a8998dadd6b3c145251cb008 | [
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GPL-3.0-only",
"curl",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"OpenSSL",
"GPL-1.0-or-later",
"MIT",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSD-3-... | permissive | huaweicloud/huaweicloud-sdk-c-obs | 0c60d61e16de5c0d8d3c0abc9446b5269e7462d4 | fcd0bf67f209cc96cf73197e9c0df143b1d097c4 | refs/heads/master | 2023-09-05T11:42:28.709499 | 2023-08-05T08:52:56 | 2023-08-05T08:52:56 | 163,231,391 | 41 | 21 | Apache-2.0 | 2023-06-28T07:18:06 | 2018-12-27T01:15:05 | C | UTF-8 | C++ | false | false | 1,520 | h |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_net_ssl_provider_EncryptedPreMasterSecret__
#define __gnu_javax_net_ssl_provider_EncryptedPreMasterSecret__
#pragma interface
#include <gnu/javax/net/ssl/provider/ExchangeKeys.h>
#include <gcj/array.h>
extern "Java"
{
namespace gn... | [
"xiangshijian1@huawei.com"
] | xiangshijian1@huawei.com |
a5a27b61e6455bf58cbf3e2c3cbd53e09c7ab324 | 6c0089dfcc5be28c923808fe21327b617dfeb8ac | /Assignment2/assignment2.cpp | 88e85bf5ab8eba4d293b7b44759711de15146193 | [] | no_license | rich-hart/ICG_HW | 9153a4bdb9cd46415304f75e317ff7a8ac7c3e5e | 919e75098cd304e05e7771c199e4adc87ff8190c | refs/heads/master | 2016-09-10T21:17:18.794230 | 2013-06-26T17:15:02 | 2013-06-26T17:15:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,842 | cpp | /*
Richard Hart
Assignment 2
*/
#include "include/Angel.h"
#include <math.h>
#define BUFFER_SIZE 100000
#define RED 0
#define RED_SHADED 1
#define WHITE 2
#define BLACK 3
#define MULTI_COLORED 4
#define SHADE_CENTER 0
#define SHADE_OFF_CENTER 1
#define SHADE_VERTEXS 2
//Angel Code:
vec2 vertices[BUFFER_SIZE] ;// ... | [
"RichHOHart@gmail.com"
] | RichHOHart@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.