blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c32befcb80058718c79513f9837bef1dadf744b9 | e8ee3e753cb87bae6c58321fc7ffc851e03da6c4 | /Week2/Week2/Utils.cpp | 8b311db29c4c40f584ab2f787d4c45ae08e6e081 | [
"Apache-2.0"
] | permissive | Alexnagel/ArtificialIntellegence | 2d72be55d6ca5d609ebd73a1b8ca49af571e3677 | b0cdf7a7815008ae75742e70e998d94c9fe8c148 | refs/heads/master | 2021-01-19T14:52:52.912414 | 2014-12-02T22:10:39 | 2014-12-02T22:10:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | cpp | Utils.cpp | //
// Utils.cpp
// Week1
//
// Created by Alex Nagelkerke on 29-11-14.
// Copyright (c) 2014 Alex Nagelkerke. All rights reserved.
//
#include "Utils.h"
int Utils::seed = std::random_device()();
std::mt19937 Utils::rng = std::mt19937(Utils::seed);
Utils::Utils()
{
}
int Utils::randomNumber(int max)
{
r... |
07c04ac9dbc4a04d892430e37d33b3799a81dfbf | 88954eb1432cd3461a1ed5b1619632ea908c694d | /color-recognition.ino | 8a1ceae64b98365c5cd353eb8557a82b9783a4e9 | [
"MIT"
] | permissive | dbprof/color-recognition | efe6747e3abaa98bde002465b33671fadf5f9e37 | 6a86373666503efa36c0aee068bf9e2bac0c3827 | refs/heads/master | 2020-12-30T13:46:04.046274 | 2017-11-21T19:43:21 | 2017-11-21T19:43:21 | 91,249,537 | 1 | 0 | null | 2017-11-03T17:31:31 | 2017-05-14T14:38:43 | Arduino | UTF-8 | C++ | false | false | 8,881 | ino | color-recognition.ino | /**************************************************************
color-recognition.ino
BlackBug Engineering
03.11.2017
https://github.com/dbprof/color-recognition
***************************************************************/
///////////////////////////////ДАТЧИК_ПРИСУТСТВИЯ///////////////////////////////
#define SEN... |
dfe33270af563d5143c2adca5d6abe43a950ea2f | 58716909f54a2c8c0e98a9ac6d16c1f8f0a3967e | /Includes/AnimatedTextureStaticEntity.hpp | f3394de7c63199313080b5c3d71eef49c7bf2e94 | [
"MIT"
] | permissive | RICCIARDI-Adrien/Strage | 75a668b77799f5f0fe7cb838b022c2a404f01b9d | d993f2db2ef942186acdbc714c818ec0dff774db | refs/heads/master | 2022-06-23T17:29:51.139714 | 2022-06-19T07:15:51 | 2022-06-19T07:15:51 | 77,895,992 | 6 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | hpp | AnimatedTextureStaticEntity.hpp | /** @file AnimatedTextureStaticEntity.hpp
* @author Adrien RICCIARDI
*/
#ifndef HPP_ANIMATED_TEXTURE_STATIC_ENTITY_HPP
#define HPP_ANIMATED_TEXTURE_STATIC_ENTITY_HPP
#include <AnimatedTexture.hpp>
#include <StaticEntity.hpp>
/** @class AnimatedTextureStaticEntity
* Display several textures in sequence then stop.
... |
8a142b61498db77ed928a172cd8f988e90f48801 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5658282861527040_1/C++/csehydrogen/B.cpp | d2d1b4f6428161fd4c9a6f0d1f0e1554f568ede8 | [] | 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 | 1,856 | cpp | B.cpp | #include <cstdio>
int const MAXB=32;
long long cache[MAXB][2][2][2][2][2][2];
bool a[MAXB],b[MAXB],k[MAXB];
// index, k,kbound,a,abound,b,bbound
long long foo(int index, bool kk, bool kbound, bool aa, bool abound, bool bb, bool bbound){
if(index+1==MAXB){
return (1 && !kbound && !abound && !bbound);
}... |
5b1533c2af6c60daf03cae3a260aaa8b7599e60b | d147341eaf15f7a03cf12f9747c4f61ca885da67 | /ch08/8.2_robot-in-a-grid.cc | 0e5e6badb141a134ec4ee5cb3299c318db2ad3fa | [] | no_license | scintillavoy/CtCI | 4e3c56fc0fb8bccc90ba8dbea0a6d24aebe9b02a | af026deca4ac02c87e4206aa222cb74f741b8602 | refs/heads/main | 2023-04-28T00:35:48.906977 | 2021-04-28T02:41:45 | 2021-04-28T02:41:45 | 351,144,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cc | 8.2_robot-in-a-grid.cc | #include <iostream>
#include <vector>
#include <deque>
using namespace std;
// Time complexity: O(row*col)
void RobotInAGrid(vector<vector<int>> grid) {
if (grid.empty()) {
cout << "No way." << endl;
}
// Find path
grid[0][0] = 1;
for (int i = 1; i < grid.size(); ++i) {
if (grid[i-1][0] == 1 && grid... |
5b25ebb7c621b8734fda4b8f86c8088d216a5afa | 61d68b2851d4bb4bc763adabd359b9cd344d32a7 | /DepthSense325/Intersection.cpp | db0b9f39e708b0d84fd9ae130f9d9967979f6493 | [] | no_license | ina-yuzen/master_thesis_painter | 9fd3588689c9e523389aebc679d0a033e730ad0a | 4e3710f0d7b3466287080a1e148f43c357d78de3 | refs/heads/master | 2021-01-16T01:01:56.549687 | 2015-12-10T19:01:03 | 2015-12-10T19:01:03 | 31,292,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,928 | cpp | Intersection.cpp | #include "Intersection.h"
#include "Util.h"
namespace mobamas {
const double kEpsilon = 0.000001;
Intersection CalculateIntersectionPoint(const Polycode::Ray& ray,
const Polycode::Vector3& v0,
const Polycode::Vector3& v1,
const Polycode::Vector3& v2)
{
Intersection res;
res.found = false;
auto u = v1 - v0, v ... |
a1cbb016dd7ad558b81b8bf7e6bdbc9f4a47e5cb | 9deea8331de8e7649636a94ce03577ec769d1c27 | /Source/enemy.h | 65a1be16b2909af62ad410b4790e87c855dd28a7 | [] | no_license | Lithumist/PelletQuest | 67e4dc78dd688e7cf5cacea59c9a35c6e9463baa | d8f17c048bd009983029e6fcb785592f565d4f0f | refs/heads/master | 2020-05-17T10:34:55.817068 | 2013-09-09T21:37:22 | 2013-09-09T21:37:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | h | enemy.h | /*
enemy.h
An abstract base class that represents an enemy.
it's main purpose is to provide movement and pathfinding functions and utilities to the child classes.
*/
#pragma once
#include "base.h"
#include "entity.h"
class Enemy : public Entity
{
public:
Enemy();
// Event methods
vir... |
f438a0a7a91dbc981db128c6978a5373888270b8 | 434d7b0124943d3b1e641ab538266e40ae55e735 | /src/PDFPageInputDriver.h | 5437b69cc1f62715ca4e027d812570c1ccfe7648 | [
"Apache-2.0"
] | permissive | galkahana/HummusJS | 8d2759484d7a4da8706a9af073177064284e8545 | e8b897b13482b56779096e113fab6c9cc8ebfa5d | refs/heads/master | 2023-08-22T04:04:24.120412 | 2023-07-22T10:12:31 | 2023-07-22T10:12:31 | 8,962,136 | 1,121 | 223 | NOASSERTION | 2023-07-22T10:10:50 | 2013-03-22T22:23:36 | C | UTF-8 | C++ | false | false | 1,673 | h | PDFPageInputDriver.h | /*
Source File : UsedFontDriver.h
Copyright 2013 Gal Kahana HummusJS
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 app... |
6743af8b3b7251206124bc67a8803c8af19a2946 | a31e7362f9f0205dd9a37ca4a491c5275aaca03a | /axengine/src/axeditorapp/widgetlib.cpp | 7a941c29af199ed3ac7b5c9fe2b4e70f252cdea8 | [
"LicenseRef-scancode-warranty-disclaimer",
"FTL",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | teardemon/axonengine | 56368abcffc7f2a0661523da5c4241176e74f08f | 4e7539825d71c11fa4ef48973f6711439f55c267 | refs/heads/master | 2021-01-15T10:34:21.413244 | 2009-08-23T15:53:54 | 2009-08-23T15:53:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,262 | cpp | widgetlib.cpp | /*
Copyright (c) 2009 AxonEngine Team
This file is part of the AxonEngine project, and may only be used, modified,
and distributed under the terms of the AxonEngine project license, license.txt.
By continuing to use, modify, or distribute this file you indicate that you have
read the license and understand and acce... |
8aaf3ce74ab1faeafd3455bb65133561316804ec | 41823c261082cc74037f56be62996600422fe518 | / world-opponent-network/TitanApi/Samples/ServerTest - Copy/DirectoryServer.cpp | 82561c65bd3f3957cb2f24c39b46440e2137a6da | [] | no_license | ECToo/world-opponent-network | 90adf14ca8b324898a1f0b2202c1cfb2b4bdeb03 | fbb35876ae26006606d07b6297d557bd53234066 | refs/heads/master | 2021-01-25T07:40:21.063935 | 2014-05-16T16:02:54 | 2014-05-16T16:02:54 | 32,217,407 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,252 | cpp | DirectoryServer.cpp | /********************************************************************
created: 2012/04/13
filename: c:\SIERRA\Development\Newer WonApi\Samples\ServerTest\DirectoryServer.cpp
author: Benjamin Shefte
Code from Steamcooker
purpose:
*********************************************************************/
#... |
c3f36595ac639e8ea223438578ab5ae1cd65374c | 5c06046a0717a298bb5e30342757c512693af520 | /source/two sum.cpp | 38b843bfe7938a1012db2361ec5c6ab9eaded0ea | [] | no_license | crazyjerryh/LeetCode | 41f585860700191b23fe9e3bfee015bb477c630d | 5de045a1dc3d657d3d13e0c4cae6dcc6686889e0 | refs/heads/master | 2021-01-10T20:29:00.823226 | 2015-04-13T02:57:39 | 2015-04-13T02:57:39 | 33,844,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | cpp | two sum.cpp | class Solution {
public:
vector<int> twoSum(vector<int> &numbers, int target) {
vector<int> res;
map<int,int> _map;
int n=numbers.size();
for(int i=0;i<n;i++){
if(0==_map.count(numbers[i]))
_map[numbers[i]]=i+1; //set index
}
if(target%2==0){
int count=0;
for(int i=0;i<n;i++){
if(number... |
50bf13e6820806a6e284a0acde72cc10e079cbe9 | e1a6e5d65dbf7a4963a53cd8d5ea4eaf57dee914 | /MODULO.cpp | 56820bc1210f06b7fd576e108e4d2f78837ad372 | [] | no_license | CasCard/Competitive-Programming | f7106140ddfe03a7569a7cbfe3c0d11d327e69d9 | 3289ed844572318fbf431ce13d6c0b5b8dc14afc | refs/heads/master | 2022-11-06T05:22:09.319072 | 2022-10-31T18:31:37 | 2022-10-31T18:31:37 | 253,178,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | MODULO.cpp | //
// Created by abel_ on 20-06-2022.
//
/*
* (a+b)%M = (a%M + b%M)%M
* (a*b)%M = (a%M * b%M)%M
* (a-b)%M = (a%M - b%M + M)%M
* (a/b)%M = (a%M * inv(b)%M)%M
* (a^b)%M = (a%M * (a^(b-1))%M)%M
*/
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin >> n;
int M = 47;
long long fact ... |
1395bfd10759dc2bd9742762a448a45e365bf1e4 | c7f501680034477a6cb0a4cee01d032a63660feb | /TSorter.cpp | 57452ad4ffbad6c8ca234ae6c69602259e8167c1 | [] | no_license | danMcNeill/genericTypeSorter | afefadbd9dd155781f44e6d74010a43bef551a3e | cf113cb4478c8124f09ac2d32936235c42dc5ddc | refs/heads/master | 2021-08-07T21:19:32.404501 | 2017-11-09T01:02:29 | 2017-11-09T01:02:29 | 110,049,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,423 | cpp | TSorter.cpp | #ifndef TSORTER_CPP
#define TSORTER_CPP
#include <iostream>
using namespace std;
#include <vector>
#include <algorithm>
#include "TSorter.h"
template <typename T>
void TSorter<T>::swap(typename vector<T>::iterator i1, typename vector<T>::iterator i2) {
T temp = *i1;
*i1 = *i2;
*i2 = temp;
return;
}
template <ty... |
178a2870c118b4f5576bd200b58d9653ecc26046 | c98a7a8200a02f606427dfc4965d0ba03a3bf9f1 | /Lab 7/athome/w7_at_home.cpp | 14263319c44c6ad78e2e333925d1b9cbc0593907 | [] | no_license | achimienti42/OOP244 | 7e8b45b6325b0b5ae787f3c9381be2e724764683 | 8269b68e9ed98ffaeeaa3c9bea13725dd1a2217d | refs/heads/master | 2020-05-21T07:21:11.819429 | 2017-03-10T19:42:12 | 2017-03-10T19:42:12 | 84,594,155 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 787 | cpp | w7_at_home.cpp | #include <iostream>
#include "SuperHero.h"
using namespace sict;
int main()
{
SuperHero p;
p.display(std::cout);
SuperHero w("wimpy", -10, 5);
w.display(std::cout);
SuperHero h("hercules", 100, 5);
h.display(std::cout);
SuperHero hClone(h);
hClone.display(std::cout);
SuperHero sm("Superman", ... |
c794212933ddb0744f7890e7cbf62e17b1683bfe | 0f80804949119ebbeaa125e2ed829917355f5945 | /RGBABuffer.cpp | 394d9a283959c45c311bb14b79260b5fcfd24975 | [] | no_license | TMoCo/SPH-2D-Fluid-Simulation | 971b9a75bee78b144d64a5229a2cc6c821859839 | 08bcfb375d23280f045c668015ede2a5c3110e22 | refs/heads/main | 2023-03-24T02:16:24.930694 | 2021-03-19T14:15:00 | 2021-03-19T14:15:00 | 345,985,090 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | cpp | RGBABuffer.cpp | //////////////////////////////////////////////////////////////////////
//
// University of Leeds
// COMP 5812M Foundations of Modelling & Rendering
// User Interface for Coursework
//
// September, 2020
//
// ------------------------
// RGBAImage.cpp
// ------------------------
//
// A minimal class for an im... |
4e42aa02a2183340a224fd69d1ad88cb68f44f8d | 7790c181b98103cc85421ac87ee2f5bdb4c36cb6 | /EjerciciosWeissCap3/E_28.cpp | 57f245a810b77619e743e548ca9df2350610880f | [] | no_license | Leslym03/AED | 96646465eec1ca1037ba63cbf921d854e1c3e623 | 573e66201f66e7c8574b8a0533eb2190da9edea4 | refs/heads/master | 2020-08-02T04:35:52.112638 | 2019-12-11T23:12:16 | 2019-12-11T23:12:16 | 211,210,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | E_28.cpp |
#include<iostream>
#include "listaLibro.h"
using namespace std;
template <typename Object>
class deque {
public:
deque() { l();}
void push (Object obj) {l.push_front(obj);}
Object pop () {Object obj=l.front(); l.pop_front(); return obj;}
void inject(Object obj) {l.push_back(obj);}
Object eject() {... |
1b1644f8e4d36d1e59353ebdc5a5cb97fb5e45e8 | 05c429a1e6784008d09ad674c0b3aead033f1cc0 | /ariprog.cpp | 19a4437a9573d8d1a5ed0f0ee2038f31bc53cc90 | [
"Unlicense"
] | permissive | michaelarakel/usaco-solutions | 9851ef3a60c80cef8e159289f900928c37a10fed | a87b39f3df469740317ffa6e53f15410da68a6d3 | refs/heads/master | 2021-07-09T18:42:34.791633 | 2017-10-08T18:00:32 | 2017-10-08T18:00:32 | 106,197,418 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,136 | cpp | ariprog.cpp | /*
ID: misha101
LANG: C++11
TASK: ariprog
*/
#include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
const int maxn = 125000;
bool bucket[maxn + 1];
using namespace std;
int main()
{
freopen("ariprog.in", "r", stdin);
freopen("ariprog.out", "w", stdout);
int n, m;
cin >... |
06ac675240ab1538cc858c14e1fde1fe075dbad5 | 7557f61cb76675bdbb4ddb23a2d3957ba09db8dd | /Vengine/src/Scene.cpp | 6141bf2fc65f9f777b9bfe5de9f5a9bf00a79fd2 | [
"MIT"
] | permissive | henrikstorck/Vengine | d8ecc9dcc8e0dd14c9e0e762b98f3fbb0a6076a6 | b6b0449b7c09ca5357d240e16bb577b65a71d712 | refs/heads/master | 2020-03-08T16:13:34.254816 | 2019-05-19T14:03:58 | 2019-05-19T14:03:58 | 128,234,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | Scene.cpp | #include "Vengine/Scene.h"
#include <algorithm>
namespace vengine
{
Scene::Scene()
:name("Scene")
{
}
Scene::Scene(std::string name)
:name(name)
{
}
Scene::~Scene()
{
}
void Scene::update()
{
for (unsigned int i = 0; i < this->gameObjects.size(); i++)
{
gameObjects[i].update();
}
}
void... |
7804d1c78e7dc5ede2396041a3b174359c902595 | 2064a7097414208d831693548e52b1337b1e4f1d | /src/utils/gl_quadrature.hpp | af2e086c963407bb7547381ab9fb7edee72d413e | [
"BSD-3-Clause"
] | permissive | PrincetonUniversity/athena | 387283d0115154fa7c1d68be82bd3ee78a32baf8 | a0a112fa517cf05106837fde51e663ba8774b6a9 | refs/heads/master | 2023-08-19T04:13:05.880286 | 2023-08-14T16:26:55 | 2023-08-14T16:26:55 | 19,380,617 | 149 | 95 | BSD-3-Clause | 2023-07-16T15:47:20 | 2014-05-02T16:11:56 | C++ | UTF-8 | C++ | false | false | 1,480 | hpp | gl_quadrature.hpp | #ifndef UTILS_GL_QUADRATURE_HPP_
#define UTILS_GL_QUADRATURE_HPP_
//========================================================================================
// Athena++ astrophysical MHD code
// Copyright(C) 2014 James M. Stone <jmstone@princeton.edu> and other code contributors
// Licensed under the 3-clause BSD Licen... |
3a8982b62fff780e69c1c65cc49d698bce5d3998 | 44a261738051ff996bcb60f44e8a0fb0fe31ea2f | /patient.cpp | ee1e9b55b30fd111d21b654ba5ea9023d4d1f352 | [] | no_license | sinatrablue/Projet_Objet | d3c633a5bfc780a04411d3b9a1e25b95b3d97c34 | 66652dbc1069dc9e9b931faac1797423f9665396 | refs/heads/master | 2020-09-13T06:06:00.211061 | 2019-12-10T16:32:21 | 2019-12-10T16:32:21 | 222,675,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,433 | cpp | patient.cpp | #include<iostream>
#include<string>
#include<list>
#include"patient.hpp"
//#include"examen.hpp"
//#include "centre.hpp"
using namespace std;
Patient::Patient() {}
Patient::Patient(string nom, string prenom, int age, string sexe, list<Examen> examenss){
this->nom=nom;
this->prenom=prenom;
this->age=age;
... |
361d6cf4a0ef5490ce7cc7875603feed59136613 | 7fd86e78f2e499f7fb11b6119e5d0b3008ff8be8 | /LBCards/DIGIO128/DIGIO128TESTER/DIGIO128TESTER.ino | fe7ac433f2b8b890376bbd3dc99ea5a443356f2e | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | lahirwisada/lb-Arduino-Code | 6cb12b8db81aa6b707a6ebb0dfa33ee3e7a664ee | 8c900f429f02ca405d8bba3e9e6161cec5a7b2d9 | refs/heads/master | 2020-09-07T09:29:51.103684 | 2017-06-07T02:09:17 | 2017-06-07T02:09:17 | 94,423,901 | 0 | 1 | null | 2017-06-15T09:32:14 | 2017-06-15T09:32:13 | null | UTF-8 | C++ | false | false | 1,158 | ino | DIGIO128TESTER.ino | ////////////////////////////////////////////////////////////////////////////////
// DIGIO128TESTER code
// This code is an example of a test station.
// This code is made to run on an Arduino Leonardo card.
// The program outputs to a serial terminal connection at 9600 baud.
// This code consists of a number of other f... |
c36d22b2c3a2f7f655eb0cd6c5c636ad397b02c1 | effd74743a182f497b9430b7844e3e648a2c6f15 | /EX6-ProjectileMotion/6.1 RK4.cpp | 147fb58dcbc7a3c7bccbac2a3d659508bfca5a6a | [] | no_license | Zephyrwind/computational-physics | 04ad69cdd83d3c8d8caceff407f641f143b2baeb | fff11940ce7c799ff01012a77791067f55dc921b | refs/heads/master | 2020-03-28T15:51:26.109820 | 2018-09-13T15:40:46 | 2018-09-13T15:40:46 | 148,628,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,926 | cpp | 6.1 RK4.cpp | /* Cláudio Santos nº 42208
MIEF - Modelação em Física e Engenharia
Ex 6.1 - Lançamento sem Resistência de Ar (Método Runge-Kutaa 4ºOrdem)
Novembro de 2016
*/
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <stdlib.h>
#include <cmath>
# define M_PI 3.14159265358979323... |
722a8b50b4cc5497155f8393cb13a581bba36d22 | 1a3237d11e005bf3db4a26266af6936593449504 | /ZOJ/4115.cpp | 2e66b3db164499924a0c3989bf9a70b090a58d71 | [] | no_license | superlb/My_ICPC_Code | 1d529e5b554c1b3d5eed50dd45c545eebb9c6b78 | e871c737037b3661e1c5fb334706bface5380c8f | refs/heads/master | 2021-07-01T02:12:42.033545 | 2020-12-31T03:48:56 | 2020-12-31T03:48:56 | 207,050,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | cpp | 4115.cpp | #include <iostream>
#include <vector>
#include <stack>
#include <queue>
#include <algorithm>
#include <cstring>
#include <string>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <fstream>
#include <set>
#include <map>
using namespace std;
const int INF = 0x3f3f3f3f;
const long long INF64 = 3e18;
const un... |
76e4aa1ee37bc4f052b9cebb7515992c41c9fa7a | f5ae3877d49bfe597919730c4dc8de25bbc5a839 | /GameObjects/PseudoInterfaces/StaticDrawObject.cpp | a2f2793282f55525a2cf102aa5c7ff61329e5e3d | [] | no_license | kbystrov/MyGame | e9787ce06febb6bcbb6222c8eb3c913e7fdbb17e | ddac9259f77c08f3e9e397dba57ade0f6d452568 | refs/heads/master | 2020-05-17T23:43:54.073880 | 2019-06-14T20:03:00 | 2019-06-14T20:03:00 | 184,040,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,049 | cpp | StaticDrawObject.cpp | #include "StaticDrawObject.h"
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/** @file */
StaticDrawObject::StaticDrawObject(Vec pos, Vec size, Vec hitbox, sf::Texture * texture, sf::Sprite sprite, Vec sprite_size, Vec wind_size, sf::Color color)... |
cc77549f068e4d7d91ce9aa9687d503ee4fd97d6 | 1cc0d2dba257a586dbc179f7532a18f504c8e204 | /src/Trie.cpp | 4699507cb72dcb210b0f094a98055b8e9745c4fc | [] | no_license | Marvinsky/dsa_pooii_exercises | 3a152f7ae93adaa5fe7eb3a0ee37f8cf82c6edce | 0937683a5bd642d8f03eeaac067c04cbbb0b1733 | refs/heads/master | 2022-09-20T21:08:17.444636 | 2020-05-31T15:37:33 | 2020-05-31T15:37:33 | 268,300,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,898 | cpp | Trie.cpp | #include "TrieNode.cpp"
class Trie {
TrieNode* root;
public:
Trie() {
this->root = new TrieNode();
}
void insert(string value) {
TrieNode* n = root;//"n" represents some prefix in "value"
for (int i = 0; i < value.length(); i++) {
if (!n->haveRecord(value[i])) {
n... |
324dbfcd628fc63da9f9e2db39142fa6f4b34a43 | 5d5b1cc57ec45840b0d177ff66514ae455815726 | /PushRelabel.hpp | 7921c4a320119740f18a5ac36c7cd48efffc2e56 | [] | no_license | riskingh/FastFlow | c9236e489fa3e94222e577f4744fd85b3785a07a | 9f57e7903dd4547a64ebf997ffcade49699fcfd2 | refs/heads/master | 2021-01-10T05:14:34.715224 | 2015-12-16T20:02:50 | 2015-12-16T20:02:50 | 45,423,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | hpp | PushRelabel.hpp | //
// PushRelabel.hpp
// FastFlow
//
// Created by Maxim Grishkin on 02/11/15.
// Copyright © 2015 Maxim Grishkin. All rights reserved.
//
#ifndef PushRelabel_hpp
#define PushRelabel_hpp
#include <stdio.h>
#include <vector>
#include <list>
#include "Edge.hpp"
#include "Graph.hpp"
typedef int int32;
typedef unsi... |
817dd962130cf7835382125622ae5a158e46464d | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Trigger/TrigT1/TrigT1Interfaces/test/CPRoIDecoder_test.cxx | 748f350f526e1ba549e4d595350f682086636652 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | cxx | CPRoIDecoder_test.cxx | /*
* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file TrigT1Interfaces/test/CPRoIDecoder_test.cxx
* @author scott snyder <snyder@bnl.gov>
* @date Mar, 2019
* @brief Unit tests for CPRoIDecoder.
*/
#undef NDEBUG
#include "TrigT1Interfaces/CPRoIDecoder.h"
#include "TestTools... |
0d13a5a0af9fda1f36d1661606363ec0255a5ba3 | 73abaeb484555830de0b2609073d67e31b01c469 | /src/log_thread.cpp | a1113cbcb0fc17de1a60ac120655d81f5d09b95e | [] | no_license | bingshuigao/undaq1 | 404903c23fd5f2f435f5b0d8b498c2410d9cc632 | 6fbca4bb772c736e92c3d05b917e937491b0ea4a | refs/heads/master | 2023-05-25T02:27:34.826125 | 2023-05-11T09:32:50 | 2023-05-11T09:32:50 | 181,719,783 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 983 | cpp | log_thread.cpp | #include "log_thread.h"
log_thread::log_thread()
{
rb_trig = NULL;
rb_scal = NULL;
init_fun.push_back(&log_thread_init);
}
log_thread::~log_thread()
{
/* Be careful! Do NOT do the following freeing memories. Because each
* object of the subclass will do the following things, meaning the
* memories will be fre... |
877fdcb9b42f63977b7f657b607907bd76814525 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/core/svg/SVGTreeScopeResources.cpp | 0ce7627c56fa744dbf85bc9bda144be70ad21d7a | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 7,565 | cpp | SVGTreeScopeResources.cpp | // 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 "core/svg/SVGTreeScopeResources.h"
#include "core/dom/Element.h"
#include "core/dom/TreeScope.h"
#include "core/layout/svg/LayoutSVGResourceCont... |
55a2442f573885e8e5dca9d4db2ffd004010bc1c | 18754d6cdcb28fad18185bb216afd9006a60834c | /Arduino/Data_Logger/Data_Logger.ino | 66d25dfd7149b7bc2f2eda8290f8749f3923936d | [] | no_license | victorpavan/DataLogger | a2d4d28f7410f311b424474f31195b14dbe4cea2 | 89f6f910a667e4297e5af350e9c0662352498363 | refs/heads/master | 2023-07-10T15:58:26.817147 | 2021-08-05T17:27:18 | 2021-08-05T17:27:18 | 374,215,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,923 | ino | Data_Logger.ino | //DATALOGGER ARDUINO
#include<ClosedCube_HDC1080.h>
#include<Adafruit_MLX90614.h>
#include<TimeLib.h>
#include<Wire.h>
#include<DS1307RTC.h>
#include<SPI.h>
#include<SdFat.h>
//Configurações gerais (alterar de acordo com a necessidade)
#define SERIALBAUD 9600
#define action_r 8
#define action_g 9
#define n_amostras ... |
509cf3c036e581024445e671ecd5f34d4d277490 | 7c9967e052c1381d640bc2503d6bca0612e1ef00 | /OpenOpcUaCoreServer/source/UAObject.cpp | 33f611457977feaa3625410b244c701d419c99f5 | [] | no_license | Tanmay-Aipl/OpenOpcUa_1_0_4_4 | 689c7f57e579af3422d43db8afa220176ed2a6ec | f5fcc5dbe3c97dcd4c9bdeb875c42765788a1f1b | refs/heads/master | 2023-04-03T10:41:45.471654 | 2021-04-09T04:40:15 | 2021-04-09T04:40:15 | 355,986,063 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,933 | cpp | UAObject.cpp | /*****************************************************************************
Author
©. Michel Condemine, 4CE Industry (2010-2012)
Contributors
This software is a computer program whose purpose is to
implement behavior describe in the OPC UA specification.
see wwww.opcfoundation.org for m... |
188740e3b9b5e828fde897aeffc2a40e4e8e390c | bc01d89e3b77b9b60afd6f5f8fcad5675b813f8e | /natfw/natfwunsaf_protocols/unsaf_transport/inc/cnatfwunsafmediaconnsender.h | e90cdd81de1e3f097c5e6adf3051fa4f3537f325 | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipappsrv | fce862742655303fcfa05b9e77788734aa66724e | 65c20a5a6e85f048aa40eb91066941f2f508a4d2 | refs/heads/master | 2021-01-12T15:40:59.380107 | 2010-09-17T05:32:38 | 2010-09-17T05:32:38 | 71,849,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,731 | h | cnatfwunsafmediaconnsender.h | /*
* Copyright (c) 2006-2007 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-... |
67e347c72d963637f23cbf9f20651fef3e6c70fd | 6d3c407df83acdf75192c3145ce401f005625560 | /spoj/without_questions/TRIKA-9564746-src.cpp | 6ebadfa7cea68f778659aeaa22e5a039b6e955c3 | [] | no_license | premkamal13/my-code-repository | 79928a6892a606a413decb93e6ac85bd10cfdd01 | 1d097b4b782f54953b8a43b2efcd38a95c637e71 | refs/heads/master | 2020-04-15T08:26:08.224633 | 2019-01-08T01:16:44 | 2019-01-08T01:16:44 | 164,520,710 | 0 | 0 | null | 2019-01-08T01:07:58 | 2019-01-08T00:33:36 | null | UTF-8 | C++ | false | false | 734 | cpp | TRIKA-9564746-src.cpp | #include<cstdio>
#include<cstdlib>
#include<cstring>
#include<queue>
#define INF 2000000001
using namespace std;
int a[21][21],val,n,m,x,y;
int max(int a1,int b1)
{
return (a1>b1?a1:b1);
}
int main()
{
int i,j,ans;
scanf("%d%d",&n,&m);
scanf("%d%d",&x,&y);
for(i=0;i<n;i++)
{
for(j=0;j<... |
2083ea01d74e4de2443ff826966d4f02c9767dfe | a33e67145b3f2416c4dba24bc9648fc46423a99a | /peopleextractor_interface_sma/src/SceneframeQueue.hpp | 827b8cd12246fcf20532ef276d85d0e6527aabb7 | [
"MIT"
] | permissive | fbredius/IMOVE | ad4979a33bd8ba2838951e6c02aa84e09c9bde49 | 912b4d0696e88acfc0ce7bc556eecf8fc423c4d3 | refs/heads/master | 2020-05-26T22:43:16.288437 | 2019-05-24T10:39:46 | 2019-05-24T10:39:46 | 188,402,531 | 0 | 0 | MIT | 2019-05-24T10:51:23 | 2019-05-24T10:26:42 | C++ | UTF-8 | C++ | false | false | 1,057 | hpp | SceneframeQueue.hpp | #ifndef PEOPLEEXTRACTORINTERFACESMA_SCENEFRAMEQUEUE_H
#define PEOPLEEXTRACTORINTERFACESMA_SCENEFRAMEQUEUE_H
#include <boost/interprocess/offset_ptr.hpp>
#include <boost/interprocess/managed_shared_memory.hpp>
#include <boost/interprocess/containers/deque.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#inc... |
5879b538a71b09ab9602078ebef7cb6b873e3183 | a7913e933592f86cdebee4017017963aee057b08 | /Game.h | 6e55eafb12891de1351d1425a6ce8f662076096d | [
"MIT"
] | permissive | SemperFortis/BlackJack | 5688730ce879c50e91ef4db5462394d6ef788d7e | 031e9f4c4cb3aef7353c7356406a73bb192f69ca | refs/heads/master | 2023-03-04T02:40:17.113915 | 2021-02-13T14:59:50 | 2021-02-13T14:59:50 | 338,428,226 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,595 | h | Game.h | #pragma once
#include <string>
#include "Deck.h"
#include "Player.h"
class Game
{
private:
Deck deck;
Player player = Player(&deck);
Player dealer = Player(&deck);
public:
Game() {
for (int i = 0; i < 2; i++) {
player.hit();
dealer.hit();
}
}
void play() {
std::string option;
while (true) {
th... |
7a64380cbaee286361e03b5161acc03c75b9889c | 2d3896c25148337cbb21616d7f5314f427b3e74b | /PT07Z.cpp | cd8c77d4a22f5dfb7ed7defdc25169039b40f31d | [] | no_license | amit-shahwal/march_problem_solving | 84519b8f2ac75180deacc51142deda21dd6e3c7b | 86613e67e59045e80be904868bae7b059985b0fa | refs/heads/main | 2023-03-13T19:07:51.235635 | 2021-03-13T15:34:11 | 2021-03-13T15:34:11 | 343,097,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | PT07Z.cpp | #include <bits/stdc++.h>
using namespace std;
#define fo(a, j, n) for (long long int a = j; a < n; a++)
#define foe(a, j, n) for (long long int a = j; a <= n; a++)
#define ll long long int
#define pb push_back
#define max(a, b) (a < b ? b : a)
#define min(a, b) ((a > b) ? b : a)
int dsitance[1000000];
int visited[10000... |
89eb870bc74808738f7826319220b285317dbd5d | 0c8d393f4e30eda6a5dedf5687c174333e9e3957 | /include/helloBye2Proto.hpp | c47b3b1f6b5e92161de11e529e620c2ea9e77aee | [
"BSD-3-Clause"
] | permissive | kaveman-/MoonState | c43fe1f1e2d7d911f256c03d371bc5079d08f988 | 9564070dbf799f47efc4e0add8c38274a5c92e62 | refs/heads/master | 2023-03-15T23:43:31.180066 | 2018-06-20T10:15:23 | 2018-06-20T10:15:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,392 | hpp | helloBye2Proto.hpp | #ifndef HELLOBYE2PROTO_HPP
#define HELLOBYE2PROTO_HPP
#include <mutex>
#include <sstream>
#include "common.hpp"
#include "exceptions.hpp"
#include "headers.hpp"
#include "stateMachine.hpp"
namespace HelloBye2 {
struct __attribute__((packed)) msg {
uint64_t ident;
uint8_t role;
uint8_t msg;
uint8_t cookie;
sta... |
48c20746e05b9414cfbd522ebc25cc329befd765 | a234ecbf8a71075ba90c84f19443d2235c0f4234 | /cpp/dynamic_program.cc | bc295bb75cfac1c334d51baed423a62b06fa1c30 | [] | no_license | hkxIron/hkx_tf_practice | b9b58f7c52b07d4f10709804efc964cf17e5e3ff | 76d0c12750d66b17e71a7102263e1d1fc637611a | refs/heads/master | 2023-08-04T16:51:30.852650 | 2023-08-04T13:05:35 | 2023-08-04T13:05:35 | 118,223,247 | 10 | 13 | null | 2022-12-07T23:32:58 | 2018-01-20T08:14:06 | Jupyter Notebook | UTF-8 | C++ | false | false | 4,812 | cc | dynamic_program.cc | /*
g++ -std=c++11 -o bin dynamic_program.cc &&./bin
*/
#include<cstdio>
#include<stdlib.h>
#include<iostream>
#include<cstring>
#include<algorithm>
#include<vector>
#include<assert.h>
using namespace std;
void print_vec(vector<int>& v, bool append_new_line=true) {
int N = v.size();
for(int i=0;... |
769d4c6f8758a973289801363d4835f96b5fe157 | 817dc9bebf0d278fcf474f31a77cb23ada61056c | /QL/CommonClass/ClassDB/DBSalesOrderInfo.cpp | bb4e3d0f06431111d0f8c449812927562b351b05 | [] | no_license | dudugi/NewForTortoise | 6f7d82cea00b49af3c38f1e332937ce3edf894b4 | 685ba32e8d7ee16c22f115b681a21f3d4e3fddf8 | refs/heads/master | 2022-02-08T11:56:42.102049 | 2022-01-25T07:02:47 | 2022-01-25T07:02:47 | 196,016,007 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,647 | cpp | DBSalesOrderInfo.cpp | #include "StdAfx.h"
#include "DBSalesOrderInfo.h"
#include "DBKeyDef.h"
//***************** CDBSalesOrderInfo *********************//
IMPLEMENT_SERIAL(CDBSalesOrderInfo, CDataMid, 1)
CDBSalesOrderInfo::CDBSalesOrderInfo(void)
{
ResetData();
}
CDBSalesOrderInfo::~CDBSalesOrderInfo(void)
{
}
void CDBSalesOrderInf... |
2cabee95888b2a60f1cd060c128ce44d43dac5f3 | e0904d35f0b89fed8ebdeb6e08864c0208006954 | /Applications/Utils/FileConverter/PVD2XDMF.cpp | f581c5cbac6c9694895116bf094cd10d5d917df4 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | ufz/ogs | e3f7b203ac960eeed81c3ad20e743b2ee2f4753e | 073d0b9820efa5149578259c0137999a511cfb4f | refs/heads/master | 2023-08-31T07:09:48.929090 | 2023-08-30T09:24:09 | 2023-08-30T09:24:09 | 1,701,384 | 125 | 259 | BSD-3-Clause | 2021-04-22T03:28:27 | 2011-05-04T14:09:57 | C++ | UTF-8 | C++ | false | false | 8,428 | cpp | PVD2XDMF.cpp | /**
* \file
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*/
#include <tclap/CmdLine.h>
#ifdef USE_PETSC... |
22c02f5ff6bcc1f5498fb9534d3d4a16a78a7bff | c6a98b8e273e69533009e5073a505508e3a0c2c5 | /Problems/Codeforces/BoboniuLikesToColorBalls.cpp | b5d0f7bd326ed0ea28124637fdd85a910963ef4e | [] | no_license | BenjaminRubio/CompetitiveProgramming | 5c72a9b803e66e194fd7fe8a26d0d81d14a7fc5c | 33ba1125a2eb5ba4d6f9cbc8522c92432bc92b0d | refs/heads/master | 2023-06-08T19:43:44.069793 | 2023-05-27T18:53:32 | 2023-05-27T18:53:32 | 176,643,093 | 16 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | BoboniuLikesToColorBalls.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0ll; i < (ll)n; i++)
ll T, r, g, b, w;
int main()
{
cin >> T;
while (T--)
{
cin >> r >> g >> b >> w;
if ((r + g + b + w) % 2ll == 1ll)
{
ll s = (r % 2ll) + (g % 2ll) + (b... |
5392b9a5723af33f7925cdc475362c75235f5d26 | f53891174b71e3b52497b3ab56b30ca7056ef1b7 | /src/elle/reactor/modules/cpp-netlib/uri/src/boost/mpl/aux_/preprocessed/plain/inherit.hpp | bbaa7ecd9de9c35727d40711e13e4d5bd65707fd | [
"Apache-2.0",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | infinit/elle | 050e0a3825a585add8899cf8dd8e25b0531c67ce | 1a8f3df18500a9854a514cbaf9824784293ca17a | refs/heads/master | 2023-09-04T01:15:06.820585 | 2022-09-17T08:43:45 | 2022-09-17T08:43:45 | 51,672,792 | 533 | 51 | Apache-2.0 | 2023-05-22T21:35:50 | 2016-02-14T00:38:23 | C++ | UTF-8 | C++ | false | false | 2,475 | hpp | inherit.hpp |
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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)
//
// Preprocessed version of "boost/mpl/inherit.hpp" header
// -- DO NOT modify by hand!
namespace network_boost { ... |
889f905dc3851ae192def8324513becc3e44933e | 8583b5bfc594b994f51d24d012e92ae66bf2e5ea | /src/BabylonCpp/include/babylon/sprites/isprites.h | bfb5509a081ad7fce010e7d8905866e83ce0cff9 | [
"LicenseRef-scancode-free-unknown",
"Apache-2.0"
] | permissive | samdauwe/BabylonCpp | 84b8e51b59f04a847681a97fa6fe0a5c554e9e1f | 3dad13a666299cbcf2e2db5b24575c19743e1000 | refs/heads/master | 2022-01-09T02:49:55.057544 | 2022-01-02T19:27:12 | 2022-01-02T19:27:12 | 77,682,359 | 309 | 41 | Apache-2.0 | 2020-11-06T12:16:17 | 2016-12-30T11:29:05 | C++ | UTF-8 | C++ | false | false | 2,193 | h | isprites.h | #ifndef BABYLON_SPRITES_ISPRITES_H
#define BABYLON_SPRITES_ISPRITES_H
#include <optional>
#include <nlohmann/json.hpp>
#include <babylon/babylon_api.h>
#include <babylon/babylon_common.h>
using json = nlohmann::json;
namespace BABYLON {
/**
* @brief Defines the basic options interface of a Sprite Frame Source Si... |
5135da5fafdfab81b473d43c7aeaaa6e65ee5221 | a82dab7b5e97470c2cb69e8ac29808b6282d71c2 | /GLUI/UI/event.h | ac95165b68ebd25c3bb4187fdf57efc21e24fdb6 | [] | no_license | daohuangpai/openglrender | 00031af31c24305d36602cad817c1cf966b64f7f | 61a682a1b077dbdccf6ca70b5bdc7922a6fe53b3 | refs/heads/master | 2020-03-31T11:19:03.469189 | 2018-10-09T02:17:31 | 2018-10-09T02:17:31 | 152,172,015 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | h | event.h | #pragma once
namespace GLUI
{
class event {
public:
enum {
LEFT_BUTTON = 0x0004,
MIDDLE_BUTTON= 0x0008,
RIGHT_BUTTON= 0x0010
};
typedef int mouse_event;
enum {
CLICK = 0x0001,
RELEASE= 0x0002,
//DOUBLECLICK
};
typedef int mouse_statue;
typedef int key_statue;
enum {
LB_CLICK... |
9e0c2a18f7fceb7096c86004519b44269dbd6d7b | bc8bda4927cc030a8ad0118a6101788b6851570e | /Cpp_Lab/lab13-5/QtMenu.h | 5f7ae6a9838a9d26c310180929cbe755be283074 | [] | no_license | penut85420/CppWork | 6fd841ced58086532471d12324d37246d0e094d8 | 482a331b41f04896fa87974d9e82e91257a05fe0 | refs/heads/master | 2021-09-24T15:21:41.646071 | 2018-10-10T19:51:42 | 2018-10-10T19:51:42 | 54,598,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 110 | h | QtMenu.h | #pragma once
#include "yayMenu.h"
class QtMenu : public yayMenu {
public:
QtMenu(void);
~QtMenu(void);
};
|
5839937766fec90cd6d620c74ca3646e65c6a5ad | 72fcbf7dc9eeae3860eac78aa8a070370d6406da | /pulseq-cest-sim/src/BlochMcConnellSolver.h | d96681e10bdfadd28ef568010e3cff1d8be1e5a4 | [
"MIT"
] | permissive | operlman/pulseq-cest | f47aadcd1b7f34290b0eba5ac3fb8820f2594c8b | 94484e494e4897287ab0c78160bf654106feeff7 | refs/heads/master | 2023-07-27T10:41:42.299002 | 2021-07-30T10:59:47 | 2021-07-30T10:59:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,487 | h | BlochMcConnellSolver.h | //! BlochMcConnellSolver.h
/*!
Class to solve the Bloch-McConnell equations for multiple pools
kai.herz@tuebingen.mpg.de
Copyright 2020 Kai Herz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to deal in the Software... |
61bc2f2e4530b082d3bdbd83d0f448fff13804fe | 608a9db2b36a9326f07dc027b4c482747d272cff | /rkdg/src/gauss.cpp | 62ef70b268799313ab42c038a0fef74c5dc0ff47 | [] | no_license | eglrp/rkdg-spsa | f930bdde654c731387bfd97a6f4514e35339c34b | ff7ad3f757c8afb72fd7c115495945b3f4595c33 | refs/heads/master | 2020-04-07T03:02:48.547449 | 2017-11-20T01:56:14 | 2017-11-20T01:56:14 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,479 | cpp | gauss.cpp | #include "../inc/gauss.h"
void Gauss(int N, double* A, double* B)
{
//分配内存空间
double** a;
int i, j, k, n;
a = new double* [N];
for(i = 0; i != N; i++)
{
a[i] = new double [N];
}
double* b;
b = new double [N];
double* x;
x = new double [N];
//赋值
for(i = 0; i != N; i++)
{
for(j = 0; j != N; j++)
{
... |
32b5cceb23709ef606cf83879c3190d52d8b6de6 | c68efefd201cfae07efb66577020c372af6b4b2e | /src/main.cpp | 2b63b5f97cce9640ba198ad6701c823e835d01d0 | [] | no_license | autani/mult_Mirror | 113b59c9b60bab1549b52fc2b10c9fc6f98527c4 | 77f2efe59d2cd8eb9aa39d868d4fae4e9e87b78b | refs/heads/master | 2020-07-01T03:46:00.367368 | 2016-11-24T12:26:04 | 2016-11-24T12:26:04 | 74,097,716 | 0 | 0 | null | 2016-11-18T05:20:11 | 2016-11-18T05:20:11 | null | UTF-8 | C++ | false | false | 1,041 | cpp | main.cpp | #include "ofMain.h"
#include "ofApp.h"
#include "GuiApp.h"
#include "ofMirror.hpp"
#include "ofAppGLFWWindow.h"
#include "config.h"
//========================================================================
int main( ){
// Read config.xml --- if not, create.
// * default values are Config::Config()
... |
e6f0e7aedb91321c4c3197455f6dd069f17a6884 | f74d93651ab24466efc6581c30b8deb3e5b1349b | /include/shared_str.hh | fb113de5c4dbf85413f1984551c29db3371c6cac | [] | no_license | ivankp/root_tools | e4264638761076be0577d84cdd1520163c54ce7e | 965a5673bc882e26bd16d43ace65af53a5662976 | refs/heads/master | 2021-08-28T18:10:17.399004 | 2021-08-07T18:10:52 | 2021-08-07T18:10:52 | 102,335,694 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 307 | hh | shared_str.hh | #ifndef IVANP_SHARED_STR_HH
#define IVANP_SHARED_STR_HH
#include <memory>
using shared_str = std::shared_ptr<std::string>;
template <typename... Args>
inline auto make_shared_str(Args&&... args) {
return std::make_shared<typename shared_str::element_type>(
std::forward<Args>(args)... );
}
#endif
|
936a7d5fb7292bfc97912f9af7c83ac440a3733f | 8533efd6b4a0b330be34a4b8231fe939eb8869a5 | /Chapter 7/7.3 - Labs (2)/7.3.8 (1).cpp | 102914b132dc73ef012dda01f488f52d13011fdc | [] | no_license | AWoLf98/CPA-Programing-Essentials | a5ecb7fafd8253d48374cdbdb82bcd35fc7cc5d0 | bec93404960b191e933a3f15e1297d2d3f657ec1 | refs/heads/master | 2021-08-31T00:22:08.956091 | 2017-12-20T00:14:57 | 2017-12-20T00:14:57 | 107,897,835 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 509 | cpp | 7.3.8 (1).cpp | #include <iostream>
#include <string>
using namespace std;
class IPAdress
{
private:
int range;
string address;
public:
IPAdress(string address, int range);
};
IPAdress::IPAdress(string address, int range)
{
int octetcsCount = 0;
int index = -1;
while (address.find(address, index + 1) !... |
43b4e24930339b9730b377eda55faa0d58a423e3 | c1673a0b2e9654246faa25460161ddfb3a0153ef | /Мьютекс/Project1/Source.cpp | 223d4624a07eacad7229bf583202c9cad7221402 | [] | no_license | KozhevnikovDenis/HH | 5ba4d1c6214a9ca8d17f0113bf5f47b49f25a9e0 | a911a33a979bfb536c7c075bc9c0626949fd806f | refs/heads/master | 2023-05-27T10:34:55.284499 | 2021-06-15T19:49:58 | 2021-06-15T19:49:58 | 367,885,010 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 5,414 | cpp | Source.cpp | #include <iostream> //библиотека для ввода-вывода
#include <windows.h> //подключаем библиотеку windows.h
int g_nIndex = 0; //создание переменной для работы с массивом
const int MAX_TIMES = 1000; //размер массива данных
DWORD g_dwTimes[MAX_TIMES]; //создание массива, с которым работают потоки
HANDLE g_hMutex = NULL; // ... |
eed33d4600031529ad0d40036a09e1d0024e3438 | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /ui/ozone/platform/wayland/test/test_zaura_output.cc | e95d4e7d8b16852593c40d2e624e83aad31c2308 | [
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 1,416 | cc | test_zaura_output.cc | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/ozone/platform/wayland/test/test_zaura_output.h"
#include "ui/base/wayland/wayland_display_util.h"
namespace wl {
namespace {
int64_t display_id_counter = 10;
}
... |
213c0b179a4827aa57e1b957aeb805c171608538 | 04c6d6a2534fa2e63aba918f2c038f45915ff828 | /Lintcode/1142. Non-negative Integers without Consecutive Ones.cpp | ee64c8753e995eb2ec8d26a15f10db46d6e6d789 | [] | no_license | ttzztztz/leetcodeAlgorithms | 7fdc15267ba9e1304f7c817ea9d3f1bd881b004b | d2ee1c8fecb8fc07e3c7d67dc20b964a606e065c | refs/heads/master | 2023-08-19T10:50:40.340415 | 2023-08-02T03:00:38 | 2023-08-02T03:00:38 | 206,009,736 | 17 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | 1142. Non-negative Integers without Consecutive Ones.cpp | class Solution {
public:
/**
* @param num: an integer
* @return: the number of non-negative integers less than or equal to n
*/
int findIntegers(int num) {
init(num);
return dfs(digitLen, 0, 0);
}
private:
int f[35][2][2];
int digit[35];
int digitLen = 0;
... |
48f5859052699bc3a86850a650794f7b3fc5c484 | 51da7abc9f2080bd28d5ea591dab02fe08d86844 | /GUI/RegionFinder.h | 3430dfb32f8ddbdc6c49c19cbc8b15f0deaf2259 | [] | no_license | hakerg/TFT-as-PC-monitor-driver | 36dc5e3d3dfbb47b837f6f73d12753ec1bdba7b3 | 03f3d13cfeaeeec7f3b6cc5d55fc80960578cfd1 | refs/heads/master | 2023-05-12T06:05:22.471562 | 2023-05-10T18:04:15 | 2023-05-10T18:04:15 | 234,072,316 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 5,152 | h | RegionFinder.h | #pragma once
#include "ArduinoBuffer.h"
#include "ArduinoScreen.h"
#include "Color16.h"
#include "Region.h"
#include "ScoredRegion.h"
#include "ThreadSafeQueue.h"
#include "ThreadWrapper.h"
#include <algorithm>
#include <ctime>
#include <vector>
using namespace System;
using namespace System::Threading;
using namespac... |
1661339b809fbfa5e68cf111dcae7f4fbe78087e | 14f4b0516092a29ae0e0517f322749248b80435b | /Section4/P3.cpp | bd8e83b6ef2ad158285f99e3c90d042f3d5d140a | [] | no_license | iyuge2/CPP-Six-Solutions | 8e06c3a941f625b85eb4a0d040fec143fcb1f45b | 960b7125b3c76aa0773896084005c9d77555b3f5 | refs/heads/master | 2023-02-18T21:09:55.323821 | 2021-01-19T13:18:14 | 2021-01-19T13:18:14 | 330,909,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | P3.cpp | #include<iostream>
#include<cstring>
using namespace std;
int main()
{
char first_name[20], last_name[20];
cout << "Enter your first name: ";
cin >> first_name;
cout << "Enter your last name: ";
cin >> last_name;
cout << "Here's the information in a single string: " << strcat(strcat(last_... |
7e83f8bee42982a318a32e6e32db46d7218ffa61 | a72d01c6c8dfdd687e9cc9b9bf4f4959e9d74f5d | /AUTONOMAUS/autonomaus/include/autonomaus/state/gameStateChannel.hpp | 872e9be8c3e72e34b3389f9223d7970786b6d1e3 | [] | no_license | erinmaus/autonomaus | 8a3619f8380eae451dc40ba507b46661c5bc8247 | 9653f27f6ef0bbe14371a7077744a1fd8b97ae8d | refs/heads/master | 2022-10-01T01:24:23.028210 | 2018-05-09T21:59:26 | 2020-06-10T21:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | hpp | gameStateChannel.hpp | // This file is a part of AUTONOMAUS.
//
// Look, but don't touch.
//
// Copyright 2017 [bk]door.maus
#ifndef AUTONOMAUS_STATE_GAME_STATE_CHANNEL_HPP
#define AUTONOMAUS_STATE_GAME_STATE_CHANNEL_HPP
namespace autonomaus
{
struct GameStateIndependentChannel
{
static const int TAG;
};
struct GameStateDependentCh... |
590d592261648f3961faad5be142c8deebcd6918 | 22186a77a9d2f1ae17ebd9331b338defe3955085 | /Common_Project_2/Header/Role.hpp | 065dd056743905a7244204770c8a45ec7d764387 | [] | no_license | Doru-Bogdan/Common_Project_2 | 756693221da02c4965f60f117a6ec1b961ab8cd0 | c4599ba8192fc049a2d778b43ed417007a47c116 | refs/heads/master | 2020-04-09T17:27:24.880637 | 2019-01-07T17:52:11 | 2019-01-07T17:52:11 | 160,481,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | hpp | Role.hpp | //
// Role.hpp
// lab-7
//
// Created by Doru Mancila on 27/11/2018.
// Copyright © 2018 Doru Mancila. All rights reserved.
//
#ifndef Role_hpp
#define Role_hpp
#include <iostream>
class Role {
public:
enum RoleType {
STUDENT_ROLE = 1,
TEACHER_ROLE,
GUEST_ROLE,
ADMINISTRATIVE_... |
d5b2ae3c4fb5431e73fed7e5e3759413dbe645e1 | 054454a3033bd65763dbe1f81535138712c47952 | /w4/d4/program_shape/Shape.h | 860e3a5346bb4c012b440b954df9694b324122a5 | [] | no_license | greenfox-zerda-sparta/szaboattus | 8e6cec0bdde81f7942ce5d451ed20826d7994a4d | 7eee9c38361895b96eb3612fa5242f821c50526e | refs/heads/master | 2021-01-17T18:18:13.841031 | 2017-02-17T09:19:32 | 2017-02-17T09:19:32 | 71,350,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | Shape.h | /*
* Shape.h
*
* Created on: 2016 nov. 10
* Author: win7
*/
#ifndef SHAPE_H_
#define SHAPE_H_
#include <iostream>
using namespace std;
class Shape {
private:
float mHeight;
float mWidth;
protected:
float mArea;
virtual void calcArea() = 0;
public:
Shape(float _width, float _hei... |
a4f579375cdd98312b679ba1bd1d25e29d03ae7d | 9d48363a6125dce5a5def1ac148c4a5bd678ae3b | /Sourcecode/private/cpul/cpulTestResult.cpp | fd7f12f75effa9a1c9f497a39dddeba5d1636280 | [
"MIT"
] | permissive | rphaeh/mx | 4cac321c5b55ce657e07e2e6ed01f0d8cd045757 | cdf1c97c5ebffaa81de5db77cfc6d2b06b9a94fb | refs/heads/master | 2021-10-26T00:36:24.084974 | 2019-04-09T00:11:04 | 2019-04-09T00:11:04 | 198,191,333 | 2 | 0 | null | 2019-07-22T09:30:20 | 2019-07-22T09:30:20 | null | UTF-8 | C++ | false | false | 421 | cpp | cpulTestResult.cpp | #include "cpul/cpulTestResult.h"
#include "cpul/cpulFailure.h"
#include <iostream>
TestResult::TestResult()
:
failureCount (0)
{
}
void TestResult::testWasRun()
{
}
void TestResult::startTests ()
{
}
void TestResult::addFailure (Failure failure)
{
std::cout << failure << std::endl;
failureCount++;
}
vo... |
8384eb2c641f402df30252799ab5a96853e87336 | 3d8d76126b64bde9d280e721e272af23b2e5f3d3 | /str/apps/test/DistinguisherTest.cpp | a088549fa20857e6fd49c063063faad9c376efca | [
"MIT"
] | permissive | KatLab-MiyazakiUniv/etrobocon2018 | 4732c74ff66dc43b6feb1072ba951ec5131469f4 | 770af34cce41ae9c30c41303275e1add2daae0c3 | refs/heads/master | 2021-06-14T07:21:25.760171 | 2018-11-13T03:44:23 | 2018-11-13T03:44:23 | 128,763,371 | 1 | 2 | MIT | 2018-11-13T03:26:01 | 2018-04-09T11:46:56 | C++ | UTF-8 | C++ | false | false | 1,164 | cpp | DistinguisherTest.cpp | /**
* DistinguisherTest.cpp
*/
/* コンパイル(平木場)
$ g++-7 DistinguisherTest.cpp ../src/Distinguisher.cpp gtest_main.o gtest-all.o -I../include
-I../../googletest/googletest/include
*/
#include "Distinguisher.h" // このヘッダファイルのcppファイルをテスト
#include <gtest/gtest.h>
namespace etrobocon2018_test {
class DistinguisherTest :... |
767d56c09b531150e151a5db09ddb3545c62b5c7 | 26cd8b6dc1e8b9b0c0982fa02d584a742be0c939 | /C++/Lab3-8-1/src/Lab3-8-1.cpp | 7a2ef80e02f1bc8642f245b64ada335276603539 | [] | no_license | pmclachlan0552/Labs | cd4742a23ab1c75880a240521fe9575afdd67053 | 308b1860abe640d3416b96276b320820a8526529 | refs/heads/master | 2020-04-01T18:21:30.698605 | 2018-12-21T21:37:29 | 2018-12-21T21:37:29 | 153,487,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | cpp | Lab3-8-1.cpp | //============================================================================
// Name : Lab3-8-1.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include ... |
a4a44051d5614eba77bf1bcb4d4fdb8894952652 | b64bdc026f4e370855bafcc3d302f0fea6de3357 | /DSC2018/final/rpi1/second.cpp | 61e35d263a668a437b04e6ddcb612d6b0ebf9c5a | [] | no_license | jihoon96/ACES | 6edb1e1bd74945b84571d3baf55fa091062133c0 | 6bc8caf407968b6d1f232fbbb8bcde782c8ac8a3 | refs/heads/master | 2020-03-22T23:31:36.331442 | 2019-05-07T15:17:15 | 2019-05-07T15:17:15 | 140,815,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,172 | cpp | second.cpp | #include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/can.h>
#include <iostream>
#include <openssl/sha.h>
#include <cstdint>
#include <cstring>
#include <time.h>
using namespace std;
int main(i... |
622c7bd4754b4b0a43d9a8a8e056e753531cfd49 | 45357fdd4c031fc966b60e98c1f862cf8c780e09 | /tests/func_exchange_streamassistant/src/func_exchange_streamassistant_receiver.cpp | 5867b7586c784db4a097a95d40b7c75a8232dc4f | [
"MIT"
] | permissive | airbus/ED247_LIBRARY | eb6e57889c3348dacc4c68f9cd92784659d8f109 | b815725b6e8f98cbb79a5b95e1a7d683887a93a6 | refs/heads/master | 2023-03-04T07:16:21.427269 | 2023-03-03T13:29:08 | 2023-03-03T14:42:48 | 220,499,883 | 20 | 21 | NOASSERTION | 2022-12-20T14:24:02 | 2019-11-08T15:55:29 | C++ | UTF-8 | C++ | false | false | 9,415 | cpp | func_exchange_streamassistant_receiver.cpp | #define TEST_ACTOR_ID TEST_ACTOR2_ID
#include "functional_test.h"
static std::string config_path;
class StreamAssistantFixture : public TestContext {};
#define EXPECT_PAYLOAD(payload, paySize, expected, expectSize) \
EXPECT_EQ(paySize, expectSize); \
EXPECT_TRUE(memcmp(payload, &expected, std::mi... |
0be46f5a0dc8d64d7e74973c34a2dc19199ec0ad | 24e4679395e0e9fd75e2bd2633bdfc8737cc0eab | /DragPoint.cpp | d5b7415071b41d512f7e06c1d6e91431a4a9f60e | [] | no_license | Coguar/ShapeManager | 22a6345ef54539fb6f77ac22fc7cb404ed5b1f0f | 23d1a8759f23894c197110877dbfca6afeef64ed | refs/heads/master | 2021-01-11T19:20:56.209510 | 2017-02-22T15:43:38 | 2017-02-22T15:43:38 | 79,361,229 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,188 | cpp | DragPoint.cpp | #include "stdafx.h"
#include "DragPoint.h"
namespace
{
bool InRange(double number, double min, double max)
{
return number >= min && number <= max;
}
}
CDragPoint::CDragPoint()
{
}
CDragPoint::~CDragPoint()
{
}
void CDragPoint::SetConnectedPoint(std::shared_ptr<CDragPoint> const & xPoint, std::shared_ptr<CDra... |
7ca7085cc7bfcdca7cb01a658de2ea708586746f | 184cc1de8f3b250cfc92f005421605d16d1d1d26 | /appTest/Test/buttons_mock.cpp | 15fc1e003cc86da40f8e97a441e56682e5f4fc2e | [] | no_license | Ajno/tempHumMeter | 56720c3da25f874ff6cc88954d7bf218424d516c | 2caf173e92b4c33cd548b3143afab2efe45d65ac | refs/heads/master | 2021-01-20T23:08:40.807919 | 2016-04-15T07:15:21 | 2016-04-15T07:15:21 | 42,815,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | buttons_mock.cpp | /*
* buttons_mock.cpp
*
* Created on: 7. 10. 2015
* Author: z0037ysj
*/
#include <buttons_mock.h>
#include <buttons.h>
static bool buttonState[2];
extern "C" Bool buttonIsPressed(const buttons_t cButton)
{
return buttonState[cButton];
}
ButtonsMock::ButtonsMock()
{
buttonState[... |
d979bde5b8f76a48ce7944e4691e4b8aa70bf830 | b29cb1e162112d1a8a0f659db63169ae99e83cfd | /Headers/CFGBuilder/ControlFlowGraphBuilder.h | 83282ba3b471ccd6b399950369bc4cd25b78913e | [] | no_license | cdcurtis/BioSystem | 0b58acdc2b00ee609c717394dffd7113855e0606 | 5a0eadf6de10c4dab741c94d2fef8af8e585d853 | refs/heads/master | 2021-01-18T21:43:57.532334 | 2017-11-07T04:54:10 | 2017-11-07T04:54:10 | 40,913,998 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,973 | h | ControlFlowGraphBuilder.h | /*
* ControlFlowGraphBuilder.h
*
* Created on: May 19, 2017
* Author: chriscurtis
*/
#ifndef HEADERS_CFGBUILDER_CONTROLFLOWGRAPHBUILDER_H_
#define HEADERS_CFGBUILDER_CONTROLFLOWGRAPHBUILDER_H_
class ControlFlowGraphBuilder {
private:
public:
ControlFlowGraphBuilder();
virtual ~ControlFlowGraphBuilder()... |
fc7c1bf84a4e936998e25feca60e9caef19f20aa | b0245ff5fa1f1925486473c0a57fb81f6e0ec148 | /binary_search_tree_traversal(display_destructor).cpp | 3714a3a8d9e7a2d607fdb7df597b61d54c93c789 | [] | no_license | sameg14/josh | c77247df417f18844e25b8aaee49b8f1729148ba | 8f0111cad5e3e9ea0cf2c8e894695f5748716320 | refs/heads/master | 2021-01-10T03:57:37.981600 | 2015-12-06T05:50:53 | 2015-12-06T05:50:53 | 47,468,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,023 | cpp | binary_search_tree_traversal(display_destructor).cpp | #include<iostream>
using namespace std;
class Node{
private:
int val;
Node* left;
Node* right;
public:
Node();
Node(int);
bool set_val(int);
int get_val();
bool set_left(Node*);
Node* get_left();
bool set_right(Node*);
Node* get_right();
};
Node::Node(){
val=0;
lef... |
effc7ab227e68a318465f228ee82990e0487a387 | 90cbd8184e19d89153be71aca16272a9984c1ac9 | /src/PhysicsSimulation2D.h | 627cb6f37780f1cf783a124af2a964b4cef3bb9c | [] | no_license | TerrySoba/BlobbyThing | 102d6c143c006446b27c56afd097957cfd654b0e | 5e7bd919dfb2a81873933be85dc371154ba41cd0 | refs/heads/master | 2021-01-21T17:37:05.559555 | 2017-05-21T14:59:38 | 2017-05-21T14:59:38 | 91,964,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,084 | h | PhysicsSimulation2D.h | /*
* PhysicSimulation2D.h
*
* Created on: 19.03.2012
* Author: yoshi252
*/
#ifndef PHYSICSSIMULATION2D_H_
#define PHYSICSSIMULATION2D_H_
#include "ErrorLogging.h"
#include <functional>
#include "MathUtils.h"
#include <map>
#include <tuple>
#include <array>
#include <functional>
struct PhysicsCircle2D {
... |
1b42381e9fa8e37e513a54dc85fe35b39a6678e0 | 431a3d66e80da5c90ec15f3ff9a13fd341277391 | /Transform.cpp | 13dde0ef3334d05d5442493a367b08ecd28e85b2 | [] | no_license | lionemilio95/Android-Robots | f5000daaaf547ae96d854d7ab92c1e217ea3b0af | 169e84c1098d3975d943038b0d58cc7a174ebc6a | refs/heads/master | 2022-12-06T11:45:46.495244 | 2020-09-01T06:49:23 | 2020-09-01T06:49:23 | 291,915,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,068 | cpp | Transform.cpp | //
// Transform.cpp
// HW3
//
// Created by Jiayue Chen on 10/30/18.
// Copyright © 2018 Jiayue Chen. All rights reserved.
//
#include "Transform.hpp"
#include <iostream>
Transform::Transform(){
MT = glm::mat4(1.0f);
}
void Transform::addChild(Node* node){
Nodelist.push_back(node);
}
void Transform::re... |
f49f571eda6e4e291922c0d47597b9f28c88d8aa | 78e8de1d9b24131d1ac5b85c1522fd33e40c18d7 | /evaluation/statQuality/ErrorEvaluation.h | 44a872d034c9d797bc23d11d08efbd99a2854924 | [] | no_license | HandongHCI/ModifiedHumanShape | af8b272c14c60951adeff3e0afde952308a12ad0 | 3e5800c6900226f40a820446be7c0200463a60cf | refs/heads/master | 2020-05-26T17:38:31.355469 | 2020-03-02T00:45:02 | 2020-03-02T00:45:02 | 188,322,476 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,731 | h | ErrorEvaluation.h | /**
This file is part of the evaluation of the 3D human shape model as described in the paper:
Leonid Pishchulin, Stefanie Wuhrer, Thomas Helten, Christian Theobalt and Bernt Schiele
Building Statistical Shape Spaces for 3D Human Modeling
ArXiv, March 2015
Please cite the paper if you are using th... |
617fe0926c825c21af168acbc5d67734d391ba76 | 04160cfe2792e045add9d446a4622b9533480a7c | /Wirlab files/gr-swifi/lib/qa_phy_utils.cc | 03fc910f92e0b6e6f716398cfa0d94200aa78475 | [
"MIT"
] | permissive | mohaimenhasan/Indoor-Localization-Capstone-Project | acc4df1e9878bd0ac24343ed572a909f4ba63b47 | 8715c7e7fe016c525b1d22c0c6646e3193254512 | refs/heads/master | 2023-01-19T11:15:16.460312 | 2020-04-08T16:56:03 | 2020-04-08T16:56:03 | 228,293,593 | 1 | 2 | MIT | 2023-01-05T03:06:07 | 2019-12-16T03:18:09 | C++ | UTF-8 | C++ | false | false | 2,579 | cc | qa_phy_utils.cc | /* -*- c++ -*- */
/*
* Copyright 2014 Triet Vo-Huu <vohuudtr@ccs.neu.edu>
*
* Wireless Security Lab - College of Computer and Information Science
* Northeastern University, Boston, MA 02115, USA.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licen... |
2c98fe239dd91dc36c175cec4f6a9ff571b6f691 | 23e9f8e47efa93e7ec196dccc6612a96e6f8f357 | /explosion.h | 361a82043389fd5f26437caf50dbed72a1d67615 | [] | no_license | kuri-dKB/gm31QT6ypnmF | 906bb88fc4e67f1f037a554c3b2e4ade8252faac | e099760a7e9d9b1b43636e9f63c4ea7b5e370fdd | refs/heads/master | 2022-12-18T17:31:23.805910 | 2020-08-26T07:37:00 | 2020-08-26T07:37:00 | 283,424,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | h | explosion.h | #pragma once
#include "gameobject.h"
class CExplosion : public CGameObject
{
private:
ID3D11Buffer* m_VertexBuffer = NULL;
ID3D11ShaderResourceView* m_Texture = NULL;
int m_Count = 0;
public:
void Load();
void Unload();
void Init();
void Uninit();
void Update();
void Draw();
};
|
3511c791209123379a076643de524eec90198c79 | ca6d3dbcf285c80d40671ae90ac0668b045d2c78 | /Codeforces/0832E.cpp | 752ffaf72a767e0ec63b0e88733dfb54b6de9c70 | [] | no_license | nevilparmar11/CompetitiveProgramming | 06833e4db86e01d9f06fa3f1610b711e7dfca6b5 | 86211e1990aa3873ab4a031507c3fdb7c3bb55d3 | refs/heads/master | 2021-04-18T07:48:24.435425 | 2020-03-21T16:37:24 | 2020-03-21T16:37:24 | 249,519,416 | 1 | 0 | null | 2020-03-23T19:02:56 | 2020-03-23T19:02:55 | null | UTF-8 | C++ | false | false | 852 | cpp | 0832E.cpp | #include <bits/stdc++.h>
using namespace std;
const int mxN=500, mxQ=300, M=1e9+7;
int mi[5]={0, 1, 3, 2, 4}, n, m, q;
vector<int> a[mxN];
long long ans=1;
void rs(int n) {
for(int i=0; i<n; ++i) {
string s;
cin >> s;
for(int j=0; j<m; ++j)
a[j].push_back(s[j]-'a');
}
}
int main() {
ios_base::sync_with_... |
4b15996a860ac14c75545b4b7272f614edaf6755 | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Rendering/PhysBAM_OpenGL/OpenGL/OPENGL_TRIANGULATED_AREA.h | 103b7c54fbb77c8a58232a079e5c7ccc2f83b459 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 4,191 | h | OPENGL_TRIANGULATED_AREA.h | //#####################################################################
// Copyright 2001-2004, Eran Guendelman, Geoffrey Irving, Andrew Selle.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//######################################... |
cb1f18c2c52a6dde8072c9cffb73a5346b7dc705 | a9c3d2c2ed61c95a08e7436eecbf3e3ad14fa896 | /Src/55_JumpGame/JumpGame.cpp | cd23b890c46c22380f6ea59561454f2a0bae9724 | [
"Apache-2.0",
"MIT"
] | permissive | chxj1980/AlgorithmTraining | 654ff5ba9e3d286251877c23987de21206694cd1 | bbb13b69378bc487e839019d3f5e5107c363233d | refs/heads/master | 2023-03-11T01:39:10.152642 | 2021-02-23T13:25:37 | 2021-02-23T13:25:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | JumpGame.cpp | #include <catch2/catch.hpp>
#include <cstddef>
#include <string>
#include <tuple>
#include <unordered_map>
using namespace Catch;
using namespace std;
//貪心
class Solution
{
public:
bool canJump(vector<int>& nums)
{
auto n = nums.size();
size_t rightmost = 0;
for (size_t i = 0; i < n; ... |
51695f0d2ae1a5b1be8a05100b3495ecbcf9c4d4 | 2d582a0f0453af978f5436c769318ea83b0ba103 | /mp_mosaics/maptiles.cpp | dc1e6ac535bf6f31eb8bc37723bf7315427e74d5 | [] | no_license | 3outeille/CS-225 | 2cce76dc00fdaea3942385af6a5dea2fcde832c8 | 3e70447cf46f291616eded9938a80e2641bef54e | refs/heads/master | 2023-06-06T09:11:16.447988 | 2021-06-26T19:10:41 | 2021-06-26T19:10:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | cpp | maptiles.cpp | /**
* @file maptiles.cpp
* Code for the maptiles function.
*/
#include <iostream>
#include <map>
#include "maptiles.h"
//#include "cs225/RGB_HSL.h"
using namespace std;
Point<3> convertToXYZ(LUVAPixel pixel) {
return Point<3>( pixel.l, pixel.u, pixel.v );
}
MosaicCanvas* mapTiles(SourceImage const& theSourc... |
04b47fc8f8760a15e219d2da6ab805a25a8ae322 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/android/persisted_tab_data/sensitivity_persisted_tab_data_android_browsertest.cc | 9abbc4f57942ed2769625f6a67202b74a6c05347 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 9,483 | cc | sensitivity_persisted_tab_data_android_browsertest.cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/android/persisted_tab_data/sensitivity_persisted_tab_data_android.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "chrome/bro... |
5c64d454c93f2d466c21baea00cc7909891469ba | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2692487_0/C++/purupuyo/test.cpp | 68db2333fc73e1c30bc7ef7582c34450be7d5c02 | [] | 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 | 1,801 | cpp | test.cpp | #include <algorithm>
#include <map>
#include <vector>
#include <iostream>
#include <sstream>
#include <cstdio>
#include <cstring>
#include <cctype>
#include <cstdlib>
#include <cmath>
#include <string>
#include <queue>
#include <stack>
#include <set>
#include <numeric>
using namespace std;
#define REP(i,n) for(int i=0... |
deb4b9e6f1745d71154e0882e0919ecdc2dfe868 | b78b6eed738c6b26a3393fddbdc9f93c8d4a67f5 | /C++/BruteForce_Search/11403.cpp | a4db997d2e0378e5fa8063154c0160a9c2216c85 | [
"MIT"
] | permissive | SkydevilK/BOJ | e1432ceb8833becbc79b6461ff8a351757ac55ba | 4b79a258c52aca24683531d64736b91cbdfca3f2 | refs/heads/master | 2022-12-17T15:09:37.208184 | 2020-08-30T15:36:54 | 2020-08-30T15:36:54 | 198,021,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | 11403.cpp | #include <cstdio>
int N;
int map[100][100]={0,};
int main(){
scanf("%d",&N);
for(int i = 0 ; i < N ; i++){
for(int j = 0 ; j < N ; j++){
scanf("%d", &map[i][j]);
}
}
for(int k = 0 ; k < N ; k++){
for(int i = 0 ; i < N ; i++){
for(int j = 0 ; j < N ; j++){
if( map[i][k] && map[k][j]){
map[i][j... |
178067e6edb4928a2c9c79a84ed733cb1e7b54b2 | 4c9201420484e82e470649bacb8bc07fb5f76a01 | /src/qpdfio/pdf1_0/loading_file_state.cpp | 2f53a822805c8c6e744d9db12c11cc09a2131755 | [] | no_license | vladyslavkazachenko/qpdfio | f4c2ae45af98f6769fa9acfe9723034f6bc3b100 | 2685583314f3ace29c0efdc9b5621397c84b094b | refs/heads/master | 2020-03-12T07:32:39.441940 | 2018-04-22T17:25:55 | 2018-04-22T17:25:55 | 130,508,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | loading_file_state.cpp | #include "loading_file_state.h"
#include "QDebug"
namespace qpdfio
{
namespace pdf1_0
{
LoadingFileState::LoadingFileState(
pdfio::pdf1_0::DocumentReader &reader)
: reader_(reader)
{
}
void LoadingFileState::onEntry(QEvent * event)
{
qDebug() << "LoadingFileState::onEntry";
}
void LoadingFileState::o... |
b49f251f91ce235c3ea339b5b4a9ac0ed1be4023 | 67baab02cfda6c54a287d63d0874824cf15f3ba6 | /atcoder/abc137f.cpp | 00a2c8cb4a10c1ee86c5015aef3c62b76086d61b | [
"MIT"
] | permissive | sogapalag/problems | a14eedd8cfcdb52661479c8c90e08737aaeeb32b | 0ea7d65448e1177f8b3f81124a82d187980d659c | refs/heads/master | 2021-01-12T17:49:52.007234 | 2020-08-18T14:51:40 | 2020-08-18T14:51:40 | 71,629,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,373 | cpp | abc137f.cpp | #include <bits/stdc++.h>
using namespace std;
// the poly = -(x^p - x) \sum_i 1/(x-i), a[i]=1
// proof:
// note x^p-x = 0, i.e. x^p-x = (x-0)(x-1)...(x-p+1)
// so for a[i]=1, we divide 1/(x-i)
// and recall wilson's theorem, (p-1)! = -1.
// thus (i-0)(i-1)...(i-p+1) = (p-1)! = -1. QED
//
// how to calc y=(x-... |
a54226f6365d2b77be0f8985c5cc5acbf25f2945 | 21d0dbc85bd1b4c6cd1f07d1bf1ece00b8beff66 | /C++/Operator Overloading/virtualfunc.cpp | 8b45d54f710812f417e098caa606da8a21dd7c82 | [] | no_license | ngarg2k2/Cheatsheet | 17dd5b4b56b3bcee40b368b98d3238c0e3bc74fd | 8c78f3f1a6f11d74ee43a66f7757062d6674a358 | refs/heads/main | 2023-06-27T18:46:07.552904 | 2021-07-29T08:14:40 | 2021-07-29T08:14:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | cpp | virtualfunc.cpp | // polymorphism
//compile time(static/early binding): function overloading & operator overloading
//run time(dynamic/late binding): function overriding-> virtual functions
#include<iostream>
using namespace std;
class base
{
protected:
float i;
public:
virtual void convert(float f)
{
cout<<"in base class\n";
}
... |
a2f053d88028fd3772e520e91c17f937e9c9e2ad | 5922fa7d374582ed77e97fc1fb4ef8a0f5b4b940 | /models/zlog/test.cpp | ad5f126fc969a04f305823de307ff680aa9b763c | [] | no_license | EasonZhao/PIC-Svr | 9bb19f8fa74376d74103d4cf62249d979ff003c4 | d9efeeda6a9befb6995347847f2e5db21f159a6e | refs/heads/master | 2020-05-17T09:19:04.622290 | 2013-12-21T10:06:10 | 2013-12-21T10:06:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | cpp | test.cpp | #include <iostream>
#include "zlog.h"
int main(int, char**){
zlog_singleton::get_mutable_instance().log(0, "test");
return 0;
}
|
a88935a164f5f809f8c5620826ea5d34e88a80c1 | f4c15be50f6347b097d1ff3be57556088b345d3c | /HDU-changchun-1007.cpp | 842643a7f81faf572aeb451d3b512bad177e236b | [] | no_license | mfs6174/mfs6174-ACM | c2d5e3b18ea5e0126dd9c26c6295d270be012a19 | 124bdf1ff820c033a4d5dac3ce442da421bd0179 | refs/heads/master | 2016-09-06T03:50:59.964440 | 2015-04-17T14:41:56 | 2015-04-17T14:41:56 | 1,722,123 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,169 | cpp | HDU-changchun-1007.cpp | /*
ID: mfs6174
email: mfs6174@gmail.com
PROG: ti
LANG: C++
*/
#include<iostream>
#include<fstream>
#include<string>
#include<sstream>
#include<cstring>
#include<algorithm>
#include<map>
#include<vector>
#include<queue>
#include<deque>
#include<iomanip>
#include<cmath>
#include<set>
#define sf scanf
#define pf ... |
52cf154cd1a045871302e69fcbea8656f19c574d | 3c730989cfaa96b86311059d377e26e295249a59 | /mimir/queue_implementation-circular_array/Queue Implementation Using a Circular Array/IntegerArrayQueue.cpp | ae2387658427bb25a4b9507d5a32f9af0accaa47 | [] | no_license | jcreyes72/cpsc2120 | 62451380781e654b407795cbdb8ef130c5fe554e | 6ce286d06c8be886c72064e8e06ef2472123b797 | refs/heads/main | 2023-08-01T03:04:35.296153 | 2021-09-14T17:33:17 | 2021-09-14T17:33:17 | 406,463,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | IntegerArrayQueue.cpp | #include "IntegerArrayQueue.h"
//Implement the enqueue and dequeue functions
//enqueue: if there is space available enqueue value and
//return true, otherwise return false
bool IntegerArrayQueue::enqueue(int value) {
if (((front == 0) && (back == size - 1)) || ((back == (front - 1) % (size - 1)))){
return... |
6a56267beb8714f562df1fb15707cad318783bc1 | 4673de8e4bf34933233d170d3ca84645feec0056 | /code/htm15.ino | 83e3b2151570b9dbcd7e38153616076a06a69a5f | [] | no_license | yuri-afanasiev/esp8266-sensor | 615f4e1363a8c2ef99f6dcf72283740cb6de08a9 | 1db1ea051deb7bfd35852e55caa97b01785fecb2 | refs/heads/master | 2021-05-08T22:43:14.523587 | 2020-01-29T20:23:50 | 2020-01-29T20:23:50 | 119,683,182 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,536 | ino | htm15.ino | void api15() {
tz1 = server.arg("tz1").toInt();// on 1/ off 0 48
tz2 = server.arg("tz2").toInt();// on 1/ off 0 49
tz3 = server.arg("tz3").toInt();// уселение
tz4 = server.arg("tz4").toInt();// уселение
tz5 = server.arg("tz5").toInt();// -резерв-
tz6 = server.arg("tz6").toInt();// -резерв-... |
4ee3bc21734f4c3fda969ab287bc36dff1bf175a | daf5ef7c58b0b0ba52e7427b4299082eb6556152 | /821.shortest-distance-to-a-character.cpp | bace31e8290d8cf8a215a6221799a9e867851336 | [] | no_license | xijiao/leetcode_practice | ee370fbd070fb7818edbe1afc63f81094877952e | 26924bd99c45484d6eff0057a6902ba932f7c4a2 | refs/heads/master | 2022-11-08T18:02:21.847759 | 2022-10-29T03:00:25 | 2022-10-29T03:00:25 | 228,111,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | 821.shortest-distance-to-a-character.cpp | /*
* @lc app=leetcode id=821 lang=cpp
*
* [821] Shortest Distance to a Character
*/
// @lc code=start
class Solution {
public:
vector<int> shortestToChar(string s, char c) {
int n = s.size();
vector<int> ans(n, INT_MAX);
for (int cindex = -1, i = 0; i < n; ++i) {
if (s[i] == c) cindex = i;
... |
cd5092406cc20d94dfb21968e30e99f3b2e3805f | ea8928948a4906b1dc9ac30a06015590c446884a | /OGLWin/OGLWindow.cpp | 76bd3aa49599608ebbebbdc90c1577bec38c60d1 | [] | no_license | Laguland/OGL-GUI | 16c788b6619eafbe175d277d042c10338daf4147 | 46d2ba669668ef93038439ae0f54aa63ecc83514 | refs/heads/master | 2020-03-18T08:08:32.478738 | 2018-05-23T22:48:21 | 2018-05-23T22:48:21 | 134,492,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,881 | cpp | OGLWindow.cpp | #include "OGLWindow.h"
#include "Resource.h"
#include <gl/GL.h>
OGLWindow::OGLWindow()
{
}
OGLWindow::~OGLWindow()
{
//DestroyOGLContext();
//Clean up the renderable
delete m_rect;
}
OGLWindow::OGLWindow(HINSTANCE hInstance, int width, int height)
{
InitWindow(hInstance, width, height);
}
HGLRC OGLWindow:... |
8e28da2eef7993b51afdc4aad209fb45d68f863d | 3745a8c56f26ce4a29fc0eb8aca912fe4d2f010f | /ZZ/CnfMap/Cut.hh | d6da96e59cdfa4b1fdc727db2fc07e4d4c669cfe | [
"MIT"
] | permissive | berkeley-abc/abc-zz | d79f092a301828c15b63603b872505d9d6b644f7 | 6a15ab3934ec60b777db26227494d2b8ad6f125a | refs/heads/master | 2022-05-29T12:29:59.400865 | 2022-05-14T22:50:56 | 2022-05-14T22:50:56 | 124,795,634 | 17 | 8 | null | 2018-08-24T16:27:07 | 2018-03-11T20:17:25 | C | UTF-8 | C++ | false | false | 3,993 | hh | Cut.hh | //_________________________________________________________________________________________________
//| -- INFO --
//| Name : Cut.hh
//| Author(s) : Niklas Een
//| Module : CnfMap
//| Description : Represents small cuts (... |
b4bf15eba38c4144b3e1ec9c9dee67975a072ed3 | 037e25818ffabad34b9888f1e32a2264e8dabd98 | /include/Intrusion/Services/TowerPlaceableSurfaceService.hpp | d2d4accc67bd27e3ffa81edbf9b815570fd7f61b | [] | no_license | MarkRDavison/Games | b5e8e06f61e0b0c0a8c885d8d998531f50ffb32a | 004d8021b50e49748a846484599050560e31594a | refs/heads/master | 2018-11-15T04:28:55.001571 | 2018-11-09T05:30:35 | 2018-11-09T05:30:35 | 141,380,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | hpp | TowerPlaceableSurfaceService.hpp | #ifndef INCLUDED_INTRUSION_SERVICES_TOWER_PLACEABLE_SURFACE_SERVICE_HPP_
#define INCLUDED_INTRUSION_SERVICES_TOWER_PLACEABLE_SURFACE_SERVICE_HPP_
#include <Intrusion/Services/ITowerPlaceableSurfaceService.hpp>
namespace itr {
class TowerPlaceableSurfaceService : public ITowerPlaceableSurfaceService {
public:
To... |
5f4139fb20a175fd5075bab0c4aea78fbe097c88 | bbef13f13bf4a6e923cce8085201395448aa463f | /src/simplify_polyhedron.cpp | 108ec6dd232d0390cc1c97175cd38c92261674bc | [] | no_license | Polar1s/libigl-python-bindings | 73f9b0106319e6d354a6118b6ccf7633a9a74245 | 85f29960c607c4f17adb0e4725459a916b98947f | refs/heads/master | 2023-08-16T09:29:38.816219 | 2021-10-18T19:23:01 | 2021-10-18T19:23:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | simplify_polyhedron.cpp | #include <common.h>
#include <npe.h>
#include <typedefs.h>
#include <igl/simplify_polyhedron.h>
const char *ds_simplify_polyhedron = R"igl_Qu8mg5v7(
Simplify a polyhedron represented as a triangle mesh (OV,OF) by collapsing
any edge that doesn't contribute to defining surface's pointset. This
_would_ als... |
322db0aebc6c036d03e5bb488d2d578b538d714a | fe1d5d91d880c51cb6850fcad140bb39581c415d | /SimpleRecursion/2_printAllCombiBalParan.cpp | 0ce4d73f36604a38d2829c6aecdde3c01d860934 | [] | no_license | AvichalGupta/NotesAlgorithmsDS.cpp | ba87fd289a6408423c93355e987f3d9af12cd64f | 8cd4c8913d6cf6403f8096918e5ff3f4c87dddce | refs/heads/master | 2023-03-18T19:28:51.556720 | 2018-12-03T05:39:49 | 2018-12-03T05:39:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | 2_printAllCombiBalParan.cpp | #include <iostream>
using namespace std;
void printParenthesesAux(char *str,int pos,int N,int open,int close){
if(close==N){
cout<<str<<endl;
return;
}
if(open<N){
str[pos]='{';
printParenthesesAux(str,pos+1,N,open+1,close);
}
if(open>close){
str[pos]='}';
printParenthesesAux(str,pos+1,N... |
66b58eae1eb04d58b646feac3304eae9ed425dd1 | 115a05cdeb13faea2d785b7bf6b783f326ef70d6 | /main.cpp | 6f1eab276191b19aeb199573e366a9a1f3ef9b77 | [] | no_license | inosko/hdr-sdk | 14e54bdfbf4a27814542907f469e3b3344a3378d | 3cd971f04f93ab50a8fe20eb142ee8de93f62c75 | refs/heads/master | 2023-06-25T07:16:59.235037 | 2021-07-29T12:00:55 | 2021-07-29T12:00:55 | 390,709,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,931 | cpp | main.cpp | #include <iostream>
#include <iostream>
#include <filesystem>
#include <vector>
#include <opencv2/opencv.hpp>
#include <elpp/easylogging.hpp>
#include <cxxopts/cxxopts.hpp>
#include <hdr/hdr_lib.hpp>
#include <hdr/hdrlib_temporal_tonemap_durand.hpp>
INITIALIZE_EASYLOGGINGPP
static void setLogLevel(std::string le... |
bb83d0ecb6f245743ed40eea659125cbd528123d | bf18adcb40cb7ae517890642cadf9ed6886ac818 | /debug/unit_test/test3GmsFilter.cpp | dd282e1c1769802f4338caecd79c9fcc41a2c7d7 | [] | no_license | Alegriabaile/My3dPhoto | c2709e219e334fe6f09c4cf00eaea76a76ba9696 | 5093fe88f8fcead541a1aee388b7f1f637adae3c | refs/heads/master | 2022-05-14T18:56:39.401695 | 2020-01-16T14:05:37 | 2020-01-16T14:05:37 | 220,237,869 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,133 | cpp | test3GmsFilter.cpp | //
// Created by ale on 19-11-8.
//
#include "gms_matcher.h"
#include "2FeatureExtractor.h"
void GmsMatch(Mat &img1, Mat &img2);
Mat DrawInlier(Mat &src1, Mat &src2, vector<KeyPoint> &kpt1, vector<KeyPoint> &kpt2, vector<DMatch> &inlier, int type);
void runImagePair() {
// Mat img1 = imread("data/01.jpg");
// ... |
75100bed4b58c27c70154717c06de6a0dddbaa02 | 9c4d15ee985cdabd54d6db924d5b129cbff55f16 | /main.h | 29e9a50a0a319acc1639e23dfed12f37cae4ec33 | [] | no_license | orckrn/PatientaDB | ea0a25469a36c31cbcdd74e93dbb61a61911df84 | 8d29c502569e37b7ffe4d1ca1099f4ff0638371d | refs/heads/master | 2020-05-07T17:48:54.997688 | 2019-05-30T11:10:03 | 2019-05-30T11:10:03 | 180,742,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | h | main.h | #ifndef MAIN_H
#define MAIN_H
namespace Ui {
namespace TPatient {
const int PATIENT_ID_INDEX = 0;
const int FIRST_NAME_INDEX = 1;
const int SECOND_NAME_INDEX = 2;
const int LAST_NAME_INDEX = 3;
const int BIRTH_DATE_INDEX = 4;
const int STREET_INDEX = 5;... |
33d62de64f2ee588344e5dddda56767f2cbd5c04 | f103ea5353950e5aee05a483c4123058a42f7036 | /class_advanced_assignment/ProjectAhn_Assign_4/ProjectAhn_Assign_4/GamblingGame.cpp | 506c7dbf0dcf9a27a48e1aa2571c9a739a14e641 | [] | no_license | seohyunjin/SWU_Cplusplus-2020 | 8affe55db51235a4e3d829261ad1423a0356c7c4 | 025aea84cf4be663ce0666e4d9beff0492efc8e3 | refs/heads/main | 2023-07-10T00:09:26.034231 | 2021-08-14T13:26:37 | 2021-08-14T13:26:37 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,207 | cpp | GamblingGame.cpp | #include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
using namespace std;
#include "GamblingGame.h"
GamblingGame::GamblingGame() {
cout << "***** 갬블링 게임을 시작합니다. *****\n";
srand(time(NULL));
}
GamblingGame::~GamblingGame() {
delete[] p;
}
void GamblingGame::nameSet() {
string ... |
d4e30f1534d5c9e6930d784639253dd1bc799b85 | b0f620a0feef31a308ee777d47b2af225522fff4 | /Very_Easy/40_Fix_the_Incorrect_Code.cpp | dee167385711a2ff0d994ff3a33232c5b9c9b9e6 | [] | no_license | syedyasar/CPP_Edabit | 55a12d51386ef725b5ee2200c4ae42ec602cd293 | d9ae777bcf6bb802a81b4f51426c306585fcffe8 | refs/heads/main | 2023-06-11T11:06:00.792938 | 2021-07-05T21:46:41 | 2021-07-05T21:46:41 | 378,723,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | cpp | 40_Fix_the_Incorrect_Code.cpp | /*
Source: Edabit
Link : https://edabit.com/challenge/gBaLDqeGSmFbHGJE7
Date: 06/20/2021
Find the Bug: Checking Even Numbers
====================================
Create a function that takes in an array and returns true if all its values are even, and false otherwise.
Not a big deal, your friend says. He writes the ... |
37e4d1950f7073695b83d7c30a3d71ee1b78df8e | b7f1b4df5d350e0edf55521172091c81f02f639e | /chrome/browser/ui/views/passwords/manage_password_save_confirmation_view.h | 4bd0ea2c8f4231fd39b4fb4d97c939fb53c2bbe4 | [
"BSD-3-Clause"
] | permissive | blusno1/chromium-1 | f13b84547474da4d2702341228167328d8cd3083 | 9dd22fe142b48f14765a36f69344ed4dbc289eb3 | refs/heads/master | 2023-05-17T23:50:16.605396 | 2018-01-12T19:39:49 | 2018-01-12T19:39:49 | 117,339,342 | 4 | 2 | NOASSERTION | 2020-07-17T07:35:37 | 2018-01-13T11:48:57 | null | UTF-8 | C++ | false | false | 1,529 | h | manage_password_save_confirmation_view.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 CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_SAVE_CONFIRMATION_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_PASSWORDS_MANAGE_PASSWORD_SAVE_CONFIRM... |
5b922246370c1cc6e68f51ee9b9f916d65dc0ca9 | 270e8122dcd5ed137e221a1410f3d0d1bf2e717b | /idlib-math/library/src/idlib/math/identity.hpp | 0122a37aa6b0072e72c7139b53ab1bdb32418882 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | egoboo/idlib | 3273c11ecd24ab3e9693cbc5fdf8e234dc1d524d | ef02bb1f801054e864028728d9eadc8cb4ff34a1 | refs/heads/develop | 2022-10-07T02:58:17.703686 | 2022-09-20T20:52:54 | 2022-09-20T20:52:54 | 105,938,221 | 2 | 1 | MIT | 2022-09-20T20:31:52 | 2017-10-05T20:41:28 | C++ | UTF-8 | C++ | false | false | 372 | hpp | identity.hpp | #pragma once
namespace idlib {
/// @brief Functor computing the identity matrix.
/// @tparam T the type of the matrix
/// @tparam Enabled for SFINAE
template <typename T, typename Enabled = void>
struct identity_functor;
template <typename T>
auto identity() -> decltype(identity_functor<T>()())
{ return ... |
0a0a0419a68778c5278c3623f1ea479ee0f21531 | effc4cf7d6730fe136c4b82fa2a6503c3ae41478 | /project_3/src/mouse.cpp | 277664baec844bbc2d835c2ffbf6060cc14ddfd9 | [] | no_license | Jister/backup | ce9fd0b20244b7f70c58487f3db46eb116f80b3d | 31ed9f2f2e25e1ee3ab94564fb23be9e3fc335c7 | refs/heads/master | 2021-09-03T06:13:24.267569 | 2018-01-06T08:02:08 | 2018-01-06T08:02:08 | 116,465,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | mouse.cpp | #include <ros/ros.h>
#include <cv.h>
#include <highgui.h>
void myMouseCallback(int event,int x,int y,int flags,void* param)
{
IplImage* img = (IplImage*)param;
IplImage* img1 = cvCloneImage(img);
CvFont font;
char text[20];
uchar* ptr;
cvInitFont(&font, CV_FONT_HERSHEY_PLAIN, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.