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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10056277c671484918fd6c52c108309f6842a8bc | 96d5d9c30f1c519c128668daaab1b6a36254f927 | /apps/lulzyframe/ViewApp.cpp | 3d59a1eb7ff451ee0d14452c7aa579da0f09ff2f | [] | no_license | htruong/lulzyframe | cdecb8a98af2262c4986a14bdc749904cf3980b5 | ec3f839b671bf0cb951ac329c4d66ae3de50ec68 | refs/heads/master | 2021-01-19T05:53:32.411643 | 2011-09-07T21:19:02 | 2011-09-07T21:19:02 | 2,344,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,738 | cpp |
/* Copyright (c) 2010, Peter Barrett
**
** Permission to use, copy, modify, and/or distribute this software for
** any purpose with or without fee is hereby granted, provided that the
** above copyright notice and this permission notice appear in all copies.
**
** THE SOFTWARE IS PROVIDED "AS IS" AND THE A... | [
"htruong@tnhh.net"
] | htruong@tnhh.net |
079437e68eb5cb1f902535882a7987d684cbf032 | f6c595b7ec9100ee89d3b110bfd68044d098d74e | /TowerDefenseX/TowerDefense/RCGameScene.cpp | 6533687d7bd1afe9896db54744c82db1da7b8bfa | [] | no_license | xuzepei/game_practice | 89cd80d592890a13a6cd961feaf35edb42f6616e | dee39a0b05aff9c8c032de69bb6c2e48fd787f8a | refs/heads/master | 2020-12-24T14:18:40.830709 | 2014-06-14T10:01:28 | 2014-06-14T10:01:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,165 | cpp | //
// RCGameScene.cpp
// TowerDefense
//
// Created by xuzepei on 7/25/13.
//
//
#include "RCGameScene.h"
#include "RCTower.h"
#include "RCWaypoint.h"
#include "RCEnemy.h"
#include "SimpleAudioEngine.h"
using namespace CocosDenshion;
RCGameScene::RCGameScene(void)
{
_towerBaseArray = NULL;
_towers = NULL;... | [
"xuzepei@gmail.com"
] | xuzepei@gmail.com |
3e516683fa6b563cc42300c432c99fc0afd72cf2 | fd0ec8fb76dbe136b948779c791f279fd3dbbd35 | /src/util/String_test.cpp | b8f10e6de188688e85a5db98298a0e8d60fe386d | [] | no_license | Senevri/jeshmup | 68ec2aadb3d81433418e348080044255792ce569 | d6002b4624a224df2e0cb753b4965d4b3a814148 | refs/heads/master | 2021-01-13T01:40:55.189490 | 2017-01-16T18:43:43 | 2017-01-16T18:43:43 | 32,265,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,293 | cpp | #include "String.h"
#include "SharedData.h"
class StringPrivate{
StringPrivate& operator=(const StringPrivate &rhs);
public:
StringPrivate() : m_length(0), m_string(0)
{}
StringPrivate(const char *string) : m_length(0), m_string(0)
{
copyFrom(string);
}
StringPrivate(const StringPrivate &other... | [
"jari.tauriainen@abe21748-ea51-0410-af0e-c35c4496dcea"
] | jari.tauriainen@abe21748-ea51-0410-af0e-c35c4496dcea |
9bc7f225a5dd5d7582de4ceafc57743819dca5dc | 09c3350c89c337e53dfd7c2e65c34cf8252fe9bb | /abi_tool/abi-tool-3.0w/rootstraps_to_copy/usr/include/dali-toolkit/devel-api/transition-effects/cube-transition-fold-effect.h | 0543d27ef90157bb5cb8f2589b4cf69b19469527 | [] | no_license | gkayas/srbd_random | ee58a0def2f2e08c6be08624de0dde6c563d6672 | 078801911eb1928ef41a46f3dbe9a4a8fa0c2e86 | refs/heads/master | 2023-03-05T10:01:47.434761 | 2023-02-21T05:50:02 | 2023-02-21T05:50:02 | 97,911,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | h | #ifndef __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__
#define __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__
/*
* Copyright (c) 2015 Samsung Electronics 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 obtai... | [
"g.kayes@samsung.com"
] | g.kayes@samsung.com |
8a5ae2c4dcb2524cd8cbef6104b8d36e348d5c51 | b243484c252a0be6bba3f7d821deffa5648a6944 | /c++/051-100/069_Sqrt(x).cpp | 71fcfe58e1896c0c168ed56cc32473052e8ac57b | [] | no_license | lqryo/leetcode | a3e913ad15b2d2e5d99e03845dd505c4cf9f37a2 | cf13de4958e4b4c2fb8fc79cf98d7035d23f83c3 | refs/heads/master | 2020-05-15T20:10:27.415993 | 2020-01-16T07:51:13 | 2020-01-16T07:51:13 | 182,472,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | // 参考:https://leetcode-cn.com/problems/sqrtx/solution/niu-dun-die-dai-fa-by-loafer/
#include <vector>
#include <array>
#include <algorithm>
#include <iostream>
#include <string>
#include <unordered_set>
using namespace std;
class Solution {
public:
int a;
// static int time;
//牛顿迭代法
int mySqrt(int x) {
a = x;
... | [
"liangqi1995@gmail.com"
] | liangqi1995@gmail.com |
f03d4805efa447196457370447f0b3467cd7cbdc | 84f278d69ea69d44aba2dd83b17ce9173b9ad9cb | /src/ViewFrustumCulling.cpp | 3aba768e6c862bb812e5e15439a865e0d9a6f240 | [] | no_license | DougNoGit/the-game-this-aint | d9839def14cd33c7de7112efe01170542ac491c9 | 65a2fe40bef92283e458929b509e707fffe1ac93 | refs/heads/master | 2020-08-02T00:11:06.052739 | 2019-06-14T04:35:56 | 2019-06-14T04:35:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,674 | cpp | //
// Created by Caroline Cullen on 2019-05-27.
//
#include "ViewFrustumCulling.h"
int ViewFrustumCulling::ViewFrustCull(glm::vec3 center, float radius) {
float dist;
for (int i=0; i < 6; i++) {
dist = DistToPlane(planes[i].x, planes[i].y, planes[i].z, planes[i].w, center);
//test against eac... | [
"cullen.caroline@gmail.com"
] | cullen.caroline@gmail.com |
91cf3b61f0f0329d020d9db846f13711251e43c5 | e1136e691dbfb5cbdf3f689e5e0a3e7fa1a49475 | /Pinion Studios Game Engine/Pinion Studios Game Engine/Creatures.cpp | af107a47f2bb8c99035c763e107c13688a9fd5aa | [] | no_license | finalgega/pinion-game-engine | 7461a061acaa05fff5db8c6974494e5c62434424 | 5909f060a56753d4422b314ce0d46a8e89189b36 | refs/heads/master | 2020-05-20T00:38:18.763581 | 2013-05-31T21:12:11 | 2013-05-31T21:12:11 | 33,353,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | cpp | //
// Creatures.cpp
// PinionEngine
//
// Created by Aaron Goy on 26/7/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#include <iostream>
#include "Creature.h"
#include "Difficulty.h"
using namespace std;
PinionEngine::Creature::Creature()
{
set_health(0.0);
set_defense(0.0);
set_... | [
"finalgega@gmail.com@8f8b8528-1727-a522-fa71-3c2351a890a6"
] | finalgega@gmail.com@8f8b8528-1727-a522-fa71-3c2351a890a6 |
f178db4d9498f3ee61a793ce597ebd2e69d2a4a1 | 154ad9b7b26b5c52536bbd83cdaf0a359e6125c3 | /chrome/browser/usb/web_usb_detector.cc | 3687fdb3ab6a16241854811fa1b2ce2c1a477e26 | [
"BSD-3-Clause"
] | permissive | bopopescu/jstrace | 6cc239d57e3a954295b67fa6b8875aabeb64f3e2 | 2069a7b0a2e507a07cd9aacec4d9290a3178b815 | refs/heads/master | 2021-06-14T09:08:34.738245 | 2017-05-03T23:17:06 | 2017-05-03T23:17:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,004 | cc | // Copyright 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 "chrome/browser/usb/web_usb_detector.h"
#include <utility>
#include "base/macros.h"
#include "base/metrics/histogram_macros.h"
#include "base/s... | [
"zzbthechaos@gmail.com"
] | zzbthechaos@gmail.com |
c0700bae2a3765ab46408a65dabe7ff02f515831 | a2d4ea5f6ddf1198a9e6f0a9f977da5ae9593b84 | /components/RdUtils/test/jsmnr_test.cpp | e0e0d9c424a8705d0b03e1805eba785e3615c112 | [
"MIT"
] | permissive | robdobsn/RdUtils | a3f22b1a4fc43cdb15f3e2918097ef2b6368fcdc | 366986f45e286ac33e11cca2eab47a31a33b71ce | refs/heads/main | 2023-08-29T09:49:50.247150 | 2021-11-07T22:24:02 | 2021-11-07T22:24:02 | 425,602,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,148 | cpp | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Unit tests of JSON parser
// Original https://github.com/zserge/jsmn
//
// Rob Dobson 2017-2020
//
/////////////////////////////////////////////////////////////////////////////////////////////////////... | [
"rob@dobson.com"
] | rob@dobson.com |
2a741749ad187f630ff57e43e6109a75875d5dc4 | f26833e0ab0f0b40fea94122cfc2186402893902 | /src/main.cc | 7ca4fd96839090c5dd826dd0aa60969019bc841a | [] | no_license | quentin-dev/microengine | ba2d3bf52c9f7da9ac72cc7d8e889e5044b4459f | 24514cb20f1de6a4b9bab4c687868bde88ec5f60 | refs/heads/master | 2022-09-06T21:59:31.944562 | 2020-05-29T22:43:13 | 2020-05-29T22:43:13 | 266,643,833 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cc | #include "Engine/Engine.hh"
#include "Engine/Options/Cli.hh"
#include <iostream>
#include "Engine/Settings/EngineSettings.hh"
namespace boostpo = boost::program_options;
int main(int argc, const char *argv[])
{
options::Cli cli;
cli.setUp();
try
{
cli.parse(argc, argv);
}
catch(const... | [
"quentin.barbarat@epita.fr"
] | quentin.barbarat@epita.fr |
056b7e1ff343e8920e7b555afaafc5e060403bd9 | c73b0429349dc635717f98f2d7f8ab2ddda7e05b | /Public/ManagedPipeline.h | e90e13f6e3a36cf4f4d0c29600da0b75394cc518 | [
"BSD-2-Clause"
] | permissive | cyj0912/RHI | 557f3e10e72eb4945fb69cd67c88e689e5f3e7c8 | 70205931d4bdf716acaec02389b9933f72ab6c58 | refs/heads/master | 2020-05-09T00:15:08.975128 | 2019-05-29T05:51:05 | 2019-05-29T05:51:05 | 180,974,324 | 19 | 3 | BSD-2-Clause | 2019-04-26T08:40:21 | 2019-04-12T09:17:45 | C++ | UTF-8 | C++ | false | false | 1,030 | h | #pragma once
#include "DescriptorSet.h"
#include "Pipeline.h"
#include "RenderContext.h"
#include "ShaderModule.h"
#include <array>
#include <map>
namespace RHI
{
// Basically the same thing as CPipeline, except you don't have to manually manage descriptor sets
// anymore
class CManagedPipeline
{
public:
typedef ... | [
"chenyanjun912@hotmail.com"
] | chenyanjun912@hotmail.com |
1ff01c78389209711bcf5691fb09a26a646b3c0f | b68d2605ab88242f2bd5f2dce0462899e0f995ae | /ImpGears/PipelineES3/GlError.h | 19f04b4b4c90a2daa3e33a80ada74bcf51c1345f | [
"MIT"
] | permissive | Lut1n/IGBarkAndLeafEditor | 388e68257813bfb632db76e1bb86f535cab95f52 | bbda30f6f4510da4184dc6f6d9db698f81dea519 | refs/heads/master | 2021-03-19T05:23:59.704792 | 2020-03-14T09:13:07 | 2020-03-14T09:13:07 | 247,136,355 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,542 | h | #ifndef GLCOMMON_H_INCLUDED
#define GLCOMMON_H_INCLUDED
// #define GLEW_STATIC
// #include <GL/glew.h>
// #include <GL/gl.h>
#include <QOpenGLFunctions>
#include <QOpenGLExtraFunctions>
#include <GLES3/gl3.h>
#include <iostream>
#include <QDebug>
#define GL_CHECKERROR(msg) GLcheckError(msg, __FILE__, __LINE__)
#de... | [
"mathieu.boulet.44@gmail.com"
] | mathieu.boulet.44@gmail.com |
b7b2936361ed70e62eb08cc6aee746b262a86bf4 | 3b1c89d1bdd1c39763bc015c7862579d16ba8b96 | /lib/io/io.cpp | 5af5da1d69c76a1b29fd266e8b0b104b85ec833b | [] | no_license | caandewiel/PVK-Engine-Reloaded | f1b47436df4454fdaa7b54178d0b0986309110fc | 2c6741018e3229461356bc28a93eaec823baf413 | refs/heads/main | 2023-06-18T03:30:02.545958 | 2021-07-18T12:50:46 | 2021-07-18T12:50:46 | 373,639,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | #include "io.hpp"
#include <memory>
#include <string.h>
namespace pvk::io
{
std::vector<uint32_t> readFile(const std::string &filename)
{
std::ifstream file(filename, std::ios::ate | std::ios::binary);
if (!file.is_open())
{
throw std::runtime_error("Could not open file.");
}
size_t file... | [
"m.c.aandewiel@gmail.com"
] | m.c.aandewiel@gmail.com |
9d2d0b5b5af8c833eef9e9a201a2ced43263e262 | ecf360502e223b234807c0a693db91737337df29 | /C++/14/stacktp1.h | 8488812d1159f808639f3ac7b0dd112f650538c9 | [] | no_license | daveleung/DL | 7007ad7d970ed26b0a2ef4d9ce4c15836a009cd8 | d5e712909fc73bc9d42fcb5e640a7c9156b5d34f | refs/heads/master | 2021-09-11T21:07:28.461835 | 2018-01-22T03:16:29 | 2018-01-22T03:16:29 | 108,968,136 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | h | #ifndef STACKTP_H_
#define STACKTP_H_
template <class Type>
class Stack
{
private:
enum {MAX = 10};
int stacksize;
Type *items;
int top;
public:
explicit Stack(int ss = 10);
Stack(const Stack & st);
~Stack() { delete [] items;}
bool isempty() {return top == 0;}
bool isfull() {return top == stacksize;}
bool p... | [
"leungdavid989@gmail.com"
] | leungdavid989@gmail.com |
352fc01bb87988ca840fbbd768a782c9a7a8720d | 09f596ad590ace740ed556e8d4de9875cd4af1b6 | /AudioSynthesisAndSpeech/mario_song_on_pin_8/mario_song_on_pin_8.ino | 2b365c2251348724fb8e4f8ab4a07a0e6ec70d68 | [] | no_license | zoomx/ArduinoHome | 8d1f8946cf241e9f57f9a28402b6c563e281841b | 163cc52a85bab2fa80c4d121fe4ba57aaa70bc81 | refs/heads/master | 2021-01-18T15:08:15.736644 | 2016-03-05T18:07:30 | 2016-03-05T18:07:30 | 53,214,744 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,643 | ino | // Video available here http://www.youtube.com/watch?v=vm04Z1-EFeI
void setup()
{
}
void loop()
{
tone(8, 660, 100);
delay(75); tone(8, 660, 100);
delay(150); tone(8, 660, 100);
delay(150); tone(8, 510, 100);
delay(50); tone(8, 660, 100);
delay(150); tone(8, 770, 100);
delay(275); tone(8, 380, 100);
... | [
"zoomx@tiscalinet.it"
] | zoomx@tiscalinet.it |
bd1ef393871d0cb286f3e10647111a17ca9d135b | 44327cc9db417736b5dd41f36c5977f9e69f531d | /src/version.cpp | c291340ce23bd9273bec3514527686722e6405c8 | [
"MIT"
] | permissive | ZumyTeam/zumy | d0e859c0ccda2b0fb7560dd3600782ddbb5bd379 | fe4267a1672ee7a28e872207329df3cc4631a4b3 | refs/heads/master | 2020-03-30T02:13:04.011409 | 2018-09-27T16:10:49 | 2018-09-27T16:10:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,652 | cpp | // Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' message. Report the same name
// for both bitco... | [
"dev@zumy.co"
] | dev@zumy.co |
473f42bea300b074378a93a73ea2a21d9d1f643e | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_1673486_0/C++/lxhgww/1.cpp | 9058052cb4ccacbbe4b65b0cd9a2b6f74ba8addd | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | #include<stdio.h>
double a[100001];
int main()
{
int t,p;
int n,m;
int i,j;
double mm;
double s1;
freopen("A-small-attempt0.in","r",stdin);
freopen("A-small-attempt0.out","w",stdout);
scanf("%d",&t);
for (p=1;p<=t;p++)
{
scanf("%d%d",&n,&m);
for (i=1;i<=n;i++)
scanf("%lf",&a[i]);
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
859128364f6eee1bf36144cccece4e464a40fde0 | 928bd6a1f0a580cc0c27d1e06864091f0fdf6863 | /main.cpp | abb38b3a1e9a95f9a08737b43fba7a42705eeec3 | [] | no_license | GPoleto27/APS_TC | 57f3d5874b5468a0f5745d12c2ee52ed66e08b53 | 461a25ce652b9b0334c3962053ce697944d6db91 | refs/heads/master | 2020-05-25T06:35:53.889637 | 2019-07-08T05:43:13 | 2019-07-08T05:43:13 | 187,670,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,168 | cpp | #include "Automato.h"
int main() {
register int i, j, k;
int nEstados, nElementos, nFinais, nTransicoes, nPalavras, nEstadosEquivalentes = 0;
char palavra[16], c;
bool flag;
int *finais, *naoFinais;
vector<char> alfabeto;
bool *estadosAcessiveis;
transicao *transicoes;
// Parte 1
cin >> nEsta... | [
"noreply@github.com"
] | GPoleto27.noreply@github.com |
e07f5d20d70883cabccdb19eb50231a9c3ecbfb5 | 24012fe02dd87c7ba3016f7ea0a5b9d2398a7fe1 | /TBGame/Bullet.h | fc519ddbec25c74c7a81c6cceaf6103ecdde3fa7 | [
"Apache-2.0"
] | permissive | Alexander3006/TBGame | 81c8f5fd95d8c8ecbe2bc22eb3a1c842427d7657 | d4a73d0e76d3ef1bf894a325840a4d16c507d574 | refs/heads/master | 2022-03-11T10:19:47.849347 | 2019-12-11T16:15:23 | 2019-12-11T16:15:23 | 227,394,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | #pragma once
#include "GameObject.h"
class Bullet: public GameObject
{
private:
void Collision(bool, std::vector<std::string>) override;
void Animation(float) override;
public:
Bullet(sf::Texture&, int, int, int, int);
void Update(float, std::vector<std::string>, sf::RenderWindow*);
};
| [
"ukrpresident3006@gmail.com"
] | ukrpresident3006@gmail.com |
cdf7758159401043efe1ef6d18ac023b90767cea | ba444c530390b369d92d2a446b2667ed10674ac4 | /problems/10161.cpp | cdd47e53d5ab701fece6c693ed740f852c0d262d | [] | no_license | mkroflin/UVa | 62c00eede8b803487fa96c6f34dc089b7ea80df5 | aa9815f710db094fb67ceafb485b139de58e9745 | refs/heads/master | 2022-03-21T05:04:32.445579 | 2018-11-15T19:44:19 | 2018-11-15T19:44:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int n, s, f, x, y;
while (cin >> n, n)
{
s = sqrt(n);
n -= s * s;
f = s % 2;
(f? x : y) = 1;
(f? y : x) = s;
if (n > 0)
n--, (f? y : x)++;
if (n > 0)
... | [
"matej.kroflin@gmail.com"
] | matej.kroflin@gmail.com |
3172de6484a478e71be81be79a49e57e3817c7ac | 82317a604ae195d04308a6ee609ea124ed4bef79 | /src/impro_util.cpp | 91e15f3e15248f6e9b01037d742c477f9f650443 | [] | no_license | improdevteam/ImProConsole_Test | 391dd62e2e62e313210665214ac2c4ee93d0273a | c28bac7347bcfa7d31b24c9b06c50278755cb65e | refs/heads/master | 2020-05-09T12:13:29.500399 | 2019-05-09T01:32:30 | 2019-05-09T01:32:30 | 181,105,908 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 72,366 | cpp | #include "impro_util.h"
#include <vector>
#include <opencv2/opencv.hpp>
#include <cmath>
#include <iostream>
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
#include <Windows.h> // for OPENFILENAME, GetOpenFileName
#include <shlobj_core.h>
#include <atlstr.h>
#endif
#include "matchT... | [
"improdevteam@gmail.com"
] | improdevteam@gmail.com |
171b40c5cd70870c1ce7e4cd7da7d18027408524 | 73d1d64ec50c7e6ccf87c73130b8917c67009cab | /src/Pegasus/WebServer/WebRequest.h | 48e1bc8a9989448da239a5adbc761bc61b6b5097 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | deleisha/neopegasus | 21a960a5664f2074d9ab176e80b023eba2bebe79 | f051727e7fa587e97d3d75f6f3865b27c7c68377 | refs/heads/master | 2021-01-18T22:32:39.786216 | 2017-08-01T15:38:38 | 2017-08-01T15:38:38 | 38,531,497 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,348 | h | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"lawrence.luo"
] | lawrence.luo |
1e41ee74c621ec0fe6f361f31218585cb484d0f5 | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_5/Z6.2+dmb.st+dmb.st+addr.c.cbmc_out.cpp | cd323add2e06f31455df1e9737967a3bc0858dad | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 40,252 | cpp | // Global variabls:
// 0:vars:3
// 3:atom_1_X0_1:1
// 4:atom_2_X0_1:1
// Local global variabls:
// 0:thr0:1
// 1:thr1:1
// 2:thr2:1
#define ADDRSIZE 5
#define LOCALADDRSIZE 3
#define NTHREAD 4
#define NCONTEXT 5
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define m... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
83af02794552b50d7769070c6aecd9cf08b42734 | c29a0a69e82182067ff7b37614d73f429113336a | /filtration_generator.cpp | 5d192dfb4347a44f23aa89611c22e4a09711a142 | [] | no_license | vovanhuy/non_top | d8728b0fd817ff65b024fd1ffaa26c9ad1246c00 | 407139f83cf272bfe0dbe53f036a1bb82b41529e | refs/heads/master | 2020-12-31T00:40:39.170856 | 2017-02-07T23:07:56 | 2017-02-07T23:07:56 | 80,609,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,551 | cpp | #include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <sstream>
using namespace std;
vector<vector<int> > simplices;
int d;
int dimension;
string s;
int current_position = 0;
vector<int> copy_vec(vector<int> v){
vector<int> v_copy(v.size());
for(int i = 0; i < v.size(); i++){
v_copy... | [
"vovanhuyworkspace@gmail.com"
] | vovanhuyworkspace@gmail.com |
86c4ba438e60d0308d8e18045c0382740e7e5b26 | 53977fa2b058fbe99e1d9a7e0ad37aae5f47e0d8 | /No_SQL_DB/No_SQL_DB_LL.cpp | 58a0eb330273ce1cb482136e65b4babf26bed7b8 | [] | no_license | aditya-b/MissionRnD_Summer_Systems_NoSQLDB | 61242308750c8e5c2b9cb6db3e60dd7af851f27d | 5372a40de50fa074fde83a0d7a538d0c0f1927c7 | refs/heads/master | 2020-03-19T02:11:39.937706 | 2018-05-31T16:17:34 | 2018-05-31T16:17:34 | 135,607,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,035 | cpp | // No_SQL_DB.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include<stdlib.h>
#include<string.h>
#include<conio.h>
struct json
{
char **params;
char **values;
int cols;
int version;
json *next;
};
struct row
{
int commit_version;
int current_version;
int id;
json *records... | [
"aditya.bulusu168@gmail.com"
] | aditya.bulusu168@gmail.com |
db31d565d97cffcab906de82a3b0f85d6b5501f1 | f19896ff3a1016d4ae63db6e9345cfcc4d0a2967 | /Topics/Topic/Data Structures and Alogrithms (Topic)/AlgoMonster/68(Lowest Common Ancestor of Binary Search Tree).cpp | ae078506148399de8ca1f38874cf4183414efced | [] | no_license | Akshay199456/100DaysOfCode | 079800b77a44abe560866cf4750dfc6c7fe01a59 | b4ed8a6793c17bcb71c56686d98fcd683af64841 | refs/heads/master | 2023-08-08T07:59:02.723675 | 2023-08-01T03:44:15 | 2023-08-01T03:44:15 | 226,718,143 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,340 | cpp | /*
Problem statement:
Given a binary search tree (BST), find the lowest common ancestor (LCA) node of two given nodes in the BST.
According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes p and q as the lowest node in T that has both p and q as descendants (where we all... | [
"akshay.kum94@gmail.com"
] | akshay.kum94@gmail.com |
54232fdc8ae75bc32d3589869ae0a3a62e89f9fd | a538a3889a61c2a069b5207b689b2b3558d45330 | /kratos/geometries/triangle_3d_6.h | 17092dfda543167c972e1e1518fdf61791175e79 | [] | no_license | rwilliams01/kratos_bcn2 | c82b3cd508002bff24b8a5e303f097b978f50ee4 | 0bd4fb4ae82905cf5a0969649e684336086806c8 | refs/heads/master | 2023-05-01T22:03:44.447740 | 2021-04-23T21:04:03 | 2021-04-23T21:04:03 | 290,202,915 | 0 | 0 | null | 2020-08-25T11:59:46 | 2020-08-25T11:59:45 | null | UTF-8 | C++ | false | false | 60,623 | h | //
// Project Name: Kratos
// Last Modified by: $Author: JMCarbonell $
// Date: $Date: December 2015 $
// Revision: $Revision: 1.7 $
//
//
#if !defined(KRATOS_TRIANGLE_3D_6_H_INCLUDED )
#define KRATOS_TRIANGLE_3D_6_H_INCLUDED
// System includes
// External inc... | [
"hgbk2008@gmail.com"
] | hgbk2008@gmail.com |
e865e9c419b10abfbd6e6f8265ba7c6f7e80a642 | 28cfde0aa9fec3023e9bcc6abf3f9ddc2b4a33a4 | /chomiki oi17 100pkt.cpp | d7b1acda07cf2fa72131341ad66b5c4c1d93897d | [] | no_license | wziel/Wzielin3.Private.OlimpiadaInformatyczna | 79f6a91158bd4a5f0c55a2af271d12b223f565c6 | 91dd5754ee6b85d76e306508e674609b059692ee | refs/heads/master | 2016-09-06T19:38:00.944316 | 2015-07-05T15:32:57 | 2015-07-05T15:32:57 | 38,573,945 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,709 | cpp | #include<iostream>
#include<string.h>
#include<stack>
using namespace std;
int n,m,kmptab[100000];
string s[200];
long long int KIJ[30][200][200],wynik[2][200][200];
int KMP(string slowo,string nakladka)
{
string s=nakladka+'#'+slowo+'*';
kmptab[0]=0;
int i,a;
for(i=1; s[i]!='*'; i++)
{
... | [
"zielinski.w.t@gmail.com"
] | zielinski.w.t@gmail.com |
3a4731f6e74cd01363567af6b078bd71d6733782 | 2a10f352ee335c6b0dc3959be294f14db0584616 | /src/readrs.cpp | 5dbafc0b2e3d3bc0d519b304d65cf8240b392003 | [] | no_license | osinoyan/plys2sens | 3e2ce56db419997bff80df840e2edc7cca3ca48f | 43c1cdc9f4218da497d9abd092468b3294909bf2 | refs/heads/master | 2023-07-06T19:12:51.963212 | 2021-08-11T07:59:39 | 2021-08-11T07:59:39 | 347,884,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,358 | cpp | // ------------ CREATED AT 2021/07/21 BY LYWANG ---------------------
#include <omp.h>
#include "sensorData.h"
#include <dirent.h>
#include <string>
#include <vector>
#define _MSC_ ml::SensorData::CalibrationData
#define _MS_ ml::SensorData
#define PAUSE printf("Press Enter key to continue..."); fgetc(stdin);
using... | [
"chopsticks1515@gmail.com"
] | chopsticks1515@gmail.com |
5335b8f76ffce9ffd366bf4ef82f355165ab8cf5 | 58487e81ace0cbe57228024c0c651d23061e705b | /Bullet.cpp | 2cd9989aa48c406ff49aca0771dd376a0de55ecf | [] | no_license | thanhchungbtc/BattleCity1990CPP | 70b3ec647f29c2c94da9308858337e2563bc5b87 | bdd393acf1689e1203fc8243da4dc5884968b005 | refs/heads/master | 2021-01-10T03:00:21.975006 | 2015-11-24T09:59:00 | 2015-11-24T09:59:00 | 46,782,160 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,453 | cpp | #include "Bullet.h"
#include "SDL.h"
#include "Collision.h"
#include "Game.h"
#include "SoundManager.h"
Bullet::Bullet(ShooterObject* owner):
ShooterObject()
{
m_owner = owner;
pLevel = owner->getLevel();
m_width = 11;
m_height = 11;
m_currentFrame = 0;
m_currentRow = 0;
m_textureID = "bullet1";
m_moveSpeed =... | [
"thanhchungbtc@gmail.com"
] | thanhchungbtc@gmail.com |
267f8d02e142a907a19b410fda379183b82a7f82 | 3ea34c23f90326359c3c64281680a7ee237ff0f2 | /Data/1320/E | 37c2da7c765f85a195ff2c156eb20d36430c2523 | [] | no_license | lcnbr/EM | c6b90c02ba08422809e94882917c87ae81b501a2 | aec19cb6e07e6659786e92db0ccbe4f3d0b6c317 | refs/heads/master | 2023-04-28T20:25:40.955518 | 2020-02-16T23:14:07 | 2020-02-16T23:14:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,899 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 4.0 |
... | [
"huberlulu@gmail.com"
] | huberlulu@gmail.com | |
8e2e193a61148565e284c62a480eed579dd12df0 | e5a00cbfbf112f59c55896aa64bda0818c84172a | /dogbot_pkg/src/dogBotServer.cc | 11745114c735dc690411eb6527c89f1c7d9e6e3b | [] | no_license | eborghi10/dogbot_tc | c614f0d9faa5b91e2481af76b8c967b89f334f39 | 3a268ebee641ef9841c76605dd5996b961afab3e | refs/heads/master | 2020-09-28T11:37:43.790503 | 2019-12-09T02:53:21 | 2019-12-09T02:53:21 | 226,770,816 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,657 | cc |
#include <iostream>
#include <unistd.h>
#include <getopt.h>
#include "dogbot/ComsSerial.hh"
#include "dogbot/DogBotAPI.hh"
#include "dogbot/ComsZMQServer.hh"
#include "dogbot/ComsRecorder.hh"
#include "dogbot/ComsRoute.hh"
#include "dogbot/PlatformManager.hh"
#include "cxxopts.hpp"
#include <sched.h>
#define DODEBUG... | [
"duckfrost@gmail.com"
] | duckfrost@gmail.com |
40de8ffec80bb7c62fda0b44c520e8e4c27ae990 | 86bc88eafbce6f933c42910c1ba43eac926c0534 | /shield.h | c229f53a88761c519e7193e674befe9deb8c515e | [] | no_license | gagrigoryan/qt_practice | fe3709cbc27ca79a420fee82bd4d56d9ae659622 | 850e6f77c42979192d5d2702e365a889fafdafa3 | refs/heads/master | 2022-11-18T09:18:28.392287 | 2020-06-28T17:54:47 | 2020-06-28T17:54:47 | 275,585,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | #ifndef SHIELD_H
#define SHIELD_H
#include "item.h"
class Shield : public Item
{
public:
Shield(QString name, QString description, int price, int shiledLevel);
bool useOnce() override;
void consume(Hero *hero) override;
int getShield();
private:
int shiledLevel;
};
#endif // SHIELD_H
| [
"grigoryang085@gmail.com"
] | grigoryang085@gmail.com |
78307c92f9df9a44a1b7836c89b724d56fbb2d08 | b6926a3e90d5f2322cf96e3819415d50a58097e2 | /hackerrank_quicksort_partition.cpp | bb6d9bea787b02649fbe682e13a1609971565198 | [] | no_license | AbhJ/some-cp-files-1 | 67c6814037e6cbc552119f3d2aa4077616b88667 | 04e7e62ac7d211bb38dd77dc44558a631805c501 | refs/heads/master | 2023-07-05T16:36:56.770787 | 2021-09-03T12:50:13 | 2021-09-03T12:50:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,103 | cpp | #include <bits/stdc++.h>
#define ll long long int
#define pb push_back
#define ibs ios_base::sync_with_stdio(false)
#define cti cin.tie(0)
#define bp __builtin_popcount
using namespace std;//coded by abhijay mitra
const int N=2e7+3;
const int M = 1000000007; // modulo
// ll dp[1000][1000];
ll powM(ll b, int p) {
ll r... | [
"abhijay.mitra@iitkgp.ac.in"
] | abhijay.mitra@iitkgp.ac.in |
797f13f39285cbe3114ffc0ed2045ef5c692c4a2 | 037d518773420f21d74079ee492827212ba6e434 | /blazetest/src/mathtest/dvecdveccross/VHbV3a.cpp | 26bf295f61f6674d47d8f390d317030271618c93 | [
"BSD-3-Clause"
] | permissive | chkob/forked-blaze | 8d228f3e8d1f305a9cf43ceaba9d5fcd603ecca8 | b0ce91c821608e498b3c861e956951afc55c31eb | refs/heads/master | 2021-09-05T11:52:03.715469 | 2018-01-27T02:31:51 | 2018-01-27T02:31:51 | 112,014,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,714 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dvecdveccross/VHbV3a.cpp
// \brief Source file for the VHbV3a dense vector/dense vector cross product math test
//
// Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved
//
// This... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
12493525fa3abcf7a63492c6e65f2517b7bcc5d2 | ed26e4b990a614534f2ee3d4b736ff98e09d2333 | /UJ/DX3D220201022/DX3D/cDeviceManager.cpp | b5b244fe5da722a79b397cdaa67e12c84e342964 | [] | no_license | wnddpd01/InhaDirectXTeam | f0b629a055b87fe0d9c14f7ba524ae9ee5a367c9 | 07a8e10d608e51e0f5f352e9878152a8639b427a | refs/heads/master | 2023-03-09T04:51:27.880194 | 2021-03-04T08:43:38 | 2021-03-04T08:43:38 | 298,210,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | #include "stdafx.h"
#include "cDeviceManager.h"
cDeviceManager::cDeviceManager()
: m_pD3D(NULL)
, m_pD3DDevice(NULL)
{
m_pD3D = Direct3DCreate9(D3D_SDK_VERSION);
D3DCAPS9 stCaps;
int nVertexProcessing;
m_pD3D->GetDeviceCaps(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, &stCaps);
if (stCaps.DevCaps & D3DDEVCAPS_HWTRAN... | [
"kmj2942@naver.com"
] | kmj2942@naver.com |
fd5ec299ec85f6292d0cdf52bbf40d1e99786884 | 30ab1090ba15c433f08bbff0a795bcca5817c023 | /jni/game/TrackSelectScene.cpp | e7a2af690eee0072fd0af71a04b111be539632c0 | [] | no_license | dnuffer/redneckracer | 0c8e2efea148057bfbb81c689f0c81f5f430526b | f298e0fcda169829ffc7002165d38613eafc6ee8 | refs/heads/master | 2021-01-01T06:11:42.520020 | 2012-07-06T04:42:21 | 2012-07-06T04:42:21 | 4,918,963 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,515 | cpp | // Copyright 2011 Nuffer Brothers Software LLC. All Rights Reserved.
#include "RRConfig.hpp"
#include "RRFwd.hpp"
#include "TrackSelectScene.hpp"
#include "RaceTracks.hpp"
#include "RaceScene.hpp"
#include "Globals.hpp"
#include "BestTimes.hpp"
#include "boost/foreach.hpp"
#define foreach BOOST_FOREACH
#include "eng... | [
"danielnuffer@gmail.com"
] | danielnuffer@gmail.com |
79b747d3e1e2a6c8675af5c127fbb0941745f4e9 | acfbf5aa22d8a7a5ef0dbd0f6440e3a7d6ec006b | /include/sysresLogger.h | 93f0b5915ac9afa98bb73a4de30fafab640d593a | [
"Apache-2.0"
] | permissive | rdkcmf/rdk-sys_mon_tools-sys_resource | cc4ea1204d875c31b52f5af557f76532b0d7b8db | 97210ea784675bcb60b11ff9c0f5fa1d40fca33c | refs/heads/master | 2023-02-05T12:42:42.517147 | 2012-08-21T16:28:17 | 2018-05-14T09:24:17 | 77,068,520 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | h | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2016 RDK Management
*
* 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 ... | [
"jim.lawton@accenture.com"
] | jim.lawton@accenture.com |
764085961460a8c13cf93da014d635a5aea73041 | 5a8bf8d140fa5aa3acc6a8e335f4f2f0974931fc | /uva/124 - Following Orders.cpp | e4c3dfb86623fb6b9de9f27d563f8c55ad5a8e8c | [
"MIT"
] | permissive | taufique71/sports-programming | 72dbec005f790d8f6b55d1fb030cc3d50ffe7df2 | c29a92b5e5424c7de6f94e302fc6783561de9b3d | refs/heads/master | 2020-03-25T04:43:54.418420 | 2019-10-10T19:51:40 | 2019-10-10T19:51:40 | 134,890,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,949 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#define MAX 30
using namespace std;
bool graph[MAX][MAX];
bool color[150];
char res[MAX];
int n_res;
char nodes[MAX];
int n_nodes;
void backtrack(int n)
{
if(n >= n_nodes)
{
res[n_res] = '\0';
for(... | [
"taufique71@gmail.com"
] | taufique71@gmail.com |
3d87a9c2f041f28d1be47572711d565c8719f170 | 53dca6f1339a6a4f0714c0d08a45264e495378a6 | /Clove/include/Clove/Graphics/OpenGL/GLGraphicsFactory.hpp | 9a7aaf7727f8f4bfc5e3fe851eeb79de4be8a9d5 | [
"MIT"
] | permissive | MORTAL2000/Garlic | c477b1823a1a788dfb2f5751d4a5f9a15ec14964 | abce2dccd2284e179d912442fceefb989199d8ac | refs/heads/master | 2021-01-08T23:07:04.770709 | 2020-02-21T08:59:28 | 2020-02-21T08:59:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | hpp | #pragma once
#include "Clove/Graphics/Core/GraphicsFactory.hpp"
namespace clv::gfx::ogl{
class GLGraphicsFactory : public GraphicsFactory{
//FUNCTIONS
public:
GLGraphicsFactory();
GLGraphicsFactory(const GLGraphicsFactory& other) = delete;
GLGraphicsFactory(GLGraphicsFactory&& other) = delete;
GLGraphic... | [
"wolfplayeral@yahoo.co.uk"
] | wolfplayeral@yahoo.co.uk |
31f6f43b82f60fb04c6aa1bb322f0871693ff4ff | 8021a7cfcfb153ad26068b23c50ab42803ee20e0 | /8th_task/throw_div0.cpp | 4a7398c420b1faec9be415de7609d40bf0ffa040 | [] | no_license | BasilSut/GBcpp | 4129a5e00dc3654b62d9d2ea809e1b6374f26d98 | 1345e0389140d1a4a85fedc08775deafc71d8bb3 | refs/heads/main | 2023-04-06T07:42:36.187720 | 2021-04-12T02:19:55 | 2021-04-12T02:19:55 | 346,154,620 | 0 | 0 | null | 2021-04-08T14:50:13 | 2021-03-09T21:54:26 | C++ | UTF-8 | C++ | false | false | 515 | cpp | #include <iostream>
#include <string>
using std::string;
using std::cout;
using std::endl;
using std::cerr;
template <typename T>
T divi(T x, T y)
{
string thr = "DivisionByZero";
if (y == 0)
{
throw thr;
}
return (x / y);
}
int main () {
double dividend = 12;
double divisor = 0;... | [
"basilsut@gmail.com"
] | basilsut@gmail.com |
1fa943fa7cdd92090752f1e8369e91059c3ed8df | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE23_Relative_Path_Traversal/s04/CWE23_Relative_Path_Traversal__wchar_t_environment_ifstream_67b.cpp | ce81b15426102dbdc2a788650638ba7ca9a70824 | [] | 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,805 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__wchar_t_environment_ifstream_67b.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-67b.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: environment Read input ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
921a3f82d3d4af0ee1ad79bdd2c46fb1700650c4 | cbb13131ab998bdb28459f7bbea9eef3097d1cf1 | /MainMenu.cpp | 0a6422d306efa098e688bd0f03abd092876dea73 | [] | no_license | WWPandemic/Project-FInal | af4596152b201d408aead9e281d7f0fd11381b55 | 95a1362d33b4c7ec75f7f49c193d9aa0df676e63 | refs/heads/master | 2020-03-18T10:53:48.295368 | 2018-06-20T10:55:20 | 2018-06-20T10:55:20 | 134,639,193 | 0 | 0 | null | 2018-06-18T09:04:24 | 2018-05-24T00:16:27 | C++ | UTF-8 | C++ | false | false | 1,182 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include "MainMenu.h"
#include "Report.h"
#include "CashRegister.h"
#include "Inventory.h"
void MainMenu::getInput()
{
do
{
std::cout << "What would you like to do?" << std::endl;
std::string input;
getline(std::cin, input);
try {
chosenOption = std::stoi(inpu... | [
"noreply@github.com"
] | WWPandemic.noreply@github.com |
aa9018f52f1cbfda1d060cab8618e7dcdf2734d6 | 142ddd4c42dc7ff65fd9b531cfd0adbfe2a1dd34 | /export/editor/plugins/tile_set_editor_plugin.cpp | 14397ce9eace0f5f6c0d63caa556526e2eb64e21 | [
"LicenseRef-scancode-free-unknown",
"MIT",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"CC0-1.0",
"OFL-1.1",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"FTL",
"BSD-3-Clause",
"Bitstream-Vera",
"MPL-2.0",
"Zlib",
"CC-BY-4.0"
] | permissive | GhostWalker562/godot-admob-iOS-precompiled | 3fa99080f224d1b4c2dacac31e3786cebc034e2d | 18668d2fd7ea4bc5a7e84ddba36481fb20ee4095 | refs/heads/master | 2023-04-03T23:31:36.023618 | 2021-07-29T04:46:45 | 2021-07-29T04:46:45 | 195,341,087 | 24 | 2 | MIT | 2023-03-06T07:20:25 | 2019-07-05T04:55:50 | C++ | UTF-8 | C++ | false | false | 145,427 | cpp | /*************************************************************************/
/* tile_set_editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"pvu2002@outlook.com"
] | pvu2002@outlook.com |
01bdddd09e79058335145ab8f7e88debeadf78a3 | fbe68d84e97262d6d26dd65c704a7b50af2b3943 | /third_party/virtualbox/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp | 551247a8bbe8138ac2a500d7eeb791828ce2fb52 | [
"GPL-2.0-only",
"LicenseRef-scancode-unknown-license-reference",
"CDDL-1.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"GPL-2.0-or-later",
"MPL-1.0",
"LicenseRef-scancode-generic-exception",
"Apache-2.0",
"OpenSSL",
"MIT"
] | permissive | thalium/icebox | c4e6573f2b4f0973b6c7bb0bf068fe9e795fdcfb | 6f78952d58da52ea4f0e55b2ab297f28e80c1160 | refs/heads/master | 2022-08-14T00:19:36.984579 | 2022-02-22T13:10:31 | 2022-02-22T13:10:31 | 190,019,914 | 585 | 109 | MIT | 2022-01-13T20:58:15 | 2019-06-03T14:18:12 | C++ | UTF-8 | C++ | false | false | 4,459 | cpp | /* $Id: SUPR3HardenedNoCrt.cpp $ */
/** @file
* VirtualBox Support Library - Hardened main() no-crt routines.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can red... | [
"benoit.amiaux@gmail.com"
] | benoit.amiaux@gmail.com |
c029800204943de4d8c9872ec45919198d0d8acd | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re20_2/processor21/70/phi | 5a7f02eead53ae6c0fdb1d86f53a0fa76a7223c7 | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,070 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"chaseh13@login4.stampede2.tacc.utexas.edu"
] | chaseh13@login4.stampede2.tacc.utexas.edu | |
9b06dbeb2ebcb3e030e67241d77dfbe397fa619b | fc987ace8516d4d5dfcb5444ed7cb905008c6147 | /chrome/browser/chrome_security_exploit_browsertest.cc | 16a0df3f412eac1596b776e7ea9c43256c3a668c | [
"BSD-3-Clause"
] | permissive | nfschina/nfs-browser | 3c366cedbdbe995739717d9f61e451bcf7b565ce | b6670ba13beb8ab57003f3ba2c755dc368de3967 | refs/heads/master | 2022-10-28T01:18:08.229807 | 2020-09-07T11:45:28 | 2020-09-07T11:45:28 | 145,939,440 | 2 | 4 | BSD-3-Clause | 2022-10-13T14:59:54 | 2018-08-24T03:47:46 | null | UTF-8 | C++ | false | false | 5,365 | cc | // Copyright (c) 2013 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 "base/command_line.h"
#include "base/macros.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#inclu... | [
"hukun@nfschina.com"
] | hukun@nfschina.com |
85eec8a21f8102eed21cab4dbcda74509505adff | 329f5564b39b6138e4e3a78b05bccd068412e78b | /p007/p007.cpp | c19238a729c354e5f7b06f44ff3d90234792ce7f | [] | no_license | hythof/project-euler | 34b5cfed551bb69c501cf24cb0a6c353e6b1707e | c3246dd2661554231e2f3d7c366899e11d3af1a9 | refs/heads/master | 2016-09-06T16:50:21.167472 | 2014-08-12T06:11:26 | 2014-08-12T06:11:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include <iostream>
#include <vector>
using namespace std;
void sieveOfEratostenes(int start, int end, vector<int> *xs) {
vector<int>::iterator it;
for(int i=start; i<=end; i+=2) {
bool isPrime = true;
for(it=xs->begin(); it!=xs->end(); ++it) {
int v = *it;
if(i % v == ... | [
"hiroshi.tadokoro@gu3.co.jp"
] | hiroshi.tadokoro@gu3.co.jp |
b79d4e964c362b926e8c6df015357aa2c64dccbc | c51febc209233a9160f41913d895415704d2391f | /library/ATF/PMONITOR_INFO_1A.hpp | 6054f1e20416d0db00a83718ea23074ccdf829aa | [
"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 | 270 | 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>
#include <_MONITOR_INFO_1A.hpp>
START_ATF_NAMESPACE
typedef _MONITOR_INFO_1A *PMONITOR_INFO_1A;
END_ATF_NAMESPACE
| [
"b1ll.cipher@yandex.ru"
] | b1ll.cipher@yandex.ru |
730906708fde36e858cfd8ed3f1619a0e9746b30 | 1701dc02cea7de6ca190fda8314af40bfe296a48 | /src/naboris_stereo/src/naboris_stereo/naboris_stereo.cpp | 6e5a350a597f5cff21557b0b31195c9212ed3161 | [] | no_license | Woz4tetra/NaborisROS | 1a00a900a6b4b78deb9cd92d51653bbf79f68aa4 | 6fdd4393993cf7a4d3a5cc94d2ee5746e2491fa6 | refs/heads/master | 2021-05-09T21:15:15.352831 | 2018-02-25T19:38:17 | 2018-02-25T19:38:17 | 118,722,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,085 | cpp |
#include "naboris_stereo/naboris_stereo.h"
const string NaborisStereo::NODE_NAME = "naboris_stereo";
const double NaborisStereo::MIN_ALLOWED_TIME_DIFF = 0.3;
NaborisStereo::NaborisStereo(ros::NodeHandle* nodehandle):
nh(*nodehandle),
img_transport(nh)
{
ROS_INFO("Stereo node starting...");
nh.param<... | [
"woz4tetra@gmail.com"
] | woz4tetra@gmail.com |
8004462bdd7a19c50a7702023bb0d0bfa107b3b0 | ae74b85b3e6a585c9d5cb82e939ba79c62dc8943 | /Introduction to Programming in C++/bmi_imperial_lab/bmiimperial.cpp | ed74f207bf80cb192646aba29eb60f0a936f7b1b | [] | no_license | nazimorhan/Edx-Cpp-Exercises | 1d55fb590c4b17a3d7fecb9e4042b8ef3274d05c | 375b0d35f70c5b320e3f6d852da6878ed965ce67 | refs/heads/master | 2023-07-16T05:03:37.898897 | 2021-08-23T17:20:10 | 2021-08-23T17:20:10 | 393,640,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | cpp | #include <iostream>
#include <math.h>
#include <iomanip> // std::setprecision
using namespace std;
#define pounds 0.453592 //kilograms
#define inch 0.0254 // meters
int main(){
double weight, height, bmi;
cout<<"Please enter weight in pounds: ";
cin>>weight;
weight *= pounds;
cout<<"Ple... | [
"nazim.orhan@pirireis.com.tr"
] | nazim.orhan@pirireis.com.tr |
2d5c57f8349200e217bcef1bc80d1b8bdcc21fa1 | ae35abc9cf5d27d736782c6d0ef849c27aa3fd2e | /C++/include/mscl/MicroStrain/Inertial/Commands/InertialCmdResponse.h | 3c0efd927f7ea702e7955b100f1664f9a3901dd6 | [] | no_license | SnowmanTackler/Microstrain | ca4351f05e032d0e1afae2e972dcb28aadbfc07c | 1f43cb787febfe7cae56cbc02f232721f672850d | refs/heads/master | 2021-01-10T15:45:49.062736 | 2015-10-06T17:12:10 | 2015-10-06T17:12:10 | 43,765,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,644 | h | /*******************************************************************************
Copyright(c) 2015 LORD Corporation. All rights reserved.
MIT Licensed. See the included LICENSE.txt for a copy of the full MIT License.
*******************************************************************************/
//PUBLIC_HEADER
#prag... | [
"seifes1@gmail.com"
] | seifes1@gmail.com |
4670b5e47889825b4167352d7309fbef97da1a55 | 9d090627ce1b4875f39fd5e23f5cf75c2072e963 | /first_part/MPI/main.cpp | b0b49b636cf44e0c14b15dcf49904504870174d8 | [] | no_license | irina-rud/Parallel-and-distributed-computing.-MIPT | c2105bea02335620f982415dc795395b5c75d786 | 87cdfd9814f04821d101006d32deaee01459fb22 | refs/heads/master | 2022-10-20T21:43:11.987654 | 2017-02-10T13:18:27 | 2017-02-10T13:18:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,732 | cpp | #include <iostream>
#include <stdio.h>
#include <mpi.h>
#include <fstream>
#include <vector>
#include <cstdlib>
#include <iomanip>
#include "CGameBoard.h"
void masterTr(int my_rank, int num_workers, int one_block_hight, int length, CGameBoard* result_board) {
std::vector<MPI_Request> reqs(num_workers);
std::... | [
"roller145@yandex.ru"
] | roller145@yandex.ru |
38265588d6f23642f6e3f3ac8fc8bd192295dc50 | 4c5988da041cfd2283af959ecb75746788fbd3d6 | /API/hermes/TracingRuntime.cpp | 6ce45f01e4dc763d392760d585b2042b78438b2e | [
"MIT"
] | permissive | test123-123test/hermes | 9ba681f78d22da94695af876448c015c081aea76 | 6fd712cdd16380abf363f18cf32e64af2a7a12c2 | refs/heads/master | 2023-03-04T06:39:06.965638 | 2021-02-11T14:10:56 | 2021-02-11T14:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,751 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifdef HERMESVM_API_TRACE
#include "TracingRuntime.h"
#include <hermes/Platform/Logging.h>
#include <hermes/Support/Algorithms.h>
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f9c2cdb2f59c9c022b922bea0b7cbaa48b63d5ce | 8e0a330a200ef787da914c0dc2d7c4e083d9e165 | /RenderManager.h | 590d6871737cf50779844781f5d9e66a44a1a740 | [] | no_license | OctEats/Pokemon-Go-Bot | 7624a97054785e796d211078473691659ece96d2 | 982182416dcd9399e2d788f4603811236feb58f8 | refs/heads/master | 2021-04-25T16:26:25.973787 | 2018-08-27T02:13:47 | 2018-08-27T02:13:47 | 121,453,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | h | #pragma once
#include "Interfaces.h"
#include "Vector2D.h"
namespace Render
{
void Initialise();
// Normal Drawing functions
void Clear(int x, int y, int w, int h, Color color);
void Outline(int x, int y, int w, int h, Color color);
void Line(int x, int y, int x2, int y2, Color color);
void PolyLine(int *x, i... | [
"36461849+OctEats@users.noreply.github.com"
] | 36461849+OctEats@users.noreply.github.com |
3bcf0475f6b07d1b5a18e217aaf246c57e466641 | 5d8c71b1b580517fb807efdfd673a46944b9957b | /znIntfs/Application.h | 6fdd0087bbda92488d1a53a0f65e773bb5fedeef | [] | no_license | bmjoy/ZenonEngine | abe2c4c47d1930f343dadcaed7d3c360660aa1bf | c7d1564246157abfa84b7028817bedff6993693b | refs/heads/master | 2020-05-23T03:12:21.586899 | 2019-04-22T10:52:31 | 2019-04-22T10:52:31 | 186,611,748 | 1 | 1 | null | 2019-05-14T11:51:37 | 2019-05-14T11:51:37 | null | UTF-8 | C++ | false | false | 752 | h | #pragma once
// Forward BEGIN
class IRenderDevice;
class RenderWindow;
class CLoader;
// Forward END
struct IApplication
{
virtual ~IApplication() = 0 {};
virtual void DoBeforeRun() = 0;
virtual int DoRun() = 0;
virtual void DoAfte... | [
"alexstenfard@gmail.com"
] | alexstenfard@gmail.com |
fca382a2e754faa7e481cb318a38875a1c0ccf8c | db4fbf3f7456c0dd9fafd0cfe9a017c6042d37f7 | /Hmwk/Review2_V2/main.cpp | 17c57576278714a1bb4b40c9909fc2406bb8faf3 | [] | no_license | Joseph-Scuiletti/Joseph_Scuiletti_CIS17C_42345 | 9e6b03f492bc20444c002776bf7ec656d7be58ae | e58edc4c2ea30a5c620590da73ec57478105a8ea | refs/heads/master | 2021-04-18T19:32:21.279385 | 2018-03-22T01:29:49 | 2018-03-22T01:29:49 | 126,261,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | cpp | /*
* Author: Adrian Lopez
* Created on February 25, 2018, 8:54 AM
* Purpose: Abstraction, Operator Overloading,
* Copy Construction and Polymorphism
*/
//User Libraries
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <iomanip>
using namespace std;
//User Libraries
#include "PlusTab.... | [
"Joseph.Scuiletti@gmail.com"
] | Joseph.Scuiletti@gmail.com |
d8c07282af5fa22b827917f8f974db98cc9e330e | fd2ac550f46299619abdc0af4738ea8a7d414182 | /tictactoe_OnInit.cpp | 6d99f8829512b509a9e14e4e50a12f6ef75310f8 | [] | no_license | sayoder/tictactoe | 1114aa09d7df3b66848230ea2333e8ddc3563d32 | 159e35a0f721a82122d994ffeb35ffc4012abb10 | refs/heads/master | 2021-05-28T06:41:26.132858 | 2012-12-31T18:32:51 | 2012-12-31T18:32:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | #include "tictactoe.h"
#include "CSurface.h"
bool CApp::OnInit()
{
if(SDL_Init(SDL_INIT_EVERYTHING) < 0)
{
return false;
}
if((Surf_Display = SDL_SetVideoMode(600, 600, 32, SDL_HWSURFACE | SDL_DOUBLEBUF)) == NULL)
{
return false;
}
if((Surf_Grid = CSurface::OnLoad((char *)... | [
"seth.a.yoder@gmail.com"
] | seth.a.yoder@gmail.com |
c9321c40025d09b57497476fbe93e5d6ec233638 | a2e3ed314ac40f7054a6aa75d20a85c5e0c761f8 | /functions.cpp | 8a101bf549f2f014eb6471dc776b762bc21308ac | [] | no_license | Sukhov-Dmitriy/TASK1 | aec4e25f14e840a92a0de1ea89ad16f8b6211ebf | 9919100f7eb5dc5ecad032f7c683adee194f40e2 | refs/heads/master | 2022-09-27T21:50:43.329916 | 2020-05-30T11:02:45 | 2020-05-30T11:02:45 | 267,544,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,749 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include "functions.h"
using namespace std;
CRat *CreateData(ifstream &input, CRatFactory** f){
int I;
int d = 2;
string filename;
CRat *rat = NULL;
input >> I;
input >> filename;
input >> d;
rat = f[I]->create_dat(d);... | [
"noreply@github.com"
] | Sukhov-Dmitriy.noreply@github.com |
2e88c52ac5528ee87c47d353386b8caa6090a313 | 8cf32b4cbca07bd39341e1d0a29428e420b492a6 | /externals/magic_get/include/boost/pfr/flat/functions_for.hpp | 174fa803f0973e6bf161b67cc6db84787f83ad7f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | cubetrain/CubeTrain | e1cd516d5dbca77082258948d3c7fc70ebd50fdc | b930a3e88e941225c2c54219267f743c790e388f | refs/heads/master | 2020-04-11T23:00:50.245442 | 2018-12-17T16:07:16 | 2018-12-17T16:07:16 | 156,970,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,973 | hpp | // Copyright (c) 2016-2017 Antony Polukhin
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PFR_FLAT_FUNCTIONS_FOR_HPP
#define BOOST_PFR_FLAT_FUNCTIONS_FOR_HPP
#pragma once
#include <boost... | [
"1848@shanchain.com"
] | 1848@shanchain.com |
ff017beeab2f158785304b0dffda2af3afa91d44 | 5b7e69802b8075da18dc14b94ea968a4a2a275ad | /DRG-SDK/SDK/DRG_BP_DownedState_classes.hpp | 45a39d789b824d4aea715a369527dc01ac091f96 | [] | no_license | ue4sdk/DRG-SDK | 7effecf98a08282e07d5190467c71b1021732a00 | 15cc1f8507ccab588480528c65b9623390643abd | refs/heads/master | 2022-07-13T15:34:38.499953 | 2019-03-16T19:29:44 | 2019-03-16T19:29:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | hpp | #pragma once
// Deep Rock Galactic (0.22) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "DRG_BP_DownedState_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
d13f7ee5a8f0e6f4a13f0f31df4aca5211a3d605 | 6f368f32d3b57c9c154e1b90bd2771fd382cb969 | /datos/src/Conserje.cpp | c4e491d32a7571eeaced9e2dec9988ba2c8b8f40 | [] | no_license | alexa1999/ciencia1 | 6014ce39f446a16f60f274c886c6126af8d3e021 | 2b85fcad78301775825d3435c87a06a48ce31ffb | refs/heads/master | 2021-01-22T20:35:19.885674 | 2017-06-22T21:02:59 | 2017-06-22T21:02:59 | 85,333,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | cpp | #include "Conserje.h"
/*
Conserje::Conserje()
{
//ctor
}
Conserje::~Conserje()
{
//dtor
}*/
| [
"noreply@github.com"
] | alexa1999.noreply@github.com |
3cd2bf0a15b092ba6c121b320591cde7ca4b3d4c | 18a3f93e4b94f4f24ff17280c2820497e019b3db | /geant4/G4OpticalPhoton.hh | 5c0993c8d561a386e082875fbc54cac38e996fef | [] | no_license | jjzhang166/BOSS_ExternalLibs | 0e381d8420cea17e549d5cae5b04a216fc8a01d7 | 9b3b30f7874ed00a582aa9526c23ca89678bf796 | refs/heads/master | 2023-03-15T22:24:21.249109 | 2020-11-22T15:11:45 | 2020-11-22T15:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,873 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"r.e.deboer@students.uu.nl"
] | r.e.deboer@students.uu.nl |
d9d2558ce9687921194972b2cd0892d0b38b6b8a | 6217d4f626845b0aed65d470f572faff6977e4fd | /汇编/014_无符号数条件转移指令JB JNAE JC(小于)/014_无符号数条件转移指令JB JNAE JC(小于).cpp | c44906658ace9082bc6fae8787580d783f7a0476 | [] | no_license | JohnGoods/assembly | 93ded89e542d2653a0d720b84d61e6ef71df2295 | 2cfc0aff4218202c643eb05edb9eecb7690103ad | refs/heads/master | 2021-09-03T10:55:39.324024 | 2018-01-08T13:41:11 | 2018-01-08T13:41:11 | 115,529,349 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 411 | cpp | // 014_无符号数条件转移指令JB JNAE JC(小于).cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
printf("begin\n");
int a = 3, b = -5;
unsigned int a2 = a, b2 = b;
if (a2 >= b2)//无符号的生成JAE JNB 不够减借位
if (a >= b) ///<时不跳转>时跳转带符号的生成JGE JNL指令
{
printf("do if\n");
}
return 0;
}
| [
"469672930@qq.com"
] | 469672930@qq.com |
1bcb31f87a6dbe2e653da6aec776f751ff91cc2e | f798e5955febcbb5e053604dde0056225954e956 | /InterviewBIT/FindPermutation.cpp | b3ef21f5bdcd724816fc6b77ce8f1a003c0dc447 | [] | no_license | atulRanaa/problem-solving-directory | bd129da93f205602fd1b596a80d98ca3c164020f | 3c261a7a57591203d0fb502859a0e388f9b09ae1 | refs/heads/master | 2022-09-02T00:22:02.199595 | 2022-08-22T07:14:56 | 2022-08-22T07:15:41 | 177,447,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | cpp | vector<int> Solution::findPerm(const string A, int B) {
vector<int> ans(A.size() + 1);
int len = A.size();
ans[0] = 1;
for(int i=0;i<len;i++) {
if(A[i] == 'D') ans[i+1] = ans[i]-1;
if(A[i] == 'I') ans[i+1] = ans[i]+1;
}
int minEle = *min_element(ans.begin(), ans.end());... | [
"atul.rana@go-mmt.com"
] | atul.rana@go-mmt.com |
ecb1df6c8926f4a4c304fdebc5b7f6ca52c0a93e | f77c4ec541e90cdb6363a399f3076111355ffc36 | /codeforces/round611/c.cpp | 859cc9042155c9333da5536bd738b94c1c0ef8eb | [] | no_license | mattagar6/Programming-Contests | c569dd8be4e8cf57424b0785f5636c028fcd883b | 7a969ac893d10dfb861dae1cdeb536dc3203df77 | refs/heads/master | 2021-06-20T09:19:25.905243 | 2021-06-15T15:44:25 | 2021-06-15T15:44:25 | 219,605,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,482 | cpp | #include <bits/stdc++.h>
#define all(x) x.begin(), x.end()
#define pb push_back
#define eb emplace_back
#define mp make_pair
#define nav(...) "[ " << #__VA_ARGS__ ": " << (__VA_ARGS__) << " ] "
using namespace std;
typedef vector<int> vi;
typedef pair<int, int> pii;
typedef long long ll;
template<class T> struct rge { ... | [
"noreply@github.com"
] | mattagar6.noreply@github.com |
432f6f11762a65aa700650f594873d4e86980b0c | 9c4f48b6e8c71a0989f04bceb3f223a43d031c15 | /moderate/predict_the_number.cpp | 939baaf6c985e5e940f064113316e6913cecce12 | [] | no_license | joeyuan19/CodeEval | c1c696cc7ad4f00e67e788cc6b707fe859aad70d | cf85c8665a6d1b541be7d5aae7d66ce76c32c37b | refs/heads/master | 2020-04-04T22:24:18.680053 | 2018-11-06T03:53:05 | 2018-11-06T03:53:05 | 156,322,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
long long nearestPow2(long long n) {
int c = 0;
while (n > 1) {
n = n >> 1;
c++;
}
n = 1;
for (int i = 0; i < c; i++) {
n = n << 1;
}
return n;
}
char cycle(char c) {
... | [
"joe.yuan19@gmail.com"
] | joe.yuan19@gmail.com |
118e64ef7216ba09729a06ed6dc3c617587e5788 | af757d873c431a899438f66220027ae4f10c59e6 | /node_modules/marionette-client/node_modules/sockit-to-me/externals/v8/src/factory.h | cde84325dcf755c059618672157427a97dc97c7e | [
"bzip2-1.0.6",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | a-os/gaia-node-modules | fb57372d1b2b0dc1ae6e0cb650b0c3ef9f69d74b | 43c434626a862bc092f825175bc88d11988c4d6a | refs/heads/master | 2021-01-22T00:51:10.683335 | 2015-07-03T23:02:03 | 2015-07-03T23:02:37 | 38,414,532 | 0 | 0 | null | 2015-07-02T06:06:26 | 2015-07-02T06:06:26 | null | UTF-8 | C++ | false | false | 22,284 | h | // Copyright 2012 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | [
"gaye@mozilla.com"
] | gaye@mozilla.com |
4613bfa134638d7351009095aed61ba0a0a90c0c | c075cfe521103977789d600b61ad05b605f4fb10 | /тренировка2/ZAD_K.cpp | d90d489723bf96847ab4533f94908cf96541e64b | [] | no_license | igoroogle/codeforces | dd3c99b6a5ceb19d7d9495b370d4b2ef8949f534 | 579cd1d2aa30a0b0b4cc61d104a02499c69ac152 | refs/heads/master | 2020-07-20T12:37:07.225539 | 2019-09-05T19:21:27 | 2019-09-05T19:35:26 | 206,639,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | cpp | #include "bits/stdc++.h"
using namespace std;
#define x first
#define y second
#define pb push_back
#define mp make_pair
#define all(a) (a).begin(), (a).end()
#define sz(a) int((a).size())
#define sqr(a) ((a) * (a))
#define forn(i, n) for (int i = 0; i < int(n); i++)
typedef unsigned int unt;
typedef long long ll;
t... | [
"160698qnigor98"
] | 160698qnigor98 |
d87a4888edd6fbefefed202f64ddf71d4e9fa76b | c303c76aa21b1d65d00f5a965a2bed6b02f070be | /src/wasm/baseline/x64/liftoff-assembler-x64.h | 4628b0f7edc8e4461cf45b8ef318752856d82902 | [
"bzip2-1.0.6",
"SunPro",
"BSD-3-Clause"
] | permissive | andrew-cc-chen/v8 | 6339353959bcb582924b6437813167a59503a6ca | fddcf5a67538c73996518de6b7160b0a412947a1 | refs/heads/master | 2020-03-24T05:25:48.439227 | 2018-07-26T16:44:20 | 2018-07-26T17:28:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,587 | h | // Copyright 2017 the V8 project 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 V8_WASM_BASELINE_X64_LIFTOFF_ASSEMBLER_X64_H_
#define V8_WASM_BASELINE_X64_LIFTOFF_ASSEMBLER_X64_H_
#include "src/wasm/baseline/liftoff-assembl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4dad02b0e551b2428019731ba0866ff77b4e39f8 | 6f69622c84e625633fe107ecf0453a54c54aa531 | /dsa/cses/graph/gameroutes.cpp | 88c80243d40a28a5bc06d91a1ea402e02354218b | [] | no_license | skrstv123/CP-ALGO | f1f7ca5d19c3d9f538ff33ac2510e01739b9bbe6 | 835f676166ab1088951b8f6ef6c083dacf62e055 | refs/heads/master | 2021-07-26T21:32:54.572089 | 2021-07-06T10:11:00 | 2021-07-06T10:11:00 | 215,589,822 | 0 | 2 | null | 2020-10-05T16:16:30 | 2019-10-16T16:05:09 | Python | UTF-8 | C++ | false | false | 1,733 | cpp | // Created by skrstv123
#include <bits/stdc++.h>
using namespace std;
#define ar array
#define ll long long
#define range(i, start, end ,step) for(ll i=start ;i<end; i += step)
#define rep(i,s,e) for(ll i=s;i<=e;++i)
#define reparr(arr) for(auto x: arr) cout<<x<<" ";
#define repr(i,e,s) for(ll i=e; i>=s; i--)
#define v... | [
"skrstv123@gmail.com"
] | skrstv123@gmail.com |
846252cc2dfcd46b2814956f5f897bbaa986e3d8 | c15eb5614c7111859f5441f1ef7555aeddf33197 | /Project_171005/Project_171005/TicketMachine.h | 968cb744be70f07305a5d805c42204963fa04127 | [] | no_license | itachixc/learning-c- | b058f11a50f5b1c16957b024fa891255e75dabbb | 2b121f0a6add50fa85bf7de1b21c2307ed7b474a | refs/heads/master | 2021-08-07T11:49:09.834403 | 2017-11-08T03:55:46 | 2017-11-08T03:55:46 | 105,867,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | #pragma once
class TicketMachine
{
public:
TicketMachine();
~TicketMachine();
void showPrompt();
void insertMoney(int money);
void showBalance();
void printTicket();
void showTotal();
private:
const int PRICE;
int balance;
int total;
};
| [
"itachi@mail.ustc.edu.cn"
] | itachi@mail.ustc.edu.cn |
d15231d90c8b0f5c2262dd5aaf086a941c11f352 | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /MDProcess/MDAModel/impl/RoseModelImpl/ImplementedItemImpl_factory.h | 85713928dad7b65914df52b39ff8f68162572c6e | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,894 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Модуль: "w:/MDProcess/MDAModel/impl/RoseModelImpl/ImplementedItemImpl_factory.h"
// генератор заголовочных файлов для фабрик интерфейсов (.h)
// Generated from UML model, root element: <<Servan... | [
"instigator21@gmail.com"
] | instigator21@gmail.com |
f203e5645fb7bac39b0dc72d59a56df639e6ea87 | b443e5377d348394015f611bb15c4186415215be | /game66/server/servers/war_server/src/game_imple_table.cpp | 35dcaa96158a57da6fe7be4aef8151561d3955a2 | [] | no_license | lemontreehuang/game66 | 67c029fc6ad0ca62de82eeee9533e3ab34287bc8 | afc7532c8e84e8743e403d4b39a1cccd187c8e29 | refs/heads/master | 2023-03-16T00:23:58.639075 | 2020-10-14T13:40:19 | 2020-10-14T13:40:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 104,338 | cpp |
#include <data_cfg_mgr.h>
#include <center_log.h>
#include "game_imple_table.h"
#include "stdafx.h"
#include "game_room.h"
#include "json/json.h"
#include "robot_mgr.h"
using namespace std;
using namespace svrlib;
using namespace net;
using namespace game_war;
namespace
{
const static uint32 s_FreeTime ... | [
"53386482+luoweiqiao@users.noreply.github.com"
] | 53386482+luoweiqiao@users.noreply.github.com |
4575b45e232329636230f1eff414e45e80dd0730 | 3db3033c14e26ad7db8714f85e52d62495078cad | /tests/compile_time/source/include.version.cpp | 38abe959da4348528b68a2a2d7457d190ea945d4 | [
"BSL-1.0"
] | permissive | ThePhD/itsy_bitsy | bf8e901ad8961eeef5e293ff75da92fd72556c6a | d5b6bf9509bb2dff6235452d427f0b1c349d5f8b | refs/heads/main | 2022-08-13T22:05:44.236268 | 2022-08-01T17:42:49 | 2022-08-01T17:42:49 | 193,730,863 | 115 | 17 | NOASSERTION | 2022-07-17T15:18:54 | 2019-06-25T15:05:21 | C++ | UTF-8 | C++ | false | false | 335 | cpp | // itsy.bitsy
//
// Copyright ⓒ 2019-present ThePhD.
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See https://github.com/ThePhD/itsy_bitsy#using-the-library for documentation.
#include <itsy/v... | [
"phdofthehouse@gmail.com"
] | phdofthehouse@gmail.com |
017402df3fa9b224396a8dab42ab70524bee7ab3 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/net/rras/cm/ccfgnt/debug.cpp | 5eaa4d4860f74d71345b131e245bc8cfd0ff7f99 | [] | 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 | 3,434 | cpp | /*-----------------------------------------------------------------------------
debug.cpp
This file implements the debuggin features
Copyright (c) 1996-1998 Microsoft Corporation
All rights reserved
Authors:
ChrisK Chris Kauffman
Histroy:
7/22/96 ChrisK Cleaned and formatted
7/31/96 ValdonB Changes for ... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
193595138bd62c733db37ec35731bc0786a5852f | d09092dbe69c66e916d8dd76d677bc20776806fe | /.libs/puno_automatic_generated/inc/types/com/sun/star/ui/ItemType.hpp | d052488a5f842fd5674497e2fb678edc801b02a0 | [] | no_license | GXhua/puno | 026859fcbc7a509aa34ee857a3e64e99a4568020 | e2f8e7d645efbde5132b588678a04f70f1ae2e00 | refs/heads/master | 2020-03-22T07:35:46.570037 | 2018-07-11T02:19:26 | 2018-07-11T02:19:26 | 139,710,567 | 0 | 0 | null | 2018-07-04T11:03:58 | 2018-07-04T11:03:58 | null | UTF-8 | C++ | false | false | 182 | hpp | #ifndef INCLUDED_COM_SUN_STAR_UI_ITEMTYPE_HPP
#define INCLUDED_COM_SUN_STAR_UI_ITEMTYPE_HPP
#include "com/sun/star/ui/ItemType.hdl"
#endif // INCLUDED_COM_SUN_STAR_UI_ITEMTYPE_HPP
| [
"guoxinhua@10.10.12.142"
] | guoxinhua@10.10.12.142 |
e6277e7d60d6ec9a08477b3cb3b796dbf831a407 | ff93b3d44693687f0e8dd9dec525ce4ac08c317c | /agents/Player/ruleset.h | 0afbe43baf17ce4f56107440afe7cde9651f814b | [] | no_license | agiordana/HAT | 6ea2b5a6b3a635e6702ccf8573133a65c8c14c9a | f61f0783c8d9f9d4e3b1374eb6475f4d88f95ff9 | refs/heads/master | 2020-12-24T07:54:07.078444 | 2018-10-01T12:39:05 | 2018-10-01T12:39:05 | 59,103,594 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,701 | h | /*
* ruleset.h
* mngagent
*
* Created by Attilio Giordana on 1/13/12.
* Copyright 2012 Università del Piemonte Orientale. All rights reserved.
*
*/
#ifndef _mngagent_ruleset_
#define _mngagent_ruleset_
#include "agentlib.h"
#include "rule.h"
#include "eventcounterset.h"
#include "BooleanConditionSet.h"
cl... | [
"noreply@github.com"
] | agiordana.noreply@github.com |
b1a44e3d22922983fdeab36495892fa564da924f | a5d5f8f8bb2568254aaa4bf572d67c7dfc097ca4 | /sample_project/Classes/RankScene.hpp | 79c0833cf6abed50a2719003a4eca959709c68a4 | [
"MIT"
] | permissive | gary9987/oop-bang-game-project | a4a89cc2a256502a9693cca52ebbb6d8452eee6f | 99ce8ef0089d1286321e82ffc74b380bf0d51316 | refs/heads/master | 2022-01-18T16:00:50.386773 | 2019-06-14T14:33:27 | 2019-06-14T14:33:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | hpp | //
// RankScene.hpp
// HelloCpp-mobile
//
// Created by Guan Ying Chen on 2019/5/18.
//
#ifndef RankScene_hpp
#define RankScene_hpp
#include "cocos2d.h"
#include "ui/CocosGUI.h"
class RankScene : public cocos2d::Scene{
public:
static cocos2d::Scene *createScene();
bool init() override;
... | [
"s310068@shsh.tw"
] | s310068@shsh.tw |
e5ea8fa915728375bb3055ab7539f41f8ae762db | 6ee40cae3a87cbe0fc2140d87839bf947264493b | /guiPageInterface.h | 3885b07b70f78fbe8cf6979af91264fd322f7e58 | [] | no_license | wangxingchao/qt_printer_v0 | 570c13ed5dfa001f00524ef7bbe1b8c3da64a856 | 00c1196f45ea6b269b34de81273822af9e8da0e3 | refs/heads/master | 2020-04-06T03:42:12.056968 | 2013-03-24T10:23:46 | 2013-03-24T10:23:46 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,893 | h | #ifndef GLOBALVARIABLE_H
#define GLOBALVARIABLE_H
#include "PMJOpMessage.hh"
/***页面请求处理过程:页面请求按钮触发后,界面侧将数据打包,调用函数HandPageRequestAction
***此函数有三个参数:
*** PageNo int 表示页面的ID号码,见<<guiPageDef.h>>中的定义
*** IENo int 表示子页面的ID号码,见<<guiPageDef.h>>中的定义
*** Data void* ... | [
"root@ubuntu.(none)"
] | root@ubuntu.(none) |
621c216ac3dc4cc8d2216bcc50a6eac9943ebc22 | c665670b6dde521d7faadfe1958b38b19d16bc80 | /firmware/Font16.cpp | 906d6dc173f4be15afa36e012eecb6952cfa3721 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | menan/Adafruit_ST7735_AS | 380587bec563d99bd00e3446fde126943350d3c3 | 6aacda9328eadc9125113532ec22e56921c4f716 | refs/heads/master | 2016-09-06T09:00:19.220898 | 2015-03-05T18:26:36 | 2015-03-05T18:26:36 | 31,642,207 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 28,767 | cpp | // Font size 2
#include "Font16.h"
#ifdef __AVR__
#include <avr/pgmspace.h>
#else
#define PROGMEM
#endif
PROGMEM const unsigned char widtbl_f16[96] = // character width table
{
5, 2, 3, 8, 7, 8, 8, 2, // char 32 - 39
6, 6, 7, 5, 2, 5, 4, 6, // char 40... | [
"menan89@gmail.com"
] | menan89@gmail.com |
9c58037b2a0f7536eb29e661540c5f47d40cd2e5 | 857b6981c88910a1b4d05a47cfe5f46987894d51 | /lfwu/chapter14/str_blob/StrBlob.h | 2ed246632fc9316d660f68853b17ffd7679107b4 | [] | no_license | xiaoy/CPrimer | 6bc23216e6e2b865ec2c0a490ff675f4e0e16f4e | 457e70edfe59649bed5082878603ec06e2629284 | refs/heads/master | 2021-01-23T20:17:14.834368 | 2014-02-25T00:18:45 | 2014-02-25T00:18:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,019 | h | // -------------------------------------------------------------------
// Author: lfwu
// Date: January-08-2014
// Note:
// Email:zgwulongfei@gmail.com
// Blog:http://blog.csdn.net/hackmind
// -------------------------------------------------------------------
#ifndef STR_BLOB_
#define STR_BLOB_
#include <string>
#inc... | [
"zgwulongfei@gmail.com"
] | zgwulongfei@gmail.com |
e74583c09bc405ef53f412cb092b4946216df60c | fe0348f5acb816e01a1ce8e30f8a60cb1e94376f | /Source/ActionRPGGame/UI/Abilities/ARUIAbilityManagerComponent.cpp | 8c7c9de7a0113da43e1bf77d266d3d8ad0a7ebf7 | [] | no_license | gragonvlad/ActionRPGGame | f8bd366f61260aa951a84811160aea700ce71c78 | 9cf8aac653c7a3dacf5d14be06960d8758fd1aab | refs/heads/master | 2021-01-01T20:33:43.067586 | 2017-07-27T21:45:46 | 2017-07-27T21:45:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,842 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "ARUIAbilityManagerComponent.h"
#include "ARAbilityInfoWidget.h"
#include "ARWeaponInfoWidget.h"
#include "ARPlayerController.h"
#include "AFAbilityComponent.h"
#include "AssetRegistryModule.h"
#include "Engine/AssetManager.h"
#inc... | [
"xeavien@gmail.com"
] | xeavien@gmail.com |
8c9c3cd33cb62c20e7048c7a62d0bea91ba90c03 | ecc942e8cd0caef5e29ca015c7cc4dadd8a41d46 | /迷宫1605.cpp | ac7e7f4704443267049fb73d29d7e7df69ed4203 | [] | no_license | 666Tim517/yaochenyang | 566057944785ddf1077db6126f1f5308fb7367ea | 82424d24156b45821f0af627f5deb2bcea473297 | refs/heads/main | 2023-01-24T03:14:20.616389 | 2020-11-15T03:22:07 | 2020-11-15T03:22:07 | 311,522,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | #include<iostream>
using namespace std;
#define N 1000
int map[N][N]={0},v[N][N]={0};
int n,m,t,sx,sy,fx,fy,ans=0;
int dx[4]={0,1,0,-1};
int dy[4]={1,0,-1,0};
void dfs(int x,int y)
{
int tx,ty;
if(x==fx&&y==fy)
{
ans++;
return;
}
else
{
for(int i=0;i<4;i++)
{
tx=x+dx[i];
ty=y+d... | [
"noreply@github.com"
] | 666Tim517.noreply@github.com |
4e6c7924378a1d366362badf9e46f2795993581d | 8929c305fc101641cbb615f5f4108a36d9aae9bb | /inorder.cpp | 70d9c2e8386d66d19fbb8be60ae26836c8e03633 | [] | no_license | rresol/Practice | 629403d32bc0e2d80ad3769527ca6ab8338593c0 | 13b9bb892af6a051b23db5023a906078849365be | refs/heads/master | 2021-01-12T18:06:27.145251 | 2017-10-04T10:06:11 | 2017-10-04T10:06:11 | 71,325,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | void MorrisTraversal(root)
{
if(root==NULL)
return;
current = root;
while(current!=NULL)
{
if(current->left==NULL)
{
current = current->right;
}
else
{
pre = current->left;
while(pre->right!=NULL || pre->right!=current)
{
pre = pre->right;
... | [
"shashank.kumar.apc13@itbhu.ac.in"
] | shashank.kumar.apc13@itbhu.ac.in |
ded0ac9a869fbfe0eb778a5effe35abbf8e9a987 | e3b893f45bfc94cd747632ce6d44243b26b01f48 | /src/gallium/drivers/radeon/AMDGPUInstrInfo.cpp | 2af036740ae6efec79b9af1606e2cced65140a0e | [
"NCSA"
] | permissive | altf4/mesa | 7a2cb55dacd96c6cf77b1ac82d220a56b730b426 | 6cb9e99a757bd5a9d908ed6c5515a9ae5fb041ba | refs/heads/master | 2020-07-02T00:50:59.749554 | 2012-08-09T20:55:07 | 2012-08-09T22:21:02 | 5,363,303 | 6 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 12,481 | cpp | //===-- AMDGPUInstrInfo.cpp - Base class for AMD GPU InstrInfo ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"thomas.stellard@amd.com"
] | thomas.stellard@amd.com |
77bdbee46b0b906e5ecbe438fee99efb62ea5627 | 379245deec58e0accd2cd943386955601d55fad3 | /src/base/sorted_block.cpp | 3a1f97a41db424bef0e6a15cda939dbd55e6d3b5 | [] | no_license | karpachev/DummyDB | 0a393e38a1ab030803996558e098b4b075813b48 | c0d6480e55c88009a594db0fc664d49288f7730a | refs/heads/master | 2021-06-21T20:44:47.731941 | 2017-01-18T13:47:30 | 2017-01-18T13:47:30 | 33,487,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,210 | cpp | #include "sorted_block.h"
#include <stdio.h>
namespace DummyDB
{
SortedBlock::SortedBlock()
{
block_size = 0;
}
SortedBlock::~SortedBlock()
{
//dtor
}
Result<Value>
SortedBlock::set(const Key& key, const Value& value)
{
std::vector< std::pair<Key,Value> >::iterator it;
for(it=block.begin(); it!=block... | [
"v.karpachev@gmail.com"
] | v.karpachev@gmail.com |
97ab433111963c83e90c98e6542e07f110e00779 | 2147d0d957b3189d0a87fd31d84812556bb379f5 | /include/qlib/QPride.hpp | 9fb1f9fbcac965c1830d8c390fcc4176cf3b3369 | [] | no_license | kkaragiannis/DVG-profiler | 74d894f44c4f6e752e943ff2b0f4e2aaa473300c | a35e65ef255ab3dc90da1e1087d5c4a7a9b41e0a | refs/heads/master | 2020-04-11T08:53:07.643424 | 2018-12-14T01:26:04 | 2018-12-14T01:26:04 | 161,658,993 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,897 | hpp | /*
* ::718604!
*
* Copyright(C) November 20, 2014 U.S. Food and Drug Administration
* Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al
* Affiliation: Food and Drug Administration (1), George Washington University (2)
*
* All rights Reserved.
*
* The MIT License (MIT)
*
* Permission is hereb... | [
"anton.golikow@gmail.com"
] | anton.golikow@gmail.com |
148feca3a2f91d61642bef445767e6544836862b | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE23_Relative_Path_Traversal/s01/CWE23_Relative_Path_Traversal__char_environment_ifstream_67a.cpp | 3a5f6763ee62a9f1812a9773268cce29af299e38 | [] | 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 | 3,074 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__char_environment_ifstream_67a.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-67a.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: environment Read input fro... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
550a76c036dcd11c7f14119eb7203bb28cab5b83 | 490e31feed48a2e2a2ce41fbb235c68265f22d90 | /c++/32/32-3.cpp | 1844a6ad7a88ba6392b1bbbb4a3ea2533b83f5e4 | [] | no_license | jianweiyao/Code | eef804f0f6fb30676f63b2af7067619c79e2c3e9 | ed578982eab492179d561acc7a8e747a580e581f | refs/heads/master | 2020-03-18T21:11:46.710924 | 2018-06-14T04:05:11 | 2018-06-14T04:05:11 | 135,265,609 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | cpp | // C++中的输入输出
#include <iostream>
#include <cmath>
using namespace std;
int main(int argc, const char *argv[]) {
cout << "Hello world!" << endl;
double a = 0;
double b = 0;
cout << "Input a: ";
cin >> a;
cout << "Input b: ";
cin >> b;
double c = sqr... | [
"319807036@qq.com"
] | 319807036@qq.com |
1283cb683c996e2948156687d8ad21be63b894e7 | 9e5371d85db2a3406a414f472b20a9e3ec837909 | /SideScroller/Source/SideScroller/MyCharacter.h | 77697d952c904db2193ac0ae772033a6bfba5a0a | [] | no_license | adaless5/2DSouls | 31b1e81994cd18e9b2f580a470d71f4fc167aac1 | 24cafe20687d14a1274763cf86f2a0cdab9fae4d | refs/heads/master | 2022-12-14T08:56:43.796634 | 2020-09-02T15:33:28 | 2020-09-02T15:33:28 | 258,704,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "MyCharacter.generated.h"
UCLASS()
class SIDESCROLLER_API AMyCharacter : public ACharacter
{
GENERATED_BODY()
public:
// Sets default values for this c... | [
"dale0135@algonquinlive.com"
] | dale0135@algonquinlive.com |
318716264cbc2491993d1f2f18e301dbbf068368 | 57f24846a3fa3670c8519af87e658eca120f6d23 | /B2_CoarseMesh/2/p | 1147a5ac28e2210f31d9b71f6654bb85278b8c4a | [] | no_license | bshambaugh/openfoam-experiments | 82adb4b7d7eb0ec454d6f98eba274b279a6597d8 | a1dd4012cb9791836da2f9298247ceba8701211c | refs/heads/master | 2021-07-14T05:53:07.275777 | 2019-02-15T19:37:28 | 2019-02-15T19:37:28 | 153,547,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262,103 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"brent.shambaugh@gmail.com"
] | brent.shambaugh@gmail.com | |
f8148803d5e2a0a5adade22a2691c046afa64a33 | d87a64d5a7fbb80658f97d75e7ac148fe5e99ac7 | /coding-blocks-course/challenges-fundamentals/print-reverse.cpp | d9e40338daf9ae9ebb0366b2b73339469d46fe1c | [] | no_license | Ctrl-Code/Files | 435a9a517611bc9cad6564e0349e3dbed6bc07cf | c3fae0168a8c2fb2f0b028348d5d0cc536d70b28 | refs/heads/master | 2021-07-06T05:18:49.339047 | 2020-07-29T20:18:38 | 2020-07-29T20:18:38 | 135,023,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | // ctrl-code: 2007261300
#include <iostream>
int main()
{
int number, answer = 0, temp;
std::cin >> number;
while (number)
{
temp = number % 10;
answer = (answer * 10) + temp;
number /= 10;
}
std::cout << answer;
return 0;
} | [
"chebomsta@gmail.com"
] | chebomsta@gmail.com |
2fa119ed0d5f81a99b52b7f388ed956b2e29e117 | aa87d3ce0e0f4b1db28e40385bd155e2ba31ef56 | /ParseParameter/ParseParameter.cpp | 22de67265bb9b16031f1e3399548a48d8fc70242 | [] | no_license | foocoder/HUAWEIOJ | b7a6bc38632db2703d95550d5ca568b4377ea927 | fe0b14dbc59623c7c1e3a3a70f10972c21d8eda6 | refs/heads/master | 2021-01-20T06:14:30.699878 | 2017-05-15T06:18:30 | 2017-05-15T06:18:30 | 83,869,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | cpp | /*
*@@@@@@@@@@ File Information Start @@@@@@@@@@
* @file: ParseParameter.cpp
* @author: Fuchen Duan
* @email: slow295185031@gmail.com
* @github: https://foocoder.github.com
* @homepage: http://foocder.github.io
* @create at: 2017-04-23 14:12:28
* @last update: 2017-04-23 14:51:22
*... | [
"slow295185031@gmail.com"
] | slow295185031@gmail.com |
67ed472b31931830ce104751d4efaf3db2259406 | bfb9da168e51ad6d514b97059ad0ee0f45f3664f | /Action.cpp | 958830c7412e80b6e2656fa5b4440db42e25c942 | [] | no_license | orsaar0/SPLFLIX | da911c45135399e087e2b616ea57b356714a39a0 | f6eb5292f0833be789d7ee94080b00fbaaf00c20 | refs/heads/main | 2023-05-27T23:37:20.656904 | 2021-06-17T08:40:32 | 2021-06-17T08:40:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,302 | cpp | //#include "../include/Action.h"
#include "../include/User.h"
#include "../include/Session.h"
#include "../include/Action.h"
#include <string>
using namespace std;
// BaseAction Class
BaseAction ::BaseAction(): errorMsg(""), status(PENDING){}
BaseAction :: ~BaseAction () = default;
ActionStatus BaseA... | [
"noreply@github.com"
] | orsaar0.noreply@github.com |
1d56469fd33ff73d5eda8d8bedd5880820659a0f | b336c3db94667329eb1d0eea5b65d8df20fa5e3d | /libraries/Dragino/examples/IoTServer/Cayenne and TTN/cayenne and ttn example/GPS_shield examples/GPS_shield_cayenne_and_ttn-otaaClient/GPS_shield_cayenne_and_ttn-otaaClient.ino | f4496fa5d0822eee427d7b173e2947dbc95c22a7 | [] | no_license | AtemJosh/Arduino-Profile-Examples | c005c1b4f290d5143299e011402135ef8d661c11 | 656be9cbce75213c3fd01e3c7108faf715b59c4d | refs/heads/master | 2020-08-03T09:21:52.112851 | 2019-06-19T13:53:12 | 2019-06-19T13:53:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,834 | ino | /*******************************************************************************
* Copyright (c) 2019 Thomas Telkamp and Matthijs Kooijman
*
* Permission is hereby granted, free of charge, to anyone
* obtaining a copy of this document and accompanying files,
* to do whatever they want with them without any restric... | [
"44599451+engineer-lin@users.noreply.github.com"
] | 44599451+engineer-lin@users.noreply.github.com |
8848d9e4d13ab431efe1f08ecb2a8991a133578f | b16e2f8cc94df8320f9caf8c8592fa21b1f7c413 | /HDUOJ/1532/dinic.cpp | 4c08a3895186f1f6485ffa487eea490a83722de9 | [
"MIT"
] | permissive | codgician/Competitive-Programming | 000dfafea0575b773b0a10502f5128d2088f3398 | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | refs/heads/master | 2022-06-13T04:59:52.322037 | 2020-04-29T06:38:59 | 2020-04-29T06:38:59 | 104,017,512 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,990 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <string>
#include <cstring>
#include <iomanip>
#include <climits>
#include <vector>
#include <queue>
#include <set>
#include <map>
#define VERTEX_SIZE 201
#define EDGE_SIZE 401
using namespace std;
typedef struct _Edge
{
int to;
... | [
"codgician@users.noreply.github.com"
] | codgician@users.noreply.github.com |
c6fc397bd0545d5b7e115e5d90d7886444a838af | b2b631c3aaf7ff9384023610f2038911be22f123 | /TestWeightedGraph.cpp | 2b97b34de5c15e376d3872dddc10bf407ec0f376 | [] | no_license | aberry5621/cplusplus_book_source_code | a7e68da30599b7526387870c207ae40f4091b7da | 094941d135bc2654fe2d0ec041f3ad1de243adb9 | refs/heads/master | 2021-01-12T16:27:15.237724 | 2016-09-26T17:43:58 | 2016-09-26T17:43:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,672 | cpp | #include <iostream>
#include <string>
#include <vector>
#include "WeightedGraph.h"
#include "WeightedEdge.h"
using namespace std;
int main()
{
// Vertices for graph in Figure 24.1
string vertices[] = {"Seattle", "San Francisco", "Los Angeles",
"Denver", "Kansas City", "Chicago", "Boston", "New York"... | [
"alexberry721@gmail.com"
] | alexberry721@gmail.com |
cc2d2db86a10684d41f52906296731b168df61ac | c31b5a50b294bac12c12d4a9ed5a27e62e180285 | /libsrc/domain/MDBOrderPlacerJapanese.cpp | 3c0f392efbb66ad85776947a997d41c4da178f71 | [] | no_license | IHE-WUSTL/mesa | 6192bf0ab76c770945e432f1078404e883a09c7f | 6cfa6dcba8b39214975ebaed3be89b53a683e20b | refs/heads/master | 2020-03-08T06:27:53.528645 | 2018-04-03T19:54:46 | 2018-04-03T19:54:46 | 127,972,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,252 | cpp | //
// Copyright (C) 1999, 2000, HIMSS, RSNA and Washington University
//
// The MESA test tools software and supporting documentation were
// developed for the Integrating the Healthcare Enterprise (IHE)
// initiative Year 1 (1999-2000), under the sponsorship of the
// Healthcare Info... | [
""
] | |
9b4ff45992553401cc42cb3f1cf01dd1ecef2a85 | 38b057c7dea2e7b9015e3fce67726cb1678a90b1 | /libs/z3/src/tactic/generic_model_converter.h | 750a22cd41c65b8bd774de667ab9132f6beac0ba | [
"MIT"
] | permissive | anhvvcs/corana | 3ef150667e8124c19238a3f75a875096bbf698c5 | dc40868ee4ba1c6148547fb125fddccfb0d446c3 | refs/heads/master | 2023-08-10T07:04:37.740227 | 2023-07-24T20:41:30 | 2023-07-24T20:41:30 | 181,912,504 | 34 | 4 | MIT | 2023-06-29T03:32:18 | 2019-04-17T14:49:09 | C | UTF-8 | C++ | false | false | 1,900 | h | /*++
Copyright (c) 2017 Microsoft Corporation
Module Name:
generic_model_converter.h
Abstract:
Generic model converter that hides and adds entries.
It subsumes filter_model_converter and extension_model_converter.
Author:
Nikolaj Bjorner (nbjorner) 2017-10-29
Notes:
--*/
#ifndef GENERIC_MODEL_CO... | [
"anhvvcs@gmail.com"
] | anhvvcs@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.