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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
799a2f36274ec5ca82a1fe2711a46a156a80bd0a | e06e60fe26547384e78109e71f64faaf3017f55c | /Interface/DialogVnRConfig.h | 98ef83c0cfa3b2404aa4655f413ffd2a6342327d | [] | no_license | ybs0111/AMT840_Interface | 448f373529d9d544272893d0d542c171e906dfde | deea5cc6e51f887df25fc371bfd3c71482fe061a | refs/heads/master | 2021-01-11T17:27:34.106193 | 2017-01-23T05:37:22 | 2017-01-23T05:37:22 | 79,773,395 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 942 | h | DialogVnRConfig.h | #pragma once
#include ".\\Ctrl\Grid\\GridCtrl.h"
#include ".\\Ctrl\\BtnST.h"
#include ".\\Ctrl\\GradientStatic.h"
// CDialogVnRConfig 대화 상자입니다.
class CDialogVnRConfig : public CDialog
{
DECLARE_DYNAMIC(CDialogVnRConfig)
public:
CGradientStatic m_msgPort;
CGradientStatic m_msgPortData;
CGradientStatic m_msgCh... |
7c0c1b26ca49fa9e382b18e5265d51562104fd3b | 590ad531651d7f5f5f73baa1b3ac36866877104b | /tuxbox/neutrino/src/driver/lcdd.cpp | f70dd596768dba1392e2b2704a101729a24556c3 | [] | no_license | ChakaZulu/tuxbox_apps | 1217f53e3adc27227e0ed07de4778120e294f574 | 1a28fedaecef864ecc7d696b739795321ea3bdb1 | refs/heads/master | 2021-01-23T17:20:36.229379 | 2009-12-30T13:38:15 | 2009-12-30T13:38:15 | 129,129 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,341 | cpp | lcdd.cpp | /*
$Id: lcdd.cpp,v 1.84 2009/10/22 20:07:48 seife Exp $
LCD-Daemon - DBoxII-Project
Copyright (C) 2001 Steffen Hehn 'McClean'
Homepage: http://dbox.cyberphoria.org/
Copyright (C) 2008 Novell, Inc. Author: Stefan Seyfried
(C) 2009 Stefan Seyfried
License: GPL
This program is free software; you can red... |
678fe56dfd5cbeec6f27223b6199b019d5b5b19f | b5d788437be09c1ab7bb34ae84070ed0bce35d31 | /src/img/utils.hpp | f4d673e9fea91ea251de6427cd49481f7dfbd022 | [
"LicenseRef-scancode-generic-exception",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | wlike/sfcpp | 94ee38258edc826aed702a3c793e22be66d9b84a | b929419b13c35fff199c6c65e87ecffae9963cfc | refs/heads/master | 2021-07-14T07:34:37.097587 | 2017-10-18T08:29:27 | 2017-10-18T08:29:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,191 | hpp | utils.hpp | /* Copyright 2017 The sfcpp Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... |
54c207f7a686c287fa1ce7f325bcc3d82ed8c115 | 39821d4da443d0c4ff26570e48398b4e263dd888 | /项目,/去重行动/去重行动/去重行动/file_manage.cpp | 58d8c83b7a512864a502dd0e6f863a9089674d28 | [] | no_license | muxiaoximuxiaoxi/- | ab3056d2dc68f50af94d09f84dba67677314ee0e | 1dc7b00f180567d874dcf1d71aed2e20661811a5 | refs/heads/master | 2021-07-17T00:22:00.279839 | 2020-07-10T13:32:29 | 2020-07-10T13:32:29 | 155,961,603 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,222 | cpp | file_manage.cpp | #include"file_manager.h"
#include"file.h"
#include<utility>
void file_manager::scanner_dir(const std::string& path)
{
//清理容器
_file.clear();
search_dir(path, _file);
//std::cout << "all file" << std::endl;
show_all_file();
get_md5_to_file();
show_copy_list();
std::cout << "Only duplicate files" << std::endl;
g... |
6e6affc826df1e45d399d1484dde89a53c2c6097 | a8e14b1cbcc9990e4a177beb59c8c0a5b1e9b951 | /20200530_FileSharing/File_Sharing_Qt/Westworld/mainwindow.cpp | 283d96347cf258f6d170538d527e5d64c52a700e | [] | no_license | WZ-Dale/Projects | 353de6d65b510e342449a7abee6bbaa6fe49d712 | 1f8a5537a0691beeeb08aa3ea5fae3e74510767c | refs/heads/master | 2021-06-26T07:13:47.741794 | 2021-06-19T10:22:20 | 2021-06-19T10:22:20 | 201,632,977 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,412 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
QString str = "Welcome to the Westworld !";
ui->textBrowser->setText(str);
QThread* thread0 = new QThread();
QThread* thread1 = new... |
20f3333a6d9d3d7fb93c0d4e57ab3d91e451a4ce | d125832a2ea6b9508bacda45baf60eea2d60b7bf | /pxl2D/include/graphics/Text.h | d2dba6de932c206d725acaf629d23ae7d121be45 | [] | no_license | kiwipxl/pxl2D | c8b0e617275095420b1a54dfc8281fa4ab909595 | 3a4069618c14ee8588464479433878c3965ec883 | refs/heads/master | 2021-07-11T04:46:50.097294 | 2021-03-07T08:08:50 | 2021-03-07T08:08:50 | 28,920,726 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,172 | h | Text.h | #ifndef _TEXT_H
#define _TEXT_H
#include <string>
#include "graphics/FontUtils.h"
#include "graphics/Batch.h"
#include "graphics/Sprite.h"
#include "PXLAPI.h"
namespace pxl { namespace graphics {
class TextOrigin;
class Text : public Sprite {
public:
Text();
/**
\*brief: text c... |
abae774ebc2d842690f999c849468afe31681ae8 | 7965149d954fe3e773e2ff50bd4ace272530c97d | /Server/server/EquipStageConfig.cpp | 6d2d7372e88240d38f981214ae19c546c43e5312 | [] | no_license | wayland-chen/swa-server | e6fb5793e98e1c3400fa752dc537ae125bbbe50a | 2185559917d201ce2921489b87df682f1350d6ca | refs/heads/gh-pages | 2021-01-20T21:56:44.955788 | 2015-01-31T05:56:33 | 2015-01-31T05:56:33 | 34,900,199 | 1 | 0 | null | 2015-05-01T11:35:00 | 2015-05-01T11:35:00 | null | UTF-8 | C++ | false | false | 1,076 | cpp | EquipStageConfig.cpp | #include "EquipStageConfig.h"
#include "netConfig.h"
EquipStageConfig* gEquipStageConfig = F_NULL;
EquipStageConfig::EquipStageConfig(void)
{
gEquipStageConfig = this;
}
EquipStageConfig::~EquipStageConfig(void){}
fvoid EquipStageConfig::Load(const fbyte* path)
{
ptree pt;
ptree root;
read_xml( path , pt , boos... |
086182b29bc9f0d38d3e6986073e146ea053e7d7 | 789ff02d6937da454a169d6a91e991b8023ca1ba | /main.cpp | f7e2dd27fd15957425608240b99b373b42161a82 | [] | no_license | patrick100/JuegodenaveSDL1.2 | 88a90005a8cfcece31c8f530f878900205aee583 | 0c219fc340f8a1ed29138c255b186d0e1bc2a0f6 | refs/heads/master | 2021-01-25T10:29:06.444875 | 2015-07-05T20:08:54 | 2015-07-05T20:08:54 | 38,582,140 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,247 | cpp | main.cpp | #include "SDL/SDL.h"
#include "SDL/SDL_mixer.h"
#include "Juego.h"
#include "Nave.h"
#include "bala.h"
#include "Meteoro.h"
#include "ListaEnlazada.h"
int main( int argc, char* args[] )
{
bool perder=false;
bool reiniciar = false;
bool quit = false;
Juego obj;
obj.iniciarjuego();
Mix_Music *s... |
2aa589d27e5feaa8c0a59d3a363833d84d9e9b30 | bd8eda6121dc036844b404b63cafb0b3c926d3c2 | /Insertion sort shifts.cpp | 4539107105fe996a518e1fbe7c8e483c47fba345 | [] | no_license | Yinkular/HackerRank | 7b92427027ada196cfbbe63e8ca58340e7cfe29e | 15c3c534818725049cbd6836747d1e66e14cc431 | refs/heads/master | 2020-05-29T08:45:17.341262 | 2016-09-23T23:46:12 | 2016-09-23T23:46:12 | 69,068,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | Insertion sort shifts.cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
int number;
cin >> number;
int array[number];
for(int i =0;i<number;i++)
{
... |
cb19e4f85f720f015c6f2d643940608b80eafb92 | b9f7c7a87292c1a9c231ce89933ae9d4bc51f487 | /src/sst/elements/cassini/strideprefetch.cc | 123a355414241420a42497f5ade6a84b4427f013 | [
"BSD-3-Clause"
] | permissive | sstsimulator/sst-elements | 3a8db475a7a6cbd4c2a5d737c32718752da9797a | 68cdb3ac843750705805653b3fdcd4b015e84089 | refs/heads/master | 2023-08-17T03:30:24.145168 | 2023-08-16T13:58:07 | 2023-08-16T13:58:07 | 43,475,440 | 85 | 145 | NOASSERTION | 2023-09-12T13:59:11 | 2015-10-01T02:57:18 | C++ | UTF-8 | C++ | false | false | 9,508 | cc | strideprefetch.cc | // Copyright 2009-2023 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2023, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directory... |
67b308e31fad35d3a4a7625ec5999aeb929c50d0 | 1e59d40a86cf6d7f6b92f5e002dc21387656aec0 | /JfF/工大机试-答案/第三章/BT.cpp | b382747f3123683a226007598d847f4980661500 | [] | no_license | Soplia/Codes | 7bb0aecfec57d8bacb33bd1765038d0cffc19e54 | 3704f55b060877f61647b7a0fcf3d2eefe7fa47e | refs/heads/master | 2020-04-20T14:06:36.386774 | 2019-02-02T23:37:21 | 2019-02-02T23:37:21 | 168,888,217 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | BT.cpp | /*
Subject:BT
ID:3.4
Complier:Devcpp
Author:JiaruiXie
StartTime:05/02/17 15:52
Result:Accepted
EndTime:05/02/17 16:17
*/
#include <stdio.h>
#include <string.h>
#define N 50
typedef struct node
{
struct node *lchild,*rchild;
char d;
}node;
node Tree[N];
char a[N],b[N];
int loc;
node *create()... |
b0ae3563929e43a6df25daa9085e9c6c243f6790 | dcf04edb5c67acf276e3bdac8c40aa2b9502d993 | /LuaCfgMgr.cpp | f15f884d1fa08ad74d09bd53ff1ed90026ab2b91 | [] | no_license | boliuyan/stocks | 9bc6e9a862e51bdef816f2a3ff6f5578704813d7 | a4183b0f089538a1cb5fed06aa6f34f7514ab79c | refs/heads/master | 2020-08-03T02:49:59.364813 | 2019-09-29T04:40:55 | 2019-09-29T04:40:55 | 211,602,848 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,808 | cpp | LuaCfgMgr.cpp | #include "stdafx.h"
#include "LuaCfgMgr.h"
extern "C" {
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
}
#ifdef _DEBUG
#pragma comment(lib,"..\\Debug\\luabind.lib")
#else
#pragma comment(lib,"..\\release\\luabind.lib")
#endif
CLuaCfgMgr::CLuaCfgMgr()
{
}
CLuaCfgMgr::~CLuaCfgMgr()
... |
95fb5f0caedee1489a195c791bad87e0bd5ab538 | e934b8587ecfab8ed0bdba34533c8c115977803d | /test/tool/JudgeTool.re | aaf8331e365397a43648f6d9c5412a6d9bceca6e | [
"MIT"
] | permissive | III-three/Wonder.js | 2d9d37e9db31e95a0b82c822597bfad21e354379 | 460d39cbfa1da7633300cc18c4a05787c0279c7d | refs/heads/master | 2022-05-30T21:55:38.505054 | 2020-04-29T13:57:33 | 2020-04-29T13:57:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | re | JudgeTool.re | let isUndefined = value => value |> Obj.magic === Js.Undefined.empty;
let isNotEqual = (value1, value2) => value1 != value2;
let isEqual = (value1, value2) => value1 == value2;
let isGreaterThan = (value, target) => value > target;
let isGreaterOrEqualThan = (value, target) => value >= target; |
471bfd618e670d3f9665dadbdd019b26de361b84 | b7bbc7af21c3d35c7a69db6dcc5941f89eed0dad | /tp3/imn430-tp3/imn430-tp3/ConvexHull.cpp | a867e489d6d6071706d46e371317858af76bb618 | [] | no_license | ExayDX/IMN430 | e44ace8a113388115a6291928d211068246da55e | 11c571413e821d441f6dfe770660a7bcc1ec3d68 | refs/heads/master | 2020-05-20T17:55:09.856140 | 2014-07-29T04:21:17 | 2014-07-29T04:21:17 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 5,762 | cpp | ConvexHull.cpp | #include "ConvexHull.h"
#include "Region.h"
#include <algorithm>
#include <iostream>
using std::cout;
using std::endl;
using std::cin;
#include <map>
using std::map;
#include <fstream>
#include <string>
#include <sstream>
#include <cctype>
ConvexHull::ConvexHull()
{
}
ConvexHull::ConvexHull(const char* filename... |
93869010a3c04480bc2274b130e423fdd6edf752 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch.alternative.numerics/eulerVortex.cyclic.twitch.moving/1.3/rho | 4a0e5a6fc9cd526a45c1174e5cd53e852730f2ea | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166,182 | rho | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
12e41ffbe213b342372021fbca95c5969429b965 | 0e3b5742e4455f70de07af07e10bdae2f796866d | /src/InputBitStream.hpp | e4d2230c37cba15fb21beb8c7b548d0532b86771 | [
"Apache-2.0"
] | permissive | WhatTheBlock/kanzi-w64 | 2ec78c2d59cf6696bb76f56b503144b5ef77baeb | 91a39dd7bd557eb61583164210b0abf5400ca2e5 | refs/heads/master | 2021-10-08T10:30:58.833601 | 2021-09-28T10:58:55 | 2021-09-28T10:58:55 | 195,576,014 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | hpp | InputBitStream.hpp | /*
Copyright 2011-2017 Frederic Langlet
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
you may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... |
e520ea1523d79aca25d90fc1acec20c95c4b8d6b | aaa1346a54efe75cc6a4f6749c79ed9b316056e3 | /src-std-mesh/Concrete/SundanceBasicSimplicialMesh.hpp | 39b6ffc199ef4a1bc0abf29c21ec34e3b37d93f7 | [
"BSD-2-Clause"
] | permissive | trilinos/Sundance | e34c87159d8196d95f049d3cc8aa00ae7003c301 | f4c26e7babb5b9ba6cdadec499d9123273e390b0 | refs/heads/master | 2020-04-06T15:00:47.864668 | 2019-05-28T19:03:02 | 2019-05-28T19:03:02 | 47,220,438 | 3 | 2 | NOASSERTION | 2019-05-28T19:03:03 | 2015-12-01T22:07:02 | C++ | UTF-8 | C++ | false | false | 18,411 | hpp | SundanceBasicSimplicialMesh.hpp | /* @HEADER@ */
// ************************************************************************
//
// Sundance
// Copyright 2011 Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this ... |
05e46c315fd094cfa49c1703a823dc72fbe9994b | c2ace91ca4cb217af6d08ed1e70347c4dc01d7ab | /main.cpp | 71fa5961410daa4821978fce26d5116d5c317bc7 | [] | no_license | ericyxxx/LeetCode | 2df8673f825e4e03a62d9ba0a26867c36087cdb6 | ae1dd186dd1a4495b22026aa44f1e01fd7bffce9 | refs/heads/master | 2021-07-23T01:31:11.523179 | 2017-10-31T13:53:36 | 2017-10-31T13:53:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | main.cpp | #include <iostream>
using namespace std;
class HouseRobber {
public:
int rob(vector<int> &num){
if(num.size()<=1)
return num.empty()?0:num[0];
}
int main() {
int p;
cin >> p;
std::cout << "Hello, World!" << std::endl;
return 0;
}
}; |
6bc0ead80d776fd643851c7614ab8da3906a93cc | c2cc9709e7cc05a05eae6feea2ceafe14c6de977 | /test/AlignedStorage.cpp | 11667f8214a8916cc392144f05deb1883c3dc519 | [
"MIT"
] | permissive | thecppzoo/zoo | 1b886fa876574393b1d990b0b69d494738509967 | 982b93ef3ed33a280ac92d2328898e50b52784d1 | refs/heads/master | 2023-03-07T02:44:44.811420 | 2023-03-03T02:22:01 | 2023-03-03T02:22:01 | 100,647,573 | 59 | 6 | MIT | 2023-03-03T02:22:02 | 2017-08-17T21:43:17 | C++ | UTF-8 | C++ | false | false | 6,841 | cpp | AlignedStorage.cpp | //
// AlignedStorage.cpp
//
// Created by Eduardo Madrid on 7/2/19.
//
#include "zoo/AlignedStorage.h"
#include "catch2/catch.hpp"
#include <type_traits>
using namespace zoo;
static_assert(VPSize == sizeof(AlignedStorage<>::space_), "incorrect size");
#ifdef __GNUC__
#ifdef __clang__
#pragma GCC diagnostic ignor... |
1ff543004e48ca600c583d60218f9bbad455eb50 | 9549e9668a08d7dca7b81541afb8592081178776 | /src/drawing/position.hpp | af6af4d28408fa25b558e34cbd673131dac48008 | [
"MIT"
] | permissive | arnoGalvez/opengl | d08bf8aa42afc81b30e820c5ce3da7dc937b96ed | c769964a8bfbd4a060d276937a12275122c4faff | refs/heads/master | 2021-04-18T20:27:55.967273 | 2018-12-01T19:16:50 | 2018-12-01T19:16:50 | 126,181,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,479 | hpp | position.hpp | #include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <iostream>
using namespace glm;
class Position
{
public: // ANCHOR public
Position(const unsigned int nX, const unsigned int nY, const unsigned int nZ, const float lX, const float lY, const float lZ)
{
pointsX = nX;
point... |
bc627c18740ea0ca11ed197c515cc2e84dc188c6 | c980751e8df5352ba2e40d8f908fd7b4050e611e | /tempp.cpp | b409e050c5c2360090afffe8513c55427ff20e67 | [] | no_license | Pruthviraj98/uta-2019-winsem | 3a5ba0c91dd2671770116689bc69314ca0eef0f1 | 95ec16e639479a4a53bd11c54f7f387259513026 | refs/heads/master | 2020-04-22T17:53:26.148928 | 2019-04-06T05:23:00 | 2019-04-06T05:23:00 | 170,557,747 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | tempp.cpp | #include "bits/stdc++.h"
using namespace std;
#define pb push_back
#define mp make_pair
#define priority_queue pq
#define fr(i,n) for(int i=0;i<n;i++)
#define frr(i,n) for(int i=1;i<=n;i++)
#define dbg(x) cout << #x << " = " << x << endl
#define f first
#define s second
#define fastio ios_base::sync_wit... |
d5d5035ed7a528e73313d8174684d921ad5e1be9 | 2f97140d1b50c13ad7ac85970e6c41c30200c1b2 | /redux/Scene.cpp | 10e071dc71a3e1839fac161798609f76759867bf | [] | no_license | mrdooz/codename_ch | 1b46d4b981551cbfd9eb7c63779d2820d403f52b | 4f6aa35ebc97ee4ebfabe740cda004d470edbd96 | refs/heads/master | 2016-09-06T10:35:57.357010 | 2010-02-23T20:21:41 | 2010-02-23T20:21:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 606 | cpp | Scene.cpp | #include "stdafx.h"
#include "Scene.hpp"
#include "Mesh.hpp"
Scene::~Scene()
{
reset();
}
MeshSPtr Scene::find_mesh_by_name(const std::string& mesh_name)
{
for (size_t i = 0; i < meshes_.size(); ++i) {
if (meshes_[i]->name() == mesh_name) {
return meshes_[i];
}
}
return MeshSPtr();
}
void Scen... |
39a2f7bb806237b215d41f70ca2d0ec0e446b3c8 | 83c67bb96d4856258b360f16505c72de149ae34e | /fib-pro1/jutge/firstloops/src/MultiplicationTable.cc | fa9f41e30d030db993547d9e10cb4d34f6508364 | [] | no_license | twinone/upc | bfe89448386641cb61347436eafe056e9daec5a8 | 5f4078b3c251d243c46ff6aa150db39ca6ded126 | refs/heads/master | 2020-03-08T11:37:20.892542 | 2018-04-04T19:58:42 | 2018-04-04T19:58:42 | 128,103,423 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cc | MultiplicationTable.cc | #include <iostream>
/**
Statement:
Write a program that reads a number n and prints the “multiplication table” of n.
Input
Input consists of a natural number n between 1 and 9.
Output
Print the “multiplication table” of n.
*/
using namespace std;
int main() {
int x;
cin >> x;
// Fix #1: Added spacing around ... |
f07f6af4534f1430af713a260b81bf79e3c50653 | 37c5174fc808623d44248c3b560fc66fbea7338c | /examples/example4_systematics_DY/data/mg_processes/DY_sys/Source/leshouche.inc | c6281a7758ead19238e354b28c0c8a3602443a1d | [
"MIT"
] | permissive | dlvp/madminer | 0d1cd50adc2fe97315126d4c3158304bc9e7d05b | 4ae7d9b73452848a6c9d1b81b50ef316ff7a054f | refs/heads/master | 2020-04-20T12:54:10.016117 | 2019-02-12T00:28:04 | 2019-02-12T00:28:04 | 168,854,543 | 0 | 0 | MIT | 2019-02-02T16:58:02 | 2019-02-02T16:58:02 | null | UTF-8 | C++ | false | false | 38 | inc | leshouche.inc | ../SubProcesses/P1_qq_ll/leshouche.inc |
378a146407714263b4007b0d57ba22524dc9cc3c | 91cbcaddd3eb20780c5a1edeeb6c1adf0ca1a11d | /item.cpp | 8ca554cb4f648b1a3aee68138dee5f03a6aadadd | [] | no_license | 5chu17sRyan/SCMP318-XMLgame | eafa29339c0bef2e3fd0cc0d5e9b8ad03d5b6547 | 2713c8bb17b89e0da76080d6af343c0f9540902a | refs/heads/master | 2020-08-21T18:02:16.373978 | 2019-11-01T19:45:56 | 2019-11-01T19:45:56 | 216,214,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | item.cpp | //File Name: item.cpp
//Author: Ryan Schultz
//Email Address: schultz4@kenyon.edu
//Assignment Number: 2
//Description: Class to represent an item.
//Last Changed: October 31, 2019
#include <iostream>
#include "item.h"
//default constructor: name+description are empty isOn=f
Item::Item()
{
name = "";
description ... |
43df9133ca2ed0694d983e2686e46524a6ec6bb1 | 6ff470759fc6b0784c15b220346d67a05a548dff | /Player/PlayerStrategies/AggressiveBot.cpp | b36b71a4ad196fb00e499ebe0a509b1b969598eb | [] | no_license | Philippe229/risk | d03be19fcd2cce6a4da2087b3776fcdd29cdfbeb | 30d43540092bc6d09ea22e7ecf3bb2a274a97b85 | refs/heads/master | 2021-08-19T09:56:19.156027 | 2017-11-24T02:15:27 | 2017-11-24T02:15:27 | 103,558,880 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,524 | cpp | AggressiveBot.cpp | #include "AggressiveBot.h"
AggressiveBot::AggressiveBot() : Player() {
}
AggressiveBot::~AggressiveBot() {
}
AggressiveBot::AggressiveBot(string n) : Player(n) {
}
void AggressiveBot::reinforce(Map* currMap, Deck* currDeck) {
Reinforcement::staticBonusArmies = Reinforcement::getTotalBonusArmies(this, currMap... |
45bab9a39416b013fda779e3fd35bfe8a59eee67 | 8a7d1a828da87fe58abb3df5f8de5cad7cf81c4a | /RadianceGrabber/DeviceConfig.h | c58d865c1bf328cb33641a88b368b2e7d100f297 | [] | no_license | SEETHELIGHTS/RadianceGrabber | 25a1b9583d5ef61bb9db27cc48ea1b8f0bdc8337 | d511408ef5ef0ca8ad23d1f6bd511c67914c020b | refs/heads/master | 2021-07-08T23:56:24.735299 | 2020-12-13T07:06:10 | 2020-12-13T08:03:05 | 219,286,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | DeviceConfig.h | #pragma warning( disable : 4819 )
#include <cuda_runtime.h>
#include "Define.h"
#pragma once
namespace RadGrabber
{
void InitializePlugin();
void ClearPlugin();
int __declspec(dllexport) __stdcall GetDeviceCount();
int __declspec(dllexport) __stdcall GetMaxThreadPerBlock(int device);
int __declspec(dllexport) ... |
5c6dc7f8a8c0182269e72f088dcad6afbd753a9f | 0cdbc002d2abd3a36b5b0a5a885595b0a3fc19e7 | /algorithm/algorithm/2960.cpp | 7b5b27d6d4736ddc847de762f91e85d0371d967b | [] | no_license | joowook/algorithm | a171e6706bc44dc50c3154c0dc757750f1ff7b17 | 2f18ec5ff37cd3db7339fe8d73895f32407e7529 | refs/heads/master | 2021-06-03T13:19:09.881328 | 2020-01-29T14:29:15 | 2020-01-29T14:29:15 | 108,651,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | cpp | 2960.cpp | //#include <iostream>
//using namespace std;
//#define MAX 1000
//int flag[MAX + 1];
//int main(void) {
// int n, k;
//
// int count = 0;
//
// scanf("%d %d", &n, &k);
//
// for (int i = 2; i <= n; i++) {
// for (int j = i; j <= n; j += i) {
// if (flag[j] == 0) {
// ... |
a721cd31cbeeadb6a790c2342d804ca3be4e2e4d | ad89390389566993ea4f4805622c98e4fd5d1f96 | /symbol.h | bcea59d5944ae9bf46effac63e87193040ffd6c8 | [] | no_license | Wiktor-W/QTCalculator | 28b5d1a113373c8109811e770aeee9b7c4630eb2 | cff32579c78e97632011243ce60f8cc11ad69f78 | refs/heads/master | 2023-06-07T14:12:58.261122 | 2021-06-28T13:50:59 | 2021-06-28T13:50:59 | 379,375,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | symbol.h | #ifndef SYMBOL_H
#define SYMBOL_H
#include <string>
class Symbol
{
private:
float value;
char symbol;
int priority;
bool isNum;
bool isChar;
public:
Symbol(char newChar);
Symbol(float newValue);
Symbol();
char getChar() const { return symbol; };
float getValue() const { return v... |
4edc2048af7a43edb54aac459f0df69a51ca5d06 | cefa148ff401fc6da01a4ea5fdfb962e789ed87b | /12_text/include/TTextNode.h | 818ec21be1b4dee2ab6e24d9c370142cccea06bf | [] | no_license | vla5924-practice/algorithms-data-structures | 80a602e641f898568ce20d0e2c4dc9701e081f06 | 2f275ef11f4b171633d53eae84401005b1a8b057 | refs/heads/main | 2023-05-09T06:50:59.011051 | 2021-05-31T17:35:50 | 2021-05-31T17:35:50 | 363,710,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | h | TTextNode.h | #pragma once
#include <iostream>
class TTextNode
{
protected:
static TTextNode* firstFree;
static TTextNode* textNodes;
TTextNode* next;
TTextNode* down;
char c;
int level;
public:
TTextNode(int l = 3, char _c = 0);
TTextNode(char* s, int l);
TTextNode(const TTextNode& _node);
... |
93397d0f2dd6e2fa3ce838cd8f67a8628ca3548e | d36fb072d0b6861bdcb22d4c102e370e27e7a0da | /Project/RPG/Project1/Weapon.cpp | e4e96ad6b670c8ddc9417159a1ec7890c35b8459 | [] | no_license | taeyong5th/kimtaeyong | 9af42d3f9ea7dd1b37c47787684c4eca22fed850 | 8df4f237b6b4018bd262632e08c3f96e8054fc72 | refs/heads/master | 2022-04-06T03:30:39.720920 | 2020-03-11T05:19:06 | 2020-03-11T05:19:06 | 200,011,748 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | Weapon.cpp | #include "Weapon.h"
#include "Character.h"
void Weapon::setProperty(string type, string name, int sellprice, int atkdmg)
{
m_strType = type;
m_strName = name;
m_iPrice = sellprice;
m_iAtkdmg = atkdmg;
}
string Weapon::getType()
{
return m_strType;
}
string Weapon::getName()
{
return m_strName;
}
int Weapon::g... |
8465e8fae562a6b4dd6e4b3bacbcf12444358c6a | 7dd0ed23d862c25c8b479bf203aff5478d74504e | /Bullet.cpp | 4e7b9698e3ef63f7505aed3c1e2734646827f30a | [] | no_license | wisemin01/TankGame02 | e2083b989ebc946e9a9c52dc821a2c6eff073db1 | ce7ab5024eb32b163030770148e6ae2dbda25f99 | refs/heads/master | 2020-05-15T11:20:49.380078 | 2019-04-19T07:34:52 | 2019-04-19T07:34:52 | 176,657,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,882 | cpp | Bullet.cpp | #include "DXUT.h"
#include "Bullet.h"
#include "Explode.h"
Bullet::Bullet()
{
}
Bullet::~Bullet()
{
}
void Bullet::Init()
{
AC(Transform);
AC(Renderer);
AC(Collider);
AC(Rigidbody);
AC(Life);
rigidbody->bUseGravity = false;
transform->vScale = Vector3(0.5, 0.5, 0.5);
life->Setup(1, [&]() { OnDeath(); });... |
c49d695d523e1c7a080256452484dfb78df708ea | 7d4a51a6a798f45c0a4d2f888dceb21057deefcb | /PathLoss/pathlossCopy.cc | 967678ebca66ec5734240b5d0c37f3f80887d46f | [] | no_license | alizainc/cpp | fa2441d37018d157d80aec307af5093dff2947cf | d0fc3740002f0aae7d364ba374bdcce3432f6515 | refs/heads/master | 2021-01-10T14:24:42.233333 | 2015-12-25T19:52:15 | 2015-12-25T19:52:15 | 48,206,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,068 | cc | pathlossCopy.cc | // Wireless path loss assignment
// ECE2036, Georgia Tech, Fall 2015
#include "math.h"
#include <iostream>
#include <fstream>
#include "qdisplay.h"
#include "Point.h"
#include "Line.h"
#include "PrintPixel.h"
using namespace std;
#define WALL_COUNT 56
Line walls[WALL_COUNT]; // Each wall stored here
int main(in... |
8c48b29a39923c5fb17c862c781b0f3751752923 | 57a1c2838d0116241b256ec8af05319c0bdbc217 | /src/common/GmicInputWriter.cpp | 8157282c96e4a3cb57ce062bd5bb7504a4666992 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ganego/gmic-8bf | 7468398745a983b7b7f8055991117fc98b14f759 | ee49ae507da60d648df582772163e059faa9f4f1 | refs/heads/main | 2023-03-03T00:55:06.461444 | 2021-02-11T18:08:01 | 2021-02-11T18:08:01 | 338,084,621 | 0 | 0 | MIT | 2021-02-11T16:29:17 | 2021-02-11T16:29:17 | null | UTF-8 | C++ | false | false | 21,003 | cpp | GmicInputWriter.cpp | ////////////////////////////////////////////////////////////////////////
//
// This file is part of gmic-8bf, a filter plug-in module that
// interfaces with G'MIC-Qt.
//
// Copyright (c) 2020, 2021 Nicholas Hayes
//
// This file is licensed under the MIT License.
// See LICENSE.txt for complete licensing and attributi... |
ec488e2b43f37589f90810db82b016dd42642d04 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_742_curl-7.15.0.cpp | 5233d290de595a36aa682a020e30d4cc91f2a752 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | curl_repos_function_742_curl-7.15.0.cpp | size_t Curl_gtls_version(char *buffer, size_t size)
{
return snprintf(buffer, size, " GnuTLS/%s", gnutls_check_version(NULL));
} |
0be25e3858c6e69335ec67ef5775f18fcaa9318e | 20ea524d5219e840ea5fcd01f101e70c5e7e3aea | /UVT/Fibo.cpp | dd33ed1505128ebdc275189cd0d0176e1cd1f131 | [] | no_license | AritonV10/Exercises | 70e8bbb7b7541061b4a91e7634d2211cf0938b6d | 1a299987961e90a6075f0616f4e936cf3d9cbb9f | refs/heads/master | 2022-11-25T04:21:33.291175 | 2020-07-31T12:33:48 | 2020-07-31T12:33:48 | 122,197,942 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | Fibo.cpp | #include <iostream>
void fib_swap(int& a, int& b, int& c){
c = a + b; a = b; b = c;
}
bool func(const int* n, const int* _p){
int a = 0, b = 1, c = 0;
for(int i = 0; i <= *n; i++){
fib_swap(a, b, c);
if(c == *_p)
return true;
}
return false;
}
int main(){
int x = 30,... |
787e5f796ae462ae4d26de4259df22dd8e91f063 | 3d89636208f4f71bd613ce96bf0e31faca179124 | /Source/UI/Components/Settings/DebugSettingsPanel.cpp | d89c690e0dd3501c53cddd3760c79bb3e0a01059 | [
"Unlicense"
] | permissive | vsicurella/SuperVirtualKeyboard | df2e5333cc11dc3262885a4624c4f919afef71fb | b59549281ea16b70f94b3136fe0b9a1f9fc355e2 | refs/heads/master | 2022-01-20T07:24:09.975154 | 2020-11-13T07:20:41 | 2020-11-13T07:20:41 | 179,219,567 | 38 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,321 | cpp | DebugSettingsPanel.cpp | /*
==============================================================================
DebugSettingsPanel.cpp
Created: 14 Nov 2019 11:46:31pm
Author: Vincenzo Sicurella
==============================================================================
*/
#include "DebugSettingsPanel.h"
DebugSettingsPanel::D... |
86e8aa0ce62114ac285ff07d0679b7ee46892548 | ba8590faffc378ac6ae1891091feae4ffe8817ce | /src/application/flooding/MySimpleFlooding.cc | 50fe123f1a63fec6b89e4e4c576b9dbf6c98e989 | [] | no_license | sgoutham2409/Simple_flooding | c6aea4a468ba3dc5e69aef292729ab8189b658b1 | 3d4341995991727569f56857b044da9fb83bcd6b | refs/heads/master | 2022-12-02T21:33:14.077641 | 2020-08-18T23:14:32 | 2020-08-18T23:14:32 | 190,981,454 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,840 | cc | MySimpleFlooding.cc | //
// This program 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, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... |
690f493f93395fb3d95a7e4695e692fbee728b7f | 99bbff15c1788eeddbde20b4ba34867ef204b269 | /src/xmlrcsd/configuration.cpp | eb5e5c6e249deb51bf38640d4c717d4cda371eef | [] | no_license | phuzion/XMLRCS | 2fe9ffd84a6e2f042103e61c7866f71eb62a065f | 414512851d4a73c0b2afdbec174725bbd54d8078 | refs/heads/master | 2023-03-15T22:18:39.254258 | 2019-04-13T13:41:11 | 2019-04-13T13:41:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | configuration.cpp | //This program is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//This program is distributed in the hope that it will be useful,
//but... |
37a91e4be5879603ef7f1bb2a3d68b63f82b8ded | a121e081e9ea0ee2798ec6733869bb3607b39a31 | /SolarSystemOpenGL/SolarSystemSimulation/SolarSystem/Engine/ImageSupport/CompressedImage.h | 347be492a4dc357b1c28bf247fcb0e16d27c2a14 | [] | no_license | nintymiles/SolarSystemSimulation | 4206a75233a67eda7513df911f12e1d494a90dad | d5c6bdf020cf4462a8d8f6a8b599b09b2d7ecd35 | refs/heads/master | 2021-01-07T22:10:52.681040 | 2020-03-20T09:18:57 | 2020-03-20T09:18:57 | 242,069,684 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | h | CompressedImage.h | #pragma once
#include "Image.h"
namespace namespaceimage {
struct ETC2Header {
char name[4]; // "PKM "
char version[2]; // "20" for ETC2
unsigned short format; // Format == number of mips (== zero)
unsigned short paddedWidth; // Pad... |
715bdc8d378c7730d2fdfd5c2eee9b16a4dea57b | 4b54fb2e0ce10b469aa7d76f55ecc7b94da0b189 | /SelfieSelfie/src/LandscapeGeometry.cpp | dd876b617be1d4d0373cc7348934850a11b96834 | [
"MIT"
] | permissive | androidroadies/SelfieSelfie | f6c40fe52ea3274d778b68064f47921b75ef07fb | 3f17efc0609623db3ea04fe9a8191d74af3914b6 | refs/heads/master | 2021-01-12T12:40:14.096998 | 2015-10-22T16:31:13 | 2015-10-22T16:31:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,664 | cpp | LandscapeGeometry.cpp | //
// LandscapeGeometry.cpp
//
// Created by Soso Limited on 5/28/15.
//
//
#include "LandscapeGeometry.h"
#include "cinder/Path2d.h"
#include "cinder/Json.h"
#include "cinder/Xml.h"
#include "cinder/Log.h"
#if defined(CINDER_ANDROID)
const int kTimeDivisor = 1;
#else
const int kTimeDivisor = 1;
#endif
using nam... |
4c1eb8bb98902e37d3f1841fdbdb59a1a0b47cfb | 0a3b37b3499b059d711b2e48bb144ca1bcf81ae1 | /Src/Euler/Src/Create.cpp | 1a6a8373bb60278045d39d06d3c18e6c62924ee1 | [] | no_license | asdlei99/EulerOperation | bbf33c147dff0be18c7631490a83633f4a4af395 | 69586218ab1c490cbeebc5e5b982f41e3cea9f8e | refs/heads/master | 2022-04-05T16:10:51.158271 | 2019-11-20T09:44:24 | 2019-11-20T09:44:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,507 | cpp | Create.cpp | #include <EulerOperation/Operation.h>
#include <EulerOperation/Create.h>
EULER_OPR_BEGIN
Solid *CreateFromPolygon(const Polygon2D &polygon, float height)
{
auto toTopPoint = [y = 0.5f * height](const Vec2 &p)
{
return Point{ Vec3(p.x, y, p.y) };
};
auto &outerPolygon = polygon.outerLoop;
... |
c9c079974cd96df2b5d7d0a3c58803861db56078 | db5664467043ecdf04304ad6e285251c137a803c | /codility/MinPerimeterRectangle/src/utests.cpp | 18be1ee6b365c2bfa321cb8cfe5a7cac7a7263f1 | [] | no_license | sifaserdarozen/CodeTrain | 0cea53ca59bd0583f878f81680b816681c06a5af | 1e7aba7383cfba5e3aa55eceab25edf9bfed3499 | refs/heads/master | 2023-04-07T01:30:20.505660 | 2023-04-03T18:02:06 | 2023-04-03T18:02:06 | 61,748,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | utests.cpp | /** @file utests.cpp
*
* Unit tests are performed with Catch v1.3.5
* More information about catch may be seen at their site https://github.com/philsquared/Catch
*/
// 3rd party libraries
#define CATCH_CONFIG_MAIN // provides creation of executable, should be above catch.hpp
#include "catch.hpp"
extern int so... |
c4308dc51891dceb523a4b99dc968db93e2e1fea | 665edf11b24e94bbdf0555ec6423d90e14bf1f96 | /stratego/main.cpp | 11685974a1ca9c9405041189980bda2df33dc688 | [] | no_license | Dahlbergs/elec3150-cpp-oop | f9e2566305797c77fed7bc0eb8fadedbf2ada824 | 7a935183b924b1ad3f5a6d41b15325c4d0fadb29 | refs/heads/master | 2020-04-05T22:56:14.900130 | 2016-12-12T00:54:10 | 2016-12-12T00:54:10 | 68,156,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 877 | cpp | main.cpp | #include <SFML/Graphics.hpp>
#include <iostream>
#include "game.hpp"
int main() {
Game game;
game.Run();
}
/* sf::RenderWindow window(sf::VideoMode(1000, 640), "Stratego Clone");
sf::Texture t_map;
if (!t_map.loadFromFile("assets/map.png")) {
std::cout << "Unable to load map image" << std::endl;
}
sf... |
e6c563c0ef5637db98cef576a57390ca1fea9e74 | ae162ad5217d78ec2a2aa09400266d270dd83abd | /StepperCuda/include/NewtonCudaHier.hpp | bec11ce3d16ba3fc31e0eaec1440f20fd36c5b73 | [] | no_license | desaic/fem | c7a8b52c94d90d79769c4da51dec72d999c4f466 | e7f3805df75a3ea56ca8c99ab682e10413c0202f | refs/heads/master | 2020-04-06T07:04:48.741741 | 2017-09-22T19:29:45 | 2017-09-22T19:29:45 | 21,632,619 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | hpp | NewtonCudaHier.hpp | #ifndef NEWTON_CUDA_HIER_HPP
#define NEWTON_CUDA_HIER_HPP
#include "Stepper.hpp"
#include "LinSolveCusp.hpp"
class NewtonCudaHier:public Stepper
{
public:
NewtonCudaHier();
void init(ElementMesh * _m);
int oneStep();
LinSolveCusp solver;
float dx_tol;
float h;
//number of iterations for linear solver;
... |
6be3582dc22baaa588201329e225ecc73516f8cf | bb9806fd453fe14af6fef459cbc227ef3b5db1e7 | /ClanLib 2D Dijkstra Test/Program.hpp | 7ff0e4979edd3ddae3958fcd32253b6fcf3dbd1c | [] | no_license | thecherry94/ClanLib_2D_Dijkstra_Test | 53a836e8c55346e6cf7beee9027fee9c95b4377f | f6d240a4e8aa6a81c87cabdfd94e720e0ca46f20 | refs/heads/master | 2021-01-19T15:33:42.298338 | 2014-07-08T13:19:47 | 2014-07-08T13:19:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | hpp | Program.hpp | #include "precomp.hpp"
#include <vector>
class Program
{
public:
static int main(const std::vector<std::string>&);
}; |
fb5521271eec0c8e81a335aa39e039b9af16115d | 38d013a187c4d3cfb958a35702894e9bc69f4c4f | /gw/gw_multiresolution/GW_TreeFunction_ABC.cpp | 698aad23db0b240a178f3212480488feb3c1b03b | [] | no_license | gpeyre/Orion3D | 2a91288071085fedd73b9974ebd62945741f72b0 | d96f70ce39cebdcd82355a507026acd25fa91eaf | refs/heads/master | 2020-03-14T16:22:08.336181 | 2018-05-01T09:38:22 | 2018-05-01T09:38:22 | 131,696,922 | 8 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 3,994 | cpp | GW_TreeFunction_ABC.cpp | /*------------------------------------------------------------------------------*/
/**
* \file GW_TreeFunction_ABC.cpp
* \brief Definition of class \c GW_TreeFunction_ABC
* \author Gabriel Peyré
* \date 10-30-2002
*/
/*------------------------------------------------------------------------------... |
3648666dddacb11eb5fae14cf515bc3c23bd661e | c88801bcccb01610d44fc1d1154ea0383ccefa77 | /include/barrier.h | ebb92465ce9e22fd028d40b71f8b07c3d55f9e76 | [] | no_license | walmeida/EP2_Concorrente | 1fe52363ce261cf5b1a3b759a6ec53250d4e6e61 | 0d0dacde9471ef854aa98225fc7350906773a490 | refs/heads/master | 2021-01-20T12:37:26.811650 | 2012-05-14T02:46:11 | 2012-05-14T02:46:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | barrier.h | #ifndef BARRIER_H_
#define BARRIER_H_
class Barrier {
private:
volatile unsigned long *arrive_;
int num_threads_;
int num_stages_;
public:
Barrier (int num_threads);
~Barrier ();
void sync (int thread_id);
void setFinished (int thread_id);
};
#endif
|
8404125fe563a4260dc878d1921ba70a9f8cc6b8 | 29d2f5f846d59e4c317ed6638629404e8a14c46e | /fantastic-finale-amorris6/src/Character.cpp | bbc4ab2f81c05b25ca3e394693eda960b973354b | [] | no_license | amorris6/Level-Up | ec57f9bcc274dc52b4996198a663256e58e6c57f | 51613f70f1eb5950e6ad66f66eddd3cf42a46281 | refs/heads/master | 2020-12-07T05:54:29.913439 | 2019-12-12T05:55:05 | 2019-12-12T05:55:05 | 232,649,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | cpp | Character.cpp | #include "Character.h"
ofVec2f Character::getPos() { return position_; }
int Character::getGold() { return gold_; }
int Character::getExp() { return exp_; }
int Character::getAtk() { return atk_; }
int Character::getDef() { return def_; }
int Character::getHealth() { return health_; }
float Character::getCrit() ... |
3387b669e18e8c0e960faf1e29c64753f7eec07f | 5c34da2af58f790de4d01da27f3d46d7ff5d5700 | /src/contests/552/A.cpp | 15a9ef605aef151669d5435a587d48f2d03e103a | [] | no_license | nschepsen/codeforces | ea124a4d43c07b7106f087d38b24602059e1c159 | 963b624045b67aabfa16c235f857800742a866b7 | refs/heads/master | 2021-09-08T23:17:10.099340 | 2021-09-01T16:39:30 | 2021-09-01T16:39:30 | 134,918,112 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 769 | cpp | A.cpp | #include <iostream>
#include <vector>
/*
* Contest: Code Forces Round #308 (Task 552-A)
* URL: http://codeforces.ru/contest/552/problem/A
*/
int main(int argc, char** argv)
{
std::ios_base::sync_with_stdio(0);
int n, sum = 0;
std::cin >> n;
std::vector<std::vector<int> > v(100, std::vector<int>(1... |
a68ad9cbe2322b7a8fcb08d8fdf839c0c2153262 | 3cc21e7c4a4d6ae4a1b6f6117594e52594d47edb | /src/charstring.h | 4dcb216df4050a573d1c0c58c108aa816be96fb8 | [
"MIT"
] | permissive | AllanCameron/PDFR | abbf377c26cccadf65200df112512471a7b317fb | 955c122cd0efa0ed4c0924e1ec8ec6340207d151 | refs/heads/master | 2023-05-23T20:56:44.545742 | 2023-05-05T14:43:52 | 2023-05-05T14:43:52 | 159,937,563 | 33 | 4 | NOASSERTION | 2023-04-06T01:59:14 | 2018-12-01T11:25:38 | C++ | UTF-8 | C++ | false | false | 5,309 | h | charstring.h | //---------------------------------------------------------------------------//
// //
// PDFR CharString header file //
// //
... |
12b2ca1c2f71956e719f8fce1b8936083ccfb3a9 | 02f7a71eb8274b47daf5cd3d62fd09bfc6768ee0 | /include/qc/matrix/square_matrix.hpp | 129b5783f4897bdd1a5bb287445c126acac70d93 | [] | no_license | sndtkrh/qcirs | 5985ce73f51e48172b70f4c009c7d33f3a08f898 | a07cef7fafc13f01a2605c06b46eff1910eb2807 | refs/heads/master | 2021-09-16T19:57:12.287397 | 2018-06-24T06:00:59 | 2018-06-24T06:00:59 | 122,168,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | hpp | square_matrix.hpp | #ifndef SQ_MAT
#define SQ_MAT
namespace qc {
class SquareMat : public Mat {
public:
SquareMat();
SquareMat(std::vector<std::vector<std::complex<double>>> m);
std::size_t size() const;
protected:
std::size_t N;
};
}
#endif
|
46bac7addb1d96df7f94eba61ddaba7cfd8c34a1 | 8f3cfeb1dadfaee5f3ed9a4f2508601e3f3a5881 | /machFnMap/machfnmap.h | a6cbafc4da139b6343ecd4e56942497c270f57d3 | [] | no_license | athena255/Macos | 1e8a3a967db444cfd7d5d062b4d985ffc84f7274 | 6d2ec4fef593dac3d0272aaec4849bf66ab66dfc | refs/heads/master | 2020-09-15T03:14:29.025831 | 2020-04-27T01:20:32 | 2020-04-27T01:20:32 | 223,334,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 844 | h | machfnmap.h | #pragma once
#include <mach-o/loader.h>
#include <mach-o/nlist.h>
#include <mach-o/stab.h>
#include <vector>
/**
* An interface that maps function pointers to load_commands, segments, or sections.
* When execute is called, go through the mach file and execute the commands on each
* element
*/
template <typename T... |
4a96ebfcdc4b0cc242d967bcb07f83d2f111e2af | c9a47a95e0011b0836b446001eac593325457662 | /linux/leapeventlistener.cpp | 69cec554de8a20a3319fa9a6949c07748f1f2c50 | [] | no_license | houdini22/drone_blackbox | 310a957eafdb0d5a8995ee98775dc796e5b951ed | 8b05b7dd8f5236a07778be1d4302edf4a9633a50 | refs/heads/master | 2020-04-12T10:44:23.656013 | 2019-08-31T20:30:04 | 2019-08-31T20:30:04 | 162,438,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,115 | cpp | leapeventlistener.cpp | #include "include.h"
/*
void LeapEventListener::onConnect(const Controller & controller) {
SteeringData * data = this->steeringLeapMotion->getData();
data->isConnected = true;
this->steeringLeapMotion->setData(data);
}
void LeapEventListener::onDisconnect(const Controller & controller) {
SteeringData ... |
de485cd753899bfce084fc1bf62753d7d301e01a | 5545a328ab35eaae33b77ccdeae52f01cf487a3f | /Vetores/string.cpp | cd8e34160dc05143cef14da1d34ba9611bff4d55 | [] | no_license | neiva098/exerciciosC | bbec95e0420a90ed31894efc4755123e0137e813 | ce0573d24c2e883315c8f109686470e6e9bd06af | refs/heads/master | 2022-04-19T01:21:47.699786 | 2020-04-11T01:30:40 | 2020-04-11T01:30:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,096 | cpp | string.cpp | #include <stdio.h>
int tamanho(char string[])
{
int i;
for (i = 0; string[i] != '\0'; i++)
;
return i;
}
void concatenar(char string1[], char string2[])
{
int a = tamanho(string1);
;
int i;
for (i = 0; string2[i] != '\0'; i++, a++)
{
string1[a] = string2[i];
}
string1[a] = '\0';
printf("%s\n", string1);
... |
39fd539d54b6b39a27478f6f0df99e1d1991c25f | 045ad86b79d87f501cfd8252ecd8cc3c1ac960dd | /NetworkLib/Socket/IOBase.h | f94111b6fcc13e7d18cb9104f1897caa3c07a572 | [
"MIT"
] | permissive | intact-software-systems/cpp-software-patterns | 9513e4d988342d88c100e4d85a0e58a3dbd9909e | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | refs/heads/master | 2020-04-08T08:22:25.073672 | 2018-11-26T14:19:49 | 2018-11-26T14:19:49 | 159,176,259 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | h | IOBase.h | #pragma once
#include "NetworkLib/IncludeExtLibs.h"
#include "NetworkLib/Export.h"
namespace NetworkLib {
/**
* @brief The IOWriter class
*/
class DLL_STATE IOWriter
{
public:
virtual ~IOWriter()
{}
CLASS_TRAITS(IOWriter)
virtual int Write(const char* bytes, const int& length) = 0;
virtual in... |
04fb1594bb3e5cf326b40ce87a5400c3bb0d5108 | df1468ef96a5e281a5c8cc649928ca26345e8dcc | /maxinf_v2.1.0/code/mis.h | 1131c716dce29c784a8cef9922f2a78e37ad5d4d | [] | no_license | lichao-sun/Multi-Round-Influence-Maximization | 73f8695eedd75118b7d34ae974e9f31c81d4a153 | 1c31fceabb319244c07ade188c5793cc8c5a05d0 | refs/heads/master | 2021-07-31T20:47:25.994800 | 2021-07-27T20:07:36 | 2021-07-27T20:07:36 | 169,465,897 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | h | mis.h | #ifndef MIS_H
#define MIS_H
#include <vector>
#include <string>
#include "topic_aware.h"
#include "graph.h"
#include "algo_base.h"
/// Topic-Aware:
/// Marginal Influence Sort (MIS) Algorithm
class MIS
: public AlgoBase
{
protected:
std::string file;
std::string timerfile;
void EstimateSeeds(std::vector<double>& ... |
3bd3941bf705d80a7f57ad14d16f3e5490410f9f | 458f8349f506391f68ed9b85f0da3228ed1a4415 | /DobotCheck/DobotCheckDlg.cpp | 2844acb25a19fc0e6d8c5a183daec6df2094d1ea | [] | no_license | adteng/dobotcheck | 1a8170c0f089542e5f8322b7bd54a2a38d0f832d | a208cb9c505a6064aad300e3b3f0da0a53ef2f2f | refs/heads/master | 2021-01-11T04:39:23.597106 | 2017-06-06T10:09:59 | 2017-06-06T10:09:59 | 71,120,839 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 16,669 | cpp | DobotCheckDlg.cpp |
// DobotCheckDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "DobotCheck.h"
#include "DobotCheckDlg.h"
#include "afxdialogex.h"
//#include "common/utility.h"
#include <Setupapi.h>
#include <devguid.h>
#include "ACard.h"
#include "OperDobot2.h"
#pragma comment(lib, "setupapi")
#ifdef _DEBUG
#define new DEBUG_NEW
... |
0ec1a62a6390c8f2eeed6c5069ec1ae5c170d77d | 7ff50831c7f3609079fef9a556fd52280d6fcc3e | /grades/SourceFiles/arrayaverages.cpp | 664828d7d9f73a042bc46465e3d2c3d0ab40eb11 | [] | no_license | SnowyFork/business-report | 3395125cf7eab0ad55596a8c1079f4e56095781d | a9d464122f23466240dd1c34d74095a6961e044e | refs/heads/master | 2020-03-31T02:49:35.121123 | 2015-06-11T19:03:59 | 2015-06-11T19:03:59 | 30,886,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | arrayaverages.cpp | //By Chauke A.
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;
double rank1(double grades[], double total2, int a, const int fix1);
double higher (double grades[], int c, const int fix1);
int main ()
{
const int fix1=14;
double grades[fix1] = {90, 95, 60, 81, 100, 30, 57, 90, 92, 68,... |
d25ad43564c55349582b9cfa61f33f85c1251c5b | df881d555c3631255ba6bdd86f9a407435d4ef2e | /cmlib/image/Algorithm.h | 7dc9dfbc39ff3a1a83fc843576d6ca30f0494ea9 | [
"BSL-1.0"
] | permissive | github-bing/cmlib | 19f49b96fdcc29928336d406a8b75b226831333b | b301ef4b8c1acd59a23ea379ee95b149165c3ba5 | refs/heads/master | 2020-06-18T13:39:14.345590 | 2012-06-27T06:13:20 | 2012-06-27T06:13:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | h | Algorithm.h | /*
Copyright NTU CSIE CMLAB 2005 - 2012
Distributed under the Boost Software License, Version 1.0.
(See accompanying file ../../LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef CMLIB_IMAGE_ALGORITHM
#define CMLIB_IMAGE_ALGORITHM
namespace cmlib {
namespace image{
template<typename InputIto... |
c7795229bb29d0da3d6b65f8f57144ede3e8b975 | f713035338506bb6945555fef5fc45e02fe22fff | /BERT/src/bert_layer/dnnl_ops.hpp | 5fbbcd7fb4731677a01a28ddc887786d2522000b | [
"Apache-2.0"
] | permissive | intel/light-model-transformer | 504fab68e9a9390c5d86383be15bc05a2041ca0e | 8042c79ed9af247d876455bb2184224346d2ebf5 | refs/heads/main | 2023-09-02T13:25:53.276727 | 2023-05-25T14:54:27 | 2023-05-25T15:03:23 | 142,940,716 | 69 | 18 | Apache-2.0 | 2023-05-16T08:12:09 | 2018-07-31T00:10:39 | Python | UTF-8 | C++ | false | false | 19,812 | hpp | dnnl_ops.hpp | // Copyright (C) 2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#ifndef __DNNL_OPS__
#define __DNNL_OPS__
#include "dnnl_common.h"
#include "dnnl_attr.hpp"
#include "dnnl_data.hpp"
#include <string>
namespace dnnl_wrappers {
////////////////////////////////////////////////////////////////////////... |
bc7824023aa464a406c5dc6dbdd0f7256d2679af | f00c5e9cba9f530374604d23c13ba481c87c3402 | /src/inventory/InventoryCraftResult.h | 15ab1380786752125be2d7b94809396b385a149f | [] | no_license | NeatMonster/Serveur | 1fca508979a850efa6828a286338e2554137c402 | c37250e9e6fbbb3cd0d458f620b57c713c39ce2b | refs/heads/master | 2021-01-18T14:59:00.362375 | 2015-02-18T12:32:04 | 2015-02-18T12:32:04 | 27,356,132 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | InventoryCraftResult.h | #ifndef __Serveur__InventoryCraftResult__
#define __Serveur__InventoryCraftResult__
#include "Inventory.h"
class InventoryCraftResult : public Inventory {
public:
std::shared_ptr<ItemStack> getStack(short_t);
void setStack(short_t, std::shared_ptr<ItemStack>);
std::shared_ptr<ItemStack> decrStackSize(sh... |
6868b7fd3bbd40db635dcc7da26548e2d63a29e5 | 67576488ece4f098d4abbc469a3838a75d926e67 | /NumericalAnalysis/BisectionMethod.cpp | 53d67c3c5afcd9ca0a24fddedcc8297439756ee5 | [] | no_license | minaminao/algorithms | 374ff62abdcaa718033c04e8a0b165e4e5d7c628 | 23595613c9fcd65eb2b84ba5bf9eb0c27ffafc18 | refs/heads/master | 2022-11-22T00:29:33.364688 | 2022-11-04T11:08:08 | 2022-11-04T11:08:08 | 172,819,078 | 11 | 2 | null | 2020-11-04T11:22:37 | 2019-02-27T01:23:15 | C++ | UTF-8 | C++ | false | false | 418 | cpp | BisectionMethod.cpp | #include "NumericalAnalysis.cpp"
// 二分法
// 方程式の求根アルゴリズム
// f(l) < 0 かつ 0 < f(r) の場合に限る
double bisectionMethod(double l, double r, function<double(double)> f) {
double yl = f(l), yr = f(r);
if (yl > yr)swap(l, r);
assert((yl - EPS) * (yr + EPS) <= 0);
for (int i = 0; i < 200; i++) {
double m = (l + r) / 2;
if (... |
9dfc51bc183e009821a2386150d44b883cf25059 | f77bc10199babaeacf09cae45de40563cbf6824f | /BitViewerIni.cpp | 8441ee1ea6f30fd1b890f49c7d34c84721635eb3 | [
"MIT"
] | permissive | d-wizard/BitViewer | a9503afd03feeed5bfc763ff79dad0297f4b496f | a763bb8e369a27994d07c5703380bfc5958cf3ca | refs/heads/master | 2023-07-15T11:34:36.492812 | 2023-07-05T00:15:41 | 2023-07-05T00:15:41 | 158,479,586 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,077 | cpp | BitViewerIni.cpp | /* Copyright 2012 - 2018, 2021, 2023 Dan Williams. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights ... |
858e3eb1dfce9f9ec918d8061a4013737aef27cc | 6e0d29946554e9eaa96d14cabf16e488be118a91 | /SuperFlow3000/IO/IO.hpp | a4febf63753f6907c4a7b1cd37847134955cd538 | [] | no_license | feelX46/NumSim | a16badfcf6373cf937ac9a40d76ce839256e022b | e1b55810185b49f2e34852e570a1ae9a6ba1b932 | refs/heads/master | 2016-09-08T02:40:41.353420 | 2014-01-10T15:14:57 | 2014-01-10T15:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,682 | hpp | IO.hpp | //! The class implements the IO
/*!
* @author diehlpk
* @date 2012
*/
#include "../Misc/typedef.h"
#ifndef IO_HPP_
#define IO_HPP_
#include <iostream>
#include <fstream>
#include "../Structs/simparam.h"
#include "../Grid/gridfunction.h"
class IO
{
public:
/*! Construktor
* @param input Path to the file wi... |
8f55d188414d4d360e6854f88a69755320c9269f | 5cfe145f5523fc6a8a39a47ab793f7bf1fef2a27 | /src/Points/Relaxator.cc | f7e0c3444687735a656e85c6e752cfd0fcae8fcf | [
"Apache-2.0"
] | permissive | quinor/tspart | eb458da89d5492deda1030a72c12225861678ba5 | 26807d2901bcc1aa02735320df4e4595415f5fd7 | refs/heads/master | 2023-04-16T11:46:31.269259 | 2023-04-07T20:54:50 | 2023-04-07T20:54:50 | 54,729,567 | 29 | 4 | Apache-2.0 | 2022-02-26T00:55:54 | 2016-03-25T15:57:53 | C++ | UTF-8 | C++ | false | false | 1,127 | cc | Relaxator.cc | #include "Points/Relaxator.hh"
PointsRelaxator::PointsRelaxator()
: mass_field(this)
, voronoi_cells(this)
, in(this)
, out(this)
{
name = "PointsRelaxator";
}
void PointsRelaxator::compute()
{
auto& input = in.get_data();
auto& mass = mass_field.get_data();
auto& cells = voronoi_cells.get_data();
auto& o... |
b86cfaee3af9a3786e5195bbe3b208995c9348d2 | adcd1a0efcd34150631bd4eb86f278240d9a1a9f | /serverplugin/AHTTransfer/src/AHTTransfer.cpp | 2e99ccea9a175aaf482a5f5fc8a857af377f16bc | [
"BSD-3-Clause"
] | permissive | victorzjl/BPE | a91bf8d6781ba1ea7fb118fdc809f99423f9be14 | b919e655337df53fe45515b8d5aed831ffdb2a19 | refs/heads/master | 2020-02-26T14:16:00.513976 | 2016-06-28T09:20:52 | 2016-06-28T09:20:52 | 61,704,491 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 22,783 | cpp | AHTTransfer.cpp | #include "AHTTransfer.h"
#include <stdlib.h>
#include <time.h>
#include "HTDealerServiceLog.h"
#include "PluginRegister.h"
#include <XmlConfigParser.h>
#include "HTErrorMsg.h"
#include <boost/algorithm/string.hpp>
#include <SapTLVBody.h>
#include "jsonMsg.h"
#include "CodeConverter.h"
#include "JsonAdapter.h"
#include... |
d287f91f3ad7d69314971d272c51d374afcbf221 | e82e314083b4c879f3017891b46fd9b97e119133 | /ASOstl/main.cpp | 1cb22f50c8d7b270432f435b77520afa69e22c04 | [] | no_license | isaswing/ASO | efd38dec5853344e1f3d38c7778dce325bf1a748 | fb7ec762ff629ed30ad61e595b2971cc459678ae | refs/heads/master | 2021-01-10T20:59:24.727780 | 2015-02-25T03:29:43 | 2015-02-25T03:29:43 | 31,051,746 | 2 | 2 | null | 2015-02-20T19:27:26 | 2015-02-20T05:03:21 | C++ | UTF-8 | C++ | false | false | 10,491 | cpp | main.cpp | #include "ASPSolver.h"
#include "QBFSolver.h"
char *dir = "../DataGen/data/";
int looptimes = 3;
int timeout = 500;
/*
In ASPSolver:
solveMode = 1: Using clingo
solveMode = 2: Using gringo+clasp
solveMode = 3: Using gringo+claspD
solveMode = 4: Using gringo+claspD2
In QBFSolver:
solveMode = 1: Using gringo+clasp3
solv... |
39cf82385043bfedf6115c354caf94745468b321 | 74c4925616d82da77356a055715160e26b16fcae | /arduino/auto_controlled_engine_set_oop/MotorController.cpp | 589d2085e59f0ae813c220febabe90e91713be32 | [] | no_license | marksurnin/Quadrocopter | c0b83c9a74789f73c30763c400e55a8f3b2b74c7 | 7de06808b2abb734952bd006b272aad248ef5ecc | refs/heads/master | 2021-01-21T00:00:47.693005 | 2013-04-14T12:15:32 | 2013-04-14T12:15:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | MotorController.cpp | #include "MotorController.h"
#include "Arduino.h"
#include "TimerCount.h"
#include "RVector3D.h"
double MotorController::getSpeed(RVector3D torqueVec, int motor)
{
double res = getForce();
res += torqueVec.x * coordinatesOfMotors[motor].y - torqueVec.y * coordinatesOfMotors[motor].x;
// it is necessary be... |
d325c5db69437fbf06368f9b14f2e27fdff523c1 | afe309889abcef315ff10cd36115dabb272b895a | /CG/main.cpp | 3478c4271831d348f9e608276fe989714e9023e4 | [] | no_license | GaoWeiCR7/CG_finalwork | 4410b08c05dc4c51f8a15de94f60bb55873f8ff7 | f198339a62c8920e0e56123b43336db1d1e37edb | refs/heads/master | 2022-10-06T09:13:55.181011 | 2020-06-08T05:42:21 | 2020-06-08T05:42:21 | 270,542,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | main.cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
if(argc == 3)
{
QString path = argv[1];
QString contentpath = argv[2];
QFile file(path);
w.getcontentpath(contentpath);
w.filedeal(file);
... |
8643f7ab330b7b932394f4550a5ac2db6ca6dd2f | f894de2759bc27c8de4904fa00424813b9096968 | /GameCircle6.cpp | 2b3773e22253a27bb37ea77f5c611a3fc5bc45dc | [] | no_license | satavi211/kurs | 66004f1d0b11905fce75dd880da00696309ab9c3 | 08c21c0624833efee9c3abb08790f142ab75f2d2 | refs/heads/master | 2021-02-01T12:12:54.988780 | 2020-03-04T13:50:56 | 2020-03-04T13:50:56 | 243,521,462 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,613 | cpp | GameCircle6.cpp | #include "TXLib.h"
// Игра. Большой красный шарик управляется клавишами LEFT, RIGHT, UP, DOWN.
// Большим красным шариком нужно ловить все остальные. при соприкосновении с ними, он меняет свой цвет
void DrawCircle(double x,double y, int r, COLORREF color);
void Motion();
void phisics( double *x,double ... |
51e144fda5ed39218579db61560dab40800be4fb | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/enduser/speech/sapi/sapi/mmmixerline.h | fd738a02a8d1e00b80773c3208153a88615933b8 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 3,511 | h | mmmixerline.h | /****************************************************************************
* mmaudioin.h
* Declarations for the CMMAudioIn class
*
* Owner: agarside
* Copyright (c) 2000 Microsoft Corporation All Rights Reserved.
*****************************************************************************/
#pra... |
1fdbfe0f3efd31eb8b74357c7743cfde17619e8f | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/ash/crostini/crostini_installer_unittest.cc | 8764caa5be6ad2fc40944b44f1efba5db055f46a | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 15,626 | cc | crostini_installer_unittest.cc | // Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/crostini/crostini_installer.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ptr.h"
#i... |
e16a14182ca2956fcd83d5357534cb1476bbfdec | 776f5892f1395bb8d30731a60466e4c756a44c8c | /contests/abc176/abc176_e/main_seg.cc | 34ac7ed872efe3f1e747331779e3bb9f017e346b | [] | no_license | kkishi/atcoder | fae494af4b47a9f39f05e7536e93d5c4dd21555b | f21d22095699dbf064c0d084a5ce5a09a252dc6b | refs/heads/master | 2023-08-31T18:37:13.293499 | 2023-08-27T21:33:43 | 2023-08-27T21:33:43 | 264,760,383 | 0 | 0 | null | 2023-03-10T05:24:07 | 2020-05-17T21:30:14 | C++ | UTF-8 | C++ | false | false | 550 | cc | main_seg.cc | #include <bits/stdc++.h>
#include "atcoder.h"
#include "segment_tree.h"
void Main() {
ints(H, W, m);
VV<int> hw(H);
V<int> hm(H), wm(W);
rep(i, m) {
ints(h, w);
--h, --w;
hw[h].pb(w);
hm[h]++;
wm[w]++;
}
SegmentTree<int> tree(W, [](int a, int b) { return max(a, b); });
rep(i, W) tre... |
a0795e51becbab4a165aa43d041d162571da12fd | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/external/3rd/library/vivox/include/vxplatform/vxcplatformmain.h | f492a0657728c0a759e559e930613dab5aa1f4c8 | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 3,533 | h | vxcplatformmain.h | #pragma once
#ifdef SN_TARGET_PS3
#include <sys/paths.h>
#include <sys/prx.h>
#include <cell/sysmodule.h>
#include <cell/cell_fs.h>
#include <sys/timer.h>
#include <sys/paths.h>
#include <cell/error.h>
#include <stdio.h>
#include <sys/process.h>
#include <sys/paths.h>
#include <sys/prx.h>
#include <sys/return_code.h>... |
82ca0ac141892a4dcd43310c60e9d4172e92b862 | bee36866c53546826042d9fb11f049bebb465f1d | /Kuis1/main.cpp | f687c25de6cc36de38d0d3fd43d4e69f352ec376 | [] | no_license | ravielze/OOP-sie-2021 | 42aa687a88dc5309b59b764041ed24807d080619 | 4fe734184daaa4f0f334aac4b008131e33361dea | refs/heads/master | 2023-04-12T06:26:08.725513 | 2021-04-22T03:12:26 | 2021-04-22T03:12:26 | 335,888,541 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | main.cpp | #include "DeretLampu.hpp"
#include <iostream>
using namespace std;
int main()
{
Deret_Lampu deret;
cout << "Awal:" << endl;
deret.PrintDeretLampu();
cout << endl
<< "4:" << endl;
deret.atur_nyala(4);
deret.PrintDeretLampu();
cout << endl
<< "2:" << endl;
deret.atur_n... |
35fcf5b027cdcabaca86bb9371c97e5a4988ec32 | 8c4a2ff3fa1c3d9391aaa2b7c4c0af37db429c3c | /workspace/src/utilities/src/Logger.cpp | 7a19ee9f7c16d905ba05a536f390e48fff31fc5a | [] | no_license | RcvanEendenburg/RobotKinematics | 8fd5e6a3a53166c06f5cf338a221f964a54527dc | e0399826b7b38ac8fdb219053abdb7dd3885605d | refs/heads/master | 2021-01-02T03:45:57.980318 | 2020-06-22T15:41:39 | 2020-06-22T15:41:39 | 239,475,729 | 0 | 0 | null | 2020-06-22T11:41:22 | 2020-02-10T09:41:11 | C++ | UTF-8 | C++ | false | false | 2,545 | cpp | Logger.cpp | #include <utilities/Logger.h>
#include <cstdarg>
#include <iostream>
#include <sstream>
namespace Utilities {
Logger &Logger::instance() {
static Logger logger;
return logger;
}
Logger::Logger() : printing(true), switching_output(false) {
thread = std::thread([this]() { logThread(); });
}
Logger::~Logge... |
c71aac6f30e7f199cb51b378ef755517e49571bb | bdd9f3cdabe0c768641cf61855a6f24174735410 | /src/external/3rd/library/platform/MonAPI2/MonitorData.cpp | bd417941abce50461c70eb3a2e7d9c0403c80f74 | [] | no_license | SWG-Source/client-tools | 4452209136b376ab369b979e5c4a3464be28257b | 30ec3031184243154c3ba99cedffb2603d005343 | refs/heads/master | 2023-08-31T07:44:22.692402 | 2023-08-28T04:34:07 | 2023-08-28T04:34:07 | 159,086,319 | 15 | 47 | null | 2022-04-15T16:20:34 | 2018-11-25T23:57:31 | C++ | UTF-8 | C++ | false | false | 15,721 | cpp | MonitorData.cpp | #include <string.h>
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include "zlib.h"
#include "MonitorData.h"
//**********************************************************************************************
//**********************************************************************************************
//**... |
6f53ec5676d86d4d16994f8307020f81ed9dea12 | 55a0b63b9def3be7f530db6f2be1c15b98e66e3d | /extendedUtils/ofSystemCall.h | bfd7d73dca5e012959ca1b928df849fa4b41ad85 | [] | no_license | alexaverill/of-extended | 26e0377d579f35a2b84675e4f763147e8d848a77 | d2d20b48c3fdf003c84716e3c8191d92a2a4d9d6 | refs/heads/master | 2021-05-08T13:37:47.065930 | 2012-06-21T18:50:01 | 2012-06-21T18:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | ofSystemCall.h | #ifndef _THREADED_OBJECT
#define _THREADED_OBJECT
#include "ofMain.h"
#include "ofxThread.h"
class ofSysCall : public ofxThread{
public:
bool newCommand;
string command;
int count; // threaded fucntions that share data need to use lock (mutex)
// and unlock in order to write to that da... |
87adc31e50758357d0a4471f9cf17912f3a95b0c | 0103454b52923519a02260ade79ded03d345efa9 | /driver/port.build/module.numpy.f2py.rules.cpp | c0b5b764932808a4fe309d0df3a8efa3f3f947aa | [] | no_license | podema/echo3d | 8c7722a942c187a1d9ee01fe3120439cdce7dd6b | 42af02f01d56c49f0616289b1f601bd1e8dbc643 | refs/heads/master | 2016-09-06T16:22:13.043969 | 2015-03-24T10:39:19 | 2015-03-24T10:39:19 | 32,747,234 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,399,272 | cpp | module.numpy.f2py.rules.cpp | // Generated code for Python source for module 'numpy.f2py.rules'
// created by Nuitka version 0.5.5.3
// This code is in part copyright 2014 Kay Hayen.
//
// 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 ... |
dcbc8025067b01c1bb9262e876977fcb4d292268 | 0d339e5583bcefe610634e28bd77d0e60986167d | /core/Tau.h | 3f5c8893929f2f6ad7deacf2e0c433dd6bfa340b | [] | no_license | perhansson/hps-apana | a528d3bcaf3fe2f2aed054d3e4974c16f753d22a | cfd34e84951aadb98c46fbb5e1f5f9cb486cc219 | refs/heads/master | 2020-05-30T18:23:24.318246 | 2014-02-06T01:39:36 | 2014-02-06T01:39:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,477 | h | Tau.h | /**************************************************************************
**
** File: Tau.h
**
** Description: Generic analysis tau
**
** Author: J. Sjolin
**
** Created: Mon Sep 19 16:20:04 CEST 2005
** Modified:
**
************************************************************... |
6a1411c258a64c25161a1b116a3f29e2d5ce4905 | 4eaab46d2ae7395ca8c273e80bdae779368d68c3 | /Contest 6/E_xep_hang.cpp | f0df7743f38ba16d24e40407142493313a036bb8 | [] | no_license | ngoquanghuy99/Data-structures-Algorithms-problems-and-solutions | b96f15f2245d66f8914ebb1552e7540cd610c400 | 95bb1dba201f94b23ff6a45344ada2b9f64597aa | refs/heads/master | 2022-12-25T04:49:39.605637 | 2020-10-06T15:48:45 | 2020-10-06T15:48:45 | 272,522,675 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | E_xep_hang.cpp | #include<iostream>
using namespace std;
int N, K;
int partition(int l, int r, int a[], int B[]){
int x = a[l], i = l+1, j = r;
do{
while(i<=j&&a[i]<=x) i++;
while(i<=j&&a[j]>x) j--;
if(i<j){
swap(a[i],a[j]);
swap(B[i],B[j]);
i++; j--;
}
}while(i<=j);
swap(a[l],a[j]);
swap(B[l],B[j]);
return j;
... |
24d2c8a7110af986d353f924d6e3eda65f3b6bf9 | 005ead270fdff9ad85513d0b2e345dea11e2fbb4 | /Q026_删除排序数组中的重复项.cpp | 86e02482a0bca95ff6fdf4416dbd4df8e0dc7c24 | [] | no_license | wangqinghe95/Code-Leetcode | 222d5d50e5f81b25549d61810618a50849fc3269 | 3cdcdf2047e0c41485817e04c8e23853e9332c63 | refs/heads/master | 2023-04-29T20:44:22.764343 | 2021-05-16T05:40:27 | 2021-05-16T05:40:27 | 274,806,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | cpp | Q026_删除排序数组中的重复项.cpp | /*
C
*/
int removeDuplicates(int* nums, int numsSize){
int removeNums = 0;
for(int i = 1; i < numsSize; i++)
{
if(nums[i] == nums[i-1])
{
removeNums++;
}
else
{
nums[i-removeNums] = nums[i];
}
}
return numsSize-removeNums;
}
/... |
1b1408082a7a5a8859c52dfb6f80ecd0b435eef4 | b930461f8fdb65c6f6ea1a0c8fbe1032e23c4d60 | /D3D Game Demo/main.cpp | 264d53633b069c41e3d6d3fd9ca5b6fc658a35a2 | [] | no_license | AkasLiu/D3D-Game-Demo | 6029fbcb4b5a80d898a23b1e07888dfa46f00cfa | 3acb933bb2056440827ef546ed1209b04c8c4fc4 | refs/heads/master | 2020-03-23T09:47:14.086464 | 2018-07-28T00:25:17 | 2018-07-28T00:25:17 | 141,407,517 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 23,873 | cpp | main.cpp | #include "d3dUtility.h"
#include "gameObject.h"
#include "vertex.h"
#include "plane.h"
#include "DirectInputClass.h"
#include "camera.h"
#include "cube.h"
#include "font.h"
#include "skyBox.h"
#include "character.h"
#include "terrain.h"
#include "pSystem.h"
#include <ctime>
//-----------------------------------【宏定义部分】... |
462368019f94e078f4722fd6965c068dbd49dc3f | e3546637f968fb38e382ca06573d3c84c6af9e32 | /3.Basic_Sorting_algorithms/0.Selection_sort/main.cpp | e32363414d12585c424bb01f46b049814ee27de6 | [] | no_license | abhilashkakumanu1/DSA-CPP | 02526786d35569c040b7530f087b21a2221acf3b | a0362ee0ab33b6f46653913aca0022325853131f | refs/heads/main | 2023-05-13T16:30:24.297811 | 2021-05-31T06:28:33 | 2021-05-31T06:28:33 | 370,658,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | main.cpp | /* Two sub arrays - sorted and unsorted. First find the minimum element in unsorted subarray and then push it into sorted subarray */
#include <iostream>
using namespace std;
void selectionSort(int arr[], int size)
{
int minIndex;
// traverse the entire array
for (int i = 0; i < size - 1; i++)
{
... |
0a23f9ed1eecc91af8335070af199b249c9938ce | 6b96a11195094a0023a059ba7d5df95ce58c56f1 | /466C.cpp | 5b3b13064134c7b796691a54c01993f96da8abbb | [] | no_license | ldfdev/CodeForces-Div2-Problems | d932b09ee14a430fd0054d5b295f6016553be2b7 | d18824a4330a4593099d249496ae22f3f69d5f44 | refs/heads/master | 2021-08-11T03:29:18.772870 | 2021-07-25T07:21:09 | 2021-07-29T20:09:43 | 72,371,376 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,166 | cpp | 466C.cpp | #include <iostream>
#include <vector>
#define vi vector<long long int>
#define tr(container,it) \
for(decltype(container.begin()) it=container.begin();it!=container.end();++it)
using namespace std;
long long int summy(const vi &v){
long long int ss=0;
tr(v,it) ss+=*it;
return ss;}
int main(){
long long int... |
3f740a24c41dbffbd35997b789d50daaef250239 | 16963110722dd745c52354c0af01a9d6e4d748d6 | /Algoritmos y Estructura de datos/ejerciciosN2/ejercicio9.cpp | 85ef2bd33cae76d04f8e5dcf5c73162541d99857 | [] | no_license | Yuniorcr/curso_progrmacion | 1bb9cc8dd5515925b65c2176b78367cd6d13235b | 1f22eb0d458a451eb450ae6b6ce2a24b87d5b699 | refs/heads/master | 2022-01-09T04:49:12.125227 | 2019-05-08T22:26:26 | 2019-05-08T22:26:26 | 185,687,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 468 | cpp | ejercicio9.cpp | #include <iostream>
int main(int argc, char const *argv[]) {
int suma1=0,suma2=0;
int matriz[3][3]={{-2,56,50},{44,-12,-42},{70,57,-86}};
for (size_t i = 0; i <3; i++) {
for (size_t j = 0; j <3; j++) {
if (matriz[i][j]<0) {
suma1=suma1+matriz[i][j];
}else{
suma2=suma2+matr... |
66ce82a5b349948bc54f9ee1b158a65677f10535 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/MovieSceneTracks/MovieSceneMaterialTrack.gen.cpp | 976c065f4488a00dfb2e8e00b678111bdd645a1a | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 10,801 | cpp | MovieSceneMaterialTrack.gen.cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... |
81e8ab4a875f102acb9dcd41101979b67d83212b | ee03828b086648064e6ec1f50c3233045b3ea422 | /Win32Project3/SceneMode.h | c466088f6d0c33972d9dd19ba49c5821f1253351 | [] | no_license | MandaiRyuta/StrayForest | d2779881e586b57174e3ff3b618fc9f47d768a40 | b63a71b5d1a882e72e6afaeb05d96e8eeb731d1a | refs/heads/master | 2020-04-19T09:36:39.370475 | 2019-01-29T08:23:54 | 2019-01-29T08:23:54 | 168,116,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | h | SceneMode.h | #pragma once
constexpr int MeshFiled_X = 100;
constexpr int MeshFiled_Z = 100;
constexpr float MeshFiled_XSize = 20.0f;
constexpr float MeshFiled_ZSize = 20.0f;
class CMode
{
public:
virtual void Init() = 0;
virtual void Uninit() = 0;
virtual void Update() = 0;
virtual void Draw() = 0;
};
|
077a38b71850e8805cd3ecaa15301894fe040d77 | 2d01228d25ff09011608e1ae4132dd494f4b6b3c | /src/ANN_class.cpp | 298c1d7c104659284efdfbceac93683673c7df8f | [
"Apache-2.0"
] | permissive | ArashMassoudieh/ANNplusplus | 76b5b7f6326ba336595a6929826514ad64947f84 | ca9cc10f013165462ea4767f0590baa3ec60d689 | refs/heads/master | 2020-08-06T06:50:33.705095 | 2020-06-29T03:14:10 | 2020-06-29T03:14:10 | 212,877,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,933 | cpp | ANN_class.cpp | #include "ANN_class.h"
#include "ML.h"
#include "utils.h"
#include <vector>
using namespace std;
ANN_class::ANN_class()
{
}
ANN_class::~ANN_class()
{
}
CNode* ANN_class::node(string id)
{
for (unsigned int i = 0; i < Nodes.size(); i++)
if (Nodes[i].GetID() == id)
return &Nodes[i];
return nullptr;
}
... |
a4f5bfb7968f4e31c9aa0de1811003332d6d591b | 0577a46d8d28e1fd8636893bbdd2b18270bb8eb8 | /chromium/ash/system/nearby_share/nearby_share_feature_pod_controller_unittest.cc | 7466e065687c877c3968523ad40ea4baef78a7df | [
"BSD-3-Clause"
] | permissive | ric2b/Vivaldi-browser | 388a328b4cb838a4c3822357a5529642f86316a5 | 87244f4ee50062e59667bf8b9ca4d5291b6818d7 | refs/heads/master | 2022-12-21T04:44:13.804535 | 2022-12-17T16:30:35 | 2022-12-17T16:30:35 | 86,637,416 | 166 | 41 | BSD-3-Clause | 2021-03-31T18:49:30 | 2017-03-29T23:09:05 | null | UTF-8 | C++ | false | false | 7,300 | cc | nearby_share_feature_pod_controller_unittest.cc | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/system/nearby_share/nearby_share_feature_pod_controller.h"
#include "ash/constants/quick_settings_catalogs.h"
#include "ash/public/cpp/test/test_nearby_share_del... |
585feff142010f0ff779f8a41a4f498df1929121 | 0432bc96da8c4f0bb45a5ebf23c4a7c1a2a06a94 | /Partmod/dllcall.cpp | 27e12ffce7977ab5f569e8e0a60f5f5d757f3701 | [
"BSD-2-Clause"
] | permissive | Null665/partmod | cb7c3c9569281cc9411680be36b930e7f034fbfc | 11f2b90c745e27bdb47b105e0bf45834c62d3527 | refs/heads/trunk | 2021-01-17T13:03:33.919681 | 2016-06-04T14:07:55 | 2016-06-04T14:07:55 | 19,037,020 | 1 | 0 | null | 2014-10-02T18:28:00 | 2014-04-22T16:31:05 | C++ | UTF-8 | C++ | false | false | 665 | cpp | dllcall.cpp | #include "dllcall.hpp"
DllCall::DllCall()
{
hInst=0;
is_open=false;
}
DllCall::~DllCall()
{
Close();
}
#if defined (_WIN32) || defined (WIN32)
bool DllCall::Open(const char *dll, bool no_errmsg)
{
hInst=LoadLibrary(dll);
if(hInst==0)
{
if(!no_errmsg)
... |
53446cf00f285456fda0861e666cdd6dfef513f3 | 5bf23ab63254806afe319bdc24af31423630d4ab | /include/camera/OV2640.cpp | a48494d3f92d96c223a2730b5caa701d230850df | [] | no_license | U5ER-N4ME/mbed_smartTraffic | 46e42e4f8062b238c0e75b2f021759844aa14d81 | 3a47146225d59a61d096db4faef3ec1316ac8453 | refs/heads/main | 2023-08-07T12:35:13.003091 | 2021-09-30T05:52:31 | 2021-09-30T05:52:31 | 386,883,822 | 0 | 0 | null | 2021-09-30T05:50:43 | 2021-07-17T08:38:33 | C++ | UTF-8 | C++ | false | false | 17,208 | cpp | OV2640.cpp | #include "OV2640.hpp"
#include "OV2640cfg.hpp"
#include "stm32l4xx_ll_gpio.h"
// namespace camera
// {
OV2640::OV2640(
PinName HW_PWR, PinName HW_RST,
PinName I2C_SDA, PinName I2C_SCL,
PinName DCMI_VSYNC, PinName DCMI_HSYNC, PinName DCMI_PCLK,
PinName DCMI_0, PinName DCMI_1, PinName DCMI_2, PinName... |
ea5d4e0d6568dacd94efb1c2e125cde7ee3068e6 | dffbd12cdd7d11ebbda74521c1b77d722ca60031 | /src/timeline_svg.cpp | d6088a18ac291414b6a82241f5607485b0ab467d | [
"MIT"
] | permissive | huangfeidian/cpu_web_monitor | 02a9e5f4fdde1dc35bf91107f0a40265034d1b68 | b68ddce385ac4ec2942fde90b053e7d7ca38219c | refs/heads/main | 2023-01-30T03:03:40.292083 | 2020-12-13T17:51:12 | 2020-12-13T17:51:12 | 320,322,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,746 | cpp | timeline_svg.cpp | #include "timeline_svg.h"
#include "fmt/format.h"
#include <ctime>
#include <chrono>
#include <sstream>
namespace
{
std::string format_timepoint(std::uint64_t seconds_since_epoch, bool with_date = true)
{
auto epoch_begin = std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds>();
auto cur_timep... |
bddaad3f32a3126febceb61e67774e2be590e2a0 | 16a04a189c2f14d6d28a78d774a8c0ad8fb3bf28 | /LibCppSim - Cooperative Caching HPCS/applicationLayer/TlcProtocol.cc | 3f82c5935340abf85c3d4f94463baf7708bf84d9 | [] | no_license | F951/Models-HPCS | 7895b9d708df04f7b2fe70c9e14c46ac32dd3d67 | 64b24311499b8ffd7e86c3698389494f0f5a8787 | refs/heads/main | 2023-03-07T16:02:02.620133 | 2021-02-24T15:38:44 | 2021-02-24T15:38:44 | 341,332,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,370 | cc | TlcProtocol.cc | #include "TlcProtocol.h"
#include <iomanip> // std::setprecision
void TlcProtocol::inner_body(void)
{
while (1)
{
if(queue_in.empty())
passivate();
// recovers messages from the lower layer
//cout<<"TLCProtocol "<<endl; fflush(stdout);
if((*observer)->getIt... |
4d09784896ddc303eb4918dc22425a054db4445d | 29b0951ea3d62ab2a0f79fcdc553a9f07cbbf1f9 | /include/ORBExtractor.h | 56fa2daf8a521b2df6b66ed8183d4975c52603b1 | [
"MIT"
] | permissive | BytesRobotics/bytes-orb-slam | ad700d3f59755a14a7ff38ea301379d9ce09b552 | 640df6266cda337f1b1831d56808122dee3bc6cf | refs/heads/master | 2021-05-21T09:18:32.081736 | 2020-04-18T05:22:23 | 2020-04-18T05:22:23 | 252,633,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,548 | h | ORBExtractor.h | //
// Created by michael on 4/5/20.
// Property of Bytes Robotics, LLC
//
#ifndef BR_SLAM_ORBEXTRACTOR_H
#define BR_SLAM_ORBEXTRACTOR_H
// Standard C++
#include <chrono>
#include <thread>
#include <iostream>
// ROS2
#include <rclcpp/rclcpp.hpp>
#include <rclcpp_components/register_node_macro.hpp>
#include <sensor_ms... |
cb4d4c98baf055cc06cdd337a61ba062073d18b7 | 96976a2c205d679261aa6ff6cd0db286c43ee350 | /src/core/analysis/mcmc/output/Trace.h | 3130038d50133827c17dbddf6cb145628332906e | [] | no_license | sundsx/RevBayes | f99305df6b72bd70039b046d5131c76557e53366 | 13e59c59512377783673d3b98c196e8eda6fedee | refs/heads/master | 2020-04-06T06:29:46.557485 | 2014-07-26T14:26:57 | 2014-07-26T14:26:57 | 36,248,250 | 0 | 1 | null | 2015-05-25T18:44:13 | 2015-05-25T18:44:13 | null | UTF-8 | C++ | false | false | 7,418 | h | Trace.h | //
// Trace.h
// RevBayesGui
//
// This class implements a single trace for a single parameter. It contains a mutable array of values
// and additional meta information about the trace.
//
// Created by Sebastian Hoehna on 3/24/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#ifndef Trace_H
#defi... |
5caf437b930f3713b92a045f2093df1b12b3eac2 | 1fb357bb753988011e0f20c4ca8ec6227516b84b | /LHPC/source/LHEF/AutomaticEventFilter.cpp | e466e8daa1c268c392550a81d34c20bf0c6451e8 | [
"DOC"
] | permissive | silvest/HEPfit | 4240dcb05938596558394e97131872269cfa470e | cbda386f893ed9d8d2d3e6b35c0e81ec056b65d2 | refs/heads/master | 2023-08-05T08:22:20.891324 | 2023-05-19T09:12:45 | 2023-05-19T09:12:45 | 5,481,938 | 18 | 11 | null | 2022-05-15T19:53:40 | 2012-08-20T14:03:58 | C++ | UTF-8 | C++ | false | false | 818 | cpp | AutomaticEventFilter.cpp | /*
* AutomaticEventFilter.cpp
*
* Created on: Jan 26, 2012
* Author: Ben O'Leary (benjamin.oleary@gmail.com)
* Copyright 2012 Ben O'Leary
*
* This file is part of LesHouchesParserClasses, released under the
* GNU General Public License. Please see the accompanying
* README.LHPC_CPP.tx... |
fc185e003f37660bfd3533ceb147692d11981a25 | e8a873c7c52d6f82682324945dc74d4828b1a1db | /Hmwk/Assignment_2/Savitch_9thEd_Chap2_Projs_Prob15_Material_Temp/main.cpp | b249cc5ff965001bce1bbe4d8ad9d561573da15f | [] | no_license | KyungJinShin/ShinKyungJin_CSC_CIS_5-Winter_2018 | 5745b32e00b82e852ea514cc00d4a6e07f438495 | 9162dc3eda3737366756092153cbd8dedbc3a635 | refs/heads/master | 2021-05-12T04:06:28.671726 | 2018-02-10T16:07:29 | 2018-02-10T16:07:29 | 117,151,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,481 | cpp | main.cpp | /*
* File: main.cpp
* Author: KyungJin Shin
* Created on January 10, 2018, 5:13 PM
* Purpose: Calculate temperature
*/
//system Libraries
#include <iostream>
using namespace std;
//User Libraries
//Global Constants - Math/Physics Constants, Conversions,
// 2-D Array Dimensions
//Function P... |
872239996bc9d11ab9b8d8d3877693743d34a582 | ab1fce3ffe1716aecc95b206b2052c612820415f | /lab2/miniDict/miniDict/Dictionary.cpp | d280dd59dac6a7052cbbfd58aefa856ab5cca6fa | [] | no_license | intmpg/OOP | f03ca825db97d27f902a9aca1b9eab57f6480f07 | 7efc33a2048d851f8cc42f3c54a7d3cfabe5686f | refs/heads/master | 2021-01-10T10:21:58.081999 | 2016-11-10T14:25:36 | 2016-11-10T14:25:36 | 52,512,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | Dictionary.cpp | #include "stdafx.h"
#include "Dictionary.h"
CDictionary::CDictionary()
{
m_dictionaryFile = DIC_FILE;
LoadDictionary();
}
void CDictionary::AddNewWord(std::string const& englishWord, std::string const& russianWord)
{
m_dictionaryList.insert({ englishWord, russianWord });
m_newCollocations.push_back(englishWord +... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.