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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
80e4f898d0e4a4c49f8b96f9fa640fd54ca964bd | 1783b6714c5614155c7584bcad0a028345100cbe | /Conditional Statements/if.cpp | ec0fb4437f381df0356f02412d94a3415a52a77f | [] | no_license | ShreyaDhir/Cpp | 203d637ab5e9033ba01a37a16379b2d1f8c3f108 | 8c8ccee62d748f30a596c3eb6116074def958bf8 | refs/heads/master | 2023-01-20T01:13:59.202682 | 2020-11-29T11:38:47 | 2020-11-29T11:38:47 | 271,291,203 | 1 | 2 | null | 2020-10-03T07:09:27 | 2020-06-10T13:56:47 | C++ | UTF-8 | C++ | false | false | 828 | cpp | if.cpp | //If statement
#include<iostream>
using namespace std;
/* Case 1 : Number is greater than 10
* Case 2 : Number is less than 100
* Case 3 : Number is between 10 and 10
* Case 4 : Number is within the boudaries of 10 and 100
*/
int main()
{
int num {};
const int min{10}, max{100};
cout<<"Enter the number: ";
... |
09ffbcaf53cc7e20d2cf12b7814a5b3662003c60 | dc096ae8c8268934e14451e74a78152781186466 | /CplusplusPrimer_5thEd_2012/chapter10/Exercise10.34.cpp | 7aebcd4bbc8491d58187b0eda20c2494968c3461 | [] | no_license | georgiosdoumas/ProgrammingCplusplus- | e9d7420cd8c69377c63e222e090a9ee60642964e | 9f37fe8ddbdb905ed6e27c13841b6ca5d0ef244c | refs/heads/master | 2023-07-09T21:05:14.636387 | 2023-07-01T17:44:39 | 2023-07-01T17:44:39 | 59,301,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | Exercise10.34.cpp | /* Exercise 10.34: Use reverse_iterators to print a vector in reverse order. */
#include <iterator>
#include <vector>
#include <iostream>
int main()
{
std::vector<std::string> words {"one", "two", "three", "four", "five"};
std::vector<double> numbers { -1, 0, 1, 2, 3, 4, 5 };
for(auto revIter = numbers.crbegi... |
f4ea9ccc5c067b4c7177f644f096968e28da72de | 71e0a135b8f4e932ae33aab850cedb7e3418b5d0 | /include/skyr/v2/unicode/core.hpp | 8392a37e76cf849c4a00e717327d518051972fb7 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | glynos/url | 533cee99cd8548b972ee3cd6d59125fa1624a061 | 28111d4c30b996aed6a9b9fffa643dfa4e14cb55 | refs/heads/main | 2022-09-10T19:18:09.011320 | 2022-08-06T06:20:37 | 2022-08-06T06:20:37 | 148,006,002 | 43 | 8 | BSL-1.0 | 2020-11-18T22:09:41 | 2018-09-09T08:14:36 | C++ | UTF-8 | C++ | false | false | 8,212 | hpp | core.hpp | // Copyright 2019-20 Glyn Matthews.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SKYR_V2_UNICODE_CORE_HPP
#define SKYR_V2_UNICODE_CORE_HPP
#include <string>
#include <type_traits>
#include <tl/expect... |
cacffe815e2d0970739c4c2a621da336c8d350f3 | be56a505cfbec9bbc27368420253b91179f64138 | /MainProject/Game/Source/Base/Mesh.h | fb3c721eb34fb04f6cd809a6fdade7d00c563583 | [] | no_license | sai913887834/Game-Graphic-3 | 5cc3103c29a5f2a55684904522d050af39cb485f | f1d840325928dad8a4ba63928e8b7152e8f8dd19 | refs/heads/master | 2020-12-07T06:57:16.902713 | 2020-02-05T19:10:55 | 2020-02-05T19:10:55 | 232,664,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | h | Mesh.h | #ifndef __Mesh_H__
#define __Mesh_H__
#include "VertexFormat.h"
class fw::ShaderProgram;
class Camera;
class Mesh
{
protected:
GLuint m_VBO;
GLuint m_IBO;
unsigned int m_NumVerts;
unsigned int m_NumIndices;
GLenum m_PrimitiveType;
public:
Mesh();
~Mesh();
void Init(VertexFormat* p... |
25e1f7ee2173f814f594c1924817da23a9b6fc29 | 1faa2601f5c5d05a8dfa851c06a0fc07317386e5 | /test/unittests/t_cache_extern.cc | a32914edb63e8e4ca21db43247f33007f7a63d92 | [] | permissive | cvmfs/cvmfs | 216aecc8921ac7fcd5cec5a8baf37870cdc42d0f | bb69086badd32d8f9566ed5dcedff1fd1b0ccc5e | refs/heads/devel | 2023-08-24T09:17:29.248662 | 2023-08-15T09:08:27 | 2023-08-15T09:08:27 | 3,784,908 | 231 | 118 | BSD-3-Clause | 2023-09-13T10:50:09 | 2012-03-21T09:10:41 | C++ | UTF-8 | C++ | false | false | 22,480 | cc | t_cache_extern.cc | /**
* This file is part of the CernVM File System.
*/
#include <gtest/gtest.h>
#include <alloca.h>
#include <fcntl.h>
#include <pthread.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <map>
#include <string>
#... |
935c1b0de5573588ed30ee3c305522bbbb2db854 | 149e044be215eb56b8f04dbb69d9b1bfd4ff3254 | /etl/utils/crtp_clone.hpp | 2f3fabbd1c7c6ba63cea5a36d3e48690ca33b810 | [
"MIT"
] | permissive | julienlopez/ETL | 2f9a0a6f98b26acaf0dd01f81e9ff38c5f94c852 | 51c6e2c425d1bec29507a4f9a89c6211c9d7488f | refs/heads/master | 2022-06-26T11:24:33.364244 | 2022-06-14T15:07:54 | 2022-06-14T15:07:54 | 8,948,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | hpp | crtp_clone.hpp | #ifndef __CRTP_CLONE_HPP__
#define __CRTP_CLONE_HPP__
namespace etl {
namespace utils {
template<class Derived, class Base>
struct crtp_clone : Base
{
template<class... Arg>
crtp_clone(Arg&&... arg): Base(std::forward<Arg>(arg)...)
{ }
public:
virtual Base* clone() const
{
return new Der... |
cbafc4652d892576d233a3005513401ca441664c | 011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3 | /codeChef/Chef_and_Subtree_MEXs.cpp | 1940592e416d2ea3d183105cdcaa84d8e33c3770 | [] | no_license | ay2306/Competitive-Programming | 34f35367de2e8623da0006135cf21ba6aec34049 | 8cc9d953b09212ab32b513acf874dba4fa1d2848 | refs/heads/master | 2021-06-26T16:46:28.179504 | 2021-01-24T15:32:57 | 2021-01-24T15:32:57 | 205,185,905 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | Chef_and_Subtree_MEXs.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int t;
scanf("%d",&t);
while(t--){
int a,b,n;
scanf("%d",&n);
vector<vector<int>> g(n+1);
for(int i = 2; i <= n; ++i){
scanf("%d",&a);
g[a].emplace_back(i);
g[i].emplace_back(a);
... |
9675f1ac3653cd883ed56cc5a7a9eb1d17a493f1 | e28904bcedc4c610b3dab2c0fa687188c569212d | /Source/GameObject/List/EnemyList/EnemyList.cpp | 38853b2e4d24f45e77a046b73b8b75d27e0a68b9 | [] | no_license | YuukiReiya/Yuuki-no-kuseniNamaikida- | c65ce94989593e6a27156b0bbcd523c30a770cea | da56954760a72965c12bf03d32b7d3f9a11d5326 | refs/heads/master | 2020-03-21T07:12:19.193380 | 2018-06-22T07:00:25 | 2018-06-22T07:00:25 | 138,266,771 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,701 | cpp | EnemyList.cpp | /*
@file EnemyList.cpp
@brief 出現モンスターのリスト
@detail 双方向リストを用いた動的リスト
@author 番場 宥輝
*/
#include "EnemyList.h"
/*
@brief コンストラクタ
*/
EnemyList::EnemyList()
{
}
/*
@brief デストラクタ
*/
EnemyList::~EnemyList()
{
Destroy();
}
/*
@brief 初期化
*/
void EnemyList::Init()
{
/*! インスタンス生成 */
m_pHead = new ENEMY_NODE;
m_pTail ... |
e20ce01c16930065cde7691ee4b1d16f69f3e5e7 | 0f457762985248f4f6f06e29429955b3fd2c969a | /physics/trunk/sdk/ggfsdk/ObjectMng.h | b44ac4b0e1e952f8aa3855668aa9a6142d0ae3f8 | [] | no_license | tk8812/ukgtut | f19e14449c7e75a0aca89d194caedb9a6769bb2e | 3146ac405794777e779c2bbb0b735b0acd9a3f1e | refs/heads/master | 2021-01-01T16:55:07.417628 | 2010-11-15T16:02:53 | 2010-11-15T16:02:53 | 37,515,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | h | ObjectMng.h | #pragma once
namespace ggf
{
namespace object
{
struct S_AnimatedMesh
{
std::string m_strName;
std::string m_strFile;
irr::scene::IAnimatedMesh *m_pMesh;
};
struct S_Object_Action
{
std::string m_strName;
irr::s32 m_nStart;
irr::s32 m_nEnd;
irr::u32 m_uTick;
};
struct S_DISC_Object
{ ... |
3a2acf2301e2a7798da0a040fab0c8f6ff94e39e | 37c98c1185ca84509699a2e98254a1b319d59826 | /test/testDbListener.cpp | d892d0c1d15ec9d6d08161bc1ccda6f0129de04e | [] | no_license | AleksKots/Manitou | 8a097e38772943e379dd2a7d08401aa7ba2e1ec3 | 8611a75be924b4ec71a95b9f0cdf904373b39e82 | refs/heads/master | 2020-12-25T13:23:16.372221 | 2011-12-14T15:05:05 | 2011-12-14T15:05:05 | 3,127,571 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | testDbListener.cpp | #include "testDbListener.h"
#include "RegistryTest.h"
std::string TestNames::listener(){ return "LISTENER"; }
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(test_db_listener, TestNames::listener());
Notifer::Notifer(QObject *parent) :
QObject(parent)
{
}
|
658e360ebd10fea41fad7cff9b2865280ff6c81c | c2f8f628313f1bbff3dd1bb1ffcdef8f0636a711 | /tests/tests.cpp | 1dd0a2d28aaab2644a8a9523e8788b39ccd15cf4 | [] | no_license | DomWilliams0/petit-compiler | 5ee73c7eb8c9d94f89f19514dd0e52a8dee73be1 | c98d73348bbea46ec5b4b2bad38d9405fa2597a1 | refs/heads/master | 2021-01-20T10:55:00.896371 | 2017-04-09T16:35:44 | 2017-04-09T16:35:44 | 83,790,033 | 1 | 0 | null | 2017-04-03T11:15:33 | 2017-03-03T11:08:04 | C++ | UTF-8 | C++ | false | false | 3,887 | cpp | tests.cpp | #include <sstream>
#include <algorithm>
#include <stdio.h>
#include "Element.h"
#include "Statement.h"
#include "Expression.h"
#include "c.tab.h"
extern void yy_scan_string(const char *);
extern int yyparse(Document *);
extern unsigned int errorCount;
unsigned int fail_count = 0;
#define ASSERT(what, x, expected) do ... |
cfe4135f2a787b11b55339b786c01b1c03cf418c | 1970bae2bbda701e79210e2e596c23666e979977 | /src/test/IphonePageTest.cpp | 8b777127f28cd165ad3c4ea1501a66efff470bd6 | [
"MIT"
] | permissive | airplug/airplug-provider-iplayer | 206f238e5f97071eba827324d3fd63adac691485 | 1840b00246ab2f31a2c1e9f79dc739dbbc713c00 | refs/heads/master | 2021-01-17T22:12:05.722124 | 2010-12-28T20:04:20 | 2010-12-28T20:04:20 | 1,190,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | cpp | IphonePageTest.cpp | using NUnit.Framework;
using System.IO;
using IPDL;
public class IphonePageTest {
public FileStream ReadFile(string name) {
return new FileStream("test/data/episode/" + name + ".html",
FileMode.Open,
FileAccess.Read);
}
}
[TestFixture] public class IphonePag... |
299303ee3494324e2c2c0caec7feee6e35750782 | 42ab733e143d02091d13424fb4df16379d5bba0d | /third_party/draco/src/draco/core/vector_d_test.cc | d66128fb133caab35d91fb5dea696ebfd1956d2d | [
"Apache-2.0",
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"MIT"
] | permissive | google/filament | 11cd37ac68790fcf8b33416b7d8d8870e48181f0 | 0aa0efe1599798d887fa6e33c412c09e81bea1bf | refs/heads/main | 2023-08-29T17:58:22.496956 | 2023-08-28T17:27:38 | 2023-08-28T17:27:38 | 143,455,116 | 16,631 | 1,961 | Apache-2.0 | 2023-09-14T16:23:39 | 2018-08-03T17:26:00 | C++ | UTF-8 | C++ | false | false | 8,551 | cc | vector_d_test.cc | // Copyright 2016 The Draco 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 agree... |
772f42f80c66915bf5d1108f7ee41a16caf2dc44 | e80bd23ee0af020fb6147dce30839b744d1535e0 | /main.cpp | d15c7f375c4acb25a4789caf1a71e8383b4295d6 | [] | no_license | Ugolf/SolarSystem | 50149ce91653f9eb6b6e92642a1abfa04f22d358 | 122701b0837ef7972d98b4b245f603dcb342f48a | refs/heads/master | 2020-05-18T18:05:00.105092 | 2015-06-10T19:20:49 | 2015-06-10T19:20:49 | 24,121,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,168 | cpp | main.cpp | #ifdef _WIN32
#include "windows.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <GL/glew.h>
#include <GL/glut.h>
//#include "Targa.cpp"
#include "colors.h"
#include "Solar.h"
//#pragma comment(lib, "glew32.lib")
GLuint shaderVert, shaderFrag; // Shadery
GLuint shaderProg; // Program
enum... |
e2f93275ba4c0330876f34642192b42349bfc821 | 69b3fd1855e45723848bb1138c4fedc3090664da | /LearnOpenGL/src/Shader.h | 52362ca3089b95b4d23bb9e1830aab15efd2ad69 | [
"Apache-2.0"
] | permissive | IsaPC/Whim-Engine | 763c483e2d9113a6ef087ac1ad643e587b26be7a | 99b031d863616239052a224ba97e150238cf4913 | refs/heads/master | 2021-07-25T12:11:15.128900 | 2020-06-27T11:40:02 | 2020-06-27T11:40:02 | 193,315,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | h | Shader.h | #pragma once
#include <iostream>
// reading files
#include <fstream>
#include <sstream>
// glfw
#include <glad/glad.h>
class Shader
{
private:
unsigned int rendererId;
const char* vFilePath;
const char* fFilePath;
public:
Shader(const std::string vertexShaderSrc, std::string fragmentShaderSrc);
~Shader();
voi... |
a73ac3be6b7ed8100c4b0b0a104bf55594d76a0d | fa9fb33d857538bd27d811a5880f044a55205a59 | /11461.cpp | 1c54cb287af72727f69e6b1e86f7f52e447d7b17 | [] | no_license | Mukit09/UVA_Solution | 15b7aa8c60a9aa59a7e11a8a0163bcf437917661 | b2659637fe9ecb1cdbc164f0d1172e86f71a72d7 | refs/heads/master | 2020-12-25T17:29:17.655229 | 2020-03-18T03:56:34 | 2020-03-18T03:56:34 | 28,819,638 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 419 | cpp | 11461.cpp | /* USER: 93043 (mkbs_cse09) */
/* PROBLEM: 2456 (11461 - Square Numbers) */
/* SUBMISSION: 08773428 */
/* SUBMISSION TIME: 2011-04-23 16:43:23 */
/* LANGUAGE: 3 */
#include<stdio.h>
#include<math.h>
main()
{
long a,b,i,k;
while(scanf("%ld%ld",&a,&b)!=EOF)
{
if(a==0&&b==0)
break;
k=0;
for(i=1;i<=b;i++)... |
1d5353b85834c58f0a58f3776ded768dec3455b4 | 1f7bec17e16aab926807108e619c37bddefe1cd2 | /10019 - Funny Encryption Method.cpp | 5049ef2576c3da5b0900b7adccaedc8ecdc5873a | [] | no_license | shuvra-mbstu/Uva-problems | 2dd1399aabce0028cc46e2fdaef5e68f7c4d4f61 | 90295bd37e24dfd72721e32edecdb7f87c84422b | refs/heads/master | 2021-02-10T16:42:53.367805 | 2020-03-05T09:22:38 | 2020-03-05T09:22:38 | 244,399,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cpp | 10019 - Funny Encryption Method.cpp | #include<bits/stdc++.h>
using namespace std;
int d_bin(int num)
{
int coun=0;
while(num!=0)
{
int i=num%2;
if(i==1)
{
coun++;
}
num=num/2;
}
return coun;
}
int h_bin(int num)
{
int coun=0;
while(num!=0)
{
in... |
6956c808eea288032719407e2bc78efbc983eb30 | 2269f6316c78a8b38ecede9c7a6aa568e7687014 | /MyTask/ui/view/linewidget.cpp | 9e1fd6d2525e7df92dc006f99e1021c8e2421a71 | [
"MIT"
] | permissive | darthmaster/MyTask | 3f75746a08d39997c1d6e110eb3b9afc66009aa3 | a428b1e410800018662ec9b1c970b68fc7fe7b69 | refs/heads/main | 2023-07-04T18:15:04.957145 | 2021-08-13T07:25:21 | 2021-08-13T07:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | linewidget.cpp | #include "linewidget.h"
#include "style/stylecontainer.h"
using namespace styles;
LineWidget::LineWidget() {
this->setMaximumHeight(4);
this->setMinimumHeight(4);
this->setStyleSheet("background: "+COLOR_BORDER+";");
}
|
dd361922a4428b7aae35db980a80f8832864b867 | 5125e1876fe5fdfce3f7d39038dc73b13e7f4579 | /graph.h | f359cf673b297f994a1ee69ad343fe475ce8a654 | [] | no_license | GiulianaCDA/Algoritmos-Grafos | a116af5650c07707a43a341c556404b33ed39580 | 87a12330f4944530dc59118a7ca5635a79eea103 | refs/heads/main | 2023-08-28T11:36:40.711817 | 2021-09-25T00:29:23 | 2021-09-25T00:29:23 | 404,947,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,325 | h | graph.h | #ifndef GRAPH_H
#define GRAPH_H
#include <bits/stdc++.h>
using namespace std;
typedef struct Node node;
struct Node{
int dest;
int weight;
node* next;
};
class Graph{
private:
int V = 1000;
vector <node*> adjlist;
public:
Graph(int vertexes){
V = vertexes;
for (int i = 0; i... |
265959daa1837b34ddeadf49b9b7977ed5fc7a68 | 8b474ff27afd78f3dd6976eb97e22b430b5b65aa | /myclass/addCourse.cpp | 0e8879559d16f57b63c43bf0f9a33b29cf7c3dec | [] | no_license | ndaonguyen/QT_FileDB_ECL | 1d454abe139a12b78f5ca8b6839023488b51f0bc | 202f7358bfe3289e4e23a530cacf7a74cb08cf9b | refs/heads/master | 2021-01-01T15:30:45.840205 | 2013-09-26T15:53:20 | 2013-09-26T15:53:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,802 | cpp | addCourse.cpp | #include "addCourse.h"
AddCourse::AddCourse(QWidget * parent, Qt::WindowFlags f, databaseFile *dbFileOri, QString courseId)
{
ui.setupUi(this);
dbFile = dbFileOri;
setConnection();
courseID = courseId.toInt();
if(courseID == ADD_MODE_COURSE)
refreshToOriginAddCourse();
else
{
ui.saveButton->setVisible(fals... |
d027141e6fd6b4331764fe69a2c6c1384859009d | b00feb6a615e836e94da418a65bcfdf0f857478a | /mopedCPU_v1.0/mopedCPU_v1.0.ino | bc0580b450e184fe4fab2b8429f8f975ad1d064f | [] | no_license | Gioeledeo/MopedCPU | 623857ee9ca21282466d3ff456047b67de5a7978 | 3d9995aa982debb87b7c96af20adba65fd3525b7 | refs/heads/master | 2020-05-19T17:48:30.618178 | 2019-05-07T08:03:54 | 2019-05-07T08:03:54 | 185,143,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | ino | mopedCPU_v1.0.ino | #include <TFT.h>
#include <SPI.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#define ONE_WIRE_BUS 2
#define cs 10
#define dc 9
#define rst 8
TFT TFTscreen = TFT(cs,dc,rst);
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
void setup(){
Serial.begin(9600);
sensors.begin... |
9f09dc946a883597546028111f23cd771dea5e00 | 07e7958bb57d6caa25225c6bc6db2194daea671c | /spree-master/project2/Script/XFunctionalObjectTriggerItem.h | 79c40122d10fabc50ffa989ad1da46bb75090861 | [] | no_license | pedromela/9d | 34eb86d1acc863586c8e7338fc5f5c6ccaaacaa9 | c65024fba16eca04b4eec897d312eb295ce60cfa | refs/heads/master | 2021-07-21T07:34:18.570081 | 2017-10-30T17:58:45 | 2017-10-30T17:58:45 | 108,886,922 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 1,855 | h | XFunctionalObjectTriggerItem.h | // XFunctionalObjectTriggerItem.h: interface for the _XFunctionalObjectTriggerItem class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_XFUNCTIONALOBJECTTRIGGERITEM_H__7114D361_312F_42CA_BAF0_2F9B3C66FCFA__INCLUDED_)
#define AFX_XFUNCTIONALOBJECTTRIGGERITEM_H__7114D361_312F... |
a67aa91b49cfab65eb25db1f9645f7a573a3b195 | 09e2b53244083ada09217e601eb57837634ae927 | /上课练习代码/zuote2(4).cpp | 12d3a55ff13b90f21776f989ee27123ec95cd93e | [] | no_license | lzt666/lzt666 | 2338cffd06d205f650165b8d1eb8982fe65882ab | 186cfe76285cf6b9b57dec022f04bd49c7be1594 | refs/heads/master | 2022-12-23T20:24:53.188391 | 2019-10-17T11:02:30 | 2019-10-17T11:02:30 | 178,135,922 | 3 | 0 | null | 2022-12-16T04:55:36 | 2019-03-28T05:57:28 | JavaScript | GB18030 | C++ | false | false | 401 | cpp | zuote2(4).cpp | #include <stdio.h>
#include <stdlib.h>
void Swap(int *px,int *py)
{
int tmp=0;
tmp=*px;
*px=*py;
*py=tmp;
}
int main()
{
int a,b,c;
printf("请输入三个整数:\n");//将三个数从大到小输出
scanf("%d%d%d",&a,&b,&c);
if(a<b)
{
Swap(&a,&b);
}
if(a<c)
{
Swap(&a,&c);
}
if(b<b)
{
Swap(&b,&c);
}
printf("%d %d %d\n"... |
964b3e286482dacd56428e9dfd4e41891a33dc3b | 395eb49cf815a3cd29927a7d13f79195050f0850 | /2016/code-snapshot/y2014/actors/drivetrain_actor.cc | c0ee47bc8f2bad9027018a704f2d0f93ba634acb | [
"BSD-2-Clause"
] | permissive | adsnaider/Robotics-Project | d7c83cc2a544a5b79062ccef7c41a271587ccab0 | a5d76b51bdb6b2ba4c71b35dab770c43894d3d81 | refs/heads/master | 2021-01-10T14:55:32.922745 | 2017-10-10T15:57:52 | 2017-10-10T15:59:09 | 53,287,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,917 | cc | drivetrain_actor.cc | #include "y2014/actors/drivetrain_actor.h"
#include <functional>
#include <numeric>
#include <Eigen/Dense>
#include "aos/common/util/phased_loop.h"
#include "aos/common/logging/logging.h"
#include "aos/common/util/trapezoid_profile.h"
#include "aos/common/commonmath.h"
#include "aos/common/time.h"
#include "frc971/... |
c3a62303aa06978f1c94101909b393a961b6ff7d | 494c26f6678ecfb6d2ea67bda94da860fb29e422 | /proj10/Song.cpp | f2176ebbb34bcd0239bdfb7be9915da5c80c33a3 | [] | no_license | mattmenna/CSE231 | 8d0b6cd62ecf8f280c5fe448ceeb0c5fb8299e1e | 390d7344dcbb04148b29c9651d6f725f23074094 | refs/heads/master | 2020-12-02T19:22:11.292805 | 2017-07-05T15:04:25 | 2017-07-05T15:04:25 | 96,331,121 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | Song.cpp | /*
Project 10 - Song.cpp
Matthew Menna
Section 10 (Tues 3:00)
A33948969
*/
#include "Song.h"
Song::Song(void)
{}
Song::Song(string ss)
{
sg=sparse(ss,"\x09\x0A\x0C\x0D");
}
Song::Song(const Song& sp)
{
for (unsigned int i=0; i<(sp.sg).size(); i++)
sg.push_back((sp.sg).at(i));
}
ostream & operator<<(ostre... |
9bb0c184f32cd796d80b725686c7de6fb673cca5 | 7f296c0247edd773640d75e43f59f671235f9115 | /실습/1809/180906_01/MainGame.h | 1cba382ae5f8efd594762699749fe1886d3812bb | [] | no_license | alpenglow93/SGA | 43007ec9c8713465e69479d278bc5d93bfb29c43 | 265241b56f834fc7b0ee4f7f830877c6a7eb7725 | refs/heads/master | 2020-03-28T04:04:14.756772 | 2019-02-11T13:56:01 | 2019-02-11T13:56:01 | 147,687,677 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,136 | h | MainGame.h | #pragma once
#include <iostream>
using namespace std;
//클래스를 쓰는 이유
//1. C 언어 -> C++ 변화
//2. 절차지향 -> 객체 지향(특정 객체만 수정하면 됨)
//3. 유지보수 힘들다 (시간이 오래 걸린다)
//객체 지향 코딩 _기본적인 클래스 생성
//.h(헤더 파일) -> 대부분을 선언으로 작성
//ex) player class -> hp, mp, att, def, Attack, Move
//hp, mp, att, def -> private
//attack, move -> public
class Ma... |
72e6680ed91a7188d20e323151843a8658d09ab6 | 9e33a75b8a1125abaeab3ac95d5e21e9587ce395 | /Game.h | ab76b012ff68eb75b5d29d2e92c04c03a815ecc5 | [] | no_license | 1274136007/test3 | b6114eb81808b30a93b6bea0c1bcf030d7ce1361 | ecc0b45ec10e12ec37f97ffe85124daa8b99744c | refs/heads/master | 2021-01-07T23:50:45.387263 | 2020-02-20T10:21:43 | 2020-02-20T10:21:43 | 241,855,261 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,842 | h | Game.h | #pragma once
#include <vector>
#include <array>
#include "Card.h"
#include "View.h"
#include "CardsSlots.h"
// 难度
enum Difficulty
{
// 简单
easy,
// 普通
normal,
// 困难
hard,
};
// 牌槽数量
const int SlotsNum = 10;
// 卡组数量
const int GroupsNum = 8;
// 预留数 预留的牌组数量 = 预留数 * 槽数量 = 5 * 10 = 50 可以发五次
const int ReservedQuan... |
6a19dc7fa96c034bb08d5ae9e159c04048f6af0a | 6d3dc5ec1a562724888ac7b56178c2b4aa32754c | /src/interfaces/matlab/opengm/mex-src/model/addFunction.cpp | 95fa4d5a4752861b82d6ba8c71f908dcae80ba54 | [
"MIT"
] | permissive | lijx10/opengm | 82ef2cfd7dc19e1e8c69826e088e11adddf02509 | 3ee326e544a54d92e2981f1dd65ca9949b93c220 | refs/heads/master | 2020-04-15T20:57:44.696418 | 2019-01-10T08:03:10 | 2019-01-10T08:03:10 | 165,015,640 | 8 | 0 | MIT | 2019-01-10T07:53:22 | 2019-01-10T07:53:22 | null | UTF-8 | C++ | false | false | 9,350 | cpp | addFunction.cpp | //include matlab headers
#include "mex.h"
// matlab handle
#include "../helper/handle/handle.hxx"
#include "matlabModelType.hxx"
#include "../helper/mexHelper.hxx"
/**
* @brief This file implements an interface to add a function to an opengm model in MatLab.
*
* This routine accepts a matrix containing the data ... |
49e345312a4e4101af368898dabec50d2c1547bf | e4355967555857fd536787dce39ca30426ffa702 | /867/Game Platform/小游戏/港式五张/游戏客户端/GoldControl.h | b3bc0f98e30028f5a7b11afe5d2dfcf192ba13f9 | [] | no_license | herox25000/oathx-ogrex-editor | f0fd6044f8065db9cb50a80376e52f502734e877 | f645c7997f27e11a9063a0d352accd98a474cef1 | refs/heads/master | 2020-12-24T14:35:34.912603 | 2013-08-24T06:20:06 | 2013-08-24T06:20:06 | 32,935,652 | 6 | 9 | null | null | null | null | GB18030 | C++ | false | false | 1,758 | h | GoldControl.h | #ifndef GOLD_CONTROL_HEAD_FILE
#define GOLD_CONTROL_HEAD_FILE
#pragma once
#include "Stdafx.h"
//////////////////////////////////////////////////////////////////////////
//金币控制
class CGoldControl : public CWnd
{
//变量定义
protected:
__int64 m_lCellScore; //单元注
LONG m_lTimes; //... |
f642cd5a97a43e8641da4458d2960857faca8de2 | d764192cd97d15a22af8da54f87d548ee94ed483 | /dlib/strong_type.hpp | ff29602046d7976d0d48ce317452ade237f46cbb | [] | no_license | dekibeki/dlib | b9df683fe4b8f6f03724423d3916d1a93dfa41bf | c449b33ed7df98522436ea2b95cff5fa58ce9838 | refs/heads/master | 2021-07-08T21:48:58.788048 | 2020-07-03T14:05:14 | 2020-07-03T14:05:14 | 140,269,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,748 | hpp | strong_type.hpp | #pragma once
#include <type_traits>
#include <dlib/meta.hpp>
/*
Used for creating strong types.
All operations including construction are disallowed be default, and must be enabled
by specifying them in the template args. A tag to make each template a unique type can be given by any type, as these allowed o... |
aa4236cbe0f331cf4b19a2991ed2af670a98ddd6 | a3332df18fb0be30d1f31ac9f4aa22a18c7cb1e8 | /sklad/Item.hpp | 8cc47c20cc1340739868f02a8aff0aaa855e9270 | [] | no_license | toniuyt123/oop_proekti | 700fd7f094f3762b8feaf16829047500c2ef109d | 4c073bfc32926113cfea60383bab8858e046d8f3 | refs/heads/master | 2022-09-19T00:28:19.532543 | 2020-05-31T14:16:18 | 2020-05-31T14:16:18 | 265,844,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | hpp | Item.hpp | #ifndef ITEM_H
#define ITEM_H
#include <string>
#include "Date.hpp"
enum Metric {kg, l};
class Item {
private:
std::string name;
Date expirationDate;
Date admissionDate;
std::string manufacturerName;
Metric metric;
int quantity;
std::string comment;
public:
Item();
Item(std::strin... |
080720455fb568593467809638f194620bb4495f | 909590ea1f915ee9f25751757772bc8e41619133 | /7th_sprint/simple_vector.h | b08471e97e30114850ce52dbcb245b769cebc0f1 | [] | no_license | MYamborisov/YandexPraktikum | 43fe591abce7d931bb3621661dd81a2d63b15e1e | 78fd45a436b6e3bfcf4426ba2db3658e6949fd1d | refs/heads/master | 2023-08-30T19:01:18.854312 | 2021-11-07T14:09:37 | 2021-11-07T14:09:37 | 293,508,805 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,961 | h | simple_vector.h | #pragma once
#include <initializer_list>
#include "array_ptr.h"
#include <algorithm>
#include <utility>
struct ReserveProxyObj {
explicit ReserveProxyObj(std::size_t size) : capacity(size) { }
std::size_t capacity;
};
template <typename Type>
class SimpleVector {
public:
using Iterator = Type*;
using... |
1aec8d3d65c63556c64a3e47a939cd56269f7062 | fe83f0e87ade566364a6563c3300fb7ab8afb257 | /NULL Engine/Source/M_GameManager.cpp | ca68000b8d9fb02f44d167eb36709194d7c10540 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | asdlei99/Projecte3 | 73bcf7abd59aca6652786bb8e2259605f0a082f4 | 2946d1d8f5a0a68250f759b120420f5b5f58caf5 | refs/heads/main | 2023-06-03T02:24:30.204749 | 2021-06-16T15:49:37 | 2021-06-16T15:49:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | M_GameManager.cpp | #include "GameApplication.h"
#include "M_GameManager.h"
#include "M_Renderer3D.h"
#include "M_ScriptManager.h"
#include "MC_Time.h"
M_GameManager::M_GameManager(bool isActive) : Module("GameManager", isActive)
{
}
// Destructor
M_GameManager::~M_GameManager()
{
}
bool M_GameManager::Init(ParsonNode& config)
{
r... |
20e9d716535e5db6dfd526427851e885d80dd314 | c42c4a76d97cb199ea90df016f749a769ba48e0e | /tools/verification/ISS/arithmetic instructions/mulhsu.cpp | f095b9f1993da755b32b5c8bcbf46482eb8fc4af | [
"BSD-3-Clause"
] | permissive | 2122aaor/shakti_custom | 70cdff5a7af13cff2df8631a66374545a2c6d44f | 48c74274ac92136dfc4d70ef3ebdb92ebd07edcf | refs/heads/master | 2021-05-11T17:04:02.730329 | 2018-01-17T04:39:44 | 2018-01-17T04:39:44 | 117,783,692 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | mulhsu.cpp | //Program for the MULHSU opcode
//Program to multiply one 32 bit signed number to a 32 bit unsigned number and store the higher 32 bits of the result in destination.
#include <stdio.h>
#include <stdint.h>
void mulhsu(int rd, int rs1, int rs2)
{
int64_t numrs1;
uint64_t numrs2;
int64_t numrd;
numrs1 = bin2dec(Rreg... |
6ff0c6680ce3c923014328fcbb0e98aa6d594929 | 5fe3f6f6a6feeabb964bebdb735559fac57f8b98 | /sphericalchess/src/collision.cpp | 1e2533592d591ca33da41b946df11f8d367b5df8 | [] | no_license | skl131313/spherical-chess | 924a2e6b01ad76d02815ccec26e08a20ae416ab4 | 551ef0e259354fa588e729b7d6ce6403a62d3e41 | refs/heads/master | 2020-06-03T08:57:40.484004 | 2017-06-12T17:46:58 | 2017-06-12T18:15:25 | 94,124,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,071 | cpp | collision.cpp |
#include "collision.hpp"
namespace
{
Collision::Axis CalculateProjectionAxis(const Vec3& normal)
{
using Axis = Collision::Axis;
float x = std::abs(normal.x);
float y = std::abs(normal.y);
float z = std::abs(normal.z);
if(x >= y && x >= z)
{
if(... |
4abed556024c56751d654ad64a2c1051c0f0f2fb | 93b786eacb5604e68daaeb880631285d6add7db7 | /Div2C/154A.cpp | 966a7a5d574b841037da0fb0a92a0fbff57e226e | [] | no_license | kunal1244/A2OJ-Ladders | bb33e3ccf6c804c3618fb690528e1f69186bc36d | 46579cd4192bbcf250604ae594acc78ee6da8807 | refs/heads/master | 2023-04-23T14:26:32.091401 | 2021-05-13T20:33:09 | 2021-05-13T20:33:09 | 337,064,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | 154A.cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
void solve(){
string input;
ll k;
cin >> input >> k;
ll ans = 0;
while(k--){
char a, b;
cin >> a >> b;
ll ac = 0, bc = 0;
for (ll i = 0; i <= input.size(); i++){
if (input[i] == a) ac+... |
bace2f45591d8193fc7681769321a259721013da | 7e2222c7623877560cf0cfb2117a30e6b495dcab | /Fibonacci/Untitled12.cpp | bf85731191a567569044e3f9f121bdd6539afc74 | [] | no_license | shahhimtest/Data-Structures-and-Algo | ab22f88b2095b6e72a8f4a056032657ab438f5d6 | ee293fcd2336e678efa310ee6ab57f9c4e3f5d0d | refs/heads/main | 2023-07-17T17:27:48.210766 | 2021-07-28T16:16:49 | 2021-07-28T16:16:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cpp | Untitled12.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int a=-1,b=1,c;
for(int i=0;i<20;i++)
{
cout<<a+b<<" ";
c=a+b;
a=b;
b=c;
}
}
|
0516d3f05218f104de35e3f49b2a91eae8586191 | fa92a2900b47944aa933b450c920c417b4ab2091 | /Spell.h | 4e4770fa8bc29c8a1cc78958a9d8b8bba7289e7c | [] | no_license | mameen-omar/COS110_Assignment-1 | bb8469c5a7a94861f329e8ac94ac68fc4d957cb5 | 451a2f99e85fc8558648c78b241ed49929195228 | refs/heads/master | 2020-04-12T12:43:49.338194 | 2018-12-19T23:11:18 | 2018-12-19T23:11:18 | 162,500,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,106 | h | Spell.h | /*
* Class Spell
*/
#ifndef SPELL_H
#define SPELL_H
#include <string>
#include <iostream>
using namespace std;
#include "Wizard.h"
#include "Hobbit.h"
class Spell;
ostream& operator << (ostream & stream, const Spell& spell);
class Spell
{
private:
string name;
int difficultyLevel;
i... |
406192e3c88caeef0d51603b226fb4e8924f620c | b83c6406aff1ebf20e05aaf4dff9411e8aebe468 | /c/twoSpk/tool.cc | ce99f0f5797bdaec398d102de32a922e6aab8c1c | [] | no_license | zayan2009/supervised_two_speaker | a9ff0c6a67e97a75bbb21a7ef1e86b0930a4da35 | ced035733f889c27d216d8d8dbff86b2c2e8d5c5 | refs/heads/master | 2021-05-18T04:53:20.421993 | 2016-07-20T19:49:21 | 2016-07-20T19:49:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,415 | cc | tool.cc | #include "tool.h"
#include <dirent.h>
#include <errno.h>
#include <numeric>
#include <iterator>
using namespace std;
void sum(const vector< vector<double> > &in, int type, vector<double> &out)
{
if (type==1)
{
for (vector<double>::size_type j=0; j!=in[0].size(); ++j)
{
double tmp=0... |
37608828ec86982f6c9dfc976d2bdbb39b9027b4 | 0633291e715a2597bf8e4112e354998c0441b7b9 | /Traceroute/src/ICMPChecksum.cpp | 8c6cf2e3edbca8d675ee7a4d8e607f28117bb257 | [] | no_license | vinterdo/SK2016 | a41308a79b4e8b9e3890d78841785f98f30adb1a | 8d3e1bafb3a64430419247605f1671323cd17b6c | refs/heads/master | 2021-01-10T01:26:15.034178 | 2016-03-19T20:27:22 | 2016-03-19T20:27:22 | 54,285,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | cpp | ICMPChecksum.cpp | #include <netinet/ip_icmp.h>
#include "ICMPChecksum.h"
short checksum( short *addr, register int len, short csum)
{
register int nleft = len;
short *w = addr;
register short answer;
register int sum = csum;
while (nleft > 1) {
sum += *w++;
nleft -= 2;
}
if (nleft == 1)... |
45498b6f4c3ae5c101ba5770a24bf325af2282e9 | 550e9c4a8d56d47aaf1df2e15a71cd4cd35d16b9 | /2out/dirty/Test.cpp | 919268222938bc58fc91999998b75ac6fd11ee96 | [
"MIT"
] | permissive | DronMDF/2out | 6ceadcdf74c63e46d8f5c769a619ce76afc162c5 | d41a8e8ca6bfb5c66a8b77cd62ac9ab69e61b295 | refs/heads/master | 2021-09-08T11:49:15.507642 | 2021-09-05T06:31:16 | 2021-09-05T06:31:16 | 91,911,330 | 12 | 3 | MIT | 2021-09-05T06:31:17 | 2017-05-20T19:23:16 | C++ | UTF-8 | C++ | false | false | 444 | cpp | Test.cpp | // Copyright (c) 2017-2021 Andrey Valyaev <dron.valyaev@gmail.com>
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
#include "Test.h"
#include "../Result.h"
using namespace std;
using namespace oout;
dirty::Test::Test(const shared_ptr<const... |
764700c98ef70ef482efd7d79612c3a5880fb52a | 8a980f6da4feeaa460fc8562d2563341e7b51556 | /designer/src/build-GUI_Builder-Desktop_Qt_5_3_MinGW_32bit-Debug/.uic/ui_qdesigner_appearanceoptions.h | 0d9d96fa0cb80d51ded8c9fbf6191038d60cdf15 | [] | no_license | KhuramAli/GUI_Editor | 34f5db3298a2b9360d404a3a018071877f3b982d | 98cd9c0f62880d0789783efa33d2055e960472f5 | refs/heads/master | 2021-01-19T08:43:43.709903 | 2015-06-18T11:25:59 | 2015-06-18T11:25:59 | 37,644,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,894 | h | ui_qdesigner_appearanceoptions.h | /********************************************************************************
** Form generated from reading UI file 'qdesigner_appearanceoptions.ui'
**
** Created by: Qt User Interface Compiler version 5.3.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************... |
37fc46f9902065a705b34e5637860f2b3df6da3b | 67c008496d5dfa313a81d1d38b4458f546f2a868 | /Till October 2020/maximum_ad_revenue.cpp | c58c1d8957724b752cd3c9bcde8bfe4a0093769e | [] | no_license | Dgeneration11/Codeforces | dc08dd7e99e149dbdc327ac7bcbd7f085131c6a5 | 84d1b644baa31446112484699c115eac8ce23059 | refs/heads/main | 2023-05-10T10:32:46.491432 | 2021-06-04T16:47:39 | 2021-06-04T16:47:39 | 309,379,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | maximum_ad_revenue.cpp | #include<bits/stdc++.h>
#include<vector>
#include<algorithm>
using namespace std;
long long max_product(vector<int> a, vector<int> b){
sort(begin(a), end(a));
sort(begin(b), end(b));
long long result=0;
for(int i=0; i<a.size(); i++){
result += (long long) a[i]*b[i];
}
return result;
}
i... |
1837435a1a8f85ea2b86518f6a0f14eb45b48785 | 4f3ca870385f532dccff9602131d15bfdd2ea961 | /ios/chrome/browser/crash_report/crash_report_flags.cc | b30b56cfc0c36933027923d212f509a0d2c4c138 | [
"BSD-3-Clause"
] | permissive | nmhung1210/chromium | 6090ef1b8812990ce5f437900a9951d67c577d26 | 67d0ec786c8fac2dfe4bd92851aa70c96aae9829 | refs/heads/master | 2023-01-07T02:47:49.751768 | 2018-11-25T06:52:39 | 2018-11-25T06:52:39 | 159,008,512 | 1 | 0 | NOASSERTION | 2018-11-25T07:31:29 | 2018-11-25T07:31:29 | null | UTF-8 | C++ | false | false | 410 | cc | crash_report_flags.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 "ios/chrome/browser/crash_report/crash_report_flags.h"
namespace crash_report {
const base::Feature kBreakpadNoDelayInitialUpload{
"Breakpa... |
d7cf0eb126f1127a40850a18239c203c722be26f | df6c3d7d95507bf452ce8eda24e779a82049fcad | /final-project/simulationInertial/57/p | b63690b06255037bd6d0be8cfede9350f8be320a | [] | no_license | aeronau/CFD-course | 5c555e7869f0170f90e9d3532b06f7e78683b770 | e891eb94950cfa0992d6ff003dbe45315af377c5 | refs/heads/master | 2021-09-01T04:18:32.111694 | 2017-12-24T18:18:44 | 2017-12-24T18:18:44 | 104,058,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,640 | p | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | |
b5e890135a89bca86f4be7c7f40cef1970d1d03a | c1d7ad4560af96dbb70c69c00a4316a5ec4e79d3 | /P17363.cpp | 99a5d0f4af994ef2802c6304b05e6eb91ec45e79 | [] | no_license | daily-boj/yoonki1207 | 486cf3919794a297938d2a62708e812a5aac2d4a | 7e3aec7443ba4a32563e3f1fb280fff26713a1d8 | refs/heads/master | 2021-06-13T03:20:00.654122 | 2020-06-27T07:15:48 | 2020-06-27T07:15:48 | 254,419,284 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | P17363.cpp | #define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<algorithm>
#include<stdio.h>
using namespace std;
#define FOR(i, n) for(int i = 0 ; i < n ; i++)
#define MAXX 9876543987654321LL
int N, M;
char board[101][101];
char milk[101][101];
char B_[9] = { "|-\\/<v>^" };
int main() {
//char c = '|';
//printf("%c",c... |
e6bc9046a6b4317401d39a38f4c6b1841a166b41 | cc7661edca4d5fb2fc226bd6605a533f50a2fb63 | /Assembly-CSharp/PrimitiveTaskSelector.h | 6f8dbcf1c8745ef3eaa4f852a477435635655790 | [
"MIT"
] | permissive | g91/Rust-C-SDK | 698e5b573285d5793250099b59f5453c3c4599eb | d1cce1133191263cba5583c43a8d42d8d65c21b0 | refs/heads/master | 2020-03-27T05:49:01.747456 | 2017-08-23T09:07:35 | 2017-08-23T09:07:35 | 146,053,940 | 1 | 0 | null | 2018-08-25T01:13:44 | 2018-08-25T01:13:44 | null | UTF-8 | C++ | false | false | 519 | h | PrimitiveTaskSelector.h | #pragma once
#include "..\UnityEngine\UnicodeString*.h"
#include "..\UnityEngine\List.h"
namespace Rust
{
namespace Ai
{
{
namespace HTN
{
class PrimitiveTaskSelector : public Selector // 0x30
{
public:
UnityEngine::UnicodeString* Name; // 0x30 (size: 0x8, flags: 0x6, type: 0xe)
UnityEngine::List<Apex.AI.IC... |
e4594794033783234845a85e63fc7877213e78dd | 0d3dba0dfd85d1516a124429edbaa2159185864e | /ConsoleApplication8/ConsoleApplication8/Source.cpp | 089e238eb9fde52ad2a467219a7efa73a08bda89 | [] | no_license | hk2t/GIT-IP | fe91b5e0d9b494baf10e071d609cdff279c7e0f4 | ab638e5ab1882b8cf8f533866458e8bc65ce7d09 | refs/heads/master | 2021-01-17T17:54:46.136846 | 2016-06-26T16:50:44 | 2016-06-26T16:50:44 | 60,456,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,789 | cpp | Source.cpp | #include "cv.h"
#include "highgui.h"
#include "stdio.h"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <list>
#include <conio.h>
#include "MyPoint.h"
#include "MyPic.h"
#include "MyMath.h"
using namespace std;
using namespace cv;
void Create_week(int day, Mat img_small);
void H... |
26f02f9bbfead33d98628e50ff51ca9e5f1d4c96 | 69ccb3187db5c5a98865ae17f91d33d5ef6c76e5 | /CP3/1.2.3/8subsets.cpp | 88de612c65426f04dd3cffd3643889e2854f228a | [] | no_license | for-learning-stuff/algorithmic-problem-solving | 32c1442ba48ef3a74b46e20cffe2546ad004013e | afe84f76c5166bdf6fec20239fc636d0d63b5b24 | refs/heads/master | 2021-09-10T08:17:05.642835 | 2018-03-22T19:09:44 | 2018-03-22T19:09:44 | 119,687,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | 8subsets.cpp | // Generate all subsets of a set of numbers
#include <bits/stdc++.h>
#include <vector>
using namespace std;
// https://stackoverflow.com/a/9430993
int main(){
int n = 4;
vector<int> numbers(n);
iota(numbers.begin(), numbers.end(), 0);
// cout << sizeof(int);
for (int m = 0; m < (1 << n); ++m){
... |
6f891c666fb0cb288e45dc4a958c99285767484c | 27bde9bdb775a853723a470691d8b2957ca0e679 | /Data_Stractures/3-Trees/Postorder_Traversal/tree-postorder-traversal.cpp | 20c5507f2f1786b00c99a1b51cbaf055f208ec48 | [
"MIT"
] | permissive | christosg88/hackerrank | e8d5f10ea815982783ff5489639dc4fd5aac8fce | 21bc44aac842325ad0a48265658f7674984aeff2 | refs/heads/main | 2023-07-10T09:52:08.858783 | 2021-08-08T22:27:20 | 2021-08-08T22:31:00 | 340,516,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | tree-postorder-traversal.cpp | /**
* struct node
* {
* int data;
* node *left;
* node *right;
* }
*/
/**
* Prints the values of the binary tree in postorder traversal.
* @param root a pointer to the root of the binary tree
*/
void Postorder(node *root)
{
if (root->left != NULL)
Postorder(root->left);
if (root->... |
84b3ced60c9a88e90e0e3d38db167753ac805c17 | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /ETS/MsgStruct/FixGatewayStatusRequest.cpp | 6a84a05b438fe6abc8d6a8abf51ef7d605e6869c | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | FixGatewayStatusRequest.cpp | // FixGatewayStatusRequest.cpp : Implementation of CFixGatewayStatusRequest
#include "stdafx.h"
#include "MsgStruct.h"
#include "FixGatewayStatusRequest.h"
// CFixGatewayStatusRequest
|
3b9f1040e3f9bb9a5298131df86789687cda6504 | b1e9f5afd333acd1c4f75fd26da4deac956860f8 | /audioplayer.cpp | 5b9975a48404633f3e9699790165964119a3abb3 | [] | no_license | JucovAllexandr/AudioStreamingDesktopClient | d737ef2b9aa3da15d26b4a36835a44c5a75e9119 | e37517d79a9c22168e1372770e6cbf8934552e2f | refs/heads/master | 2023-04-08T14:09:39.434595 | 2021-04-29T20:43:42 | 2021-04-29T20:43:42 | 358,368,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,656 | cpp | audioplayer.cpp | #include "audioplayer.h"
#include <QBuffer>
#include <QTime>
AudioPlayer::AudioPlayer(QObject *parent) : QObject(parent)
{
mediaPlayer = new QMediaPlayer(this, QMediaPlayer::StreamPlayback);
connect(mediaPlayer, &QMediaPlayer::positionChanged, this, &AudioPlayer::changePosition);
connect(mediaPlayer, &QMedi... |
1f7dcb54b3c8e1e0080500fc97959931693e8412 | 2398c2a717214be48f3d93da89ba11155263757b | /Sem_04/OOP/Lab_03/upload/uploader.hpp | 11915a37627158887cc8f633901c4fe4f25b5544 | [] | no_license | lieroz/University | 9af687787e3c468b34e2bfb8ffeadf44f2063bc7 | c7ee70e77e6426045fac6c5b43aab10e1ffdcddb | refs/heads/master | 2020-04-06T19:53:40.479191 | 2019-01-19T09:16:35 | 2019-01-19T09:16:35 | 68,386,115 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,172 | hpp | uploader.hpp | #ifndef UPLOADER_HPP
#define UPLOADER_HPP
#include <fstream>
#include <cstring>
#include <functional>
#include "exceptions/upload_exceptions.hpp"
#include "containers/vector/vector.hpp"
#include "containers/pair/pair.hpp"
#include "objects/model.hpp"
#include "3dparty/jsmn.h"
#include "base_uploader.hpp"
class uploa... |
8d43295ee30971b35723580f64834ee8d8e348cb | 80e08512a69b537313e1350508797ed8ae6138c9 | /test/include/nbdl_test/test_state_consumer.hpp | 8119fa90e2f9bcf5482ed4e0f9ba9239af596f86 | [
"BSL-1.0"
] | permissive | jonajonlee/nbdl | 960f41fe3295fe0ecbc3f030561e4d1cf5f64c82 | c1e025dc67a9ffbcac1b112b0be50fdc987064e8 | refs/heads/master | 2021-01-11T16:13:59.578895 | 2017-01-01T05:47:49 | 2017-01-01T05:47:49 | 80,044,090 | 0 | 0 | null | 2017-01-25T18:30:54 | 2017-01-25T18:30:54 | null | UTF-8 | C++ | false | false | 1,056 | hpp | test_state_consumer.hpp | //
// Copyright Jason Rice 2016
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef NBDL_TEST_ASSETS_TEST_STATE_CONSUMER_HPP
#define NBDL_TEST_ASSETS_TEST_STATE_CONSUMER_HPP
#include <nbdl/concept/StateC... |
ee487d5b6867586ceaf8c05287b44c426fe13d6a | 1f5306c3e0078995f23c3071d1406899b69baa18 | /include/LifetimeModule.h | 9aa100d7407a777873248592ae8341df0b703250 | [] | no_license | oinkatron/PathfindingDemo | edd15b697b8dc92a42eeba25ba2bbc91aedb75f4 | caff736066f24b9e37e8b3c136ae5d30cef24863 | refs/heads/master | 2020-02-26T17:26:54.821124 | 2016-10-25T16:31:01 | 2016-10-25T16:31:01 | 71,756,730 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 665 | h | LifetimeModule.h | #ifndef LIFETIMEMODULE_H
#define LIFETIMEMODULE_H
#include "Module.h"
#include <SDL/SDL.h>
class LifetimeModule : public Module
{
public:
LifetimeModule() { start_time = SDL_GetTicks(); life_span = -1; }
LifetimeModule(int val) { start_time = SDL_GetTicks(); life_span = val; }
... |
adff1ddce9f1de1c13ca0915a2b5ebba52cbc203 | 66862c422fda8b0de8c4a6f9d24eced028805283 | /cmake-3.17.5/Tests/Module/FindDependency/main.cpp | 4ee460fbf0596627ddece10c78e3abb495c30f60 | [
"MIT",
"BSD-3-Clause"
] | permissive | zhh2005757/slambook2_in_Docker | 57ed4af958b730e6f767cd202717e28144107cdb | f0e71327d196cdad3b3c10d96eacdf95240d528b | refs/heads/main | 2023-09-01T03:26:37.542232 | 2021-10-27T11:45:47 | 2021-10-27T11:45:47 | 416,666,234 | 17 | 6 | MIT | 2021-10-13T09:51:00 | 2021-10-13T09:12:15 | null | UTF-8 | C++ | false | false | 565 | cpp | main.cpp |
#ifndef HAVE_PACK1
# error Expected HAVE_PACK1
#endif
#ifndef HAVE_PACK2
# error Expected HAVE_PACK2
#endif
#ifndef HAVE_PACK3
# error Expected HAVE_PACK3
#endif
#ifndef HAVE_PACK4
# error Expected HAVE_PACK4
#endif
#ifndef HAVE_PACK5
# error Expected HAVE_PACK5
#endif
#ifndef HAVE_PACK6
# error Expected HA... |
9a734f7251ac7ad00b0c48448de29d6dc18b9c60 | 9c35411c7a3884a17cde2f3b62b04d81600b29fc | /BUSYMAN.cpp | d10055af72761f42c5f3912da575dc37f5090b02 | [] | no_license | lakshmi8/SPOJ | 5f0d7947ca869dd8474ba13b8df3f2dc637d9ada | f6cecf68fe0c0e308defec2f34aed8743b233c54 | refs/heads/master | 2021-01-13T01:45:23.854633 | 2014-12-02T08:09:14 | 2014-12-02T08:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | cpp | BUSYMAN.cpp | // Runtime: 0.87 s
#include<iostream>
#include<stdio.h>
#include<algorithm>
using namespace std;
int main()
{
int t,n,countify,i,end;
scanf("%d",&t);
while(t--)
{
scanf("%d",&n);
pair<long,long> a[n];
for(i=0;i<n;i++)
{
scanf("%ld %ld",&a[i].second,&a[i].first);
}
sort(a,a+n);
countify = 1;
end =... |
c47895a80c1341c1a4f7bcf208c03e628df8c57a | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest7/0.036/phi | 87e05b580b3b0d813e5b1a7ce942439c4acb6146 | [] | 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 | 242,780 | phi | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | |
50b56a5d007235c561d5a93eca8382c504384fd0 | fb8951a40e10680c0cc244e55365bf0252800e4b | /Cpp/engine3d/physics/body.h | 6fa94424b1e8f190ede8e3a6949b30793f3f8eae | [] | no_license | nigulo/dev | 386732de673c8091dda3845044d0a6ef68c17462 | 2fcaa319fbaa95e5f8c9019b685322f756eb8646 | refs/heads/master | 2016-09-05T19:03:54.902425 | 2015-09-01T10:13:29 | 2015-09-01T10:13:29 | 29,144,798 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,745 | h | body.h | #ifndef BODY_H
#define BODY_H
#include "engine3d/scenegraph/node.h"
#include "engine3d/scenegraph/collisionlistener.h"
#include "engine3d/geometry/vector.h"
namespace engine3d {
/**
* Class containing physical properties of body
*/
class Body : public Object, CollisionListener
{
... |
0bf07366c7f1c6f990133659422e6e5553c492f7 | 5a1ea304e98c78f730e0a6b37a5aa4413822bec8 | /Searching 10.cpp | 1fd65239d08983f0796cef1c038c34738e4c8536 | [] | no_license | minhduc462001/languageC | 367ed779543dd0e2c12c670ffd5f6d77ab86af90 | 1d1929ec5cffc28e567c1d1ab42598192531a8e4 | refs/heads/main | 2023-07-11T12:48:33.575956 | 2021-08-18T09:11:54 | 2021-08-18T09:11:54 | 397,538,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | Searching 10.cpp | #include<bits/stdc++.h>
using namespace std;
bool snt(int n){
if(n<2) return false;
if(n==2||n==3) return true;
if(n%2==0) return false;
for(int i = 3;i<= sqrt(n);i+=2)
if( n%i==0) return false;
return true;
}
int main(){
int t;
cin>>t;
while(t--){
int n;
cin>>n;
// vector<int> v;
// bool breakWhile = f... |
e3c2b115f5f3f1c9db556166ed5de1b29b6aafd5 | cf31c6ba9897752d7004bf6c606f3bc937e5848d | /cudaTimer.cpp | ac546bad5dedd6aa9403642b203e42a0eab0ada9 | [] | no_license | TheAIBot/CudaBasicClasses | ff3b89bf1934c0dc6f99ab26d07a721c47efb269 | c25f52dc3877a36fc41224d3effe3b97fe8bcf9b | refs/heads/master | 2022-12-30T12:08:00.345106 | 2020-10-24T09:40:11 | 2020-10-24T09:40:11 | 286,736,432 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,166 | cpp | cudaTimer.cpp | #include <stdexcept>
#include "cudaTimer.h"
namespace cudabasic
{
cudaTimer::cudaTimer()
{
cudaError_t cudaStatus = cudaEventCreate(&startTime);
if (cudaStatus != cudaError::cudaSuccess)
{
throw std::runtime_error("Cuda error code: " + cudaStatus);
}
cudaSta... |
fe0bdc8039ca6fc67ff03bb13d04dcfaf81d75a4 | 59d855c355b1032204efcc67f0491b0708c18bad | /Balloon.h | d71e8fc674d01c04a830948263e1c4809f1621f0 | [] | no_license | alviano/AllegroWrapper | 6b0941dee03c73948d4b681eaf73b8f5ac146d87 | 88e742e9375d25d415dfd72d4740af1cdda5a472 | refs/heads/master | 2020-04-06T07:06:40.624722 | 2014-10-13T13:19:24 | 2014-10-13T13:19:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,368 | h | Balloon.h | /*
BlowUpTheBalloons - A simple game powered by Allegro Wrapper
Copyright (C) 2013, Mario Alviano
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, ... |
064ad2681babecb0405053ede53a56d787773bad | 5823d1e8d579d0d6d4e830794a68c61096c52367 | /src/std-indices/context.h | f13140a303377c9f2a0ed420fa6b21763fad1da3 | [] | no_license | UoB-HPC/CloverLeaf | 74a1ab7748be406641f35fb0ddd5f3ae9ce07a92 | 4306b008eb21b0dbdad7bd241dfb6a5a337609ca | refs/heads/main | 2023-08-21T13:32:13.089304 | 2023-08-13T06:34:39 | 2023-08-13T06:34:39 | 61,378,073 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,809 | h | context.h | /*
Crown Copyright 2012 AWE.
This file is part of CloverLeaf.
CloverLeaf is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your option)
any later version.
CloverLeaf... |
a46cd3a32047685b3ad4ebb73d44536a0a6fd9f5 | 01eef489b10bf76a920b0227a1ded1c7cb1e2cce | /New_Game_3D_2/Stage.cpp | d8744925002150bdee9f8db7d9e417928038e97b | [] | no_license | syogo1903x/Protect-The-Tower | 295beba154a8abe7053d2f8afe67353f617ab32c | a0559a128e59b0ea44ebff801469d0d00c9b8b04 | refs/heads/master | 2020-05-21T13:26:29.319076 | 2019-05-11T01:18:25 | 2019-05-11T01:18:25 | 182,363,239 | 0 | 0 | null | 2019-04-20T07:17:21 | 2019-04-20T05:14:09 | RPC | SHIFT_JIS | C++ | false | false | 2,592 | cpp | Stage.cpp | #include "Common.h"
float Stage::dangerModelTransmission[4];
Stage::Stage()
{
}
Stage::~Stage()
{
//Release();
}
void Stage::Init(char *_stage)
{
isFailure = false;
// ステージの生成
modelHandle = MV1DuplicateModel(NowLoad::GetModelHandle(MODEL_HANDLE::GAMESTAGE));
// スカイドームの読み込み
skydomeModelHandle = MV1DuplicateM... |
5ee03f4051d3d4fd047394009b3dceccc9414131 | d367e7ceb45fbf9f7525f361dc3f935a336b89a8 | /OOP/과제/Assignment1-10/Assingment_1_10/main.cpp | eb08cdeafa9a0e1e77fd43d0a5ab01e799acb0c2 | [] | no_license | edoll1843/sophomoreProject | 36ce93ba7525d46f6991fb31d05ebc36742853ce | a29c56622eb78e6e57e0fb7267dec14dff63b8c8 | refs/heads/master | 2023-01-23T20:48:00.777851 | 2020-11-03T12:24:35 | 2020-11-03T12:24:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,369 | cpp | main.cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstdlib>
#include <time.h>
using namespace std;
int main()
{
int r_num[5] = { -1 ,};//declare
int temp = 0;//declare
char my_num[5] = {NULL,};//declare
int game = 0;//declare
srand((unsigned int)time(NULL));//get diffrent num each compile
for (int a ... |
816cac1bb39aeb85d6a7927e7945460fde2f150e | 99c966e47cfcef66e2ff31124010ee184bf71f69 | /warcaby/Okno.hpp | 5862f6efac5d8b4c0e7586f34921eddb73e731e6 | [] | no_license | karbawona/warcaby | 219a58eaf76664ff3747ac45db79d2d42ca9be39 | 52b23eb4279ff9a780357f3873fc3e8e94daa450 | refs/heads/master | 2020-03-13T15:46:15.102818 | 2018-04-26T18:18:06 | 2018-04-26T18:18:06 | 131,183,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | hpp | Okno.hpp | //
// Okno.hpp
// warcaby
//
// Created by Ola on 01.12.2017.
// Copyright © 2017 Ola. All rights reserved.
//
/*
Klasa, po której dziedziczą klasy Menu i Glowna_gra.
Klasa odpowiedzialna za stworzenie samego okna, bez wypełniania go danym tłem.
*/
#ifndef Okno_hpp
#define Okno_hpp
#include <SFML/Audio.hpp>... |
1c111b59fbb5b1f545583834db7502cae1cb1844 | a9a69d75423576d42cdb995a8a320c1a423e0130 | /2015-CaroloCup/sources/OpenDaVINCI-msv/hesperia/cockpit/src/MdiPlugIn.cpp | 0a37a30dedc21a58dd5faae2c763c9eb0f682f8f | [
"AFL-3.0"
] | permissive | Pedram87/CaroloCup | df23bd4dd57ff5eab8f8232f0f7e4aa7500c3215 | d97dd565acd4f11412032a9cf5c174d82b2ae285 | refs/heads/master | 2021-03-15T04:19:23.393383 | 2016-03-10T22:49:16 | 2016-03-10T22:49:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | cpp | MdiPlugIn.cpp | /*
* OpenDaVINCI.
*
* This software is open source. Please see COPYING and AUTHORS for further information.
*/
#ifdef PANDABOARD
#include <stdc-predef.h>
#endif
#include <iostream>
#include "MdiPlugIn.h"
namespace cockpit {
using namespace std;
MdiPlugIn::MdiPlugIn(plugins::PlugIn &plugIn, QWidget *pr... |
b56160eb67b9261dad93347ab686efdac9b06f99 | 4c5ef8fef7b3c8dbacff874e094076d0d161ccbd | /src/archlib/include/archlib/target_system/Probe.hpp | b42b973ba94a99cfb8b52776838fec8acacedf2e | [
"MIT"
] | permissive | lesunb/bsn | 8dee1f60420350b485847558a077b138b81b1fdd | 6e392dc9e546ce1a22a6bfa3899ecc8644404ed0 | refs/heads/master | 2023-06-01T14:32:14.287910 | 2023-05-31T08:59:36 | 2023-05-31T08:59:36 | 233,956,479 | 14 | 8 | MIT | 2023-05-31T08:57:29 | 2020-01-14T23:29:42 | C++ | UTF-8 | C++ | false | false | 1,295 | hpp | Probe.hpp | #ifndef PROBE_HPP
#define PROBE_HPP
#include "ros/ros.h"
#include "archlib/Event.h"
#include "archlib/Status.h"
#include "archlib/EnergyStatus.h"
#include "archlib/ROSComponent.hpp"
namespace arch {
namespace target_system {
class Probe : public ROSComponent {
public:
Probe(... |
f3a4fa97a583fe33f1402ac8bbf3da5da5639b68 | 027b3f6774e9ef58bdccba1e311ab2337a67195a | /WCuda/Student_Cuda_Image/INC_SYMLINK/EXT/GLImage_I.h | 566c0d8ebd4c866f58a097bb86356cf29172f29c | [] | no_license | Globaxe/CUDALOL | 6b1cb552dbaca112fffa8bb6be796fed63b50362 | 5f2cd4ccdbcb11fd8abf8bd8d62d0666d87634f8 | refs/heads/master | 2020-03-15T12:08:32.539414 | 2018-05-04T14:37:34 | 2018-05-04T14:37:34 | 132,137,704 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | h | GLImage_I.h | #ifndef GLIMAGE_I_H_
#define GLIMAGE_I_H_
#include "Image_I.h"
/*----------------------------------------------------------------------*\
|* Declaration *|
\*---------------------------------------------------------------------*/
/*--------------------------------------*\
|* Public *|
\*----... |
64b0252c807f622d930b66371e2011fd3688b138 | e9daaf072f2a36173d53b3b0558b7127ef8ddc26 | /11559.cpp | 07fe177459bbeca5dc2ff71dfa6d74510dc3d675 | [] | no_license | Abdur-Rahman123/Uva-solution | 9c19223c1a9c84d74512fe1c3b4e2826655e8afa | 9e459952d5aa52c4da44518a76caa6ef8cd0e320 | refs/heads/master | 2021-06-26T23:34:57.963430 | 2020-10-07T13:01:24 | 2020-10-07T13:01:24 | 155,670,102 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | 11559.cpp | #include<iostream>
using namespace std;
int main()
{
int par,bug,hote,we,pri,bed,mini;
while(cin>>par>>bug>>hote>>we)
{
while(hote--)
{
cin>>pri;
for(int i=0;i<we;i++)
{
cin>>bed;
if(bed>=par)
{... |
257f515e30298246eeb4893f13f5f95f6b78b3be | 165be8367f5753b03fae11430b1c3ebf48aa834a | /source/backend/cpu/compute/DeconvolutionWithStride.cpp | 5dc7718adba8e80243754cdffa64ea2e0aaf43ea | [
"Apache-2.0"
] | permissive | alibaba/MNN | f21b31e3c62d9ba1070c2e4e931fd9220611307c | c442ff39ec9a6a99c28bddd465d8074a7b5c1cca | refs/heads/master | 2023-09-01T18:26:42.533902 | 2023-08-22T11:16:44 | 2023-08-22T11:16:44 | 181,436,799 | 8,383 | 1,789 | null | 2023-09-07T02:01:43 | 2019-04-15T07:40:18 | C++ | UTF-8 | C++ | false | false | 24,691 | cpp | DeconvolutionWithStride.cpp | //
// DeconvolutionWithStride.cpp
// MNN
//
// Created by MNN on 2018/10/08.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "backend/cpu/compute/DeconvolutionWithStride.hpp"
#include "backend/cpu/CPUBackend.hpp"
#include "CommonOptFunction.h"
#include "core/Concurrency.h"
#include "ConvOpt.h"
#incl... |
7189f753f702700a32191c920b9e04ae217ba467 | fd8738aeefa917c42a8834c5f5ba00fcbd8d56c0 | /include/asteroid.h | da2da251343a720482d5340e77efc2bc41cda8bd | [] | no_license | TomBecque/AsteroidsPPP2 | 0915b27909346776af9273211550e80ffbf5606f | 75f9d1b2e14bd391a0065503126d848901829f91 | refs/heads/master | 2021-01-20T01:03:32.932850 | 2014-04-04T09:42:52 | 2014-04-04T09:42:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | h | asteroid.h | #ifndef ASTEROID_H
#define ASTEROID_H
#include "rigidbodies.h"
class Asteroid : public RigidBodies
{
public:
Asteroid(const Vec4& _pos,
const Vec4& _colour,
const Vec4& _size,
Vec4 _direction,
float _radius)
: RigidBodies(_pos, _colour, _size, BT_ASTEROID), m_radius(_r... |
bf44b45ccf8529de197e505b6fd066d3676e4de2 | df16bef23a9686800433f45a030adc3ed2f233a6 | /src/processData.cpp | 2fb9bd78136bb4bc3b45859e5c75fd3df2db0c3d | [] | no_license | nganhkhoa/CTDL-ASS2 | 76ba3d2a75074b020cf152ddbea1c8a5e143d008 | 581d7a0296a1b12394c2fc11fb9f8a3b2014b5d0 | refs/heads/master | 2021-03-24T13:11:47.022862 | 2018-02-10T07:31:20 | 2018-02-10T07:31:20 | 114,268,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,825 | cpp | processData.cpp | /*
* ==========================================================================================
* Name : processData.cpp
* Description : student code for Assignment 2 - Data structures and Algorithms
* - Fall 2017
* ==========================================================================================
... |
abbf8957385af40b25a8ccbf2265020fb0881df0 | 84646675f3780cfc0b806502cf2ec234d493b9a6 | /api/http/cpp/example/example.cpp | 381fc6ff65bc6abd32e5803a14328815dafbf4b5 | [
"BSD-3-Clause"
] | permissive | molamolaxxx/gStore | b0eaed3d59bc40e679255e1763e5a74933f0b6f7 | 0317606791dd867a305e4f6577289edee6d5f013 | refs/heads/master | 2020-04-08T01:47:16.070083 | 2018-11-19T07:16:40 | 2018-11-19T07:16:40 | 158,909,279 | 1 | 0 | BSD-3-Clause | 2018-11-24T06:31:27 | 2018-11-24T06:31:26 | null | UTF-8 | C++ | false | false | 3,210 | cpp | example.cpp | //NOTICE: you need to use libcurl-devel for C++ to use HTTP client, please read client.cpp and client.h seriously
#include <stdio.h>
#include <iostream>
#include <string>
#include "client.h"
using namespace std;
// before you run this example, make sure that you have started up ghttp service (using bin/ghttp db_na... |
1db587ed9472ab121c4686ba72adaeec03df9dd3 | 02a0fa53f309937a4d2fa25473d4cc522f6daec0 | /CutyCapt.hpp | 2ef9729c78eb44f9a78cb450994b9c1fd8e3b805 | [] | no_license | Crystalix007/CutyCapt | ef87e4cae24d9b11e3d8737bf44bfa59ad4e5d3d | eceddbfe3aeaed9a300fcc5ae30901988b92343d | refs/heads/master | 2022-11-24T12:25:56.915705 | 2020-06-23T16:21:04 | 2020-06-23T16:21:04 | 274,112,968 | 0 | 0 | null | 2020-06-22T10:58:28 | 2020-06-22T10:58:27 | null | UTF-8 | C++ | false | false | 2,312 | hpp | CutyCapt.hpp | #include <QtWebEngine>
#if QT_VERSION >= 0x050000
# include <QtWebEngineWidgets>
#endif
class CutyCapt;
class CutyPage : public QWebEngineView {
Q_OBJECT
public:
void setAttribute(QWebEngineSettings::WebAttribute option, const QString& value);
void setAttribute(Qt::WidgetAttribute option, const bool value);
void... |
28689f08b7f4fb0c659cbd9594f48a24c18ab657 | 47558f2ee578bf9ffccac7a23d0a8398e93345c3 | /Clouded/Clouded/Source/Graphics/DebugRenderer.h | 13f4d1fdd49a5de2b475ea8761b63de9ba570a7b | [] | no_license | StanPepels/Clouded-C- | 9c08c989cf0c7a27dd18fd43e11afb57334df24d | 219026690a068f4e7900c30d90876497848d4bda | refs/heads/master | 2018-09-19T20:24:28.174454 | 2018-06-29T17:27:08 | 2018-06-29T17:27:08 | 111,549,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | DebugRenderer.h | #pragma once
#include "stdafx.h"
class D3D11Renderer;
class DebugRenderer
{
public:
DebugRenderer() = default;
static void DrawLine(const Vec3& from, const Vec3& to, const Vec4u8& color);
void set_renderer(D3D11Renderer* const renderer);
private:
static D3D11Renderer* renderer_;
}; |
095630e99ea4817e6a4a2f2a271c51f9afd55808 | d9701c4a9db7899a5f4ab8e476e81b7841b35c8b | /qtClient/studentGrid/DataStore.cpp | 87ade316fea71346ea0908ebd8511fe1c8ee1f95 | [] | no_license | tsvari/StudentJS | 53fe77ca5764baabb8e0b44dedb7f26f6665cdf0 | 489a34ccc30759f6227bb4b5c9396ab956351ce8 | refs/heads/master | 2022-12-18T15:18:28.338462 | 2020-06-18T17:53:24 | 2020-06-18T17:53:24 | 262,878,904 | 1 | 1 | null | 2020-08-01T02:32:35 | 2020-05-10T21:30:03 | JavaScript | UTF-8 | C++ | false | false | 867 | cpp | DataStore.cpp | #include "DataStore.h"
#include "mainwindow.h"
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QJsonDocument>
DataStore* DataStore::m_instance = nullptr;
DataStore::DataStore(QObject* parent) : QObject(parent)
{
m_instance = this;
}
DataStore *DataStore::instance()
{
return m_insta... |
9b15490cfbdfdc28c4e5ffee9d4c75629f0731a9 | b771b54b2186263770066aab1ab474b945640033 | /src/apps/csv_info/include/test_date.h | b6b2fcb5d35a4c85863eeefda827f7dc7577e3fc | [
"MIT"
] | permissive | boazsade/machine_learinig_models | d13228ac64ab5547c312505be6147d41a81e6523 | eb1f9eda0e4e25a6d028b25682dfb20628a20624 | refs/heads/master | 2020-04-13T01:36:08.251215 | 2018-12-23T12:37:55 | 2018-12-23T12:37:55 | 162,878,744 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 65 | h | test_date.h | #pragma once
#include <string>
bool is_date(std::string input);
|
da3e62e4a2242cd0e75342bb9d901c13757e8dcb | 8fe18f1f13586a7bb17e5e56a9655bf97ddbc2ad | /src/tokenizer.cpp | 4263b4cd441b48952bf1fd319da7819804720be4 | [] | no_license | marc-lopez/clausewitz-parser | bdd207e7b131d57265887b2eb20f598ba79a6b07 | 8a92e577151e381ec5d14cabff74637bd0bdd907 | refs/heads/master | 2016-09-05T17:54:16.722565 | 2015-07-20T00:49:09 | 2015-07-20T00:49:09 | 39,317,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,174 | cpp | tokenizer.cpp | #include <algorithm>
#include <numeric>
#include <sstream>
#include <string>
#include "tokens.hpp"
#include "tokenizer.hpp"
using namespace std::placeholders;
namespace libparser
{
const std::list<std::string> Tokenizer::kReservedTokens
{
tokens::kEquals,
tokens::kComment
};
Tokenizer::Tokenizer(std::shared... |
44fc6cb2da18b09cd9b71480c272269e41ecd087 | 15c678df9475d7dc3ea9f83e4f9491ba67178223 | /class_boss.cpp | f5fff06161f007d2265ab02e9bb1ca2bdc512344 | [] | no_license | evoup/mySkyWar1.0 | 6fc8e2700d957514557180a66dc5890f3db190c7 | e308cf293dc45d512091be23021965446299ee25 | refs/heads/master | 2021-03-12T19:48:36.706126 | 2013-12-06T14:32:21 | 2013-12-06T14:32:21 | 7,393,764 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 5,974 | cpp | class_boss.cpp | // cls_boss.cpp: implementation of the cls_boss class.
//
//////////////////////////////////////////////////////////////////////
#include "class_boss.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////... |
03db89a5e7b7e35a7a3c3f8fba8cc417497f3068 | eb7e8c655bd03bdfae4581aa700a5213ca3107ea | /OpenGL/main.cpp | 16768c20529c133c697bb2206a69b4bb4e9e0ca1 | [] | no_license | echeverrimontes/Navier-Stokeish-Mac | 09c977c8bc5aac18a9b692c31f919280d163b16b | ae9d8df41932b04bf54224eed88d92aacd0918d3 | refs/heads/master | 2020-04-19T13:42:11.196636 | 2018-11-23T21:57:22 | 2018-11-23T21:57:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,697 | cpp | main.cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <glm.hpp>
#include "Shader.h"
#include <time.h>
#include <iostream>
#include <string>
#include <vector>
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include <boost/files... |
532e82cf27a9c78cd41c8deb6f4104797980d235 | 0256224cd6dfedc1f74fa7adb0d159c91d56de31 | /day02_2018/Reader.h | 6d3574466e3d971de13977aff28cb08a3679bb4c | [] | no_license | drewburton/Advent-of-Code | 49263059fde6df082a9e195e2ee4e20af9d4dcc4 | 714658ae6e21fa7dba98bf99663e95a85d596971 | refs/heads/master | 2021-07-11T08:44:36.294470 | 2020-12-16T00:34:15 | 2020-12-16T00:34:15 | 226,220,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | h | Reader.h | #ifndef READER_H
#define READER_H
#include <string>
#include <iostream>
#include <fstream>
#include <list>
#include <map>
using namespace std;
class Reader
{
public:
Reader(string fileName);
~Reader();
int Checksum() { return _twoSame * _threeSame; };
string SimilarCharacters() { return _similarCharac... |
a50c4c14d5b8ea3dbd75398ecf8313d23010e720 | 9b98af0d8281cb97c8e2dbb5930ce7caab39b231 | /src/c++/fcl_extended_api.h | a92126d06d5be39559aad791aedb57d63c0778fc | [] | no_license | domw117/fcl_fortran | 5c0546aedf27b0bcaf04c365b23682458eef5598 | 7a64fe5c5064cb1a3948c6cfed45b62599e04c6d | refs/heads/master | 2022-09-12T10:20:27.906948 | 2020-05-31T23:36:29 | 2020-05-31T23:36:29 | 263,516,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | h | fcl_extended_api.h | #pragma once
extern "C" {
namespace fcl_fortran_inferface {
void add_fcl_surface(int num_verts,
int num_tris,
const double *vertices,
const int *triangles);
void calculate_fcl_contacts();
void get_num_fcl_contacts(int &num_contacts);
void get_fcl_... |
08a8c2108071f539e1cbe0e7ef2c4ba5e7c2a2ce | 1339673b62571bf502f6684f140ac9a7a95e9878 | /week-2/string/strcompare.cpp | 493902dd8d2d3cb77523d7cd5ea1df782979575a | [] | no_license | haribaz/IPMP1921 | 7bd02d27d3cbce40889bac49a083d119b79a2723 | a091da64797a72b1715d9711440fcb8a479dbc1c | refs/heads/master | 2023-06-13T02:29:42.315838 | 2021-07-10T04:26:37 | 2021-07-10T04:26:37 | 354,564,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 427 | cpp | strcompare.cpp | #include<bits/stdc++.h>
using namespace std;
int strcompare(string s1, string s2) {
int i;
for(i=0; s1[i] && s2[i]; i++) {
if(s1[i] == s2[i] || (s1[i] ^ 32) == s2[i])
continue;
break;
}
if (s1[i] == s2[i])
return 0;
if ((s1[i] | 32) < (s2[i] | 32))
retu... |
65a96d4ff5c997f75c00657307ac27d8846a0bd0 | 0e6e1449640c6d1f85e18bd60026151e73bd1505 | /flamingoserver/chatserversrc/ChatSession.h | 2d78fb4d572dad0ed1e75f71917fdc1cf75a5f4c | [] | no_license | libaineu2004/flamingo | ca3f23c96452f3f6aaaab922e34b616a916232f1 | 4810d31c6544e28e46c2ae73200c0569a1ad5840 | refs/heads/master | 2023-04-17T21:18:26.353011 | 2021-05-06T05:41:37 | 2021-05-06T05:41:37 | 113,521,475 | 1 | 1 | null | 2021-05-06T05:41:38 | 2017-12-08T02:26:59 | C++ | GB18030 | C++ | false | false | 5,132 | h | ChatSession.h | /**
* ChatSession.h
* zhangyl, 2017.03.10
**/
#pragma once
#include "../net/Buffer.h"
#include "../net/TimerId.h"
#include "TcpSession.h"
using namespace net;
struct OnlineUserInfo
{
int32_t userid;
std::string username;
std::string nickname;
std::string password;
int32_t clienttype; ... |
47a690517757de130a176b5162c0e8b32b3a56dd | 6caed79e651cde9724ace67467b77a29bb552381 | /Classes/Unit.h | 5d519b3527185882c1e37e8c0617c2275ea707a2 | [] | no_license | Marckusha/MyGame | bd92f7c3eb4e49765bc44f00058e4c32daa1baf8 | fd0b912a0bd57a25ffc53066e6ae712a32024869 | refs/heads/master | 2022-01-14T08:02:05.592513 | 2019-06-10T17:09:18 | 2019-06-10T17:09:18 | 185,488,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 685 | h | Unit.h | #pragma once
#include "cocos2d.h"
#include "Box2D/Box2D.h"
class Unit : public cocos2d::Sprite {
public:
/*static Unit* createSprite(const std::string& filaName) {
return new
//return Unit::create(filaName);
}*/
enum
{
kFilterCategoryLevel = 0x01,
kFilterCategorySolidObject = 0x02,
kFilterCategoryNon... |
836485b581a7c7447c22eb31d5fdd1d99e7c7673 | 3c6108c78235c3eb1bd7faa23f659498913b5d71 | /15_07_30/perfectsqrfindr.cpp | 24576ae38982dee4fd1ac8cb4f4515770f30a0b0 | [] | no_license | atishay197/CompetitiveCoding | 82ce2868a247aa9f4a689f5c42af516cd079ac6d | 0e7946a61a55555e52255a6bc79e4e287277c25f | refs/heads/master | 2021-01-10T13:57:43.145797 | 2016-01-09T00:24:44 | 2016-01-09T00:24:44 | 48,296,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | perfectsqrfindr.cpp | #include<iostream>
using namespace std;
int main()
{
long long int a=0,i,b,c;
int count = 0;
int flag = 0;
for(i=0 ; a<10000000000 ; i++)
{
flag = 1;
a = i*i;
b = a;
while(b > 0)
{
c = b%10;
if(c != 0 && c != 1 && c != 4 && c != 9)
{
flag = 0;
}
b = b/10;
}
if(flag)
... |
098c84311c4bd044245b273fcda3dd0e7c958de1 | 2deb357c9708a98f629e356df640d1b9e812aa60 | /dobra dźwignia/main.cpp | 118aee60eb39113577efb1eac380d5363408d9f6 | [] | no_license | majkimge/CompetitiveProgrammingCode | 149f2eaae4763db16a6bef143ca037e46a5f3085 | d250be7703ad56072e914c2426f86b22305b3ac4 | refs/heads/main | 2023-01-20T07:30:36.769917 | 2020-11-24T16:51:07 | 2020-11-24T16:51:07 | 315,691,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,443 | cpp | main.cpp | #include <bits/stdc++.h>
#define MAX 200001
using namespace std;
int n, k;
long long tab[MAX][2];
char word[MAX];
long long literki[MAX][26];
long long all;
long long bad;
int main()
{
scanf("%lld",&n);
scanf("%lld",&k);
scanf("%s",word);
for(int i=0;i<k;i++){
for(int j=0;j<2;j+... |
3e77e212eb567d3a699c2a5dac40910f1c29af4f | 2d639bec3bec55a477258a2e4a636871801d0279 | /10469_carry_not_carry.cpp | d33b233ab255b581ce1657fd4849032963492126 | [] | no_license | muskanmahajan37/uva | 06af32e04ff8ee0d44b8ac969182e969cb18ea32 | 2c8badb2159802c9b78fab963ae8a7c063b7c03e | refs/heads/master | 2021-10-16T00:36:28.651151 | 2019-02-07T14:15:39 | 2019-02-07T14:15:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | 10469_carry_not_carry.cpp | /*
* @Author: eleven
* @Date: 2018-01-29 18:06:16
* @Last Modified by: eleven
* @Last Modified time: 2018-01-29 18:17:00
*/
// Status : AC
#include <bits/stdc++.h>
using namespace std;
int main(){
unsigned int a , b ,c;
while(cin>>a>>b){
c = a^b;
cout<<c<<endl;
}
return 0 ;
} |
344571503ef2fc809a8f179fc92354427cbe5cdb | 2e484a189352449d2ea1b2b59df87dc660bdf842 | /include/cell.h | 01b2c9eb52d1610061a1bcc0210afac8df836a56 | [
"Apache-2.0"
] | permissive | blckbrd-dev/lightning-rager | 6d2c0ab52bcd4e5e2b8eae212aa4b25121a450d9 | 48dabe9538226df8a1a1c48134eaac486863679c | refs/heads/master | 2021-01-19T21:21:34.243516 | 2017-04-24T19:22:13 | 2017-04-24T19:22:13 | 88,647,223 | 0 | 0 | null | 2017-04-24T19:22:14 | 2017-04-18T16:31:13 | C++ | UTF-8 | C++ | false | false | 73 | h | cell.h | #pragma once
namespace vmonitor {
struct cell {
int x;
int y;
};
}
|
9dd87e8b8b994e95c93693b36a328f4d60d53d2d | b8592342d4af96ef9fe5364dd60b446481eba855 | /CallWidget.h | 6f2fd72b36fab58e79025a8ab2dd8eee6976e36d | [] | no_license | sarvex/Develop | a1f44d8f2e0602c38d55f7e77527442b97deed31 | 2c3a66e933a17c412c73975f64cab22a2835e0b2 | refs/heads/main | 2023-09-02T02:47:12.234862 | 2023-08-25T05:38:53 | 2023-08-25T05:38:53 | 32,200,714 | 0 | 0 | null | 2023-09-10T14:49:15 | 2015-03-14T07:27:43 | C++ | UTF-8 | C++ | false | false | 2,689 | h | CallWidget.h | #ifndef CALL_WIDGET
#define CALL_WIDGET
#include "Call.h"
#include <QtWidgets/QAction>
#include <QtGui/QKeySequence>
#include <QtCore/QList>
#include <QtWidgets/QMenu>
#include <QtCore/QPoint>
#include <QtWidgets/QSplitter>
#include <QtCore/QString>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QTableWidgetI... |
ba87fb5730f13073f70a569d1094f179c7f3ac7a | 00d92a35f03a672d0dbefbb382199c116e329d9c | /agendador.h | f80d6906b53b7bfb3ae22cdcac5c518543e5bf93 | [] | no_license | lds1804/SOProjeto | b9e372d251ea790ea57ace71fd1aff7de4486464 | 2aed1c576293daaa4b4686ca4fd14e07ecbec36b | refs/heads/master | 2021-01-02T08:40:47.197855 | 2013-06-21T21:48:46 | 2013-06-21T21:48:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | agendador.h | #ifndef AGENDADOR_H_INCLUDED
#define AGENDADOR_H_INCLUDED
#include "cpu.h"
#include "memoria.h"
#include "disco.h"
#include "job.h"
class agendador
{
private:
cpu* processador;
memoria* mem;
disco* disc;
job* listajobsativos[20];
int tempototal;
int tempoatual;
int njobsa... |
c4d262a43d9dd47603ec2fb50c449b01879c067d | 6bac07ceda232029b6a9ea0144ad261311348699 | /plugin_III/game_III/meta/meta.CAccidentManager.h | 63326917c2acc428f0aed146c7b8f9ddf6191842 | [
"Zlib"
] | permissive | DK22Pac/plugin-sdk | ced6dc734846f33113e3596045b58febb7eb083c | b0ebc6e4f44c2d5f768b36c6a7a2a688e7e2b9d3 | refs/heads/master | 2023-08-17T06:36:25.363361 | 2023-08-10T05:19:16 | 2023-08-10T05:19:20 | 17,803,683 | 445 | 221 | Zlib | 2023-08-13T04:34:28 | 2014-03-16T16:40:08 | C++ | UTF-8 | C++ | false | false | 8,320 | h | meta.CAccidentManager.h | /*
Plugin-SDK (Grand Theft Auto 3) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "PluginBase.h"
namespace plugin {
CTOR_META_BEGIN(CAccidentManager)
static int address;
static int global_addre... |
d641456aa233d4f861e9158d760b10aa387f2cec | 47b97a53203566b25c31cc05362411e523b8a507 | /UTProfiler.h | a1bcd3b9c542ab95cb9cde991ed7155dd0e202c9 | [] | no_license | ptroyard/LO21 | 42b02c7d1bf431fa0d4408cb18b27b3325d19490 | 718655c92572b1c7756019a856ba182a2b085f82 | refs/heads/master | 2021-01-01T18:23:42.428066 | 2014-05-25T17:03:59 | 2014-05-25T17:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,525 | h | UTProfiler.h |
class Dossier {
QString login[8];
QString nom;
QString prenom;
QString adresse;
QString nationalite;
QDate datenaissance;
Formation* cursus; // ACCESSEUR
QString semestre[5];
QString* UVvalide; //ou Inscription
QString* UVencours;
QString* credit;
QStr... |
b698c9cd14a8333a90ce1f98b9fb1affe731e14a | 7f0e0763845b21ab405d8874fbb70cc2e3308e70 | /src/runtime/c4g_glsl.hpp | f09a77ed465b33ff038f3f716365b8d3ffc690c0 | [
"MIT"
] | permissive | paladin-t/c4gpu | 07cb2918a7dfe21fc6c0beb31c4840c466359908 | 82dda2014fd2ae5c745ebdc6a797bb5f87793816 | refs/heads/master | 2021-09-19T17:06:09.171506 | 2018-07-30T02:02:03 | 2018-07-30T02:02:03 | 81,640,952 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,319 | hpp | c4g_glsl.hpp | /*
** C4GPU.
**
** For the latest info, see https://github.com/c4gpu/c4gpu_runtime/
**
** Copyright (C) 2017 Wang Renxin. All rights reserved.
*/
#ifndef __C4G_GLSL_H__
#define __C4G_GLSL_H__
#include "c4g_runtime.h"
#ifdef C4G_RUNTIME_OS_WIN
# include <GL/glew.h>
# include <GL/glut.h>
#elif defined C4... |
76771424426bc726ea668bf0735b9ff7dca91be6 | 7966b8af2298832ebfc3916d93c2f8179111ac1c | /tags/exercice5/code/circumference_3p.cpp | addf1bed5dea70f5476e9389eae7cb8621a09c91 | [] | no_license | mvm9289/geoc-qp2010 | 44156e27c919fa8db144be8127092d5b89943b49 | bdbb4e89e288f9f65722525837737a5de503dbfe | refs/heads/master | 2021-01-13T02:02:56.485806 | 2010-11-01T19:50:25 | 2010-11-01T19:50:25 | 32,339,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,387 | cpp | circumference_3p.cpp | #include "circumference_3p.h"
#include <GL/glut.h>
#include <cmath>
using namespace std;
GLUquadricObj* disk = gluNewQuadric();
static coord_type determ(coord_type a11, coord_type a12, coord_type a13,
coord_type a21, coord_type a22, coord_type a23,
coord_type a31, coord_type a32, ... |
1cbb6133e53a8b2d1e2e0327911988a882c41f97 | 8924ba7719164c962b49c36c05d81d393915d456 | /volumes/LogicalVolume.h | a028b3f547ce966ddc95274741ec536274a5fc1f | [] | no_license | carlosal1015/VecGeom | 23525ff91567d58cfde1aa7c66f9cc508a3b5bbf | 12512cd7f67b89f7619a64474080ad24077aba10 | refs/heads/master | 2020-09-13T17:16:12.770167 | 2015-06-02T07:26:54 | 2015-06-02T07:57:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,352 | h | LogicalVolume.h | /**
* @file logical_volume.h
* @author Johannes de Fine Licht (johannes.definelicht@cern.ch)
*/
#ifndef VECGEOM_VOLUMES_LOGICALVOLUME_H_
#define VECGEOM_VOLUMES_LOGICALVOLUME_H_
#include "base/Global.h"
#include "base/Vector.h"
#include "volumes/UnplacedVolume.h"
#include <string>
#include <list>
class TGeoShap... |
213bd91a141c7a5c782838cbc7c38ac6b65276df | 2a18f7467fe3d7b9c28e2d93426e5bd4a75ed958 | /Rubik Pro/res/res.hpp | 00e9d82e0c88b86107ce96e50fd345bcce95f5aa | [] | no_license | TheWhiteUnicorn/rubikPro | 69020920dc13d7bd3d969ef76bd235a6048442e5 | c3eae7fc3bc887288bb08482431cfa3ea2aafc6a | refs/heads/master | 2021-01-22T20:26:44.690565 | 2017-08-19T10:49:25 | 2017-08-19T10:49:25 | 100,700,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53 | hpp | res.hpp | enum color {WHITE, ORANGE, GREEN, RED, BLUE, YELLOW}; |
35a762f677690649da03d402b42842317ad58597 | 15f0514701a78e12750f68ba09d68095172493ee | /C++/643.cpp | 8aed8715a03156aba2586a4b9c4ca1f604a3c77f | [
"MIT"
] | permissive | strengthen/LeetCode | 5e38c8c9d3e8f27109b9124ae17ef8a4139a1518 | 3ffa6dcbeb787a6128641402081a4ff70093bb61 | refs/heads/master | 2022-12-04T21:35:17.872212 | 2022-11-30T06:23:24 | 2022-11-30T06:23:24 | 155,958,163 | 936 | 365 | MIT | 2021-11-15T04:02:45 | 2018-11-03T06:47:38 | null | UTF-8 | C++ | false | false | 1,336 | cpp | 643.cpp | __________________________________________________________________________________________________
sample 60 ms submission
auto speedup =[]() {
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
return nullptr;
}();
class Solution {
public:
double findMaxAverage(vector<int>& nums... |
f600cb0f149dfadd71a5526f6afc30148f578212 | 4672eeb7ea8728d2115dac7a05e0715969821b3c | /Crio/LinkedList/6_MoveMiddleToHead/alternateSolution.cpp | 7d8ff0b37a66e530957f42dde81d9c02f1fcb3a5 | [] | no_license | adityasarvaiya/coding | 62e26954433032539bea51d8edf230eebc1a6076 | 6869c212c870985ff4ac8bd8c5cade8842d78a6c | refs/heads/master | 2021-07-11T18:47:08.940920 | 2020-07-09T10:28:24 | 2020-07-09T10:28:24 | 163,668,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | alternateSolution.cpp | /*
class ListNode {
public:
int val;
ListNode* next;
ListNode() {}
ListNode(int x) {
val = x;
next = NULL;
}
};
*/
#include "../crio/cpp/ds/ListNode/ListNode.hpp"
ListNode * moveMiddleToHead(ListNode * head) {
if (head == NULL || head->next == NULL) ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.