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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9692fe7ee5ac45c6fb9003aece57a29138a6f609 | 8eb25b6770c72f91dcc4a247d58e056f8fb57b2d | /CPlusPlusRefresher/main.cpp | 8383cceaaf3bedf1bfda6aede6c13a9fa15f7415 | [] | no_license | krypxern/GravSim | a73b0a077107dff0d07d9311dc92ae1046d05ded | ef5a7b5efd70b074d362f86ccd9ba9f058468b9d | refs/heads/master | 2021-09-01T01:36:54.693919 | 2017-12-23T21:58:55 | 2017-12-23T21:58:55 | 114,954,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | cpp | main.cpp | #include "refresher.h"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
if(argc != 2)
{
std::cout << "Correct format is: ./main <num>\n";
return 1;
}
double num = strtod(argv[1], NULL);
std::cout << Refresher::bab(num) << "\n";
}
|
49395ec919f5ba244dec58d242da9b4137ce60ad | 045021ea2e02919fb7617dd08890665a2579aa9a | /Tree/Segment Tree/2336 굉장한 학생/kmj_cpp.cpp | fa49ae9f0e183fc1ece2dc7c1ad8c133843dc1a8 | [] | no_license | LnC-Study/Acmicpc-net | 258b3c0bc13a370dd5c84d38ba9fc1fb28fd0415 | 1d27cf13f9b11188e9cee9bae15b21c69e1c13f5 | refs/heads/master | 2021-06-21T10:19:17.741283 | 2021-01-24T14:13:06 | 2021-01-24T14:13:06 | 164,632,228 | 8 | 2 | null | 2019-09-01T08:08:41 | 2019-01-08T11:14:57 | C++ | UTF-8 | C++ | false | false | 3,130 | cpp | kmj_cpp.cpp | // 2336: 굉장한 학생
#include <cstdio>
#include <vector>
#include <cmath>
#include <algorithm>
#define INF 987654321
using namespace std;
struct student{
int gradeA; // score of 1th test.
int gradeB; // score of 2nd test.
int gradeC; // score of 3rd test.
};
int findMin(vector<int> &tree, int... |
259b7f3ad7a9b8c415a7fa5130db2ef21324bf8c | 5e82a6ddbdbf7ddc709e293811a4913410a1d705 | /数据结构代码/线性表/一个数组两个栈.cpp | cd8a0bd52763c2c3857bc5e0e2adda2be285a9e5 | [] | no_license | tramcctw/Data-Structure | fe6bedfe509d8a0cbcb6506cc070b627bbc2f18c | bd21110470523498fe53fefea22e9a91040c9a14 | refs/heads/master | 2023-06-10T02:26:13.513987 | 2021-06-30T06:51:16 | 2021-06-30T06:51:16 | 284,467,651 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,463 | cpp | 一个数组两个栈.cpp | //一个数组两个栈
#include <stdio.h>
#include <stdlib.h>
#define Maxsize 15
typedef struct DStack{
int Data[Maxsize];
int top1;
int top2;
}Stack;
Stack list;
Stack* StackCreate(){
Stack *head;
head = (Stack*)malloc(sizeof(list));
head->top1 = -1;
head->top2 = Maxsize;
return head;
}
bool isfull(Stack *head){
if(... |
5758a65d79ede66b81f1763e503d260608659f9d | 8d17df5f4f32a8952a8f2a791642d2c71292f9e9 | /Disciplina.h | 2d1ba4353f7ef4a4503e68e8e6a58741d67b5d28 | [] | no_license | dutrajardim/ensalamento-interface-gurobi | bb977fde1e5553d668095ba502f729bc022285c7 | cd67622b8ee9543190ec5e9f438781de36b97117 | refs/heads/master | 2020-03-10T09:53:59.560167 | 2018-04-25T19:59:57 | 2018-04-25T19:59:57 | 129,321,093 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 669 | h | Disciplina.h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Disciplina.h
* Author: rafael
*
* Created on 3 de Dezembro de 2017, 14:24
*/
#ifndef DISCIPLINA_H
#define DISCIPLI... |
4b6e593e2bcf4a94cdb242850b8761a5a1b45b4b | 3ae80dbc18ed3e89bedf846d098b2a98d8e4b776 | /src/Media/APE/APEAudioSource.cpp | 66dc364e1c58caaeead5d0871472e4bfc2a2240f | [] | no_license | sswroom/SClass | deee467349ca249a7401f5d3c177cdf763a253ca | 9a403ec67c6c4dfd2402f19d44c6573e25d4b347 | refs/heads/main | 2023-09-01T07:24:58.907606 | 2023-08-31T11:24:34 | 2023-08-31T11:24:34 | 329,970,172 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,157 | cpp | APEAudioSource.cpp | #include "stdafx.h"
#include "MyMemory.h"
#include "Media/APE/APEAudioSource.h"
#include "Text/MyString.h"
Media::APE::APEAudioSource::APEAudioSource(IAPEDecompress *ape, Media::APE::APEIO *io)
{
WAVEFORMATEX waveFmt;
this->ape = ape;
this->io = io;
NEW_CLASS(this->fmt, Media::AudioFormat());
this->ape... |
703590f6496ca99979871ccd835338091aa85024 | 64bf21e9b4ca104557d05dc90a70e9fc3c3544a4 | /tests/pyre.lib/timers/registrar_lookup.cc | 61c25af311149328f55aa3aa595fa3fed9e91a4a | [
"BSD-3-Clause"
] | permissive | pyre/pyre | e6341a96a532dac03f5710a046c3ebbb79c26395 | d741c44ffb3e9e1f726bf492202ac8738bb4aa1c | refs/heads/main | 2023-08-08T15:20:30.721308 | 2023-07-20T07:51:29 | 2023-07-20T07:51:29 | 59,451,598 | 27 | 13 | BSD-3-Clause | 2023-07-02T07:14:50 | 2016-05-23T04:17:24 | Python | UTF-8 | C++ | false | false | 660 | cc | registrar_lookup.cc | // -*- c++ -*-
//
// michael a.g. aïvázis <michael.aivazis@para-sim.com>
// (c) 1998-2023 all rights reserved
// get the timers
#include <pyre/timers.h>
// support
#include <cassert>
// type aliases
using movement_t = pyre::timers::movement_t<pyre::timers::wall_clock_t>;
using registrar_t = pyre::timers::registrar_... |
f29b74db0c139645128a9f4924dd129fd3041bfa | be4032581f74129a24aa2bb34c3ad52615130131 | /93/main.cpp | 9ef90705d11f6b4490af2d94f4f0d8f63eb7ca21 | [] | no_license | Ewenwan/LeetCodeSolution-1 | ba6b98db7283f6c277fca47a648cadad353f5d6b | 8ac5159cae37bed318c3bb093205b6bd4055bd0d | refs/heads/master | 2020-03-25T09:21:27.598423 | 2015-10-21T03:38:25 | 2015-10-21T03:40:01 | 143,661,876 | 0 | 1 | null | 2018-08-06T01:35:14 | 2018-08-06T01:35:14 | null | UTF-8 | C++ | false | false | 204 | cpp | main.cpp | #include "./solution.cpp"
int main(){
Solution sl = Solution();
vector<string> ans = sl.restoreIpAddresses("010010");
for(int i=0; i<(int)ans.size(); i++){
cout<<ans[i]<< " ";
}
}
|
ac655388895b9f3d2725cd13e2011e5d708798e7 | cd14b9f59267857e321f2607e29faa559501d7b9 | /FinalProject/Code(robot_being_built)/bluetooth_robot_momo_code/bluetooth.ino | 10749b52ff59dbbb9fd99d841372e42c189dd939 | [] | no_license | PraggyaJ/Performing-Robots | bdee7eeaca36d0d767809227b52e0572c3884938 | a86971e143ca5a27902eb2b088839f086b8e7c88 | refs/heads/master | 2020-07-23T00:01:10.016482 | 2019-12-16T20:17:50 | 2019-12-16T20:17:50 | 207,376,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,441 | ino | bluetooth.ino |
//Servo
#include <Servo.h>
//Neopixel
#include <stdio.h> /* printf, scanf, puts, NULL */
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
#include <Adafruit_NeoPixel.h>
#ifdef __AVR__
#include <avr/power.h> // Required for 16 MHz Adafruit Trinket
#endif
#include <string.h>
#include <... |
96d9ae20622e78b87ada901cd5e504b76db06d62 | bbbd26998b1a6afd110fda1d2eb5b90b308dd22e | /src/constants.h | 20d6620ad009b806b87a5061e808555074f71423 | [] | no_license | gootik/mo-physics | 0ec0727a9389e15aed1f0406aefd4e7ac29b2cee | ca582f46073b794eeee049ff762bc6da41f05aa6 | refs/heads/master | 2022-11-08T08:09:50.051623 | 2020-06-17T21:46:58 | 2020-06-17T21:46:58 | 273,083,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 131 | h | constants.h | #pragma once
namespace Constants {
namespace Window {
extern const int WIDTH;
extern const int HEIGHT;
}
} |
5b73d5de1ad82144a665ccafb027d1fd66b533dc | a055c41211c4143e1a9c3ec93d5ffe701272a349 | /gui/curiositylist_stats_t.h | eeccd543228377b91ab936fdd076ceeb1bc147f5 | [
"Artistic-1.0"
] | permissive | teamhimeh/simutrans | 7ed04e4218f727831191b7e2420b19b2c9849650 | ff35971ca4bdfe6007ac71de63fcff6d1276e166 | refs/heads/OTRP | 2023-09-02T23:05:44.165750 | 2021-10-06T13:17:58 | 2021-10-06T13:17:58 | 82,244,298 | 27 | 20 | NOASSERTION | 2022-11-24T13:42:32 | 2017-02-17T01:37:33 | C++ | UTF-8 | C++ | false | false | 1,070 | h | curiositylist_stats_t.h | /*
* This file is part of the Simutrans project under the Artistic License.
* (see LICENSE.txt)
*/
#ifndef GUI_CURIOSITYLIST_STATS_T_H
#define GUI_CURIOSITYLIST_STATS_T_H
#include "components/gui_aligned_container.h"
#include "components/gui_colorbox.h"
#include "components/gui_scrolled_list.h"
class gebaeude_t;... |
9c43394b643365959f25c497da513abe9035a399 | e0b58711cd053194d44c32dba641308b157cd87a | /src/lidar.cpp | 2ece4b168e0dc2e431dc443b4bf5249159b12236 | [] | no_license | timothyvolpe/Capstone2020 | 171d5162edb9e450a346defeedf44d405fa61901 | 6cb489395e1890fff82e5bc4da9e8ae07405e721 | refs/heads/master | 2022-04-15T16:47:39.812787 | 2020-03-05T16:34:14 | 2020-03-05T16:34:14 | 237,129,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 86 | cpp | lidar.cpp | #include "lidar.h"
CLIDARSensor::CLIDARSensor() {
}
CLIDARSensor::~CLIDARSensor() {
} |
8dc54a1d3e0bdc690e1e86024e1b2be4b50ebc95 | e696423ec731bbe1c2eeee280fe481a5cd8256fc | /9.11 类/9.11 类/源.cpp | f49dce0789cf90cce33a2406ca0f255491907a64 | [] | no_license | xiangxiangya/xiangxiang | 121a975117c400cf95955f71d68278ac47f9e574 | e484a8037f078e5fbfc831f47c713fcd029d43b4 | refs/heads/master | 2020-08-16T03:20:38.755111 | 2019-11-17T04:33:52 | 2019-11-17T04:33:52 | 182,748,536 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,848 | cpp | 源.cpp | #define _CRT_SECURE_NO_WARNINGS 1
#include<stdlib.h>
#include<iostream>
using namespace std;
#if 0
class student
{
char name[20];
char sex[3];
int age;
};
class a{
void fun();
};
int main()
{
a b;
cout << sizeof(b) << endl;
system("pause");
return 0;
}
#endif
#if 0
class data
{
public:
data(const data & d)/... |
cc8daa43da43d80bd39ec844bcd910513cfde824 | bccecf3541fac152969ce01ea8151b42e327ec74 | /parasite-lib/src/main/cpp/parasite.cpp | b6b961893894eb61fbef7339eed8b0aa0eda5a16 | [] | no_license | guyueyingmu/Parasite | a6a00a82d9bc192b948be0a5e1cb0bbac4650936 | 76a994955e80d42fbad7f1f440ba26f669b242c9 | refs/heads/master | 2020-03-23T23:28:34.746447 | 2018-01-20T18:10:43 | 2018-01-20T18:10:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,944 | cpp | parasite.cpp | #include <map>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include "parasite.h"
using namespace std;
JNIHIDDEN const char *g_className = "com/hu/parasite/hook/HookManager";
JNIHIDDEN const char *g_modelName = "com/hu/parasite/hook/HookManager$Methods";
JNIHIDDEN void JNICALL nativeHook(JNIEnv *env... |
acf5adc1ec3cdd7b57f429be12102c9cbc56115c | 7105d97bb783629ff2b38df4f303ff515743a6b5 | /include/slang/ast/expressions/OperatorExpressions.h | 12645260a36bca2e5eefdf28c7616d81e766dce5 | [
"MIT"
] | permissive | MikePopoloski/slang | b7dcd5e47702ef2f19af11fd169b9a3f1230ed9c | cada0eb18795ba6a8484d0a52fec5d20b6410e62 | refs/heads/master | 2023-08-28T16:23:03.408083 | 2023-08-27T01:44:26 | 2023-08-27T01:44:26 | 80,874,333 | 455 | 115 | MIT | 2023-09-14T11:03:37 | 2017-02-03T22:20:21 | C++ | UTF-8 | C++ | false | false | 12,235 | h | OperatorExpressions.h | //------------------------------------------------------------------------------
//! @file OperatorExpressions.h
//! @brief Definitions for operator expressions
//
// SPDX-FileCopyrightText: Michael Popoloski
// SPDX-License-Identifier: MIT
//-----------------------------------------------------------------------------... |
c94add33258a652d01f51d0f25eb1fa45149607c | 3a7b62c2d94746d2a1309e87a5222b90c93f6590 | /PlanetaEngine/src/planeta/core/JsonFile.hpp | 7fa9c76b926fde95e55209f73218569643bec0f7 | [
"MIT"
] | permissive | CdecPGL/PlanetaEngine | 8d49b5a3514be2cbb9f40edd0753d6027c00dbf1 | b15d5b13c3b2aee886d3f92d13777f1b12860260 | refs/heads/master | 2021-05-11T20:20:09.199919 | 2018-01-14T13:42:38 | 2018-01-14T13:42:38 | 117,433,139 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 10,047 | hpp | JsonFile.hpp | #pragma once
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>
//http://stackoverflow.com/questions/32907385/cant-compile-boost-spirit-example4-cpp より
#define BOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT
#include "boost/variant.hpp"
#include "LogUtility.hpp"
namespace plnt {
//! JSON型の不一致エ... |
18b3824248d2931f8b005c4d3ba521657db10f8a | aa924bbb174676c00dfef9b976790a01506bd37e | /Sources/NodeUIEngine/NUIE_NodeAlignment.cpp | c63e588957fb20689ec2d4cf3267cde1dded7e35 | [
"MIT"
] | permissive | kovacsv/VisualScriptEngine | 5b3b8b7b6999082b0f916034a83d6e9675510ed6 | 185a451e2391fbff0bb4dd5929e8634517382c4e | refs/heads/master | 2023-03-15T19:00:48.535709 | 2021-12-17T15:47:51 | 2021-12-17T15:47:51 | 113,492,822 | 156 | 32 | MIT | 2023-02-24T16:07:36 | 2017-12-07T19:57:56 | C++ | UTF-8 | C++ | false | false | 6,655 | cpp | NUIE_NodeAlignment.cpp | #include "NUIE_NodeAlignment.hpp"
#include <algorithm>
namespace NUIE
{
static const double DefaultGapIfOverlap = 20.0;
enum class Direction
{
Horizontal,
Vertical
};
static Rect MinElement (const std::unordered_map<NE::NodeId, Rect>& rects, const std::function<bool (const Rect&, const Rect&)>& comp)
{
auto min... |
4ca55f49f56fd178d8a345748503ea1dfac3402e | cf20d94cb7feb85868444abba526e81038aa4e10 | /Weather.cpp | 2eb88f2ea5a238e67dfafad04f3accc6e98cb4ae | [] | no_license | mildrock/VKNServer | 45df1cbb9705335320e401bc4c59fd19eb3f1787 | c2c8dda92080434122f431ccdd507badf31a0792 | refs/heads/master | 2020-03-03T17:59:47.381802 | 2014-11-27T07:47:24 | 2014-11-27T07:47:24 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 25,318 | cpp | Weather.cpp | #include "Weather.h"
#include <process.h>
#include <WinInet.h>
#include <iostream>
#include "XML.h"
#include "Utility.h"
using namespace std;
CRITICAL_SECTION WeatherCS;
Weather::Weather(HANDLE event)
{
hThread=NULL;
hEvent = event;
abort = false;
debug = false;
InitializeCriticalSection(&WeatherCS);
};
Weath... |
24b8355cb731c214a2816ec1086f7a1ad34b5aba | b651b5822fa0fe8e4c09a646c4d4c1ffaa7b40a5 | /Voronoi_BoostPoligon_v1/Voronoi_BoostPoligon_v1/Check_Belong_inPoints_to_difCells.cpp | dad0e0ae35d61259ad2ba1ef6e2adf8b173b5e01 | [] | no_license | ivm23/Voronoi | 2c6b975ce96835660545501bab4b745d961a7406 | a849f52a3cd5d3d4d2624f008658d85580bfcf2c | refs/heads/master | 2021-09-08T00:54:31.190298 | 2018-03-01T10:03:20 | 2018-03-01T10:03:20 | 111,331,561 | 0 | 0 | null | 2018-03-04T20:00:03 | 2017-11-19T20:59:21 | C++ | UTF-8 | C++ | false | false | 3,422 | cpp | Check_Belong_inPoints_to_difCells.cpp | #include "Check_Belong_inPoints_to_difCells.h"
inline long long area(Point a, Point b, Point c) {
return (b.x - a.x) * (c.y - a.y) - (b.y - a.y) * (c.x - a.x);
}
inline bool intersect_1(int a, int b, int c, int d) {
if (a > b) swap(a, b);
if (c > d) swap(c, d);
return max(a, c) <= min(b, d);
}
bool intersectio... |
87077df09731fb227b0d29c654edfdeda0410a33 | 7d0d2a95fb0e8d21a2b92c58c5674443aeab9e34 | /Observer_pattern/Observer.h | ca139b569f37da0071aa3cd83ae803f5336101ef | [] | no_license | Ashutosh-Londhe/CPP-Codes | 88a1b268b5557b097cbcad494fcb8b6b9c9a3d6a | cba63046294417d93963f12dd5d36b71fca9f236 | refs/heads/main | 2023-09-04T08:41:49.163457 | 2021-09-16T16:08:12 | 2021-09-16T16:08:12 | 407,216,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | h | Observer.h | #ifndef OBSERVER_H_INCLUDED
#define OBSERVER_H_INCLUDED
#pragma once
#include <iostream>
#include <list>
template<typename TYPE, typename TokenType>
class WorkObserver
{
public:
virtual TokenType notifyWork(TYPE obj) = 0;
virtual void notifyEmpty(TokenType listIt) = 0;
};
template<typename TYP... |
84bda92e2873bcded50cce353d753a0b30b46b73 | 5208fdd443cb5c90377f03fe789c3bf9cfe4cfb5 | /Appearance/Texture.h | 614c8a16ebe2ad5f5ffef2b44424a201858c826b | [
"MIT"
] | permissive | jess22664/x3ogre | c9964d94bb788a8bd4e99b2afca17f21dc2cd3da | 9de430859d877407ae0308908390c9fa004b0e84 | refs/heads/master | 2022-05-31T10:08:31.953823 | 2019-06-25T21:46:56 | 2019-06-25T21:47:02 | 258,651,079 | 0 | 0 | MIT | 2020-04-25T00:04:28 | 2020-04-25T00:04:28 | null | UTF-8 | C++ | false | false | 380 | h | Texture.h | /*
* Texture.h
*
* Created on: 10.10.2014
* Author: parojtbe
*/
#pragma once
#include <core/Node.h>
#include <OgrePass.h>
namespace X3D {
/**
* Base class for all Textures
*/
class Texture: public Node {
public:
/**
* Add Texture to Ogre::Pass
* @param pass Pass the texture is linked to
... |
17a9ede0290ad5d65d700dce742d5493dd0f8503 | 722124daa2b91cf105a1323d9d2425fd0a9fd3db | /src/ComputeGraph/SourceNodes.h | 7f5b098ee27e612e0e97b65f88adf0df60f6b084 | [] | no_license | xhyangxianjun/TinkerVision | 5e056e4ab20bbf1bd4306372c24bac51f0011af4 | 5b913e325b15c8c8ecf8734c9ccf294d2877c601 | refs/heads/master | 2022-09-28T19:13:00.732722 | 2020-06-01T16:20:13 | 2020-06-01T16:20:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,385 | h | SourceNodes.h | #pragma once
#include "Node.h"
#include "../Core/Image.h"
#include "../Core/ImageGPU.h"
#include "../Core/VectorMath.h"
namespace TnkrVis
{
namespace ComputeGraph
{
namespace Nodes
{
/**
*/
class InputCopySource: public Node
{
TNKRVIS_CLONEABLE_MACRO(InputCopySource)
protected:
Node* copyNode;
... |
f7641223e150bb03e67fcb80e967cf60a282f8a0 | f65abbd28d767d42698e03493f44087cb801e985 | /Source/Scene/SceneTitle.cpp | e0148c4356eda9e28ed6d8aa728eff1242477266 | [] | no_license | 01kim/GameIndustryEngine | e1d5dfeb7793951f1e6bf689e0472ef957102f7c | e4442da876e6ec896c61b24db13d43ebebaf19a1 | refs/heads/master | 2023-06-12T18:51:47.122226 | 2021-07-08T11:03:59 | 2021-07-08T11:03:59 | 381,909,971 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 464 | cpp | SceneTitle.cpp | #include "SceneTitle.h"
#include "../Player/Player.h"
// コンストラクタ
void SceneTitle::DoConstruct()
{
}
// デストラクタ
void SceneTitle::DoDestruct()
{
}
// 初期化
void SceneTitle::DoInitialize()
{
// アクター追加(プレイヤー、エネミー、ステージ etc...)
{
actorSystem->AddActor<Player>();
}
}
// 終了化
void SceneTitle::DoFinalize()
{
}
// 更新
... |
f19ded12cce9975df25755856e838ee24bb2c9dd | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /ash/webui/network_ui/traffic_counters_resource_provider.cc | ef29dec8d3a909e40dd76afbe53977048eeddf04 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 1,751 | cc | traffic_counters_resource_provider.cc | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/webui/network_ui/traffic_counters_resource_provider.h"
#include "chromeos/strings/grit/chromeos_strings.h"
#include "content/public/browser... |
20ce826af552f4539d5aa2a80abe57ec01313a60 | 8db60013ec4050573e52b3c36cec8bbe0cc37a19 | /Q/tp5/tableur.cpp | 60c4a21d59e2434af08a3c099d5509842e156fb8 | [] | no_license | kirby49/stage_2012 | 24a0541b0aa6aecd4d3d126fb16e549cce1a2629 | d7c82b42be3ec2048c199989fb0df8902a6bceab | refs/heads/master | 2021-01-01T16:55:31.363843 | 2012-05-30T09:43:48 | 2012-05-30T09:43:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,015 | cpp | tableur.cpp | #include "tableur.h"
#include "cellule.h"
#include "iostream"
tableur::tableur(int l, int c)
{
nbcolonne=l;
nbligne=c;
std::cout<<" affichage : "<<nbligne<<" "<<nbcolonne<<std::endl;
w=new QWidget;
setCentralWidget(w);
QHBoxLayout *hbox = new QHBoxLayout(w);
layout = new QGridLayout;
... |
2b93d8081269cd2039595d78e6ac31c8c4b1efe7 | 17c3a8024d0454cf09558f8256dd91cc4000ee69 | /Final/HealthBar.cpp | 7f504d580cb7a627a8143fa6a2e845523a0a0adc | [] | no_license | DanFlemming/CPlusProjects | 6b7638cee9efbec3a77f7b638e2b4ac616aeb223 | 7e016e75f407d9b246e5b6d05838b3a249c8c5e8 | refs/heads/master | 2020-05-09T18:21:01.241614 | 2019-04-14T16:43:25 | 2019-04-14T16:43:25 | 181,338,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | HealthBar.cpp | #include <iostream>
#include "HealthBar.h"
using namespace std;
Item::Item(int s, int m, int l)
{
this-> small_bar = s;
this-> medium_bar = m;
this-> large_bar = l;
} |
d09c90cc675f34c87f0b8a16ba3a4fe6f873f4bf | 1746f6dab0ba2874b633f973f7a01d23e2756899 | /Heap.cpp | a58a928cd756c6dd03233b9522661aa7fc4543f8 | [] | no_license | TellH/HuffmanExtract | d0825a160fb7b3fee19c9b54d66022c894afe380 | 16884facb4f5675c875251499c8bcf08eebe7393 | refs/heads/master | 2016-09-13T19:00:03.261350 | 2016-05-02T06:39:53 | 2016-05-02T06:39:53 | 57,348,467 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,911 | cpp | Heap.cpp | //
// Created by tlh on 2016/4/27.
//
#include "Heap.h"
Heap::Heap(int n, HuffmanTreeNode *h[]) {
size = n;
contain=16;
if (contain >= n) { this->h = h; }
else {
_enlarge(h, n);
}
}
void Heap::_enlarge(HuffmanTreeNode *h[], int n) {
int time = n / 16;
contain = contain * (time + 1... |
2710cf047b84935e8a40f2c6ec07e45bc335bdf8 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-chime-sdk-media-pipelines/source/model/RecordingFileFormat.cpp | 802a1959ad17b9bf1a0f4524948ff9c9b8d15d0e | [
"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,034 | cpp | RecordingFileFormat.cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/chime-sdk-media-pipelines/model/RecordingFileFormat.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
usin... |
caf2a268eebedf64a2d4f656fcb3533da6b3f78d | 64a071ba6a6f74af1c347fd4417f33c93487cc95 | /src/textinput.hpp | ebc0fb783747145787cf728d62a521966d3b64d5 | [
"MIT"
] | permissive | thomaslienbacher/TicTacToe | 72fece25867e3c10a0b1b792bf9eff254dc0a493 | 9c76fe20c19679ac72d541150ebf82dfe84e0db6 | refs/heads/master | 2022-09-21T12:19:43.273812 | 2022-09-04T20:43:39 | 2022-09-04T20:43:39 | 148,676,414 | 1 | 1 | MIT | 2019-02-26T12:25:41 | 2018-09-13T17:54:27 | C++ | UTF-8 | C++ | false | false | 829 | hpp | textinput.hpp | //
// Created by Thomas Lienbacher on 19.09.2018.
//
#ifndef TICTACTOE_TEXTINPUT_HPP
#define TICTACTOE_TEXTINPUT_HPP
#include <SFML/Graphics.hpp>
#include <memory>
class TextInput {
static constexpr float BLINK_TIME = 0.35f;
static constexpr float PADDING = 6.0f;
std::string raw;
sf::Text text;
... |
33fad1f76bbeb2166bf71f42e61a209cf30d452f | c00e16434d8304f9804569410ac7387ae4381538 | /Source/GoodManStory/Character/FireBall.cpp | 576b56e13815905c403aefcde9e0890c82fe0522 | [
"MIT"
] | permissive | Karotteman/GoodManStory | e783046c742e8ef6e7377a94b0583e48bfb59842 | 7e1d93e48b3105d7a2c3e5ec80bc6d5ea4468b16 | refs/heads/master | 2023-01-18T18:44:29.240869 | 2020-11-23T15:32:00 | 2020-11-23T15:32:00 | 315,671,037 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,721 | cpp | FireBall.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "FireBall.h"
#include <Utility/Utility.h>
#include "Components/ArrowComponent.h"
#include "Components/SkinnedMeshComponent.h"
#include "Components/StaticMeshComponent.h"
#include "Players/BasePlayer.h"
#define COLLISION_CHANNEL... |
eb8cf7650b9e17952d1a2bcf04e2caf1407563ae | 683b85c1db2db5b3185f559905ed5fd150cd3ee4 | /Chapter4/CH4Practice/CH4_1.cpp | d389729dc05ffdde81ff69888e61a02fcd8a96f5 | [] | no_license | Vegetable540/introduction-to-algorithmes-a-creative-approach | a05a0918e1ec9ec5312cfd02bc337badbf0e755b | e5ae91b3cc2bf8d40d065d74fc80ffafafc40b7e | refs/heads/master | 2020-12-25T14:33:21.399922 | 2016-09-05T07:55:26 | 2016-09-05T08:13:52 | 67,230,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,591 | cpp | CH4_1.cpp | #include <cassert>
#include "CH4_1.h"
LinkNode::LinkNode(int num)
: _num(num)
{
}
LinkNode* LinkNode::next()
{
return _next;
}
void LinkNode::setNext(LinkNode * next)
{
_next = next;
}
int LinkNode::num()
{
return _num;
}
LinkList::LinkList()
{
}
LinkList::~LinkList()
{
if (_head == nullptr)
return;
Lin... |
56bcfed939ce92421ec32641f0ca2cc0f10fc0c2 | 5b83b4f72c9836cf9ee44b9aef7b2f045498ac22 | /uva_age_sort.cpp | 8bb40b225075e2df85d51c135397290bff336b98 | [] | no_license | liehendi11/cpsource | 1d623ff7ead79f6de9442ec6c65e49d5dff0549f | 154985a24ea64433733910bfde33325070fbcfe3 | refs/heads/master | 2016-09-11T11:12:25.142341 | 2015-01-27T14:34:15 | 2015-01-27T14:34:15 | 29,897,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | uva_age_sort.cpp | #include <stdio.h>
#include <stdlib.h>
#include <cstring>
using namespace std;
int arr[102];
bool isFirst;
void reset()
{
memset(arr, 0, sizeof(arr));
isFirst = true;
}
int main()
{
int n=-1;
while (n!=0)
{
scanf("%d", &n);
if (n==0) break;
reset();
int x;
for (int i=0; i<n; i++)
{
scanf("%d", ... |
b072c13ea2000ce7736c387b3fc2affdfc0d14ed | b800e767e260b9ed640c4e37554a3bb64bff78ed | /Source/BananaArmy.h | e04d767a5af41986c55d1c217d0d388fc7ab0e9f | [] | no_license | ThanhL3/Banana-Wars | 7c9dfd361d1b1016fb5c47f4ad0c8c25fa0336d9 | eeadc55eb8d7a9ae76b4d5d0b24f5c8b2bc8baa9 | refs/heads/master | 2020-05-27T04:50:17.555101 | 2019-05-24T21:45:10 | 2019-05-24T21:45:10 | 188,488,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | h | BananaArmy.h | #pragma once
#include "Definition.h"
#include "Banana.h"
class BananaArmy
{
public:
BananaArmy();
~BananaArmy();
void changeArmy(string type);
void showArmy();
uint32_t returnKiwi();
void changeKiwi(uint32_t count);
uint32_t returnPower();
uint32_t returnBanana(int index);
privat... |
43f0ebdf08489163ebcfb29ecb4f738d7527e2e5 | f607e1b6b4a506a651191e5122f642a3c3be0ba0 | /src/staticHMC.inl | 9e79801ac2236c0058da8adeb98c949551c6b3b8 | [] | no_license | Biostatistics4SocialImpact/rstap2 | e45c5997d4311e3d95333e8728b88ef080c6be68 | b4f600dd3258f283095d14320fe166bfa44a5081 | refs/heads/master | 2020-04-21T04:43:03.571698 | 2019-11-19T19:54:37 | 2019-11-19T19:54:37 | 169,320,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | inl | staticHMC.inl | // Public Methods
//
template<typename T>
staticHMC<T>::staticHMC(
const double &adapt_delta,
const int seed
){
if (adapt_delta<=0 || adapt_delta>1)
throw(std::logic_error("Acceptance ratio must be between (0,1]"));
_rng = std::mt19937(seed);
};
template<typename T>
templat... |
094ce22b2585ef37a141ce90637e0d6f6bd8461e | d53ce50d886ac55f9fc37915b3e69bd6d17a72c0 | /CAPI_Gen2_Read EXAMPLE/samples/read/read.cpp | 07634316c0e91fc6d2aec5f27f229ca3c2fbbd0b | [] | no_license | JaegarSarauer/DCOMM-Assign2 | e3c8f37bd8dc440e33e57bcab8acd87712acbd23 | a363d00b8480a10da35109e18f5814c8abd3a613 | refs/heads/master | 2021-01-10T16:30:59.399653 | 2015-10-10T00:54:05 | 2015-10-10T00:54:05 | 43,837,107 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 9,893 | cpp | read.cpp | /************************************************************\
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
Copyright © 2007 Sky... |
8ed32e71b4287d593d233d37d5be381da6b808bd | c03eac19a9c69b7b1ec1f5c98761a7c7a0d1a968 | /receiver_arduino_esp8266/receiver_arduino_esp8266.ino | fdd1abd4a9a9b5b656a975a746fa1fb76498e959 | [
"MIT"
] | permissive | b2renger/processing_osc_controller | 72310093cc37e100fd36bb61155f3d36a757aa9f | cc51af7f865560a036f348444042520d774e94ce | refs/heads/main | 2023-03-20T00:26:59.055421 | 2021-03-17T08:13:01 | 2021-03-17T08:13:01 | 313,694,750 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | ino | receiver_arduino_esp8266.ino |
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <OSCMessage.h>
#include <OSCBundle.h>
#include <OSCData.h>
char ssid[] = "HUAWEI-B315-6EEC"; // your network SSID (name)
char pass[] = "JE38QBQE74T"; // your network password
WiFiUDP Udp;
const IPAddress outIp(192, 168, 43, 146); ... |
bb16be053e392aba38219b2e51e692a62e9d1cbc | 333502ce7e2cf8adda68efa6e9adcb4fb1b334d5 | /source/geometry/cube.hpp | ff83266f29908d0943a08d8ab848271dadd602e0 | [] | no_license | branespace/VoxelEngine | 5091ac22366634fe0e78aee2c2f0adc018268792 | e5a01e0f0bbba62ad872d3fc29798ef882c6a0b2 | refs/heads/master | 2021-01-12T11:54:50.689708 | 2016-09-27T02:40:29 | 2016-09-27T02:40:35 | 69,312,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48 | hpp | cube.hpp | #pragma once
RenderBuffer prepareCubeBuffers(); |
7d04fa2047811390f3ae5745eabca6e2e162547d | 61148e515fe38c57280daba7a6aac093285337ab | /src/InferenceEngine.h | 9e51d826bd769a4894a73fe02a2386a882c8b079 | [] | no_license | Fedeparg/Rule-Based-System | 34164f915fd8aa9493bceae59b0589433e827ce0 | 37507ce27793a9879d7ffbb166eecc5c4002f949 | refs/heads/master | 2021-07-10T08:27:50.478398 | 2020-07-15T08:10:13 | 2020-07-15T08:10:13 | 159,451,835 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 763 | h | InferenceEngine.h | #ifndef SBR_INFERENCEENGINE_H
#define SBR_INFERENCEENGINE_H
#include <string>
#include <list>
#include "Config.h"
#include "FactsBase.h"
#include "KnowledgeBase.h"
#include "Rule.h"
namespace InferenceEngine {
bool ForwardChaining(KnowledgeBase &kb, FactsBase &facts);
bool GoalFound(std::list<Attribute> &facts, ... |
a393c88faa2a5293f370e57c948aacf9a573a2f7 | 33f1b5f6afa115be45cade93479bb7fbc33e7da0 | /CodeForces/460C/18720556_AC_93ms_3372kB.cpp | 4798d150642afa55d00f1c1e774d69f5d89a0126 | [] | no_license | showmic96/Online-Judge-Solution | 3960c37a646f4885210c09096c21dabd7f2154d2 | 94c34e9db2833fb84d0ac885b637dfebac30a5a2 | refs/heads/master | 2022-11-26T09:56:58.469560 | 2020-08-02T04:42:33 | 2020-08-02T04:42:33 | 230,185,618 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | 18720556_AC_93ms_3372kB.cpp | // In the name of Allah the Most Merciful.
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
ll n , m , w , temp[200005];
vector<ll>v;
bool possible(ll mid)
{
memset(temp , 0 , sizeof(temp));
ll counter = 0;
for(int i=0;i<n;i++){
if(i>0)temp[i]+=temp[i-1];
ll now = max(0L... |
3a26bcbcd20dc2a5241bd8a238881cc79d45e0c9 | e64d30da3c811da9f387c0e17e0991b75b6bff88 | /include/cppclass.h | 5a131c0b8b87f7c8258c4dd3d4366d32c0d5509b | [] | no_license | thomasjwebb/hxcpp-buildxml-example | 309da13346a3168d92558c2545c141dcb612fa1b | f5284ab788bbfa569ee3a284e0a645a467bd44aa | refs/heads/master | 2020-04-08T02:51:37.394456 | 2018-11-24T16:26:44 | 2018-11-24T16:26:44 | 158,951,479 | 0 | 0 | null | 2018-11-24T15:56:34 | 2018-11-24T15:56:33 | null | UTF-8 | C++ | false | false | 141 | h | cppclass.h | typedef void (*Callback)(int, double);
class CppClass
{
public:
CppClass() {};
void callF(Callback callback) { callback(1, 2.3f); };
};
|
ca893e310b1717e80e89939212b22a81c7cad664 | 7851f8056abd273438240f95679a61fe543d09a6 | /BinaryTree.cpp | 70502e106ff7235daae36fedffd998d3666e6329 | [] | no_license | ChoudhariApoorva/Data-Structures | a26d7b0f2c535d5146878945d2f0ff47a5f868cc | a850ce903879050b6a925e20098c84a43e19dd72 | refs/heads/master | 2021-01-13T13:34:12.213936 | 2017-01-21T17:44:26 | 2017-01-21T17:44:26 | 76,416,023 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cpp | BinaryTree.cpp | #include <iostream>
#include "BinaryTree.h"
using namespace std;
int main()
{
BinaryTree<int> T;
T.add(5);
T.add(10,"L");
T.add(20,"R");
T.add(30,"LR");
T.add(40,"LL");
T.add(50,"RL");
T.add(60,"RR");
T.disp();
return 0;
}
/*
5
/ \
10 20
/ \ / \
40 30 50 60
Sample output - I... |
80c1b686cd8659b84e06aa61d6e72df3f011140f | f5b19bbac3e6ba82798ae71125bcc20108f810f3 | /include/sha1.hpp | bbe5d3a4661e921bbfaa1ce193b567a514d97921 | [
"Unlicense"
] | permissive | elnormous/hlibs | fb2134fbc44b8193d1ce97a1af1cccfd064a55e8 | 9e72968a1ea9aad98a0ca87c1acef32ecccf0035 | refs/heads/master | 2023-04-11T00:26:02.685028 | 2023-03-21T18:58:40 | 2023-03-21T18:58:40 | 158,849,034 | 16 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 5,372 | hpp | sha1.hpp | //
// Header-only libs
//
#ifndef SHA1_HPP
#define SHA1_HPP
#include <algorithm>
#include <array>
#include <cstdint>
#include <cstdlib>
namespace sha1
{
inline namespace detail
{
constexpr std::size_t digestIntCount = 5; // number of 32bit integers per SHA1 digest
constexpr std::size_t digest... |
2e6594d6791e30956cb6aa0a15ad110ff925d4ac | 7966b8af2298832ebfc3916d93c2f8179111ac1c | /tags/exercice4tree/code/node.cpp | 67bd47811f26744004565c4d630e183712f335cf | [] | 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 | 610 | cpp | node.cpp | #include "node.h"
Node :: Node()
{
triangle = NULL;
}
bool Node :: isInside(const Point& p)
{
int sdet12p = signDet(points[0], points[1], p);
int sdet23p = signDet(points[1], points[2], p);
int sdet31p = signDet(points[2], points[0], p);
return (sdet12p == sdet23p && sdet23p == sdet31p);
}
double Node :: det... |
19bc0c9bbc96acbd5d454b00c1dbd1056a2c3967 | 8369a709af956bc16e502d414272abaaedfafada | /R3E/Entity.hpp | b6053336450959535601ca9326ca127815e1fea7 | [] | no_license | DragoonX6/R3E | b4205ba39ccee88aa220fcf587eee3a80f4bd993 | 3433d984f842109a56e1ff53b96be1940c2c7ba5 | refs/heads/master | 2021-01-18T19:29:59.460356 | 2013-11-11T17:07:38 | 2013-11-11T17:07:38 | 3,939,151 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | hpp | Entity.hpp | #ifndef ENTITY_H
#define ENTITY_H
#include "BoundingBox.hpp"
#include "Matrix4.hpp"
#include "Frustum.hpp"
#include "Ray.hpp"
enum EntityType {
ENTITY_COLOUR,
ENTITY_COLOUR_MESH,
ENTITY_1TEX_SPRITE,
ENTITY_1TEX_MESH,
ENTITY_2TEX_OBJECT,
ENTITY_3TEX_TERRAIN,
MAX_ENTITY,
};
enum EntityFlagIndex {
ENTITY_CAN_HO... |
2b20156d953623cb8790052f22e8ff1dc202f011 | a4dafafce7a27dd7c7b79bd8bd0a799d9b3a1fec | /src/main.cpp | 02871450202a75cc6df0d4035e98e2152eb06522 | [] | no_license | P4-Activity-Tracker/ESP32_FunctionBenchmark | aa0a1c92777479a05892a497a054c0bf695402ed | e26293f8aaa4a2c9bae4e560cc069ebad491eb53 | refs/heads/master | 2022-06-26T11:03:56.121485 | 2020-05-05T21:08:04 | 2020-05-05T21:08:04 | 258,774,024 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,007 | cpp | main.cpp | #include <Arduino.h>
#include "testData.h"
#include "arrayProcessing.h"
#include <arduinoFFT.h>
#define bufferSize 512
#define singleSize (bufferSize / 2)
double pytData[bufferSize*2];
double copyData[bufferSize*2];
double acclPyt[bufferSize];
double gyroPyt[bufferSize];
double acclSingleFFT[singleSize];
double gyr... |
f2a192226c2d3d9b1091258de0df6e5d2b67b158 | 71042001535e839f17b8ca983de7edce9f5398f1 | /korus/src/reactor/reactor_loop.cpp | ef4c4b3347a0b11dc2325d43651d57a2e1766825 | [
"MIT"
] | permissive | zjkw/korus | 4b72352c6c9dd147fad70a5e169a10b01f4d80c4 | fb8c6f54cf481454d2d66129505efb11bf534994 | refs/heads/master | 2021-09-09T16:54:33.858135 | 2018-03-18T10:39:27 | 2018-03-18T10:39:27 | 106,912,424 | 13 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,032 | cpp | reactor_loop.cpp | #include <stdlib.h>
#include <assert.h>
#include "reactor_loop.h"
#include "epoll_imp.h"
#include "kqueue_imp.h"
#include "timer_helper.h"
#include "idle_helper.h"
#define DEFAULT_POLL_WAIT_MILLSEC (100)
reactor_loop::reactor_loop() : _task_queue(false, true)
{
_tid = std::this_thread::get_id();
#if defined(__li... |
a60a403efa7af5a3a9849613a95fa31310ede131 | 521685507e5b26ec9be38b39a249bdc1ee638138 | /Qt/Widgets/pqCheckableHeaderModel.h | d37e1650d31e7e4e5091c361aa6f40815685b157 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | matthb2/ParaView-beforekitwareswtichedtogit | 6ad4662a1ad8c3d35d2c41df209fc4d78b7ba298 | 392519e17af37f66f6465722930b3705c1c5ca6c | refs/heads/master | 2020-04-05T05:11:15.181579 | 2009-05-26T20:50:10 | 2009-05-26T20:50:10 | 211,087 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,929 | h | pqCheckableHeaderModel.h | /*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView lice... |
210743a9f4fb49639a958761c7a922d15ed24d78 | 03e890343f33a4c3a42fd741f94ac6359ac8ca38 | /STL/vector/vector_init.cc | 302eb6f27ab0ef8f7e827c08429fc52c2f91e55d | [] | no_license | cedric-sun/old_cplusplus_playground | 955fd5cc52e13d4822dee6811e74430147759a28 | 2da4331a774defa5d82a390d07965e9c9f686e25 | refs/heads/master | 2022-12-10T22:37:10.821612 | 2020-09-11T05:33:32 | 2020-09-11T05:33:32 | 294,603,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cc | vector_init.cc | //
// Created by ced on 5/6/20.
//
#include <vector>
#include <iostream>
#include <memory>
using namespace std;
void foo() {
auto array_of_vec = make_unique<vector<int>>();//?
}
int main() {
const int N = 15;
vector<vector<int>> c{N};
c.erase(c.begin() + 7);
for (auto it = c.begin(); it != c.end... |
e47789989c2368faf41b891b4875adfe600b840a | 1ef5a27c9326065db448dd539810e900cae9460d | /Classes/Round010_01.h | 0005a58376c8f73b4e87752762541743753a7aa8 | [] | no_license | langtuandroid/SuperBaby | c4e3f7faaa82d40c8da0f518b71251a8ff466c2f | 957a5202ba7d1078bdcfb6b0cd6b73a966893efe | refs/heads/master | 2021-01-06T20:43:54.083245 | 2017-06-18T14:19:00 | 2017-06-18T14:19:00 | 99,549,410 | 0 | 1 | null | 2017-08-07T07:25:29 | 2017-08-07T07:25:29 | null | UTF-8 | C++ | false | false | 1,508 | h | Round010_01.h | //
// Round010_01.h
// AbelLLExplorer
//
// Created by Administrator on 15/4/8.
//
//
#ifndef __AbelLLExplorer__Round010_01__
#define __AbelLLExplorer__Round010_01__
#include "RoundBase.h"
USING_NS_CC;
class NpcActor;
class StageScene;
class Round010_01 : public RoundBase
{
public:
Round010_01();
virtual ... |
9203644785a34e66e8866e6e51ba07ccc3bc3b6d | ac6e59584de8ae0b29108f879b60f1c14a6595d5 | /Crawler.swei/src/APXCrawler/ConsoleCrawlerViewer.cpp | a35837010ae7ecef74d6e967c65023fd555a0aad | [] | no_license | Aaronswei/swei | 3cc9ac3bf44c589e8e2f9115cd137f167c5e9aac | 94399bcdb96523667942ea41bb36967cfe0f6184 | refs/heads/master | 2021-01-13T00:42:54.146225 | 2016-02-05T07:12:40 | 2016-02-05T07:12:40 | 50,904,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,623 | cpp | ConsoleCrawlerViewer.cpp | #include <iostream>
#include "HttpResponse.h"
#include "ConsoleCrawlerViewer.h"
void ViewHandler::ConsoleCrawlerViewer::viewInfo(const std::string &url,
size_type extl,
size_type intl,
size_type inde... |
57a2cf77c857c4dc5cc831aaabc68e5cfa6e3e2f | 03a3f421879cd2765d79974900df4130f716fa6c | /2020/ABC/171/D.cpp | ebf7130e8b41bac2282cd5ec2c8331dc8070b973 | [] | no_license | soyamaguchi/AtCoder-past-problems | 4e38fb3841ba820dedd6b49b7ffb3a08c6d1bd60 | 1323907d1088125887a48fbf9883d38c9f4b61dc | refs/heads/master | 2021-07-16T18:21:50.209529 | 2020-08-15T09:43:41 | 2020-08-15T09:43:41 | 201,491,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | cpp | D.cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <cmath>
#include <bitset>
#include <vector>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <algorithm>
#include <complex>
#include <unordered_map>
#include <unordered_set>
#include <random>
#... |
d060f148f2437afe5a05663dd0a41273304165ea | 15ec80e6819e87073c28d211d40825298a81ad8e | /RayMarchingTexture.cpp | 7bca34404bb930e669c6d6bddefb8ca4deeed8aa | [] | no_license | vmagno/3D-fractal | fb3b8fe66b5307b0291af89502c7ab8097993be7 | 22607b3b14487d10e0b7f922a6b93856f3fdcd9d | refs/heads/master | 2021-04-30T18:09:37.386439 | 2018-07-13T20:12:48 | 2018-07-13T20:12:48 | 80,324,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,399 | cpp | RayMarchingTexture.cpp | #include "RayMarchingTexture.h"
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <cuda_gl_interop.h>
#include "CudaMath.h"
#include "Kernels.h"
using namespace std;
const uint3 DEFAULT_BLOCK_SIZE = make_uint3(256, 1, 1);
const uint3 DEFAULT_NUM_BLOCKS = make_uint3(0, 0, 0);
// co... |
6de02de5b6c5bc278b14174f6701313a44d8ad47 | 6278622acc05232479116127f74d4103cc86330a | /PepperMint/src/PepperMint/Renderer/Shader.h | 81b0b5c54b8bfe47832203ec1e9340377300092c | [
"MIT"
] | permissive | Naheuldark/PepperMint | 5b8c641f33e2ec6047e659d7e97e10926967335c | 2e0ca26ab7ca85accbeb4d1b3bd6b6c0eb232523 | refs/heads/master | 2022-10-05T22:24:07.572963 | 2022-09-24T17:21:29 | 2022-09-24T17:21:29 | 217,889,056 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | h | Shader.h | #pragma once
#include <string>
#include <unordered_map>
#include <glm/glm.hpp>
namespace PepperMint {
class Shader {
public:
virtual ~Shader() = default;
virtual void bind() const = 0;
virtual void unbind() const = 0;
virtual std::string name() const = 0;
virtual void setInt(const std::st... |
3064e6fbf710e4997152021f6c5f72c3a63b9eb4 | 51397a31d35191308d70f7a5e3aaa87ef91d3909 | /tools/cpp/src/qt/qt_sensors/mainwindow.h | 4004465a966eae6ad30e6feeee62c901478c99b6 | [
"MIT"
] | permissive | mindThomas/JetsonCar | 7ab4eb6926f89c335c9d508ce394d5efcf6b1052 | 74636d4da1f7f71ca9f2315a1b2347393b081eda | refs/heads/master | 2023-02-28T11:46:00.594964 | 2021-02-09T15:31:52 | 2021-02-09T15:31:52 | 310,801,931 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "imutab.h"
#include "realsensetab.h"
#include "zedtab.h"
#include "motortab.h"
#include "testtab.h"
#include "loggertab.h"
#include "window.h"
#include <QSettings>
#include <QDesktopWidget>
#include <Qt3DCore/QEntity>
#include <Qt3DRender/QCa... |
5bd51ca581e9990b9620ae81bd0d996cf3d98f0b | 2f19e39d581eaa8298ca08192460fe3ac9f8d02b | /fhe5/fhe/Func.h | 08509bd7123882ec93c78059cd80e067cfea3690 | [] | no_license | davecarr1024/libfhe | 77497b67c2ead85fc0bd6a7837a765daf6ccfe30 | 31682b423fc2255a10235f28c17cbdc7c6d7668b | refs/heads/master | 2021-05-08T05:22:02.635076 | 2016-08-22T20:11:06 | 2016-08-22T20:11:06 | 31,622,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,201 | h | Func.h | #ifndef FUNC_H
#define FUNC_H
#include "Var.h"
#include <string>
namespace fhe
{
template <class T>
class Func;
class AbstractFunc
{
public:
virtual std::string getName()=0;
virtual Var call( const Var& arg )=0;
};
template <class T>... |
aeac439368113eba533c75a6ae30ceb287fc9669 | 42ae150753702e60b66c0033d9c5153d507c1cfb | /OpenCV/Playground/surface map/main.cpp | 02601dceccc73507b496336bf544cfd79c76cc77 | [] | no_license | DSchana/Misc | c6be0715cb8f65643b0a65ff1e03618f41853035 | e7938905dd734b07b6c532812c38d31f4412673e | refs/heads/master | 2021-06-25T12:06:35.399851 | 2020-12-09T23:09:05 | 2020-12-09T23:09:05 | 31,044,068 | 1 | 5 | null | 2020-08-26T21:15:11 | 2015-02-20T00:16:53 | TeX | UTF-8 | C++ | false | false | 336 | cpp | main.cpp | #include "opencv2/highgui.hpp"
#include "opencv2/objdetect.hpp"
#include "opencv2/imgproc.hpp"
using namespace cv;
int main() {
VideoCapture capture(0);
Mat frame;
if (!capture.isOpened()) {
return -1;
}
while (capture.read(frame)) {
imshow("Frame", frame);
if (char(waitKey(10)) == 27) {
break;
}
... |
da8ca3aa1dfffa1ca029d328b19da2cf6f88a0ab | 25c752aedf3ebbb5f580b4d829892314fc5a55dc | /memory/inc/memory_ebr.h | a8533551d5eb8e332e4942cc2ace6736bcaef77d | [] | no_license | iamnotalone1993/dds | e8ff35d045cc8bd5fd89b9d0bae1301ca3f996ec | e8f2167c48f73d4ba739479eb59fc6d43b8c0070 | refs/heads/master | 2023-04-05T22:15:13.653446 | 2023-03-30T16:56:04 | 2023-03-30T16:56:04 | 253,201,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,121 | h | memory_ebr.h | #ifndef MEMORY_EBR_H
#define MEMORY_EBR_H
#include <cstdint> // uint64_t...
#include <limits> // std::numeric_limits...
#include <vector> // std::vector...
#include <utility> // std::move...
#include <iterator> // std::back_inserter...
namespace dds
{
namespace ebr
{
template<typename T>
class memory
{
public:
... |
b1aef53019ad7d73829049660fe697cb3ba52c2c | 21ebb8f8e3708a8b92ae749ee8738dddccc9aef0 | /candy sp.cpp | 4d38acb68ff658aa237cc5151fe7c2734fd9402e | [] | no_license | habib-e/All-Problem-Solving-code-with-name | 69ec00ffc343fc0d0ccf0cd88ec3141466cc21d6 | 0f05f3e5c9c7f70e2b5b20ee1f2524f9b262de07 | refs/heads/master | 2020-12-04T15:40:34.017972 | 2020-01-04T21:05:22 | 2020-01-04T21:05:22 | 231,820,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 656 | cpp | candy sp.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n=1,i;
while(n!=-1)
{
cin>>n;
if(n!=-1)
{
int a[n],s=0;
for(i=0;i<n;i++)
{
cin>>a[i];
s+=a[i];
}
if(s%n!=0)
... |
fae99268031d7cf36d37220f16edef437d3e2a3a | f718d8d40c65da1ed493ff2a1db5fb06a1769fdb | /Project II: All-Sky/uioCam/uioCam v2.1/yAstro_thetag.cpp | a6cc0c61c6aaf5611dcbe7cf0eb330dd9dd6acc7 | [] | no_license | Joanna-Szulc/Cloud-detection-ASC | 6ef236a04b4aa83a995bb9355c9367f68cca1f51 | 7b62651516d273802ca9f2831d9ed6c4c9485de1 | refs/heads/master | 2023-01-01T12:16:38.747261 | 2020-10-18T12:26:45 | 2020-10-18T12:26:45 | 257,517,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | cpp | yAstro_thetag.cpp | #include "stdafx.h"
#include <math.h>
#include "yAstro_deepconst.h"
/* @(#) $Id: thetag.c,v 1.3 2000/10/07 05:12:17 ecdowney Exp $ */
/*
* FUNCTION THETAG(EP)
* COMMON /E1/XMO,XNODEO,OMEGAO,EO,XINCL,XNO,XNDT2O,XNDD6O,BSTAR,
* 1 X,Y,Z,XDOT,YDOT,ZDOT,EPOCH,DS50
* DOUBLE PRECISION EPOCH,D,THETA,TWO... |
a6b9c66ff4eb1d24e7d7661610424d632fe4c159 | 9f14621793a39a930c0831db84c9309dcc793e20 | /xunan_admin/service/upload_service.cpp | df91625dcda86e54d3c3dd89d9c49e64ecf4bb72 | [] | no_license | huanghao870620/myproj | 3d8d75d30a630b33b86b65e354407d0c98731d8b | b2a5aa33a93312399a71a7869376d27e181689ee | refs/heads/master | 2020-04-04T05:40:24.350288 | 2017-02-25T06:17:52 | 2017-02-25T06:17:52 | 52,357,318 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,282 | cpp | upload_service.cpp | ///////////////////////////////////////////////////////////
// upload_service.cpp
// Implementation of the Class upload_service
// Created on: 28-十一月-2016 17:42:12
// Original author: admin
///////////////////////////////////////////////////////////
#include "upload_service.h"
upload_service::uplo... |
7eb8a2afa384d62ded82b60e9645253b65f37416 | 8b534513477b8dabb242594ac57e359ea0b62781 | /hw3-particles/src/compute_contact.cc | 33012b6c809c9e084fd95e9c86c0ad1d2de7e860 | [] | no_license | DanielMarchand/particles_simulator | fc86acb36c09290c9bcf45d2db238bdced82ebc0 | d119868da17bdcc53499ae6fa2e74e7b3e5ed026 | refs/heads/master | 2020-05-09T21:35:57.076407 | 2019-04-23T13:05:39 | 2019-04-23T13:05:39 | 181,448,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cc | compute_contact.cc | #include "compute_contact.hh"
#include "ping_pong_ball.hh"
#include <cmath>
/* -------------------------------------------------------------------------- */
void ComputeContact::setPenalty(Real penalty) {
this->penalty = penalty;
}
/* -------------------------------------------------------------------------- */
void ... |
4b5e341dfed7f64630f5605388939c20e3d4cf58 | 87165a9e183927dd3ffc590e130ef052cf81ce1b | /cetcosinstaller/games/game_card.h | c1fc84fba9d4ab72673fcc642489c214f464eae6 | [] | no_license | sunzhigang/isoft-os-installer | 0a024ccb02a783f5e87435c5004f04ef16849760 | 7ac66ab4f368546f4a1e840176b322a0c951e130 | refs/heads/master | 2021-01-22T15:50:59.645306 | 2014-04-11T02:36:27 | 2014-04-11T02:36:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | h | game_card.h | /***************************************************************************
* Copyright (C) 2008 by Weinzierl Stefan *
* Stefan@Weinzierl-Stefan.de *
* *
* This pr... |
3712e8861eb3a86e14c1367cf2bba364c6f6a2f7 | 304bcb7dfe3d20a75a73548f8cfeb5beaf0fd838 | /math/exponentiation_two.cc | 782c1cc886c24666654df71f02b1a4c62cc9550d | [
"MIT"
] | permissive | eduellery/cses-problemset-cpp | fa64fe380953f17b1d6e658a26bbf85c0ee5a2eb | 427a42aef33eb7e40a79c320b771cb8138741777 | refs/heads/master | 2022-12-14T18:17:57.850195 | 2020-08-30T14:32:43 | 2020-08-30T14:32:43 | 277,148,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cc | exponentiation_two.cc | #include <iostream>
using namespace std;
using ll = int64_t;
ll MOD = 1e9+7;
ll MUL(ll x, ll y, ll m) { return (x*y)%m; }
ll POW(ll b, ll e, ll m) {
// Exponentiation by squaring
if (e == 0) {
return 1LL;
} else if (e%2 == 0) {
// Instead of b^e, (b^2)^(e/2)
return POW(MUL(b, b, m), e/2, m);
} else... |
70adf825042cde5686f63c1ee836041eef16bf15 | c9cf73543d7c81f8e87a58e051380e98e92f978a | /baseline/happy_trader/platform/server/backend/src/java_power_listener/core.hpp | f0b17fa0b0e1cc5121e566ff435ac0301cca6e4b | [] | no_license | vit2000005/happy_trader | 0802d38b49d5313c09f79ee88407806778cb4623 | 471e9ca4a89db1b094e477d383c12edfff91d9d8 | refs/heads/master | 2021-01-01T19:46:10.038753 | 2015-08-23T10:29:57 | 2015-08-23T10:29:57 | 41,203,190 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 327 | hpp | core.hpp | #ifndef _JAVA_POWER_LISTENER_CORE_INCLUDED
#define _JAVA_POWER_LISTENER_CORE_INCLUDED
#include "java_power_listenerdefs.hpp"
#include "HtPowerEventDetector_C.h"
extern "C" {
// forward declaration
void callback_onDDEDataArrived(CppUtils::DDEItem const& item, CppUtils::String const& value);
}; // end of C
... |
4c639464ecfb43c01a63a22eddebf3bf6de4ab0f | a72d01c6c8dfdd687e9cc9b9bf4f4959e9d74f5d | /PRINCIPLE/acropolis/source/views/tileView.cpp | 0dfe9d29c9dec2c109265b6df01ee7a7ccd2ecd0 | [] | no_license | erinmaus/autonomaus | 8a3619f8380eae451dc40ba507b46661c5bc8247 | 9653f27f6ef0bbe14371a7077744a1fd8b97ae8d | refs/heads/master | 2022-10-01T01:24:23.028210 | 2018-05-09T21:59:26 | 2020-06-10T21:08:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,789 | cpp | tileView.cpp | // This file is a part of PRINCIPLE.
//
// Look, but don't touch.
//
// Copyright 2017 [bk]door.maus
#include <glm/gtc/matrix_transform.hpp>
#include "acropolis/application.hpp"
#include "thoreau/thoreau.hpp"
acropolis::Application::TileView::TileView(Application* application)
{
this->application = application;
}
v... |
e24b644dc693379efe0732c8a7887393a87835b4 | 4a41a7e44e4462121c67145a736734f8f1fa7358 | /eventpainter/src/eventpainter.cpp | 1cd3105f6ae2dda40d52d35fbc0a0f95c6c0276b | [] | no_license | tigerInAJar/typeCase | 965bba23f3aa0c2434cd44bc6f83b12dd640b490 | 067d3dab23c40658c80de2701f452d2fc55edec3 | refs/heads/master | 2020-04-13T02:55:05.085444 | 2019-08-15T18:43:09 | 2019-08-15T18:43:09 | 162,915,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,549 | cpp | eventpainter.cpp | #include "eventpainter.h"
#include "TCrown.h"
#include "TCutG.h"
#include "TMarker.h"
#include "TPolyLine.h"
#include "TText.h"
#include <TEllipse.h>
EventPainter::EventPainter()
{
Event = 0;
canvas = 0;
upperLeft.setValues(-400, -400);
lowerRight.setValues(400, 400);
trackLike = true;
setPaintMode(1);
s... |
848481273c3fa647df64af912d110def32ce48f2 | 3ef16236cc4566b03328552843b28adde7389612 | /chrome/browser/ash/policy/reporting/metrics_reporting/metric_reporting_manager_unittest.cc | f47c223ce2f4e50c9ef57ae7f8a5ca9f3686dec1 | [
"BSD-3-Clause"
] | permissive | moteesh-in2tive/chromium | c5962834c8218ba607846ce59d0ba008be00fe2b | e1e495b29e1178a451f65980a6c4ae017c34dc94 | refs/heads/main | 2023-09-05T00:46:48.898998 | 2021-11-23T19:52:34 | 2021-11-23T19:52:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,362 | cc | metric_reporting_manager_unittest.cc | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/policy/reporting/metrics_reporting/metric_reporting_manager.h"
#include <memory>
#include <string>
#include <vector>
#inclu... |
a80346f0583482a52bfec9d3822ec781c8014dff | d77f4729c302054c9abd28847732baef5cf9d61d | /include/itkKrcahEigenToScalarFunctorImageFilter.h | 4c0045c96a572fe6d79cdadbe7fe27fd0215c1f4 | [
"Apache-2.0"
] | permissive | Besler/ITKBoneEnhancement | 1c297ebeaaa615586bf6f525e801382343cebb33 | 872ac188933b44ee84986e984ce73d53c2c4ef5f | refs/heads/master | 2023-04-19T00:42:56.971625 | 2019-11-25T19:41:11 | 2019-11-25T19:41:11 | 110,497,754 | 4 | 1 | Apache-2.0 | 2021-12-20T17:00:25 | 2017-11-13T03:52:43 | C++ | UTF-8 | C++ | false | false | 7,472 | h | itkKrcahEigenToScalarFunctorImageFilter.h | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
ab10c4a5fa9bc53e5cf9e8554dffa3493234d877 | a0ff5ddd9177b878ca9ff27249bc1dc9248fe316 | /cc/get_str.cc | 4b99ecb9d2116ddae8d1e08c838ae1d3a30b30dd | [] | no_license | chatler/leisure | d283fcf12f0534c75f57227144b4e9afd3779f10 | b646e1078dd585f2e88a243572032366492e2bfb | refs/heads/master | 2020-04-06T13:13:29.368653 | 2017-06-27T07:26:26 | 2017-06-27T07:26:26 | 14,645,866 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | cc | get_str.cc | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <iostream>
char* GetString1()
{
char p[] = "Hello World";
return p;
}
char* GetString2()
{
char *p = "Hello World";
return p;
}
void testBranchPredictor()
{
//http://stackoverflow.com/questions/11227809/why-is-it-faster-to-process-a-sorted-arra... |
254334c33458949dc9f1e1a47cc092dd6b942949 | b7cb90804d38d548b6c06cb449552fc6b33fcd62 | /Material.h | f4e0ea1053ac7a5d83e559bf8e87fb8fd7268c9f | [
"MIT"
] | permissive | MORTAL2000/Ezwix-Engine | 7435a1a99f75dbc54854384ab90d5a632edcd422 | 3e5bf38aa428608abd478cce005731861505c3cf | refs/heads/master | 2020-08-29T16:59:21.663341 | 2017-07-23T16:12:28 | 2017-07-23T16:12:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | Material.h | #ifndef __MATERIAL_H__
#define __MATERIAL_H__
#include <string>
#include <vector>
enum UniformType
{
U_BOOL,
U_INT,
U_FLOAT,
U_VEC2,
U_VEC3,
U_VEC4,
U_MAT4X4,
U_SAMPLER2D
};
struct Uniform
{
~Uniform();
std::string name;
UniformType type;
char* value = nullptr;
};
class Material
{
public:
Material();
... |
fabcb3e1d1b48d7e73612fc82294fbc12b89eb8a | ba76ff053e4ad23b3ecd7e41d42be8b805743e66 | /src/mge/win32/monitor.cpp | 0f79e6f33f6663c8b29da67326d47023ada9d54d | [
"MIT"
] | permissive | mge-engine/mge | c6b45216fe327d279c6b86b3764abcda74a7f7d4 | 36ce18d0602d14e216405d00e2debe0dd117f7fb | refs/heads/main | 2023-09-03T15:28:34.874064 | 2023-08-16T15:30:00 | 2023-08-16T10:28:45 | 174,581,225 | 0 | 0 | MIT | 2023-03-11T14:46:07 | 2019-03-08T17:34:06 | C++ | UTF-8 | C++ | false | false | 4,787 | cpp | monitor.cpp | // mge - Modern Game Engine
// Copyright (c) 2017-2023 by Alexander Schroeder
// All rights reserved.
#include "mge/win32/monitor.hpp"
#include "mge/core/copy_struct.hpp"
#include "mge/core/system_error.hpp"
#include "mge/core/to_utf8.hpp"
#include "mge/core/trace.hpp"
#include "mge/core/zero_memory.hpp"
#ifdef WIN32
... |
f97e0e274a2a659aa43016b3a24d32f0dd5bc398 | a5e10a57fe74093f10d1efbc6d9d4ed8596c31ef | /src/EntityPosition.h | 9d439067c5ca9294c7b37bdb81b970953d6a09f1 | [
"WTFPL"
] | permissive | Cavantar/RoqueLike | 3030169cab1a321f392e44bb42dfa6277639b48a | c2466c5950730f51a9d582d3757548299b226327 | refs/heads/master | 2021-01-09T06:33:03.386381 | 2017-02-05T17:52:21 | 2017-02-05T17:52:21 | 81,007,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,762 | h | EntityPosition.h | #pragma once
#include <jpb/Vector.h>
class WorldPosition{
public:
// Position of a TileChunk
Vec3i tileChunkPosition;
// Position of a Tile in a TileChunk
Vec2i tilePosition;
WorldPosition(const Vec3i& tileChunkPosition, const Vec2i& tilePosition)
: tileChunkPosition(tileChunkPosition), tilePosit... |
ad0ba0200cb2a7a90b0ce98d7fd977a25a846180 | e1d254a3d4cc81479006934679c665d71873cfb3 | /src/message_processor_class.hpp | 5ff3961dbab90d35e9bb7e48342bdcf0824037ab | [
"Apache-2.0"
] | permissive | alexantone/ric-app-admin | 766f319a0d85c78a6a3d68d96798f38cca55985f | 0a168f272a81ac4c3afe42e014f8032f2a159d97 | refs/heads/master | 2021-01-16T05:34:34.552557 | 2019-12-25T03:50:48 | 2019-12-25T04:06:36 | 242,992,971 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,401 | hpp | message_processor_class.hpp | /*
==================================================================================
Copyright (c) 2018-2019 AT&T Intellectual Property.
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 Licen... |
b8c943cb8e1300aa4d914a03cf6465d55cb77daa | aaa236b651b4120dee116065d31ed98559d8397a | /DrawPixel/Matrix.cpp | 5d5b841fcce00e2e6f36fe2f21e0fb9ee92f72b9 | [] | no_license | GuillermoEscuadraCalzada/ComputoGraficoVectores | deb9e1055dbb80f767098c13ae00d3e4ed9d09b0 | a4d7032782bfa7cc20b4c1b227ad6f16703b85ae | refs/heads/master | 2020-06-25T23:50:40.753103 | 2019-09-18T13:44:17 | 2019-09-18T13:44:17 | 199,458,930 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,230 | cpp | Matrix.cpp | #include "pch.h"
#include "Matrix.h"
Matrix::Matrix()
{
}
Matrix::Matrix(unsigned _rows, unsigned _cols)
{
mat.resize(_rows);
for (int i = 0; i < mat.size(); i++) {
mat[i].resize(_cols, 0);
}
rows = _rows;
cols = _cols;
}
//Constructor de copia
Matrix::Matrix(const Matrix & other)
{
mat = other.mat;
cols =... |
ad979da64ec6963236df930d4aa57a530c6d21ab | b3231ac5695c678a1b9899f407c7caa4fcee6c1b | /Modelos/corpus_lsi_100_rm.cp | 51734837d0a7ead22bcf1c5fa853085eac700cb2 | [] | no_license | vmorenojr/CE-DOHS | 7424c6a8d4fb801f3e3b76c751f54be717601b3a | 585840987ba182a81912f80e913e298100786956 | refs/heads/master | 2020-09-16T06:41:31.503157 | 2019-12-09T17:28:58 | 2019-12-09T17:28:58 | 223,682,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,322,069 | cp | corpus_lsi_100_rm.cp | %%MatrixMarket matrix coordinate real general
1185 100 118400
1 1 -0.136285213368507
1 2 -0.12468684077442715
1 3 -0.03616160207754042
1 4 0.1598709888696109
1 5 0.04015154585822804
1 6 -0.11027637109847058
1 7 -0.026992416719901876
1 8 0.03307058681170797
1 9 0.10453443694513538
1 10... |
cd71cf328d87855c0f0a2f570691b7390c0a6de8 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/Renderer/Private/PostProcess/PostProcessHMD.cpp | d56768b52feb87e8f01531a178290fdf372701fd | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 8,284 | cpp | PostProcessHMD.cpp | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
PostProcessHMD.cpp: Post processing for HMD devices.
=============================================================================*/
#include "PostProcess/PostProcessHMD.h"
#in... |
0a275927cb50f56d387cc3dc44caa1679bfd4b97 | a68e257efe8da0a7a38c7109b43168dec04b4a61 | /examples/matrix_determinant.cpp | a6cc1470ce103ac0bb13e98628892b1614a5501b | [] | no_license | DariusBxsci/Cplusplus_Class | 19832c1629873ba8cccd9d92963173d5ba88d763 | 11b0f8a197a4c5d2123ec30f19a7ea8ac09911d0 | refs/heads/master | 2020-03-28T13:14:41.348785 | 2018-09-27T02:02:53 | 2018-09-27T02:02:53 | 148,377,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | matrix_determinant.cpp | #include <iostream>
#include <armadillo>
using namespace std;
using namespace arma;
int main() {
//calculating the determinant of a matrix is extremely easy with Armadillo
mat M = { { 1, 3, 4 }, { 5, 2, 1 }, { 9, 2, 5 } };
double determinant = det(M);
cout << "Determinant: " << determinant << endl;
return 0... |
9cdb795523471133bb4ce7d528e8d59cb8c65d73 | 46a270c50ca6d41d92c085aad2d8f8dfa3dc55df | /tafjce/ServerEngine/QQYYBPayServer/QQYYBPay.cpp | c216a6cdb630be6fa00265eab86021a3fca96f45 | [] | no_license | PenpenLi/YXLDGameServer | 74e4eb05215373121029beefb9712f94b0488aea | 6f6e709271a0f47aa8d55226fed436308aae2365 | refs/heads/master | 2022-10-20T15:49:13.793932 | 2020-07-15T07:50:00 | 2020-07-15T07:50:00 | 279,802,517 | 0 | 0 | null | 2020-07-15T07:49:15 | 2020-07-15T07:49:14 | null | UTF-8 | C++ | false | false | 11,779 | cpp | QQYYBPay.cpp | // **********************************************************************
// This file was generated by a TAF parser!
// TAF version 4.6.0 by WSRD Tencent.
// Generated from `QQYYBPay.jce'
// **********************************************************************
#include "QQYYBPay.h"
#include "jce/wup.h"
#include "ser... |
9dc35f3b4b342890d52a36d38ebafc08e92e5121 | 41bee6af4b288dc9b0033e77f77dd4f4c73eddca | /server/src/program.cpp | eb9715ce5335bc0e783c2a0536c0681b46e41360 | [] | no_license | google-code/asudserver | 8c5714618d62d135c251809520c99335b438865d | 4d2b3190aa9bda6563ef8f6458dd6491734cd798 | refs/heads/master | 2016-09-10T09:03:06.156890 | 2015-03-15T15:35:05 | 2015-03-15T15:35:05 | 32,268,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | program.cpp | #include <string.h>
#include "program.h"
#include "base64.h"
program::program():
buffer_(NULL),
size_(0),
offs_(0),
last_offs_(0),
eof_(false)
{
}
program::~program()
{
if (buffer_)
delete buffer_;
}
bool program::init_from_buffer(const char *_buffer, size_t _size)
{
if (buffer_)
{
delete buffer_;
bu... |
49d95efd56e92ee743cbe54c1c74383edea775bf | c73f2ded42f7f2d982c2a965bdc105fa62a45561 | /Generic-Classes-cpp/Building.h | 7a9a9df925df543f4a0edbb8f145fa8d79b36ead | [] | no_license | agonzales42/AlexsPortfolio | 277e4d1f408d4f02a093d3c6fba12aab9c876f85 | fc5d9985490f4d9a10f6a6a23ea2d1c95766f3e0 | refs/heads/master | 2020-07-19T10:14:29.454542 | 2019-09-04T23:00:03 | 2019-09-04T23:00:03 | 206,428,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 565 | h | Building.h | // Alexander Gonzales
// CS 271 - Object Oriented Programming
// 5/1/2019
// Lab 11
// Building.h
// Declares class Building, which inherits from class CarbonFootprint
#include <iostream>
using namespace std;
#include "CarbonFootprint.h"
#ifndef BUILDING_H
#define BUILDING_H
class Building : public CarbonFootprint... |
9a62e7bd5616b250e3f3f88bd097582dae0b8bf7 | 8ff320e31e8ad83c75c93cd8f71347a38e718e71 | /src/lib/database/dbFunc.h | 43714c5f452b2d7d2f2fcd1ba5816dad95fedbd9 | [] | no_license | tavu/karakaxa | 60ff6e3e79196f5a3e079c5dc1cc1c430d9ff1be | 03f3df0f22a6a001438589d72c42c34a3f3dd519 | refs/heads/master | 2021-01-01T18:22:49.392260 | 2013-09-04T13:42:02 | 2013-09-04T13:42:02 | 4,357,814 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151 | h | dbFunc.h | #ifndef DBFUNC_H
#define DBFUNC_H
#include<QString>
namespace database
{
void toSqlSafe(QString &s);
void init();
void cleanup();
}
#endif
|
930a97d168555ef6a73bdc695387eb0e4696dd3a | 6c755bc109be462652ebd321145aa930f20726cd | /2/1_Cuatrimestre/ED/Teoria/Ejercicios_examen/2_14.cpp | 0d42d77e060cc6f957b8e4e5c26e207673cbc6e0 | [] | no_license | jagolu/Universidad | 150dcbc66a087dd09849b126076f92e022faeba7 | e26fa9847167ab3919d700bcb975e0b1fd813839 | refs/heads/master | 2021-01-19T00:40:38.709662 | 2019-07-02T15:01:58 | 2019-07-02T15:01:58 | 73,117,449 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 975 | cpp | 2_14.cpp | #include <iostream>
#include <set>
using namespace std;
multiset<int> multi_interseccion(const multiset<int> & m1, const multiset<int> & m2){
multiset<int> res;
int anterior=*m1.begin();
for(multiset<int>::iterator i=m1.begin();i!=m1.end();i++){
if(i==m1.begin() || anterior!=*i){
anterior=*i;
int veces1=m1... |
b990ee1d6c92a32226c4486ba7ffc09153e5a1d5 | 1095cfe2e29ddf4e4c5e12d713bd12f45c9b6f7d | /src/arch/mips/isa/formats/mem.isa | 1041500d9ec869e3418ed792138d13fc1c335741 | [
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"MIT"
] | permissive | gem5/gem5 | 9ec715ae036c2e08807b5919f114e1d38d189bce | 48a40cf2f5182a82de360b7efa497d82e06b1631 | refs/heads/stable | 2023-09-03T15:56:25.819189 | 2023-08-31T05:53:03 | 2023-08-31T05:53:03 | 27,425,638 | 1,185 | 1,177 | BSD-3-Clause | 2023-09-14T08:29:31 | 2014-12-02T09:46:00 | C++ | UTF-8 | C++ | false | false | 15,469 | isa | mem.isa | // -*- mode:c++ -*-
// Copyright (c) 2007 MIPS Technologies, Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met: redistributions of source code must retain the above copyright
// notice, ... |
0f6047b2b899ce623da4b8e47291b48e4cf3028f | f75f706d1a96877ad25e84941a9d187ef5d2c9bb | /fichier1/TestSignificance/combine_incertitue.cpp | 4bbd22695eddaf96cc0fc43838162794bfc19aee | [] | no_license | Raphael-Hulsken/Stop_analysis | 9415a96ce96a76a9d3cd14c4bc87b21fcc6f95f5 | 729b55229436d320fd2fdbafff1dc1123d05016c | refs/heads/master | 2020-03-27T18:09:07.477758 | 2018-08-31T15:45:54 | 2018-08-31T15:45:54 | 146,901,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,107 | cpp | combine_incertitue.cpp | #include <exception>
#include <iostream>
#include "stdlib.h"
#include "TH1F.h"
#include "THStack.h"
#include "TCanvas.h"
#include "TROOT.h"
#include "TFrame.h"
#include "TStyle.h"
#include "../sonicScrewdriver/interface/SonicScrewdriver.h"
#include "../sonicScrewdriver/interface/Table.h"
#include "interface/Figure.h"
... |
01d4158e7ac82df354b99b65293be829cb8c715a | 0a71e37422060a18c9bf539c6587d61c6b22ca4b | /backend/include/backend/server/stream/subscription.hpp | 2c7de954941cd99c80aaa6ddfa5deb653e86e241 | [
"MIT"
] | permissive | 5cript/minide2 | c74e3ba9a5e7a724bfe22a24fcc4833e1b16c34b | 6aa9c67999865d959cedc2fdd80008e7fe8f95ce | refs/heads/master | 2022-05-01T17:49:00.991757 | 2022-01-30T23:16:14 | 2022-01-30T23:16:14 | 233,628,278 | 0 | 1 | MIT | 2022-01-30T23:16:15 | 2020-01-13T15:30:22 | JavaScript | UTF-8 | C++ | false | false | 399 | hpp | subscription.hpp | #pragma once
#include <backend/json.hpp>
#include <functional>
class Subscription
{
public:
using ParameterType = json;
using FunctionType = std::function<bool(ParameterType const&)>;
explicit Subscription(FunctionType cb);
bool operator()(ParameterType const& param)
{
r... |
7850af792262598f8a0c84cbd318a255acf36b78 | cd7465b4a23be3e1ad6fa01f89fd4aebec835719 | /Tenedores.cpp | 3c0656b409e1a7b19d07fa8bb737b59f12591fa1 | [] | no_license | lGaze/Filosofos_Threads | 2eefccf3ce5a5c8edfa35748f93727ccf4c79085 | 002d4a18303435d2d479267cb9aa6f25ed4e8b63 | refs/heads/master | 2020-03-26T14:41:56.237247 | 2018-08-16T14:36:16 | 2018-08-16T14:36:16 | 145,000,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cpp | Tenedores.cpp | #include "stdafx.h"
#include "Tenedores.h"
Tenedores::Tenedores()
{
}
Tenedores::~Tenedores()
{
}
|
4291dd1bc211b7887ead72dc59d93f3ab50a5074 | a63e739155d5b07bb9252501b64bf0d5de275087 | /Ejercicio 3/src/finalizador.cpp | 26db8a432bd9b4f68b9ec94aadd874b92ae9f908 | [] | no_license | dario-ramos/testers-distribuidos7574 | 677b79588aadeb547d85f5f31f6c3912828cc8e4 | 5a8e992960f069a80491d49d270e52c4a8b95db6 | refs/heads/master | 2016-09-05T21:52:37.730168 | 2015-03-09T16:59:22 | 2015-03-09T16:59:22 | 33,097,578 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,310 | cpp | finalizador.cpp | /*
* File: terminador.cpp
* Author: knoppix
*
* Created on October 4, 2014, 7:09 PM
*
* Destruye todos los IPCs utilizados en la aplicacion
*/
#include "logger/Logger.h"
#include "common/AtendedorTesters.h"
#include "common/AtendedorDispositivos.h"
#include "common/DespachadorTecnicos.h"
#include "common/Plan... |
f0579aeb29e2616e0b1895ae62d61f7e0ea0d4ba | af9b7a49f5912142ff4e7cb35fd11b1e9635154d | /sdk/share/live555/liveMedia/IteAirTsSplitServerMediaSubsession.cpp | 4d0d42ce6727081ed4858f2e126b555386b095ce | [] | no_license | YuHsinShi/2430personal | 528ff02226102af77a006fef80fe7c35139fa7bb | 83e1ce53a7d872ed27bad4ba5549953975c0be3b | refs/heads/master | 2023-03-06T14:44:31.607663 | 2020-07-25T15:55:28 | 2020-07-25T15:55:28 | 340,536,248 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,865 | cpp | IteAirTsSplitServerMediaSubsession.cpp |
#include "IteAirTsSplitServerMediaSubsession.h"
#include "H264VideoRTPSink.hh"
#include "ite/itp.h"
#include "ite/ite_risc_ts_demux.h"
#include "ts_airfile/ite_ts_airfile.h"
//=============================================================================
// Constant Definition
//==================================... |
a8d1ef2315abef914c709ec52d96f8fb0181a034 | 4f3d4765407a042ce5146537226be13b2a0d994f | /Client/AI_files/possible_boxnpiece.h | 486965598845e33f1b23cf8701704d5cd1d35e1b | [] | no_license | PiyushC1480/Chess-Online_and_AI | a13fc0cadde7cd4b8867adabaa76f7240e77defa | 0a2dc47e8a0bf212fb641a3722eab0dc2ded6a0b | refs/heads/master | 2023-09-02T05:31:38.434109 | 2020-10-13T22:42:10 | 2020-10-13T22:42:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | h | possible_boxnpiece.h | #ifndef POSSIBLE_BOXNPIECE_H
#define POSSIBLE_BOXNPIECE_H
#include "gameitems/piece.h"
#include "gameitems/boardbox.h"
class possible_boxNpiece
{
public:
possible_boxNpiece(Piece *P, boardbox *b);
Piece * targetPiece;
boardbox * possibleMove;
int PieceCol;
int PieceRow;
int BoxCol;
int Bo... |
f8b1ef97722628ea54b8151382d4006d5f171c20 | 0fc6e94129f170153568f1e54dd301dbd984c75d | /topic learning/search/binarysearch.cpp | 59622645c7cea63e7c637c350fe557d72cab56db | [] | no_license | shakkhor/Preparation | da557151e3b0a30b4c91aaf5e2a4a2aece0e9c98 | 685f6cbc4a38bb0f5ecf0c7ed35b738a5d724401 | refs/heads/master | 2020-04-21T07:27:41.491259 | 2019-07-19T14:37:03 | 2019-07-19T14:37:08 | 169,393,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | binarysearch.cpp | /*
problem: binary search
author : sourav
CSE SUST
Reg No.: 2014331039
*/
#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("binarysearch.txt","r",stdin);
int n;
printf("Enter how many number you want to take as input");
scanf("%d",&n);
int ara[n];
for(int ... |
1f104297bcf23fa108d4c4271ddaca9add97ff2d | 870d759b359de1e393452e4d280a2fd199fb95b5 | /Other/CatchScreen/Source/syssetdlg.cpp | 1ff2573c4b81702f5213ac3384049264c9e4d4a0 | [] | no_license | yuechuanbingzhi163/UPIM | 8ff40d58f14a6d615725b3432b50489f1e723d05 | b02053b107fd662311620ac34f4b5eb55a37d46f | refs/heads/master | 2023-03-20T19:00:30.040607 | 2016-07-20T00:55:28 | 2016-07-20T00:55:28 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,346 | cpp | syssetdlg.cpp | /////////////////////////////////////////////////////////////////////////////
/**
* 文件名 :SysSetDlg.cpp
* 版本号 :V1.0
* 项目名称:CPH
* 版权声明:Copyright 2002-2003 . All Rights Reserved.
* 模块简单描述:系统设置对话框模块文件
*======================================================
* 版本变更记录:
* v1.0 2002-11-18 14:00
*
*
*/
///////////... |
729aff7f2516cd2efd03fe77568fd28b64ed6c01 | 28aa891f07cc2240c771b5fb6130b1f4025ddc84 | /extern/tbb/src/tbbmalloc/tbb_function_replacement.cpp | 0a2b5285e29692af835544ee52f3ae0ecaf188a1 | [] | no_license | Hincoin/mid-autumn | e7476d8c9826db1cc775028573fc01ab3effa8fe | 5271496fb820f8ab1d613a1c2355504251997fef | refs/heads/master | 2021-01-10T19:17:01.479703 | 2011-12-19T14:32:51 | 2011-12-19T14:32:51 | 34,730,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,984 | cpp | tbb_function_replacement.cpp | /*
Copyright 2005-2009 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks.
Threading Building Blocks is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundat... |
cb10689a474a7ebd75d418e89e41d7f4c86ffe3a | c306ce47370c5ef40ea00d7dbcbafee3f29d2449 | /Controller.cpp | eecda7d7b015e8ce7244fb6064ec9c5885d0ab42 | [
"MIT"
] | permissive | devernay/qt-opencv-multithreaded | a03f67086b64be92174af986772e288a117f3d05 | 19d726eebb6792a43b42f97cd5ec9f6de7813459 | refs/heads/master | 2020-05-18T15:18:04.066471 | 2012-05-05T09:37:49 | 2012-05-05T09:37:49 | 8,773,120 | 15 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 5,348 | cpp | Controller.cpp | /************************************************************************/
/* qt-opencv-multithreaded: */
/* A multithreaded OpenCV application using the Qt framework. */
/* */
/* Controller.cpp ... |
12f223bb641cecb2cb30b49276a80113bc727ce2 | be59d364aca6796e57118a208ee0fdc3c94ec8a6 | /packages/node-libofx/OpenSP-1.5.2/include/MessageBuilder.h | 3af14aa55214866e6e5288906d6a4e300f06e4af | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.0-or-later"
] | permissive | actualbudget/actual | 94e983d23df6eeb564fa8b5ff3b9cc63f06dec97 | 63c3d07cb9d6e71ab61f7925ffcaafff870382c6 | refs/heads/master | 2023-09-04T07:06:53.208119 | 2023-09-03T23:15:44 | 2023-09-03T23:15:44 | 486,815,039 | 7,738 | 724 | MIT | 2023-09-14T02:11:25 | 2022-04-29T02:41:34 | TypeScript | UTF-8 | C++ | false | false | 709 | h | MessageBuilder.h | // Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef MessageBuilder_INCLUDED
#define MessageBuilder_INCLUDED 1
#include <stddef.h>
#include "types.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class OtherMessageArg;
class MessageFragment;
class SP_API MessageBuilder {
... |
4432db5f096e485254b284abec2dcdf06b5f680b | 12c446f5d72541531cdc1c8cb5fae27ba819bc1a | /wingchun/td/TDEngineBittrex.h | 75fa32b1f9e3de18f396a56bedef63d92347b5bd | [] | no_license | lmzdhh/Liandao | 936a1e495340a6e3c69e2b93f129e8676309e4a2 | 558bcc6eb8fb1cc3e1c64431491fb505ff75f153 | refs/heads/master | 2022-12-13T08:27:42.077028 | 2019-07-10T03:04:39 | 2019-07-10T03:04:39 | 196,126,876 | 2 | 5 | null | 2020-09-12T06:52:10 | 2019-07-10T03:44:47 | C++ | UTF-8 | C++ | false | false | 8,925 | h | TDEngineBittrex.h |
#ifndef PROJECT_TDENGINEBITTREX_H
#define PROJECT_TDENGINEBITTREX_H
#include "ITDEngine.h"
#include "longfist/LFConstants.h"
#include "CoinPairWhiteList.h"
#include <vector>
#include <sstream>
#include <map>
#include <atomic>
#include <mutex>
#include "Timer.h"
#include <document.h>
#include <libwebsockets.h>
#includ... |
dc7316bbda73e6665266437e14f822f8ae2712f9 | 9e03756d86ee78175357c87c936a7716dcf5b6f7 | /src/filtering.cpp | 2ca4b508f6b749b53969821b1a7c22b94c1ab776 | [] | no_license | anishsingh20/imager | 8659e760682697bc1f44a226eb63b4d6d9d9754e | c9c6f17364411aae3add9160f93775d8a2d077c1 | refs/heads/master | 2021-01-16T19:07:01.381026 | 2017-06-21T13:47:18 | 2017-06-21T13:47:18 | 100,137,455 | 1 | 0 | null | 2017-08-12T20:57:27 | 2017-08-12T20:57:27 | null | UTF-8 | C++ | false | false | 16,630 | cpp | filtering.cpp | #include <imager.h>
using namespace Rcpp;
using namespace cimg_library;
//' Apply recursive Deriche filter.
//'
//' The Deriche filter is a fast approximation to a Gaussian filter (order = 0), or Gaussian derivatives (order = 1 or 2).
//'
//' @param im an image
//' @param sigma Standard deviation of the filter.
//... |
020f219a4ed310f6df7ad6cf388dc23d7e8a07db | 9ae15c2f35d11831156c1324ef632644ab5dbd8e | /telefone.h | 209a149ecd10d11680a40442bf01c70dd17ed08b | [] | no_license | alexandrepossebom/qsc | eef43b23354fa6d330d082c844dd280ab0a09b02 | 0f531afb20096e379d9e08d718b375c717c621ac | refs/heads/master | 2021-05-27T04:32:20.622014 | 2010-02-09T12:13:14 | 2010-02-09T12:13:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | h | telefone.h | #ifndef TELEFONE_H
#define TELEFONE_H
#include "tipotelefone.h"
class Telefone
{
public:
Telefone();
long long int numero;
TipoTelefone tipoTelefone;
int id;
};
#endif // TELEFONE_H
|
b2745e48ec4217f2c6c52d0b34b7327094497aa5 | ecddb70401ca5f5527e46cab79523bfe4f03567e | /AtCoder/AGC/009D.cpp | b5c073eeebb299becb3c91b3ac3ba3d9d5bbb649 | [] | no_license | Hoikoro/procon | 176d80e4fbb42ceb4b6e713ecc9b6e8dd1b2f784 | 40bb6e3c36cedd22a37b3f5f296c423de5f7aac0 | refs/heads/master | 2021-01-21T20:43:04.551437 | 2018-08-13T15:52:18 | 2018-08-13T15:52:18 | 94,674,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716 | cpp | 009D.cpp | #include <bits/stdc++.h>
using namespace std;
//make_tuple emplace_back next_permutation push_back make_pair second first
#if MYDEBUG
#define DBG(...) {string dst__=#__VA_ARGS__;dbgsplit(dst__);stringstream dss__; dss__<<dst__; debug(dss__,__VA_ARGS__);}
#else
#define DBG(...)
#endif
void debug(stringstream& ... |
c67699bc293630a0e31849c463c2dc0f93f87019 | bd84509cad5c3c078ac1e9e580d55bf93658be75 | /exponentialMA.cpp | c624d9520364e90cf021d21c59720f1ac4df1187 | [] | no_license | maobing/AlgorithmsInCpp | 5baf6c98a2ace43f33ea1fdd33c511b11f1d16fb | 568f79fe65affac6dad58a77067dff47f53e40b2 | refs/heads/master | 2021-01-10T07:54:06.177374 | 2016-01-25T22:30:39 | 2016-01-25T22:30:39 | 46,763,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | cpp | exponentialMA.cpp | // exponential moving average
// S_t = a * Y_t + (1-a) * S_t-1
#include<vector>
#include<iostream>
using namespace std;
class Solution{
public:
Solution(): n(5) {}
void expMA(const vector<double> &data) {
if (data.size() == 0) return;
alpha = 1.0/data.size();
movingAverage.push_back(data[0... |
5320a3c660920f50e1c3572ce46a2ad3336e8e03 | dee1f9ec4d089cf7714e3676dfd0fa195bd7c895 | /AST-Semantic_Analysis/ast.h | 53083476c624944ba2e4521f78abef9dcd1ac8f0 | [] | no_license | shaanknight/mini_C_compiler | ef309f8221da3017d6c77aa69bf9d3c80018718e | d691b648573317ea045c3b588f395f31443ac1d0 | refs/heads/main | 2023-04-05T09:11:40.931896 | 2021-04-09T04:06:11 | 2021-04-09T04:06:11 | 356,130,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,028 | h | ast.h | #include <string>
#include <vector>
using namespace std;
class ASTProg;
class ASTStartup;
class ASTBlankStart;
class ASTVarStart;
class ASTFuncStart;
class ASTFunction;
class ASTFunctionDef;
class ASTArguments;
class ASTSingleArg;
class ASTMultiArg;
class ASTBlock;
class ASTStatements;
class ASTBlankStats;
class ASTR... |
a8c68d6793ea11ed9b817855eb984d6d7d62928a | 7fccfb86963a00d3e83f06610489087e75ca244d | /spheres/SGP1.cpp | a9cdcc4eaccd13dd90ff2ec76211b56e1a8409e8 | [] | no_license | wakita/gldojo | f31566f0c87656082dfe94f7463210bf7f511ce0 | f3e583ccb0993f66aeccaac2ce27ce6097793f7d | refs/heads/develop | 2021-01-23T20:49:54.260750 | 2015-10-30T09:09:28 | 2015-10-30T09:09:28 | 29,911,790 | 1 | 0 | null | 2015-06-23T20:42:00 | 2015-01-27T11:46:47 | C++ | UTF-8 | C++ | false | false | 3,263 | cpp | SGP1.cpp | #include "SGP1.hpp"
SGP1::SGP1(Json *A_, Program *program_, mat4 *P): SG(A_, program_, P) {
const int slices = stacks * 2;
{ // Sphere vertices and normals
// nVertices: the number of vertices that form a sphere
int nVertices = (slices + 1) * (stacks + 1);
std::unique_ptr<GLfloat[]> vertices(new GL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.