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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
479d970d633c46888edafdf1d3c77a4ac8468a88 | b39872cc82dda996e5b3491f403ad45c3fe9f857 | /MrOrb/Source/MrOrb/CoinSystem.h | 253f90ff1aaf3c5c6e87aab630163aa21f91db8d | [] | no_license | BugiNinja/MrOrb | 97d9359391c2ba0da36eb6d815383c743e55dea2 | e246b034c9f889f933cc23b0e4c4909c2fa6eba4 | refs/heads/master | 2020-03-29T08:39:06.605055 | 2018-12-20T12:39:08 | 2018-12-20T12:39:08 | 149,721,594 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,671 | h | CoinSystem.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "CoinSystem.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class MRORB_API UCoinSystem : public UActorComponent
{
GENE... |
c274ac8a8234027c9711b5c97c2f1497cdd1227d | 1565116391d3d5248095005f152f315253bbb234 | /Ncnn_infer/quality_assessment.h | a3a0743afcb2c5902901702f680a117e89d67fbe | [] | no_license | Devin0202/Frontal-Profile-Face-Classify | c6a0fd22375fe082fc5b131db45e5bf718866999 | 7411f320a1fc56841f50fe867f009703fcd1718d | refs/heads/master | 2022-11-16T08:08:31.184482 | 2020-07-01T08:55:47 | 2020-07-01T08:55:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,088 | h | quality_assessment.h | /**
* @file
* @author Devin dai
* @version 0.0.1
* @date 2020/06/11
* @brief Deep-learning for distinguishing frontal and profile faces.
* @details Use square roi to distinguish frontal and profile faces
* based on Tencent-Ncnn.
* @section LICENSE
* Copyright 2020 Hiscene
*
* Licensed under the Apa... |
ab15437ba7b5815f6fbc6b1831535e0fd25eb68f | 90c09bbe3fb26a406ad694c2dd9d794f7cdd0de6 | /Color.h | 4dc85f8612e7cc69cf3c2ec7b043265885149320 | [] | no_license | davsarkissian/ray_tracer | 5bcd8ce12f1af1422270a95e270ea9fc154b6e81 | e1a33e2ca43a827419642cf74fe73c069d5a9cef | refs/heads/master | 2022-04-11T19:32:49.343641 | 2020-03-11T13:08:35 | 2020-03-11T13:08:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | Color.h | #ifndef __COLOR_H
#define __COLOR_H
class Color
{
public:
float r;
float g;
float b;
float a;
Color(float r_p=0.0, float g_p=0.0, float b_p=0.0, float a_p=1.0);
~Color(){}
Color cap();
Color operator * (const float k);
Color operator * (con... |
37527d62d9e7a119fb83002da8af2d980b52bb48 | 6250f3343eff1638912510b66ed936c59796635a | /src_vc141/thirdparty/stlsoft/STLSoft/include/comstl/util/thread_marshal.hpp | db34652ef5b0b23f8958e67d2a2acaa30d5c1e2b | [
"Apache-2.0",
"BSD-3-Clause"
] | permissive | nneesshh/mytoolkit | b4b242307a6603bc5785bc130de8f4d3b5ea9265 | 336ae9c7077c8687a8cf8a2ce4aec804c28ab90c | refs/heads/master | 2020-04-05T15:18:07.985547 | 2018-12-17T11:36:07 | 2018-12-17T11:36:07 | 156,961,652 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,038 | hpp | thread_marshal.hpp | /* /////////////////////////////////////////////////////////////////////////
* File: comstl/util/thread_marshal.hpp
*
* Purpose: Thread marshalling functions.
*
* Created: 25th May 2002
* Updated: 19th February 2017
*
* Home: http://stlsoft.org/
*
* Copyright (c) 2002-2017, Matthew W... |
37cd4e4ea9b5bd377b224b60fb5c1aadd8bd878e | 465f1f7bd7dd287eb1e53ce79d986caf941aaeb9 | /39. Combination Sum.cpp | a7a02b206c8193aff40fa15f3186e8ca6a4cce35 | [] | no_license | gurjotsingh4398/Leetcode-solution | 21a70c5e094961e6e5f9ef89f731835126c42a43 | 7594c3a0167819799a6e09a63717df3b18851bd8 | refs/heads/master | 2020-04-20T20:39:52.144743 | 2019-10-06T09:55:56 | 2019-10-06T09:55:56 | 169,083,362 | 2 | 2 | null | 2019-10-06T09:55:57 | 2019-02-04T13:34:58 | C++ | UTF-8 | C++ | false | false | 1,158 | cpp | 39. Combination Sum.cpp | // https://leetcode.com/problems/combination-sum/
static const int fastIO = []() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
return 0;
}();
class Solution {
public:
vector<vector<int>> ans;
vector<int> temp;
void rec(vector<int>& candidates, int target,int sum,int index) {
... |
6989239f63e24c5363fa7148a8a324e573e0c21f | c082b0764300413fcaa8745b17a8e6ddc16fbd3b | /StacksQueues/test.cpp | 7c037269acc12e94884e2171ccd74d499a883031 | [] | no_license | ArturoBurela/DataStructures | 50d26621a6214ea9bc390d2c174bf1b0de5d9e1c | 6347b4e79360c1ef5dd9bd7c803969801fa3900c | refs/heads/master | 2021-03-30T18:21:38.230807 | 2016-11-08T14:13:32 | 2016-11-08T14:13:32 | 70,016,615 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,356 | cpp | test.cpp | /*
Program to test the Stack and Queue implementations with arrays
Gilberto Echeverria
gilecheverria@yahoo.com
*/
#include <iostream>
#include <string>
#include "Stack.h"
#include "Queue.h"
void user_menu();
int main()
{
std::cout << "TEST FOR QUEUES AND STACKS" << std::endl;
user_menu();
return 0;
}
v... |
6ce92f2fbb72b8770279821b3a6e1cc1f0125aa5 | d5dad6a6e8120ee51a4e2a9bbf9cf20f9584a08a | /BOJ/Simulation/17144.cpp | 346fec0f819e019346616d75d6be06ab6631c817 | [] | no_license | ssohyunKim/TIL | 7661483c5547ab93c6ef3aa6d45bcb0bb2d7e932 | 281ddfa1beb66a06cd29ca8db6365a801adc7ca8 | refs/heads/master | 2021-06-25T22:28:51.891522 | 2020-12-04T14:20:49 | 2020-12-04T14:20:49 | 167,283,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,415 | cpp | 17144.cpp | #include <iostream>
#include <vector>
using namespace std;
int r, c, t;
int map[2][50][50];
int up_x, up_y, down_x, down_y;
int dy[] = {-1, 1, 0, 0};
int dx[] = {0, 0, -1, 1};
void spread(int cur)
{
int next = (cur + 1) % 2;
for (int y = 0; y < r; y++)
{
for (int x = 0; x < c; x++)
{
... |
e61f337a8018f45fd70811a4651a6c21d7f1fabd | c9b7a7c49390c82f044805175ed03292191a51e3 | /other/merge/merge/merge.cpp | 4c17ca2575e683d659571f9b0df04aa3d1d85421 | [] | no_license | Andriy963/homeworks | a0c441ccba275d15e5c02b144a0dfd7277c21f97 | ac900332dbd608b867d2da3cd992b0bc86bfc7b8 | refs/heads/master | 2020-12-01T11:38:32.580065 | 2014-11-13T17:03:10 | 2014-11-13T17:03:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cpp | merge.cpp | // merge.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
void mergesort(int *a, int *b, int start, int end)
{
int halfpoint;
if (start < end)
{
halfpoint = (start + end) / 2;
mergesort(a, b, start, halfpoint);
mergesort(a, b, halfpoi... |
5bb022484036b264e25d2759ef3db5ca560585e5 | df1a1b7cf25e6b31b1b5a9935b5aa1ac43c99d67 | /443A-Atnlet.cpp | ee453cfdabcc3e23929d35ad3e10361db88851a6 | [] | no_license | william1099/CP | 6171603e5602c47b8f363e89d50c003be5636137 | 92288e734b298977063dbe7d075c68a892511b0e | refs/heads/master | 2021-04-15T13:20:53.108606 | 2018-03-24T20:36:18 | 2018-03-24T20:36:18 | 126,637,211 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | 443A-Atnlet.cpp | #include <bits/stdc++.h>
using namespace std;
const int MAXN=1e4;
char a[MAXN];
int main() {
string str;
long int i,k,count=0;
getline(cin,str); //baca string termasuk spasi
memset(a,MAXN,0);
for (i=0; i<=str.length()-1; i++) {
if (str[i]==',' || str[i]=='}') {
k=str[i-1]-'0';
if (a[k]==0 && k!=75) { ... |
8195fbbe9a6f9b3ca8a2b55fb2de68971109ff9c | b39437582ce07ae9dd19f2742dd5be5ad89d5e8d | /thpool/worker.h | 7ecd5958f249960dc0136e75833bf4a1955e8237 | [] | no_license | fixee/workspace | 014ed90a2be0a977a5da55e4343e30f6bd603355 | 41b9ffc5844cdca7884667015c254737224b30ae | refs/heads/master | 2021-01-10T11:29:00.975855 | 2015-12-06T03:32:59 | 2015-12-06T03:32:59 | 47,409,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | worker.h | #ifndef _worker_h_
#define _worker_h_
#include "pthread.h"
class threadpool;
class worker
{
public:
worker();
~worker();
void init( threadpool *_pool );
public:
static void *work( void *data );
private:
threadpool *pool;
pthread_t tid;
};
#endif//_worker_h_
|
4144811b9440f676b8e60be0a2d3c90224e49114 | e18b4791d07314a9609fdfc9e3efd1c5deb61127 | /ProjectTemplate-master/MyProject/src/MyProject/MyProject.cpp | 96d6d6b19ab60f1b1efa2f4bbebe41e407a484a4 | [
"MIT"
] | permissive | deepakgopinath/AudioFeatureExtractor | f3c69e7110bce67e32cd57b79d016bc4a17029da | 78133b7c22ce7da363bc5712b3fc1cf8972b6872 | refs/heads/master | 2021-01-13T01:26:17.657328 | 2014-04-14T06:36:48 | 2014-04-14T06:36:48 | 18,472,987 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,358 | cpp | MyProject.cpp |
// standard headers
// project headers
#include "MyProjectConfig.h"
#include "ErrorDef.h"
#include "Util.h"
#include "MyProject.h"
static const char* kCMyProjectBuildDate = __DATE__;
CMyProject::CMyProject ():
m_bIsInitialized(false),
m_IsSpectralFeatureRequested(false),
... |
f35bb38f789fd14afb4c699245fb303fcaf7a108 | 3f287d374dbe3f958849f81762236ab77d0b5dea | /tst/unit/binpacks.cpp | 049b39baf6e594a97cf7e9bcb0b923998a6d15ca | [] | no_license | lineCode/libhut | 8eb1219d4d814b8534bd2cc13614fcf3c7e38b72 | a727ec3af764632af316b80a9eb02af1cf02b261 | refs/heads/master | 2023-03-30T03:54:02.592678 | 2021-04-04T21:02:55 | 2021-04-04T21:02:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 93 | cpp | binpacks.cpp | #include <gtest/gtest.h>
#include "hut/binpacks.hpp"
TEST(binpacks, linear1d) {
//TODO
}
|
af492d2ea6fb8c36db9609a141798f0341c108c8 | 5e4a0499ca89a221735911f08acbc58095602d5f | /include/Files.h | 5fdbd596a35df1c9f09cacf58663368976dedece | [] | no_license | AdrienBourgois/ModelViewer | 3f7bd7e9cb440233a1ba15db46400d1e14ecc375 | 5672e91f696d6afd4bb56d84af522067a458aaeb | refs/heads/master | 2021-01-13T00:45:12.595929 | 2015-11-17T15:48:46 | 2015-11-17T15:48:46 | 46,051,650 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | h | Files.h | #ifndef __FILES_INCLUDE__
#define __FILES_INCLUDE__
#include <iostream>
#include <vector>
#include <dirent.h>
#include <sys/types.h>
namespace id
{
class FileManager
{
public:
FileManager();
~FileManager() = default;
std::string getPath();
std::vector<std::string> getListFolder()... |
d2519e801aa3f308512c3a0168af97935499ede0 | f051d9a41613334e4ba6a5747028fef3a11ac70d | /src/hsp3dish/gameplay/src/lua/lua_Effect.cpp | caa9003c1479df5d974fedbb6751266c7dfbeb70 | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | onitama/OpenHSP | d93b50b230234c4792a5199539403ab91f91740a | ba6b92a40c4bc6716208ad4961f11bbd1c7fbd04 | refs/heads/master | 2023-09-04T09:55:03.935733 | 2023-08-21T06:52:49 | 2023-08-21T06:52:49 | 107,995,606 | 159 | 26 | BSD-3-Clause | 2022-06-18T02:42:50 | 2017-10-23T14:42:26 | C | UTF-8 | C++ | false | false | 43,636 | cpp | lua_Effect.cpp | // Autogenerated by gameplay-luagen
#include "Base.h"
#include "ScriptController.h"
#include "lua_Effect.h"
#include "Base.h"
#include "Effect.h"
#include "FileSystem.h"
#include "Game.h"
#include "Ref.h"
namespace gameplay
{
void luaRegister_Effect()
{
const luaL_Reg lua_members[] =
{
{"addRef", lua... |
afe8c820c8ee366453c4e2c0f3488906b9cfba22 | 4353864a0a7fe66525dfc3ddbf6e90a25af05b68 | /dvc.cpp | 38b44d396d397fb5276f5a014b3b8316f4b38f4b | [
"PHP-3.01"
] | permissive | lordgnu/wxPHP | 12dc4e1ef31fb01063c763d887f95d727e08e002 | 368a75c893039e5eaa31bc1ee38e341991039f3f | refs/heads/master | 2020-04-16T17:04:42.142204 | 2012-05-02T13:28:29 | 2012-05-02T13:28:29 | 4,203,267 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438,221 | cpp | dvc.cpp | /*
* @author Mário Soares
* @contributors Jefferson González
*
* @license
* This file is part of wxPHP check the LICENSE file for information.
*
* @note
* This file was auto-generated by the wxPHP source maker
*/
#include "php_wxwidgets.h"
#include "appmanagement.h"
#include "cfg.h"
#include "bookctrl.h"
#i... |
cb58c82306aae4b43b863e8d36ba2175df43e624 | b7b18b312fc0e2bd51b03ed1e6efc643edefc599 | /duplicate.cpp | 88d775df493c84dc8512f652729707879ff30aab | [] | no_license | IgorRas/studia_przed_spec | 43c367e8a7399e85de85fd449189a930044ea1e3 | 925302da13287b48941521be02ca7a87a766ffdd | refs/heads/main | 2023-08-13T10:29:08.078983 | 2021-10-19T00:14:40 | 2021-10-19T00:14:40 | 418,700,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | duplicate.cpp | #include <algorithm>
#include <iostream>
#include <vector>
//Wczytuje liczby
//Wypisuje powtarzajoce sie
std::vector<int> function1(std::vector<int> vector) {
std::vector<int> koniec;
for (auto ite = vector.begin(); ite < vector.end(); ++ite) {
std::vector<int>::iterator it, it1;
it = std::adjacent_... |
a86dcd54474913f72c088d52817acd73b865dbe0 | ce97830743a2da78b698e597fdf36b017b3fd455 | /КП.cpp | a8b9787c7743c54dd61d32a1220b6094975873c3 | [] | no_license | LSTAlex/Guap-2019-KP | 99294fc964cc9c4ee4bccd043dadc3fa457eef42 | 29745b6424c94db9a8310e054adffcf2d96f9de8 | refs/heads/main | 2023-04-11T09:33:16.165399 | 2021-04-12T10:41:15 | 2021-04-12T10:41:15 | 357,153,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,163 | cpp | КП.cpp | #include <iostream>
#include <iomanip> // Манипуляторы ввода-вывода (табличная печать)
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
#include <Windows.h>
using namespace std;
// Ввод строки, пробелы заменяются на подчеркивания
string input_string()
{
string s;
getline(cin... |
1f86ca9d0c9f26ab83ca164ac0c62fe1491aa09d | 028173f576b5f2364b800bbfca3dc6be8a238bc3 | /include/asio2/util/event_dispatcher.hpp | b1d030156066cfe06eb7cf632568eec417194eb3 | [
"ICU",
"BSL-1.0"
] | permissive | zhllxt/asio2 | ca6f98b0c599ebb3eeb13cd79ddb9db6e8ca3666 | ac8c79964d79020091e38fcbb4ae9dccccb3b03c | refs/heads/main | 2023-09-02T18:56:45.036564 | 2023-05-09T04:57:23 | 2023-05-09T04:57:23 | 108,554,985 | 636 | 166 | BSL-1.0 | 2023-04-10T09:27:16 | 2017-10-27T14:17:35 | C++ | UTF-8 | C++ | false | false | 59,641 | hpp | event_dispatcher.hpp | // eventpp library
// Copyright (C) 2018 Wang Qi (wqking)
// Github: https://github.com/wqking/eventpp
// 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/LIC... |
42ed3049461f3376166b18394d4b477497f9dd65 | 1afc8cdbd3a6d627415b346293416ede54bf31e2 | /codeforces/1199/C.cpp | 4efd06ebf4f7d268205c9dbd2c6dd816749099ea | [] | no_license | umangja/CompetitiveProgrammingSolution | bf6944b81373061124179db5ba2ce2612032e1fe | d622398e40dadadde191c0d9b34a9fcd4735c69c | refs/heads/master | 2023-03-25T23:05:09.596577 | 2021-02-23T09:07:00 | 2021-03-14T15:22:40 | 341,297,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | C.cpp | /*input
8 63
1 2 3 4 5 6 7 8
*/
//assic value of ('0'-'9') is(48 - 57) and (a-z) is (97-122) and (A-Z) is(65-90) and 32 for space
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define pii pair<ll int,ll int>
#define vpii vector< p... |
31cc30c94c2994289768e9b29ba09766b814b481 | 482e90cd68bdd37d8ce99f2403a1d2ec5e80551b | /test/sketch.cpp | 53f7ecbcfc7bbbaa2350efc96f712f5d71b39ff5 | [] | no_license | fs3l/cmo-enclave | 91e263d0160d995f04ec75a89670eea774c3c0f7 | 543f4d74de52a2a00011d7f16b2210226bdcb4b9 | refs/heads/master | 2023-01-15T04:04:52.246959 | 2018-09-27T03:19:59 | 2018-09-27T03:19:59 | 111,944,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | sketch.cpp | #include "./helper.h"
#include <sys/time.h>
#ifdef SGX_APP
#include "./sgx_helper.h"
#include "st"
#include "algo_u.h"
#else
#include "algo.h"
#endif
BOOST_AUTO_TEST_CASE(sketch_test)
{
int32_t len = 100000;
int32_t range = 1;
int32_t* output = new int32_t[range];
//printf("output addr = %p \n",output... |
f95ef9aab66dbe67b7d4e64d5389df9c06f5ae40 | f0198f5f498db29b2da5c7e73d92505a2279fc33 | /RcEngine/Tools/MeshImporter/AssimpProcesser.h | ad94e3656039eae1a9a80a75e303e0843902844b | [] | no_license | ruitaocc/RcEngine | ed9921c730e6441d94ec9b24c9f96fb9afb1a62c | 4ee06618efc0ed2dfaf81a775b44cc08c2f0a34b | refs/heads/master | 2021-01-15T20:58:30.765816 | 2015-02-02T12:54:55 | 2015-02-02T12:54:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | h | AssimpProcesser.h | #pragma once
#include <iostream>
#include <fstream>
#include <set>
#include <unordered_map>
#include <assimp/Importer.hpp> // C++ importer interface
#include <assimp/scene.h> // Output data structure
#include <assimp/postprocess.h> // Post processing flags
#include "Core/Prerequisites.h"
#include "... |
372edeefab38abb11cbe06873f03758bde7f7952 | db9b731edb4790a169cba7f651d9f5bc22151f1d | /Lab 2/Лаба 2/Лаба 2.cpp | b720d55dbc097e6c490e228fc1125688d9ce7178 | [] | no_license | KopeikinD/LABS | ecce77e468e3aa118c3f2e19820ee51db8a55fde | a19d54751767c6dcf2b9c59f7b41fdac3faaf38b | refs/heads/main | 2023-09-04T00:54:20.427060 | 2021-11-03T14:30:49 | 2021-11-03T14:30:49 | 424,224,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,433 | cpp | Лаба 2.cpp |
#include <iostream>
#include <string>
using namespace std;
void zadanie1() {
string string1;
cout << "Введите строку" << endl;
getline(cin, string1);
int count = 1;
for (int i = 0; i < string1.length(); i++) {
if (string1[i] == string1[i + 1])
count++;
else {
cout << (int)string1[i] << count;
coun... |
5c9aad40165470df99be62403ef1ebf5e00377c1 | 3a9f925f2882c95ab38a4de875cd6cd3c03df160 | /core/header/algorithm/BaseAlgorithm.hpp | 0a07249caf12ab8f1d4656a8da615e564f285d1f | [] | no_license | KnifeOnlyI/ScratchBall | 0ef060f225a403a166a936964196868eb0be8222 | fb549ccd7ff7094a0497c14705cc5a0b9eecb8f6 | refs/heads/master | 2023-04-25T03:26:13.342238 | 2021-04-28T05:03:13 | 2021-04-28T05:03:13 | 362,343,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | hpp | BaseAlgorithm.hpp | #ifndef SCRATCHBALL_BASEALGORITHM_HPP
#define SCRATCHBALL_BASEALGORITHM_HPP
#include "Context.hpp"
class BaseAlgorithm
{
public:
explicit BaseAlgorithm(Context &context);
virtual void load() const = 0;
virtual void update() const = 0;
[[nodiscard]] Context &getContext() const;
private:
Conte... |
2ea95c11b8a96905c9d3c6f2a92ad6cf207a1ce0 | 20200b151be309568210c3bcc992fb4f2699d1d2 | /Visualization/StackSidebar.cpp | e24f993d4a75e12e2c3251845b91b74b7e1911e5 | [] | no_license | anilhakanyarici/memory-managed-visual-cpp-linux | 0f9856de8888c1343555bd63d59554d21e19f2cd | fe250cfe49f79731b3cd239c100e1daffaf45db0 | refs/heads/master | 2021-01-15T17:15:53.272594 | 2017-08-08T23:51:30 | 2017-08-08T23:51:30 | 99,745,315 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | StackSidebar.cpp | #include "StackSidebar.h"
StackSidebar *StackSidebar::New() { return (StackSidebar *)gtk_stack_sidebar_new(); }
Stack *StackSidebar::stack() const { return (Stack *)gtk_stack_sidebar_get_stack(GTK_STACK_SIDEBAR(this)); }
void StackSidebar::stack(Stack *s) { gtk_stack_sidebar_set_stack(GTK_STACK_SIDEBAR(this), GTK_ST... |
ffcf79785a18d5603a5e101ea992212be977e7e2 | c1b5749073da5f718476e9842a1d79562681c8b4 | /個人制作/Collect/ソースコード/entity/light.cpp | 04ed0c7001982a60abfbc40d3b16b7512c830681 | [] | no_license | TakanashiRuka/Game | 36d2fce25c49384eeeec266a51b4bef58139ba52 | daec40a812eeabb0ca304913d897ae58d4dbe3b1 | refs/heads/master | 2020-05-22T22:50:45.834281 | 2019-05-14T06:12:23 | 2019-05-14T06:12:23 | 186,551,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | cpp | light.cpp | #include "..\entity\light.h"
#include "..\graphics\directx11.h"
#include "..\framework\data.h"
#include "..\framework\debug.h"
constexpr float view_width = 10;
constexpr float view_height = 10;
constexpr float near_z = 0.1f;
constexpr float far_z = 17.3f;
using namespace DirectX;
Light::Light(Scene* parent) : Entit... |
e53c2e2b4a343c480dab64b863200a78a80b1268 | 742182b23044c91df9a3d99652697152fc13f91d | /Div1/SRM561Div1/Easy.cpp | b1dae1b12c71bfdc8fcecff942b4412d574bd5f8 | [] | no_license | iseki-masaya/topcoder | 15e052bff8043f60a15969acc723e2550eae262c | c85ba323476b03abbc22a758e5724f15796ee62b | refs/heads/master | 2016-09-11T02:00:10.773000 | 2015-04-26T02:41:05 | 2015-04-26T02:41:05 | 9,335,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,637 | cpp | Easy.cpp | #include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <algorithm>
#include <sstream>
#include <set>
#include <cmath>
#include <map>
#include <stack>
#include <queue>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <numeric>
#define INF (... |
a1844194462314fc488f275f7ca99099932bae76 | c33e840f5503365b39ad0118ce12200bc79dd428 | /Implementacao/Regras.hpp | c2601be30aaca8c5ec71d9aed6f43894b294a74a | [] | no_license | gabrielissantos/JvTron-3.0 | 24d0a823f83e3e13471cd3983f5089b05b9edd89 | d2523f078372d721c4f2f73df2913054bb542435 | refs/heads/master | 2020-12-25T19:03:12.534108 | 2017-07-15T19:55:55 | 2017-07-15T19:55:55 | 94,019,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,110 | hpp | Regras.hpp | /*
JvAsteroids: Trabalho 3
Departamento de Computação
UFSCar Universidade Federal de São Carlos
Disciplina: Estrutura de Dados
Professor: Roberto Ferrari
Aluno(a): RA:
João Gabriel Melo Barbirato 726546
Leonardo de Oliveira Peralta ... |
239cca4bd6c8bacb0f6a8d77b36de84b92ab8784 | 3b504460d1c09c0926c93cb5caa5a3b7e0c1c821 | /MySerialServer.h | 7ce2147ac6ba3191ea438e0cbff54d340b19639d | [] | no_license | MorAl2/Generalized-Server-Side-Implementation | 7f16a934561558482f7defd1c968b64cea97818d | f0e2c80c48e988e54acef54958c712a3318bef66 | refs/heads/master | 2020-12-06T02:06:02.706122 | 2020-06-07T22:48:02 | 2020-06-07T22:48:02 | 232,309,793 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 773 | h | MySerialServer.h | #ifndef GENERALIZED_SERVER_SIDE_IMPLEMENTATION_MYSERIALSERVER_H
#define GENERALIZED_SERVER_SIDE_IMPLEMENTATION_MYSERIALSERVER_H
#include "ClientHandler.h"
#include "Server.h"
#include <thread>
using namespace std;
using namespace server_side;
// running the server with serial input handle.
class MySerialServer : publ... |
b97fbae933443162773e4b427448f35d82242be5 | 7205bc2ed945400eaf4fb532565a729ce481cc21 | /noteplayer.h | f3cdbe66d5a3a77b6ea15995a14e33ca4fedd7e8 | [] | no_license | Tatane/DrumPart | 41e973f00dc9c7f9961cbd24a90c99c571a5cc24 | d1e93225701efc7dd5c9ce3d5a43ca9093d9146a | refs/heads/master | 2020-09-01T04:30:07.101835 | 2019-11-05T01:31:26 | 2019-11-05T01:31:26 | 218,881,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | noteplayer.h | #ifndef NOTEPLAYER_H
#define NOTEPLAYER_H
#include <map>
#include "soundmixer.h"
using namespace std;
class NotePlayer
{
public:
void play(short pitch);
protected:
NotePlayer();
SoundMixer * soundMixer;
map<short, int> mapNotePitchToSoundSampleIndex; // map Pitch to sound sample index.
private:
... |
6948f83580eb1e9b08dd98001f636835adb5babf | 9813b37706567312356aa0e3a6a014709a135942 | /ch06/ch06_Rotary_Interrupt/Basic/Basic.ino | f0edeb8394c9c4aa3cfeb9792ae87fb4c4a15069 | [] | no_license | bjepson/Arduino-Cookbook-3ed-INO | 3476f987b55ba8bfb4eb52e299f223b28dc5cd80 | 12148225ee774643a879d8f51e310917cb47ed8d | refs/heads/master | 2022-02-02T22:15:12.097700 | 2022-01-29T15:12:32 | 2022-01-29T15:12:32 | 204,302,305 | 30 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 474 | ino | Basic.ino | /* Rotary Encoder Library example
* Read the rotary encoder with a library that uses interrrupts
* to process the encoder's activity
*/
#include <Encoder.h>
Encoder myEnc(2, 3); // Use pins 4, 5 on the MKR family of boards
void setup() {
Serial.begin(9600);
}
long lastPosition = -999;
void loop() {
lon... |
ac7ce8fd3f374eba6a554908fe5be4ff8c7985aa | e80b882a90d031e9a7b522814a4d4a1b4ac6e964 | /2021-08-16/16_997_FindtheTownJudge.cpp | 32a7eaf5f9377204ca915fde1bc5807439e8085a | [] | no_license | DeveshDutt2710/CP_Weekwise | 9ccf211cdb7964525e403d401db1c2135573d669 | c367a494a69f42bd2085fc16505ee749716a7f99 | refs/heads/main | 2023-08-05T09:09:25.497086 | 2021-09-19T17:43:24 | 2021-09-19T17:43:24 | 355,271,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cpp | 16_997_FindtheTownJudge.cpp | /*
https://leetcode.com/problems/find-the-town-judge/
997_FindtheTownJudge
In a town, there are n people labeled from 1 to n. There is a rumor that one of these people is secretly the town judge.
If the town judge exists, then:
The town judge trusts nobody.
Everybody (except for the town judge) trusts the town judg... |
335b77a4031ce2668f1bbf032c940eb50237158f | 7a439d4dd5485d62fa8c3ff243d400bc8dcc33ac | /clients/optimizationClient/src/RhinoFileIO.cpp | 6aa2e58d96bdc036e2314a57e10513fbe21ad746 | [] | no_license | DrStS/EMPIRE-Testing | 82a23e35aa3bb58aa0012784016f642284920a5b | af06b6c54f40acf84c34d1a75e1c5e16afc7eb08 | refs/heads/master | 2020-04-01T18:22:19.493171 | 2018-10-17T16:47:26 | 2018-10-17T16:47:26 | 153,488,010 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,987 | cpp | RhinoFileIO.cpp | /*
* RhinoFileIO.cpp
*
* Created on: Jun 5, 2014
* Author: fabien
*/
#include "RhinoFileIO.h"
#include "helper.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <algorithm>
namespace optclient {
using namespace std;
void readMetaData(std::string filename, int& numPatc... |
8013cb8154925a511f4566281419e1414294f50e | deb4260cfd57440c637b6de4cd3a9e5d2d2d74c0 | /src/graphics/renderer.cpp | f333339753a64710a34f81c8dcdedc7f589542da | [] | no_license | tokobaku/kekule_engine | ffb0c34e1f4152643bd66d498fb2c97456b1cffc | fd16294633ea03f740414f91da7fa156d809f4e3 | refs/heads/master | 2020-04-02T04:10:57.454094 | 2019-05-14T14:35:56 | 2019-05-14T14:35:56 | 148,146,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,581 | cpp | renderer.cpp | #include "renderer.h"
#include "renderable.h"
namespace kekule {
std::set<Renderer::RendererLayer> Renderer::mQueue;
Renderer::RendererLayer::RendererLayer ()
:queue(), layer() {}
Renderer::RendererLayer::RendererLayer (const IRenderable* item)
:queue({item}), layer(item->layer) {}
Renderer::RendererLaye... |
669f59b7989431f43a5d3350082055f2ad0f02ea | 14cadc1eb363ab693df1aae3ed622feb77d9b82c | /Lab-03/CohenSutherland.cpp | d3c7d3da5fd9040551e63e78b5d0460b18089b2e | [] | no_license | Sowmik23/Computer_Graphics_Lab | d8ea18c81bdc5900f9448800d3437a1b872fb746 | 53959367d3d266f43c4c81ee7c34125bc600c12d | refs/heads/master | 2020-12-27T05:26:43.606723 | 2020-02-24T13:34:35 | 2020-02-24T13:34:35 | 237,779,795 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,610 | cpp | CohenSutherland.cpp | #ifdef _WIN32
#include <windows.h>
#pragma comment(lib,"OpenGL32.lib")
#pragma comment(lib,"GLUT32.lib")
#pragma warning(disable:4244)
#pragma warning(disable:4305)
#endif
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <time.h>
#define PI acos(-1.0)
#include <GL/glut.h>
#defin... |
a5ab68ecdae393bfc6bc41fbed133bc843a1685c | 1f203bc69fed71220638ea0a813b370dae980454 | /Example3_Lighting/Example3_Lighting/marbleShader.h | 0fe2639d75a4be786c14c90e828b673177656951 | [] | no_license | bMeile/graphicsCoursework | b51845e1b71685d25740bb2abec976762d4cd41b | 834afb4cbd1e5adeca58a1348aafc3f244eae94d | refs/heads/master | 2020-09-25T05:47:37.846581 | 2019-12-04T18:29:29 | 2019-12-04T18:29:29 | 225,931,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 823 | h | marbleShader.h | #pragma once
#include "DXF.h"
#include <stdio.h>
using namespace std;
using namespace DirectX;
class marbleShader : public BaseShader
{
private:
struct LightBufferType
{
XMFLOAT4 ambient;
XMFLOAT4 diffuse;
XMFLOAT4 specular;
XMFLOAT3 direction;
float specPower;
};
struct CameraBufferType
{
XMFLOAT3... |
3cb178ce298ef0bba65cdee6cbaf0d3ba8c9567f | 29116e539917eb31bc4ec56e015ee8f729dd951b | /Dioskuria-Server/src/globals.cpp | adb5744cb79b3a174f92750b620752dd190d455c | [
"Unlicense"
] | permissive | alvin-nt/Simple-TCP-Chat | 16ede731105ee77573b867f660b0986fcd2ace57 | 409c2fbf1567553d525d528d80a921af70e0344e | refs/heads/master | 2021-01-01T16:34:05.797158 | 2014-12-17T10:22:04 | 2014-12-17T10:22:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | globals.cpp | /*
* globals.cpp
*
* Created on: Dec 5, 2014
* Author: asseylum
*/
#include "ServerThread.h"
#include "ServerClasses/Group.h"
#include "ServerClasses/User.h"
#include <string>
using namespace std;
class Group;
class ServerThread;
std::vector<ServerThread*> threadPool;
std::vector<Group*> groupList;
bool... |
0181d7377a35f42a109a6e24fc86a7f7b3923fd0 | 311614346b33960f9d879105540ceaf10a02f83d | /Laboratori/Bloc 3/S4/4. Semàfor en display/MyLabel.h | 52fc2f9a0fb98143b32bb724aa4518a147e9329c | [] | no_license | mcasellas/FIB-IDI | d659e2e094326a53defd4b10f56967b7f3bb6742 | 84b1f353ec90b3a89fbbaae4cacc5f8adb80660d | refs/heads/master | 2021-04-25T06:30:58.442283 | 2018-07-16T21:27:50 | 2018-07-16T21:27:50 | 122,231,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | MyLabel.h | #include <QLabel>
class MyLabel : public QLabel {
Q_OBJECT
QString original;
public:
MyLabel(QWidget* parent = 0);
public slots:
void Truncar(int);
void SetOriginal(QString);
signals:
void enviaText (const QString &);
};
|
04b8293368e433d9a4984a1bf5d8ccdf9ccc5277 | 0f5e28d45ccc39f055aa4677eff874c561dc20db | /main.cpp | eba5b80e61333cd05d7758188e33d02c19f975b3 | [] | no_license | Maybe707/MLbasicExampleCPP | 6f821510782c57ec279dcdba73a8211e8cf74ae2 | 663dfc34b2b84f17266aefc1a34d59d006b4b5de | refs/heads/main | 2023-01-12T02:58:39.820863 | 2020-11-13T17:49:42 | 2020-11-13T17:49:42 | 312,641,054 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,204 | cpp | main.cpp | #include <iostream>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <random>
#include <sstream>
#include "mathlibrery.cpp"
int main()
{
srand(static_cast<unsigned int>(time(0)));
Matrix<double, 4, 3> streetlights = {{1.0, 0.0, 1.0},
{0.0, 1.0, 1.0},
... |
af30200a790179a7ad7dfaf0296ed608af4412b8 | cc4007fb715c470d27f5187742c7bccf47658426 | /1.cpp | 52966325564c3f0aa26f9fbb3da2d2e23fd277cb | [] | no_license | NguyenDat280898/T1911E | 4bbe30d9480aa234820a3e32ef0db903aea333a6 | 72190438fea23621cac36aff20e9e73486381cbd | refs/heads/master | 2020-09-23T00:28:04.480375 | 2019-12-13T08:02:00 | 2019-12-13T08:02:00 | 225,353,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | 1.cpp | #include <stdio.h>
#include <math.h>
int main (){
int a,b;
printf ("nhap 2 so a,b=\n");
scanf ("%d",&a);
scanf ("%d",&b);
if (a>=b){
printf ("ket qua :%f\n",(float)a/b);
}else{
printf ("ket qua :%d\n",a*b);
}
return 0;
}
|
ee18e4f427000134b9ae1ddc241618584297483f | 056c0c7ce2f7015805305a25a5443790629e3ba8 | /kod_client/main.cpp | ae058332c0c72f83523fb8df4fa908335fd21206 | [] | no_license | ModunZhang/kod_robot | 06ddc4b924d97ad2b00533273db1704802697750 | e79233394319190f852532666a2dbbfcbb1d9f0a | refs/heads/master | 2021-03-24T13:03:03.012543 | 2016-02-01T09:01:49 | 2016-02-01T09:01:49 | 35,024,596 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,248 | cpp | main.cpp | //
// main.cpp
// kod_client
//
// Created by gaozhou on 15/1/19.
// Copyright (c) 2015年 batcat. All rights reserved.
//
#include <iostream>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <assert.h>
#include <signal.h>
#include <unistd.h... |
e7dd0159b631f4b33ec273cd5fc33abc795438d1 | 8b9d62f665770666e11079cbfcaf133f4ad4e19c | /hazelcast/include/hazelcast/client/topic/listener.h | cda6259444b23aefbfb0abd870d510ba8c5f38b2 | [
"Apache-2.0"
] | permissive | ihsandemir/hazelcast-cpp-client | d30fee3a8f421d50f3f3e1cffbcd60d014c6e418 | cef6d68e47afb9ab91a3c73d2c8da9c08bf5d868 | refs/heads/master | 2023-08-17T15:27:35.847711 | 2023-08-14T17:56:02 | 2023-08-14T17:56:02 | 45,042,631 | 0 | 1 | Apache-2.0 | 2020-03-26T13:12:22 | 2015-10-27T13:25:02 | C++ | UTF-8 | C++ | false | false | 2,457 | h | listener.h | /*
* Copyright (c) 2008-2023, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... |
979ba43a1148f71557d0e5cf01b69ce0ca17db91 | 333c2bbb0703e2d6f0a8569d87691f802dc63030 | /utils/RobotDisplayer/ConfigurationManager.cpp | dedc0500ed990234693ff101d39a25bfa1398f30 | [] | no_license | tectronics/galileocpelyon | 6ec8134d224237fa24856f377b6ae05f43f1f4f2 | ac4328e8b5045fa8dec3e2d19cb9a83e97e27813 | refs/heads/master | 2018-01-11T15:01:00.830144 | 2011-09-28T19:27:46 | 2011-09-28T19:27:46 | 46,212,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,259 | cpp | ConfigurationManager.cpp | #include "ConfigurationManager.hpp"
#define P_RECENT_FILES "recentFiles"
#define P_GEOMETRY "geometry"
#define P_LAST_USED_FOLDER "lastUsedFolder"
#define P_FILTER_LIST "filterList"
#define P_SP_OM "SP_OpenMode"
#define P_SP_BR "SP_BaudRate"
#define P_SP_PN "SP_PortName"
#define P_SP_TO "SP_TimeOut"
#define P_SP_DB "S... |
263e49e40c409c34d3207262a3b541333e36f96e | 4ed7dd878a2b34bace1fd91a49106eebe570a360 | /HOJ/hoj1757.cpp | 245a6ce28817758eaf8c86fbc2ae53a7fc98672d | [] | no_license | mayukuner/AC | fb63be04a1fcf7f3af080aa50bf7c6e0e070b1b9 | c21b2970b7288d7b36cbed468101446c615e79ff | refs/heads/master | 2020-12-15T02:38:51.758676 | 2017-10-11T13:01:11 | 2017-10-11T13:01:11 | 46,971,415 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,272 | cpp | hoj1757.cpp | #include<stdio.h>
#include<algorithm>
#include<string.h>
#define For(i,n) for(int i=1; i<=n; i++)
#define Rep(i,n) for(int i=0; i<n; i++)
using namespace std;
typedef long long LL;
const int n=3;
int mod;
struct Mat{
int num[n][n];
Mat(){
memset(num,0,sizeof(num));
}
Mat operator*(Mat r){
Mat ret;
... |
064c90c0c9e0be9d6c26eb51f65311edee9822d7 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /base/trace_event/traced_value.h | a7e7ea4a35756705638d5b4ca8c40f9c663929d9 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 8,821 | h | traced_value.h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_TRACE_EVENT_TRACED_VALUE_H_
#define BASE_TRACE_EVENT_TRACED_VALUE_H_
#include <stddef.h>
#include <memory>
#include <sstream>
#include <str... |
690e272e52afce33304ff3f7f11d6ca7d0b8eb11 | 5afea00591b958a38b5b3989bba0b6d6460c8718 | /client/Game.h | 0431dfb1c72c3be0bb4c27eaa36cdc1fbe2129b3 | [] | no_license | proheap/UNO | 982d958271617f968a1d8188fdd2d010b907b7bd | e4224abb3434a258dcb7437ad367212134b6180e | refs/heads/master | 2021-06-14T14:20:41.196866 | 2021-04-20T19:45:22 | 2021-04-20T19:45:22 | 165,445,053 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | h | Game.h | #pragma once
#define FILE_CHANGE_COLOR "assets/change_color.png"
#define CHANGE_COLOR_POSX 400
#define CHANGE_COLOR_POSY 285
#define CHANGE_COLOR_WIDTH 150
#define FILE_BLUE "assets/blue.png"
#define FILE_RED "assets/red.png"
#define FILE_GREEN "assets/green.png"
#define FILE_YELLOW "assets/yellow.png"
#define COLOR_P... |
43df88bfe5277898b84d8624e69f17175bb6bc12 | ed42197170d1361f8c5f76de43d2e3c04c8ce79c | /include/bp_datastructures/patientestimates.h | 0ec25a769d7bc07403f28cf5060d6e6e902f8952 | [] | no_license | BayesPulse/libpulsatile | 2ab991bbffa111d70ec6a9e36c74bbe34141a227 | 42ef4acef1f0b663faf2a7446aaa67df2fed94d9 | refs/heads/master | 2022-05-01T21:52:54.961243 | 2019-09-06T00:41:47 | 2019-09-06T00:41:47 | 115,029,164 | 2 | 2 | null | 2019-12-19T02:11:16 | 2017-12-21T17:10:48 | Objective-C | UTF-8 | C++ | false | false | 2,311 | h | patientestimates.h | #ifndef GUARD_patientestimates_h
#define GUARD_patientestimates_h
#include <RcppArmadillo.h>
#ifndef NORINSIDE
#include <RInside.h>
#endif
#include <bp_mcmc/utils.h>
//
// patientestimates.h
// defining the estimates object used at the patient level
//
// Author: Matt Mulvahill
// Notes:
//
using namespace Rcpp;
... |
aa5ca3cb48aa91cc452416e2cde87a04fa51ef17 | 9e2201dccea7c979d25999935d46e6b08c3001cd | /recorderwidget.h | 12bced01454a98afc4dd642bc17b35c793983763 | [] | no_license | wbt729/pure | 93edf2e3a1e3efd81a8741d37d635fd50a01406b | 0ac56d440420d3756ffce0420992dd84460b08b4 | refs/heads/master | 2021-01-15T16:56:38.474510 | 2012-05-25T14:32:05 | 2012-05-25T14:32:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 423 | h | recorderwidget.h | #ifndef RECORDERWIDGET_H
#define RECORDERWIDGET_H
#include <QWidget>
#include <qdebug.h>
#include <QFile>
#include "ui_recorderwidget.h"
class RecorderWidget : public QWidget
{
Q_OBJECT
public:
RecorderWidget(QWidget *parent = 0);
~RecorderWidget();
private:
Ui::RecorderWidget ui;
QString filename;
QFile file... |
aadd3455e58a0bce3bcd78cb8ff17ddf5aa89e1b | f67f4c6d0d3570d1e99598f51af6fc08f57ad13a | /Recursion 2/Staircase.cpp | ae17003c9e68527bacaa901a936fdffe878d8256 | [] | no_license | prateek200/Data-Structures-and-Algorithm | 71af2e32d93b9efbc5c1a3ab2193d1121031a381 | 94a9be5140d18edd613d31aa6d314a69cf428202 | refs/heads/main | 2023-07-07T07:06:43.066760 | 2021-08-12T09:05:12 | 2021-08-12T09:05:12 | 381,647,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | Staircase.cpp | int staircase(int n, int count = 0)
{
if (n <= 0)
{
if (n == 0)
{
return (count + 1);
}
else
{
return (count);
}
}
int ans = staircase(n - 1, count);
int ans1 = staircase(n - 2, ans);
int k = staircase(n - 3, ans1)... |
22b44f6002fb91a79f70b1fe13b5bb97f7621302 | 4057c476345d46141e8c4f43707f2c31a237bdaa | /src/xci/core/EditBuffer.h | 499d60aaa2eca5d1b5a6f75c7ddfea7d46ec612c | [
"Apache-2.0"
] | permissive | rbrich/xcikit | 25c6895755841b9eaa8d6a5e8321e5e2fc48e8b0 | c1d7061ef0a4e8bfc88d784ae64ffc8ad5035e11 | refs/heads/master | 2023-09-04T15:20:40.477588 | 2023-08-31T20:23:15 | 2023-08-31T20:23:15 | 124,593,515 | 18 | 1 | Apache-2.0 | 2023-09-12T18:51:25 | 2018-03-09T21:09:23 | C++ | UTF-8 | C++ | false | false | 2,411 | h | EditBuffer.h | // EditBuffer.h created on 2021-02-27 as part of xcikit project
// https://github.com/rbrich/xcikit
//
// Copyright 2021 Radek Brich
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
#ifndef XCI_CORE_EDITBUFFER_H
#define XCI_CORE_EDITBUFFER_H
#include <string>
#include <string_view>
namespace xci:... |
b26cc067bcc12bdef0b77624c248f91a42136ecf | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-budgets/source/model/ExecutionType.cpp | 1ba198b0ea763e6efe861760b00b082022750241 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 2,778 | cpp | ExecutionType.cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/budgets/model/ExecutionType.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
... |
db6557d5dedb88751dd1f954426e43662d57cdce | cb99855f65aba64e6dc08fc280362e0be5941554 | /Lite oj/Accepted/1043 - Triangle Partitioning.cpp | 0473ffd000fa9d99444207af837d66f76595b821 | [] | no_license | tawsif93/ProgrammingCode | a4f2ed703a3ed45bad4f211ba16663ce9d9adb46 | b7a1445c7bdcd606ca419cf07806328d6d7ceceb | refs/heads/master | 2021-01-10T19:09:35.261052 | 2015-03-16T16:02:09 | 2015-03-16T16:02:09 | 32,336,279 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | 1043 - Triangle Partitioning.cpp | #include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
int t;
double a,b,c, AD,ratio;
cin >> t;
for(int i =0 ; i < t; i++) {
cin >> a >> b >> c >> ratio;
AD = a * sqrt( ratio /(ratio +1));
cout << "Case " << i+1 << ": " << setprecision(12) << AD << endl;
}
}... |
d42e451c46a4fcf33d05504005266c2397c3ea08 | 62bf95c1cc2607e2b0a97ccc54e2fb85c1a38164 | /Server/Src/GameServer/GameObject/SceneObject.cpp | a7fe873dc3a5a74cdb97cac269b8d887da6af7b9 | [] | no_license | pengbn/GameProject3 | e053c7d09993c5bd4952061ead49d8b36ae56266 | da290e812330ae96f2b49b5d8098a6718433a6ca | refs/heads/master | 2021-08-08T02:45:48.615017 | 2017-11-09T12:12:15 | 2017-11-09T12:12:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,614 | cpp | SceneObject.cpp | #include "stdafx.h"
#include "SceneObject.h"
#include "../GameService.h"
#include "../Message/Msg_Copy.pb.h"
#include "BuffObject.h"
#include "Log.h"
CSceneObject::CSceneObject(UINT64 uGuid, UINT32 dwActorID, UINT32 dwObjType, UINT32 dwCamp, std::string strName)
{
m_dwProxyConnID = 0;
m_dwClientConnID = 0;
m_dwObj... |
9165effb45e791a2e3f7245f5ab0b4827daf0d40 | 5ff233c4002e05e6a61fd0ca42eae1b265ce8ac8 | /strings/finding-borders.cpp | a2c7af23e3be94df9842cf426ffe0ad0e8e34034 | [] | no_license | oscarburga/cses-solutions | 88d8aa3b4f2b2445c3a4e0e0bc685b0972f3c9d5 | 3912900017c29b03208d867c4de3b123e8b68f49 | refs/heads/master | 2023-03-25T21:04:42.506801 | 2021-03-26T03:29:04 | 2021-03-26T03:29:04 | 283,669,978 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | finding-borders.cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int maxn = 1e6+5;
char s[maxn];
int n, b[maxn];
int main(){
scanf("%s", s);
n = strlen(s);
for(int i = 1, j = 0; i<n; i++) {
while(j > 0 && s[i] != s[j]) j = b[j-1];
b[i] = (j += s[i] == s[j]);
}
vector<int> ans;
for(int j = b[n-1]-1;... |
2a940d1ada0f7e8cf585d774888e228f74484c1d | 225b9a9ce807b669f5da0224b374bbf496d0bc70 | /其他/搜索/折半搜索/lg3067.cpp | 4ccd02256c7e20d915e068f31dd9160bb2aec941 | [] | no_license | Kewth/OJStudy | 2ed55f9802d430fc65647d8931c028b974935c03 | 153708467133338a19d5537408750b4732d6a976 | refs/heads/master | 2022-08-15T06:18:48.271942 | 2022-07-25T02:18:20 | 2022-07-25T02:18:20 | 172,679,963 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 19 | cpp | lg3067.cpp | ../../../lg3067.cpp |
c926f19a73b992fd63b18de662bfb01042d6e702 | 011c2301acc7dd74e49a053f1917398363220024 | /Using_CPP/Graphics/project1.main.cpp | 06e5e6c1fe2d0c8658ebc0cf1c65129e415920a4 | [] | no_license | KaushalPrajapat/Programming_CPP | 23bc572a7d7683e02306183d0b5b5d2b62e1539b | 3e60d12b16ba79645772845ab13bd474fb4cb306 | refs/heads/master | 2023-04-20T08:41:20.354171 | 2021-05-19T17:58:02 | 2021-05-19T17:58:02 | 368,956,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 169 | cpp | project1.main.cpp | #include<stdio.h>
#include<graphics.h>
int main()
{
int gd = DETECT, gm;
initgraph(&gd,&gm,"");
circle(100,100,20);
//fillcolor(12);
getch();
closegraph();
}
|
321f2d6881949e12a4fe16853b63fdd25451a679 | 8743613cdbf89c3457d2ddd65ecbb48959ef1585 | /MenuActions.h | 355264a1ea2cc6128676f7e4bb764e33f1bda326 | [] | no_license | tcolussi/Cambrian-src | e17334730d6cc38fb44d9d8a3db0c35fc1e05853 | ecc61a5f4748be4cf97533313f7cb017f7c52f26 | refs/heads/master | 2021-01-09T07:18:40.883883 | 2014-10-31T18:46:12 | 2014-10-31T18:46:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,481 | h | MenuActions.h | #ifndef MENUACTIONS_H
#define MENUACTIONS_H
#ifndef PRECOMPILEDHEADERS_H
#include "PreCompiledHeaders.h"
#endif
enum EMenuAction // Must be in sync with c_mapepszmMenuActions[]
{
eMenuActionSeparator = 0xFF, // Add a separator when adding menu actions to a menu (the separator is usually to separate group of menu ... |
cdc0f25d04023ddcceea88fd8e8f443a0162d19a | 72214f65c9c49de93d9e8413e538d1538a8e2eb3 | /Source/Old/Core/external/fbx/fbx_animation_curve_node.cpp | 674b626fff070b7300c6a560f150e21cdfdeaacc | [] | no_license | MegaMilkX/Aurora2 | f62a52eadba6a82ad9dfa9e83f551972e424e161 | 23702d16f6074e8b5cfbd1330dac2ab71534f5ae | refs/heads/master | 2020-03-22T14:39:34.358212 | 2018-12-25T21:21:33 | 2018-12-25T21:21:33 | 140,195,187 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | fbx_animation_curve_node.cpp | #include "fbx_animation_curve_node.h"
#include "fbx_scene.h"
bool FbxAnimationCurveNode::Make(FbxNode& node) {
if(node.GetName() != Type()) {
return false;
}
uid = node.GetProperty(0).GetInt64();
name = node.GetProperty(1).GetString();
size_t child_count = scene->Connections().Co... |
55c48e0fbd7e19e08718436fe9e374feb19da657 | 365fdd982afe7e2a381afebcd7cee7a410265375 | /mountainprocess/src/mpdaemon.cpp | 2e85e0ab099b80594e8b3fae88babd60decb38b7 | [] | no_license | DupretLab/mountainlab | e413fc8c24111cf70f799697aae13ce16eb3e93c | baa9a70d0860f29515538682a4bb7f55208514f7 | refs/heads/master | 2021-01-20T13:49:59.878154 | 2017-02-21T14:33:55 | 2017-02-21T14:33:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,732 | cpp | mpdaemon.cpp | /******************************************************
** See the accompanying README and LICENSE files
** Author(s): Jeremy Magland, Witold Wysota
** Created: 5/2/2016
*******************************************************/
#include "mpdaemon.h"
#include <QEventLoop>
#include <QCoreApplication>
#include <QTimer>
#i... |
e587bc13c142d79c8c1d42e3db70925a1556e031 | 9bef8ffc3e9a65e49a24ed595b76e6bd5e8d34cd | /src/scaling_limiter.cpp | 2ff3df4cd961bac6f0024aa4ea001815e970db46 | [] | no_license | JunmingDuan/TRT | 0f62e9b9abd52ebb708b06c5fe228165b7f16987 | 029a9809dac5f0dcf5e5ac861a872ec371446769 | refs/heads/master | 2021-04-28T09:38:39.193538 | 2018-03-15T12:32:14 | 2018-03-15T12:32:14 | 122,044,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | scaling_limiter.cpp | #include "scaling_limiter.h"
void scaling_limiter::run(const VEC<double>& val, EVEC& sol)
{
if(sol.size() == 1) {
std::cout << "P1, wrong scaling_limiter choice!" << std::endl;
return;
}
u_int ng = val.size();
double t, min_val(EPS);
for(u_int j = 0; j < ng; ++j) {
min_val = std::min(min_val, val... |
d38c2ced58d3b8d8d5386697c58e4d28c2cc4ce9 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5766201229705216_1/C++/lnzsy/full-tree.cpp | 78ee14225bd782ba0e124d7f068c1bbbbbf9a8c0 | [] | 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 | 2,051 | cpp | full-tree.cpp | #include <cstdio>
#include <cstdlib>
#include <climits>
#include <cstdint>
#include <cmath>
#include <utility>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <string>... |
f076ff2d3738e1c64d3e96e1d87e6138ca6da697 | 3bf6ac9ead93f9823b656548dcb41db86505fd98 | /Src/ARsf-simple/Common/etc/BufferedSerial.h | 70a4b5e4208d08178b19a69e2acb0060a11ebb58 | [
"MIT"
] | permissive | jjuiddong/ARStarCraft | b7cba2384805b80f35b7c6157773611d341e2d25 | 421e4171af69d122a6e911506b3e8456e0ac3d3d | refs/heads/master | 2020-04-17T13:21:49.227824 | 2016-09-19T23:49:54 | 2016-09-19T23:49:54 | 67,312,882 | 0 | 1 | null | null | null | null | UHC | C++ | false | false | 1,734 | h | BufferedSerial.h | //
// author: jjuiddong
// 2015-04-04
//
// CSerial 클래스를 상속 받아, ReadStringUntil() 함수를 구현한 클래스다.
// 특정 문자 (개행문자) 단위로 정보를 읽어 올 때, 고속으로 동작하는 CSerial 클래스를
// 오버헤드 없이, 버퍼를 효율적으로 관리하면서, 원하는 기능을 제공하는 역할을 한다.
//
// 링버퍼로 구현되어서, 버퍼 재할당, 복사가 일어나지 않게 했다.
//
// 이 클래스를 사용할 경우, ReadData()함수 대신, ReadStringUntil() 함수를 써야 한다.
//
//
// ... |
44bca9dca09da1ffd34263414eb3eee6091b3cf9 | fe2389a3df34566d15de5d84d01edc382850eef1 | /src/test/regionmakertest.cpp | 8f5a9f7b243f63dfa42a2cb19fcdba9fea30a4eb | [
"MIT"
] | permissive | dhasegan/Fractalmaker | 9e766465362e2372b0067dd86d42274a3e2bf855 | c4d2c68b86f839939c3039b6b98565a6ed4f7eef | refs/heads/master | 2021-01-23T20:18:49.742672 | 2013-11-03T19:22:32 | 2013-11-03T19:22:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | cpp | regionmakertest.cpp | #include <complex>
#include <fstream>
#include <iostream>
#include "regionmaker.hpp"
#include "region.hpp"
#include "regionvariable.hpp"
using namespace std;
int main()
{
string regionFilename = "regionmakertestoutput.regionvar";
// Print values in a file:
complex<double> alu,arl,blu,brl;
cout << "Print 2... |
b1e91bba8ac567bb071da5e921a01d5afa4159dc | c9850082dcd4ec4580bb06a7fa3f5d6394a72dbe | /srcs/enclave/ra_enclave.cpp | d4b73b7c8f2bd818584d65ed816c1c5e27f6b7d5 | [
"MIT"
] | permissive | jianlinjiang/SAR | 41205227608a825c10326c4e9e36d63eac500d64 | 1087e8b4253f6dfd73fcb7cc584cf0c3f022276d | refs/heads/main | 2023-02-24T02:54:34.685138 | 2021-02-02T07:37:41 | 2021-02-02T07:37:41 | 310,586,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | cpp | ra_enclave.cpp | // MIT License
// Copyright (c) 2020 jianlinjiang
#include <assert.h>
#include "enclave_t.h"
#include "enclave_util.h"
#include "sgx_tkey_exchange.h"
#include "sgx_tcrypto.h"
#include "string.h"
//
static const sgx_ec256_public_t g_sp_pub_key = {
{0x72, 0x12, 0x8a, 0x7a, 0x17, 0x52, 0x6e, 0xbf,
0x85, 0xd0,... |
33aac5daaafcedf61ec287ce4e22e369484eae15 | e1d76663bb020dc27abb53c8f8bb979b4738373f | /source/support/support/scopepointer.cc | 0d3eaf31355950499833e0d0ccf50356f1b52d5a | [] | no_license | fanopi/autoFloderSync | 97e29f9aa24bc8bf78aa8325996e176572f46f8a | 5232e01f43c9cc31df349a8b474c5d35a1e92ac5 | refs/heads/master | 2020-06-03T15:28:13.583695 | 2011-09-19T13:52:25 | 2011-09-19T13:52:25 | 2,338,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | cc | scopepointer.cc | /*
* autoPtr.cc
*
* Created on: 2011-4-18
* Author: Administrator
*/
#include"scopepointer.h"
#include <stdio.h>
#include "stdlib.h"
#include "../library/stdlib.h"
#include "datastruct/stlsupport.hpp"
namespace YF{
class TestMe{
public:
explicit TestMe(int i): i_(i){
printf("TestMe ... |
02c863c96443d348f75fed1501462b837c07cbcc | 4eabe60e811298986a77b61b255c7826aad9b4e1 | /src/controller/page_controller.cpp | f1032749d2fef08acf08054f243a62bfa6c5d6b2 | [] | no_license | phoxicle/pheide-cpp | ed05a219856535e63a1d4dbaf98b5cef1ab36ea4 | 4d8e26a58df08c72807e1157d9bd75616083637c | refs/heads/master | 2021-01-13T14:19:47.508822 | 2017-03-17T08:42:13 | 2017-03-17T08:42:13 | 79,050,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | page_controller.cpp | #include <map>
#include "page_controller.h"
#include "../repository/page_repository.h"
#include "../repository/tab_repository.h"
#include "../controller/tab_controller.h"
#include "../model/page_model.h"
#include "../model/tab_model.h"
namespace pheide {
namespace controller {
void PageController::doAction(std::strin... |
d8dd41bd863b478e7650b1752392eada923ba2cb | 062f73b7e41f6a3a9f6a33845e60788638bcadb5 | /src/SteenX/LLVM/FunctionTable.cpp | b56f844ef2fce744321719b1ef33bfecc29a2c94 | [
"MIT"
] | permissive | cherusker/racehog | 7a75d98391b98f1c9d76d1d7f13c19c635fd7d0b | 30f6285866f528fae0e05a8e8f2c354b1e171b1f | refs/heads/master | 2020-05-22T14:10:14.931131 | 2019-05-13T08:35:56 | 2019-05-28T20:13:52 | 186,378,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | FunctionTable.cpp | #include "SteenX/LLVM/FunctionTable.h"
racehog::FunctionTable::
FunctionTable(Program& prog)
: prog(prog) {
entry = prog.createFunction();
(void) prog.setEntryPoint(entry);
}
racehog::FunctionReference
racehog::FunctionTable::
get(const llvm::Function* llvm_func) {
// std::iterator<llvm::Function*... |
6354a6dd611e00f497c3c121cc729ba2d5c07a78 | 3dd917982015664f204b77cda502600b92a084de | /LEDTableEngine/include/LEDTableEngine/controllers/matrixController.hpp | f4e3317adadacddf271afcecd28f39884bd33112 | [
"Apache-2.0"
] | permissive | michaelbarbera/LEDTableEngine | 9b6bbd6d2c11138fe501a00d430f4144aa195622 | d7f5fd1e3030c0833086269a6c462954c0fe4d18 | refs/heads/master | 2021-07-03T13:32:41.955302 | 2021-05-05T10:36:48 | 2021-05-05T10:36:48 | 222,204,688 | 0 | 0 | Apache-2.0 | 2019-11-17T06:02:37 | 2019-11-17T06:02:36 | null | UTF-8 | C++ | false | false | 802 | hpp | matrixController.hpp | #ifndef _H_MATRIX_CONTROLLER_
#define _H_MATRIX_CONTROLLER_
#include <LEDTableEngine/core/baseController.hpp>
#include <LEDTableEngine/controllers/TMP2.hpp>
/**
* @brief Matrix controller implementation that renders the generated image
* onto the LED matrix hardware.
*/
class MatrixController : public led::BaseCon... |
1e7dab2a9a87e1b7ff7f15056b7df9033919ef00 | 187f6bb6b568e8bb42bafab8f81133d4ad5f383b | /Siv3D/include/Siv3D/AssetHandle.hpp | d152f23aaca892d4200a42171ab0ca7c714582c5 | [
"MIT"
] | permissive | Reputeless/OpenSiv3D | f2938ea8f5c8de2e6e3b200046943f3e5398a2a1 | 7d02aa0f4824d1ecbd50ea1c00737cc932332b0a | refs/heads/main | 2023-07-29T06:57:44.541422 | 2023-07-13T03:41:37 | 2023-07-13T03:41:37 | 306,929,779 | 0 | 0 | MIT | 2021-09-02T10:37:00 | 2020-10-24T16:55:13 | C++ | UTF-8 | C++ | false | false | 2,477 | hpp | AssetHandle.hpp | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2023 Ryo Suzuki
// Copyright (c) 2016-2023 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <memory>
# include "Co... |
6b9089947d339dacda0c3e40a3f01932ee57bd91 | 590334eabc56115c000ac598160e170aa77c7c55 | /lista revisao/primos.cpp | 6b24da5152391faa7dda7fb8fe85bb9de83c4db1 | [] | no_license | arthur-es/aed1 | f72deabdee4b58c6cae1673f29714b9fc352f9e0 | 86df5401a3b53e292355d4b4fcb191566a5a48d0 | refs/heads/master | 2020-07-17T17:00:57.720424 | 2019-09-03T14:32:20 | 2019-09-03T14:32:20 | 206,059,438 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 685 | cpp | primos.cpp | #include<iostream>
using namespace std;
int main(){
int qtdEntrada, numeros[101];
cin >> qtdEntrada;
for(int i=0; i < qtdEntrada; i++){
cin >> numeros[i];
}
/// [2, 3, 11, 16, 60]
for(int i = 0; i < qtdEntrada; i++){
if(numeros[i] == 2){
cout << "primo\n";
... |
ce2c00dca5341e07ae380f4ca2d9c6a8914da056 | 724475e028ff39a9384a4f4a14d3b770138f7ece | /SWIGFiles/DMPlugInMenu.h | fc1e5ed46d6efb7af64fc1fcecbadf1eda39d8ce | [] | no_license | JJPPeters/Dimpy | caa19fe87222a20be96ee29c5742124402b7127c | 57d0440a3b4bada97f1554e144c1b0e079ff56ea | refs/heads/master | 2021-05-30T06:19:18.506016 | 2015-10-29T20:44:17 | 2015-10-29T20:44:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,984 | h | DMPlugInMenu.h | #ifndef __PLUGINMENU__
#define __PLUGINMENU__
//
// Changes needed for second version:
//
// 1 - plug-ins should not "register" or "unregister" menu anymore.
// 2 - the Adjust() function should not have a (void) argument list.
// 3 - DoMenuAction now should return a bool
// 4 - plug-ins should prefer the AddAction() a... |
5b1a536c7c2f95405fb2c1130af5be52cd645cb6 | f430993fe4c46836aabef1fb8a650ea5a465b00a | /test_interrupts/rov3rTimer.cpp | fc0889f6a5ab0147a90e9ee671451a79fa834f07 | [
"MIT"
] | permissive | okeltw/Rov3r | 6c3bb516603f15e67b086cc82db89029d845330d | 14c4056f92040433be82c1986b799405734cf05a | refs/heads/master | 2021-01-10T05:50:46.629452 | 2015-11-29T23:56:43 | 2015-11-29T23:56:43 | 46,578,115 | 0 | 0 | null | 2016-02-21T15:30:42 | 2015-11-20T17:59:16 | C++ | UTF-8 | C++ | false | false | 297 | cpp | rov3rTimer.cpp | #include "Arduino.h"
#include "rov3rTimer.h"
rov3rTimer::Setup(){
noInterrupts();
TCCR1A = 0;
TCCR1B = 0;
TCNT1 = 0; // preload timer @ 0-16MHz/256/2Hz
TCCR1B |= (1 << CS12); // 256 prescaler
TIMSK1 |= (1 << TOIE1); // enable timer overflow interrupt
interrupts();
} |
b99046085a3f232ed5bc20902e5c8034d13d3a1a | 64874bd1010548c7f5a6e3e8902efa63baaff785 | /src/frontends/lean/tokens.h | 2134e3e2ae6dbd82d61aff4cc1efac868ec8fa48 | [
"Apache-2.0"
] | permissive | tjiaqi/lean | 4634d729795c164664d10d093f3545287c76628f | d0ce4cf62f4246b0600c07e074d86e51f2195e30 | refs/heads/master | 2021-05-29T21:29:56.480934 | 2015-01-30T18:37:49 | 2015-01-30T18:37:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,178 | h | tokens.h | /*
Copyright (c) 2014 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "util/name.h"
namespace lean {
void initialize_tokens();
void finalize_tokens();
name const & get_period_tk();
name const & get_placeholder_tk();
... |
74f18fafa71b38cd7438446e1f540638caf30d89 | 11372f47584ed7154697ac3b139bf298cdc10675 | /刷题比赛/图论/POJ2631.cpp | 876d0a286cc19b0c9842546bd335b73ad85f6295 | [] | no_license | strategist614/ACM-Code | b5d893103e4d2ea0134fbaeb0cbd18c0fec06d12 | d1e0f36dab47f649e2fade5e7ff23cfd0e8c8e56 | refs/heads/master | 2020-12-20T04:21:50.750182 | 2020-01-24T07:43:50 | 2020-01-24T07:45:08 | 235,958,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,511 | cpp | POJ2631.cpp | /*
独立思考
一个题不会做,收获5%,写了代码10%,提交对了30%,总结吃透了这个题才是100%.
*/
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
using namespace std;
template <typename T>
void read(T &x)
{
x = 0;
char c = getchar();
int sgn = 1;
while (c < '0' || c > '9') {if (c == '-')sgn = -1; c = getchar();}
while (c >= '0... |
d29d1be35745bfb2dd70ada36d6a52073b0d416b | d446ed18144ac191377c2a5e0585fb61317b96c2 | /src/eepp/ui/uiloader.cpp | c5e5ba52fc09d72e130a61cd0a7fe7514c543b6e | [
"MIT"
] | permissive | thyrdmc/eepp | 6f8ee84f048efaf1b3aca931ea612e61136e15c4 | 93b72b1bcab794a43706658e7978c5e852c3b65a | refs/heads/master | 2023-06-25T11:18:16.371330 | 2019-05-22T04:26:41 | 2019-05-22T04:26:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,426 | cpp | uiloader.cpp | #include <eepp/ui/uiloader.hpp>
#include <eepp/graphics/renderer/renderer.hpp>
#include <eepp/scene/scenenode.hpp>
#include <pugixml/pugixml.hpp>
namespace EE { namespace UI {
UILoader * UILoader::New() {
return eeNew( UILoader, () );
}
UILoader::UILoader() :
UIWidget( "loader" ),
mRadius(0),
mOutlineThickness( ... |
a2e0aa709955f6ec558e7ef9fa95f0b7ac8cee15 | 1621f37d257c909f055d7d8065cee1a838014cb3 | /12月9校内练习赛/J.cpp | 9cb268ec195ff18f070d615d8aacf1f5623f4bc4 | [] | no_license | xiaohejun/ACM | a92ced7eca2c161f8cabb22043bf6b76272efe4d | 72b647db914b1cfa9d48921532c347d862447222 | refs/heads/master | 2021-08-28T07:10:11.824807 | 2017-12-11T14:39:17 | 2017-12-11T14:39:17 | 113,869,837 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | J.cpp |
using namespace std;
typedef pair<int, int> P; // pair自己百度
P p[55];
int main(int argc, char const *argv[])
{
//freopen("in.txt", "r", stdin);
int t,N;
int a,b;
cin >> t;
while(t--) { // 输入测试组数
cin >> N; // 输入N
for (int i = 0; i < N; ++i)
{
cin >> p[i].first >... |
0062fd4e3fc9bc996f13de9c70eb8344e045d3d0 | 3f3a42f429f8bcd769644148b24c3b0e6e2589ed | /U2_3D/Src/dx9/U2Dx9FrameSection.cpp | 519f7177e668fc5021cd3e1ab514916c967c105a | [] | no_license | DanielNeander/my-3d-engine | d10ad3e57a205f6148357f47467b550c7e0e0f33 | 7f0babbfdf0b719ea4b114a89997d3e52bcb2b6c | refs/heads/master | 2021-01-10T17:58:25.691360 | 2013-04-24T07:37:31 | 2013-04-24T07:37:31 | 53,236,587 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | cpp | U2Dx9FrameSection.cpp | #include <U2_3D/Src/U23DLibPCH.h>
#include "U2Dx9FrameSection.h"
//-------------------------------------------------------------------------------------------------
U2FrameSection::U2FrameSection()
:m_bFrameInBegin(false),
m_pOwnerFrame(0)
{
}
//------------------------------------------------------------... |
cca6ad39b6735a9d67b0cfc6b0b048b787ea1626 | f1d322d0fbd53c9fd1ea9968480682aa6b7f9dd0 | /Graphs/Kruskal.cpp | ef9a068ef9bbf104447e4a8f7a07281226f5427b | [] | no_license | JoseJuanSE/Reference | bfe8f4426bf9c1d046298dbff26cae2addef264e | 6083e12f1d4fc2fe0125d7ee5a535e6bf3c0ce4f | refs/heads/master | 2023-06-09T04:21:05.693716 | 2023-05-29T20:17:56 | 2023-05-29T20:17:56 | 253,330,637 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,320 | cpp | Kruskal.cpp | #include<bits/stdc++.h>
using namespace std;
struct UFDS{
vector<int>p,r;
int ns;
UFDS(int n){
ns=n;
n++;
p.assign(n,0);
r.assign(n,1);
for(int i=0;i<n;i++)p[i]=i;
}
int FindSet(int i){return p[i]==i?i:p[i]=FindSet(p[i]);}
bool IsSameSet(int i,int j){return FindSet(i)==FindSet(j);}
int NumSet(){retur... |
c7cc4a0df7b3b2ff4091ed6edead7de2ea9c4521 | 23a90914cf22932f841b470397c8ab47b84f1e70 | /chapter7/ex7_32.cpp | fc498767e5f7ae9650613ac34aa722d23826b33c | [] | no_license | suisuihan/cpp-primer | e5debbf3f74063fc8450d9e5fa6a071a3b9bf6b5 | 402754e7af5aaa7219b7dea5649bffe073406431 | refs/heads/master | 2020-04-12T05:40:12.803413 | 2016-10-11T17:08:22 | 2016-10-11T17:08:22 | 61,215,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 100 | cpp | ex7_32.cpp | #include <string>
#include <iostream>
#include "ex7_32.h"
using namespace std;
int main(){
}
|
dfdaea3847c7ba44cf36bee65e79afbbccca68d5 | 89273186f1772c05fc716125e9a4e96e42507d1d | /CN/SocketProgramming/Raw Sockets/Learn/server.cpp | 9544a7db3afbdad4f8b9100b58b2ca184898fe99 | [] | no_license | Avi-ab007/Semester | 10aa5e4f60280598ddcccb4d9a17237f2c4ca778 | 289eed63367b6da6919c7fa396efb389d6012dbc | refs/heads/master | 2020-03-12T11:14:51.418401 | 2019-04-02T15:54:39 | 2019-04-02T15:54:39 | 130,591,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | cpp | server.cpp | #include <bits/stdc++.h>
#include <stdio.h> //For standard things
#include <stdlib.h> //malloc
#include <unistd.h>
#include <sys/socket.h>
#include <string.h> //memset
#include <netinet/ip_icmp.h> //Provides declarations for icmp header
#include <netinet/udp.h> //Provides declarations for udp header
#incl... |
57132f2c3b1f7970fb2b851fbfbb089d849b5706 | fb71c08b1c1e7ea4d7abc82e65b36272069993e1 | /src/CMouseObserver.cpp | 04680fe6a73aecbaa66238b2a1a4ac33a800b030 | [] | no_license | cezarygerard/fpteacher | 1bb4ea61bc86cbadcf47a810c8bb441f598d278a | 7bdfcf7c047caa9382e22a9d26a2d381ce2d9166 | refs/heads/master | 2021-01-23T03:47:54.994165 | 2010-03-25T01:12:04 | 2010-03-25T01:12:04 | 39,897,391 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | CMouseObserver.cpp | /** @file CMouseObserver.cpp
* @author Rafal Malinowski
* @date 2009.01.07
* @version 0.6
* @brief klasa CMouseObserver jest abstrakcyjna klasa po ktorej beda dziedziczyc wszystkie klasy zainteresowane obsluga myszy
*
*
*/
#include "CMouseObserver.hpp"
using namespace logging;
int CMouseObserver::obsCoun... |
8ac2740e9e5dda5e743eb7d0c8d5fe94ace861da | f43f87177952e6f9dec6ec87e9293a03d9878972 | /ament3/ament3.cpp | 2cab2c2e5575d6a4a0283378abbaf9a0e7d85313 | [] | no_license | abrunette/CS211 | 28e02a622525903319b2f1b97beb09516a08e1fb | e3c168a8840a59feeb1b8624f1f050636aaef06d | refs/heads/master | 2021-07-04T07:36:53.596860 | 2017-09-23T20:04:59 | 2017-09-23T20:04:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | ament3.cpp | //Purpose: Read in family members to a linked list
//Input: Input file
//Output: Requested information on input file
//Date: 2016.05.05
//Author: Aaron Brunette
//Email: brune010@cougars.csusm.edu
#include<iostream>
#include<string>
#include"Family.h"
using namespace std;
int main()
{
Family USAFamilies;
USAFamilie... |
48f5303a8081acb4ba84aa02abdc1190f4feb484 | 6b37a2f346bf3da546c39ce8582fda3df3a23f4d | /src/include/godec/channel.h | dcaf724675d875be51b79af54eae93867970cbb6 | [
"MIT"
] | permissive | raytheonbbn/Godec | c0dbb0d21cc720b43b5216eb06b0fded2766b86e | d70b3034284f2f275e7e8a4169080fb63e20a4e7 | refs/heads/master | 2023-07-20T01:32:02.913156 | 2022-12-20T15:32:37 | 2022-12-20T15:32:37 | 170,737,675 | 10 | 4 | MIT | 2023-06-13T22:55:05 | 2019-02-14T18:21:06 | C++ | UTF-8 | C++ | false | false | 4,276 | h | channel.h | #pragma once
#include <list>
#include <float.h>
#include <boost/thread/mutex.hpp>
namespace Godec {
enum ChannelReturnResult {
ChannelNewItem,
ChannelClosed,
ChannelTimeout
};
// This is the channel that contains a list of types items. This is overall a very useful class, as you can use it somewhat like... |
9b6947d29332378b3153668b5c091854f0c05402 | b86f9b27178268065fc56e75af47356bb3c73bea | /Implementering/SW PC/RS232IF/rs232IF/rs232IF/rs232IF.cpp | 5816c5ee7f28904ac9f29ba4112dbb531fac79a0 | [] | no_license | mickkn/E2PRJ2 | 5b585957333aa6577785557455164fe94863f4e5 | 3d81a7ce6ee45d73293da281fdad8fef132a4b6e | refs/heads/master | 2021-01-13T02:16:27.548333 | 2014-05-27T15:38:50 | 2014-05-27T15:38:50 | null | 0 | 0 | null | null | null | null | ISO-8859-15 | C++ | false | false | 1,561 | cpp | rs232IF.cpp |
#include "rs232IF.h"
#include <string>
#include <iostream>
using namespace std;
RS232IF::RS232IF()
{
serial.Open(port, 9600);
}
RS232IF::~RS232IF()
{
// forsøger at lukke serie port.
serial.Close();
}
bool RS232IF::validLogin()
{
string start = "SL";
string data = "9999";
char slut = '\r';
string message ... |
e6c40ce7b21a8b3ff89ee237231da7f8def950c7 | 202b96b76fc7e3270b7a4eec77d6e1fd7d080b12 | /modules/hardcore/opera/opera_template.inc | 0510a1ffb5dff21255592c44659fb18e7be2e75e | [] | no_license | prestocore/browser | 4a28dc7521137475a1be72a6fbb19bbe15ca9763 | 8c5977d18f4ed8aea10547829127d52bc612a725 | refs/heads/master | 2016-08-09T12:55:21.058966 | 1995-06-22T00:00:00 | 1995-06-22T00:00:00 | 51,481,663 | 98 | 66 | null | null | null | null | UTF-8 | C++ | false | false | 663 | inc | opera_template.inc | // <-*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*->
// <copyright header>
// <autogenerated opera.py>
/* This file is included by modules/hardcore/opera/hardcore_opera.cpp. */
CoreComponent::CoreComponent(const OpMessageAddress& address, OpComponentType type)
: OpComponent(address, type)
,... |
12b676a1b8aeebee4be78e7b33d55292271c8912 | 9ecfba5fa380058962cf654d46d2de320f071abb | /swap_nodes_in_pairs.cpp | 94a901611605b2b91bb6f61a100d4d81cd1e090f | [] | no_license | fighter007/LeetCodeInCpp | b427b8f22e69b5d886dd420b8308e6569dea0568 | ee8a49e68122866fa6e80271970c326ffa37892a | refs/heads/master | 2021-01-11T13:34:08.630970 | 2014-09-29T11:18:59 | 2014-09-29T11:18:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | swap_nodes_in_pairs.cpp | class Solution {
public:
void insert_two_nodes(ListNode *node_1,
ListNode *node_2,
ListNode *&head,
ListNode *&tail) {
if (NULL == head) {
head = node_2;
tail = node_2;
}
else {
if (node_2 != NULL) {
tail->next = node_2;
tail = node_2;
}
}
... |
65cec92e0c50935ea5c46f0640486b389baf0749 | a017544e321047dc0fc2478807eaca5a584588b3 | /Detectron2/Utils/Timer.h | e1d59229a453ff4dd46043fbaa36a453014dc483 | [] | no_license | ttanzhiqiang/Detectron2_Project | d461c95ede6ed3a4affb182abf330c002ac119e8 | 91bf05ab3b0be0a8e20a244b2729f576160d6953 | refs/heads/main | 2023-07-02T08:22:52.736982 | 2021-08-06T10:13:00 | 2021-08-06T10:13:00 | 381,316,589 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 401 | h | Timer.h | #pragma once
#include <Detectron2/Base.h>
namespace Detectron2
{
/**
* ms-level timing of blocks. In Python, this is equivalent to:
*
* import time
* t0 = time.time()
* ...
* print(">>>>>>> {}: {:.2f}ms".format("some name", (time.time() - t0) * 1000))
*/
class Timer {
public:
Timer(const st... |
71033dff6ce562ae12c5bfd54486f003b539e8b7 | 108c35f55f35f887fd01958ea95d0baa7c3e0034 | /zybooks/8 - Objects and Classes/8.12 Vector ADT/8.12.1.cpp | 6dd4d27d0ab76e7a5cc735c14ffada6a9a58050f | [] | no_license | jcrantek/CPPPlayground | 24e391bc1e16f069fa3c162cf884e954eab9354b | 9b45a75030cf304e5fb306b045a47962b7d895b6 | refs/heads/master | 2022-09-04T02:14:01.749761 | 2019-08-13T14:41:22 | 2019-08-13T14:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | cpp | 8.12.1.cpp | // Modify the existing vector's contents, by erasing the element at index 1 (initially 200),
// then inserting 100 and 102 in the shown locations.
// Use Vector ADT's erase() and insert() only, and remember that
// the first argument of those functions is special, involving an iterator and not just an
// integer. Sam... |
535be87d99a35245b2eb698dc2a369ed79508e16 | a91796ab826878e54d91c32249f45bb919e0c149 | /modules/gapi/include/opencv2/gapi/video.hpp | 4dcc1d4182410b1e8ba3d672652ad5a3be31ced6 | [
"Apache-2.0"
] | permissive | opencv/opencv | 8f1c8b5a16980f78de7c6e73a4340d302d1211cc | a308dfca9856574d37abe7628b965e29861fb105 | refs/heads/4.x | 2023-09-01T12:37:49.132527 | 2023-08-30T06:53:59 | 2023-08-30T06:53:59 | 5,108,051 | 68,495 | 62,910 | Apache-2.0 | 2023-09-14T17:37:48 | 2012-07-19T09:40:17 | C++ | UTF-8 | C++ | false | false | 16,534 | hpp | video.hpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
//
// Copyright (C) 2020 Intel Corporation
#ifndef OPENCV_GAPI_VIDEO_HPP
#define OPENCV_GAPI_VIDEO_HPP
#include <utility> //... |
72ce4fc29539fd8baccb89bab9ac049623bc2f75 | 9dd7633fd0625e5b5858a3d7a2fd9791d39bd137 | /IntroD3D9/Ch10Mesh1/Mesh1/RenderMesh1.h | b5bbab4ec3243f5132295cd8651766d8ddd255ff | [] | no_license | breaker/studies | 9f47846f8e8fbe7330a3fab5dd7d4ab711d44b60 | 015050ee892587ad0b5af4f2ac235134190fbe59 | refs/heads/master | 2022-12-04T16:31:04.104470 | 2022-11-24T10:23:27 | 2022-11-24T10:23:27 | 6,194,386 | 9 | 5 | null | null | null | null | GB18030 | C++ | false | false | 2,245 | h | RenderMesh1.h | // RenderMesh1.h
//
#ifndef __RENDERMESH1_H__
#define __RENDERMESH1_H__
////////////////////////////////////////////////////////////////////////////////
// FVF 顶点类型
////////////////////////////////////////////////////////////////////////////////
struct Vertex {
Vertex(float x0, float y0, float z0, flo... |
4c867ea1ebd9d75e5a84e99699619741676db09d | b771b54b2186263770066aab1ab474b945640033 | /src/libs/sources_handling/ut/test_split_data.cpp | 4841a06c4394b22eeb72ce318e1890bdf181ffa6 | [
"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 | 4,340 | cpp | test_split_data.cpp | #define BOOST_TEST_MODULE TEST_SOURCE_HANDLING
#include <boost/test/unit_test.hpp>
#include "ut_details/disable_log.h"
#include "interp_tests.h"
#include "helper_operations.hpp"
#include "libs/sources_handling/source_data.h"
namespace
{
const unsigned int missing[] = {
1, 4, 6, 10
};
} // end of loca... |
37ecf330849fad3ef4eaf2a61a4e981307659a32 | 6a914e7ddbd18878dc6a86dac2979f1653f60386 | /conclusionpage.cpp | 1f4271a7f799e2b95f81aec6a6d891a28494bf44 | [] | no_license | zy-sunshine/magic_first_wizard | 1aa4e58b9b0c3f6a00a7ba685910ded29771802e | ce2258b8a4704044becae053842e8c46198944b6 | refs/heads/master | 2021-01-02T22:39:33.765216 | 2013-09-24T17:13:43 | 2013-09-24T17:13:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,839 | cpp | conclusionpage.cpp | #include <locale.h>
#include <libintl.h>
#define gtr(string) gettext(string)
#include <QWizardPage>
#include <QVBoxLayout>
#include <QLabel>
#include <QString>
#include <QVariant>
#include <QMap>
#include <QFile>
#include <QTextStream>
#include "conclusionpage.h"
#include "wizard.h"
ConclusionPage::ConclusionPage( QWi... |
c6611b02f138de46c3bead4331458950905be405 | 85f5ecdbd05f279631fca70303582ad39b466846 | /Segment.h | b91d388e2e719c35748b15fad4a653462818e2f5 | [] | no_license | zohairhadi/Centipede-Game | 86ab25c25fbb1949a9142c241bcf05587ddbf211 | 12c6023bc581bc5f06e6a278449c99661d128141 | refs/heads/master | 2022-02-06T10:45:47.291380 | 2022-01-16T08:48:31 | 2022-01-16T08:48:31 | 251,394,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | h | Segment.h | /*
* Segment.h
*
* Created on: Apr 29, 2019
* Author: zohair
*/
#ifndef SEGMENT_H_
#define SEGMENT_H_
#include"MoveableObject.h"
class Segment :public MoveableObject{
protected:
bool inPlayerArea;
public:
char verticalDirection;
Segment();
virtual void draw()=0;
virtual void move()=0;
virtual int getO... |
7f7d577ea0abfa497c5685dbcd305049d264311b | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /third_party/blink/renderer/core/css/cssom/prepopulated_computed_style_property_map.cc | 5f48907027911978c6059a44a1e56c8a68d2a832 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause",
"MIT",
"Apache-2.0"
] | 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 | 4,822 | cc | prepopulated_computed_style_property_map.cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/css/cssom/prepopulated_computed_style_property_map.h"
#include "third_party/blink/renderer/core/css/computed_style_css_value_mapping.... |
73d9584913f8603b91f85c909926cd697b710820 | ef9505fb4b8a55157f0c499e7d1dcbdc0e4de514 | /hotel/service/rental/Computer.cpp | b409d5c4fd43034073f9e0fa93a048883f598f47 | [] | no_license | corentingosselin/HotelManagementSystem | e85df2b894fd9cbac309477429dff5c16931739d | 6d21cc130b7556e5e2c58940e1d877f9c8d39598 | refs/heads/master | 2023-03-04T19:46:45.653454 | 2021-02-13T15:39:26 | 2021-02-13T15:39:26 | 338,606,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | cpp | Computer.cpp | //
// Created by prodigy on 16/12/2020.
//
#include "Computer.h"
Computer::Computer() {
displayName = "Ordinateur portable";
price = 50;
} |
1061e890cbfccdec763c94ef789c42a7944b9604 | 227ee941caeee1e3776a480a430118b289aa83e7 | /MinionsVsZombies/include/MainMenu.h | f2cd4c8179612847b8de7ef7a22003df75da329b | [
"MIT"
] | permissive | Matthias4/gba-sprite-engine | c37b9b9b4d886cb0979fff1bf8e36ebadf2e31a2 | cc96561bfaf52358af31ea0e2d102619f0bd827d | refs/heads/master | 2020-08-27T05:41:06.290382 | 2020-01-15T15:46:09 | 2020-01-15T15:46:09 | 217,258,915 | 0 | 0 | MIT | 2019-10-24T09:14:33 | 2019-10-24T09:14:25 | null | UTF-8 | C++ | false | false | 970 | h | MainMenu.h | //
// Created by matthias on 11/21/19.
//
#ifndef GBA_SPRITE_ENGINE_PROJECT_MAINMENU_H
#define GBA_SPRITE_ENGINE_PROJECT_MAINMENU_H
#include <libgba-sprite-engine/scene.h>
#define MAINMENU_ENTRIES 2 // Number of menu entries, don't forget to update this or options will become unselectable
class MainMenu : public Sc... |
f0d4e6b148f0e61b3d568cbafcccc1ce0f523103 | 458eea1b41c9eae73146a1668af6bb6a3362a14c | /libraries/pbes/include/mcrl2/pbes/pbessolve_attractors.h | 800582e02b314357a326709bd0c0042b73d3da07 | [
"BSL-1.0"
] | permissive | mCRL2org/mCRL2 | 91fb459f26087ac50036150cd77c7e8a16b5ec42 | 33d77f5ef994381e03a0d3b0693c1014e4e12d41 | refs/heads/master | 2023-09-01T13:54:28.982994 | 2023-09-01T12:54:35 | 2023-09-01T12:54:35 | 128,542,478 | 90 | 42 | BSL-1.0 | 2023-08-10T15:12:42 | 2018-04-07T15:35:53 | C++ | UTF-8 | C++ | false | false | 5,369 | h | pbessolve_attractors.h | // Author(s): Wieger Wesselink
// Copyright: see the accompanying file COPYING or copy at
// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
//
// 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)
//
/// \file m... |
23fe5facbb8e131cb8690d183450663c6be67d86 | 84c3201da572f30304e971da2791c74b30da83a7 | /include/dukat/renderstage2.h | 8835d10f36ea6707cc6a1937167cb12e5ed00633 | [
"MIT"
] | permissive | bdamer/dukat | 655de8b4c7e6db54a47f33611123d1886fac9ff5 | 003614cf2adf9cf96838a61a55794bc325030593 | refs/heads/master | 2023-08-03T20:10:57.885846 | 2023-07-26T06:07:46 | 2023-07-26T06:07:46 | 69,406,791 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 682 | h | renderstage2.h | #pragma once
#include <string>
#include "renderlayer2.h"
namespace dukat
{
// A render stage represents one or more layers rendering
// to the same screen buffer.
struct RenderStage2
{
const int id;
// list of layers ordered by priority
std::list<std::unique_ptr<RenderLayer2>> layers;
// composite prog... |
3e52b3e28b3fb623c97cdb830fd5cc6f15b06c9d | ddb3206b6d0cb1007c644be7bb72b1460a302626 | /Terrain Generator/TechBase.h | 31aa5f27e265e676997db235da39687250a320df | [] | no_license | Aftnet/Terrain-Generator | 3ccd2beac7978cb4f3ce2be709c358c5d575608e | 4d145ce459a1a973e62ac3ba2fe8a9953e19af7e | refs/heads/master | 2021-05-27T08:56:22.314829 | 2014-09-11T15:38:47 | 2014-09-11T15:38:47 | 23,796,735 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,678 | h | TechBase.h | /*
TechBase class: as the name suggest, the class encapsulates the operations required to create an OpenglARB program
with corresponding vertex and pixel shaders techniques and to compile them using GLSL code specified in two plaintext files.
The class is meant never to be instantiated, existing only as a basis for tec... |
1c9bd99633c1a977cf3ada2384aae4d9132d3952 | 77861deda8b3046bdda221d3cb80b77e84b14523 | /swar-utf8-length/benchmark.cpp | 90c81b55eb6a9a76f77cc7029f250ec6f5e4adca | [
"BSD-2-Clause"
] | permissive | WojciechMula/toys | b73f09212ca19f1e76bbf2afaa5ad2efcea95175 | 6110b59de45dc1ce44388b21c6437eff49a7655c | refs/heads/master | 2023-08-18T12:54:25.919406 | 2023-08-05T09:20:14 | 2023-08-05T09:20:14 | 14,905,115 | 302 | 44 | BSD-2-Clause | 2020-04-17T17:10:42 | 2013-12-03T20:35:37 | C++ | UTF-8 | C++ | false | false | 708 | cpp | benchmark.cpp | #include <cstdio>
#include <cstdlib>
#include "benchmark.h"
#include "all.h"
class Benchmark {
char buffer[1024];
public:
Benchmark() {
srand(0);
for (size_t i=0; i < sizeof(buffer); i++)
buffer[i] = rand();
}
public:
void run() {
test("scalar", count_code_points)... |
eab4fd8549e4eead5acf23fbeb9a5972d24f0412 | eee4e1d7e3bd56bd0c24da12f727017d509f919d | /Case/case9/play/case0/Case/case1/2800/k | ee08b78b2bf8a4ff6e0d9419571b6391edbbb65c | [] | no_license | mamitsu2/aircond5_play5 | 35ea72345d23c5217564bf191921fbbe412b90f2 | f1974714161f5f6dad9ae6d9a77d74b6a19d5579 | refs/heads/master | 2021-10-30T08:59:18.692891 | 2019-04-26T01:48:44 | 2019-04-26T01:48:44 | 183,529,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,486 | k | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.