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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b5e10fe30c6b4e055d3d3e7b4eb2a8282d81d158 | de8b8c7fdb4d42a7af39a1aca3a7355b56dd4b6b | /3d Demo/Mod5_IsotropicRemeshing_Solution/Scene.h | 0dd0551c52394d0c827ced1c29f93b542124549f | [] | no_license | vaishakik/3D- | cfa00962f2754eca2666b89273cbb66d9f678c4b | 430518090b3c6f66901879d55695017678433718 | refs/heads/master | 2020-04-28T01:26:53.906104 | 2019-03-10T17:46:24 | 2019-03-10T17:46:24 | 174,857,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 946 | h | Scene.h | #ifndef SCENE_H
#define SCENE_H
#include <QtOpenGL/qgl.h>
#include <iostream>
#include <cmath>
#include "types.h"
class Scene
{
public:
Scene();
~Scene();
public:
// types
typedef CGAL::Bbox_3 Bbox;
public:
void update_bbox();
Bbox bbox() { return m_bbox; }
private:
// member data
B... |
64c95a93687d662f2c6e0d6737bb5d8f669e866d | 841d21c0f83b1fc786fc26ea1853168535f2e2ba | /Reward/RWD/RWDPVModel.cpp | 0feb06c245bc2483bf9f7fc3a645cf438d4c9dc3 | [] | no_license | shahnawazkhan988/project-on-modeling-evaluation-safety-analysis-of-a-cpu-with-software-based--self-tests | 5be693c4fc9d4e0e65de539912428fa5419707c0 | fc55fdbcc82ce6a466f9206be130b6a261304ff0 | refs/heads/main | 2023-08-21T23:45:34.006310 | 2021-10-11T20:16:41 | 2021-10-11T20:16:41 | 416,070,282 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | RWDPVModel.cpp | #include "RWDPVModel.h"
RWDPVModel::RWDPVModel(bool expandTimeArrays) {
TheModel=new sanSAN();
DefineName("RWDPVModel");
CreatePVList(3, expandTimeArrays);
Initialize();
}
PerformanceVariableNode* RWDPVModel::createPVNode(int pvindex, int timeindex) {
switch(pvindex) {
case 0:
return new RWDPV0(time... |
b9efdfa04c4da935507b8875fec36d9331bb0bd6 | a5239258d872ce52cd24a52d7b1ef19ce9eec537 | /GameCode/Chunk.cpp | 4f653b445dc89a58cdc7e9b492876b3fdbbc4961 | [] | no_license | derofim/simple_miner | e3aaafb1eab1369f3d61c15bd978fe26a696e939 | 0c4419eba585343ca581f60579175cc0a6caf92c | refs/heads/master | 2020-07-03T03:23:05.349392 | 2016-11-03T15:27:20 | 2016-11-03T15:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 48,595 | cpp | Chunk.cpp | //=================================================================================
// Chunk.cpp
// Author: Tyler George
// Date : March 31, 2015
//=================================================================================
#include "GameCode/Chunk.hpp"
#include "GameCode/TheApp.hpp"
#include "Engine/Utilities/... |
67f2a2c4c6dd79ac920f298d98e79e236ab70bc0 | f953e478ae95cabd6e5d813d309dd498f6158898 | /603/e.cpp | 0c5f86f07db1b1c655e516a326bf28e0e1ea199f | [] | no_license | geckods/CodeForces | da5b368dd62ba03bd96aadd30f124a388817fd43 | 6a75697a05d460c9593b3549b7ee001e116e3905 | refs/heads/master | 2021-04-19T14:21:22.102504 | 2020-08-14T07:05:48 | 2020-08-14T07:05:48 | 249,611,848 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,193 | cpp | e.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
#ifndef ONLINE_JUDGE
freopen("input", "r", stdin);
freopen("output", "w", stdout);
freopen("error", "w", stderr);
#endif
ios_base::sync_with_stdio(false);
cin.tie(NULL);
//I will need a fenwick tree I believe
... |
3d9f37ffb2606f8e77da658c76654ecd7285d695 | 6f224b734744e38062a100c42d737b433292fb47 | /mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp | 62ec44bf9c1e1e105acc30a0ef10cabde2b3d162 | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | smeenai/llvm-project | 1af036024dcc175c29c9bd2901358ad9b0e6610e | 764287f1ad69469cc264bb094e8fcdcfdd0fcdfb | refs/heads/main | 2023-09-01T04:26:38.516584 | 2023-08-29T21:11:41 | 2023-08-31T22:16:12 | 216,062,316 | 0 | 0 | Apache-2.0 | 2019-10-18T16:12:03 | 2019-10-18T16:12:03 | null | UTF-8 | C++ | false | false | 40,865 | cpp | TosaToLinalgNamed.cpp | //===- TosaToLinalgNamed.cpp - Lowering Tosa to Linalg Named Ops ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
648a15c049b2f872c3235176222633510481022a | 97dec9c2438e53dd19841cbc078985a475b1f970 | /src/WaveformAnalyzer.cpp | 734b3c5c8ed6c73a111c53eae64d33a624cbe878 | [] | no_license | tachzully/13C_VANDLE_RootPixieScan | b5acdb9c8865e05927347705c635a34412002ec9 | 9cee3d7646567e24077603d06d1713c4904aa20a | refs/heads/master | 2020-04-27T16:55:51.724578 | 2014-08-15T17:15:28 | 2014-08-15T17:15:28 | 22,920,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | WaveformAnalyzer.cpp | /** \file WaveformAnalyzer.cpp
*\brief Preliminary waveoform analysis
*
*Does preliminary waveform analysis on traces. The parameters set here
*will be used for the high resolution timing algorithms to do their thing.
*
*\author S. V. Paulauskas
*\date 16 July 2009
*/
#include <algorithm>
#include <iostream>
... |
556ce5ed0d88985ad0293c7065c2553d6eb4bb32 | 8dfc06b77cf0f346d86276beac10d5c9b931dd9b | /AcmCode/poj3518.cpp | f5e8050b9f50852fc0b76341db81594b684cc179 | [] | no_license | xcszbdnl/TrainingCode | c7ef1f5b3b390dadc43ff586a8adbefe953c627a | b3ea6124a2e9595e73c38e4b37bb092967b94c56 | refs/heads/master | 2020-05-16T22:27:40.998048 | 2017-08-29T14:38:49 | 2017-08-29T14:38:49 | 28,027,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 846 | cpp | poj3518.cpp | #include <cstdio>
#include <string.h>
#include <cmath>
const int MAX_NUMBER = 2000000;
bool vis[MAX_NUMBER];
int number;
void getAllPrime() {
memset(vis, 0, sizeof(vis));
int m = (int)sqrt(MAX_NUMBER + 0.5);
for (int i = 2; i <= m; i++) {
if (!vis[i]) {
for (int j = i * i; j < MAX_NUMBER; j += ... |
8c57e04a728d586c4a34ef5079e1e092e2ea4ff7 | 355e38a9f3515c6e349a3c1534ada96a8045228c | /src/NetworkRoutine.h | d5a2e0ce325261c591a2c8fb066cb7a4e1db8445 | [] | no_license | andyliuliming/AzureNativeLinuxAgent | b33d3b07a7ac844a19e9552ab907e73c7b7309ec | 439375f22037f99caa0beff03d9143cecd363323 | refs/heads/master | 2020-12-24T19:28:17.804752 | 2016-04-20T06:46:33 | 2016-04-20T06:46:33 | 56,662,144 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | h | NetworkRoutine.h | #pragma once
#include <string>
#include <string.h>
#include "Macros.h"
using namespace std;
typedef struct _DHCPRequest {
UINT8 Opcode; /* op: BOOTREQUEST or BOOTREPLY */
UINT8 HardwareAddressType; /* htype: ethernet */
UINT8 HardwareAddressLength; /* hlen: 6 (4... |
99ba37aae74fe624b22fbb546783bfbc99b07769 | 88752ed4abd031786b02bb0535230eb1d996298d | /Nuclear Engine/Source/API/OpenGL/GLIndexBuffer.cpp | ad736f75ae17feceadc8704faada2e7f9223cfbf | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Kingofozes/Nuclear-Engine | 5ee963c72d631d564386707aa50b79937dea1a4b | 998a122c61ea71ac0141c1c6bc8f73803bcc6dd5 | refs/heads/master | 2021-09-02T08:34:46.110663 | 2018-01-01T02:20:42 | 2018-01-01T02:20:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | GLIndexBuffer.cpp | #include <API\OpenGL\GLIndexBuffer.h>
#ifdef NE_COMPILE_OPENGL3_3
namespace NuclearEngine
{
namespace API
{
namespace OpenGL
{
GLIndexBuffer::GLIndexBuffer() : buffer(0)
{
}
GLIndexBuffer::~GLIndexBuffer()
{
if (buffer != 0)
{
glDeleteBuffers(1, &buffer);
}
buffer = 0;
}
... |
285ef50ed4bfcff85edb1b33cae960d93e2d33fd | 2c78de0b151238b1c0c26e6a4d1a36c7fa09268c | /MDProcess/MDAModel/impl/VirtualElementsFuncionsImpl/SetOverloadSelectType_factory.cpp | 4600bd785bf605263376d3cd10a07201590921a0 | [] | no_license | bravesoftdz/realwork | 05a3b308cef59bed8a9efda4212849c391b4b267 | 19b446ce8ad2adf82ab8ce7988bc003221accad2 | refs/heads/master | 2021-06-07T23:57:22.429896 | 2016-11-01T18:30:21 | 2016-11-01T18:30:21 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,895 | cpp | SetOverloadSelectType_factory.cpp | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Модуль: "w:/MDProcess/MDAModel/impl/VirtualElementsFuncionsImpl/SetOverloadSelectType_factory.cpp"
// генератор файлов реализации для фабрик интерфейсов (.cpp)
// Generated from UML model, root... |
334abe42b7362e34847fb85d5badea0147aaab51 | 0019f0af5518efe2144b6c0e63a89e3bd2bdb597 | /antares/src/kits/network/r5_compatibility.cpp | 01c0f39bd8025f7cc1d368973c04e89cca914140 | [] | no_license | mmanley/Antares | 5ededcbdf09ef725e6800c45bafd982b269137b1 | d35f39c12a0a62336040efad7540c8c5bce9678a | refs/heads/master | 2020-06-02T22:28:26.722064 | 2010-03-08T21:51:31 | 2010-03-08T21:51:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,567 | cpp | r5_compatibility.cpp | /*
* Copyright 2002-2006, Antares, Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Philippe Houdoin
* Jérôme Duval, korli@users.berlios.de
* Axel Dörfler, axeld@pinc-software.de
*/
#include <SupportDefs.h>
#include <TLS.h>
#include <stdio.h>
#include <string.h>
#... |
8670ab91a5d7568be12c759d129a2b39427d7c87 | c6de62c7f97df2c0ad4f35b16d9e6d9e3dc87521 | /source/TLC5940_Twinkle/TLC5940_Twinkle.ino | 69d2e5364276610998bcdba835ffe3a3094aab3e | [] | no_license | Lochiel/WOW_Twinkle | b55fde0c20996fa5a2c414cfc36b4b9edc3b088f | 8f68944ef8854e4bbd8acd18714ce880a9d6e4a1 | refs/heads/master | 2020-03-24T05:48:37.508610 | 2018-07-27T08:32:50 | 2018-07-27T08:32:50 | 142,502,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,200 | ino | TLC5940_Twinkle.ino | #include "SparkFun_Tlc5940.h"
//Globals
//Changing these could require major changes to code.
const int maxBrightness = 4095; //It's better to reduce brightness by lowering voltage, than to do it in code
const int NumLEDs = 16 * NUM_TLCS; //NUM_TLCS is defined in the tlc_config.h included in the appropriate TLC5940 l... |
a046cf826891ae2cc657f914a50cd5ea91878cb9 | 0e20b0336383763427a2535f815e8c90ffb2ba93 | /src/models/playlist.h | 813a7b91cebe0b0e3ae86a79acbaead4f33780ea | [
"MIT"
] | permissive | Sciencentistguy/spotify-api-plusplus | ea4c9db695c1e85f6cacaa3f26ed7afee7cc283e | 8f851426048bc203a0539247343070ca0def681d | refs/heads/master | 2022-09-24T13:05:28.756445 | 2020-06-06T11:25:19 | 2020-06-06T11:25:19 | 269,083,782 | 0 | 0 | null | 2020-06-03T12:35:55 | 2020-06-03T12:35:55 | null | UTF-8 | C++ | false | false | 712 | h | playlist.h | #ifndef SPOTIFY_PLUSPLUS_PLAYLIST_H
#define SPOTIFY_PLUSPLUS_PLAYLIST_H
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <nlohmann/json.hpp>
#include "followers.h"
#include "image.h"
#include "pager.h"
#include "playlist_simple.h"
#include "playlist_track.h"
#include "user.h"
namespace s... |
713c689b36712f001bb7c9256f4f1bcf468daba3 | bb8d4044753b96e61526cbdec9a34ab6484c5ee8 | /modules/arrayCompare.cpp | 231970b5e56949fade3ba51eeb7c912f7d31efc5 | [] | no_license | russianfool/EvanTests | 1b92c2f16aa407eb7dede912b4dc0828ed6a32f8 | 65ca915563347b83afe5472599f31eeddbaafd33 | refs/heads/master | 2021-01-19T10:08:45.035871 | 2014-12-31T22:55:53 | 2014-12-31T22:55:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,494 | cpp | arrayCompare.cpp | #include <iostream>
using namespace std;
bool arraySame(char arr[], int size)
{
for (int i = 0; i < size; i++)
{
arr[i] == arr[++i]
}
//return true if the array contains all the same character,
//false if the array contains a character that isn't the same
return false;
}
bool array2Same(char arr[], int size)... |
278e5f95b029d1f915e550967ee9c292234dc176 | 4ab0c2711940a5aae4ace5bba6276e704e605cb4 | /sand/Manager.h | 62e957f7e731120a09f5dc78e5b4c2b003017928 | [] | no_license | EdwardBrodskiy/sand | 0728e0c99be623ba66d0b2bc0fdfa992a43e4de3 | 084497ce862e53cebaa1caa1befc3496376d10b5 | refs/heads/master | 2023-07-15T19:17:45.934673 | 2023-07-13T18:08:22 | 2023-07-13T18:08:22 | 367,378,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | h | Manager.h | #pragma once
#include "Element.h"
struct NotKnownElementException : public std::exception {
const char* what() const throw () {
return "Not known Element";
}
};
class Manager
{
public:
int width;
int height;
std::map<std::string, Element*> elements;
sf::Uint8* canvas;
private:
public:
Manager(int width, in... |
7b90ba523ee542396f452629b52c80c5100d2ffd | 4aa391b068dbc83677841628794ae9e24e30556f | /搜索/547.朋友圈.cpp | be4091fe477efd7e730bf30d0852bfe3196b1095 | [] | no_license | icarus0309/LcRecord | 45aaa40cdf281d4d63821cb0a90bfd7f0e2a21af | 1c1c67bfad047a18e74383c7cfb91b29aa57bb8d | refs/heads/master | 2023-04-25T03:13:53.140556 | 2021-05-18T15:48:29 | 2021-05-18T15:48:29 | 275,704,279 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | cpp | 547.朋友圈.cpp | /*
* @lc app=leetcode.cn id=547 lang=cpp
*
* [547] 朋友圈
*/
// @lc code=start
class Solution {
public:
void dfs(int i, int m, vector<vector<int>>& M) {
M[i][i] = 0;
for(int j=0; j<m; j++) {
if(M[i][j] == 1) {
M[i][j] = 0;
dfs(j, m, M);
... |
898a6c29d10829a4ab92d9ec5b32dadf7e368385 | 35ce1c514d6860c223712526d730ec17ff593dc9 | /hw8/hw8/words.cpp | 69e628f556a6039c02d99fbdba49f04bf62c8f25 | [] | no_license | bevous/HW8 | 2e72121b40f1b4f801d00a8688aca95ab3cb7df4 | 83454da269d32d1aabd71124fd8e7cf1a561d518 | refs/heads/master | 2020-04-09T14:05:18.240508 | 2018-12-12T05:36:53 | 2018-12-12T05:36:53 | 160,386,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | words.cpp | #include "pch.h"
#include "words.h"
int words::compare_to(const words &other)const
{
if (this->getWord() < other.getWord()) {
return -1;
}
else if (this->getWord() > other.getWord()) {
return 1;
}
else {
return 0;
}
}
words::words()
{
}
words::words(int n = 0, string w= "", string l... |
a517ca54f017d441a0bfb496e3e04a7fc649bc16 | cafac5658a8472817421c078005c5b45ef7f35ac | /color.h | cb7a2fcf7d37fdb7b16fd76ac47f4d55e7e1668e | [] | no_license | antiphoton/hydrogen-orbit | 276121a977a9c7e56e26fa1f5943fb14f1760c02 | 2727c9a0c53fb348f96b88d011f6baf030008710 | refs/heads/master | 2021-01-18T01:58:11.783946 | 2015-09-29T19:07:51 | 2015-09-29T19:07:51 | 43,101,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | h | color.h | #pragma once
#include<iostream>
#include"mymath.h"
struct ColorRgbA;
struct ColorHsl;
struct ColorRgb;
struct ColorYuv;
struct ColorRgbA {
double r,g,b,a;
ColorRgbA(double r=0,double g=0,double b=0,double a=0);
ColorRgbA(const ColorHsl &c);
ColorRgbA(const ColorYuv &c);
ColorRgbA(const Complex &c,bool gray=false);... |
b301ac0aa181180412411a4eb4075c5ca4bce356 | a9aa074f0d0bbbd75bc5ea72c4a60c3985407762 | /Xspec/src/XSFunctions/Aped.cxx | 338966467886c74b8985b16a274b8145b5091355 | [] | no_license | Areustle/heasoft-6.20 | d54e5d5b8769a2544472d98b1ac738a1280da6c1 | 1162716527d9d275cdca064a82bf4d678fbafa15 | refs/heads/master | 2021-01-21T10:29:55.195578 | 2017-02-28T14:26:43 | 2017-02-28T14:26:43 | 83,440,883 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 70,209 | cxx | Aped.cxx | // Code for Aped, ApedTemperatureRecord, and ApedElementRecord classes
#include <XSUtil/FunctionUtils/FunctionUtility.h>
#include <XSUtil/FunctionUtils/xsFortran.h>
#include <XSUtil/Utils/XSutility.h>
#include <XSUtil/Utils/XSstream.h>
#include <XSUtil/Numerics/BinarySearch.h>
#include <XSUtil/Numerics/Numerics.h>
#i... |
99c3680a99c0b152b5a24399b93747a6cca992a1 | 4fbb59d8073277598b92c96ea78ae0c3773e27c5 | /src/librarysearchwidget.h | 5876b9d9783b1d36224829bb59d80f3eeee06262 | [] | no_license | boussouira/moltaqa | 44e07205a2fb67a6a59d1623dc5cad741a6ad4c9 | b3f50d20d0a9aa1b515ce0e50f7a75f8dfaeb972 | refs/heads/master | 2023-01-09T20:00:22.332723 | 2014-03-18T09:52:49 | 2014-03-18T09:52:49 | 177,351,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | h | librarysearchwidget.h | #ifndef LIBRARYSEARCHWIDGET_H
#define LIBRARYSEARCHWIDGET_H
#include "searchwidget.h"
class LibrarySearchFilter;
class LibrarySearchWidget : public SearchWidget
{
Q_OBJECT
public:
LibrarySearchWidget(QWidget *parent = 0);
~LibrarySearchWidget();
void init(int bookID=0);
protected:
SearchFilter... |
408afc1652098919ec75240cd370ee75e1330b0c | 78855dfd709e76cafe247424047ef009c9112a71 | /View.h | 87b444c88a4363486211777899771cf6cd87ec3a | [
"MIT"
] | permissive | ByzanTine/eecs381p6 | 862c915da3ba6f1a817ce1ab1095f39d59d9cefe | 15a139d97c1805da8e5f3bd0ba3f3e52b53b2225 | refs/heads/master | 2020-04-22T23:33:09.378106 | 2014-12-08T19:44:10 | 2014-12-08T19:44:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,317 | h | View.h | /* View class, Abstract, like a interface
The View class encapsulates the data and functions needed to generate the map
display, and control its properties. It has a "memory" for the names and locations
of the to-be-plotted objects.
// Base clsas Usage:
1. Call the update_location function with the name and position ... |
65bcb9b7e2490718f9e10d50c0e8696b4f542949 | 1b0aadb6dc881bf363cbebbc59ac0c41a956ed5c | /xtk/Samples/Controls/PropertySheet/TabLongPage.h | 3434a3dbb55e58a9f53247946472d492c9537c8d | [] | no_license | chinatiny/OSS | bc60236144d73ab7adcbe52cafbe610221292ba6 | 87b61b075f00b67fd34cfce557abe98ed6f5be70 | refs/heads/master | 2022-09-21T03:11:09.661243 | 2018-01-02T10:12:35 | 2018-01-02T10:12:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | h | TabLongPage.h | #if !defined(AFX_TABLONGPAGE_H__0536BF37_1F4B_457C_BD0D_42C581230099__INCLUDED_)
#define AFX_TABLONGPAGE_H__0536BF37_1F4B_457C_BD0D_42C581230099__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TabLongPage.h : header file
//
/////////////////////////////////////////////////////////////////////... |
0b69f824d9c1474b90ff893760601c15bd7bc805 | 9b8147ba98c8d335505cb899ff7a3222c6f44a24 | /include/PauseGameRenderHandler.hpp | cc1f876b4e12a06b00e9f3cb328391708baf2f92 | [] | no_license | carcag/gauntlet | 582848e74b30526906be815df32aa3aad1565943 | d8956cef85ce9a323d3a1a067913586312b8eade | refs/heads/master | 2021-01-21T15:00:37.041360 | 2017-05-22T07:33:07 | 2017-05-22T07:33:07 | 91,828,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | hpp | PauseGameRenderHandler.hpp | #ifndef PAUSEGAMERENDERHANDLER_HPP_
# define PAUSEGAMERENDERHANDLER_HPP_
# include "irrlicht.h"
# include "IRenderHandler.hpp"
class PauseGameRenderHandler : public IRenderHandler {
public:
PauseGameRenderHandler();
~PauseGameRenderHandler();
void HandleRender(irr::IrrlichtDevice& device) const;
};
#endif /* !PA... |
0a21b64217ea00f0adf3f26e750216b5cb0013e9 | fbe08142475f1f4923ae8bfa6e2727e093e07510 | /Kurs_3/Programming_Methods/Lab_3/main.cpp | bbb00690096e25771641346b39a01e38311a2d96 | [] | no_license | DrPopov/HSE | fbb423b7a353084a52c93583a9bb0aa0dfd62805 | 6f431ea0248851c932abad97ca0ad8e60af41804 | refs/heads/master | 2023-02-06T20:38:12.018444 | 2020-12-22T20:35:08 | 2020-12-22T20:35:08 | 263,942,379 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,318 | cpp | main.cpp | /*!
*
* \mainpage
*
* <CENTER>
* ## Проект в рамках лабораторной работы № 3 по дисциплине "Методы программирования"
* ## Выполнил студент СКБ-172 Попов Юрий
* ## Вариант 11
* </CENTER>
*
*
* Время поиска элементов в различных структурах данные показаны на графике
*
*
* 
*
*
* ... |
6008c20e1606c938042487f99922c400d90e6e5e | 107ada72e6c612733410971f954fb85d79db9af8 | /Test/CMSSW_8_0_24/src/L1Trigger/L1TwinMux/plugins/L1TwinMuxProducer.cc | 20f378b7ac0834f2a0de7a48110396c7e5943609 | [] | no_license | pradumnkumar009/serviceTask_HO_trigger_studies | 3cf1c07112a34c23d2af361afa37c1df75968810 | 8cc271fd5a6959fcb48aadda9dae1e4ac9304a00 | refs/heads/master | 2020-04-14T15:18:09.862669 | 2018-12-30T07:38:57 | 2018-12-30T07:38:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,485 | cc | L1TwinMuxProducer.cc | //-------------------------------------------------
//
// Class: L1TwinMuxProducer
//
// L1TwinMuxProducer EDProducer
//
//
// Author :
// G. Flouris U Ioannina Feb. 2015
//--------------------------------------------------
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Frame... |
b7d9d6935360e2d78485e869013058ae09607677 | 202b96b76fc7e3270b7a4eec77d6e1fd7d080b12 | /modules/libvega/src/oppainter/vegaopbitmap.cpp | aa3f6c07a604df8845937c07f2755ad5ed6c7d22 | [] | 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 | 20,344 | cpp | vegaopbitmap.cpp | /* -*- Mode: c++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4; c-file-style:"stroustrup" -*-
**
** Copyright (C) 1995-2007 Opera Software AS. All rights reserved.
**
** This file is part of the Opera web browser. It may not be distributed
** under any circumstances.
*/
#include "core/pch.h"
#if defined(VEG... |
11a4aad2815c16b45e91cb9e83a6d9fbad8d1c43 | 2d98f202e981b1a49eb37b6697170d803f2d215f | /Src/FM79979Engine/Core/GameplayUT/Render/RenderFrameEffect/RenderFrameEffect.h | f9a624ae77f8a04a0d6e00c5719a7a54a6b92782 | [] | no_license | fatmingwang/FM79979 | bb1274241605f490b8e216f930a2c5aaba86f669 | 735f204bd70773c2482e15b3105a8680cf119706 | refs/heads/master | 2023-07-09T00:47:02.782514 | 2023-06-23T10:23:27 | 2023-06-23T10:23:27 | 43,816,834 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 970 | h | RenderFrameEffect.h | #pragma once
#include "../CommonRender/RenderObject.h"
namespace FATMING_CORE
{
//render has multi buttons situation is hard to handle.
//
//situation for scroll
//child
//
class cScissorRenderObject :public cRenderObject
{
GLboolean m_bSissorTest;
int m_iOriginalSissor[4];
Vector4 m_vScissorRect;
... |
33d521e20412b5f209be032b67959fb201bd9696 | e4d971d17bf4b244be5756654cda18f4aba10e13 | /KitchenManagementX/functions.cpp | cf02be7ac27f877385c3ac23d496d1e0195521d2 | [] | no_license | HippoEug/KitchenManagement | f11fdbd35b3cd40e7a0ede31cf8c969e20af9796 | f2863c35892e3996ff1fe2838f0ead2c1479f252 | refs/heads/master | 2021-09-26T10:25:12.219772 | 2018-10-29T08:38:00 | 2018-10-29T08:38:00 | 96,262,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | functions.cpp | #include <iostream>
#include <string>
#include <fstream>
#include "functions.hpp"
void addNewItem(int& categoryX, std::string& productX, int& productCodeX, int& dateDayX, int& dateMonthX, int& dateYearX) {
std::cout << "\nEnter Category of Food Type" << std::endl;
std::cout << "Press [1]: Raw" << std::endl;
std::c... |
11920db84528f2a4c4284bdead93fc9853d25e77 | 7c70c77d069ef84a7953526ad29ebb7ee279256a | /millptroz.cpp | 090349722a3238ce806106ac3693a386ed890540 | [] | no_license | zneref/master-thesis-transtool | 303681fff23aebe3f39a987ba2da65c12bbe4cad | 280878ee1ac891443e5349b2182cd63ef3ba1535 | refs/heads/master | 2021-01-24T09:34:26.875248 | 2018-02-26T18:44:33 | 2018-02-26T18:44:33 | 123,020,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | millptroz.cpp | // millptroz.cpp : implementation file
//
#include "stdafx.h"
#include "TransTool.h"
#include "millptroz.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// millptroz dialog
millptroz::mi... |
08735f933b9369d5bb21a12f09cc0baf2131ab1d | 39924b397975b36d8bb0c685d1fdcf604f14caf5 | /exerweek2/Problem2/header.h | 14bf0a7cba5683f177084ea47ffe450cbdad107d | [] | no_license | mengcz13/oop2016 | 519a1d8048212ddeef0f2f15428dd71f3a26296b | 2e3d557927d2f5eaa1e361e370255629bf733c78 | refs/heads/master | 2021-01-21T13:41:35.544044 | 2016-05-18T04:02:38 | 2016-05-18T04:02:38 | 52,948,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | h | header.h | #ifndef HEADER_H
#define HEADER_H
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstdlib>
#include <vector>
#include <string>
#include <ctime>
#include <algorithm>
using namespace std;
struct Student {
string no;
string email;
};
// StudentInfo类, 存储学生信息
class StudentInfo {
public:
void load... |
a04350122f2b4f004ec3ae8ec71b47f5e9596fc8 | 21b99ea7396881e8a56f41b53e5672e689c805a7 | /omnetpp-5.2.1/tools/macosx/include/osgEarthUtil/TileIndex | 771579485ab6e301de8abfb79bab9d560d77ab9b | [] | no_license | mohammedalasmar/omnetpp-data-transport-model-ndp | 7bf8863091345c0c7ce5b5e80052dc739baa8700 | cbede62fc2b375e8e0012421a4d60f70f1866d69 | refs/heads/master | 2023-06-27T06:17:57.433908 | 2020-10-09T11:30:02 | 2020-10-09T11:30:02 | 194,747,934 | 2 | 2 | null | 2021-08-02T17:03:56 | 2019-07-01T21:54:32 | HTML | UTF-8 | C++ | false | false | 2,150 | TileIndex | /* -*-c++-*- */
/* osgEarth - Dynamic map generation toolkit for OpenSceneGraph
* Copyright 2008-2013 Pelican Mapping
* http://osgearth.org
*
* osgEarth is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; e... | |
915952077ea262c10708b1d9fd1eadbbbf40b44a | 9585927ba05535c5168b2c4b00a0c021995943fe | /lib/Time/Time.hpp | 5c6d324b089209ef53151854bd88a9a447e3f15c | [] | no_license | myhilmyhill/M5Stack-trainclock | 005d01286ad2be0d46685b0d2cf74820926d9471 | 6fa4fb9bb70c2597cd4c1c287d1c3977663d5efa | refs/heads/master | 2021-01-13T21:31:52.863839 | 2020-04-29T16:39:56 | 2020-04-29T16:39:56 | 242,501,388 | 0 | 0 | null | 2020-04-29T16:40:09 | 2020-02-23T11:03:38 | C++ | UTF-8 | C++ | false | false | 228 | hpp | Time.hpp | #include <string>
#include <Arduino.h>
class Time {
private:
static bool isInited;
public:
tm getTime(uint32_t interval) const;
static void init();
static bool getIsInited() {
return isInited;
}
};
|
474cb3f86fcd57730fb0dc46bb08feff4901cd86 | 67b71a3d28249e28d21a9e5ba7ba583d1feefa25 | /geant4/include/pbmSteppingAction.hh | b794a41284138c0185a7830322dc4d534390f838 | [] | no_license | redeboer/NIKHEFProject2018 | 98f5e5edeedffac133c78c1541d469ecaf561cc7 | c06f81038e8d720c36a2e4337caa663a694731a7 | refs/heads/master | 2021-06-26T02:24:06.372864 | 2019-04-29T05:20:44 | 2019-04-29T05:20:44 | 135,064,509 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | hh | pbmSteppingAction.hh | // Author: Lizette Lamers
// Date: June 11th, 2018
// For NIKHEF Project 2018
/* === CLASS DESCRIPTION =======
This script deals with taking the particle trough the world iteratively.
With each ieration a step is done, from this step you can extract particle information.
So in general this script is the place to ... |
31146d12c4177064bea88c51586d3e7e2a56724f | 74018a669138e20a2f8c26a59109c665e91b771e | /Ursa/src/Ursa/Events/Event.h | da2583bd78e85802d8bbf7e364fc2401cc931843 | [
"Apache-2.0"
] | permissive | quiniks/Ursa | 099e9cceaa09d4582e68c6cfcd4f442507504870 | 4f6c7c153d9d4c2ccb4c42f06d2fa88910d15c8c | refs/heads/main | 2021-08-06T12:03:50.283073 | 2021-01-08T17:54:39 | 2021-01-08T17:54:39 | 236,791,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | h | Event.h | #pragma once
#include "ursapch.h"
#include "Ursa/Core/Core.h"
#include "Ursa/Core/BitMask.h"
namespace Ursa {
// Events in Hazel are currently blocking, meaning when an event occurs it
// immediately gets dispatched and must be dealt with right then an there.
// For the future, a better strategy might be to buffe... |
9c38c6a70903c8fcf212290522cc54c843d8855d | beee972621e0d5e1ef4056d48e716fe4d8f194b9 | /matlib/matrix.h | 83c8b904d37d7bfaea2c0e404cfa774d0257dac0 | [] | no_license | mingchengzack/Matrix | ca7322cafb589020154c3bc4a24c936bd2664fee | 7b3fe9d095222e5d8fb11c2589eecb02ba34201e | refs/heads/master | 2021-01-08T10:59:47.420862 | 2020-02-29T22:40:54 | 2020-02-29T22:40:54 | 242,010,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | h | matrix.h | #ifndef MATRIX_H
#define MATRIX_H
#include <cassert>
#include <vector>
template <typename T>
class Matrix {
private:
unsigned rows;
unsigned cols;
std::vector<std::vector<T>> mat;
static unsigned num_threads;
void transpose_(Matrix<T>& mat_t, unsigned num_threads,
unsigned count) const; ... |
8631b6a5a67e14ef0cec565dc5781e948fc89bf2 | ead0e501b6ff749157b531818085e5421b7385c2 | /01-Problems-On-C/06_Problems On String/52_StringPermutation.cpp | ebc01f05711859a6fb29fdd9672a77645f68adb0 | [] | no_license | amoljore7/01-Logic-Building-Program-All | 3b3dabb73a4a7f0f6bed0061c7630027cadb6051 | ea0dea28f530ff823fe9cc08ddd9de3093be9d0a | refs/heads/master | 2020-04-16T13:39:27.412216 | 2019-03-05T21:02:46 | 2019-03-05T21:02:46 | 165,636,748 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | 52_StringPermutation.cpp | #include<stdio.h>
#include<string.h>
void swap(char*,char*);
void permutation(char *s, int i, int n)
{
static int count;
int j;
if(i==n)
{
count++;
printf("(%d)%s\t\n",count,s);
}
else
{
for(j=i;j<=n;j++)
{
swap((s+i),(s+j));
permutation(s,i+1,n);
swap((s+i),(s+j));
}
... |
a757cf24bdae332c597a1a51b51fbd44e11103d8 | 4ecab1190b24f6866cb3b0e8c5d4a6e74d911c26 | /programs/codes/codeforces/172d2_2.cpp | 03cb05225614855e3566790d439c676539f3aacf | [] | no_license | bhupkas/Backup | f15ccfa8bc44a2dc3544b204dfeaeea6d8728ded | 67d5343cf9de9267488414aa4da0eb2ada867464 | refs/heads/master | 2020-06-08T09:37:48.140088 | 2015-05-22T21:00:15 | 2015-05-22T21:00:15 | 32,330,228 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | 172d2_2.cpp | #include"iostream"
#include"stdio.h"
#include"vector"
#include"algorithm"
#include"set"
#include"map"
#include"math.h"
#include"string.h"
#include"string"
using namespace std;
#define FOR(i,a,b) for(i=a;i<b;i++)
typedef long long int LL;
int HCF(int a,int b)
{
if(b>a) swap(a,b);
if(b==0) return a;
return HCF(b,a%b)... |
f04f634640655b32f1315dd057c6239bd0422b7e | c4baf3d6e71be34ab4ad5d52ce9848cc6b71e794 | /ByteDance/DP/122-Buy Stock II.cpp | e2b9018ef02f2d8c48d5ff6624769e1fad9b7dfb | [] | no_license | weiqianx/Interview | 5eda3cf6f6bad5ef5ea18960c86fb73e70c391fe | 6f445b99a58bf43fc459959438787aedad81e724 | refs/heads/main | 2023-03-24T10:58:45.887321 | 2021-03-19T03:10:10 | 2021-03-19T03:10:10 | 352,879,950 | 1 | 0 | null | 2021-03-30T05:24:18 | 2021-03-30T05:24:18 | null | UTF-8 | C++ | false | false | 1,002 | cpp | 122-Buy Stock II.cpp | // one pass: calculate accumulate difference between peak and valley
// Time: O(N)
// Space: O(1)
class Solution {
public:
int maxProfit(vector<int>& prices) {
int maxProfit = 0;
for (int i = 1; i < prices.size(); i++) {
if (prices[i] > prices[i - 1]) {
maxProfit += price... |
cd71e11fd6051fe07260bdac6340bbaad5475e45 | 4089d3e1fd35ac2264e6286dcc8b088c5a62807c | /code/simulation/lookup_tables.hpp | 296397fe05cf928a1f1f237d143115db37cb9ed7 | [] | no_license | kamrann/poker_analysis | 41ddd19f15561fe58c2cbc420344589086cda05c | 0c5733a432e608b758e0226a696c1a5dfb51e5e2 | refs/heads/master | 2021-01-10T00:54:30.464569 | 2015-03-01T10:42:45 | 2015-03-01T10:42:45 | 31,493,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,059 | hpp | lookup_tables.hpp | // lookup_tables.hpp
#ifndef EPW_LOOKUP_TABLES_H
#define EPW_LOOKUP_TABLES_H
#include "gen_util/combinatorics.hpp"
#include "poker_core/cardset.hpp"
#include "poker_core/hand.hpp"
#include "poker_core/range.hpp"
#include "hand_eval/poker_hand_value.hpp"
#include <array>
#include <bitset>
namespace epw {
namespace ... |
d7ee29a84ebf573e018481785c84214d94bda2d8 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/Engine/Classes/Matinee/InterpTrackInstEvent.h | 2a27100542e804a2646cbbea64142344a9b3509d | [
"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 | 668 | h | InterpTrackInstEvent.h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Matinee/InterpTrackInst.h"
#include "InterpTrackInstEvent.generated.h"
class UInterpTrack;
UCLASS(MinimalAPI)
class UInterpTrackInstEvent : public UInterpTrackInst
{
GENER... |
ddf7fe2617001c7a491c81319e369b0220d587cb | 37f2276ca459f32bb3dc60b3cec66132062b7514 | /OpenEnergyMonitor/ArduinoShield/CalVref.ino | 86c19533a49fb07e65539459096e682f23320d2b | [
"MIT"
] | permissive | riahtu/ESPproMon | ffda65de8855aada1fa26a56b4bb024573c8acb3 | a9b9e8914e1982530cdbba9d757453d653479048 | refs/heads/master | 2020-08-14T18:09:12.913539 | 2018-01-07T14:27:06 | 2018-01-07T14:27:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,194 | ino | CalVref.ino | /*
CalVref.ino from https://github.com/openenergymonitor/emontx2/blob/master/firmware/CalVref/CalVref.ino
A test sketch to allow the internal 1.1 V reference to be accurately calibrated.
The internal reference in the AVR is nominally 1.1 V, within the range 1.0 - 1.2 V. This represents more than 9% uncertainty ... |
18591687df2b15c67347cf05300f293bf4011c00 | 90738853afcdb72c64feec70c8ae5d142f21232e | /src/generateInput.cpp | 8f118a4ec8c1eaf963bf7904527d804b0aa0e1be | [] | no_license | whitman103/SIRPSO | 27d1ad085a008d51f73830c62caadc3590270af7 | fe404b9fcd97abbab4e7795dd1ae0dc6e3443f22 | refs/heads/master | 2023-05-30T13:00:34.290707 | 2023-05-20T20:00:59 | 2023-05-20T20:00:59 | 280,332,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | generateInput.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sys/stat.h>
#include <sys/types.h>
using namespace std;
void generateOutputFolder(vector<int> inTimes, string outFile);
int main() {
string outputFolder = "InputFolder";
mkdir(outputFolder.c_str(), S_IRWXU | S_IRWXG | S_I... |
20718383fc8c8271ecc42a76e3a6491eedde42d6 | 7beaf1cbd8f01e43b3d4a2623b869a03c685ee2e | /src/gecom/Section.cpp | aa20c82b3b474d0a4b827a99b4cd34d5cec947c7 | [] | no_license | Golden-Eagle/gecom | d949f1020c1681acfbbf5a756fc2156bd52c14aa | 8c0cbff9c1f0756646a1d30fed3670e9b72cd6e0 | refs/heads/master | 2021-01-19T18:01:10.676189 | 2015-10-08T10:39:38 | 2015-10-08T10:39:38 | 38,533,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,924 | cpp | Section.cpp |
#include <cassert>
#include <atomic>
#include <vector>
#include <memory>
#include "Section.hpp"
namespace {
struct SectionStatics {
std::atomic<bool> default_profiling { false };
};
auto & sectionStatics() {
static SectionStatics s;
return s;
}
struct SectionTLStatics {
bool curr... |
b4a4cd642f7b43a13dc0973cb65b9e1a25bdba3e | 26579a4716fc850671d3568bbf1dae027c1f4891 | /CacheMemory/UniformRequests.cpp | bb1e729d659c0a2cf8e66fdd2d8ec64b12b45b62 | [] | no_license | stoat1/micro-projects | 8197eecc7e7cfb3bfcd76027a7516f80cfeaa7d4 | 5588ea601bec681dd30a8e359f16f949a0ada75d | refs/heads/master | 2021-01-20T10:35:47.478618 | 2015-03-10T08:14:39 | 2015-03-10T08:14:39 | 31,641,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | UniformRequests.cpp | #include "UniformRequests.h"
using namespace std;
UniformRequests::UniformRequests( size_t storageSize, unsigned int seed )
throw( invalid_argument )
: storageSize( storageSize ), random( seed )
{
if( storageSize <= 0 )
{
throw invalid_argument( "storageSize must be a positive integer" );
... |
371c60474bc5e59866ed9666640f828ab145a37b | a21a6c4285c20c7ac83654cbfe125924c95f95a2 | /src/Renderable.hpp | 8aaafea1542b01cb040067537139b94a78f7e903 | [] | no_license | pulkitjuneja/Rays | a7508c8a64d33749870bb4578659505cdc0fc470 | 75d1a5c5ecb0b1f276cc7c1475eb22c9590dc13c | refs/heads/master | 2021-10-28T10:41:54.039248 | 2021-10-18T06:03:21 | 2021-10-18T06:03:21 | 97,529,783 | 0 | 0 | null | 2018-06-12T21:57:32 | 2017-07-17T23:03:18 | C++ | UTF-8 | C++ | false | false | 343 | hpp | Renderable.hpp | #pragma once
#ifndef RENDERABLE_H
#define RENDERABLE_H
#include "global.h"
#include "Vector3.cpp"
#include "Ray.cpp"
class Material;
struct HitData;
class Renderable
{
public:
virtual bool intersects(Ray &ray, HitData &rec) = 0;
virtual void getSurfaceProperties(Vector3f &hitPoint, Vector3f &normal, Material *&... |
bde3418564c60b0fd62d970749eb3d92ce933cda | 7bbcacb5492cc5964f7cbaa1f592e5c63a16c338 | /uri_online/problems/1_beginner/#1008-salary/salary.cpp | e6528c4f564ecab106673aae25553f7999c0662c | [] | no_license | boguilhem/competitive_programming | 55e91641d2b21fb79bed26ef6ad9e3fdbe205ffe | 6d233bdfc0e35ada02b70f9c94049e9dc17f2e92 | refs/heads/main | 2023-04-15T08:28:57.763540 | 2021-05-04T23:05:50 | 2021-05-04T23:05:50 | 362,942,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | salary.cpp | /*
Write a program that reads an employee's number, his/her worked hours number in a month and the amount he received per hour. Print the employee's number and salary that he/she will receive at end of the month, with two decimal places.
Don’t forget to print the line's end after the result, otherwise you will... |
e481ba412b4f636f13357d4f44d892cc7f0cbc46 | 1ec5b1adfc92773e18ddd475a5d036c60d077ff6 | /head/Socket.h | ea29a8993aa87370eb7a702c352dda4563a201de | [] | no_license | MarsCoder/gnl | 174527a11f7af58a5a44515e73fe0585898015c2 | 3d5136c5cbcbaad8ec1118dda7c9b9868862adb1 | refs/heads/master | 2021-01-10T16:20:58.948252 | 2015-11-16T07:53:31 | 2015-11-16T07:53:31 | 46,260,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | h | Socket.h | /*
* Socket.h
*
* Created on: Apr 20, 2015
* Author: mars
*/
#ifndef SOCKET_H_
#define SOCKET_H_
#include <netinet/in.h>
#include <sys/select.h>
#include <map>
#include "../head/Buffer.h"
namespace gnl {
class Socket {
private:
int backlog; //最大未完成连接的队列书
int listenfd;
int clientfds[FD_SETSIZE];
stru... |
317c9f0257918ee76d3c9bfcb7ad2159c7e59316 | 0c8cb04adcfcd94a34d9398d3e694ceccc47959e | /evaluation/corr-verilator/designed_instances/alu2_orig/sim_main.cpp | 7bb6c87026ce170c4a9a7f623a942882eafc87fc | [] | no_license | ThunderMikey/poets_digital_circuit_simulator | e11670f1fec9696e6aa774245a926c4694e2fc63 | 6b8e75d4823b895eb27cb6a076a711173c24faa8 | refs/heads/master | 2020-04-14T22:24:07.193364 | 2019-06-23T15:57:53 | 2019-06-23T15:57:53 | 164,160,953 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | sim_main.cpp | #include "verilated.h"
#include <iostream>
#include "Valu2_orig.h"
#define ITERATION 1024
int main(){
Valu2_orig* top = new Valu2_orig;
for(unsigned i=0; i<ITERATION; i++){
top->a = (i&(1<<0))>>0;
top->b = (i&(1<<1))>>1;
top->c = (i&(1<<2))>>2;
top->d = (i&(1<<3))>>3;
top->e = (i&(1<<4))>>4;
... |
622148034d1ea1840ca84f1ce1538096fc75f97c | 999d6217babc5a860736af621d13855aeb8d6a80 | /src/algo/SIFT.h | c3bb9a745ce0726519724ae5b0f11243794e59b6 | [] | no_license | thuanvh/imagebinarytree | e5399fbf9976921ac81bd8110acecabb8a7c3347 | 8139d43978f0ae2217847ae0223e2b41a9a4f43c | refs/heads/master | 2021-01-07T21:22:37.226143 | 2020-02-20T08:46:13 | 2020-02-20T08:46:13 | 241,823,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | h | SIFT.h | #ifndef SIFT_H
#define SIFT_H
#include <iostream>
#include <lib/LibTIM/Common/Image.h>
#include <lib/vl/sift.h>
using namespace std;
using namespace LibTIM;
/* From the standard C libaray: */
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
class SIFTPoint{
public:
s... |
300b07598f77df45a38fe8e5c799de6c228b25c5 | c4420fa6dcb8f972cbf16eeede6bf314bfad62a2 | /C/73_최대 힙(STL priority_queue 이용)/lecSol/73(lec).cpp | 3d78297903f76f373677a8f41c8b64cc7f5586ad | [] | no_license | horingring/Algorithm | eb2815e1161527a62dcc4c8f680b798a81bcd6ab | 5fd195a140876ec3a0239036153f4315951fa9bb | refs/heads/master | 2023-06-12T02:27:56.963203 | 2021-06-30T06:14:37 | 2021-06-30T06:14:37 | 239,685,288 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | cpp | 73(lec).cpp | #include <stdio.h>
#include <queue>
using namespace std;
int main() {
int num;
priority_queue<int> pQ;
while (true) {
scanf_s("%d", &num);
/* 입력값이 -1인 경우 : 종료 */
if (num == -1) return 0;
/* 입력값이 0인 경우 */
if (num == 0) {
if (pQ.empty()) printf("-1"); // 노드가 존재하지 않는 경우 : -1 출력
else { ... |
441b95c3e821e65207e93387eeab38cd626955d2 | d50e5666a4cecb665ef083c8e97680f0f488cda0 | /CStack.cpp | b3e0d6cfedd9a2fd03d8fe9b44637da730c93e5f | [] | no_license | vinayakkankanwadi/stack | b117633d90d44be3c8c6d2ea94a5c9d148841dce | 60854bab8d2876b4c52091f10c0a9851bd71d463 | refs/heads/master | 2021-01-17T22:08:43.017474 | 2017-03-07T11:12:16 | 2017-03-07T11:12:16 | 84,188,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16 | cpp | CStack.cpp | // Simple stack
|
fe08de21a4c3837e5e86a4abf2e0c1c10ce52aea | 2e669367304c3cb097377b0382ef78266faee583 | /Togalling Problem.cpp | 6cd9d39f46fc5f3e222f1ffb0f4ca631801db2fe | [] | no_license | RT-1904129/Competitive-programming | 0426fcacb6ca74d1cd879147379014aaed69c7c9 | 29069d023a9db345c57a5d7da0dc5fbb2ed9077d | refs/heads/main | 2023-06-12T08:16:58.817431 | 2021-07-11T04:49:44 | 2021-07-11T04:49:44 | 325,627,752 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | cpp | Togalling Problem.cpp | #include <iostream>
using namespace std;
int main()
{
int T, N, K;
cin >> T;
for (int t = 0; t < T; t++)
{
cin >> N >> K;
int mask = (1 << N) - 1;
if ((mask & K) == mask)
cout<<"YES\n";
else
cout<<"NO\n";
}
return 0;
} |
10f3fd90ed7415bc8c77c254d8bdfc2deedea246 | f07830079d6efc5f7b789f733e6391a1e210dc60 | /Translation_to_keyboard_code/LeapMotion.h | 20e9314d6a495645e64149ff387ddf884ef9a573 | [] | no_license | SLein00/Capstone-code | e68e8e1f542f3186a55a73661a7f4e65cf546847 | c607890a29bf59c9f5dfebb2338c071d4dd11d92 | refs/heads/master | 2020-08-29T16:14:43.755257 | 2020-03-04T22:17:21 | 2020-03-04T22:17:21 | 218,086,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | h | LeapMotion.h | #pragma once
#ifndef LEAPMOTIONH
#define LEAPMOTIONH
#include "SensorBase.h"
#include <array>
#include "translationtokbd.h"
class LeapMotion :
public SensorBase
{
public:
int InitializeSensor();
int CloseSensor();
std::array<position,10> GetFingerPositions();
};
#endif // !LEAPMOTIONH
|
3cb70537146682e12f7bcf19ae4e66474f6df934 | 644064c444d8b2adbdb1785ae7bfb5313865d59c | /src/sample.hpp | 5c1a08c4ee5536538dde807810fa9ab2d5998f5b | [
"Unlicense"
] | permissive | ihsotasatho/VSCodeCppProjectWithGoogleTest | 17f2f91180fd07cdcc5a95115f4baf44d950d237 | 9a124aef5ec2d61af3127d48b0cb8ddda4ac6d74 | refs/heads/master | 2020-06-19T15:57:59.035994 | 2019-07-14T01:58:42 | 2019-07-14T01:58:42 | 196,773,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | hpp | sample.hpp | #ifndef _class_sample_
#define _class_sample_
class Sample
{
private:
int item;
public:
Sample(int value){item = value;}
virtual ~Sample(){}
int SetValue(int value){int back = item; item = value; return back;}
int GetValue(){return item;}
int AddAllNumberFromZero();
};
#endif |
e7d4bc3685c2c30aa4fcb6c053d37f0406dcaabc | 5d4f92d9823de5761d8daa2390b55977a3dd6934 | /include/libmysql_iface.h | 85420685272ed0ea8537e3f3ff84fe154c9d5e4e | [] | no_license | 75912001/zzmysql | 282fdc61e9f81a2db9d105cfb2bb3127b33ca978 | d3c880c95d5bcfcb734d45d672cf7d3c88a5818a | refs/heads/master | 2021-10-09T22:21:16.774942 | 2019-01-04T06:51:20 | 2019-01-04T06:51:20 | 104,955,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | h | libmysql_iface.h | /********************************************************************
platform:
author: kevin
copyright: All rights reserved.
purpose:
brief: mysql接口
*********************************************************************/
#pragma once
#include <lib_include.h>
#include <mysql/mysql.h>
#include <lib_util.h>
... |
65e0493a47876bef8f72654254b7291159828806 | dfba14ecbd7114e8d64507decbe12edd38bea2ed | /3º Ano/Computação Gráfica/Trabalho OpenGL 03/DesenhaLinhas/main.cpp | 553df49edfeced00dc983d0f3afeb84515eff299 | [] | no_license | rafaelhks/cc-unespar | aa9ecad6533f02e7113266d27a3cb1e63f93ba73 | 4b94059f3a0f2a90fb28d6542dd0195ed9f90cb9 | refs/heads/master | 2020-03-28T19:40:16.295167 | 2019-01-14T20:09:26 | 2019-01-14T20:09:26 | 148,997,060 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,447 | cpp | main.cpp | #include <windows.h> //Necessário em algumas versões do GLUT
#include <GL/glut.h>
#include <vector>
#define Altura 480
#define Largura 640
#include "Pixel.h"
using namespace std;
//Autor: Rafael Francisco Ferreira
//Computação Gráfica - Ciência da Computação - Unespar Apucarana
vector<Pixel*> pontos;
//Função criada... |
a317e7ee855d9e94c68bde96f7ce2475e1072b71 | 2d249be7f0443fce8dcd1e4fd17adcf39a0e1ef4 | /Geek_Practice/4.Math/LCM_and_GCD.cpp | 9d95d749bcb1794a511b493f76550f831467c63d | [] | no_license | chiranjeevbitm/C_and_Cpp | cf041a80ae264d82c579e95d72a56a7d248bc1a8 | 0e9fe0a355ad04dda01faf086c329d9167e82c04 | refs/heads/master | 2020-04-15T22:32:55.822637 | 2019-08-22T12:13:51 | 2019-08-22T12:13:51 | 165,076,763 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | LCM_and_GCD.cpp | #include<iostream>
using namespace std;
long int GCD(long int v1,long int v2)
{
while(v2>0)
{
int temp=v2;
v2=v1%v2;
v1=temp;
}
return v1;
}
long int LCM(long int v1,long int v2)
{
long int x=gcd(v1,v2);
return (v1*v2/x);
}
int main()
{
int t;
cin>>t;
while(t--)
{
long int a,b... |
c3fcdae86f556a057c2116355c2f23bbcc8d6d47 | 012c860c3a1774938e2ade52347d1c1774639bb4 | /Analysis of Algorithms/Q3.cpp | 32de158f3504982d09816f6bca8eec4d75000578 | [] | no_license | jaffarabbas/FASTAssignments | c909d5adfa590b904ea8a468cc006155b3e741fd | 4415c1e65ff59c378608212f9077b4d129e69d6f | refs/heads/master | 2022-01-29T05:41:34.381262 | 2019-05-16T06:40:46 | 2019-05-16T06:40:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | Q3.cpp | //#include<iostream>
//using namespace std;
//
//int matFloor(int k){
// int prev1 = 1, prev2 = 2; // for vertical case(2x1) and 2x2 case (2 horizontal or 2 vertical)
// int val = 0;
// if (k == 1)
// return prev1;
// else if (k == 2)
// return prev2;
// else{
// for (int i = 3; i <= k; i++){
// val = prev1 + prev... |
2e32ff8d68460a8fb7878e089fdd266b51afbda2 | 7a17d90d655482898c6777c101d3ab6578ccc6ba | /SDK/PUBG_PlatoonFireSupportAreaIndicator_functions.cpp | 2c2b28e5b1e657260039aa66a9e4e3046b880b6b | [] | no_license | Chordp/PUBG-SDK | 7625f4a419d5b028f7ff5afa5db49e18fcee5de6 | 1b23c750ec97cb842bf5bc2b827da557e4ff828f | refs/heads/master | 2022-08-25T10:07:15.641579 | 2022-08-14T14:12:48 | 2022-08-14T14:12:48 | 245,409,493 | 17 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 69,935 | cpp | PUBG_PlatoonFireSupportAreaIndicator_functions.cpp | // PUBG (9.1.5.3) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_PlatoonFireSupportAreaIndicator_parameters.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
... |
600957972edd6c90f5c4d75fdbde378a3579c488 | 3be9c777401affe43b9c288435cb87442563f799 | /HAL/Camera/Drivers/ToyotaReader/ToyotaReaderDriver.h | 624d39dcd39495c2750a6d449a4c32c815d88b1f | [
"Apache-2.0"
] | permissive | vhanded/HAL | 81b873983a9605620496eda40147323b0e9c4412 | 56819df45a1d3edf118282b644449c9d1e395286 | refs/heads/master | 2020-06-19T23:19:19.221086 | 2019-07-15T02:35:47 | 2019-07-15T02:35:47 | 196,910,467 | 0 | 0 | NOASSERTION | 2019-07-15T02:34:26 | 2019-07-15T02:34:26 | null | UTF-8 | C++ | false | false | 2,425 | h | ToyotaReaderDriver.h | #ifndef _TOYOTA_READER_H_
#define _TOYOTA_READER_H_
#include <queue>
#include <boost/thread.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition.hpp>
#include "HAL/Camera/CameraDriverInterface.h"
namespace hal {
class ToyotaReaderDriver : public CameraDriver
{
enum ColorFormat {RGB, BGR, BAYE... |
b493ee55c481eec97cd3f270e6fc25685e3ec9c8 | fcedd07ef96c9545dd369129313e1cc0785f9e46 | /Limiter.cpp | 2679514e8c9c42526f822d9c346d36a49a8fe980 | [] | no_license | kjhunkk/RKDG_1DSCL_hMLP | 0207a079f0ef1869687d9c814d58e7f7ae4b135e | 36c8461274a28e1b126aafca2a1677c0c18253c5 | refs/heads/master | 2021-01-21T12:42:58.113845 | 2017-09-04T02:14:07 | 2017-09-04T02:14:07 | 102,092,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,999 | cpp | Limiter.cpp | #include "Limiter.h"
Limiter::Limiter(Type limiter, std::shared_ptr<Zone> zone)
{
_limiter = limiter;
_polyOrder = zone->getPolyOrder();
_num_cell = zone->getGrid()->getNumCell();
_size_cell = zone->getGrid()->getSizeX();
}
Limiter::~Limiter()
{
}
void Limiter::hMLP_Limiter(std::shared_ptr<Zone> ... |
c5fda0005bc2a03ef5cfd8775c394960bf018f32 | b4afd7c498016e3e88e9ca51d46153e16fa7285e | /Codes/Arduino/interface_code.ino | c41e0434f81b334336a3ba54fc3ce3a8add46bed | [] | no_license | AKHILRNAIR/HACKX--TECHY-TITANS | 7a1b38a42f410ae3b09866b690fd30fea8a77af4 | 4b998c2a5a3053459efde1e263d24afca0fc138d | refs/heads/master | 2023-06-25T16:58:46.412998 | 2021-07-31T04:58:24 | 2021-07-31T04:58:24 | 391,253,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | ino | interface_code.ino | #define resolution 8
#define mains 50
#define refresh 2 * 1000000 / mains
void setup() {
Serial.begin(9600);
for(int j = 2; j < 14; j++) {
pinMode(j, OUTPUT);
digitalWrite(j, LOW);
}
for(int j = 8; j < 11; j++)
pinMode(j, INPUT);
st();
}
void loop() {
Serial.print(ti... |
07761c5cb1d2b7aad8d9554ab53ab1543afb3ecb | f0dc57c36b9bc5dd25aa6096c8272799bc67f8f8 | /VTable/VBasicUnderstand/NonVirtualClass.cpp | 8343c145a934f0b988df0d29568f75742bc6f59e | [
"MIT"
] | permissive | saetekm/Memory-Management-and-Advanced-Debugging-techniques | e55397200443209dc7e75ad4ea151ef04f673f58 | d0b9c6f6a43ba64781c859175a092d86f1ab784d | refs/heads/master | 2020-04-20T04:51:48.870996 | 2019-01-31T20:40:20 | 2019-01-31T20:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 53 | cpp | NonVirtualClass.cpp | class NonVirtualClass {
public:
void foo() {}
};
|
778baac430f1958b6c51bbcb2ad8294432e96bcd | ef82958d2365c4ba667f802a77d31100d1035610 | /Splendor5.26/gameinterface.h | 5d854672c7940669990712a82186b180be03e8ce | [] | no_license | Jeeei/splendor-for-course | 95d0f1cf00927bb9adef1d614ef91957cd74e782 | 28f68695df03ed32cecb6542e5263a25e8c6afb8 | refs/heads/main | 2023-05-02T05:35:24.979981 | 2021-05-25T17:42:12 | 2021-05-25T17:42:12 | 355,506,358 | 0 | 0 | null | 2021-05-05T13:01:59 | 2021-04-07T10:40:08 | C++ | UTF-8 | C++ | false | false | 3,917 | h | gameinterface.h | #ifndef GAMEINTERFACE_H
#define GAMEINTERFACE_H
#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include <QGridLayout>
#include <QSound>
#include <QTimer>
#include <windows.h>
#include <QPropertyAnimation>
#include "Splendor.h"
#include "pickcoin.h"
#include "pickcard.h"
#include "opponent_ha... |
77a257a83457279a16f280dbbc555abd287d0f20 | 8eb3a24eeaf4be583607bfbe962e37c34f8c5578 | /Good-First-Issues/remove_duplicate_linked_list.cpp | d0984982c43b88a9cffd31e97ad62bc55095844a | [] | no_license | manu-prakash-choudhary/Open-Source | 056fe701bb31b399c3f790bf0eed3e5924958787 | 47b54069bc4ddb934b3259d88b63a2efcd7eb069 | refs/heads/main | 2023-08-31T15:20:47.852006 | 2021-10-25T10:17:08 | 2021-10-25T10:17:08 | 419,830,058 | 4 | 0 | null | 2021-10-21T18:10:57 | 2021-10-21T18:10:56 | null | UTF-8 | C++ | false | false | 1,018 | cpp | remove_duplicate_linked_list.cpp | #include <bits/stdc++.h>
using namespace std;
class Node
{
public:
int data;
Node* next;
};
void removeDuplicates(Node* head)
{
Node* to_free;
if (head == NULL)
return;
if (head->next != NULL)
{
if (head->data == head->next->data)
{
to_free = head->next;
head->next = hea... |
f5ac7cddc894562849b913f10226b195fa228927 | 79076cbc5908c462d24a15befc4bb99f428abdaa | /src/reutil.h | b8184ef3166751b669adf1ad57e09799e10d2186 | [] | no_license | hwse/cmake_test | f692a30c7e1a7f566989a8d0b0192e9727429407 | bc8cb5fe7af1e9d365e05a8ac76ee34107d64ee3 | refs/heads/master | 2020-04-30T12:14:22.484803 | 2019-03-20T21:47:52 | 2019-03-20T21:47:52 | 176,821,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | h | reutil.h | #include<vector>
namespace reutil {
std::vector<std::string> groups(std::string regex, std::string text);
} |
55d9680b7aaf5a4c1abfd4f395f11b71e70bf230 | ada82378f2942b0c826178ac5384d5e9f1a054e8 | /src/Commandline_test.cpp | af8ded594736d993adc31782d2333266b1a9da6f | [] | no_license | jonasstein/mdat | 16f112a44543d2e489fc4cebe56106f272ead178 | 47b748096dcf82ef62f3e37ca72cc0f30e9db7b9 | refs/heads/master | 2022-06-02T17:32:22.164698 | 2022-05-19T07:41:11 | 2022-05-19T07:41:11 | 187,505,136 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | cpp | Commandline_test.cpp | #include "Commandline.h"
namespace commandline {} /* namespace commandline */
|
a2e3b39a0840bb429de392c73015b75e2ebaf0f1 | 526aaf4a9e938e5cb25b56f9741101b2da8f2800 | /Game/BulletBoss.h | 872d6f8b81ad2fb72a9af1014da3d3d7bff6a906 | [] | no_license | quanghoang0403/blaster-master-game | e203c61cc325716ff0fc00f1770ad22cd558c11f | b5fafb43ece7ca341af06380daa7cfbe0da6c761 | refs/heads/master | 2023-03-01T03:35:29.643082 | 2021-01-20T03:49:21 | 2021-01-20T03:49:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | h | BulletBoss.h | #pragma once
#include "BulletEnemy.h"
#include "Player.h"
#include "Brick.h"
#include "Player.h"
#include "PlayerV2.h"
#define BULLET_SPEED 0.05f;
#define BULLET_BBOX_WIDTH 9
#define BULLET_BBOX_HEIGHT 9
#define BULLET_BOSS_ANI_FLY 2305
#define BOSS_BULLET_SPEED 2
#define BOSS_BULLET_GRAVITY 0.0... |
754e3dc2d3b795e44b72d4a54322e3d69c0d0314 | a66a95e79a6f99e9324627203965d33bf4825697 | /hast/classes/include/genheaders.hpp | d2cc9766f60ab677c962575284d1fdc80a819e96 | [] | no_license | benjaminabruzzo/idetc2019_code | e991bae4f7f94525e8f71509390954e976446fd3 | e0b196558878bd142c37b72fc1e30bb1665f947e | refs/heads/master | 2020-05-07T09:29:05.929147 | 2019-04-09T13:58:58 | 2019-04-09T13:58:58 | 180,377,895 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | hpp | genheaders.hpp | // Programming tools
#include <math.h>
#include <cstdlib>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sstream>
#include <iostream>
//Vision tools
// #include <cv.h>
#include <cv_bridge/cv_bridge.h>
#include <camera1394/SetCameraRegisters.h>
#include <image_transport/image_transport.h>
#include... |
534f329ddd8ccb653738e5680732b5e96d6665d8 | 0ba5c433204ac320aa08dd58f17d3e68cf87f113 | /cpp/092反转链表II/092反转链表II.cpp | 7ff126ca3bb161edf34579f80650a86f075352c7 | [] | no_license | wtrnash/LeetCode | 372d6ca53464cf661036e953e28fa6295a72fb98 | 37a7d3d836cad4880dd42612017768600dcf2864 | refs/heads/master | 2020-03-24T16:01:22.277063 | 2019-07-12T01:20:08 | 2019-07-12T01:20:08 | 142,809,896 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | cpp | 092反转链表II.cpp | /*
反转从位置 m 到 n 的链表。请使用一趟扫描完成反转。
说明:
1 ≤ m ≤ n ≤ 链表长度。
示例:
输入: 1->2->3->4->5->NULL, m = 2, n = 4
输出: 1->4->3->2->5->NULL
*/
//解答:遍历到需要反转的前一个位置,每次将当前的插入到该位置后即可,直到反转完毕
#include <iostream>
/**
* Definition for singly-linked list.
*/
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x... |
f3bae9a5d3b80002f051cbfad9c78653b1e2a514 | 25ca02fb356d9dfa2cbb44c1a5b02973e835b4ff | /inc/optab.h | 071244abdeb4b540640b06a9d93c6934856de266 | [] | no_license | 4rkiel/yugioh | 9dcf65192c8f94552011766ef6a8c77aef51f3bf | 2a1d005dd18da05c2397d512a31028177d3886b7 | refs/heads/master | 2021-04-30T09:38:29.303064 | 2018-05-02T10:46:41 | 2018-05-02T10:46:41 | 121,312,330 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,340 | h | optab.h | #ifndef OPTAB
#define OPTAB
#include <QWidget>
#include <QFrame>
#include <QSettings>
#include <QStyle>
#include <QGraphicsDropShadowEffect>
#include <QGridLayout>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QStackedWidget>
#include <QScrollArea>
#include <QPushButton>
#include <QLabel>
#include <QFile... |
3cfe0515fa6498c780d083c61f244b1261ade3dc | 3cc352b29b8042b4a9746796b851d8469ff9ff62 | /src/paths/reporting/DumpOffsets.cc | e1ee05868eab033f763cadbd4deb27fe4d0cfdb4 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | CompRD/BroadCRD | 1412faf3d1ffd9d1f9907a496cc22d59ea5ad185 | 303800297b32e993abd479d71bc4378f598314c5 | refs/heads/master | 2020-12-24T13:53:09.985406 | 2019-02-06T21:38:45 | 2019-02-06T21:38:45 | 34,069,434 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | cc | DumpOffsets.cc | ///////////////////////////////////////////////////////////////////////////////
// SOFTWARE COPYRIGHT NOTICE AGREEMENT //
// This software and its documentation are copyright (2010) by the //
// Broad Institute. All rights are reserved. This software is supplied //
... |
3f86985550e272319086c1dfacd6d1971ccb4277 | 1bbfeca83bac53d22b1110ca7f6c9a28bc46c22e | /ru-olymp-train-winter-2009/Submits/0812xx/19_38_09_17_25sB_3420.cpp | 814253ed881de21916afc5ff8864e2592e462c16 | [] | no_license | stden/olymp | a633c1dfb1dd8d184a123d6da89f46163d5fad93 | d85a4bb0b88797ec878b64db86ad8ec8854a63cd | refs/heads/master | 2016-09-06T06:30:56.466755 | 2013-07-13T08:48:16 | 2013-07-13T08:48:16 | 5,158,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | cpp | 19_38_09_17_25sB_3420.cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
#include <map>
#include <string>
#include <cstring>
#include <ctime>
using namespace std;
#define y1 botva
#define forn(i,n) for (int i = 0; i < (int)n; i ++)
#define ford(i,n) for (int i = n-1; i >= 0; i --)
#define fs first
... |
f6846d72e4503bbea11c3eceaf4280aef867725d | 00e2c6ef96decc736ffce22e59dcdfffda478a5c | /1_sem_ZS_2019-20/ZPRPR1/programy/programy k prednaskam/06_prednaska/06p12.cpp | ac4e0f698db41e4e54471e614a27e36a6abb4fe1 | [] | no_license | nfssfn/FIIT | cd69a9ca780a6275111d79963a2b7b38800db241 | 18e20826c5da0dc1f30c5af7771db48368e4e6ad | refs/heads/master | 2023-08-11T10:57:13.547550 | 2021-09-22T19:04:59 | 2021-09-22T19:04:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | 06p12.cpp | // v poli znakov najst najdlhsiu postupnost opakujucich sa znakov
#include <stdio.h>
#define N 100
int najdlhsieRovnake(char pole[], int n);
int main() {
char pole[N];
int c, n = 0;
while((c=getchar()) != '\n' && c != EOF && n<100) {
pole[n++] = c;
}
printf("Dlzka najdlhsieho useku rovnakych pismen: %d\n",... |
1e802d936b6a2c759a6556d7917eeaa899e43508 | a3cad9fd551621dd5d0d14e6eaae68e6455fdfec | /Accelerometer.ino | 4b773d35b8959844f56d5a8712ebe4571d37674e | [
"MIT"
] | permissive | PankajSinghSheoran/ProCodes | fb396979824f0f0b7b755894a3fb02144a7e9012 | 584acbf7945e0da1dfcb7c92fcdf5b2d42b2f566 | refs/heads/master | 2023-08-21T11:35:29.380142 | 2021-10-27T18:23:37 | 2021-10-27T18:23:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,690 | ino | Accelerometer.ino | // these constants describe the pins. They won't change:
const int xpin = A1; // x-axis
const int ypin = A2; // y-axis
const int zpin = A3; // z-axis (only on 3-axis models)of the accelerometer
void setup()
{
// initialize the serial communications:
Seria... |
0a27d2c54f2837cb8fe3f4b6717528a216e3bee5 | e6fe7daa1dd1e5a7e2fc0e65d0123c0ab308531e | /RegulatorNeuralNet/main.cpp | 60b285e4e4cf450e5d52d2c3c6761cf99ffed1fd | [] | no_license | JTiefnig/InvertedPendulum | 63d09615ac8e587a44b6084402588902f4e7f566 | 7e7397dd7107636e7693bfc7804bf8dea9381002 | refs/heads/master | 2020-12-08T02:36:20.634549 | 2020-01-13T09:38:53 | 2020-01-13T09:38:53 | 232,861,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | main.cpp |
#include <iostream>
#include <SFML/Graphics.hpp>
#include <vector>
#include <math.h>
#include "ControlSystem.h"
#include "Matrix.h"
void drawEnvironment(sf::RenderTarget & target)
{
sf::Vector2u windowsize = target.getSize();
//float offx = windowsize.x / 2.f;
float offy = windowsize.y * 0.7f;
sf::Vertex f... |
c08fa33a0f13a3484e1efec1678639eb9101708b | 5adc6573aa7c73685b6ae07574cb0fda298f8e54 | /Project2/Project2/KCM Travel.cpp | f9ce7fe98e7d871a10f5e2876e56255c919538ed | [] | no_license | JeongGeun/solveboj2 | ce5c98f8cbb957c7d92a2e4aa3f8ee0260939535 | fe103a7f13b5a346928299198f94f4607e0b3c47 | refs/heads/master | 2022-12-20T02:22:56.324227 | 2020-10-12T13:46:00 | 2020-10-12T13:46:00 | 285,821,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,581 | cpp | KCM Travel.cpp | #include<iostream>
#include<string.h>
#include<algorithm>
#include<vector>
#include<queue>
using namespace std;
typedef pair<int, int> P;
typedef pair<int, P> PI;
typedef pair<P,int> PII;
int m, n, k;
vector<PI> graph[101];
int dist[101][10001];
int visit[101];
int main()
{
ios::sync_with_stdio(false);
cin.tie(0)... |
f607153f6f7a71f1e5b8425b244ece3eda2cc470 | 6e7972c710ab2a16c489431f0a9480fb47213ada | /src/fmf-common.cpp | e08b3dcc4abd3aec84df8e5731872914047caeb6 | [] | no_license | thomasp85/FindMyFriends | 3871d26e42814f4e7e3259eb9bd8a3846a08583f | 63b73087569cd099abc8deaf510e2a6925de4888 | refs/heads/master | 2021-01-15T15:42:58.400727 | 2020-04-16T19:29:27 | 2020-04-16T19:29:27 | 36,867,347 | 28 | 8 | null | 2016-10-06T19:45:00 | 2015-06-04T11:52:25 | R | UTF-8 | C++ | false | false | 2,500 | cpp | fmf-common.cpp | #include <Rcpp.h>
#include "fmf-common.h"
using namespace Rcpp;
//[[Rcpp::export(getClusters)]]
IntegerVector getClustersFromR(IntegerVector I, IntegerVector P, NumericVector X) {
return getClusters(I, P, X);
}
//[[Rcpp::export]]
List createPanMatrix(IntegerVector org, IntegerVector group) {
std::deque< std:... |
a5d50b6e90899dbcdec7d1972a4950826f5de9cc | 2f10ef70f4a838d88e7b948d8799b52d3544c7d0 | /Código/Firmware_Base_v2/Firmware_Base_v2.ino | 2c43af382e9e2df4a177d2f2f0342133fed46ab5 | [] | no_license | fonteshugo/BH_OnOfre | d78f936de40999c816a001ad26b767ee21c5e61c | 9a151681fe7556449c6c749da803dd4f1d654398 | refs/heads/master | 2020-03-22T18:52:03.466100 | 2018-07-03T17:37:17 | 2018-07-03T17:37:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,499 | ino | Firmware_Base_v2.ino | /**
* Desenvolvido por Bruno Horta
*
* Todo o código é livre e pode ser utilizado ou alterado
*
* Exemplo: https://www.youtube.com/watch?v=OyY4ymv6db0
* */
#include <FS.h>
//JSON
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson
//MQTT
#include <PubSubClient.h>//https://www.youtub... |
e7ab8156509d3c2d0fd75df1024f18ac1aee6349 | 2f269ba1767e70e99f38a47ae0fe507b2fe178c2 | /src/lib/tracer_bridge.h | 3e52dcda62c4b409070cf06048d02cac088716f5 | [] | no_license | lightstep/python-bridge-tracer | 9418c337fb5f817d8e7a53d715ae0e3724d64bcc | 82ce1287ddd4b0a988b0354dbff272f38e315ba0 | refs/heads/master | 2023-08-19T10:48:52.344329 | 2020-08-16T23:02:50 | 2020-08-16T23:02:50 | 185,280,088 | 0 | 2 | null | 2020-08-16T23:02:52 | 2019-05-06T22:22:55 | C++ | UTF-8 | C++ | false | false | 2,469 | h | tracer_bridge.h | #pragma once
#include <Python.h>
#include "span_bridge.h"
#include "opentracing/tracer.h"
namespace python_bridge_tracer {
/**
* Translates OpenTracing-Python tracer methods to their OpenTracing-C++ equivalents.
*/
class TracerBridge {
public:
explicit TracerBridge(std::shared_ptr<opentracing::Tracer> tracer)... |
409b95793cd29410cefb8fc0949f4cc437252efc | dd8b08127aec9d6b5010420cc70b718efb4b3ffb | /Scene/SceneObjects/emptysolarobject.cpp | 7ae72d8b620332105629d1bab82537023d952456 | [
"MIT"
] | permissive | Instand/SolarSystem | 25add057b80ecd0a052e0727e6da6031c1b86f02 | f1abe57dff59f7ae7a80a2e86e00c9112d3d2b22 | refs/heads/master | 2023-01-23T03:34:09.660760 | 2023-01-09T18:59:04 | 2023-01-09T18:59:04 | 64,304,043 | 45 | 12 | MIT | 2023-01-09T18:59:05 | 2016-07-27T11:45:44 | C++ | UTF-8 | C++ | false | false | 256 | cpp | emptysolarobject.cpp | #include "emptysolarobject.h"
SolarSystem::EmptySolarObject::EmptySolarObject(Qt3DCore::QNode* parent):
Object3D(parent)
{
}
void SolarSystem::EmptySolarObject::update(float deltaTime)
{
Q_UNUSED(deltaTime)
//do anything we want
//...
}
|
485fccb0d0b49b0d1275ddd7c0babcfd2b3c9bfe | 80fd9493d9f2b0df745c333f2b36e19c8db098a8 | /Marda/src/Marda/Utilities/WorkerThread.cpp | 114b01de950651e1f091e0f4733405322bb88214 | [] | no_license | erio-nk/MyCxxProgram2011 | 12c6f96e4b7a4f2cf61bd367cfa9a7143ee3d024 | be1192e34fa6d7c863b0e50c43441245493c84a4 | refs/heads/master | 2021-01-01T16:56:17.535209 | 2012-06-12T14:48:20 | 2012-06-12T14:48:20 | 4,638,409 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 13,709 | cpp | WorkerThread.cpp | /*!
@file Utilities/WorkerThread.cpp
@author E.Nakayama
*/
#include <process.h>
#include "Marda/Utilities/WorkerThread.h"
using namespace Marda;
// ----------------------------------------------------------------------------
// WorkerThread::Work
WorkerThread::Work::Work()
: _pOwner(NULL)
, _state(STATE_NONE) ... |
f5204c83c92967909bff255ce55b51e7c01c7604 | e88c0d39d508c2a590d340d5a0ce30bb80db9bdd | /cpp_module_00/ex01/PhoneBook.cpp | 4e98667820f094d5c5214d647e1e7601135d5962 | [] | no_license | sharkofsteppe/Cpp_modules | f7fc8aa5b55cbc2f92eb699bb898bf5702657479 | 5d1fccfd862c942362d085744651427582d3275e | refs/heads/main | 2023-07-13T13:40:13.518105 | 2021-08-31T12:45:07 | 2021-08-31T12:45:07 | 401,694,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | cpp | PhoneBook.cpp | #include "PhoneBook.hpp"
#include "Contact.hpp"
void PhoneBook::Update(int &i)
{
if (i == 8)
{
for(int j = 0; j < 7; j++)
{
arr[j] = arr[j + 1];
arr[j].SetIndex(j);
}
i = 7;
}
arr[i].SetIndex(i).SetFirst().SetLast().SetNick().SetPhone().SetSecret();
i++;
}
void PhoneBook::access(int i, int sig)
{
... |
d3d24515bccffa1e77cd380dbd8a756a1ab6a8a3 | cdd36415f8591d3fefd430258f6b56e257fe27c1 | /src/rocket/parameter/mass.cpp | ace9b5bc16bd87d4afd87dc1301e709c746980c8 | [
"MIT"
] | permissive | sus304/ForRocket | 0b936c161653021d0034b745820bfbb14e43c090 | 10fdcd0ce5a30fbbb4fec6315bcd64314bec6c12 | refs/heads/master | 2023-07-20T01:13:31.645359 | 2020-04-11T03:35:13 | 2020-04-11T03:35:13 | 48,164,917 | 38 | 12 | null | 2018-06-11T07:40:02 | 2015-12-17T09:25:39 | Fortran | UTF-8 | C++ | false | false | 355 | cpp | mass.cpp | // ******************************************************
// Project Name : ForRocket
// File Name : mass.cpp
// Creation Date : 2019/10/20
// Copyright © 2019 Susumu Tanaka. All rights reserved.
// ******************************************************
#include "mass.hpp"
double forrocket::Mass::Sum() {... |
001eedfc4e75ad625ab90bceea8814400b31007f | 729fc016ed4499c9bf3e0c864a3a93d76e1e48c2 | /112A.cpp | 5c5da36a922bb423858578ba6ce542aaf064812b | [] | no_license | FozlaRabbi10/My_codes | 9bdf8a5b59cc8e53dce9fb2b8957f5986ebef4a3 | cd54733515d69121918056634ba30858fb5d2f1d | refs/heads/master | 2020-08-12T23:28:27.619562 | 2020-01-20T03:51:38 | 2020-01-20T03:51:38 | 214,864,164 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 472 | cpp | 112A.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string a;
cin>>a;
int len1=a.length();
string b;
cin>>b;
int i;
for(i=0;i<len1;i++)
{
if(a[i]>='A'&& a[i]<='Z')
a[i]=a[i]+32;
if(b[i]>='A'&&b[i]<='Z')
b[i]=b[i]+32;
}
//cout<<a<<"\n"... |
46fab7c861589a15cf9c2b5aaed333d103e44f24 | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /TimeManagement/Public/TimeManagementBlueprintLibrary.h | d50a5025fb34fba031fca5f2535071b7154a5101 | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,982 | h | TimeManagementBlueprintLibrary.h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
#include "Misc/FrameRate.h"
#include "Misc/QualifiedFrameTime.h"
#include "Misc/Timecode.h"
#include "TimeManagementBlueprintLibrary.generated.h"
/**
*
*/
UCLASS(meta = (BlueprintT... |
c29beb14fccdaaccd62c0c86f3904103341fa0dc | 2413d763e649ad4b06ce1adad1cfa4a41fa68366 | /demo008/demo8/Car.h | d07932e5e897ae5702c88da52929d3b8ebe695f2 | [] | no_license | bhl105337/DemoC- | 84fb4e367825b4212dcbce140ce9bbd19b6be8f1 | 06b74ab7f01c96d9f0752064a99384dc039a55b2 | refs/heads/master | 2020-04-07T12:17:04.535598 | 2018-12-07T07:06:50 | 2018-12-07T07:06:50 | 158,361,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | h | Car.h | #include <string>
using namespace std;
class Teacher1
{
public:
void setName(std::string _name);
string getName();
void setSex(string _sex);
string getSex();
void setAge(int _age);
int getAge();
void teach();
private:
string m_strName;
string m_strSex;
int m_iAge;
};
|
6a68e0d34a3ee2b7dcc9cefb7f61d2811c45fb8e | 902e56e5eb4dcf96da2b8c926c63e9a0cc30bf96 | /Sources/Tools/EPI/GUI/TaskManager/TaskWidget.moc.cpp | c2a86fb364661bcc0ec372a13d46379d1f8587a7 | [
"BSD-3-Clause"
] | permissive | benkaraban/anima-games-engine | d4e26c80f1025dcef05418a071c0c9cbd18a5670 | 8aa7a5368933f1b82c90f24814f1447119346c3b | refs/heads/master | 2016-08-04T18:31:46.790039 | 2015-03-22T08:13:55 | 2015-03-22T08:13:55 | 32,633,432 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,019 | cpp | TaskWidget.moc.cpp | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... |
1a5586b6de05b6869e3fcdbe4d1669b161a99b7f | 65cb7363e649f2c0d549532c92752ce67c4f5282 | /engine/include/kabuki.hpp | bea69ad7ad41f92cbbb758478f97dbd8bc39eb47 | [] | no_license | lostinspacebar/kabuki | 73e3b31ce52df6ba156ab2eb0f522298d15fcdf7 | b6c27a2bdd7793e7ee92b0a6e115ca44eeaa0066 | refs/heads/main | 2023-02-14T17:38:53.854506 | 2021-01-14T15:28:17 | 2021-01-14T15:28:17 | 321,708,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 337 | hpp | kabuki.hpp | /**
* KABUKI GAME ENGINE
* ----------------------------------------------------------------------------
* @file kabuki.hpp
* @brief Main engine header. In most cases, including this file is all you
* should need to do.
*/
#ifndef KABUKI_H_
#define KABUKI_H_
#include "engine.hpp"
namespace kabuki... |
383c8e26809f581dc0eaec057436bf0e8dee92ad | fa980f7dd9717699771de3bf17054ba7dee78da1 | /modules/dccomms_utils/modules/dccomms_packets/modules/dccomms/src/Stream.cpp | 4102e860a9b1c123a1b510f404c3b7ed46d70236 | [] | no_license | hardesh/ns3_ros | b28c1bc3ed7ac5f2ab358fa5b992182369cee1f0 | ca243e59794dad5b255b3ea2de6700cd2eeaf51b | refs/heads/master | 2020-08-21T17:49:41.160961 | 2019-10-20T04:24:36 | 2019-10-20T04:24:36 | 216,209,360 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,648 | cpp | Stream.cpp | /*
* Stream.cpp
*
* Created on: Feb 15, 2015
* Author: diego
*/
#include <cstring>
#include <dccomms/Stream.h>
#include <iostream>
namespace dccomms {
Stream::Stream() {
// TODO Auto-generated constructor stub
}
Stream::~Stream() {
// TODO Auto-generated destructor stub
}
void Stream::WaitFor(const ... |
1034d32c330bb06999da8120274ac95f46d0e37d | 8b47e28349328e4cde7dddb06869bb878960f7e8 | /remoter_service/src/main/jni/main.cpp | 9b6a687cddd9cd7860ac24d079fa4733b6d8f434 | [] | no_license | kenny8zeng/misc | 964f2f7913b8459fac25b6602cfa43ea0203fc9a | fb25b045bf34fd9169c732f86b0ba8b2cc938ebf | refs/heads/master | 2020-04-10T06:05:14.123996 | 2016-09-26T16:16:01 | 2016-09-26T16:16:01 | 68,077,004 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | main.cpp | #include "keymap.hpp"
//--------------------------------------------------------------------------------
int main( int argc, const char* argv[] )
{
key_loop();
return 0;
}
|
14cf281f3c2225bc1f7910321a4db265b4ed9f27 | 791c9886eb99a5aa9e02234e49fd2886d29fb627 | /Compiler/Compiler/Parser.cpp | 5272d69fc48c21e7abdcba543e6e7c0ddb252447 | [] | no_license | Leext/BUAA_Compiler | 06dfca23e7eaa458a609dc1a2d8fb70aa6bc80cd | 1998906ac3b0828eb51d667a2928a9641d651b6b | refs/heads/master | 2021-09-04T00:47:40.462276 | 2018-01-13T14:57:54 | 2018-01-13T14:57:54 | 111,132,397 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,551 | cpp | Parser.cpp | #include "StdAfx.h"
#include "Parser.h"
#include "Tokenizer.h"
void Parser::skipToToken(Token tk)
{
while (token != tk)
token = tokenizer.nextToken();
}
void Parser::skipToToken(Token t1, Token t2)
{
while (token != t1 && token != t2)
token = tokenizer.nextToken();
}
void Parser::skipToToken(unordered_set<Toke... |
fcfbeff9c63bf6baa40fe0d07886aa9398fc4744 | 78af7b72430b25944d1f352816a7ae083704ee0f | /layer.h | b69717c643bfda0aa3771bb18d4e3a846c739805 | [] | no_license | tmasood/Grating-Analysis | 8386f185e08a5dbfb2d66e6501663a98e8e086ca | 22e1b251108d9351711c199f2b643254bd2692d4 | refs/heads/master | 2021-01-17T01:14:59.401329 | 2017-09-24T05:34:43 | 2017-09-24T05:34:43 | 41,981,136 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,532 | h | layer.h | //
// Copyright 2015 Quantum Designs LLC, Taha Masood, Johannes Tausch
// and Jerome Butler
//
// Permission to use, copy, and distribute this software and its
// documentation for any purpose with or without fee is hereby granted,
// provided that the above copyright notice appear in all copies and
// that both ... |
5a191e817dcb2cad3bc7f67f4d01b498f4c1048a | a99cdd9359cbc87f0d871db1fab3f870c6c23fd2 | /ui/org.omnetpp.ide.nativelibs/sharedmemory.h | 67052002808884460df6d96eed757f60dd60d9ef | [] | no_license | ataeiamirhosein/omnetpp | ed1e887abd9c3495dec13f04e7a25f1588672ec1 | 4a4f5d060c1e8f3a28f31293569994eb3331a5ad | refs/heads/master | 2022-04-23T21:25:39.254866 | 2020-04-16T12:49:41 | 2020-04-16T12:49:41 | 257,749,192 | 1 | 0 | null | 2020-04-22T00:31:30 | 2020-04-22T00:31:27 | null | UTF-8 | C++ | false | false | 1,269 | h | sharedmemory.h | //=========================================================================
// SHAREDMEMORY.H - part of
// OMNeT++/OMNEST
// Discrete System Simulation in C++
//
// Author: Andras Varga, Tamas Borbely, Zoltan Bojthe
//
//======================================================================... |
82cba1ea5920f433da29550ada4f32904b722b8a | 1f9fbec1df7663622a6dc72ee9144f5d83adabd3 | /tutorials/GAN/VanillaGAN/net/my_GAN.hpp | 8ffb404525e2feab210f4d0f817b8720e1f44682 | [
"Apache-2.0"
] | permissive | WICWIU/WICWIU | fd7ac094cc9451ed1eb37e2ebaeb85e554210eb0 | 6e459ac1766ea6b94be30ede4321213ee3938154 | refs/heads/master | 2023-01-23T10:53:41.635007 | 2023-01-07T15:43:47 | 2023-01-07T15:43:47 | 132,969,717 | 123 | 35 | Apache-2.0 | 2021-12-23T08:25:48 | 2018-05-11T00:45:07 | C++ | UTF-8 | C++ | false | false | 1,916 | hpp | my_GAN.hpp | #include <iostream>
#include <string>
#include "my_Generator.hpp"
#include "my_Discriminator.hpp"
#include "../../../../WICWIU_src/GAN.hpp"
template<typename DTYPE> class my_GAN : public GAN<DTYPE> {
public:
my_GAN(Tensorholder<float> *z, Tensorholder<float> *x, Tensorholder<float> *label){
Alloc(z, x, la... |
2c2aa48b7268c69f3852738e81e71141272fafd7 | 6817ea7e9e59fc702de5291c6691153de9f3acc2 | /OJ/抄送列表.cpp | eff598f2816f838da61a1d6714a585d1da67b6a2 | [] | no_license | coolnut12138/OJ | 7b3cec2340a0913105f4f85efb72ba538618fddc | e4144c7b4246d7e0921bd8e214e7fb93452457aa | refs/heads/master | 2020-05-05T10:45:47.959641 | 2019-09-21T15:25:04 | 2019-09-21T15:25:04 | 179,959,652 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,699 | cpp | 抄送列表.cpp | 链接:https://www.nowcoder.com/questionTerminal/286af664b17243deb745f69138f8a800?orderByHotValue=1&page=4&onlyReference=false
来源:牛客网
NowCoder每天要处理许多邮件,但他并不是在收件人列表中,有时候只是被抄送。他认为这些抄送的邮件重要性比自己在收件人列表里的邮件低,因此他要过滤掉这些次要的邮件,优先处理重要的邮件。
现在给你一串抄送列表,请你判断目标用户是否在抄送列表中。
输入描述 :
输入有多组数据,每组数据有两行。
第一行抄送列表,姓名之间用一个逗号隔开。如果姓名中包含空格或逗号,则姓名包含在双... |
0830c7a95cedeba31067fc045b0413ec228bfd4c | 4254d9c570dbb4dca40821dfed0c44f3c1cc4041 | /include/TreeLeaf.h | 1fbf11ded81d40f30630ee0965ee425093b586ca | [] | no_license | LingmeiZhao/Database-Engine | 7889270e3ec632369e03c562a183f6e513d888c1 | d1699f6404713d8a0f8ffc18fc412344ce2d9a58 | refs/heads/master | 2022-09-30T05:19:46.612723 | 2020-06-08T03:06:55 | 2020-06-08T03:06:55 | 263,204,328 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | h | TreeLeaf.h | #ifndef TREELEAF_H
#define TREELEAF_H
#include <iostream>
#include <stdlib.h>
#include <string>
#include <list>
#include "TreeNode.h"
using std::cout;
using std::endl;
using std::list;
using std::string;
class TreeLeaf: public TreeNode{
private:
long nextPagePointer;
long prevPagePointer;
list<string> va... |
91f25ad94fdb098dfaedae3348407d415f1e5ff4 | 706e1ad1a370356ed76e494c36240b5937072e42 | /CSES/(1) Introductory Problems/1755.cpp | 5743c406f1a02e9c53aa106640d21934a5a0c675 | [] | no_license | dolphingarlic/CompetitiveProgramming | 57e3573fa7c2f1172c4550f5897b9b19dc6ce6d2 | 736d1084561c1d4235d8d5e5ae203dce6e0089ac | refs/heads/master | 2023-09-01T20:20:42.718973 | 2023-08-29T01:38:45 | 2023-08-29T01:38:45 | 202,596,269 | 37 | 5 | null | 2022-06-12T04:35:34 | 2019-08-15T19:00:57 | C++ | UTF-8 | C++ | false | false | 502 | cpp | 1755.cpp | #include <iostream>
using namespace std;
int cnt[26];
int main() {
string s;
cin >> s;
for (char i : s) cnt[i - 'A']++;
string res = "";
char odd = '.';
for (int i = 0; i < 26; i++) {
if (cnt[i] & 1) {
if (odd == '.') odd = i + 'A';
else return cout << "NO SOLUTION", 0;
}
for (int j = 0; j < ... |
b5cca1565b0c02b4be8e19694f5ff2ab63438cb5 | e7df6d41d7e04dc1c4f4ed169bf530a8a89ff17c | /OpenSim/Simulation/VisualizerUtilities.h | 1897c8bcfe742edede17c551d68f94ff8ef69cf6 | [
"Apache-2.0"
] | permissive | opensim-org/opensim-core | 2ba11c815df3072166644af2f34770162d8fc467 | aeaaf93b052d598247dd7d7922fdf8f2f2f4c0bb | refs/heads/main | 2023-09-04T05:50:54.783630 | 2023-09-01T22:44:04 | 2023-09-01T22:44:04 | 20,775,600 | 701 | 328 | Apache-2.0 | 2023-09-14T17:45:19 | 2014-06-12T16:57:56 | C++ | UTF-8 | C++ | false | false | 3,739 | h | VisualizerUtilities.h | #ifndef OPENSIM_VISUALIZER_UTILITIES_H_
#define OPENSIM_VISUALIZER_UTILITIES_H_
/* -------------------------------------------------------------------------- *
* OpenSim: VisualizerUtilities.h *
* -------------------------------------------------------------------------- *
... |
28acad8eb2652d7546105643eaf84bfab18eb512 | 8a175299e2897b7d7e87c9ce4b928f20bf2d8dd2 | /ESP32_WS_007_3_1/do_effet_1.ino | aa2118ca0c2e7e50b64e06cc5daa8efa3ae7a156 | [] | no_license | ririfonfon/ESP32_WS | 63ae7d75917e05e8517e1438f283a6c7822fbd71 | 0359e7538c214e57cde9a9f9524c4ef99609ccd2 | refs/heads/master | 2020-04-11T09:02:51.795543 | 2019-05-10T16:14:11 | 2019-05-10T16:14:11 | 161,664,262 | 1 | 2 | null | 2019-05-02T09:33:33 | 2018-12-13T16:16:16 | C++ | UTF-8 | C++ | false | false | 17,677 | ino | do_effet_1.ino | void do_effet_1() {
if (_Pix_mod == 0) {
for (int i = 0 ; i < NUM_LEDS_PER_STRIP ; i++) {
pix_buffer[0][i] = pix_colorA[0][i];
pix_buffer[1][i] = pix_colorB[1][i];
pix_buffer[2][i] = pix_colorB[2][i];
pix_buffer[3][i] = pix_colorB[3][i];
}//for i
}//_Pix_mod 0
if (_Pix_mod == 1) {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.