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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bca87e931cecd76d7aa2a64c4afe633b825ca617 | f2a99e6d7bc4d9bf7563619be319b5d46c06144f | /samples/TWTemp/Classes/SteeringBehaviors/MovingEntity.cpp | 59b3e71403297060202850def713345cd8c59785 | [] | no_license | TinySlik/cocos-x-TW | d078207accf110845ce7cbc48582801385c006e2 | 227e09603d9abe06349d8c440d42c8edb0045165 | refs/heads/master | 2021-01-19T07:57:12.958160 | 2015-07-29T03:39:16 | 2015-07-29T03:39:16 | 39,171,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | cpp | //
// MovingEntity.cpp
// SmallEntityd
//
// Created by 张世杰 on 15/4/16.
//
//
#include "MovingEntity.h"
MovingEntity::MovingEntity(Vec2 Veloctitu,Vec2 Heading,Vec2 Side,double Mass,double MaxSpeed,double MaxForce,double MaxTurnRate):
BaseGameEntity(0),
m_vVeloctity(Veloctitu),
m_dMass(Mass),
m_dMaxForce(MaxForce),... | [
"tinysilk@hotmail.com"
] | tinysilk@hotmail.com |
dfbebade42bff38bca716a59c083d17a07d63523 | e13dbbddab25cabe84ab89b3c3d07af63cd94eaa | /cl/opencl1/DeviceAttributes.h | 4c0f7e4ee8d7b49c260f1549fa1ba90a8ab3065e | [
"Apache-2.0"
] | permissive | k-a-z-u/KLib | ffbb012960effe6300002252a8bc81e8c0bdeba2 | cd4d11fb68921b2ff42a6f90055447f5df9a5b1e | refs/heads/master | 2021-01-23T14:55:52.456927 | 2019-10-22T08:29:14 | 2019-10-22T08:29:14 | 15,876,434 | 2 | 3 | Apache-2.0 | 2019-10-01T13:09:08 | 2014-01-13T17:53:31 | C++ | UTF-8 | C++ | false | false | 3,232 | h | #ifndef K_CV_DEVICEATTRIBUTES_H
#define K_CV_DEVICEATTRIBUTES_H
#include "Base.h"
#include <string>
namespace K {
namespace CL {
/** all supported attributes */
enum DeviceAttribute {
NAME,
VENDOR,
DEVICE_VERSION,
DEVICE_PROFILE,
DRIVER_VERSION,
MAX_DIMENSION,
MAX_WORK_GROUP_SIZE,
MAX_WO... | [
"frank.ebner@web.de"
] | frank.ebner@web.de |
00da68f974f04bb97c71333139d8d346bc936a65 | 4d1b48aa0728c1cfb12f619b9cb6f598118b0edb | /asclinic-system/catkin_ws/src/asclinic_pkg/src/drivers/test/test_ina260_with_motors.cpp | ba9a9b5f0697680928bba1bd25a7751cd13898fd | [
"MIT"
] | permissive | dnggngn825/TheAutonomousRobot | fdc5c03b9903cc2cf90948508d9b6179f2f7318f | 23b9cd8a0a306080d7e887fa5039202422e78ce7 | refs/heads/main | 2023-06-13T04:17:10.105990 | 2021-06-29T04:19:57 | 2021-06-29T04:19:57 | 364,120,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,631 | cpp | #include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <iostream>
#include <bitset>
#include "i2c_driver/i2c_driver.h"
#include "ina260/ina260.h"
#include "pololu_smc_g2/pololu_smc_g2.h"
int main()
{
// Choose the I2C device.
const char * i2c_device_name = "/dev/i2c-1";
// Initialise a driver for th... | [
"53506074+dnggngn825@users.noreply.github.com"
] | 53506074+dnggngn825@users.noreply.github.com |
1b8b94bc20526407551fe29280bc0488edd08935 | e22b9a921c68871023fa8e59540c68ad3619c0b3 | /src/source/ENCMODE.cpp | cbdaeeb8e51401d7c8bb5a91b3a8765a31cef5d6 | [] | no_license | ejtagle/TMCStepper | 212aa9c7308c312dea213465f16d197afdcfefcc | 6edca480eb05b4d35da046006f08cfb568bf144c | refs/heads/master | 2020-03-28T14:46:04.357684 | 2018-09-10T06:21:55 | 2018-09-10T06:21:55 | 148,520,693 | 0 | 0 | null | 2018-09-12T18:01:44 | 2018-09-12T18:01:44 | null | UTF-8 | C++ | false | false | 1,759 | cpp | #include "TMCStepper.h"
#include "TMC_MACROS.h"
#define SET_REG(SETTING) ENCMODE_register.SETTING = B; WRITE_REG(ENCMODE);
#define GET_REG(SETTING) ENCMODE(); return ENCMODE_register.SETTING;
// ENCMODE
uint32_t TMC5130Stepper::ENCMODE() {
ENCMODE_register.sr = READ_REG(ENCMODE);
return ENCMODE_register.sr;
}
void ... | [
"teemu.mantykallio@live.fi"
] | teemu.mantykallio@live.fi |
a6e0f24d76fa398a29342513e7802457e4b4bc5d | 994c7af9d360deffff160aebd077ced941c48fa6 | /SceneObject.cpp | 9fd9982b82f6066b0bbda536bd408008207bb4e6 | [] | no_license | NadaG/OpenGLProjectNew | 2bf4b5cf91cf5477ced84b1d56c24a7523ccc98a | 1511c56dd2e98d49cfc931d6cc6d1dd346ef7a3c | refs/heads/master | 2022-06-24T00:18:36.349514 | 2017-09-21T03:23:46 | 2017-09-21T03:23:46 | 96,738,454 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,990 | cpp | #include "SceneObject.h"
int SceneObject::objectNum = 0;
SceneObject::SceneObject()
{
id = objectNum++;
this->positionVector = glm::vec3(0, 0, 0);
this->scaleVector = glm::vec3(1, 1, 1);
this->rotationMatrix = glm::mat4(1.0);
}
SceneObject::SceneObject(const Mesh& mesh)
: SceneObject()
{
id = objectNum++;
thi... | [
"wlgur01014@naver.com"
] | wlgur01014@naver.com |
fffaf5065803d5ea92b9f8ff0cf46605378f521c | d218faa224f830c0b87b2f2be539bf186a6d4525 | /Social Network App/h/Pic_Publication.h | fe6c107d77fd04eddb0b40627fccc59416e39b84 | [] | no_license | AlexandrPeev/OOP | 2fb0999254bec5bba8871032b95dc825935cb0fa | 3d4097b4da54dc5d0585b45230f6f8e6e5f68380 | refs/heads/master | 2020-05-29T17:00:53.033297 | 2019-05-29T18:32:07 | 2019-05-29T18:32:07 | 189,263,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | #pragma once
#include "Publication.h"
class Pic_Publication : public Publication
{
private:
Pic_Publication();
public:
Pic_Publication(const unsigned int& num, const User* usr, const char* cont);
virtual void Pic_Publication::Visualize(std::ofstream& ofs);
~Pic_Publication();
};
| [
"noreply@github.com"
] | AlexandrPeev.noreply@github.com |
bc6a6fd46b2b35b572cad2260b5727686f238774 | 6226d6aed3629aa4069c46971ffe764bb6c743f6 | /Server/Actor.cpp | ec4f1a99c2906f45f895257be9e057e49165ee78 | [] | no_license | Myway3D/Myway3D | 83c30258f1e3eae90e619269406acd0ddeac7887 | 39cf569993f62fc648cbba49ebf74b3f8a64e46a | refs/heads/master | 2020-04-22T20:24:15.817427 | 2014-03-09T14:25:23 | 2014-03-09T14:25:23 | 170,640,096 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include "stdafx.h"
#include "Actor.h"
svActor::svActor(int _actorId)
: mActorId(_actorId)
, mPosition(0, 0, 0)
, mDirection(0)
, mMapId(-1)
{
}
svActor::~svActor()
{
}
void svActor::SetPosition(float x, float y, float z)
{
SetPosition(Vec3(x, y, z));
}
void svActor::SetPosition(const Vec... | [
"Myway3D@GMail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0"
] | Myway3D@GMail.com@ff49bfeb-f889-bd78-9ae6-4dc862721fa0 |
4d88ed5126af92a7ffbfec867933cff666e2286e | e25b7bb3fd43f763f4e5dcb09cdda35b9a3f30a0 | /content/browser/picture_in_picture/picture_in_picture_window_controller_impl.h | 71260f1b4fcfe67fda68a365ed012b004b932bf3 | [
"BSD-3-Clause"
] | permissive | trustcrypto/chromium | 281ff06e944b1ff7da7a5005e41173ccc78eb2cd | 6e3be4ab657ddd91505753ab67801efcf8541367 | refs/heads/master | 2023-03-08T03:58:49.920358 | 2018-12-26T20:55:44 | 2018-12-26T20:55:44 | 163,217,833 | 1 | 0 | NOASSERTION | 2018-12-26T21:07:41 | 2018-12-26T21:07:40 | null | UTF-8 | C++ | false | false | 4,269 | h | // 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.
#ifndef CONTENT_BROWSER_PICTURE_IN_PICTURE_PICTURE_IN_PICTURE_WINDOW_CONTROLLER_IMPL_H_
#define CONTENT_BROWSER_PICTURE_IN_PICTURE_PICTURE_IN_PICTURE_WIND... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
75b99a4e4a0c432f608724969ce0b9129e69a3ec | 879b2503fd6e24e5d5b9b974e3206361a0e74eff | /Timus/Vol.04/1373/sol.cpp | cfcc1ad6b7abc4c6e003caff1266d00554db4485 | [
"MIT"
] | permissive | Zovube/Tasks-solutions | d08186c239a599ef9e2e2caa9ecc3a6c55dedfd6 | fde056189dd5f630197d0516d3837044bc339e49 | refs/heads/master | 2020-03-17T14:56:16.251518 | 2019-04-10T15:28:58 | 2019-04-10T15:28:58 | 133,692,099 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,107 | cpp | #include <bits/stdc++.h>
using namespace std;
string to_string(bool x) {
return x ? "true" : "false";
}
string to_string(char x) {
return string(1, x);
}
string to_string(string s) {
return '"' + s + '"';
}
string to_string(const char *s) {
return to_string((string) s);
}
template<typename A, typen... | [
"evstafeevd@gmail.com"
] | evstafeevd@gmail.com |
3183f06611c7caf5a702a5c108cb8ac1892ad4dd | f4ab3ab95f91b867dcc080f5b4dc8694a5c600ee | /Astronomad/Astronomad/aisandbox.h | 2989552d2005bfee9a76245af88c688d5281c37e | [] | no_license | chocofries/Engine-Projects | 8f50c0fe9d8ce916a29bd4812e46dacbeeaf02e4 | 1a556867e12fb56ecb45ba31ae89127b70bdb05a | refs/heads/master | 2020-07-17T05:30:31.775904 | 2019-09-04T05:45:47 | 2019-09-04T05:45:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | h | #pragma once
#include "level.h"
class Particle;
class BackStar;
class Swarmling;
class Planet;
class Mothership;
class ButtonSet;
class AISandboxLevel : public Level
{
public:
AISandboxLevel();
virtual ~AISandboxLevel();
virtual void Initialise(Game* _myGame, ShaderLoader* _shaderloader, AssetLoader* _assetloader... | [
"contact@johnbu.com"
] | contact@johnbu.com |
c8121d3736fa1b7d2fde6ca02da02e252d11ec76 | 2ecc9164e7a29a8f25f82ea7ef7b52e146408016 | /components/payments/content/secure_payment_confirmation_payment_request_delegate.cc | eb2129eac3cba3faa0447551af92d1ff02fe09dc | [
"BSD-3-Clause"
] | permissive | pan-alexey/chromium | ff78e911888a3b546b8ef274a57fe4219760cd03 | 6c3a31f157bf1ac667f20f6f868e671d5c2fb9a1 | refs/heads/master | 2022-12-14T01:24:02.552881 | 2020-08-28T12:33:26 | 2020-08-28T12:33:26 | 290,737,087 | 0 | 0 | BSD-3-Clause | 2020-08-27T09:45:10 | 2020-08-27T09:45:09 | null | UTF-8 | C++ | false | false | 4,832 | cc | // Copyright 2020 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.
// Majority of the methods forward the calls to the |delegate_|, except for a
// few methods that invoke the secure payment confirmation dialog:
// - Sho... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b6025740d411d2cfc347a909d37f86eaa5bbd87f | baccbd280f91aa4eb46e0a9934b70ee8bf537f07 | /LED and Buzzer Interfacing/ESDI 1.8/Program/ESDI1.8.ino | 345fd28f01e07a370d75d3ee56cbf528bea3fe6a | [] | no_license | devarshipandya21/embedded-systems-programming | 9e5312185d6ac92b17acebd55effb6f41458be82 | 4df7e40de192d852982a5cfa3e87e6cfe2a92437 | refs/heads/master | 2022-09-28T23:45:09.523377 | 2020-06-01T18:19:28 | 2020-06-01T18:19:28 | 268,433,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,145 | ino | /****************************
Author:Asha Patel
Title:Generate different series using switch.
Date:02/09/2017
Email:15it073@charusat.edu.in
*****************************/
#define button0 A0
#define button1 A1
#define button2 A2
#define button3 A3
#define button4 A4
#define button5 A5
int n1[]={0xff,0x00};
int n2[]={0... | [
"dv691600@dal.ca"
] | dv691600@dal.ca |
bac88e0e18af964c0ea17cde82df4eba316455b2 | dee4f176db476b621a208e1e9c8562740228c84c | /ProjectEuler/21-Amicable numbers.cpp | 836bc8f1342c9102026e465bcc863c9e76c59cca | [] | no_license | Mumbaikar007/Code | 7a62f2bcb9e01c06d3d83370f78298a76f94ee87 | b55ee260f3e4e33fb59ba6ed35c2ee29443bbc11 | refs/heads/master | 2021-09-27T05:31:00.973615 | 2018-11-06T10:42:31 | 2018-11-06T10:42:31 | 104,623,021 | 6 | 8 | null | 2018-10-31T15:55:05 | 2017-09-24T06:10:27 | Makefile | UTF-8 | C++ | false | false | 374 | cpp | # include <iostream>
# include <vector>
using namespace std;
int main(){
vector <int> a (10000) ;
for ( int i = 1; i < 10000 ; i++){
for ( int j = i*2 ; j< 10000 ; j += i){
a[j] += i;
}
}
int sum = 0;
for ( int i = 1; i < 10000 ; i ++){
if ( i != a[i] && i == a[a[i]] ){
sum += i ;
cout <<... | [
"brainteaser97@gmail.com"
] | brainteaser97@gmail.com |
3b2774d9d895e73332e524dc4aac34717a3cbe45 | 0577a46d8d28e1fd8636893bbdd2b18270bb8eb8 | /update_notifier/thirdparty/wxWidgets/src/xrc/xh_comboctrl.cpp | e47b54b19914c41b724291c3e538d5c5439f69bc | [
"BSD-3-Clause"
] | permissive | ric2b/Vivaldi-browser | 388a328b4cb838a4c3822357a5529642f86316a5 | 87244f4ee50062e59667bf8b9ca4d5291b6818d7 | refs/heads/master | 2022-12-21T04:44:13.804535 | 2022-12-17T16:30:35 | 2022-12-17T16:30:35 | 86,637,416 | 166 | 41 | BSD-3-Clause | 2021-03-31T18:49:30 | 2017-03-29T23:09:05 | null | UTF-8 | C++ | false | false | 1,698 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/xrc/xh_comboctrl.cpp
// Purpose: XRC resource for wxComboCtrl
// Author: Jaakko Salli
// Created: 2009/01/25
// Copyright: (c) 2009 Jaakko Salli
// Licence: wxWindows licence
////////////////////////////... | [
"mathieu.caroff@free.fr"
] | mathieu.caroff@free.fr |
e81fcfb184c582ce8db1a044424a6db84b05311d | 9428a645b0e4a8f59ecda45660276e44be36384e | /Milestones sketches+Libraries/Blynk/Blynk.ino | ef2810ae56db52cf98d98fe61a443031fe6e19ce | [] | no_license | formus14/DIY-Clock | 79c3ad82e5524f9477cc8b1199e5f839c501a0ea | 6c938c1d8f6c4e62b9fe652778c585ceb5793d1e | refs/heads/master | 2020-09-25T02:13:20.906575 | 2016-08-21T11:12:28 | 2016-08-21T11:12:28 | 66,143,749 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 199 | ino | #include "blynk/blynk.h"
char auth[] = "Put your Auth Token Here";
void setup() {
Serial.begin(9600);
Blynk.begin(auth);
pinMode(D7, OUTPUT);
}
void loop() {
Blynk.run();
} | [
"formus14@gmail.com"
] | formus14@gmail.com |
19cedc1e805da3225247b3d9309d346df504f440 | 50d0ee56d32e90bb147c92f9804d8f7617d3c0e1 | /trie/trie_mem.cpp | ca7539544ff6ed114058301ab2678f988e15912a | [] | no_license | gymk/Study-Algorithms-DataStructures | c050d07cfa0a7e05935b9cf1d60d7776268ab376 | f82b4f6cdb055d659418ce1f13892825e28e0e7b | refs/heads/master | 2022-06-28T16:15:30.578791 | 2022-06-20T07:56:41 | 2022-06-20T07:56:41 | 117,305,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,932 | cpp | /*
* time ./a.out
*
* ALPHABET SET: 5 65 90 205 61 46 154 43 62 141 145 162 112 102 60 96 176 70 129 240 211 142 91 174 2 180 93 45 139 28 88 201
* Total no. of nodes in Trie: 0
* Total memory consumption: 0
*
*
* ALPHABET SET: 5 65 90 205 61 46 154 43 62 141 145 162 112 102 60 96 176 70 129 240 211 142 91 174 ... | [
"gymk.tech@gmail.com"
] | gymk.tech@gmail.com |
e30d8894e0c5cc90572b68cd6e333ae9f400b290 | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/Action/actionSlippedCircleWalkBase.h | af606b24cfc394ab3ecbffe13b3378deaad0a570 | [] | no_license | zeldaret/botw | 50ccb72c6d3969c0b067168f6f9124665a7f7590 | fd527f92164b8efdb746cffcf23c4f033fbffa76 | refs/heads/master | 2023-07-21T13:12:24.107437 | 2023-07-01T20:29:40 | 2023-07-01T20:29:40 | 288,736,599 | 1,350 | 117 | null | 2023-09-03T14:45:38 | 2020-08-19T13:16:30 | C++ | UTF-8 | C++ | false | false | 960 | h | #pragma once
#include "KingSystem/ActorSystem/actAiAction.h"
namespace uking::action {
class SlippedCircleWalkBase : public ksys::act::ai::Action {
SEAD_RTTI_OVERRIDE(SlippedCircleWalkBase, ksys::act::ai::Action)
public:
explicit SlippedCircleWalkBase(const InitArg& arg);
~SlippedCircleWalkBase() overrid... | [
"leo@leolam.fr"
] | leo@leolam.fr |
0fa3b916cd109bbe407aa03b3168a02936438297 | be490962a75e62c8e676653e0db7be70a9d10163 | /src/expressions/logical/ExpressionHigher.cpp | 5eae6e31ebadeeaf332f635c539fad4034e9e77d | [] | no_license | saantiaguilera/fiuba-taller-I-tp-threading | cdf99ba04e20884d499b8231adfee0901c08e9aa | dcc8057081afd527bdb7f22134e68ee2a7cadaff | refs/heads/master | 2021-01-10T03:56:33.738239 | 2016-04-09T23:29:04 | 2016-04-09T23:29:04 | 55,312,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | /*
* ExpressionHigher.cpp
*
* Created on: Apr 4, 2016
* Author: santiago
*/
#include <string>
#include <cstdio>
#include <stdlib.h>
#include <cstdlib>
#include <sstream>
#include <iostream>
#include <list>
#include <map>
class Expression;
#include "../../threading/Mutex.h"
#include "../../ParserUtils.h"
... | [
"aguilerasanti@hotmail.com"
] | aguilerasanti@hotmail.com |
da1587adaaf0c0d890ad9d94aa2ae5b4e127a334 | a43d7f5d216bf2278e51a834125e816982c84129 | /abc/abc115/c.cpp | acc8b52bdfaec8625b9bd387fa078b38f3252dd6 | [] | no_license | yuta1402/atcoder | 833f34b47f29f4f957cb47836a060e68d675abc8 | 1eb2423b46502875a42804d5170b5d4c0468a2dc | refs/heads/master | 2021-06-10T16:00:36.318105 | 2019-12-16T06:27:23 | 2019-12-16T06:27:23 | 138,125,625 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <cmath>
#include <limits>
#include <climits>
#include <utility>
#include <algorithm>
#include <numeric>
using namespace std... | [
"yuta1402souja@live.jp"
] | yuta1402souja@live.jp |
15a186196f296794dc60ec22fa787be1c1c5f665 | cdaec2dfb4bc0c9658cdc86ff20e0f0fe27f0fb7 | /graphs/push-relabel/push-relabel.cpp | 7195f5c87a2cf03fa9cd23e708214e8b32479a02 | [] | no_license | BudAlNik/team-reference-document | 78aa8e4b156cbc7fec21f2a3519b69d8d5a53b79 | 6e92629d49cac2a07ca3669b353c038450cb097d | refs/heads/master | 2022-11-11T20:07:30.843423 | 2022-11-01T08:57:53 | 2022-11-01T08:57:53 | 160,321,168 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,616 | cpp | struct edge_t {
int to;
int next;
int64_t flow;
int64_t capacity;
};
int main() {
int n = input<int>();
int m = input<int>();
int S = 0;
int T = n - 1;
vector<edge_t> edges;
vector<int> head(n, -1);
auto add_edge = [&](int v, int u, int cap, int rcap) {
edges.push_back(edge_t {u, head[v], 0, cap});
he... | [
"n.budin@yandex.ru"
] | n.budin@yandex.ru |
c908773c61f99b4bfd9a8fb4928378a04dcb2932 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/qmix/src/stanExports_qmixbfv.cc | 4ecc625f2736ba4ab38021b7482a82d5126e7c03 | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,987 | cc | // Generated by rstantools. Do not edit by hand.
#include <Rcpp.h>
using namespace Rcpp ;
#include "stanExports_qmixbfv.h"
RCPP_MODULE(stan_fit4qmixbfv_mod) {
class_<rstan::stan_fit<stan_model, boost::random::ecuyer1988> >("model_qmixbfv")
.constructor<SEXP,SEXP,SEXP>()
.method("call_sampler", &rsta... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
51e56bbf80238969dbeac1cc29eaa44cc44be9e8 | fdef1b4e79e60d7db6f076ab3c810af5962a9ce8 | /libraries/AT24C/AT24C.h | c28896963fbe984524cc460022334108027e512a | [] | no_license | site-3/doorbot-firmware | fb4859c33f7d89b7bcd9e0e70f1a7934dc395e0e | ca01b943ea80625106be8dde5be69b011c8a1a61 | refs/heads/master | 2021-01-17T13:06:07.707454 | 2016-01-09T21:35:30 | 2016-01-09T21:35:30 | 30,843,945 | 1 | 0 | null | 2019-05-05T16:40:50 | 2015-02-15T22:01:31 | Processing | UTF-8 | C++ | false | false | 1,860 | h | #ifndef AT24C_h
#define AT24C_h
/*
AT24C_h.h
AT24Cxxx EEProm Library for Arduino
Library release: 1.2 rev. c
This library is free software; you can redistribute it and/or
modify it under the terms of the Creative Commons GNU license
This library is distributed in the hope that it will... | [
"hello@kate.io"
] | hello@kate.io |
d019cd62fdd05e06aed0d14b91101525e0a17e5a | 55c05649b8bbe17989a4a624bff69cf938261828 | /src/jpeginfo.cpp | 913cc765a2255e57a8019ea8bfa715a0e49c8e52 | [] | no_license | richardxday/rdlib | 5dae0a81abecc57ac190e51b5e3597c9e7ff9dc9 | 36f8f4df306cab468971a766aed335bb7dd038d2 | refs/heads/master | 2023-07-26T19:52:17.954550 | 2023-07-12T17:26:55 | 2023-07-12T17:26:55 | 23,612,327 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,683 | cpp |
#include <stdio.h>
#include "jpeginfo.h"
#include "exif.h"
#include "jpegfix.h"
/* end of includes */
bool ReadJPEGInfo(const char *filename, JPEG_INFO& info)
{
EXIFINFO exinfo;
Exif exif(&exinfo);
FILE *fp;
bool success = false;
memset(&exinfo, 0, sizeof(exinfo));
if ((fp = fopen(filenam... | [
"r.day80@gmail.com"
] | r.day80@gmail.com |
600539ab31a04b26501d9f94f6e6018371fc344e | 37906b41991719dff0590f9161f9b69af8d7e491 | /tensorflow/lite/experimental/micro/kernels/pack_test.cc | 90ae8aa900fda2b86cf77ca0f201b04fcdc9785e | [
"Apache-2.0"
] | permissive | nauman07/tensorflow | 7ae4277564bb596c0f8ba5d107a35d9505c3c2fb | f88cf68393e60525506a567e0081b8e2e6db409b | refs/heads/master | 2020-08-28T15:55:35.510154 | 2019-10-26T15:34:58 | 2019-10-26T15:39:08 | 217,742,698 | 3 | 0 | Apache-2.0 | 2019-10-26T17:11:10 | 2019-10-26T17:11:09 | null | UTF-8 | C++ | false | false | 15,758 | cc | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
a14463683717fa980a16e122325dd290ac02de6a | 345f93ddec9234484c5a3038b0717909dd36e046 | /Phase_2_Final_Version/AddCardAction.cpp | 06732a680c889305005954c261ccf2634f38c499 | [] | no_license | yousefelmahdy/Ladder-and-Snake-game | 8e4ec5f3debab6e50cf9988eb391906e584ebf7d | f5ac908d382ba6242ac4d291c3adf1f970655aca | refs/heads/master | 2023-03-14T18:36:36.899977 | 2020-10-10T23:11:50 | 2020-10-10T23:11:50 | 491,954,221 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,662 | cpp | #include "AddCardAction.h"
#include "Input.h"
#include "Output.h"
#include "CardOne.h"
#include "CardTwo.h"
#include "CardThree.h"
#include "CardFour.h"
#include "CardFive.h"
#include "CardSix.h"
#include "CardSeven.h"
#include "CardEight.h"
#include "CardNine.h"
#include "CardTen.h"
#include "CardEleven.h"
#include "C... | [
"62210671+YousefElshabrawy@users.noreply.github.com"
] | 62210671+YousefElshabrawy@users.noreply.github.com |
94d07aa6038482282a100ff475386a2cf6441ad9 | b4e0f37e232289f5a80e3b8a72938e04182af484 | /class/GaussianBlurMaterial.cpp | 891f0b2005cc6826cb973cf270c1c9c77f924edd | [] | no_license | moto2002/VulkanLearn | 6fb8d665bbfea270aced4a49f50fb4f4ab788f9b | d9043155f6ae9e24e444dfcd6825cee8450e2576 | refs/heads/master | 2021-04-23T22:31:32.627663 | 2020-03-10T10:54:03 | 2020-03-10T10:54:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,333 | cpp | #include "GaussianBlurMaterial.h"
#include "../vulkan/RenderPass.h"
#include "../vulkan/GlobalDeviceObjects.h"
#include "../vulkan/CommandBuffer.h"
#include "../vulkan/PerFrameResource.h"
#include "../vulkan/Framebuffer.h"
#include "../vulkan/GlobalVulkanStates.h"
#include "../vulkan/SharedIndirectBuffer.h"
#include ".... | [
"enjiushi@gmail.com"
] | enjiushi@gmail.com |
34a9f2e3d7d4ab53cd80d1a34affc933a4b5bacf | a08b62851288da64f06b58cca8c2cc292b4ba5ae | /include/malt_anim/skeleton.hpp | f28a827f6668813f364b4ca23f8ee1bc791842a2 | [] | no_license | FatihBAKIR/malt_anim | 6f762cbf5c16292ab903e3d87d678760c2dfbf79 | b211a87cbb6dbcf277aa98f7773b5211b1feecdf | refs/heads/master | 2020-03-29T02:00:01.149781 | 2017-06-20T17:47:43 | 2017-06-20T17:47:43 | 94,642,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | hpp | //
// Created by fatih on 6/12/17.
//
#pragma once
#include <malt_anim/joint.hpp>
#include <vector>
#include <memory>
#include <unordered_map>
namespace malt
{
struct skeleton
{
std::vector<joint> joints;
std::unordered_map<std::string, joint_id> joint_names;
};
constexpr auto joint_... | [
"mfatihbakir@gmail.com"
] | mfatihbakir@gmail.com |
26dccebef90f5647ceb3519b7e34d0c3662a81d1 | 18c10a22f087d0a1560960e5d1dfcdc3e92f9b61 | /process_memory.h | 508c04ba4bfb9a7d7700bd2c417aa0b318ce9ec8 | [] | no_license | fcccode/win32-memdump | e574262b9f6d9bcf4c0e7491c27bc07c91dc525f | 8589ee024b3a1ba50c739890a356a755d28a3bb4 | refs/heads/master | 2020-08-05T13:23:13.747092 | 2014-02-19T20:34:19 | 2014-02-19T20:34:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,862 | h | #include "windows.h"
#include <cstddef>
#include <stdexcept>
#include <memory>
#include <iterator>
struct process_open_exception : public std::runtime_error {
using std::runtime_error::runtime_error;
};
struct invalid_iterator : public std::runtime_error {
using std::runtime_error::runtime_error;
};
struct ... | [
"dwt@terminusdatascience.com"
] | dwt@terminusdatascience.com |
866b4fc0db874570da6396ea8062cea39f21c059 | 8734e900ff8619ba161a58f89c033f346e84b424 | /bcelltablemodel.cpp | cefec3c1bc060ddd935f7715b833b836c69a6246 | [] | no_license | quanganhtran/formula-data-logger | e77016d395e18caaa53334432d6d987a959604ac | 8475659942c4bc8fe946b6cc91b6c17922a87dd0 | refs/heads/master | 2022-06-02T15:10:23.701196 | 2016-02-24T19:11:28 | 2016-02-24T19:11:28 | 52,027,165 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,376 | cpp | #include "bcelltablemodel.h"
BCellTableModel::BCellTableModel(QObject *parent) : QAbstractTableModel(parent)
{
}
BCellTableModel::BCellTableModel(QList<QPair<QVariant, QVariant> > cells0, QObject *parent) : QAbstractTableModel(parent)
{
cells = cells0;
}
int BCellTableModel::rowCount(const QModelIndex &parent) ... | [
"quanganh.tran94@gmail.com"
] | quanganh.tran94@gmail.com |
afd5845d638d547f0d84a8556bc2cb10fd77e00f | 1bb67c9d6bce695a93902e76d284380f5f6a62d7 | /Codeforces/194div2/c.cpp | 7d34f102672b7fea3d2f6782d069ee1a34d3be6c | [] | no_license | Vishal251073/algorithm | 3ff2ea48a1270de77591a683463b1d1170348cf1 | 94f44b5f932e6cff7f89029a36e9de2e5ce8a1b5 | refs/heads/master | 2021-12-02T17:58:47.549064 | 2013-09-03T17:17:27 | 2013-09-03T17:17:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 244 | cpp | #include <iostream>
using namespace std;
typedef long long LL;
int main()
{
LL n;
cin >> n;
for (LL i = 3; ; i *= 3) {
if (n % i) {
cout << (n + i) / i << endl;
break;
}
}
return 0;
}
| [
"zhaofukaimail@gmail.com"
] | zhaofukaimail@gmail.com |
62bc67bb85de942caaa7f9e70a558af6b3ed4833 | 67469c6f0d64fd95d2ac63569c59862ebd93b342 | /src/qt/sendcoinsdialog.cpp | a1d6c0e30a6d9a74942687d8a619a96f6513766b | [
"MIT"
] | permissive | tuaris/stashcoin | 5edcc59d3ef8ddf4dd36a18687ff456283c59209 | 2eef0db4c4818524572da8ca47d3f337c61f7344 | refs/heads/master | 2021-01-14T09:20:06.627567 | 2014-03-09T18:42:31 | 2014-03-09T18:42:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,228 | cpp | #include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#include "askpassphrasedialog.h"
#include "base58.h"
#include <QMessageBox>
#include <QTextDocument>
#... | [
"stashdev@yahoo.com"
] | stashdev@yahoo.com |
e666b633fd6c49793709e797c7beb41570360eec | 95570ae3de9febfe81989751982f6a6eafe080ff | /Sources/Sqlite/sqlite_transaction_provider.h | e90378ea1fe3696282a9ed511c7289e949235c7a | [
"Zlib"
] | permissive | kyelin/ClanLib | a552f224c2007598a1ab8acaf4e2caa967908851 | 2558aba725e6866a81d50b13178cbd5c60ab6edc | refs/heads/master | 2021-01-24T21:36:07.499397 | 2014-11-18T02:09:39 | 2014-11-18T02:09:39 | 19,273,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,895 | h | /*
** ClanLib SDK
** Copyright (c) 1997-2013 The ClanLib Team
**
** This software is provided 'as-is', without any express or implied
** warranty. In no event will the authors be held liable for any damages
** arising from the use of this software.
**
** Permission is granted to anyone to use this software for a... | [
"rombust@hotmail.co.uk"
] | rombust@hotmail.co.uk |
a8e9b6ec95cc5d14abb53a3422afc914a98f2bd3 | ffaeacc9244915b92e053b9d0c2c20b10a1d67e5 | /src/MD_MAX72xx.h | 0ab84ae4464f95461772ed0fc07d97bc8c888e2f | [] | no_license | LEdgeley/MD_MAX72XX | 287fc2dcef382249e77f6b2fd53a889ed9178ded | 49d691f7b47be60e15d035960df76ac30c9899be | refs/heads/master | 2021-01-24T08:18:40.091220 | 2018-02-24T00:22:45 | 2018-02-24T00:22:45 | 122,976,923 | 0 | 0 | null | 2018-02-26T13:53:51 | 2018-02-26T13:53:51 | null | UTF-8 | C++ | false | false | 40,887 | h | /**
\mainpage Arduino LED Matrix Library
The Maxim 72xx LED Controller IC
--------------------------------
The MAX7219/MAX7221 are compact, serial input/output display drivers that
interface microprocessors to 7-segment numeric LED displays of up to 8 digits,
bar-graph displays, or 64 individual LEDs. Included on-chip ... | [
"8136821@gmail.com"
] | 8136821@gmail.com |
c27ed6bb78bb75d79ea46672fb1e918f7e9518e8 | adbb094de7dc2948febced0d6da56df1064ec93c | /week5/10655_Contemplation_Algebra.cpp | 860b32a71b43068ece54e2e893cd4d2469eb13b8 | [] | no_license | colinlee1999/uva | 5b8872190372f8bab80241f5228ca8ce3a04b820 | 9e8854233d34c4fd0ceafde6a0163c1674aca1d5 | refs/heads/master | 2020-07-09T13:40:52.527933 | 2016-11-22T21:17:18 | 2016-11-22T21:17:18 | 67,624,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <fstream>
#include <queue>
#include <unordered_set>
#include <unordered_map>
#include <stack>
#include <cstdio>
#include <cmath>
#include <cstring>
using namespace std;
#define INT_MIN (1<<31)
#define INT_MAX (~INT_MIN)
#define UNREACHABLE (INT_MAX>>2... | [
"arteest@foxmail.com"
] | arteest@foxmail.com |
8b8bd934ad6e2dbf3f711bb3a36ff97a2f6fcdc8 | 70690339c0d493c05d52e886858ba1bcb99502f5 | /parser/ast/abstract_syntax_tree.h | 8353780d9d48206d47da981f3efe7c1de959eb14 | [
"Apache-2.0"
] | permissive | forkrp/luascript | 48984d4572138ef9bf09789a69fd627c3767f3eb | 6641dd3dbc3317485b18d8a6eb1a05c8568d702f | refs/heads/master | 2023-01-19T19:08:18.952035 | 2020-11-15T03:30:02 | 2020-11-15T03:30:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | h | /*
* This file is part of LuaScript
* https://github.com/perbone/luascrip/
*
* Copyright 2017-2020 Paulo Perbone
*
* 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.apac... | [
"pauloperbone@yahoo.com"
] | pauloperbone@yahoo.com |
b649c6e03531d966a8a0925684537aa8be9f51e6 | 056a35a213f0f146e37394aba99109b93d16834b | /WT_Show/show/core/monitor/invalid_project_name_widget.h | e1c30c8d42ed81aa9cf5f26e0b8b22c5238c7873 | [] | no_license | wiali/video_record | 45e2e7e126448cd2408ac5dbae1703975cabbff6 | 5d2c9d3b3d6bca9d771b1b9bf434ae5369d3f501 | refs/heads/master | 2021-07-22T12:59:25.084905 | 2017-11-01T10:06:16 | 2017-11-01T10:06:16 | 103,298,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 947 | h | #pragma once
#ifndef INVALID_PROJECT_NAME_WIDGET_H
#define INVALID_PROJECT_NAME_WIDGET_H
#include <QWidget>
#include <QGraphicsOpacityEffect>
#include <QPropertyAnimation>
namespace Ui {
class InvalidProjectNameWidget;
}
namespace capture {
namespace monitor {
class InvalidProjectNameWidget : public QWidget
{
Q... | [
"wei.wang1@hp.com"
] | wei.wang1@hp.com |
c69eb681acea99aaa2ad946139a882434dffb4fe | ad4c4cb7c215bdf86b433f0862934c07b25a1165 | /recursion/possible-strings_length_k.cpp | 2b12af37c83e6bea5e2aa242ed355078b2feb6ac | [] | no_license | abhijeet65/geeks_for_geeks | 16d7564b30530c54d1235bc59a27b0b275ccc700 | 76588231d30f9f84a631bda83bf72b0289a461a5 | refs/heads/master | 2020-03-27T19:26:51.855881 | 2019-02-28T19:49:52 | 2019-02-28T19:49:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include<bits/stdc++.h>
using namespace std;
void possiblestr(char a[],string s,int n,int k)
{
if(s.length()==k){
cout<<s<<endl;
return;
}
for(int i=0;i<n;i++)
{
possiblestr(a,s+a[i],n,k);
}
}
int main()
{
int t;
cin>>t;
while(t--)
{
int n;
cout<<"Enter the size of array";
cin>>n;
char a[n];
... | [
"abhijeet.intern@gmail.com"
] | abhijeet.intern@gmail.com |
940c744e6a76531f4b802a0e44b6b902f678837e | e6d7fd6588830b1eb31589856ce71f5f20a571b4 | /027/main.cpp | 862a31b4df39a6ef510b067870cd0366d50e4e49 | [] | no_license | RuslanIvanov/Ruslan | 0eda6ac40c80a721af3e5fff0f2cc78edadcbed3 | 63dc0c54bfa372c7e9addd72bce13b1db6760386 | refs/heads/master | 2020-06-02T15:46:47.321459 | 2019-10-07T14:01:53 | 2019-10-07T14:01:53 | 42,116,099 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <dirent.h>
#include <signal.h>
#include <string.h>
#include <list>
#include <iostream>
#include <sys/utsname.h>
#include <unistd.h>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
using namespace std;
int main(int argc,char* arg... | [
"rus_iv@list.ru"
] | rus_iv@list.ru |
93f668035d489efc42248fbfa1cf25c0fe307a5b | 7ce97864a3fce9762621f5dbd9fac4672303d44c | /src/shaderprogram.cpp | 335e71b379a7209c9a95061a4d90f7e99775525e | [] | no_license | ger0/t3tris | 528360cf93ef02babcb4a646a7a37aec1d14215d | 0f767912be45303234925390df319628d8d0d47f | refs/heads/main | 2023-08-12T20:09:36.670506 | 2021-09-26T10:44:57 | 2021-09-26T10:44:57 | 373,287,744 | 0 | 0 | null | 2021-09-26T10:44:58 | 2021-06-02T19:57:08 | C++ | UTF-8 | C++ | false | false | 2,482 | cpp | #include "shaderprogram.hpp"
char* ShaderProgram::readFile(const char* fileName) {
int fSize;
FILE *file;
char *data;
file = fopen(fileName, "rb");
if (file != NULL) {
fseek(file, 0, SEEK_END);
fSize = ftell(file);
fseek(file, 0, SEEK_SET);
data = new char[fSize + 1];
int readSize = fread(dat... | [
"mrgero155@gmail.com"
] | mrgero155@gmail.com |
f0a2bd2fcf7487c7251236547bc90facd805ae41 | f48d9f186fbbc56f70f0cd4a45c8d12f21a5ae96 | /prolib/ex/calMS.cc | eb280404ef4071fdb0135cc29f310f119425b2de | [
"MIT"
] | permissive | pincher-chen/DLIGAND2 | ba11d3b7167e64975fa224e5ef40382035ffa58d | b41cb57cff1f21108661f125b5707ee91ea42139 | refs/heads/master | 2020-12-02T16:50:15.773529 | 2019-12-31T09:17:24 | 2019-12-31T09:17:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,226 | cc | #include "protein.h"
class Molecule:public Protein{
public:
Molecule(const char *str):Protein(str){};
void calCM();
};
void Molecule::calCM(){
bool lcomp[nres];
for(int ir=0; ir<nres; ir++){
lcomp[ir] = true;
for(int i=rstart[ir]; i<rstart[ir+1]; i++){
if(! atoms[i].filled()) {lcomp[ir]=false; break;}
}
... | [
"pin.chen@nscc-gz.cn"
] | pin.chen@nscc-gz.cn |
66c42e08e590dada4c597c919b72ec124be6714a | 5856af8487bad60faf4556775df63528bb206aa8 | /Code/UI/StdAfx.cpp | e6309de24b4262564db0cc732325c658473860ad | [
"MIT"
] | permissive | yorung/fastbirdEngine | 151ddb35cc4c9ee59ba90cd574df98d176e82d86 | eca26d339357a23eaee8416a3fc169a267abc764 | refs/heads/master | 2021-01-15T14:37:59.447624 | 2015-08-31T00:26:41 | 2015-08-31T00:26:41 | 29,778,951 | 0 | 0 | null | 2015-01-24T14:24:42 | 2015-01-24T14:24:41 | null | UTF-8 | C++ | false | false | 22 | cpp | #include <UI/StdAfx.h> | [
"jungwan82@gmail.com"
] | jungwan82@gmail.com |
25f35fde3b237b8656f5ba743d3c2f1f60a4f2ec | faace0664c48035a0fc3dbb265fe8563956f88f5 | /List/mylist.cpp | ca23b8133b3a662929c64dd0d2b0962f4516cb07 | [] | no_license | MahmoudHadad/Data_Structures | bba2745bf642c82487b42ced41aa2126933effe8 | 0728e4ba0d02b5e49613f5587cff03ea04abc886 | refs/heads/master | 2016-09-06T14:01:37.850887 | 2015-06-16T21:25:33 | 2015-06-16T21:25:33 | 34,585,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | #include "mylist.h"
MyList::MyList()
{
maxSize=0;
numOfElements=0;
arr=NULL;
}
MyList::MyList(int maxS)
{
maxSize=maxS;
numOfElements=0;
arr=new int [maxS];
}
MyList::~MyList()
{
if(arr==NULL)delete arr;
else delete []arr;
}
bool MyList::insert(int val)
{
if(numOfElements==maxSize)return false;
if(!nu... | [
"hooda_fci@yahoo.com"
] | hooda_fci@yahoo.com |
875d807af6f50f5cb61651359d09c934bbbafe54 | 0f824195d97b129b7ee40060e88308e062fa4813 | /Others/CPP/Snake.cpp | 326c889bd0b6c4791876f9ad1b8bfee4bafe5fcc | [
"MIT"
] | permissive | Henokaa/Smart-ID | 73eb339d4102f4716a55932517345ce794f69f91 | b64e4daa1f21f8379de18e3f3e2c5d209b22f830 | refs/heads/main | 2023-01-10T02:36:31.608916 | 2020-11-16T05:26:12 | 2020-11-16T05:26:12 | 313,191,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,147 | cpp | #include <SFML/Graphics.hpp>
#include <iostream>
#include <windows.h>
using namespace sf;
using namespace std;
int main()
{
RenderWindow window(VideoMode(640,480), "hi");
RectangleShape hi1(Vector2f(16.0f,16.0f));
RectangleShape hi2(Vector2f(16.0f,16.0f));
RectangleShape hi3(Vector2f(16.0f,16.0f));
... | [
"69524541+Henokaa@users.noreply.github.com"
] | 69524541+Henokaa@users.noreply.github.com |
fbbce36aa033fdb9258dffaca8af491bf272ecc0 | fb2ec78bade7c8e23a4d0b3e0d79be91fab8306d | /tests/deque/pop_front.cpp | 1ae070f4fbca2209e87e4a27bbec5e23ff212480 | [] | no_license | blaneart/containers_clean | d31ecc5aeaa51148c1febc8f0844a5f0c27eac54 | 80501f3e43e389f12b05a221d498a6de8c3847a1 | refs/heads/main | 2023-05-05T04:50:28.308998 | 2021-05-28T17:13:10 | 2021-05-28T17:13:10 | 365,743,006 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,308 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* pop_front.cpp :+: :+: :+: ... | [
"53476597+blaneart@users.noreply.github.com"
] | 53476597+blaneart@users.noreply.github.com |
f1bb5734d6726ec0a0df06d4682d24b9702cee8c | 7bca468e1e40986843d7a17d8e46e19b4963f98b | /examples/JUCEPython/Source/PluginEditor.cpp | 6677c2aa583e4c209e6dd3d99765a252fd82565f | [] | no_license | prcalopa/GS_API | bde40fcf2d4d81fa0387dfd3fb96d98d08fce9c6 | cd62ee1949ef9c35ae2cc27cddaa27ab5132213e | refs/heads/master | 2021-01-10T23:55:25.971014 | 2016-10-26T13:33:09 | 2016-10-26T13:33:09 | 70,784,468 | 0 | 0 | null | 2016-10-13T08:17:28 | 2016-10-13T08:17:27 | null | UTF-8 | C++ | false | false | 5,451 | cpp | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#include "PluginEditor.h"
#include "PyPatte... | [
"martin.hermant@gmail.com"
] | martin.hermant@gmail.com |
c7bbcca4f356d076b6d9e8908f3d1d0ad0c82306 | 31ac07ecd9225639bee0d08d00f037bd511e9552 | /externals/OCCTLib/inc/BlendFunc_ConstRadInv.hxx | 113abca3740ab3a8705128c07627d1c0e9c8152a | [] | no_license | litao1009/SimpleRoom | 4520e0034e4f90b81b922657b27f201842e68e8e | 287de738c10b86ff8f61b15e3b8afdfedbcb2211 | refs/heads/master | 2021-01-20T19:56:39.507899 | 2016-07-29T08:01:57 | 2016-07-29T08:01:57 | 64,462,604 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,353 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _BlendFunc_ConstRadInv_HeaderFile
#define _... | [
"litao1009@gmail.com"
] | litao1009@gmail.com |
d59bb753be0584670b8e1a6cb57bd39c684e623a | 747122b01d174f2c021361eb5446e220fd673057 | /Tree/Reverse Level Order Traversal recursive.cpp | b6debfbd9f76ed7d0d4e254e075f298103674bd0 | [] | no_license | kumarsgoyal/geeksforgeeks | e15b6b00400da46f136bd73e745ea7a608bbf7ee | 8ceafaae69953354e260377e9f6dd27491a6a8e5 | refs/heads/master | 2021-01-02T16:15:29.619099 | 2020-05-18T14:19:35 | 2020-05-18T14:19:35 | 239,698,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,987 | cpp | // { Driver Code Starts
#include <bits/stdc++.h>
using namespace std;
struct Node
{
int data;
struct Node *left;
struct Node *right;
};
// Utility function to create a new Tree Node
Node* newNode(int val)
{
Node* temp = new Node;
temp->data = val;
temp->left = NULL;
temp->right = NULL;
... | [
"noreply@github.com"
] | kumarsgoyal.noreply@github.com |
5de07d2d5d2b128b4755ad20d85d1306133fa5e3 | ed5669151a0ebe6bcc8c4b08fc6cde6481803d15 | /test/magma-1.6.0/src/cstedx.cpp | a9087b809fc1c3fb8f71e77008028d375a89e4fe | [] | no_license | JieyangChen7/DVFS-MAGMA | 1c36344bff29eeb0ce32736cadc921ff030225d4 | e7b83fe3a51ddf2cad0bed1d88a63f683b006f54 | refs/heads/master | 2021-09-26T09:11:28.772048 | 2018-05-27T01:45:43 | 2018-05-27T01:45:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,336 | cpp | /*
-- MAGMA (version 1.6.0) --
Univ. of Tennessee, Knoxville
Univ. of California, Berkeley
Univ. of Colorado, Denver
@date November 2014
@author Raffaele Solca
@generated from zstedx.cpp normal z -> c, Sat Nov 15 19:54:10 2014
*/
#include "common_magma.h"
/**
... | [
"cjy7117@gmail.com"
] | cjy7117@gmail.com |
21a75956961cdb042fe259e04a669c2e7c329b54 | 37f6b31b08dd3767b5aa613b48d6faafb90e463b | /validateBinaryTree.cpp | 1091872d469fcb6e6f43ddafb9f5ef3a2b1e833f | [] | no_license | awaybrave/leetcode_solution | 39696bdce0ee4834ad0f8f794cd1bd5749fbd8f1 | e22f4a3b8db07b5337eb227ad74b97056d4c5aea | refs/heads/master | 2016-09-06T06:44:15.392080 | 2014-04-06T11:51:49 | 2014-04-06T11:51:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | #include<iostream>
#include<queue>
#include<vector>
using namespace std;
struct TreeNode{
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x): val(x), left(NULL), right(NULL){}
};
int maxm = 100000;
int minm = -100000;
class Solution{
public:
bool isValidBST(TreeNode *root){
if(root == NULL)
retu... | [
"awaybrave@gmail.com"
] | awaybrave@gmail.com |
f0478655fb04818848c2327ced54517958c5760e | 2984feb258fb81edb1ef888719ba9f891d817596 | /Echo_robot/Echo_robot.ino | 9b3a48c65b3a3fa8a1276dad01b283d0ac4463d1 | [] | no_license | gromanou/git | b8933e49db85bffa5ae2662dabfce9328c834f5e | 326ee3890ac49d34728c2c872f4d5632adbc843b | refs/heads/master | 2016-08-06T16:14:16.558279 | 2015-02-14T02:08:33 | 2015-02-14T02:08:33 | 30,784,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,047 | ino |
#include <Wire.h>
#include <Adafruit_MotorShield.h>
#include "utility/Adafruit_PWMServoDriver.h"
#define echoPin 7 // Echo Pin
#define trigPin 8 // Trigger Pin
Adafruit_MotorShield AFMS = Adafruit_MotorShield();
// Select which 'port' M1, M2, M3 or M4. In this case, M1
Adafruit_DCMotor *Motor1 = AFMS.getMotor(... | [
"gromanou@gmail.com"
] | gromanou@gmail.com |
2e48d3387159e52c72201dbf8ccd5a1f470c110a | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest9/0/U | eb1fbcf855b247928f6892d373e5421f5037cc2b | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com | |
f688fad3608bf0d547ece13d493bc191fface066 | 275b33576900aab9c4b83b6fc9329b7dcd875c54 | /Factorization/Factorization/Factorization.cpp | fbde2222fd4ab5cb3de424643dea4145759c2385 | [] | no_license | parallelSP/labs | 215b62c42597a47b8f2788ac46e0dd11e31a5830 | 613bc416acf64cbfd7cd86d8a18e80674ddfed9f | refs/heads/master | 2021-07-06T08:32:33.848462 | 2017-09-23T12:25:10 | 2017-09-23T12:25:10 | 103,431,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | // Factorization.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int main()
{
int t, i = 2;
printf("vvedite chislo\n");
scanf("%d", &t);
printf("%d = ", t);
while (i <= t)
{
if (t%i == 0)
{
printf("%d", i);
t = t / i;
if (t>1)
printf("*");
}
... | [
"30623487+parallelSP@users.noreply.github.com"
] | 30623487+parallelSP@users.noreply.github.com |
bb5b6d43fa9d113c87ff21b196fd83eeeba026ea | 3697e740b3dfa07b4775695f4236645129f269e7 | /base/sampling_heap_profiler/module_cache_win.cc | a192054d04c3f9cc1641289961ae08dfd231671f | [
"BSD-3-Clause"
] | permissive | serjinio/chromium | f654be617286ba9f074a4ffa5eae27908523c3fc | 6318b470f65573be71a1bae3550564e2716de90b | refs/heads/master | 2023-01-10T16:56:58.388814 | 2019-03-07T11:39:33 | 2019-03-07T11:39:33 | 174,333,702 | 0 | 0 | NOASSERTION | 2019-03-07T11:44:17 | 2019-03-07T11:44:17 | null | UTF-8 | C++ | false | false | 4,738 | 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 "base/sampling_heap_profiler/module_cache.h"
#include <objbase.h>
#include <psapi.h>
#include "base/process/process_handle.h"
#include "base/st... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3edd7c6cfd7effea85b7827b7d624202f0bcea54 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/compute/instance_group_managers/v1/internal/instance_group_managers_option_defaults.cc | c9e35be2cc9cf09d5ec8593e537edd7442a13847 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 4,079 | cc | // Copyright 2023 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
e01f57a468ae68548c9ba7dad2573addec0e3349 | 65b95e63dc2b54968383c133485c9a8c87f42d54 | /NameSurferDataBase.cpp | 9e4d95522fb8d3b33a4959a9ce8af555cecd9400 | [] | no_license | scoronado12/cpsc340-NameSurfer | 1fee1f163fd4e83c62f8cba535f0d7b55353b7ce | 9fc4c5409ae5679dd5b69f7c065f97d9077b1c63 | refs/heads/master | 2023-03-09T03:39:35.389236 | 2021-02-24T01:02:21 | 2021-02-24T01:02:21 | 176,771,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,959 | cpp | /**
* @author scoronado
* @since 2019-03-23
* NameSurferDataBase.cpp
*/
#ifndef NAMESURFER_DATABASE_CPP
#define NAMESURFER_DATABASE_CPP
#include <fstream>
#include <iostream>
#include <string>
#include "linked_list.h"
#include "NameSurferEntry.h"
#include "NameSurferDataBase.h"
using namespace std;
/** NameSurfe... | [
"stefanocorona12@gmail.com"
] | stefanocorona12@gmail.com |
fc7373d64ac698d5d9e0e020859924c26eee679d | cb10193095b0658cd6041c0a1048abd82103ce91 | /examples/pppbayestree/gpstk/GravitationalDelay.hpp | a18eaa524d3c61d2e95b7392d02514dd72c3ada7 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | chengwei920412/minisam_lib | 41c810471306badf862cecd2a4d1f1b383aa54a0 | e2e904d1b6753976de1dee102f0b53e778c0f880 | refs/heads/master | 2023-03-17T09:36:35.679579 | 2020-03-15T05:52:35 | 2020-03-15T05:52:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,142 | hpp | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation; ei... | [
"shaolin.lv.bit@gmail.com"
] | shaolin.lv.bit@gmail.com |
7ef8055c6271e8b705ab05bb67592b82a651eb04 | ba63cfe1d4b142375ec65223dded3a74372da876 | /third_party/dawn/src/dawn_native/null/DeviceNull.cpp | 9b04aeee80262349a31b19af8d0d97f89466e078 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0"
] | permissive | iseeyo/src | 5843b9c612769628480e2e218ea6a0974ebdf5fd | 1517a4f7cdab5e0688339edecb9f9e77f9cb8bf2 | refs/heads/master | 2023-06-01T09:11:21.303692 | 2021-07-11T13:00:23 | 2021-07-11T13:00:23 | 300,853,336 | 0 | 0 | BSD-3-Clause | 2020-12-02T11:09:16 | 2020-10-03T10:25:55 | null | UTF-8 | C++ | false | false | 16,561 | cpp | // Copyright 2017 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
d033160d43a66f2b1d72e467d5dfb604378adb33 | d1de10aead5ccf25b3eb94feefa60f90fc7454ee | /Microformatter/hCalenderDlg.cpp | 9a32be134b276140b1828dcfbb7da2093bd2efa9 | [
"Unlicense"
] | permissive | mjohne/Cpp-Apps | 3f9d838a120843dc0ac87cc81b1c3ae29282c51c | 0d386f4a76a3aa4676a11d0e1e3cc87e91e9b96f | refs/heads/master | 2020-09-09T03:51:54.553623 | 2019-11-25T23:45:37 | 2019-11-25T23:45:37 | 221,339,592 | 0 | 0 | Unlicense | 2019-11-25T23:45:38 | 2019-11-13T00:35:36 | C++ | UTF-8 | C++ | false | false | 1,261 | cpp | // hCalenderDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Microformatter.h"
#include "hCalenderDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ChCalen... | [
"noreply@github.com"
] | mjohne.noreply@github.com |
12c31d812073beb2e59e4f0c8898a2f11658da79 | 7346ee9284a393767aaf9aeec2dd1c709d3e9be4 | /include/yactfr/metadata/scope.hpp | 8419ca151fdc6ab8180106a4f60b25618d5b5c01 | [
"MIT"
] | permissive | eepp/yactfr | a8ac1bdd2df565e2e84b52bfc43268e6908a30ae | 35545fedf3d792e18b8a5350e1fa43781a1128a1 | refs/heads/master | 2023-09-03T08:16:51.069739 | 2023-08-18T13:37:48 | 2023-08-18T13:37:48 | 135,329,080 | 9 | 2 | MIT | 2023-07-04T10:28:13 | 2018-05-29T17:14:26 | Roff | UTF-8 | C++ | false | false | 752 | hpp | /*
* Copyright (C) 2015-2018 Philippe Proulx <eepp.ca>
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#ifndef _YACTFR_METADATA_SCOPE_HPP
#define _YACTFR_METADATA_SCOPE_HPP
namespace yactfr {
/*!
@brief
Scope.
@ingroup metadata_dt... | [
"eeppeliteloop@gmail.com"
] | eeppeliteloop@gmail.com |
9740cb8a7e4af98642dc332de043bccf414681ae | 1834c0796ee324243f550357c67d8bcd7c94de17 | /SDK/TCF_WBP_Challenges_Item_functions.cpp | 5319db4c35242207c4be4edfe44d70de0cbf7030 | [] | no_license | DarkCodez/TCF-SDK | ce41cc7dab47c98b382ad0f87696780fab9898d2 | 134a694d3f0a42ea149a811750fcc945437a70cc | refs/heads/master | 2023-08-25T20:54:04.496383 | 2021-10-25T11:26:18 | 2021-10-25T11:26:18 | 423,337,506 | 1 | 0 | null | 2021-11-01T04:31:21 | 2021-11-01T04:31:20 | null | UTF-8 | C++ | false | false | 1,738 | cpp | // The Cycle Frontier (1.X) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "TCF_WBP_Challenges_Item_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Fu... | [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
12a4665f4842e072511aa75955e851c23676da41 | 5470644b5f0834b9646649da365c96101a2f9b2a | /Sources/Elastos/LibCore/src/elastos/security/cert/CCertificateFactory.cpp | a640f159b7681591bf9e09825ca53bf7ee06b59c | [] | no_license | dothithuy/ElastosRDK5_0 | 42372da3c749170581b5ee9b3884f4a27ae81608 | 2cf231e9f09f8b3b8bcacb11080b4a87d047833f | refs/heads/master | 2021-05-13T15:02:22.363934 | 2015-05-25T01:54:38 | 2015-05-25T01:54:38 | 116,755,452 | 1 | 0 | null | 2018-01-09T02:33:06 | 2018-01-09T02:33:06 | null | UTF-8 | C++ | false | false | 10,342 | cpp |
#include "CCertificateFactory.h"
#include "cmdef.h"
#include "CSecurity.h"
using Elastos::Security::CSecurity;
namespace Elastos {
namespace Security {
namespace Cert {
// Store CertificateFactory service name
static const String sSERVICE = String("CertificateFactory");
/**
* Creates a new {@code CertificateFacto... | [
"chen.yunzhi@kortide.com"
] | chen.yunzhi@kortide.com |
83c2cb640c9ae416371dc9ca3dd5ce6939120a9c | 315fd47690450e7a0530bf4b3596cc9448c88929 | /atcoder/agc/012/c.cpp | 292e1f9545cce35a866f4128e2aac0b1e73c87ba | [] | no_license | 1119-2916/competitive-programming | 8d59f2c3c36de719d665307fcaa138cc03845573 | 356b66d2f93bf6e28f04af8968e0f1f6ae4d7bae | refs/heads/master | 2021-06-08T14:33:14.620002 | 2020-04-26T14:01:44 | 2020-04-26T14:01:44 | 108,534,522 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | #include <bits/stdc++.h>
using namespace std;
#define INF 1001000100010001000
#define MOD 1000000007
#define EPS 1e-10
#define int long long
#define rep(i, N) for (int i = 0; i < N; i++)
#define Rep(i, N) for (int i = 1; i < N; i++)
#define For(i, a, b) for (int i = (a); i < (b); i++)
#define pb push_back
#define e... | [
"ti11192916@gmail.com"
] | ti11192916@gmail.com |
003d5c651d37603cf9106042d3b512e0e3e4e176 | 05259acfb0fe6c53b2a51abe7c813e72a6f3b5b8 | /Classes/BattleCountLabel.cpp | d1e8797100324632ccc18ade9c89126c3fd4edb0 | [] | no_license | ymotoyama/Pazudora | eeb9af574ade21ac941d68429f6caff72c0787aa | d0834982acc09e1655277be6d15a54b50c9d8010 | refs/heads/master | 2021-01-01T05:37:41.865143 | 2015-03-22T16:29:17 | 2015-03-22T16:29:17 | 32,084,022 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | cpp | #include "BattleCountLabel.h"
#include "Consts.h"
void BattleCountLabel::show(int currentCount, int maxCount, Node* scene)
{
auto moveDistance = Vec2(-200, 0);
auto position = Vec2(RESOLUTION_X / 2, RESOLUTION_Y / 2 + 280);
auto label = Label::createWithTTF(
StringUtils::format("Battle %d/%d", currentCo... | [
"motoyadius@gmail.com"
] | motoyadius@gmail.com |
22a8bd6529492c806f533848612db7756678c41b | f4d8f10ae47585745c651165cc0ccfd6ad49f51a | /src/Node.h | 18bf707fb2cb9cec113234a59729de357e80b555 | [
"MIT"
] | permissive | Hengle/CDLOD | f2a9242e96e1ddba37b1af1ba787601bd0291f4f | bc603ee4f5622b9f7c0a3006963ea707e77a37ac | refs/heads/master | 2021-12-07T22:04:58.137148 | 2016-01-10T16:26:28 | 2016-01-10T16:26:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | h | #ifndef NODE_H
#define NODE_H
#include <stack>
#include <vector>
#include "glm/glm.hpp"
#include "Camera.h"
#include "HeightMap.h"
class Node {
public:
Node(HeightMap *heightMap, float nodeSize, int lodDepth, float x, float z);
virtual ~Node();
bool LODSelect( std::vector<int> &ranges, int lo... | [
"aron.tornberg@gmail.com"
] | aron.tornberg@gmail.com |
f536bba3cf85001973c63ea41327119ae0f21784 | 50cbde974bebb9b3542266a066c1f6d9b7b8792c | /BRESEN~1.CPP | fceb974a9cb52f38dc6921a09732894d72f7c60f | [] | no_license | BAHETIHARSH/computer_graphics | 5cafee3c5924a2782589b87a0e4c90bb2f67525b | 3f0018671bb7b4f023661468fc08cfafbac5e283 | refs/heads/main | 2022-12-30T07:35:21.659721 | 2020-10-19T05:51:39 | 2020-10-19T05:51:39 | 305,275,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp |
// C++ Implementation for drawing line
#include <graphics.h>
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include <iostream.h>
void plotCircle(int xc, int yc, int x, int y)
{
putpixel(xc + x, yc + y, WHITE);
putpixel(xc - x, yc + y, WHITE);
putpixel(xc + x, yc - y, WHITE);
put... | [
"noreply@github.com"
] | BAHETIHARSH.noreply@github.com |
c3ed135b8f7f7252e98d6b45d0959b74e8801480 | 560a5f8ccfe684e93705329bbcea63e2ef67740c | /wtwapi/libWTW-src/include/libWTW/Database.h | 204955044999dd52db9d99a194baa7e07d0a4584 | [] | no_license | blad3master/wtwOTRmessaging | 2410d65f49be12f983cf7719bde82a9acea482a3 | 8e7c2726bb50ddd0058735ea9cd988903ce70db1 | refs/heads/master | 2021-01-17T13:06:30.698990 | 2016-04-03T21:14:10 | 2016-04-03T21:14:10 | 28,274,956 | 1 | 1 | null | 2016-04-03T21:23:55 | 2014-12-20T18:16:12 | C | UTF-8 | C++ | false | false | 5,288 | h | /*
** Copyright (C) 2007-2015, K2T.eu
*/
#pragma once
#include "..\..\libWTWCommon.h"
#include "String.h"
#include "BaseObject.h"
#include <deque>
namespace wtw
{
namespace db
{
class LIBWTW_API CConnection : public CBaseObject
{
friend class CCommand;
protected:
struct sqlite3 *m_db;
int m_bInTra... | [
"blad3master@blad3master.com"
] | blad3master@blad3master.com |
210a034d222dcf798959a63956689ae270a81bb4 | f2b239b632418a37f8a775c196291eb3ccafba3e | /isPal.cpp | 2574267db629501fa606a7bed39f5f8ae320bb00 | [] | no_license | luckynoob/Leetcode | e8555ed008fa708a11390735c34f47959f761274 | b530de7645760bcbdb95699f2908ca1fbf09329c | refs/heads/master | 2021-06-22T07:40:19.817274 | 2013-12-10T04:42:53 | 2013-12-10T04:42:53 | 7,375,141 | 0 | 1 | null | 2020-10-01T08:02:40 | 2012-12-30T09:30:43 | C++ | UTF-8 | C++ | false | false | 997 | cpp | #include<iostream>
#include<string>
using namespace std;
class Play {
public:
bool isAlphaNum(char c) {
return 'a' <= c && c <= 'z' ||
'A' <= c && c <= 'Z' || '0' <= c && c <= '9';
}
char toLow(char c) {
if('A' <= c && c <= 'Z') return c - 'A' + 'a'... | [
"dkwangpool@gmail.com"
] | dkwangpool@gmail.com |
5f0f3a1bfb6c1ecf6e49662dcb14b408588c8e24 | 35784693fd671167c9c78460f4baea0c8dd4dfbe | /VLC_test/Header.h | bd0b8dab9cf5243abd80ece5ae9e204873e3f21a | [] | no_license | minjoolzy/MyVLC | bcbab20d4b4c1a69c12ceacbdaf050a03f1ce7b3 | d4d569e722d3ebb4faf5d370f9beb9b28a264aeb | refs/heads/master | 2021-01-18T02:38:17.491371 | 2014-11-05T20:47:43 | 2014-11-05T20:47:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,466 | h | #pragma once
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <opencv2\video\tracking.hpp>
#include <opencv2\video\video.hpp>
#include <opencv2\videostab\videostab.hpp>
#include <opencv2\opencv_modules.hpp>
#include "opencv2/features2d/features2d.h... | [
"izz.mostafa@gmail.com"
] | izz.mostafa@gmail.com |
cf2c1e31bb68289a31e492dd05ea36b4c89b564b | 172a3e34144ac15dc80eaa44aeac664e77a04703 | /src/lib/liquid/IntegerFragment.cpp | 896dabd8eb5db134f15e2138e2b073a7be32b38c | [
"Zlib"
] | permissive | ptf/openliquid | 8ff6beb032b95f9bb733bdcd7b1055d1ea65f1f1 | 96ce45a84e820efbd4babf49aad6fad3b297f468 | refs/heads/master | 2021-01-21T03:25:25.676004 | 2012-05-09T12:50:36 | 2012-05-09T12:50:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,159 | cpp | #include "Fragment.hpp"
namespace Liquid
{
bool IntegerFragment::Compare(Fragment* other,
ConditionalOperator op)
{
// Implicit value handling
if (op == ConditionalImplicit)
return this->_value;
// Value handling based on RHS
switch ... | [
"mail@nickbruun.dk"
] | mail@nickbruun.dk |
a088f56cac144d02f75ee059727f6bf2c6bb118e | 09a9a48ecc52a2d42fbd9b465e1d1a2463210600 | /content/browser/renderer_host/visible_time_request_trigger.cc | 2cfd1bfaa0d86a5f163a11c34ea276a6cae8bb5f | [
"BSD-3-Clause"
] | permissive | MrRRaj/chromium | 65c1ffaa6d7a48064e572caf109168d39cdda65a | 7e85fff25b2bf99ab4b0b3c2841d6af227030c9b | refs/heads/master | 2023-09-01T14:54:55.421225 | 2021-11-01T13:05:36 | 2021-11-01T13:05:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | cc | // Copyright (c) 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/renderer_host/visible_time_request_trigger.h"
#include <utility>
#include "base/time/time.h"
#include "third_party/blink/p... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
2f7d60d28947c06bd407e8cd483ccc91e21492f5 | 2d2eb24a01a3e720697a2725293e5dfb93ca45cb | /scalewidget.h | 80595b3badc1fc6935cf33d928386b95f11ab85f | [] | no_license | yyxmm/Scale | de4000c6dc0307e37816d8f569e538cdf2b897c6 | f70593fbcffff9035c272ca07e6860f0aae4886c | refs/heads/master | 2022-06-06T05:22:18.485719 | 2020-04-30T10:00:36 | 2020-04-30T10:00:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | h | #ifndef SCALEWIDGET_H
#define SCALEWIDGET_H
#include <QWidget>
class ScaleWidget : public QWidget
{
Q_OBJECT
public:
explicit ScaleWidget(QWidget *parent = nullptr);
protected:
void paintEvent(QPaintEvent *event) override;
void mousePressEvent(QMouseEvent *event) override;
void mouseReleaseEvent... | [
"870603664@qq.com"
] | 870603664@qq.com |
0fcaae240a4b3650678c209d2f8f46a05ee46f32 | ef060ebef214f7cd5774f37236b407e92cfd5790 | /SRC/wfc_get_day_of_week.cpp | b434cfc36d3ae93ab4e24620be00e64b18dee201 | [
"BSD-2-Clause"
] | permissive | SammyB428/WFC | 4a8af293fc5012db73855e34598a8df163d92a4f | 1709964506b085bde5aa7751d1914d7a68cbea53 | refs/heads/master | 2022-07-26T13:55:46.988837 | 2022-07-08T15:47:28 | 2022-07-08T15:47:28 | 169,485,007 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,508 | cpp | /*
** Author: Samuel R. Blackburn
** Internet: wfc@pobox.com
**
** Copyright, 1995-2022, Samuel R. Blackburn
**
** "You can get credit for something or get it done, but not both."
** Dr. Richard Garwin
**
** BSD License follows.
**
** Redistribution and use in source and binary forms, with or without
** modification, a... | [
"sam_blackburn@pobox.com"
] | sam_blackburn@pobox.com |
b50e1c61b25b2c59641764c58df9006a9fe00375 | ab0d58b7875bf559842be46af044c365ff734258 | /Engine/acplmac.cpp | cb2a2496112bc17bd98bacbb3eb24c4c7b312bb5 | [
"Artistic-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lunixbochs/ags | 0bead7dce62dc1a22c966a6a6acb335ccd2abe5e | 99a6a3a7b4eb9f81af049953f1faaf32063f7d8f | refs/heads/main | 2020-12-25T07:27:50.634962 | 2012-10-09T17:45:33 | 2012-10-09T17:45:33 | 5,276,516 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,271 | cpp | #ifndef MAC_VERSION
#error This file should only be included on the Mac build
#endif
// ********* MacOS PLACEHOLDER DRIVER *********
#include "acplatfm.h"
bool PlayMovie(char const *name, int skipType);
struct AGSMac : AGS32BitOSDriver {
virtual int CDPlayerCommand(int cmdd, int datt);
virtual void Delay(in... | [
"jjs@jjs.at"
] | jjs@jjs.at |
70cebd5081452a5df691bacb106c7475af6a2b9b | 9de0cec678bc4a3bec2b4adabef9f39ff5b4afac | /PWGPP/TRD/TRDPID/AliTRDPIDmatching.h | 9392a41290be815676552e3050ee005e93732f8b | [] | permissive | alisw/AliPhysics | 91bf1bd01ab2af656a25ff10b25e618a63667d3e | 5df28b2b415e78e81273b0d9bf5c1b99feda3348 | refs/heads/master | 2023-08-31T20:41:44.927176 | 2023-08-31T14:51:12 | 2023-08-31T14:51:12 | 61,661,378 | 129 | 1,150 | BSD-3-Clause | 2023-09-14T18:48:45 | 2016-06-21T19:31:29 | C++ | UTF-8 | C++ | false | false | 2,612 | h | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: Yvonne Pachmayer <pachmay@physi.uni-heidelberg.de> *
* Contributors are ... | [
"Christoph.Blume@cern.ch"
] | Christoph.Blume@cern.ch |
e84c55670a6a662471dc23501a3656ef668bf8c0 | dcc13dd8fc04e9e7b150afe2402d53d709c8d986 | /DYNAMO.cpp | 7d9529bed1d3fffdbce39ef5adcbabaa20cc8c7a | [] | no_license | Prashanthsrn/Competitive-Coding | 8c3394173e96ef146abaceb16888e17865d18a3e | fcb8b11d9fdd7536972e1766a75ee5884f15db92 | refs/heads/master | 2021-05-24T18:02:02.125414 | 2020-04-07T04:42:35 | 2020-04-07T04:42:35 | 253,686,709 | 0 | 1 | null | 2020-10-01T04:16:40 | 2020-04-07T04:27:19 | C++ | UTF-8 | C++ | false | false | 640 | cpp | #include <iostream>
using namespace std;
int main(){
int t;
cin >> t;
while(t--){
int n;
cin >> n;
long long unsigned int a;
cin >> a;
long long unsigned int temp = 1;
for(int i = 0; i < n; i++){
temp = temp * 10;
}
long long unsigned int s = a + 2 * temp ;
cout << s << endl;
fflush(stdou... | [
"noreply@github.com"
] | Prashanthsrn.noreply@github.com |
057487f11ad6f3d283186eaf46767acfbab9c463 | 10110bebd03255fc1255f1d81d925dffac9a1413 | /shell/platform/embedder/embedder_engine.cc | 7416441d7902e5cb1455e6dd09fc7537a6b0df3a | [
"BSD-3-Clause"
] | permissive | mravn-google/engine | d9c5762950fecc3cf85b9ae36f9bc666a5ea62da | dfb437ada2a474bca231a68ed8fd2fe385eb8f90 | refs/heads/master | 2021-01-11T15:37:28.575907 | 2018-05-30T10:44:53 | 2018-05-30T10:44:53 | 82,555,870 | 1 | 1 | null | 2017-02-20T12:33:35 | 2017-02-20T12:33:35 | null | UTF-8 | C++ | false | false | 2,993 | cc | // Copyright 2017 The Flutter 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 "flutter/shell/platform/embedder/embedder_engine.h"
#include "lib/fxl/functional/make_copyable.h"
#ifdef ERROR
#undef ERROR
#endif
namespace sh... | [
"noreply@github.com"
] | mravn-google.noreply@github.com |
eaf9489a1d48e6682aad276f73403dd13fb1757a | 30c0974df70d24e485dfed1afab9f8db135ff019 | /projects/libcrypt/libcrypt.h | d310aa90ac39c1cba4faccfb3eaece3e66985ac0 | [
"Apache-2.0"
] | permissive | leckel2014/CoreLooper | 48cc7ae970fe9c46400b1eb9747dfc0d90c62219 | 5afd067488bd81105297eb84016949d539b67ea9 | refs/heads/master | 2020-05-25T19:04:26.976075 | 2019-03-05T12:25:29 | 2019-03-05T12:25:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | h | // libcrypt.h : main header file for the libcrypt DLL
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// ClibcryptApp
// See libcrypt.cpp for the implementation of this class
//
class ClibcryptApp : public CWinApp
... | [
"xwpcom@163.com"
] | xwpcom@163.com |
5e752d035c530be2d5f1ff083c3340876151987c | 9506a40845f40f9f79e20ac87191c5b0d1ef6d7c | /practice/dp/anfisa.cpp | 5730bb2946f3667619a07967628bf8f22ca753d3 | [] | no_license | anish-rajan/Cp-algos | 9ab16374a154fe9598a49405d1a2b3bf10013320 | 9bcb7264769536cc4ff877a3b6d2f156fddee50a | refs/heads/master | 2022-12-14T09:44:31.960833 | 2020-09-10T12:01:14 | 2020-09-10T12:01:14 | 265,180,210 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main()
{
ll k, a, b;
cin >> k >> a >> b;
string s;
cin >> s;
ll n = s.size();
ll yes = -1;
if (a * k > n || n / b > k || (n / b == k && n % b > 0))
{
yes = 0;
}
if (yes == 0)
... | [
"anish@Anish.Rajan"
] | anish@Anish.Rajan |
967e85b3a4287ba5b0626575468175d183fe2f35 | cc1738ba67ebf62abacef3dbb9ca383fb56f5d20 | /Game/enemy_collisions.cpp | 61da4bbace0d85048b5dd1be26c36aa156be6192 | [] | no_license | MihaChug/Game | c2482d6187a1c59a8e81d32a683e9d800a64a604 | 67ba02317fb819a6458469dbc0cef321412d8b52 | refs/heads/master | 2021-01-10T16:22:49.209894 | 2016-01-24T15:50:01 | 2016-01-24T15:50:01 | 49,840,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | #include "enemy.h"
void Enemy::checkCollisionWithMap(float Dx, float Dy)
{
for (int i = 0; i < obj.size(); i++)
if (getRect().intersects(obj[i].rect))
{
if (obj[i].name == "block")
{
if (Dy > 0)
{
y = obj[i].rect.top - h / 2;
dy = 0;
onGround = true;
}
if (Dy < 0)
{
y... | [
"MihaChug@gmail.com"
] | MihaChug@gmail.com |
6e84a6473b1831d52c84b157a3d5900128adf3b0 | 5a5239120e4022521ac140a56e22ad6f49422977 | /crci07p3.cpp | 5706963eba1cda52a3dbed7581810a65a04cc32a | [] | no_license | sunny-lan/cpp-contest | 0b26d8b6da8c72980de1eb98c7401385f9730a41 | 3eea062297e9374a8829b618954e9db46bfb4466 | refs/heads/master | 2020-03-22T04:14:01.203252 | 2018-07-02T19:04:43 | 2018-07-02T19:04:43 | 139,483,196 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 867 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MAXN 110
#define MAXBS 1500000
int n, m;
int x[MAXN], y[MAXN];
int sm[MAXN], pm[MAXN];
int sv[MAXN], pv[MAXN];
ll f(int s) {
ll tot = 0;
for(int i = 0; i < n; i++) {
ll need = x[i] * s - y[i];
if(need <= 0)
continue;
ll mini = 1l... | [
"sunny.lan.coder@gmail.com"
] | sunny.lan.coder@gmail.com |
c159b7becf9ad2d02af9b9be3ba7673c7ae3875c | 8751d56f5b52e3188c31dfa157d1b4fad2d700e6 | /menge_ros/menge_core/src/Agents/AgentInitializer.cpp | aca67899c9489bc875de509bfcd8952c9a187e76 | [] | no_license | stagadish/src | 0436ba47957ceb26e92d6a48062ae9799c109493 | 84eed673781ace12218e4ae3b02eeb8da12d54af | refs/heads/master | 2021-06-25T05:59:47.190832 | 2017-09-13T19:44:04 | 2017-09-13T19:44:04 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 15,123 | cpp | /*
License
Menge
Copyright © and trademark ™ 2012-14 University of North Carolina at Chapel Hill.
All rights reserved.
Permission to use, copy, modify, and distribute this software and its documentation
for educational, research, and non-profit purposes, without fee, and without a
written agreement is hereby gran... | [
"anoop.a.rao@gmail.com"
] | anoop.a.rao@gmail.com |
915755f252f83240ad0caa8dd0722e0e50a9e724 | 7808157978fe1948e9049b663658ec2331dce426 | /overall-fog.ino | 718c89b36d8450bab5b5a924d226e42be3956240 | [] | no_license | anshul2498/fog-traffic-control | 090ae3bee64886724f4d5927bcc2f3e6d722f94c | 7a84399428c786382b39f635fbec0027239aab5b | refs/heads/master | 2020-06-26T16:11:46.749270 | 2019-07-30T15:48:18 | 2019-07-30T15:48:18 | 199,682,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,915 | ino | #include <VirtualWire.h>
#include <Ultrasonic.h>
#define trig1 8
#define echo1 9
#define trig2 10
#define echo2 11
#define trig3 12
#define echo3 13
#define trig4 7
#define echo4 6
Ultrasonic ultrasonic1(trig1, echo1);
Ultrasonic ultrasonic2(trig2, echo2);
Ultrasonic ultrasonic3(trig3, echo3);
Ultrasonic ultra... | [
"anshul2498@gmail.com"
] | anshul2498@gmail.com |
f0c0826b2975f40602fede18901e603519bc6601 | bd8c09acd99f84d8b19d4c67727507bf2d1ae332 | /src/ConEmu/SetPgAppear.cpp | 7cc3d6a45f7f1be275bf3b983d0c6d4829cd8777 | [
"BSD-3-Clause"
] | permissive | albert2lyu/ConEmu | 33bf57d9fefbb894ca391fce0d5cd690644b945b | b55241224389f5ce106db41036dabbf14be4d254 | refs/heads/master | 2021-01-21T19:58:19.390679 | 2016-03-30T09:06:39 | 2016-03-30T09:06:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,922 | cpp |
/*
Copyright (c) 2016 Maximus5
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following dis... | [
"ConEmu.Maximus5@gmail.com"
] | ConEmu.Maximus5@gmail.com |
5d3a667f4717657e18ffb472566182d02f4f5cac | 45cbf6d0d69045be4e90ae8597bb35f024a74648 | /cpp/PersistentRandomForce.h | ad80dd1f1162b956068c24ae0b5b397145ac74f1 | [] | no_license | smeetsbart/active_laning | 299c1258c7e090db15aea100f3421748efce23bb | 18377f005b0749a0bbf141708514dd443d1fae3b | refs/heads/master | 2023-06-12T10:24:20.688591 | 2023-06-01T08:49:07 | 2023-06-01T08:49:07 | 283,429,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,619 | h | //------------------------------------------------------------------------------
// DEMeter10 Library
// Copyright (c) 2009 Engelbert CM Tijskens
//------------------------------------------------------------------------------
#ifndef DEMeter_PersistentRandomForce_h_INCLUDED
#define DEMeter_PersistentRandomForce_h_INC... | [
"bart.smeets@kuleuven.be"
] | bart.smeets@kuleuven.be |
10e7f3e34534b39d108c60b525f9160dcbdb3c6e | 5f7f5c4c9f206279994abf23265d75a6886b2c89 | /USACO/Silver/searchingforsoulmates.cpp | c6c1950c93a19b73299c582faf65da814ad00e12 | [] | no_license | bakekaga/cp | b3e2257d4fc5064ad98e625ccef324556c636d83 | de591a06b18348941f58062d69078754545cf736 | refs/heads/master | 2023-08-04T10:11:10.810622 | 2023-07-30T02:24:37 | 2023-07-30T02:24:37 | 223,297,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | cpp | #include <bits/stdc++.h>
#define mp make_pair
#define sz(x) (int) (x).size()
#define pb push_back
using namespace std;
typedef long long ll;
const int MAXN = 1e5 + 5;
const int MOD = 1e9 + 7;
const int INF = 0x3f3f3f3f;
const ll INFLL = 0x3f3f3f3f3f3f3f3f;
const double EPS = 1e-6;
void solve() {
ll a, b; cin >... | [
"awesomealbs@gmail.com"
] | awesomealbs@gmail.com |
ac5b733ad4d3ec50bcca5bdd11a05afe51ba1cfe | 060f3e627aeb72aa1c9a9104c0c66e2295ad158b | /tests/basic.cxx | cc87c2bd05f34d55d0226daf168a1092212eff2e | [
"MIT"
] | permissive | lukaszgemborowski/mixin | fb5fa9b4e9c9679008109ae1830e3cefb882debe | b907d8e6c494ecbc05608eff6b767564058ab0ea | refs/heads/master | 2020-12-07T03:34:40.037694 | 2020-01-28T20:27:10 | 2020-01-28T20:27:10 | 232,624,158 | 2 | 1 | MIT | 2020-01-26T14:49:18 | 2020-01-08T17:49:20 | C++ | UTF-8 | C++ | false | false | 2,355 | cxx | #include <mixin/mixin.hpp>
#include "catch.hpp"
struct Fooable {};
struct Barable {};
struct Mathable {
MIXIN_ABILITY_METHOD(Mathable, do_math, int (int, int));
};
template<class T>
struct FooIf : T
{
void foo()
{
for_each(
this,
mixin::implements<Fooable>{},
[t... | [
"lukasz.gemborowski@gmail.com"
] | lukasz.gemborowski@gmail.com |
443a5f346ea0c13988a14948b99044f2c16389f6 | 103fd8258bc99153ac282896add910b0d43e03c3 | /tensorflow/compiler/xla/mlir_hlo/mhlo/transforms/stablehlo_legalize_to_hlo/stablehlo_legalize_to_hlo.cc | 2bd0e3ba0e99820d3addf7d2b52d6e501298047b | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | zhaozheng09/tensorflow | be488cdc53328d0c41b8f916225209620582a36f | a05424dd9b1a059a1905a356c4e21bf2e3df2cce | refs/heads/master | 2023-01-07T14:24:27.732164 | 2022-12-22T13:14:43 | 2022-12-22T13:21:44 | 249,330,689 | 1 | 1 | Apache-2.0 | 2021-07-09T09:55:21 | 2020-03-23T03:53:22 | C++ | UTF-8 | C++ | false | false | 10,936 | cc | /* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
f304611437864d920c6b274f91e460bbe36af2a8 | 1f41b828fb652795482cdeaac1a877e2f19c252a | /maya_plugins/inLocus/3dGroup/sgMesh/sgMesh/sgBuilldMeshData.cpp | f14e6b59a4dc85767a5ef641f4db11b6fa39de40 | [] | no_license | jonntd/mayadev-1 | e315efe582ea433dcf18d7f1e900920f5590b293 | f76aeecb592df766d05a4e10fa2c2496f0310ca4 | refs/heads/master | 2021-05-02T07:16:17.941007 | 2018-02-05T03:55:12 | 2018-02-05T03:55:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,968 | cpp | #include "sgBuildMeshData.h"
sgBuildMeshData::sgBuildMeshData()
{
m_numVertices = 0;
m_numPolygons = 0;
};
sgBuildMeshData::~sgBuildMeshData(){};
void sgBuildMeshData::clear()
{
m_numVertices = 0;
m_numPolygons = 0;
m_points.clear();
m_vertexCount.clear();
m_vertexList.clear();
m_originalFaceIndices.clear();
... | [
"kimsung9k@naver.com"
] | kimsung9k@naver.com |
06edfd8af190f6c86198e2ec902b19430ad7d353 | f1f9ba2c03972434429ed064e4cd602216c615a2 | /Blackjack-MultiDeck/Deck.h | 3fee938d501b31fe1a253a61270708cddc8d2b85 | [] | no_license | RogerTerrill-CPP/blackjack | c60cc23ba434eeafdf5dfe42e5a7c136cfc1908e | 83a449cf021b984fd2c6384b1b32938dfc01634d | refs/heads/master | 2020-05-23T07:41:40.810155 | 2019-05-14T19:00:02 | 2019-05-14T19:00:02 | 186,681,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #ifndef DECK_H
#define DECK_H
#include "Card.h"
#include <vector>
using namespace std;
class Deck
{
public:
Deck();
void newDeck();
void shuffle();
void printDeck();
string printCardinHand(int i);
void deal(Deck& inputDeck);
void clearHand();
int handTotal();
int valueOfCard(int i);
bool bust();
void checkA... | [
"lpaddikt@gmail.com"
] | lpaddikt@gmail.com |
9a8eb455822e129fedc64fec5f2dd501a6a96e2a | 8344cd8d0d224466f93740daf5a8ab08d6520ed8 | /content/browser/frame_host/back_forward_cache.h | c9c16863225a93f938fc89defea6f078856d377f | [
"BSD-3-Clause"
] | permissive | dennyliao/chromium | afb3349d99f4191f03e5ed25b590e65d6b1ee669 | e29241861322712d4f2a9f136c321fb3e8d8a3f4 | refs/heads/master | 2023-01-16T06:15:49.705920 | 2019-09-19T10:00:31 | 2019-09-19T10:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,360 | h | // 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.
#ifndef CONTENT_BROWSER_FRAME_HOST_BACK_FORWARD_CACHE_H_
#define CONTENT_BROWSER_FRAME_HOST_BACK_FORWARD_CACHE_H_
#include <list>
#include <memory>
#inc... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f2524a5eac3a6701623fb83de2fda0e98c225dde | 5f58ee3c7e5c4cca0310f33335fb36ec61ffd8cf | /src/pioneer3_control_ros/test_cmd.cpp | 9583ccd10c7bf0b9a795a33de323d6b459d461e4 | [] | no_license | qqsskk/p3dx_velodyne_slam | 4bad90ea64fb50539982a44f3df7abd0041516db | cafe3f81eb17bc5e8c8edc6b83b84a8d5fbf2805 | refs/heads/master | 2021-06-08T17:05:52.386391 | 2016-10-26T09:44:05 | 2016-10-26T09:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 972 | cpp | /**************************************************
A simple demo showing how to control robot via command
**************************************************/
#include <ros/ros.h>
//#include "Package/MessageType.h"
#include "geometry_msgs/Twist.h"
//using geometry_msgs::Twist;
//using namespace std;
const double TWI... | [
"jhjune91@gmail.com"
] | jhjune91@gmail.com |
a38ef1f9885032a6c85c7a0e60475b8065393e84 | 9e30fce1a475704054ed75e33eda1ebe4aabc628 | /Engine/Source/graphics/index_buffer.h | a6dd96c61a18ded21eaba62d09eb98600829ea1c | [] | no_license | stkromm/darkshore | c9b6dea426925d4fcae6dbbe87499976c875d19f | 65f84083423d4be0f7268da27f90b416e1941a16 | refs/heads/master | 2022-12-22T00:42:23.236705 | 2020-09-21T15:23:33 | 2020-09-21T15:23:33 | 133,785,449 | 0 | 0 | null | 2020-09-04T19:12:55 | 2018-05-17T08:47:27 | C++ | UTF-8 | C++ | false | false | 792 | h | #pragma once
#include <vector>
#include "graphics/graphics.h"
namespace ds {
namespace graphics {
/**
* Index buffer object. No local copy of data is stored.
*/
class IndexBuffer
{
private:
uint32_t id = 0;
uint32_t count;
uint32_t capacity;
public:
IndexBuffer(const uint32_t* data, uin... | [
"kromm.steffen@gmail.com"
] | kromm.steffen@gmail.com |
4e992228ae258be6e6857837d91226920d35d39a | 0233477eeb6d785b816ee017cf670e2830bdd209 | /SDK/SoT_bsp_sea_rock_cluster_b_classes.hpp | f73337fb5c1ee9b4dd8be80fb1267626d2d1e1fe | [] | no_license | compy-art/SoT-SDK | a568d346de3771734d72463fc9ad159c1e1ad41f | 6eb86840a2147c657dcd7cff9af58b382e72c82a | refs/heads/master | 2020-04-17T02:33:02.207435 | 2019-01-13T20:55:42 | 2019-01-13T20:55:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,366 | hpp | #pragma once
// Sea of Thieves (1.4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_bsp_sea_rock_cluster_b_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//-----------------------------------------------------------------------... | [
"igromanru@yahoo.de"
] | igromanru@yahoo.de |
2aff9aaa012130df80730f2c155e304e17f980f0 | 08dd75222ac57603692c9ebdb3d1a5e73650f79d | /public/TcpSocket.h | 18d8717b1a4981606c44a96f83640eeb66ac6a9d | [] | no_license | isliulin/disp | 79b085df714d2bc7b8e61d7cf6fffbf59b871851 | dbfeeecd34b200527623803b4b9ce798877ab8a4 | refs/heads/master | 2021-09-21T16:51:47.323203 | 2018-08-29T05:42:03 | 2018-08-29T05:42:03 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,754 | h | #ifndef TcpSocket_H_HEADER_INCLUDED_BE6E2CF5
#define TcpSocket_H_HEADER_INCLUDED_BE6E2CF5
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <unistd.h>
... | [
"hty@localhost.localdomain"
] | hty@localhost.localdomain |
e5049ce11f31a385f665878a8739859fb505afa5 | 8b214586cfc682213a2033ea1a7b7bfa9a08d1b3 | /static class members.cpp | e776a922bfe3e77f430d1819b27ce6d532017716 | [] | no_license | jlopez2022/cpp_utils | 59436930dcdd790755431311fba7cde892f172c2 | 0dd714170b7768474b550f62c653b11af41e7ecb | refs/heads/master | 2021-01-21T14:17:07.130594 | 2017-09-29T11:30:08 | 2017-09-29T11:30:08 | 58,115,795 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | //Please do not modify this filename or will not work!!!
//Here are two numbers to get from file: 18123.12 12.33
#include <iostream>
#include <string>
using namespace std;
class c_A
{
public:
static int xmax, ymax;
static int x2(int x);
}p1,p2;
class c_B : public c_A
{
public:
int x2;
};
int c_A::xmax=0, c_A::... | [
"javierluis.lopez.segura@acciona.com"
] | javierluis.lopez.segura@acciona.com |
3a5470675327c7bc66ccfba6fdcd9aaef86d45c1 | 3fe692c3ebf0b16c0a6ae9d8633799abc93bd3bb | /Contests/Gym-102920/L.cpp | 05f21acd16be2382be63a78c0dd4742698b79d81 | [] | no_license | kaloronahuang/KaloronaCodebase | f9d297461446e752bdab09ede36584aacd0b3aeb | 4fa071d720e06100f9b577e87a435765ea89f838 | refs/heads/master | 2023-06-01T04:24:11.403154 | 2023-05-23T00:38:07 | 2023-05-23T00:38:07 | 155,797,801 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,079 | cpp | // L.cpp
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MAX_N = 1e6 + 200;
int n, hi[MAX_N], ai[MAX_N], bi[MAX_N];
ll ans;
ll calc(int i, int j) { return 1LL * (hi[i] + hi[j]) * (j - i); }
// downhill, uphill;
// [l, r] stands for decision point collection for [L, R];
void solve(int... | [
"kaloronahuang@outlook.com"
] | kaloronahuang@outlook.com |
9f497a9f25d54d8c91c177f06acac92bfe5430ca | 696e35ccdf167c3f6b1a7f5458406d3bb81987c9 | /ash/shelf/assistant_overlay.cc | e78d9fa6342b5e69488afa56039b1c97204e62b3 | [
"BSD-3-Clause"
] | permissive | mgh3326/iridium-browser | 064e91a5e37f4e8501ea971483bd1c76297261c3 | e7de6a434d2659f02e94917be364a904a442d2d0 | refs/heads/master | 2023-03-30T16:18:27.391772 | 2019-04-24T02:14:32 | 2019-04-24T02:14:32 | 183,128,065 | 0 | 0 | BSD-3-Clause | 2019-11-30T06:06:02 | 2019-04-24T02:04:51 | null | UTF-8 | C++ | false | false | 36,583 | cc | // Copyright 2017 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 "ash/shelf/assistant_overlay.h"
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include "ash/public/cpp/shelf_type... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ebc69959b192bcdcd90c67e387978044557231d4 | af40b1ccd344fad533ec73a3e6fcafac8a34cd77 | /c++11features/delegatingConstructor.cpp | 5cf6d55eb9f88c8e68d4873395f8a38c26d9d0e1 | [] | no_license | Roy19/advanced_cplusplus | 6afb35c8c91158410f5b535deecf59eba1779632 | b9b8786fb3118b8de1fcc2cd9e10a4b12cad0d96 | refs/heads/master | 2021-08-22T07:04:06.393573 | 2018-10-21T11:34:02 | 2018-10-21T11:34:02 | 140,425,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | #include <iostream>
using namespace std;
class Parent{
int num;
string text;
public:
// Delegating constructor. This parent class default constructor
// calls parent class parameterized constructor
Parent(): Parent("hello") {
cout << "Parent default constructor called" << endl;
}
Pa... | [
"aritra1997@hotmail.com"
] | aritra1997@hotmail.com |
103f9f64b6bd06cd048c93e7949c60c336db50e6 | dda21f4378e37cf448d17b720da4a1c9eb2b24d7 | /SDK/SB_GameplayTags_structs.hpp | c27551d08c1d1c329a0e03f7d593ea3e1724ac7c | [] | no_license | zH4x/SpellBreak-FULL-SDK | ef45d77b63494c8771554a5d0e017cc297d8dbca | cca46d4a13f0e8a56ab8ae0fae778dd389d3b404 | refs/heads/master | 2020-09-12T17:25:58.697408 | 2018-12-09T22:49:03 | 2018-12-09T22:49:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,381 | hpp | #pragma once
// SpellBreak By Respecter (0.15.340) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SB_Basic.hpp"
#include "SB_Engine_classes.hpp"
#include "SB_CoreUObject_classes.hpp"
namespace SpellSDK
{
//---------------------------------------------------------------------------
//Enums
//---------... | [
"45327951+realrespecter@users.noreply.github.com"
] | 45327951+realrespecter@users.noreply.github.com |
ab9cd1164473996eef3b0bddd557367903011760 | d360afdf33a358b0f8408aad16f6479e0f3cb43e | /Software/DDRClientSDK/PC/DDRClientSDK/DDRClientSDKDemo/utils.cpp | 944683d81332dc8080b8c615a7942a7c65533f1a | [] | no_license | meijiadev/RetailMachineClient | 60bfad556fee4aa87d38a29e335d2ba29854a3f2 | d2099e81d7081bc03d62ad7dccf32b52dcecd10c | refs/heads/master | 2023-03-25T05:09:45.181292 | 2019-06-28T11:37:25 | 2019-06-28T11:37:25 | 327,586,757 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cpp | #include "utils.h"
#include <stdio.h>
#include <stdarg.h>
using namespace std;
ConsoleUtility::ConsoleUtility()
{
m_Quit = false;
AddCommand("quit", std::bind(&ConsoleUtility::Quit, this));
}
void ConsoleUtility::Quit()
{
m_Quit = true;
}
std::vector<std::string> split(const std::string &text, char sep)
{
... | [
"michael2345@live.cn"
] | michael2345@live.cn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.