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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0bbd4f199662cfcc9c67b98338f693d497ecdf14 | af0a0e3114932c6573fcaf9c753ed3076c134a83 | /exercise2.3-jumpBalls/src/ball.h | 362a66b2f92ba905fe963f8e18578697dbda8e74 | [] | no_license | Paul92/NatureOfCode | ea556e6f436502d2871a5a486b9bd9cbf1005c58 | e1d963b9eb051c6ab2e1c99fb0b1973dce9e71ef | refs/heads/master | 2021-01-17T21:11:57.960155 | 2016-07-08T22:54:37 | 2016-07-08T22:54:37 | 62,155,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | h | /**
* @class Ball
*
* A sample ball class that implements some physics properties.
* Can be used in particle systems.
*/
#include "ofMain.h"
class Ball {
private:
ofPoint position;
ofVec3f velocity;
ofVec3f acceleration;
float mass;
public:
Ball();
Ball(flo... | [
"paul.gafton@gmail.com"
] | paul.gafton@gmail.com |
289045c766490c88a0049d072660dab1e8fdc65a | 7e2b2217a5e2021b1495bde326e51dcf97ec3683 | /devel/include/turtlebot3_example/Turtlebot3Action.h | bfefa624472d580eeacea64794f1ff6c6581b856 | [] | no_license | JacobViertel/SOA_VZ1 | cffd0999856f1c26fbc17ff839a2a9a720c8a633 | 0bb2313b3de87cc282d047a4e66212d343fa96e2 | refs/heads/master | 2020-08-08T20:31:49.342284 | 2019-10-16T08:39:35 | 2019-10-16T08:39:35 | 213,911,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,050 | h | // Generated by gencpp from file turtlebot3_example/Turtlebot3Action.msg
// DO NOT EDIT!
#ifndef TURTLEBOT3_EXAMPLE_MESSAGE_TURTLEBOT3ACTION_H
#define TURTLEBOT3_EXAMPLE_MESSAGE_TURTLEBOT3ACTION_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros... | [
"noreply@github.com"
] | JacobViertel.noreply@github.com |
35c853756c54168af754088380c85e8dc062156d | ed9017f0222c52af0d2a6da73b9d046acae1ed76 | /workspace/Activity_timak/src/Graphics/Activity/ForkAlgorithm.cpp | 7ee95c135f9e0d56db648d24bcebb62c61627a2f | [] | no_license | next-dimension-team/Timak_15-16 | 7989d3a90d3cb20ec2a0d78fe604bf60740bf31d | 0902a296ff835a1a7f091b1d25351330ea5e74e8 | refs/heads/master | 2021-01-11T02:11:11.558451 | 2016-10-06T10:08:31 | 2016-10-06T10:08:31 | 70,096,900 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,691 | cpp | #include "ForkAlgorithm.h"
#include <math.h>
#include <OgreBlendMode.h>
#include <OgreCommon.h>
#include <OgreHardwarePixelBuffer.h>
#include <OgreLogManager.h>
#include <OgreManualObject.h>
#include <OgreMaterial.h>
#include <OgreMaterialManager.h>
#include <OgrePass.h>
#include <OgrePixelFormat.h>
#include <OgreRend... | [
"Peter.Zajac11@sk.ibm.com"
] | Peter.Zajac11@sk.ibm.com |
dcf361c9223dcfec05e17a0b58a803768e2c904c | 58fbf85bc2dda72606c01cd2cd191bc0bc9fa7c2 | /Plugins/SCTXRResource/Source/SCTXRUser/Private/SCTXRCommonTools.cpp | 75d3be2ce9b7a18fd0aaa27fba09a6c3c65baee3 | [] | no_license | myl2232/ArmyEngineSimulation | 497d2affb2786af9aa0a0295cf98cc4377b87ca4 | 353f3ec93cb352d49ce95825bb2ffdcc678119cf | refs/heads/master | 2020-11-26T07:03:36.383628 | 2019-12-20T09:48:18 | 2019-12-20T09:48:18 | 228,996,622 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 18,275 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SCTXRCommonTools.h"
#include "Regex.h"
#include "Developer/DesktopPlatform/Public/DesktopPlatformModule.h"
#include "AES.h"
//#include "PhysicsEngine/BodySetup.h"
#include "PlatformFilemanager.h"
FSCTXRCommonTools::FSCTXRCommonT... | [
"153101862@qq.com"
] | 153101862@qq.com |
72ccffca7796cf079a37937970b9163d083f3029 | 898ecea918175f07a36f7719ed3e0241a504f96b | /SNU Longest Hairpin Sequence/smallest.cpp | 95df57c9cb04abda5ced7da94205fe78d8670946 | [] | no_license | AdamBJ/Longest-Hairpin | b8abd0b508b1c317ccc0014a3955e5db5e35350a | 18167d394712d009b64e0093dd7688a51a26b6d6 | refs/heads/master | 2021-01-13T00:44:44.578462 | 2015-05-31T10:12:18 | 2015-05-31T10:12:18 | 36,597,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 153 | cpp | #include <algorithm> // std::min
//returns the minium of three input values
int smallest(int x, int y, int z){
return std::min(std::min(x, y), z);
} | [
"anb1@sfu.ca"
] | anb1@sfu.ca |
dd706c7bc5bf22b8107f6ba45224d7858f36de80 | 9330e0bd51071ebcb5b863038c568b9e122e2356 | /my_lib.h | e3a644255c9067034734f1145f31f58aa9f68ecb | [] | no_license | rjimenez123/correo_mg_lab3 | bfbef5dbffaaa109962b3b1f6400084a9d160f44 | 6cdba18d7cd712158633b28f9cad69ab10daf34e | refs/heads/master | 2020-05-16T14:21:25.023338 | 2019-04-25T17:42:53 | 2019-04-25T17:42:53 | 183,100,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | #ifndef MY_LIB_H
#define MY_LIB_H
template <typename TIPO>
void mergeSort(TIPO*, int, int);
template <typename TIPO>
void merge(TIPO*, int, int, int);
template <typename TIPO>
double mean(TIPO*, int);
template <typename TIPO>
double weighted_mean(TIPO*, TIPO*, int);
template <typename TIPO>
TIPO median(TIPO*, int)... | [
"noreply@github.com"
] | rjimenez123.noreply@github.com |
60c209c20172cafec6359051133a097118e8065a | 83b0c001f3655386f2545a3418a545e1d479ff01 | /Guadalajara/InterfaceDefinitions.cpp | f613601d3f5af16b822c7773ba4ab04a63c886e0 | [] | no_license | liamdebellada/Guadalajara | 60766ae3dc225547b1164b9df176261af029c40a | 9e3953bc9fbc28b0066b68188283f9aa4345ff87 | refs/heads/main | 2023-03-21T18:08:51.221129 | 2021-03-10T20:07:05 | 2021-03-10T20:07:05 | 343,461,899 | 1 | 1 | null | 2021-03-04T20:57:07 | 2021-03-01T15:21:40 | null | UTF-8 | C++ | false | false | 923 | cpp | #include "InterfaceDefinitions.h"
#include <Windows.h>
#include <iostream>
InterfaceCollection* Interfaces = nullptr;
typedef void* (*tCreateInterface)(const char* name, int* returnCode);
void* GetInterface(const char* dllName, const char* interfaceName) {
tCreateInterface CreateInterface = (tCreateInterface)GetPro... | [
"liam.debell@ada.ac.uk"
] | liam.debell@ada.ac.uk |
efc466d1307692ddda6f1281c9f54871ec047c55 | c3ffa07567d3d29a7439e33a6885a5544e896644 | /UVa/821.cpp | 49f7342156f1a2a6b253f0cf0b45bd45291f39fc | [] | no_license | a00012025/Online_Judge_Code | 398c90c046f402218bd14867a06ae301c0c67687 | 7084865a7050fc09ffb0e734f77996172a93d3ce | refs/heads/master | 2018-01-08T11:33:26.352408 | 2015-10-10T23:20:35 | 2015-10-10T23:20:35 | 44,031,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | #include<stdio.h>
#include<algorithm>
#define INF 1000000
using namespace std;
int d[101][101] ;
main()
{
int a,b,tc=0 ;
while(scanf("%d%d",&a,&b)==2 && a+b)
{
for(int i=0;i<=100;i++) for(int j=0;j<=100;j++)
d[i][j]= (i==j ? 0 : INF) ;
d[a][b]=1 ;
while(scanf... | [
"a00012025@gmail.com"
] | a00012025@gmail.com |
598d9e3bf146811077d89fba3cc3b537d1c189f8 | 7ab9732bfea95712d13ad0a0f9193c03e41ab3f4 | /C++ Primer/C++ Primer&17/Example&17.30.cpp | 6faaaea22d16c8075b9d81734d450f20ff2c619a | [] | no_license | LuckPsyduck/CPP-Example | 611a09a3b80deb00ceff348acee7dd7c3db25a4f | 8b4b75e1c90313811130c9c24484dce8ee951067 | refs/heads/master | 2021-05-23T00:18:57.770829 | 2020-04-05T13:05:58 | 2020-04-05T13:05:58 | 253,151,908 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include<iostream>
#include<random>
using namespace std;
unsigned int rand_int(long seed = -1,long min=1,long max=0)
{
static uniform_int_distribution<unsigned> u(0, 9999);
static default_random_engine e;
if (seed >= 0)
e.seed(seed);
if (min <= max)
u = uniform_int_distribution<unsigned>(min, max);
return u(e... | [
"123163843@qq.com"
] | 123163843@qq.com |
b2c0c0ec2f2bc32fc4320b2af0c469018cca2cfd | 15f6b119c19db8471210fc99650a1974c27fbc4c | /A/1176A.cpp | 7fc31d65e8b719dc605998e8b084c91ecb34c5b6 | [] | no_license | AsifWatson/codeforces | 8d1afd7f56fe84836e770d2de68f9caad596480b | ee38a5e8c19a54588fecf4f26986975e258e3b6b | refs/heads/master | 2021-07-12T23:33:54.021007 | 2021-02-28T14:06:09 | 2021-02-28T14:06:09 | 234,949,673 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | #include "bits/stdc++.h"
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define all(v) v.begin(),v.end()
#define allre(v) v.rbegin(),v.rend()
#define sp(x,y) fixed<<setprecision(y)<<x
#define max3(a,b,c) max(a,max(b,c))
#define min3(a,b,c) min(a,min(b,c))
#define GCD(a,b) __gcd(a,b)
#define LCM(a,b) ((a*... | [
"ashfaqislam33@gmail.com"
] | ashfaqislam33@gmail.com |
a39fb648311aad564eff2611ebab95d7d74c083c | 01b8c8094dc5beb8518dbed3be7775b79071a9c8 | /sky/engine/tonic/dart_string_cache.cc | d82deb1eb035a7f21260478bd888fa04d9f53f5d | [
"BSD-3-Clause"
] | permissive | bprosnitz/mojo | 2e01c9fed8326ad86d6364baf0790ff99e2d8f3c | 0c7f1938808f0df20704c336ccbe47b429c92f70 | refs/heads/master | 2021-01-09T07:00:22.139224 | 2015-06-23T17:20:56 | 2015-06-23T17:20:56 | 37,934,424 | 0 | 0 | null | 2015-06-23T17:39:27 | 2015-06-23T17:39:27 | null | UTF-8 | C++ | false | false | 2,008 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "sky/engine/config.h"
#include "sky/engine/tonic/dart_string_cache.h"
#include "sky/engine/tonic/dart_state.h"
#include "sky/engine/tonic/dart_s... | [
"rafaelw@chromium.org"
] | rafaelw@chromium.org |
7d45221b20beec0864ee7e7a4d34246a438f9211 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_old_hunk_398.cpp | 414dc9fe7b74c670bdbec1a0d64cee3b75c3710d | [] | 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 | 512 | cpp | DelayTaggedBucket::~DelayTaggedBucket()
{
debugs(77, 3, "DelayTaggedBucket::~DelayTaggedBucket");
}
void
DelayTaggedBucket::stats (StoreEntry *entry) const
{
storeAppendPrintf(entry, " :" SQUIDSTRINGPH , SQUIDSTRINGPRINT(tag));
theBucket.stats (entry);
}
DelayTagged::Id::Id(DelayTagged::Pointer aDelayTagg... | [
"993273596@qq.com"
] | 993273596@qq.com |
6d580017737fb63134410a05b3a52c8ef8855827 | 8260762b35ea04ab54eac2043007bb1dd1a4be12 | /Streams/OStream.h | 3ecd2a60d3411df7aa551df517752a19662be888 | [] | no_license | analyst1001/SSHHandshakeFuzzer | 6253c447496daf8442ce4da6756c368e44e1e068 | 16d14605369a2589cc67bea6d55507ff9e055395 | refs/heads/master | 2020-03-13T18:40:23.962497 | 2018-05-03T23:18:02 | 2018-05-03T23:18:02 | 131,239,961 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h | #include "Stream.h"
#include "../MessageBuffers/MessageBuffer.h"
#ifndef OSTREAM_H
#define OSTREAM_H
class OStream : public Stream {
public:
virtual void write(MessageBuffer *) = 0;
};
#endif
| [
"singh414@xinu17.cs.purdue.edu"
] | singh414@xinu17.cs.purdue.edu |
c7c9354b05d95e5e3a3a730510b28ca76e524cd7 | 6422683c474166c8c4cdd81557f4b4f2dac5eec6 | /Gescole 2/Gescole/Formulaire.h | 78938f5c9d16918f1d73ae7b566b9bc8dac04798 | [] | no_license | Phrederik2/Projet-C-2ieme | 27a0cff89bfbcc91d8417152b761393edc200511 | 27c27939d0e226bda048783bc0f432fcbbb459f0 | refs/heads/master | 2020-02-26T14:31:39.687921 | 2016-06-23T17:21:42 | 2016-06-23T17:21:42 | 59,936,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,611 | h | #pragma once
#include"Client.h"
#include"Livraison.h"
#include"Commande.h"
#include"RendezVous.h"
#include"Dossier.h"
#include "Message.h"
#include <iostream>
#include "ZoneSaisie.h"
#include"Search.h"
#include"Stream.h"
#include"Lancer.h"
#include"Message.h"
template<class ENTITY>
class Formulaire
{
public:
ZoneSais... | [
"phrederik2@gmail.com"
] | phrederik2@gmail.com |
f1a434ed81af1ff8e428723b47e3894115e37e03 | d62af3d2dd56df30c190a59bf7699bc38865d610 | /cc/array/longest_consecutive_sequence.cc | 5c806132737a13ee731d283736f9efdb208c8b0e | [] | no_license | colinblack/leetcode | abadc3045c90b15694a17eb8d3916ac16f813332 | 9368bbc41993958fb4b538ef873f0dfc23488ba0 | refs/heads/master | 2020-07-24T20:30:48.841711 | 2020-01-13T23:51:51 | 2020-01-13T23:51:51 | 208,040,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cc | #include <iostream>
#include <unordered_map>
#include <vector>
#include <algorithm>
using std::vector;
using std::unordered_map;
class Solution {
public:
int longestConsecutive(vector<int> &num) {
unordered_map<int, bool> hash_table;
for (auto i : num)
{
hash_table[i] = false;
}
int length = 0;
for (aut... | [
"178370407@qq.com"
] | 178370407@qq.com |
9804e71beeb76ad473191987527ba716cdf4df4c | ebd3360a127b9f0f38363dc0dad35a5d452140ac | /27.cpp | aa0c747a5a174888b0716293f94f9b6398f71f42 | [] | no_license | peachhhhh/CodingInterviews | e4c0f41ad956f0519e59d28de0064e381b9f5693 | 54e0bea986a30188b716c5a794222054b015b98f | refs/heads/master | 2020-09-12T06:54:39.782020 | 2020-01-16T08:33:50 | 2020-01-16T08:33:50 | 222,347,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
void dfs(vector<string> &res, string s, int pos)
{
if (pos == s.size() - 1)
{
if (find(res.begin(), res.end(), s) == res.end())
{
res.push_back(s); //如果res中已有重复结果,则不push
}
return;
}
... | [
"449141360@qq.com"
] | 449141360@qq.com |
54267294af1ff08e226a18605b3dd0b45f6a6914 | 5544235b9aa443ff5dc0731ee8cf7d557e9bc346 | /src/ch11.cpp | fbe85d9938bf4a77b7669fa34b9c1b3ebd965179 | [] | no_license | eric-simon/TMPBook | 67617cb2378aecdd19d378c0a50ffe5826f939b1 | 949c0d50fb396eb9cf3071ef059b30614985a7c4 | refs/heads/master | 2020-06-19T10:20:44.343955 | 2019-06-23T01:22:37 | 2019-06-23T01:22:37 | 74,908,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | #include "stdafx.h"
#include "ch11.h"
#include "player.h"
#include <vector>
#include <ctime>
int ch11(int argc, _TCHAR* argv[])
{
player p;
p.process_event(open_close());
p.process_event(open_close());
//p.process_event(cd_detected("Louie, Louie", std::vector<std::clock_t>()));
p.process_event(cd_detected());
... | [
"mister.eric@gmail.com"
] | mister.eric@gmail.com |
eb46a25d11bc8b682cefbc5384facc319d294d74 | dec817636542866fcb33b8ca41d1be119a51f5b1 | /myview/main.cpp | b68c617fc3319aa9bca8d2081c997a55a8a8b57e | [] | no_license | jinsook/cpluspluscodes | dfc6882a3e2489747cfb8a49800b115123483cca | 7d2be7b57b363e104d0aa774dfc420309972e691 | refs/heads/master | 2021-01-02T09:14:01.537354 | 2015-02-04T07:54:20 | 2015-02-04T07:54:20 | 23,863,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include "ui_mainwindow.h"
#include <QtGui>
#include <QApplication>
#include "qtgui/ecanvas.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QMainWindow *widget = new QMainWindow;
Ui::MainWindow ui;
ui.setupUi(widget);
widget->setCentralWidget(new ECanvas());
widget->show();
... | [
"choijinsook@gmail.com"
] | choijinsook@gmail.com |
ceea2d0ca8ebb5f1043e95d940890890c3d89782 | 7a3ba9759b81b486d3f701a635f73a697a6f44b8 | /sourceCompiler/cores/arduino/Briko/Temperature.h | 5f6c30982cec9977c6fe7681ac20be51c3220940 | [] | no_license | adrianloma/briko | 7cfd49273badf3268a16e87391d6f254393f3bd2 | 7b9df74d8505ad9c107e1ba2d8aae99ad29444ec | refs/heads/master | 2021-01-16T20:30:28.246371 | 2015-08-09T17:55:43 | 2015-08-09T17:55:43 | 40,435,688 | 0 | 0 | null | 2015-08-09T12:32:09 | 2015-08-09T12:32:08 | null | UTF-8 | C++ | false | false | 932 | h | /*
*
* Temperature.h
*
* Copyright 2014 IPSUM <contacto@ipsumss.com>
*
* This library is free software; you can redistribute it and/or
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more de... | [
"adrian.loma@gmail.com"
] | adrian.loma@gmail.com |
a368f9ccd5c955e722941c78dcef007b6840b843 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/bindings/core/v8/v8_hash_change_event.cc | 38877198dd920e0296c490553215f0d577e2fdf9 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,745 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/interface.cc.tmpl
// by the script code_gen... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
09f26ee93a849945be0d9e043580fcfea3eccec0 | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /chrome/browser/ui/webui/feed_internals/feed_internals_page_handler.cc | e8b0ad925e7c107dd5b05b7c311473f3a207be7e | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 6,703 | cc | // Copyright 2018 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/webui/feed_internals/feed_internals_page_handler.h"
#include <string>
#include <utility>
#include "base/feature_list.h"
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4a2d898fa8920fb10e6c2a12f7b6295f7820cb63 | 48d5dbf4475448f5df6955f418d7c42468d2a165 | /SDK/SoT_BP_female_makeup_asian_02_Desc_parameters.hpp | a2fed182f7062c287f0e18e68d8fe04e8753f9b8 | [] | no_license | Outshynd/SoT-SDK-1 | 80140ba84fe9f2cdfd9a402b868099df4e8b8619 | 8c827fd86a5a51f3d4b8ee34d1608aef5ac4bcc4 | refs/heads/master | 2022-11-21T04:35:29.362290 | 2020-07-10T14:50:55 | 2020-07-10T14:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | hpp | #pragma once
// Sea of Thieves (1.4.16) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_female_makeup_asian_02_Desc_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------... | [
"53855178+Shat-sky@users.noreply.github.com"
] | 53855178+Shat-sky@users.noreply.github.com |
058672dae799e8c2726d24c18821f7bc822aacee | 1580f024f6717a96b5d70edc52aa94f4953b4fcb | /acqu_core/AcquDAQ/src/TVME_VUPROM_Pattern.cc | 15666e7c3cd7ac5d363bc238cc0bc23aaf717531 | [] | no_license | A2-Collaboration/acqu | 7531a981cfe98603a14dfef4304312177f2a4072 | b7571696ec72e2b08d64d7640f9ed5a39eddb9f6 | refs/heads/master | 2023-05-01T07:30:06.743357 | 2019-04-03T16:18:35 | 2019-04-03T16:18:35 | 9,445,853 | 1 | 15 | null | 2022-09-09T08:44:08 | 2013-04-15T10:05:39 | C++ | UTF-8 | C++ | false | false | 4,585 | cc | //--Author A Neiser XXth Nov 2013 Adapt from TVME_VUPROM
//--Rev ...
//--Update JRM Annand 30th Jan 2014 Fix register setup
//
//--Description
// *** AcquDAQ++ <-> Root ***
// DAQ for Sub-Atomic Physics Experiments.
//
// TVME_VUPROM_Pattern
// Hit pattern reading module, configurable via dat ... | [
"neiser@kph.uni-mainz.de"
] | neiser@kph.uni-mainz.de |
f48d8806f14c1e8493263b2a03fc7d2500825e94 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/admin/pchealth/sr/tools/logdump/logdump.cpp | dc979a0d647c24295743214653da6e7d09d7e11c | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,595 | cpp |
/*++
Copyright (c) 1998-1999 Microsoft Corporation
Module Name:
logdump.c
Abstract:
this file implements functrionality to read and dump the sr logs
Author:
Kanwaljit Marok (kmarok) 01-May-2000
Revision History:
--*/
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
0179c53350dbe74a138d7c90636b6e417a8cd07f | b8fdb724f7978683678ae6175d091040c2ebc808 | /source/pipeline/Message.h | 38b1a0d1bcf1927917411fb72fe7f189b9f911b3 | [] | no_license | wrawdanik/ApiPack2 | 581fe8413cae2468802daa3a8cb374fbf0184061 | b47610fe2c59d5892dffc3a21e3db11ad1fedea4 | refs/heads/master | 2016-09-13T23:16:48.716971 | 2016-06-01T04:24:28 | 2016-06-01T04:24:28 | 58,285,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | h | //
// Created by warmi on 5/6/16.
//
#ifndef APIPACK2_PUBLICMESSAGE_H
#define APIPACK2_PUBLICMESSAGE_H
#include <cstddef>
namespace ApiPack2
{
enum class PublicMsgType : size_t
{
Update,
OpenRequest,
CloseRequest,
Terminate
};
union PublicMsgFlags
{
struct... | [
"walter_rawdanik@warmi.net"
] | walter_rawdanik@warmi.net |
2025f61152e3a8c0021cd985ef0b715f2f4c1fc3 | bd0bf2438dbe8a16cb79a045ed73f28361af0504 | /GAME_SECOND/bulletPhysics/src/BulletCollision/CollisionShapes/btCollisionShape.cpp | b33bc445700ef5e4c6db72483b348e61abc09924 | [
"Zlib"
] | permissive | RyujiNanjyou/rnGame | bc3d2429457803e3b0cbeba0e4e7bc43b28977df | fb22a4a4cdee14956a73e0d0d1b2e51b1bdb9637 | refs/heads/master | 2021-01-22T03:23:35.219980 | 2017-07-13T02:45:07 | 2017-07-13T02:45:07 | 92,374,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,290 | cpp | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org
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 grant... | [
"kbc15b10@stu.kawahara.ac.jp"
] | kbc15b10@stu.kawahara.ac.jp |
dca84e876ed2b2a6644df436829880e7eb57db1a | d77d9e9847318056ce9f266b60b63870a06ba980 | /inet_address.cpp | 742827c46654fb0f7e5c77bc23cb6e843d005ca9 | [] | no_license | joeccmou/INET_Practice | 9e5fd789042b2afef0f55bb1fbccb5f875b3f8a9 | 6a3cc49eeb47aa592abdf6598d86f3d586056bac | refs/heads/master | 2022-10-09T05:06:50.092648 | 2020-06-08T13:44:47 | 2020-06-08T13:44:47 | 270,647,185 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 561 | cpp | #include <stdio.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
int main()
{
char ip[] = "192.168.0.165";
struct in_addr myaddr;
/* inet_aton */
int iRet = inet_aton(ip, &myaddr);
printf("%x\n", myaddr.s_addr);
/* inet_addr */
printf("%x\n", inet_addr(ip));
/* inet_pton */
i... | [
"danonstarjie@163.com"
] | danonstarjie@163.com |
801870eeeafc67f98e962ad242e64d2643f97612 | 2a88b58673d0314ed00e37ab7329ab0bbddd3bdc | /blazetest/src/mathtest/dmatdmatsub/UDaMDb.cpp | 6a5f9c835f238dbfb4b190d30f126c9425142a50 | [
"BSD-3-Clause"
] | permissive | shiver/blaze-lib | 3083de9600a66a586e73166e105585a954e324ea | 824925ed21faf82bb6edc48da89d3c84b8246cbf | refs/heads/master | 2020-09-05T23:00:34.583144 | 2016-08-24T03:55:17 | 2016-08-24T03:55:17 | 66,765,250 | 2 | 1 | NOASSERTION | 2020-04-06T05:02:41 | 2016-08-28T11:43:51 | C++ | UTF-8 | C++ | false | false | 4,007 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatsub/UDaMDb.cpp
// \brief Source file for the UDaMDb dense matrix/dense matrix subtraction math test
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is ... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
bd85c4c5cd8b612dfbf93d0d8de0544444253ec3 | dce426f2f49f2fb7fcca307c6f06a7f6187e04bd | /factorial_test.cpp | 43abe087ce3f870564891aa6f2bcb2e08a487ff4 | [
"MIT"
] | permissive | MaxBytes/Performance-comparison-of-fundamental-algorithm-for-computing-factorial | efe4276613ad7189f11e58c1ac5f480458a710ac | 92db29c260d53dc7fccb6981563797e30727ee7d | refs/heads/master | 2021-04-12T11:49:05.005220 | 2018-03-21T15:52:12 | 2018-03-21T15:52:12 | 126,193,534 | 0 | 0 | null | null | null | null | IBM866 | C++ | false | false | 4,874 | cpp | #include <iostream>
#include <fstream>
#include <ctime>
#include <mpirxx.h>
mpz_class Factorial1(unsigned int n)
{
mpz_class x = 1;
for(mpz_class i = 2;i <= n;++i)
{
x *= i; // 1 * 2 * 3 * ... * n
}
return x;
}
mpz_class Factorial2(unsigned int n)
{
mpz_class k = (n / 2) + 1; // select approp... | [
"noreply@github.com"
] | MaxBytes.noreply@github.com |
de182d7dc3387a37959c405665216eab980500c4 | 724ab4b95af7786587d442f206f0c3a895b2e2c1 | /chinko_bot/types/game/context/roleplay/BasicAllianceInformations.h | 86e08990ecbc1233377d448c510676c939929fac | [] | no_license | LaCulotte/chinko_bot | 82ade0e6071de4114cc56b1eb6085270d064ccb1 | 29aeba90638d0f2fe54d1394c1c9a2f63524e50e | refs/heads/master | 2023-02-04T21:15:20.344124 | 2020-12-26T08:55:00 | 2020-12-26T08:55:00 | 270,402,722 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 908 | h | #ifndef BASICALLIANCEINFORMATIONS_H
#define BASICALLIANCEINFORMATIONS_H
#include "AbstractSocialGroupInfos.h"
class BasicAllianceInformations : public AbstractSocialGroupInfos {
public:
// Constructor
BasicAllianceInformations() {};
// Copy constructor
BasicAllianceInformations(const BasicAllianceInformations& o... | [
"negeko-inscriptions@hotmail.com"
] | negeko-inscriptions@hotmail.com |
2d3fe4c7b39599c00c5cbe7d428c557f1f2232e6 | 2161720e0b3517d25337fd98aaf9a9fbafc836e7 | /Atcoder BC 205/A.cpp | 935f392d7eb107070f0af8b9a827830d986cf597 | [] | no_license | pouriaafshari/Contests-CPP | 455468c4ebac4f653967ebdd89ce9c748965ece7 | da4440b3ede544438ec43587a1af5a20afad9760 | refs/heads/main | 2023-08-01T10:18:06.369486 | 2021-10-03T17:36:06 | 2021-10-03T17:36:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 117 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
double A, B;
cin >> A >> B;
cout << B*A/100;
}
| [
"noreply@github.com"
] | pouriaafshari.noreply@github.com |
f91a3eccbda4088a706f496cb2c9ed136a361dfc | 2aabb9b02ceec88ddb81a27dc56b73dfde378bcf | /source/physics/include/GateSourceVoxelImageReaderMessenger.hh | b1d02d87cb884d7f5148b03a56025133599883f4 | [] | no_license | zcourts/gate | 5121ba9f397124b71abca4e38be3dd91d80e68d9 | 3626e9e77e9bbd0200df40d2ccdd3628ddb0b04b | refs/heads/master | 2020-12-11T05:51:37.059209 | 2014-05-15T09:02:32 | 2014-05-15T09:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | hh | /*----------------------
Copyright (C): OpenGATE Collaboration
This software is distributed under the terms
of the GNU Lesser General Public Licence (LGPL)
See GATE/LICENSE.txt for further details
----------------------*/
#ifndef GateSourceVoxelImageReaderMessenger_h
#define GateSourceVoxelImageReaderMessenger_h... | [
"benoit@imnc.in2p3.fr"
] | benoit@imnc.in2p3.fr |
9dd128d2c65f3273f117b47e930832a7d763aead | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir521/dir522/dir572/dir2774/dir2942/file2973.cpp | 65bcae0a0079ba400ea60c648785539f114a625b | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #ifndef file2973
#error "macro file2973 must be defined"
#endif
static const char* file2973String = "file2973"; | [
"tgeng@google.com"
] | tgeng@google.com |
2b0769f274804a81914dc80c52ffa0439b2dce36 | be53be707c24a8751d93e3bd5fce53f8755212e6 | /cpp_without_fear/chap13/list.cpp | efccabe3588e467bba5d5d3e3cb0c15f9c1d33ed | [] | no_license | dboyliao/C_Cpp | b54bfeb0b91085701469bf7d50460f9737469390 | 0c56104107778213217e26d85ed3d9bbc2df532c | refs/heads/master | 2022-06-12T14:44:48.638880 | 2022-05-27T13:11:19 | 2022-05-27T13:11:19 | 46,228,690 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 484 | cpp | #include <list>
#include <exception>
#include <iostream>
using std::cerr;
using std::endl;
using std::list;
class A
{
};
class MyException
{
public:
MyException(char const *reason_) : reason(reason_) {}
char const *reason;
};
void foo()
{
throw MyException("Hello, error!");
}
int main(int argc, char co... | [
"qmalliao@gmail.com"
] | qmalliao@gmail.com |
418d7c8d614fc9b3cd7961703b6ae5df49be4758 | 40ae6fed66d7ff493b7d26c5756a510700b1e23b | /backend/tests_ssa/arithmetic.cc | 5061d08ce723c7a20ef728daa3511d04165eacdc | [] | no_license | lia-approves/copyofchantcompiler | b82af2fc934baab4b3b8be5a8c943065b55835a8 | 6cccafa0b52876dd1684c0e3e4626906f4f37b9f | refs/heads/master | 2022-03-11T02:19:17.705809 | 2018-10-03T21:57:35 | 2018-10-03T21:57:35 | 151,474,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,587 | cc | // Copyright msg for cpplint
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include "abstract_syntax/abstract_syntax.h"
#include "backend/ir_v5.h"
#include "gtest/gtest.h"
#include "utility/memory.h"
#include "backend/asm_generator_v5.h"
#include "backend/lowerer_v5.h"
#include "backend/S... | [
"pcd@csil.cs.ucsb.edu"
] | pcd@csil.cs.ucsb.edu |
1a5a58218e86b706f263da87b82a2452528bea1c | 460246fa4f9410bed0906f999b11a3b4c15b7077 | /solitaire/spells.h | b3e14541092e90b098cfd5192bb8693480f5bf2f | [] | no_license | lilrooness/summonerstable | 1ff0be4d80232b57114150575c8a00eb03d1469f | df22ea91ad2a72defd6c7add9293c1da52329ef3 | refs/heads/master | 2022-09-21T08:27:46.501858 | 2020-05-29T10:43:29 | 2020-05-29T10:43:29 | 262,747,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,638 | h | #pragma once
#include <map>
#include <algorithm>
#include "game_structs.h"
#include "animation.h"
#include "sprite.h"
void showSpellPopup(Game* game, Spell& spell);
void createNewSpellPopup(Game* game, float x, float y, Spell& spell);
void hideSpellPopup(Game* game, const Spell& spell);
void castSpell(Game* game, Sp... | [
"lilrooness@users.noreply.github.com"
] | lilrooness@users.noreply.github.com |
be0f0f90cb7a2f0d214ec851c5fd154aa2ddb710 | fc056b2e63f559087240fed1a77461eb72b2bf8e | /src/server/gameserver/skill/Evade.h | 3de145c8242ef089614c13b8e007d0499fda4e3e | [] | no_license | opendarkeden/server | 0bd3c59b837b1bd6e8c52c32ed6199ceb9fbee38 | 3c2054f5d9e16196fc32db70b237141d4a9738d1 | refs/heads/master | 2023-02-18T20:21:30.398896 | 2023-02-15T16:42:07 | 2023-02-15T16:42:07 | 42,562,951 | 48 | 37 | null | 2023-02-15T16:42:10 | 2015-09-16T03:42:35 | C++ | UTF-8 | C++ | false | false | 980 | h | //////////////////////////////////////////////////////////////////////////////
// Filename : Evade.h
// Written By :
// Description :
//////////////////////////////////////////////////////////////////////////////
#ifndef __SKILL_EVADE_HANDLER_H__
#define __SKILL_EVADE_HANDLER_H__
#include "SkillHandler.h"
///... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
fa2629f42540d207f024eb93f3b56c31e456ff75 | e4437dd9409a63ab093ba01dfddd9d8a41665e5d | /src/render/tabs/visuals_tab.cpp | 3a62d2f8f77717fc34226f47e715c06270652f2b | [] | no_license | somewhatheadless/Sensum | 7a8b884e23d51d8c5b0cbf2ef39e4036c4b486c8 | 2de9bf722146e0ed7d7f419a331fc3cb8c26ed2f | refs/heads/master | 2020-11-28T18:36:40.952929 | 2019-12-23T21:20:57 | 2019-12-23T21:20:57 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 10,861 | cpp | #include "../render.h"
#include "../../globals.h"
#include "../../settings.h"
#include "../../helpers/imdraw.h"
#include "../../helpers/console.h"
#include "../..//features/features.h"
extern void bind_button(const char* eng, const char* rus, int& key);
extern bool hotkey(const char* label, int* k, const ImVec2& size_... | [
"44605473+martinjanas@users.noreply.github.com"
] | 44605473+martinjanas@users.noreply.github.com |
481b30704d4380c67999d525905305f8e21f5ee9 | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE762_Mismatched_Memory_Management_Routines/s01/CWE762_Mismatched_Memory_Management_Routines__delete_array_class_realloc_14.cpp | ad2f1b44927c5c420615a7fbb1a6643dd969974c | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,271 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_class_realloc_14.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-14.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Managemen... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
edbd8c980cae994126d21809d09bd71d028f26e5 | 0a85079f8ca7d385bd4da46ca92c10721df661dc | /1018.cpp | fc9312ee347cce92fff414824074c11b7b75030b | [] | no_license | Tiago-Santos-Andrade/uri | 45920edf5792846f958144d3c861b9950af55f3c | b9a27ac1853d372cc2b8df33b0a6de6ef5db7e4c | refs/heads/master | 2022-12-24T05:19:38.324529 | 2020-10-04T14:16:48 | 2020-10-04T14:16:48 | 290,349,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include <stdio.h>
int main(void){
int valori, valor, notas[7] = {100,50,20,10,5,2,1}, qtnotas[7], i;
scanf("%i", &valor);
valori = valor;
for (i = 0; i<7; i++){
qtnotas[i] = valor/notas[i];
valor = valor%notas[i];
}
printf("%i\n", valori);
for (i=0;i<7;i++){
printf("%i nota(s) de R$ %i,00\n", qtnotas[i],... | [
"67917889+Tiago-Santos-Andrade@users.noreply.github.com"
] | 67917889+Tiago-Santos-Andrade@users.noreply.github.com |
46f60ecab5a342ecddffb87df2e4a15204b98638 | bb5b3a13d1fc3cfd0787f49756b91280fc098fd6 | /algorithms/49-suffix_tree/main.cpp | 59b464f907d496c7b55ce5a486c1109054767b07 | [] | no_license | ThomasDetemmerman/C-Coding | 877e74983d602ee65fbc24a20f273800567c6865 | 1a1e4a14a78fbca89d1b834b0982d4c4a49a06b9 | refs/heads/master | 2020-07-31T15:06:45.189670 | 2019-07-29T08:34:22 | 2019-07-29T08:34:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <memory>
#include <iostream>
#include <vector>
#include <fstream>
#include <string>
#include <sstream>
using namespace std;
#include "suffix_tree.h"
int main(int argc, char** argv) {
Suffix_Tree suffix_tree;
suffix_tree.add("banana");
suffix_tree.dra... | [
"KennyBlanckaert@hotmail.com"
] | KennyBlanckaert@hotmail.com |
747d916561623b5787cbe96ffd2231dd6dc7acfa | 24843eb41aed8b95ef0d59c6678c88982a8e7e97 | /TPCSimulation/src/CreateTestMuons.cpp | bdaf9347523bec189066b1d0e4fe23c27168825d | [] | no_license | sbu-stuff/TPCGEMSim | f9bc663c9b7f3efcca6aa3c87a5db36f64094b22 | 9a3a2572abe35a81ec633e1be0e9fe74d32dfc67 | refs/heads/master | 2020-05-29T15:41:09.417803 | 2017-04-25T19:51:23 | 2017-04-25T19:51:23 | 63,812,397 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,251 | cpp | #include <TROOT.h>
#include <TFile.h>
#include <TTree.h>
#include <stdlib.h>
#include <iostream>
#include <TParticle.h>
#include <math.h>
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
#include <string>
#define MASS_M 0.10566 //muon 13
#define MASS_Pi 0.13957 //pion -211
#define MASS_K 0.493677 //kaon- -321
#de... | [
"dehmelt.sbu@gmail.com"
] | dehmelt.sbu@gmail.com |
23dbd64a1ff06b12df321d6b11843253bb976dc6 | b5ed64237b9de164789a86e31cdbf9509879d344 | /v0/0015.cpp | 21f50c41d25fba3ab2a4ecdb9791c079e4c17bb7 | [] | no_license | giwa/aoj | cbf9a5bc37f81bbc6ad5180d83a495ef1e3a773d | f780f27cb8b0574275daf819020bc35f95afd671 | refs/heads/master | 2021-01-19T08:42:14.793830 | 2015-03-17T10:29:30 | 2015-03-17T10:29:30 | 31,995,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 903 | cpp | #include <iostream>
#include <algorithm>
#include <string>
using namespace std;
string add(string a, string b){
// cout << a << endl;
// cout << b << endl;
while(a.size() < b.size()) a.insert(0, "0");
while(b.size() < a.size()) b.insert(0, "0");
// cout << a << endl;
// cout << b << endl;
int ... | [
"ugw.gi.world@gmail.com"
] | ugw.gi.world@gmail.com |
bd14ba2eb1d1f1fcac08f6e11e5252d0a34c30d8 | 77f308bfc4a2f4515fa9a0b4114691352280ab9b | /LAB7/inc/Node.hh | 12165a56365dc8687e4b629d015110d2db112e75 | [] | no_license | 226319/PAMSI | 202ddf18e16c8b551f965b1d44bddd3422aed609 | 540a2b54526670063e43eb0d7dead0ac62d9e909 | refs/heads/master | 2021-01-22T19:36:38.456699 | 2017-05-29T19:43:23 | 2017-05-29T19:43:23 | 85,222,533 | 0 | 1 | null | 2017-04-04T18:11:47 | 2017-03-16T17:14:45 | C++ | UTF-8 | C++ | false | false | 451 | hh | #ifndef _NODE_HH
#define _NODE_HH
#include "Component.hh"
class Node {
public:
virtual ~Node(){} ;
virtual Node* const getLeft() const {} ;
virtual void setLeft(Node*&) {};
virtual Node* const getRight() const {};
virtual void setRight(Node*&){};
virtual Node* const getParent() {};
virtual void... | [
"226319@student.pwr.wroc.pl"
] | 226319@student.pwr.wroc.pl |
2fe62a9f7e81de193ce4edd658d0984112985bc7 | 2bfd8c9d984c94830ba1fa7f5088083f8518f6ba | /src/test/coins_tests.cpp | 0ebad52a146ccd6420ac38083dd2da23892cf2b4 | [
"MIT"
] | permissive | SenatorJohnMcLaughlin/TestCoin | 8f493d9f07246b21b98d3c19f5f303417fafd166 | 732b4ece3aaf489709ef9231d845d3735bb8dab3 | refs/heads/master | 2021-04-14T09:52:46.878135 | 2020-03-22T20:50:35 | 2020-03-22T20:50:35 | 249,224,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,440 | cpp | // Copyright (c) 2014-2016 The Testcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "coins.h"
#include "script/standard.h"
#include "uint256.h"
#include "undo.h"
#include "utilstrencodings.h"
#includ... | [
"josef@bctest.fritz.box"
] | josef@bctest.fritz.box |
cadea9d2b63dd7d8313f3c83b7e46e99ee945337 | 2c48057473142f2bcaf88bcdbf1e868241a47bbd | /opengl-tutorial-qt/00_opengl_window/window.cpp | 2b311eaa3f53a0e9ec95dc1a49bc9965dd3d61b7 | [] | no_license | maze516/opengl-playground | 96939e6b1ac97094de0bec5fad1679d422edaacd | 37ed875d6e0134512c4db6d3cf95e1e27a46c8e4 | refs/heads/master | 2021-05-26T03:34:31.530169 | 2018-05-13T08:58:11 | 2018-05-13T08:58:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cpp | #include "window.h"
#include <QDebug>
Window::Window(QSurfaceFormat::RenderableType type,
int majorVersion, int minorVersion) : QOpenGLWindow{}
{
/*
* Set OpenGL version information.
* It has to be done before calling show()
*/
QSurfaceFormat format;
format.setProfile(QSurfaceFormat... | [
"williamspinelli@users.noreply.github.com"
] | williamspinelli@users.noreply.github.com |
50a3c3e307c6497628e6a92c9894b95c4e77b5d3 | e44753ff66856e24a5d189a74dfff365e43cf8c4 | /src/extractor/MetricHistogram.cpp | 7a8d041a496b81dcd530237c850d1f849d9b58ed | [
"MIT"
] | permissive | pedro-stanaka/PgAR-tree | 7ca0c9ce338b50b504da982b3ed81a724b37c721 | 39b5ac3fd267f29151f254d4ef30f125c5c341ea | refs/heads/master | 2020-05-18T19:03:56.470777 | 2013-10-24T13:26:46 | 2013-10-24T13:26:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,564 | cpp | #include <gbdi/extractor/MetricHistogram.hpp>
/**
* Constructor.
*/
UnitNondimensional::UnitNondimensional(){
setGray(0);
setValue(0);
}
/**
* Destructor.
*/
UnitNondimensional::~UnitNondimensional(){
}
/**
* Sets a gray value.
*
* @param gray The gray value what will be set.
*/
void... | [
"pedro.tanaka@sinetic.com.br"
] | pedro.tanaka@sinetic.com.br |
48fa9b6143005f63c775f9587a9738470e5b342f | 5bb55ef3638f8f5609e07f689c1087d8c28e4f00 | /3257孪生兄弟,c.cpp | f38193955b38f6c4c350a6dd228b4e8ba9664bc9 | [] | no_license | xihaban/C- | 6bb11e1ac1d2965cf1c093cd5a8d4d195ea2d108 | 76b3c824e9ec288e6ce321b30e4b70f178f6c4b5 | refs/heads/master | 2020-03-28T14:27:13.119766 | 2018-09-12T13:49:03 | 2018-09-12T13:49:03 | 148,487,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | #include<stdio.h>
main()
{
double a,b;
while(scanf("%lf %lf",&a,&b)!='\n'){
if(a==b)
printf("YES\n");
else printf("NO\n");
}
} | [
"xihakeban@163.com"
] | xihakeban@163.com |
d40957dcfb9e81aa683f6a7ff635f613834a0276 | ac95321159dd14d342e2a83e15ce136e859b8906 | /test/core/api/client/http_client.hpp | 0b3d2172825a5c95bc86741de7e100921e235026 | [
"Apache-2.0"
] | permissive | blockspacer/kagome | 63003fc497c50da8e329c9e9029a08487ad7b6ab | 693c981dab965fa1d4733ed285a2561e2d507abe | refs/heads/master | 2022-07-16T16:14:59.588847 | 2020-05-13T11:07:06 | 2020-05-13T11:07:06 | 263,882,710 | 0 | 1 | Apache-2.0 | 2020-05-14T10:20:32 | 2020-05-14T10:20:31 | null | UTF-8 | C++ | false | false | 2,587 | hpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_TEST_CORE_API_CLIENT_HTTP_CLIENT_HPP
#define KAGOME_TEST_CORE_API_CLIENT_HTTP_CLIENT_HPP
#include <boost/asio.hpp>
#include <boost/beast.hpp>
#include "outcome/outcome.hpp"
namespace test {
enum cla... | [
"noreply@github.com"
] | blockspacer.noreply@github.com |
340b7afd07f2c6b15e91afabf6ad46264336ec34 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/3b/ee15dde88f12c9/main.cpp | 56a54137b498437603b45cea0ea299d344bb9b7f | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,955 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <unordered_map>
#define ALPHA "Alpha"
#define BETA "Beta"
#define GAMMA "Gamma"
struct EnumValue
{
EnumValue(std::string _name): name(std::move(_name)), id(gid){++gid;}
std::string name;
int id;
// also provide implicit conversion o... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
ad9ce84dcfb1abe0d13d2f04865e9f35a5d7654e | caa3ab0c914f3197349549c44595b79ccae7b104 | /Enity/Entity.cpp | aa483946c2fdfa3be1802540f6509aad9257ed9e | [] | no_license | Persovt/NECROPHIS | ed282ed931f7f6052e34d5174f5f089add5631e5 | bf0143662f794e95ec168afd6770952494ff53de | refs/heads/master | 2023-05-01T15:39:26.834440 | 2021-05-01T07:17:52 | 2021-05-01T07:17:52 | 363,346,813 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,446 | cpp | #include "Entity.h"
namespace Engine
{
char* CBaseEntity::GetPlayerName()
{
if (IsPlayer())
{
static PlayerInfo Info;
if (Interfaces::Engine()->GetPlayerInfo(EntIndex(), &Info))
return Info.m_szPlayerName;
}
return "";
}
void CBaseEntity::SetEyeAngles(Vector angles)
{
*reinterpret_cast<Vect... | [
"mza200339@gmail.com"
] | mza200339@gmail.com |
71f7edde5fad370e9c5ea587497a90de4ccd7159 | 526e72ebf67f34ef6631c904436e28c0fee52ef2 | /st/SunrinStone/SpriteManager.cpp | ffdc21c5d9936346450e5c2c7088314d3c5113ad | [] | no_license | willtriti03/sunrinStone | e503d8fe9a5ddaebb89a1e11742b2ab0b9f8e259 | 6a44593c825bd2c5d24bf1ec6a98241c1f8b1d67 | refs/heads/master | 2021-01-22T05:54:00.404759 | 2017-05-26T11:29:55 | 2017-05-26T11:29:55 | 92,504,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | #include "stdafx.h"
#include "SpriteManager.h"
#include "Application.h"
SpriteManager::SpriteManager() : m_pSprite(NULL) {}
SpriteManager::~SpriteManager() {}
LPD3DXSPRITE SpriteManager::Sprite() {
return m_pSprite;
}
void SpriteManager::Initialize() {
D3DXCreateSprite(GameApp->GetDevice(), &m_pSprite);
}
void Sprit... | [
"willtriti03@naver.com"
] | willtriti03@naver.com |
295bf6bbb4a61cbc7cc6ed3ed4f80f42c325b271 | ad21749688f601f41794041b5108944290f97400 | /TUGAS 1. LUAS LINGKARAN.cpp | a5db1f648903f4dc52aa6e08d2332821278ec467 | [] | no_license | ekayuliaa11/luas-lingkaran | 8c8eaff9dc62f7c7c8f793825929aa0f097285dd | 6e1db482909083d50055994617858a26445a868c | refs/heads/master | 2020-04-11T17:31:57.450669 | 2019-01-02T15:32:33 | 2019-01-02T15:32:33 | 161,964,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | #include <iostream>
using namespace std;
int main()
{
int r;
float phi=3.14,luas;
cout<<"masukan jari jari lingkaran:";
cin>>r;
luas=phi*r*r;
cout<<"luas lingkaran adalah "<<luas;
return 0;
}
| [
"noreply@github.com"
] | ekayuliaa11.noreply@github.com |
9a13e04d58e68468ad1eb08968422523b8f86275 | 544206531f578e0502e50d798d73be3dd7e1a919 | /字符串/后缀数组/[JSOI2007]字符加密.cpp | a46b48e0d6821cd755d4df9a18cafe7043ae8061 | [] | no_license | Wankupi/cpp | 3d0e831826ad6a2ba674427764fcf688cbc00431 | ac9d6fe75fe876fdd03d21510415ebb0de0dd463 | refs/heads/master | 2023-04-05T22:40:15.960734 | 2023-03-31T12:21:13 | 2023-03-31T12:21:13 | 217,510,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
const int maxn = 200007;
int n = 0, N = 0, m = 0;
char s[200007];
int sa[maxn], A[maxn], B[maxn], t[maxn];
int *rank = A, *tp = B;
inline void Qsort() {
for (int i = 0; i <= m; ++i) t[i] = 0;
for (int i = 1; i <= N; ++i) ++t[rank[i]];
for (int i = 1; i <= m; ... | [
"2893353848@qq.com"
] | 2893353848@qq.com |
f0b80002e3c3e24ab019dbe96ed1eac637238893 | 060339a0c7a5b102230684de9251df3c1d277c58 | /Buzz/Buzz.ino | 4d5803a1537dcd43a51a46dba9240c76d777df5a | [] | no_license | insoo223/ATTiny13A_Sketch | 40cb7b636af5f57b97c221d7a71d316a886271e6 | 193523f86d184d9fce7a45a110659ec00563e1b1 | refs/heads/master | 2020-04-14T03:34:59.777175 | 2017-07-21T02:50:18 | 2018-11-17T03:18:38 | 40,429,902 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 241 | ino |
// Target MCU: ATTiny13
#define buzzPin 4
void setup()
{
pinMode(buzzPin,OUTPUT);
}
void loop()
{
const byte DURATION = 200;
digitalWrite(buzzPin, HIGH);
delay(DURATION);
digitalWrite(buzzPin, LOW);
delay(DURATION);
}
| [
"insoo@Acer.(none)"
] | insoo@Acer.(none) |
ce7678e7235602efd047eaf5fb7c4a9c46e53760 | 59184be6febf1288dff0f3ca90c43f82c8c2afaf | /adt-tester/Queue.h | 436f44a1f1582b251301fca635c9e5b9949a7160 | [] | no_license | CodingBash/it279-stackqueue-assignment | 5e3ee829fd8d4d1aa74e81467b02e0c9d018fc5d | 48d574108b89de8143c0f1c93a4a8d7a490f7eaf | refs/heads/master | 2021-01-21T06:38:30.426748 | 2017-03-07T03:27:41 | 2017-03-07T03:27:41 | 82,867,324 | 1 | 1 | null | 2017-03-07T01:01:25 | 2017-02-23T00:42:09 | C++ | UTF-8 | C++ | false | false | 311 | h | #ifndef GUARD_QUEUE_H
#define GUARD_QUEUE_H
#include "NodeQueue.h"
#include <cstdlib>
#include <cstddef>
namespace QueueNS {
class Queue {
public:
QueueNS::Node* head;
std::size_t length;
void queue(QueueNS::NodeQueueData data);
QueueNS::NodeQueueData dequeue();
Queue();
~Queue();
};
}
#endif
| [
"bbecerr@outlook.com"
] | bbecerr@outlook.com |
9d62bf267a8cb89133e9ab9836ad9c543a41842d | f5ad0edb109ae8334406876408e8a9c874e0d616 | /src/scheduler.h | 194f93aa34585fb3acb3b8da65139e4a87976dbc | [
"MIT"
] | permissive | rhkdck1/RomanceCoin_1 | 2d41c07efe054f9b114dc20b5e047d48e236489d | f0deb06a1739770078a51ed153c6550506490196 | refs/heads/master | 2020-09-14T12:36:48.082891 | 2019-12-23T10:21:36 | 2019-12-23T10:21:36 | 223,129,383 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,526 | h | // Copyright (c) 2015-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ROMANCE_SCHEDULER_H
#define ROMANCE_SCHEDULER_H
//
// NOTE:
// boost::thread / boost::chrono should be ported to std... | [
"rhkdck1@gmail.com"
] | rhkdck1@gmail.com |
4277ea88535823e663ae954bb42a43ee5e1af4eb | 1f2745a8176a635415fefb882f3e452960f04e57 | /hw2-meshedit/src/student_code.cpp | efdb1cb92f14fdfa0760396cbc9f06a5054aa860 | [] | no_license | migofan0723/computer-graphics | 9c4d2696bf9dc738996e17cd19d5edf78b769bc4 | b59a2facb0cde2bc6c664aee1f35a771a6347570 | refs/heads/master | 2022-03-03T02:50:53.658798 | 2019-05-25T02:02:44 | 2019-05-25T02:02:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,829 | cpp | #include "student_code.h"
#include "mutablePriorityQueue.h"
using namespace std;
namespace CGL
{
template <class T>
inline T lerp(const T &u, const T &v, double t)
{
return (1 - t) * u + t * v;
}
void BezierCurve::evaluateStep()
{
// TODO Part 1.
// Perform one step of the Bezier curve's ev... | [
"stevenbirdbrown1998@gmail.com"
] | stevenbirdbrown1998@gmail.com |
e844a7bd3af723ef05523a404adbc3a2b195767d | 240c347a638ea456697dcacb7c30de6b9bd41559 | /Algorithm/Algorithm/7576.cpp | e85f1063519d0a09006cdd84234b2bbc457052aa | [] | no_license | yunn0504/ycyang | 96df83d430c9e6f5a1135b395e81e601246af47a | bb1e41da0b3de0dc8394c83bf2a0bc9c02dc6779 | refs/heads/master | 2021-09-03T18:48:39.644757 | 2018-01-11T07:25:55 | 2018-01-11T07:25:55 | 88,636,292 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,632 | cpp | #include<cstdio>
#include<queue>
#include<vector>
using namespace std;
int graph[1002][1002];
int visit[1002][1002];
int find1[1002][1002];
int nx[4] = { -1,1,0,0 }; //상 하 좌 우
int ny[4] = { 0,0,-1,1 };
int run = 0;
int count1 = 0;
typedef struct xy
{
int x;
int y;
}xy;
queue<xy> qu;
queue<xy> qu2;
int main()
{
#... | [
"yunn0504@gmail.com"
] | yunn0504@gmail.com |
dd8d6e81b43620b8fa0e742d45cfa9de3e393661 | 19eb97436a3be9642517ea9c4095fe337fd58a00 | /private/shell/ext/cscui/viewer/config.cpp | db0d8e2abec700321d0eae1e307e7af82a4b520f | [] | no_license | oturan-boga/Windows2000 | 7d258fd0f42a225c2be72f2b762d799bd488de58 | 8b449d6659840b6ba19465100d21ca07a0e07236 | refs/heads/main | 2023-04-09T23:13:21.992398 | 2021-04-22T11:46:21 | 2021-04-22T11:46:21 | 360,495,781 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,686 | cpp | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1997 - 1999
//
// File: config.cpp
//
//--------------------------------------------------------------------------
#include "pch.h"
#pragma hdrstop
#inc... | [
"mehmetyilmaz3371@gmail.com"
] | mehmetyilmaz3371@gmail.com |
18f242b08e81aee686f4fab7792fae017cb835be | 82a3e40b75d0cc4250998702c2bff873590d92db | /src/data/criterion.cpp | 5dca6d2d7d91fd5d670c8a623c53ff3011ed5db5 | [] | no_license | PavelAmialiushka/Aera.demo | 12c7981d0883e8b832c2f3e72fee14234cdeb3b0 | 4beeb315a99da6f90a87ba0bb5b3dffa6c52bd2d | refs/heads/master | 2021-10-11T14:41:00.180456 | 2019-01-27T13:38:21 | 2019-01-27T13:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,088 | cpp | //////////////////////////////////////////////////////////////////////////
//
// data library
//
// Written by Pavel Amialiushka
// No commercial use permited.
//
//////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "criterion.h"
#include <boost/tokenizer.hpp>
#inclu... | [
"Amialiushka@gmail.com"
] | Amialiushka@gmail.com |
8c62328f6caaac35fbe074691c4212d845e41e9c | 819506e59300756d657a328ce9418825eeb2c9cc | /codeforces/364/a.cpp | 83d1fcb1389002cbdb05386a2131fb402e7a0800 | [] | no_license | zerolxf/zero | 6a996c609e2863503b963d6798534c78b3c9847c | d8c73a1cc00f8a94c436dc2a40c814c63f9fa132 | refs/heads/master | 2021-06-27T04:13:00.721188 | 2020-10-08T07:45:46 | 2020-10-08T07:45:46 | 48,839,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | cpp | /*************************************************************************
> File Name: a.cpp
> Author: liangxianfeng
> Mail: liangxianfeng96@qq.com
> Created Time: 2016年07月23日 星期六 00时35分08秒
************************************************************************/
#include<iostream>
#include<cstdio>
#include<cs... | [
"liangxianfeng96@qq.com"
] | liangxianfeng96@qq.com |
ccf5c21aac9a0c82ff174b61b83e5ffe7619103d | 045116f898baa6b278b5d1112d1ce1d739c87847 | /WS03/in_lab/Mark.cpp | 5479b221d9265ba17af42e81fac15351c725fade | [] | no_license | nathanolah/OOP244_Repo | 73e44d45ed55f7a52c331377af97e1250b415732 | 02edfc9e1e63578ba37cf9024cf98c44a5d3e082 | refs/heads/master | 2022-06-05T08:10:23.877703 | 2020-01-10T18:01:51 | 2020-01-10T18:01:51 | 233,087,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,583 | cpp | // Nathan Olah
// Student Number: 124723198
// Email: nolah@myseneca.ca
// September 24, 2019
// Mark.cpp implementation file contains the necessary function definitions
// needed for the input and output of validated values used for the Mark module.
#include <iostream> // Includes standard input and output stream
us... | [
"nolah@myseneca.ca"
] | nolah@myseneca.ca |
7e1a5b178739fc0402f9395a4434e0271bf5c95d | 2220908fbae36a53cc64c942388f83a612c0a2b8 | /DisPG/DisPGLoader/symbolManagement.cpp | 07ce84d4cb58d52e253b069942b79d5a49251834 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Eva1216/PgResarch | e1288992b6d38ae42957144fbbfa45c3e57c7807 | 6f359529f8830a73666fbfeb42c8d46c6417d3ea | refs/heads/master | 2023-05-28T10:24:38.642301 | 2016-10-04T16:11:26 | 2016-10-04T16:11:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,530 | cpp | #include "stdafx.h"
#include "symbolManagement.h"
// C/C++ standard headers
// Other external headers
// Windows headers
// Original headers
#include "util.h"
#include "SymbolResolver.h"
#include "SymbolAddressDeriver.h"
////////////////////////////////////////////////////////////////////////////////
//
// macro uti... | [
"tanda.sat@gmail.com"
] | tanda.sat@gmail.com |
d81a120ae2d7f6188e0d8448054fa422dd81e17f | 23864fb38e21f5a24533823722adeba835434fac | /frameworks/include/object/object_id.h | 8e802ea485b8d5ffff0e17a7bcfa43dd87b1dc17 | [
"Apache-2.0"
] | permissive | dawmlight/distributeddatamgr_objectstore | d69e350ff880da10f911c3f926b19f439d5b7b6e | d0ae9988a9e88581123b5d6ea62dcedcb9609f85 | refs/heads/master | 2023-07-27T23:42:35.336970 | 2021-09-13T01:57:06 | 2021-09-13T01:57:06 | 406,237,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | h | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"liuxin283@huawei.com"
] | liuxin283@huawei.com |
a4a80bd83ba733e184d111cc2ed57d8ab24862ab | debe1c0fbb03a88da943fcdfd7661dd31b756cfc | /src/optimizers/optimizerSet/cplex/constraints/regulation/RampConstraintReg.cpp | 1112ee9c925218bcfda0cec400b1834c22691b3f | [] | no_license | pnnl/eom | 93e2396aad4df8653bec1db3eed705e036984bbc | 9ec5eb8ab050b755898d06760f918f649ab85db5 | refs/heads/master | 2021-08-08T04:51:15.798420 | 2021-06-29T18:19:50 | 2021-06-29T18:19:50 | 137,411,396 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,842 | cpp | /* ***************************************************************************
* Author : Kevin Glass
* Date : Jul 12, 2010
* File : ReserveConstraint.cpp
* Project : rim
*
*
* Contents :
*
* Assumptions :
*
* -------------------------------------------------------------------------... | [
"xke@pnnl.gov"
] | xke@pnnl.gov |
fd105289427dd1837175c280721ad24ae87aa254 | 3dcef279dc29549722df6f5a1fc7ba657dabc3ef | /cpp/leetcode_100.cc | 8f846327f779a6de6dd1cf9cc50f19065f499316 | [] | no_license | MirrorrorriN/leetcode | 043066b71ff7e74b142525954601be7f2d933f98 | 983a0e0a94d1078bed52e85db5e6c5e3746cc3b2 | refs/heads/master | 2022-04-21T17:03:00.675472 | 2020-04-15T05:58:58 | 2020-04-15T05:58:58 | 58,693,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | cc | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
bool isSameTree(TreeNode* p, TreeNode* q) {
stack<TreeNode*> stack_p;
stack<Tre... | [
"somunsfool@163.com"
] | somunsfool@163.com |
a7d92acb57df7c154a63e7dc33a888ff8a03ae91 | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/icosa/inst/testfiles/EvenInterpolation_/libFuzzer_EvenInterpolation_/EvenInterpolation__DeepState_TestHarness.cpp | 04004f885e582ecafa381ad298289b4f5f68b106 | [] | no_license | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,059 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// EvenInterpolation__DeepState_TestHarness_generation.cpp and EvenInterpolation__DeepState_TestHarness_checks.cpp
#include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepSt... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
d8c2e3c47bf228cdf76033e3a2f0bf656f0f1939 | 09f872ea3be98ddceb4106c48e3169a3acb7a418 | /src/Zlang/zsharp/AST/AstVariable.h | 2dbcc8c9b04a067bc6f165c7ea0bd3a83586c598 | [] | no_license | obiwanjacobi/Zlang | ce51c3e5cdfcde13510a23b862519ea7947617e1 | c9dea8b6a3dc6fd9bb6a556cdf515413d6e299dc | refs/heads/master | 2021-07-15T17:48:36.377567 | 2020-10-11T15:13:43 | 2020-10-11T15:13:43 | 216,856,286 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | h | #pragma once
#include "AstNode.h"
#include "AstCodeBlock.h"
#include "AstIdentifier.h"
#include "AstType.h"
#include "../grammar/parser/zsharp_parserParser.h"
class AstVariable : public AstCodeBlockItem, public AstIdentifierSite
{
public:
bool SetIdentifier(std::shared_ptr<AstIdentifier> identifier) override {
... | [
"marc.jacobi@macaw.nl"
] | marc.jacobi@macaw.nl |
192077e80d5eeb0288eb1b8b443ba390df4c5e0d | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/net/ias/providers/ntuser/eap/eaptype.h | 988cfbd4dca1dc124c53cbf67236e92cf4052412 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | h | ///////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1998, Microsoft Corp. All rights reserved.
//
// FILE
//
// EAPType.h
//
// SYNOPSIS
//
// This file describes the class EAPType.
//
// MODIFICATION HISTORY
//
// 01/15/1998 Original version.
/... | [
"112426112@qq.com"
] | 112426112@qq.com |
66e36ba5aba6ddba6d5953b3cff1a6eafe1c4036 | ffa30f1f769e4d7ac0685fd4405dcdf928824c14 | /프로그래머스/Level2/가장큰정사각형찾기.cpp | daf266f4298ec68e613bda8fc1c48b48b234bf90 | [] | no_license | wykim111/algorithm | 4c9b44f5d9657d6d58a817e2a4d14d4a1a9ff7a4 | ef1eef6adebf8df25bb7db8b97670751c8ec3c36 | refs/heads/master | 2023-08-17T23:50:49.453775 | 2023-08-10T14:44:36 | 2023-08-10T14:44:36 | 217,846,215 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | cpp | /*
기준점을 기준으로 왼쪽,위쪽,좌상에 1이 있는지 비교
모두 존재하면 정사각형이므로 기준점 위치 +1 씩 업데이트
단, 왼쪽, 위쪽, 좌상의 데이터 중 값이 다르면,셋 중 최소 값 +1로 업데이트
-> 정사각형이므로 사각형이 1이면 길이가 1이고 2이면 길이가 2인 정사각형 의미
*/
#include <iostream>
#include<vector>
using namespace std;
int solution(vector<vector<int>> board)
{
int answer ... | [
"noreply@github.com"
] | wykim111.noreply@github.com |
c9fb1faec46fc08730ded455871821471fc417b7 | 2798559978124077f6222453839639d2215e0306 | /parfullcms/ins/geant4-10-00-ref-00/examples/extended/electromagnetic/TestEm6/src/DetectorConstruction.cc | 604111b9f74c71a5c62b566262c1e0c371760731 | [
"LicenseRef-scancode-unknown-license-reference",
"CC-BY-4.0"
] | permissive | gpestana/thesis | 015f750ad64e6b5b3170ba013bf55b194327eb23 | 186f81e2a9650e816806d4725d281f5971248b1f | refs/heads/master | 2020-12-29T00:59:41.863202 | 2016-07-09T11:54:57 | 2016-07-09T11:54:57 | 16,997,962 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,561 | cc | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"g6pestana@gmail.com"
] | g6pestana@gmail.com |
bd6cf3ee6b63978d2ba02f98150b36b802531e6d | 1ec55de30cbb2abdbaed005bc756b37eafcbd467 | /Nacro/SDK/FN_Hospital_MountedTV_classes.hpp | deb2c52c27e3bb0543966c42c9096ddf74746e0b | [
"BSD-2-Clause"
] | permissive | GDBOI101/Nacro | 6e91dc63af27eaddd299b25351c82e4729013b0b | eebabf662bbce6d5af41820ea0342d3567a0aecc | refs/heads/master | 2023-07-01T04:55:08.740931 | 2021-08-09T13:52:43 | 2021-08-09T13:52:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | hpp | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Hospital_MountedTV.Hospi... | [
"68667854+Pakchunk@users.noreply.github.com"
] | 68667854+Pakchunk@users.noreply.github.com |
83c4b3da9c7cfcb6ecf1e073437c9f9c6c51c8e2 | a2e917510007f3dae45691de800017f839a0cf55 | /VirtualCity/VirtualCity/Robot_Arm.cpp | 1a06464026c4d764cb17afbb73155440fb1518ee | [] | no_license | TenYearsADream/2016_ComputerGraph | ab0c21539a89c8fbf1984a396abd15d27a2839a7 | 6f9978745d4a8d651a6a0549356f0bea36257626 | refs/heads/master | 2020-07-16T15:12:37.427272 | 2016-07-20T06:43:00 | 2016-07-20T06:43:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,387 | cpp | #include "stdafx.h"
#include "Robot_Arm.h"
/*
pi = 3.1415926
1 degree = 2*pi/360 = 0.017445 radian
#define degree 0.017445
*/
void DrawPosition(void) {
Robot_Position.Base_DP_X1 = Robot_Arm.Base_X / My_Ortho.Value;
Robot_Position.Base_DP_Y1 = Robot_Arm.Base_Y / My_Ortho.Value;
Robot_Position.Link1_RP_Y1 = Robot_... | [
"BowenHsu"
] | BowenHsu |
c29d2134b47fe52aec157d0a413f74dc7cf09283 | cdea61d0902389baf23ad46e269adaeb88f3f9a2 | /defineParameters.cpp | a1bfdd1306bb2eb070424c71eecd20a6636512aa | [] | no_license | roelkers/chrono-platform-model | 737546c5a5adc29f0eb13dba24c91346808d8774 | d2d6cde4a7e09645b413cae57781de712c115693 | refs/heads/master | 2021-05-05T01:03:30.322944 | 2018-04-06T11:33:16 | 2018-04-06T11:33:16 | 119,533,402 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include "params.h"
#include "defineParameters.h"
#include "chrono/core/ChLog.h"
params defineParameters(){
params p;
p.towerHeight=100;
p.towerRadius=5;
p.towerDensity=600;
p.towerInitPos = ChVector<>(0, 0, 0);
p.towerInitDir = ChVector<>(0, 0, 1);
p.mooringLineNr = 3;
p.mooringDiameter = 0.15;
p... | [
"rufus.oelkers@gmail.com"
] | rufus.oelkers@gmail.com |
e83b1a271229db4919eabbbbbec8bb06b0db16d3 | c68f791005359cfec81af712aae0276c70b512b0 | /Avito Code Challenge 2018/c.cpp | 2a232d864201193446c7e736ac540658c20495a2 | [] | no_license | luqmanarifin/cp | 83b3435ba2fdd7e4a9db33ab47c409adb088eb90 | 08c2d6b6dd8c4eb80278ec34dc64fd4db5878f9f | refs/heads/master | 2022-10-16T14:30:09.683632 | 2022-10-08T20:35:42 | 2022-10-08T20:35:42 | 51,346,488 | 106 | 46 | null | 2017-04-16T11:06:18 | 2016-02-09T04:26:58 | C++ | UTF-8 | C++ | false | false | 1,053 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 5;
vector<int> edge[N];
vector<int> leaf;
// 1 error, 0 oke
bool dfs(int now, int bef) {
//printf("%d %d\n", now, bef);
int child = 0;
for (auto it : edge[now]) {
if (it == bef) continue;
child++;
if (dfs(it, now)) return 1;
}
i... | [
"l.arifin.siswanto@gmail.com"
] | l.arifin.siswanto@gmail.com |
fd655c347c9fa30666bc4d35a7847b0170e69224 | 8c234fb2a81e3596a01779b5ecb16be1051a5606 | /NimCefExample/NimCefExample.cpp | 502c3e54d7c3cbc21a1c8e9ab670b737e8c18e98 | [] | no_license | ljb200788/NimCefExample | 07ea19a0a0ff2bfe0cb0b0c6c990356a7e7cf44c | f09185efcfe67a90717d8d2dc90d7d5481761544 | refs/heads/master | 2022-04-16T22:19:12.507652 | 2020-04-16T10:13:06 | 2020-04-16T10:13:06 | 256,176,263 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 300 | cpp | // NimCefExample.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <iostream>
#include <windows.h>
using namespace std;
int main()
{
ShowWindow(GetConsoleWindow(), SW_HIDE);
Sleep(9000);
MessageBox(NULL, _T("退出了"), _T("你好!"), MB_OK);
return 0;
}
| [
"54976028+ljb200788@users.noreply.github.com"
] | 54976028+ljb200788@users.noreply.github.com |
bc7e014821ab6c56f4513ebb8106e7b22569d226 | 5218656a16189e979d5b772dda679cbc39c194fc | /arrays/arrays-pointer.cpp | 961b1fd2b680dd830d83d3ef2c165f6f34f73bf8 | [] | no_license | wangqi0314/c.test | 9e92f944f864bd5d962a4869580cd8c4369f7957 | 42d62dab9e47fa30661eababa3ed0366dbf63a55 | refs/heads/master | 2020-04-20T11:11:57.963211 | 2019-02-02T08:00:52 | 2019-02-02T08:00:52 | 168,809,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,772 | cpp | #include <iostream>
using namespace std;
/**
* C++ 指向数组的指针
*
* 数组名是一个指向数组中第一个元素的常量指针
*
* 声明 : double balance[50]; double *p;
* p = balance; //这里的地址符号 '&' 可以省略,因为,数组变量名默认就是第一个元素的地址
* *(p + i) ; *(balance + i); //这两种表示方式,是相同的结果, 原理就是在指针的上一个位置加一;
*
*/
int main ()
{
// 带有 5 个元素的整型数组
dou... | [
"qi.wang@riskeys.com"
] | qi.wang@riskeys.com |
1bf45fa83ee672263d3757d1531fc95600551837 | 7cc70bcb2b98b43e5d0b72e7d6c54e2170831506 | /app/src/mspsp-qt-app/settings.cpp | dcc5a48173aee2a358284f86d9490c86e25a3cd6 | [
"MIT"
] | permissive | semihyagcioglu/mspsp-qt | 9c9f6e389a3480c4e8062d579cf8fe15adb8cb34 | 11e0c800984ec74405aeed629d4e6ab6320b38be | refs/heads/master | 2021-03-12T23:42:43.512562 | 2014-07-19T16:32:37 | 2014-07-19T16:32:37 | 9,443,120 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,377 | cpp | #include "settings.h"
Settings::Settings()
{
SetToDefaultValues();
}
Settings::Settings(int maximumScheduleLimit, int populationSize)
{
this->MAXIMUM_SCHEDULE_LIMIT = maximumScheduleLimit;
this->POPULATION_SIZE = populationSize;
}
Settings::~Settings()
{
}
// Set to default values.
void Settings::SetTo... | [
"semihyagcioglu@yahoo.com"
] | semihyagcioglu@yahoo.com |
73a37081410afb9adb35289d9dafc6a96f638e6f | bf7fe9c190e45d80200706bf39359716ba41587d | /Particles/ParticleSystem.cpp | deed46214c34dab78d29e4c90ae0f23b9077dd06 | [] | no_license | VladislavKoleda/CosmicDefender--master | de1a34f9ebe0bff764152b94d170710642809a98 | 042097567af4a3e6eba147971ce067a3a982907a | refs/heads/master | 2020-11-23T21:04:17.911131 | 2019-12-13T10:53:43 | 2019-12-13T10:53:43 | 227,819,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | cpp | #include "ParticleSystem.h"
#include "Particle.h"
using namespace SFML::Graphics;
using namespace SFML::System;
namespace ComicDefender
{
const std::wstring ParticleSystem::CONTENT_DIRICTORY = L"..\\Content\\Textures\\";
ParticleSystem::ParticleSystem(unsigned int count)
{
_count = static_cast<int>(count);
m... | [
"koleda147@gmail.com"
] | koleda147@gmail.com |
1500010b7f33262325ccd36bb7ab5c1cacfcb8bf | 5d3329d6f1ffe4ca8052bb21107fb07d23e2876c | /ipt/year_2/semester_1/algorithms_and_structures/labs/lab5/main.cpp | f6100b71f78821b0d5b4feab20ad58ab5c2078a2 | [] | no_license | Nikita-L/Study | 8dae8935500ace6b44815199c47cee90cd1e3c36 | 581c1dda7711f113b0fc4ea0da73e5a3f510635a | refs/heads/master | 2021-09-13T12:46:21.127610 | 2018-02-06T10:33:57 | 2018-02-06T10:33:57 | 110,699,268 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,196 | cpp | #include "header.h"
void main ()
{
string answer;
usi i = 1;
TreeElement *tree = nullptr;
setlocale( LC_ALL,"Russian" );
mainMenu();
while (i)
{
cin >> answer;
if (answer == "1") // Заполнить/Создать дерево (только буквы)
{
treeGetElement(&tree);
mainMenu();
}
else if (answer =... | [
"lyovkin@i.ua"
] | lyovkin@i.ua |
031cfed8609ab878a847f56d16d96ade8705d3f9 | c8e10e56a64418a16d7a407c28d62c27309a0f19 | /PhoneBook/addrecord.h | 2b5cefe387c4bb8f7bdf7592ec8cfd6a848fa09d | [] | no_license | janindu2r/phonebook | 99eb21ed0349583909452acf3d60118af7a00522 | 917b2f9b320b69d475a674cf0626e07af1d80346 | refs/heads/master | 2021-01-10T10:32:36.567993 | 2015-12-19T05:54:50 | 2015-12-19T05:54:50 | 48,270,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | #ifndef ADDRECORD_H
#define ADDRECORD_H
#include <QDialog>
#include <contact.h>
namespace Ui {
class AddRecord;
}
class AddRecord : public QDialog
{
Q_OBJECT
public:
explicit AddRecord(QWidget *parent = nullptr);
~AddRecord();
Contact addContact();
private slots:
void on_buttonBox_accepted();
... | [
"janindu93@gmail.com"
] | janindu93@gmail.com |
b84c8086137fa333eded0f8952ca3f513853a3e9 | e5344eb6b99c3e1c990d26602c2b7eaee12ad630 | /Sort.cpp | 3c03c2411c481ba1096e0676ee3789a3e43791cc | [] | no_license | shhr3y/CPP | 4f25d3f11b5a6e9d6770ebffc9bb011f51259284 | 5d51e704c11022f8fdff1f95b5118dd35982189c | refs/heads/master | 2022-04-27T16:07:41.204753 | 2020-04-25T16:34:03 | 2020-04-25T16:34:03 | 258,823,321 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | #include<iostream>
using namespace std;
int partition(int *arr,int start,int end){//Quick Sort
int i;
int pivot = arr[end];
int partitionIndx = start;
for(i=start;i<end;i++){
if(arr[i]<=pivot){
swap(arr[i],arr[partitionIndx]);
partitionIndx++;
}
}
swap(arr[partitionIndx],arr[end]);
return partitionIn... | [
"shhr3y@github.com"
] | shhr3y@github.com |
a4987942e9a5b6b2b3f3a0702280b1500a2e4bf5 | 377f318ca087d80c3b7b4e9f4d0d09691f082d6e | /1030.cpp | b4d4c6322d15dc980d9b813dc24173972001133b | [] | no_license | BAKAMiku/ACMSolution | 543da5e15964f7b87a59a6b4f361183e07dc7b73 | 58113b0dd76d64730daafad6bdc8cc84c9948168 | refs/heads/master | 2021-09-01T02:19:51.208832 | 2017-12-24T10:55:50 | 2017-12-24T10:55:50 | 114,458,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | cpp | #include <stdio.h>
int main(){
int m,n,i;
scanf("%d %d",&m,&n);
i=(m>n?n:m);
while(!(m%i==0&&n%i==0)){
i--;
}
printf("%d",i);
} | [
"bakamiku@qq.com"
] | bakamiku@qq.com |
d653b3029c2ed13d0646a70c5ced6db6ed94be93 | 489ed209c5efcc05a00690d8a14aaa7c5b387eb2 | /unittest/ast_test.cc | b026472ead65161ad6d3674aa0f2da8e1e7be1d4 | [
"MIT"
] | permissive | suluke/jnsn | 0f79bd05c1cfba32759574a82a0afcf7c3874a6e | ada62d75ea0b7adaed735333c60e412495fd4b42 | refs/heads/master | 2021-09-03T01:48:01.228299 | 2018-01-04T16:57:19 | 2018-01-04T17:07:23 | 105,984,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,808 | cc | #include "jnsn/js/ast.h"
#include "jnsn/js/ast_analysis.h"
#include "jnsn/js/ast_walker.h"
#include "gtest/gtest.h"
#include <sstream>
using namespace jnsn;
struct name_checker : public const_ast_node_visitor<const char *> {
#define NODE(NAME, CHILD_NODES) \
const char... | [
"suluke93@gmail.com"
] | suluke93@gmail.com |
4f3080be805f6901ccf6d980e509e8cab46b573f | 7b382c6ee032d1ecd4618baf317f3f91d0ab52c2 | /dfs/sample-pseudocode-impl.cpp | 42b6eecc8c18498526a2d1492ec7abf9c1076567 | [] | no_license | shubhampathak09/codejam | 3a632cc67a3f81945f2b452eaf7807c0c8ef90bf | 2f497cfdb9d318dd6482236f93c5e14234bea613 | refs/heads/master | 2021-06-29T03:54:44.785611 | 2020-12-29T11:51:09 | 2020-12-29T11:51:09 | 147,506,585 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | ////
//1. make real face from portraits
//deep learning + ai
//search a lot
//class Solution {
//public:
// int orangesRotting(vector<vector<int>>& grid) {
// int M = grid.size();
// int N = grid[0].size();
// queue<pair<int, int>> q;
// bool hasrotten = 0;
// for (int i = 0; i <... | [
"shubham.pathak@rediffmail.com"
] | shubham.pathak@rediffmail.com |
add41ca144e758dc3c95c9e2f82ea7121ad41c39 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /ic8h18/0.008/HC6H12OOH-F | af0d77c797e406fea0b671abe599a15e766799b8 | [] | 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 | 843 | /*--------------------------------*- 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 | |
79d7bc75d281383ac88c67ac2d4a21c3062a3af9 | 7e6bdbc23b7bafe4bd21f48794696e65fdab0f1b | /practica4_Interaccion/face_tracker.h | 0de1fa78fe97cb08c41ae3bb053707681ea40c9a | [] | no_license | JulyMaker/RVI | be9b464edda588c8b271769f62ea4868fb001c52 | 1cb149a6fefb3d4e9cdc2c53153fe875e86c3828 | refs/heads/master | 2021-05-28T20:37:38.487658 | 2015-03-13T13:38:03 | 2015-03-13T13:38:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | h |
#include <opencv2/opencv.hpp>
#include <osg/PositionAttitudeTransform>
#include <OpenThreads/Thread>
#include <iostream>
using namespace cv;
class FaceTracker : public OpenThreads::Thread
{
public:
FaceTracker::FaceTracker();
virtual void run();
void getFace2DPosition(osg::Vec2d & face_2d_position);
... | [
"j.martinsae@alumnos.urjc.es"
] | j.martinsae@alumnos.urjc.es |
59c5209e856baf961ef114ba7b884f59206872e8 | 9f16ceb7f674234889f796a5b99d342f9edf3399 | /sldWindowMax.cpp | ccb89f2ffaae9b47d1c5a8d09d4f14df8cd5ccf7 | [] | no_license | Segfred/leetcode | 382297025b790790a38f079d5938e158c3bd8260 | b102c4d9abea9caad0b08b7df0d9e89bc6dbc115 | refs/heads/master | 2021-06-11T05:10:21.853331 | 2021-04-03T02:42:59 | 2021-04-03T02:42:59 | 87,050,255 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | class Solution {
public:
vector<int> maxSlidingWindow(vector<int>& nums, int k) {
if(nums.size()<k) return {};
vector<int> res{};
deque<int> deq{};
for(int i=0;i<(int)nums.size();++i){
if(!deq.empty()&&deq.back()==i-k) deq.pop_back();//也可以先判断是否窗口满了,这样不会超过size,并且更快
while(!deq.empty()&&nums[i]>=nums[deq.front()]) deq... | [
"noreply@github.com"
] | Segfred.noreply@github.com |
c7fc4795095f1e6bb39fc47ace18bba293c778bb | 5bc6877b9195cad9f0dce2d069e1e4ff81eeabc9 | /counted.cpp | c89ff43434045f05e075bed4462fa9df2eb55041 | [] | no_license | CamilaKhammatova/CPP-2019-2020-HW5 | 6c3d9bef1987969b0aeda906e4266fd22ecf6251 | 21fe516a251239f9d5bce4e24bb492ddef9d37b3 | refs/heads/master | 2020-09-23T20:38:30.320796 | 2019-12-08T19:17:14 | 2019-12-08T19:17:14 | 225,581,850 | 0 | 0 | null | 2019-12-03T09:34:27 | 2019-12-03T09:34:26 | null | UTF-8 | C++ | false | false | 176 | cpp | #include "counted.h"
int Counted::count_ = 0;
Counted::Counted()
{
count_++;
id_ = count_;
}
Counted::~Counted()
{
count_--;
}
int Counted::getId()
{
return id_;
}
| [
"alimacam207@gmail.com"
] | alimacam207@gmail.com |
c902facc008a2a07bcdd6cdc2ea655ce1b9e5ba7 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_20885.cpp | 707ac5236ac8ecb50ae2afee538ec708765a36b7 | [] | 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 | 411 | cpp | (UV_SUCCEEDED_WITHOUT_IOCP(success)) {
/* Process the req without IOCP. */
handle->reqs_pending++;
REGISTER_HANDLE_REQ(loop, handle, req);
uv_insert_pending_req(loop, (uv_req_t*)req);
} else if (UV_SUCCEEDED_WITH_IOCP(success)) {
/* The req will be processed with IOCP. */
handle->reqs_pending+... | [
"993273596@qq.com"
] | 993273596@qq.com |
2ae0ff81732f78b36d47fc3df47ec6f35fad1bd3 | 1d0b642683814c1369dbb0d84d897783d6c06f00 | /02-37.cpp | 8414f5bf10c8c0958b731faf9e0e3b577814bfe4 | [] | no_license | MisaghTavanpour/cppPrimer5thEdition | 78ed72382ef45a698de34e49220132884371b65a | a3516a9e126c84d2aead9205be77e51468da7a4d | refs/heads/main | 2023-01-29T20:34:21.137177 | 2020-12-08T03:29:46 | 2020-12-08T03:29:46 | 319,513,509 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | int main() {
int a = 3, b = 4;
decltype(a) c = a; // int c = a;
decltype(a = b) d = a; // int &d = a
}
| [
"misagh_tavanpour@yahoo.com"
] | misagh_tavanpour@yahoo.com |
8806ccb50c87813b03f9719a7ac8463674e0027c | 80609332c2eca5527a19337a463a6f5543c5f103 | /P3Lab7_HectorReyes/Persona.cpp | 6927ce8949a86892fe4bd37100f872bcf1d32bd8 | [] | no_license | OnasisReyes9/P3Lab7_HectorReyes | ff3f4f13add4c311370503012421855a32dff2a6 | fca03a52dfccb50701098c4b011e4ed3d584ae40 | refs/heads/master | 2023-01-18T19:00:27.596664 | 2020-11-28T00:30:15 | 2020-11-28T00:30:15 | 316,581,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Persona.cpp
* Author: Onasis Reyes
*
* Created on 27 de noviembre de 2020, 01:24 PM
*/
#include "Persona.h"
Pers... | [
"onasis660@unitec.com"
] | onasis660@unitec.com |
ea9679d5617568af440e354607944e3a081b0c8d | 885fc7aa7aa0e60a8e48e310fd6a5447970a08f3 | /CanvasEngine/Header Files/HelperClasses/Task.h | 2d4a4425b1336d2042d6263ce587706af4dde2ee | [] | no_license | JakeScrivener/CanvasDrawingApp | b46b19da7685f3ec05bcc147eba89fdf9c18aa29 | 310badbcf9925a9c84b2dab0f3c8cb16c7fbe8f6 | refs/heads/master | 2020-06-04T07:20:14.622130 | 2019-06-14T10:19:14 | 2019-06-14T10:19:14 | 191,921,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #pragma once
#include <functional>
#include <vector>
class Task
{
private:
std::function<void(void*, void*)> mFunction;
void* mData1;
void* mData2;
std::vector<int> mCores;
public:
Task(std::function<void(void*, void*)> pFunction, void* pData1, void* pData2, std::vector<int> pCores);
~Task();
std::function<vo... | [
"Jake.Scrivener55@gmail.com"
] | Jake.Scrivener55@gmail.com |
4730565361c0a63332b2e6631a3b07c649704f77 | c07cffaef958b70eded200b217e59ca2a3a815ac | /src/Vortex/Vortex.cpp | 883551ea94bdd60e559b9bfa4401ae3b9f8a0131 | [] | no_license | PietjeBell88/Vortex3D | a15eb97f7fe4e6ca27e7ddde75d9e8e69c1363ac | 5d45dec615be5a4eb894db0b5db795a6557bbc51 | refs/heads/master | 2021-01-20T00:50:29.745426 | 2009-11-29T15:17:22 | 2009-11-29T15:17:22 | 442,764 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,063 | cpp | // Copyright (c) 2009, Pietje Bell <pietjebell@ana-chan.com>
// 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
// no... | [
"pietjebell@ana-chan.com"
] | pietjebell@ana-chan.com |
1fffb09c62908166ff71e99e63d88cb0ef701795 | ee8d49632b7b50c146207f953484b658d938b528 | /compilador/compilador.h | e574f209798aa6f158807b1b11472bb601f80c64 | [] | no_license | DiegoMora2112/Compilador | 9396bb61f0d84bae4ad84869b8ac422aac8664d7 | ef1aba8157630557a1cd130618b3761e39b0ef5a | refs/heads/master | 2020-03-21T06:30:43.811950 | 2018-06-22T23:47:15 | 2018-06-22T23:47:15 | 138,225,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,813 | h | #include <string>
#include <fstream>
#include <iostream>
#include <stdlib.h>
#include <sstream>
#include <utility>
#include <map>
#include <iomanip>
#include <vector>
#include <cstring>
#include <stdio.h>
#include <ctype.h>
#include <map>
using namespace std;
typedef pair<string, int> clase;
class compilador{
pri... | [
"dmora@getinsoft.com"
] | dmora@getinsoft.com |
1f8edf1eb017079c774c537a594bb4dba85e32e7 | a9c268b492d91d3267683449f205b785785fcf28 | /GameEngine/Engine/Physics/Contacts.h | 4c5ca3539174078704745c9aa3d9a5a9d407631f | [] | no_license | oneillsimon/GameEngine_Old | 707698588c2108d82c8aaf50b775deacf8434cfa | 7dc3004fe34524067340f768afea65be99f588bf | refs/heads/master | 2021-05-28T14:17:01.750369 | 2015-03-02T15:27:50 | 2015-03-02T15:27:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,337 | h | #ifndef CONTACTS_H
#define CONTACTS_H
#include <math.h>
#include "../Core/Math3D.h"
#include "RigidBody.h"
class ContactResolver;
class Contact
{
private:
RigidBody* m_body[2];
float m_friction;
float m_restitution;
Vector3 m_contactPoint;
Vector3 m_contactNormal;
float m_penetration;
Matrix3 m_contactToWor... | [
"oneill.simon92@gmail.com"
] | oneill.simon92@gmail.com |
c977442263787625df23124e14568cd30073262b | 68cee2a8a71423edff7548a01c74c5debc87e51f | /HelloCpp/Classes/SceneNode.h | 336f5f6e563bd70061d7a61debcdf5778673c6ca | [] | no_license | wantnon/ripple-cpu | eaa17d7c4e55680c80c79d450ec727eb4f86fd68 | fd2d6d3c496bd6ffdf5237e98a2d095e091a311d | refs/heads/master | 2021-01-15T17:06:54.715729 | 2014-01-24T02:10:00 | 2014-01-24T02:10:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | h |
#ifndef HelloWorld_SceneNode_h
#define HelloWorld_SceneNode_h
#include "cocos2d.h"
#include "RippleModel.h"
#include "indexVBO.h"
using namespace cocos2d;
class SceneNode : public CCLayer{
public:
SceneNode() ;
virtual ~SceneNode() ;
bool initWithTexture(std::string textureName) ;
void draw() ;
void update(floa... | [
"350479720@qq.com"
] | 350479720@qq.com |
12f1ce850cc74124a04aa684bddaac08b95c5192 | f6ad1c5e9736c548ee8d41a7aca36b28888db74a | /gdgzez/yhx-lxl/day5/B/B.cpp | d69c38d9fc600f404ca7e955977ee144e8736174 | [] | no_license | cnyali-czy/code | 7fabf17711e1579969442888efe3af6fedf55469 | a86661dce437276979e8c83d8c97fb72579459dd | refs/heads/master | 2021-07-22T18:59:15.270296 | 2021-07-14T08:01:13 | 2021-07-14T08:01:13 | 122,709,732 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,013 | cpp | /*
Problem: B.cpp
Time: 2021-06-23 18:49
Author: CraZYali
E-Mail: yms-chenziyang@outlook.com
*/
#define REP(i, s, e) for (register int i(s), end_##i(e); i <= end_##i; i++)
#define DEP(i, s, e) for (register int i(s), end_##i(e); i >= end_##i; i--)
#define DEBUG fprintf(stderr, "Passing [%s] in Line %d\n", __FU... | [
"yms-chenziyang@outlook.com"
] | yms-chenziyang@outlook.com |
bd177ed9db46994b3b6d6f08a7cf91c391b17f90 | fc833788e798460d3fb153fbb150ea5263daf878 | /7568.cpp | 48f823ab78e5cd8c20622dc05d5167eb63249ba3 | [] | no_license | ydk1104/PS | a50afdc4dd15ad1def892368591d4bd1f84e9658 | 2c791b267777252ff4bf48a8f54c98bcdcd64af9 | refs/heads/master | 2021-07-18T08:19:34.671535 | 2020-09-02T17:45:59 | 2020-09-02T17:45:59 | 208,404,564 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | #include<stdio.h>
int main(void){
int N;
int w[51], h[51], ans[51] = {0, };
scanf("%d", &N);
for(int i=0; i<N; i++){
scanf("%d %d", &w[i], &h[i]);
}
for(int i=0; i<N; i++){
for(int j=0; j<N; j++){
if(w[i]<w[j] && h[i]<h[j]){
ans[i] ++;
}
}
printf("%d ", ans[i]+1);
}
}
| [
"ydk1104@naver.com"
] | ydk1104@naver.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.