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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
742f14ae25436a105afd5d4ac9dc89ab769b0cca | 7e6afb4986a53c420d40a2039240f8c5ed3f9549 | /libs/graphs/include/mrpt/graphs/CVisualizer.h | 27984578b29f73c0a2a724d5f31aff9f2a1a2b5f | [
"BSD-3-Clause"
] | permissive | MRPT/mrpt | 9ea3c39a76de78eacaca61a10e7e96646647a6da | 34077ec74a90b593b587f2057d3280ea520a3609 | refs/heads/develop | 2023-08-17T23:37:29.722496 | 2023-08-17T15:39:54 | 2023-08-17T15:39:54 | 13,708,826 | 1,695 | 646 | BSD-3-Clause | 2023-09-12T22:02:53 | 2013-10-19T21:09:23 | C++ | UTF-8 | C++ | false | false | 3,130 | h | CVisualizer.h | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... |
7a1ab07258d882215fef25067cd9b4f7e6466672 | 78d2562d7490f19a11223dadd3e5c07e4ebc4cdd | /include/group6_rwa5/priority_order.h | 989c7d204393d0ef03f463e5002a303c760e022c | [] | no_license | iskalasrinivas/group6_rwa5 | 42725fd1d5b08a46703179c64d3e98d6bcfca623 | 22b5bfb0069ac3772e978fc955e1d6e22ef887fd | refs/heads/master | 2021-06-13T22:41:53.995116 | 2020-04-23T22:12:10 | 2020-04-23T22:12:10 | 254,457,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,273 | h | priority_order.h | /**
* @file include/competition.h
* @brief Header file for competition
* @author Saurav Kumar
* @author Raja Srinivas
* @author Sanket Acharya
* @author Dinesh Kadirimangalam
* @author Preyash Parikh
* @copyright 2020
*
**BSD 3-Clause License
*
*Copyright (c) 2020
*All rights reserv... |
de46f6e14f4ed545747a4ce1b5c764357d50f0d2 | 3047545349bf224a182b2c33bf1f110aef1ce9b6 | /Transims60/Relocate/Plan_Processor.cpp | 9f78777ec5623091569868abd74b6f088c4a9941 | [] | no_license | qingswu/Transim | 585afe71d9666557cff53f6683cf54348294954c | f182d1639a4db612dd7b43a379a3fa344c2de9ea | refs/heads/master | 2021-01-10T21:04:50.576267 | 2015-04-08T19:07:28 | 2015-04-08T19:07:28 | 35,232,171 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | cpp | Plan_Processor.cpp | //*********************************************************
// Plan_Processor.cpp - plan processing thread
//*********************************************************
#include "Relocate.hpp"
#ifdef THREADS
//---------------------------------------------------------
// Plan_Processor operator
//------------... |
3d728e91873e6d5d0925e490de906bdb3f5910a7 | a0c8daadc766aae14c8e8246e747035e140c2baa | /speech/include/speech.hpp | b6ff17e96659f49f887456c079bf2fe6453722e1 | [] | permissive | kenzanin/speech | 78dc2c705a1080999746858bcaa23ac86ef432df | 59a4546ecccf6f147a80c3971054169f9feacaa0 | refs/heads/main | 2023-08-25T21:12:19.563320 | 2021-10-08T07:02:05 | 2021-10-08T07:02:05 | 390,218,640 | 0 | 1 | CC0-1.0 | 2021-07-29T14:28:45 | 2021-07-28T04:57:30 | C++ | UTF-8 | C++ | false | false | 792 | hpp | speech.hpp | /*
Authored by Suka Isnaini on 9th of August 2021
Created for PT Sejahtera Empati Pratama
All Copyrights belong to PT Sejahtera Empati Pratama
*/
#include <string>
#ifndef SPEECH_HPP
#define SPEECH_HPP
#if defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || \
defined(__MINGW32__)
#define DLLEX... |
1f194b5c02cb2a57663d0ec38c7d5650146614d4 | 5f6c47e58f4377423e1fa064ddeb92d02e17c967 | /双向传输文件(只需知道server的ip和端口号,client的ip和端口号会在通信中传输给server;无通信反馈,每500B数据200ms延时,大文件耗时)/TCPtest/TCPclient/TCPclient/MyData.h | df54101d02c3643c95c57db81a27157a1ceb6860 | [] | no_license | themostfreeboy/TCP | e38ffcb44da8d9460145c4d8b7b3116210028a9e | 541026531bbc68c279e4fa77f88dc5b8fb57cc47 | refs/heads/master | 2020-03-08T13:29:16.708134 | 2018-04-05T04:33:20 | 2018-04-05T04:33:20 | 128,159,176 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,407 | h | MyData.h | #ifndef __MYDATA_H
#define __MYDATA_H
#include <string>
#include <winsock.h>
#include "md5_file.h"
#pragma comment(lib,"wsock32.lib")
class MySocketClient//Socket编程Client客户端类
{
public:
char server_ip[256];//server服务器ip地址
int server_port;//server服务器端口号
char client_ip[256];//client客户端ip地址
int client_port;//client客户... |
4ce4dfddd8d014bfafb03a8d8b882b9b0751c8ed | 3c6c4b88b2d80571a7af36eb8cd9241433cf6a58 | /Longest Common Subsequence/15 Longest Increasing Subsequence - Memoization.cpp | 5af7b2b4f5e2a679e5d84c193335c37c9f463294 | [] | no_license | rajatreigns/Dynamic-Programming | 86ef769377650fd91708f1552aff0371f072ebea | 0079784608bd477eddf7261cb57e2356c2bed8e6 | refs/heads/main | 2023-04-28T05:54:15.634546 | 2021-05-22T12:27:16 | 2021-05-22T12:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | cpp | 15 Longest Increasing Subsequence - Memoization.cpp | #include <bits/stdc++.h>
#include<math.h>
#define ll long long int
#define N '\n'
#define ull unsigned long long int
#define forp(i,a,b) for(int i=(int)a;i<(int)b;i++)
#define forpe(i,a,b) for(int i=(int)a;i<=(int)b;i++)
#define pb push_back
#define M ... |
e9c855a37acb514925dd2a590fccb0990f5d8f29 | 30d632410d540e925867950306e7dadfa57feb00 | /client/connectiondialog.cpp | e5e21cc884950f7333b3cc6540d62aab2b5e728c | [] | no_license | smokfyz/gui_1h2020-battleship | e7a259be1d35243e5c86a5da4f0668ce2e3c5b25 | 6a740f1fad3f24349b82d9e4018572f7b402c059 | refs/heads/master | 2022-08-10T20:12:17.344855 | 2020-05-24T22:42:33 | 2020-05-24T22:42:33 | 255,596,589 | 0 | 1 | null | 2020-05-25T12:12:31 | 2020-04-14T11:58:16 | C++ | UTF-8 | C++ | false | false | 3,399 | cpp | connectiondialog.cpp | #include "connectiondialog.h"
ConnectionDialog::ConnectionDialog(QWidget* parent) :
QDialog(parent)
{
this->setFixedSize(280, 150);
this->setWindowTitle("Start the game");
applyButton = new QPushButton("Apply", this);
cancelButton = new QPushButton("Cancel", this);
QLabel *addrLabel = new QLa... |
6fd8203324c5ab2f4bda8dc54f302968677a0230 | eca634ce6477e5680987dfc6536f6fdd93c58db6 | /Repertoire/Multithreading/ThreadingUnitTest.cpp | 2e1a6706d0d970bda3d75888cf6249789b8ea899 | [] | no_license | tectronics/surface-physics | ba2ed585406f9e9955aeabc6d343cedeb41c2f61 | f5f2af539aee7483ae28f4edec4b7b62edfa2d61 | refs/heads/master | 2018-01-11T15:03:08.166454 | 2014-10-02T19:44:33 | 2014-10-02T19:44:33 | 45,230,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,105 | cpp | ThreadingUnitTest.cpp | // ThreadingUnitTest.cpp : Defines the entry point for the console application.
//
#include "windows.h"
#include<stdio.h>
#include <process.h>
class Barrier {
volatile long numThreads;
volatile long numThreadsEntered_Barrier;
volatile long numThreadsExited_Barrier;
HANDLE entranceSemaphore;
... |
6a65e5db6ecd2940bd34449039433982733b1e26 | 78c0d4b62bba3dd1cfed499625a7b6b719e8c91c | /src/main.cpp | 154bec2919a2165417c0c83c3274b540a1f23322 | [] | no_license | Xavier-Pisco/TourMateApp | 0f0d850cb2fb4517f3d4ab073375ec1d0b027dcf | d6780a225bba36f750a2cf8fbb235efc986b7a70 | refs/heads/master | 2023-04-30T15:22:27.223725 | 2020-05-27T13:48:24 | 2020-05-27T13:48:24 | 368,233,430 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | main.cpp | #include "application/Application.h"
#include <csignal>
#include <iostream>
using namespace std;
int main() {
signal(SIGINT, SIG_IGN); // this is being used to ignore the SIGINT signal sent by GraphViewer
Application app;
app.mainMenu();
cout << "getchar" << endl;
getchar(); // this is so the ... |
03c3a163fe463ec75903379e0bdcf68eed694c15 | 3b03cc4858d548a9135545dff952b1baf7e7aec2 | /plugins/sdm/sdm/CreateSDFields.hpp | 9c0849b1acd6ea31ea3ee773a87cf734ad0c872f | [] | no_license | uabti/coolfluid3 | 04364a468a18038e8a21ea4960bbcc033958c2b2 | 31c78a10a3b506212ae5367f1d47326bf35c5bd0 | refs/heads/master | 2021-01-15T19:34:41.090988 | 2013-04-29T12:26:31 | 2013-04-29T12:26:31 | 3,153,698 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | hpp | CreateSDFields.hpp | // Copyright (C) 2010-2011 von Karman Institute for Fluid Dynamics, Belgium
//
// This software is distributed under the terms of the
// GNU Lesser General Public License version 3 (LGPLv3).
// See doc/lgpl.txt and doc/gpl.txt for the license text.
#ifndef cf3_sdm_CreateSDFields_hpp
#define cf3_sdm_CreateSDFields_hpp
... |
a199dc8ec35b88c41e9b0ed6917576ed2d8dd388 | aa5bde78ca59672ec5f7953100a511f14dc23716 | /xdbd-sql-parser/XdbdSqlCatalogFunction.cpp | c60be64101bfa56df6178c3904d4291ed8d42350 | [] | no_license | miranvodnik/xdbd | 5dbb530a7db3b8575cbe87e37bbe90e2a7b5bced | ae4ab6bb53b11c307951c6b9c67bbfa59cb42c5c | refs/heads/main | 2023-04-03T18:51:18.963054 | 2021-04-18T14:36:21 | 2021-04-18T14:36:21 | 358,135,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,329 | cpp | XdbdSqlCatalogFunction.cpp | /*
* XdbdSqlCatalogFunction.cpp
*
* Created on: 4. feb. 2016
* Author: miran
*/
#include <sqlxdbd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <XdbdSqlCatalogFunction.h>
namespace xml_db_daemon
{
XdbdSqlCatalogFunction::XdbdSqlCatalogFunction(sql_statement* p_sql_statement,... |
042efa03f23052358cfc3b99e93049f6f98b6890 | 3ffce592216241206f3f7025ccde5540beedf43e | /include/Matrix2D.h | 441c08f2a5b640f30fd1dcf612b526874f0e35be | [] | no_license | ogsdave/PatchMatch | 323b0bb8e238dc2ee31cb7f97a4f1dfdeb48428d | 8730f318248b296baf10728776790163034c5a31 | refs/heads/master | 2020-08-04T16:01:54.850218 | 2019-02-05T09:29:17 | 2019-02-05T09:29:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | h | Matrix2D.h | #ifndef __MATRIX_2D_H__
#define __MATRIX_2D_H__
#include <vector>
template <typename T>
class Matrix2D
{
public:
Matrix2D();
Matrix2D(unsigned int rows, unsigned int cols);
Matrix2D(unsigned int rows, unsigned int cols, const T& def);
T& operator()(unsigned int row, unsigned int col);
const T& operator()... |
f72e6fc1590376940eff91db70665f1a2106df2b | db6c1ca997e3928888b071cd0b21d275cd9e0b57 | /KruskalAlgorithm.cpp | 06dec488073e7e76259236e35701229e9baccc4f | [] | no_license | leve1997/Razni_kodovi | d23ea861705957f95a37e81ad8a69a55017b090f | 78e505975e432826c14214dcaf31017e68277133 | refs/heads/master | 2021-05-17T12:22:02.415868 | 2020-10-14T08:44:56 | 2020-10-14T08:44:56 | 250,773,754 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | cpp | KruskalAlgorithm.cpp | #include<vector>
#include<set>
#include<utility>
#include<iostream>
#include<limits>
#include<algorithm>
#include "DisjointSetImpl.h"
#define inf INT_MAX/2
void KruskalMST (std::vector<std::pair <int, std::pair <int, int> > > & edges, int n, std::vector <std::vector <int> > & Parent) {
std::sort(edges.... |
83f550fb52b3dc44b7b6451d11fea010d3715acb | 7f25ac596812ed201f289248de52d8d616d81b93 | /haihongS/2016/07/2016_07_02.cpp | 89b787721a4d4b5b9cb459573f2c3158cd128d6d | [] | no_license | AplusB/ACEveryDay | dc6ff890f9926d328b95ff536abf6510cef57eb7 | e958245213dcdba8c7134259a831bde8b3d511bb | refs/heads/master | 2021-01-23T22:15:34.946922 | 2018-04-07T01:45:20 | 2018-04-07T01:45:20 | 58,846,919 | 25 | 49 | null | 2016-07-14T10:38:25 | 2016-05-15T06:08:55 | C++ | UTF-8 | C++ | false | false | 1,598 | cpp | 2016_07_02.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <vector>
#include <map>
using namespace std;
typedef long long ll;
const int maxn=2e6+9;
const int inf=2e9+9;
int isprime[maxn];
int use[1000],own[maxn];
int pre();
int main()
{
pre();
int n,k;
while(~scanf("%d%... |
8ec14b7e1a49b66078d2ddd227de46df93a75656 | 403bf375dd26e8f64498ff54546f53febcda2966 | /SymbolReader.h | 0b54437d9ed233ea955229ee735606d40eafaf9e | [] | no_license | dimitrijejankov/elf-class-reader | 7289409f79bf73cfea89c30dffc2046c5bf5d1bf | 5f852042df9689ad5999efa3cd8984c93837f3b8 | refs/heads/master | 2020-03-21T14:19:10.032448 | 2018-06-27T16:55:02 | 2018-06-27T16:55:02 | 138,651,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,653 | h | SymbolReader.h | //
// Created by dimitrije on 6/24/18.
//
#ifndef TESTINGCLASSSTUFF_SYMBOLREADER_H
#define TESTINGCLASSSTUFF_SYMBOLREADER_H
#include <libelf.h>
#include <gelf.h>
#include <string>
#include <libdwarf/dwarf.h>
#include <libdwarf/libdwarf.h>
#include <vector>
#include <memory>
struct attributeType {
attributeType() ... |
6cf75266ad71815d1713c1b3ed7176ffc5e89cc8 | 1ebdd29688a516483e4f5f367a0d2aeea80bb411 | /Commandmodel.cpp | 63c10dcff1c9335eacb419856c588c6e4772bdd9 | [] | no_license | muxuewen/DesignMode | 186c08c4c91b26e15ef8032965d37983642aae3a | 48bef2dcc5b89bed7bf2898e91309123bea60a8c | refs/heads/master | 2020-04-30T14:30:49.725045 | 2019-06-24T08:04:44 | 2019-06-24T08:04:44 | 176,892,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,480 | cpp | Commandmodel.cpp | #include <iostream>
#include <string>
#include <vector>
using namespace std;
#define SAFE_DELETE(p) if(p){delete p;p = NULL;}
class Receiver
{
public:
void runcommand1()
{
cout << "first cmd" << endl;
}
void runcommand2()
{
cout << "second cmd" << endl;
}
};
class Command
{
public:
... |
49881638a116bfc6a04c578873bc5e93484b91eb | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_2399_httpd-2.2.23.cpp | 8a0259b41bed95c9731c87fc6b831d9fcc4438b0 | [] | 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 | 370 | cpp | httpd_repos_function_2399_httpd-2.2.23.cpp | static void ap_start_shutdown(void)
{
/* If the user tries to shut us down twice in quick succession then we
* may well get triggered while we are working through previous attempt
* to shutdown. We won't worry about even reporting it as it seems a little
* pointless.
*/
if (shutdown_pending ... |
43a5c351c74e62ef7bdadfe3890455889f58dd9f | 4e38faaa2dc1d03375010fd90ad1d24322ed60a7 | /include/RED4ext/Scripting/Natives/Generated/game/data/Vehicle_Record.hpp | 8e41cc91b125370fd0f036f614e5a7a5686910f6 | [
"MIT"
] | permissive | WopsS/RED4ext.SDK | 0a1caef8a4f957417ce8fb2fdbd821d24b3b9255 | 3a41c61f6d6f050545ab62681fb72f1efd276536 | refs/heads/master | 2023-08-31T08:21:07.310498 | 2023-08-18T20:51:18 | 2023-08-18T20:51:18 | 324,193,986 | 68 | 25 | MIT | 2023-08-18T20:51:20 | 2020-12-24T16:17:20 | C++ | UTF-8 | C++ | false | false | 723 | hpp | Vehicle_Record.hpp | #pragma once
// clang-format off
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/game/data/SpawnableObject_Record.hpp>
namespace RED4ext
{
namespace game::data
{
struct Vehicle_Record : game::data::SpawnableObje... |
0bd6b4b2b5d56d31eef8b6eecd152bb70aacd393 | e40d6a8fe45dd4d769c2bcf27e4df3730d0a624a | /JUTGE/X30986_ca/S002-AC.cc | 5ba44e2c251cfc8d16f1ee54b493f53c38dcc4af | [] | no_license | masedo/FIB | bc193a840fb56b8181d2be1585799fef180b58df | 084bfa233a3ea079a41ba28686f44be644b65be3 | refs/heads/master | 2021-09-12T18:14:16.497501 | 2018-04-19T19:43:31 | 2018-04-19T19:43:31 | 104,089,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | cc | S002-AC.cc | #include <iostream>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
struct Paraula {
int num;
string lletres;
};
bool comp (const Paraula& a, const Paraula& b) {
if (a.num == b.num) return a.lletres < b.lletres;
else return a.num > b.num;
};
int main() {
int n;
while (cin >... |
d804443e4509e4e9a9d834b66879d05e5ea2ef6e | ff383401324de6a733c57014925e1db9e153b822 | /Difficulty/Hard/[76] Minimum Window Substring/solution.cpp | 14ad62b237b1b28462ed9834a427900307eab5c9 | [] | no_license | ForSign/Leetcode-1 | 7af7a74c9a5c01c7e67faa5f6e5874f4d3902565 | 9a2d41fb15304cc7aaff5a36aced5dc0ab6d3745 | refs/heads/master | 2023-03-15T20:21:07.254494 | 2020-10-14T08:04:24 | 2020-10-14T08:04:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,297 | cpp | solution.cpp | /*
* @lc app=leetcode id=76 lang=cpp
*
* [76] Minimum Window Substring
*/
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
class Solution {
public:
string minWindow(string s, string t) {
vector<int> map(128, 0);
for(auto c : t) ++map[c];
int begin = 0, ... |
b46bfa742572e69939d349ebb0755459a605539a | a08ce0bec53d41ae51e768dcfb4ba686c62245e5 | /FKSvr3Common/Source/FKMd5Ex.cpp | 9d08863f5b59509ea093eb9dd4e6795715f8713b | [] | no_license | adan830/FKServer3 | 2816e67fc5ed25dc476a9e750800071b2dd9632d | cf760b747c1a453a91298fef10fe39aac202e407 | refs/heads/master | 2021-05-05T20:17:27.881799 | 2017-03-16T07:39:20 | 2017-03-16T07:39:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | cpp | FKMd5Ex.cpp | /**
* created: 2013-4-6 23:51
* filename: FKMd5Ex
* author: FreeKnight
* Copyright (C):
* purpose:
*/
//------------------------------------------------------------------------
#include "../Include/Endec/FKMd5Ex.h"
#include <stdio.h>
#include <string.h>
#include "../Include/FKVsVer8Define.h"
//--------------... |
7195c8a070b8ff7204218f23028aec9f69c2e503 | 4d964c6c4445e5cddf192248a0c2fc964d956ef9 | /plugins/trash/trashwidget.cpp | d9d8059d7cfa0d3c33c4e0835fe3e12a247e22bf | [] | no_license | wangyingtaodeepin/dde-dock | 25149fa4433bf5fac885384cf71c6b19684235fd | 0c597c6597d6c25f32a65ffabde6bb3066088630 | refs/heads/master | 2021-01-12T16:17:56.553562 | 2016-10-24T03:10:42 | 2016-10-24T03:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,938 | cpp | trashwidget.cpp |
#include "constants.h"
#include "trashwidget.h"
#include <QPainter>
#include <QIcon>
#include <QApplication>
#include <QDragEnterEvent>
#include <QJsonDocument>
DWIDGET_USE_NAMESPACE
TrashWidget::TrashWidget(QWidget *parent)
: QWidget(parent),
m_popupApplet(new PopupControlWidget(this))
{
QIcon::setT... |
b11cb143e08e721b10acb1c066359f5ff0eb877f | ee85bee36fac8052d49355e0ed40ae1dc72e53e5 | /Course Assignment Solutions/University of California, San Diego (UCSD)/CSE 100 - Advanced Data Structures/PA2 - RST and benchtree/benchtree.cpp | 54caae5a33a084bb07b463477d98525805bf3fb6 | [] | no_license | hak053/Algorithm-Problem-Solutions | c0a09dc2ed6397c75362b9d1dd050a2df2a4f0cf | 79e248e9b1d824b95b7c000589ac9163861fcada | refs/heads/master | 2021-01-23T02:29:44.427032 | 2015-05-17T21:36:09 | 2015-05-17T21:36:09 | 45,626,345 | 0 | 1 | null | 2015-11-05T17:07:06 | 2015-11-05T17:07:05 | null | UTF-8 | C++ | false | false | 5,850 | cpp | benchtree.cpp | /**
* Alexander Niema Moshiri
* A09850737
* a1moshir@ucsd.edu
* PA2 (No Partner)
*/
#include <iostream>
#include "RST.hpp"
#include "countint.hpp"
#include <cmath>
#include <iostream>
#include <algorithm>
#include <vector>
#include <set>
using namespace std;
int main(int argc, char* argv[]) {
/** Initialize V... |
b3ab3b941e561e7792788042fbfa3c58c0cc6415 | d071e6156cf23ddee37a612f71d71a650c27fcfe | /hlg_pass/hlg1408_wo.cpp | 762c2d0abb22029359dc7eec5d6d9aaf94917127 | [] | no_license | tsstss123/code | 57f1f7d1a1bf68c47712897e2d8945a28e3e9862 | e10795c35aac442345f84a58845ada9544a9c748 | refs/heads/master | 2021-01-24T23:00:08.749712 | 2013-04-30T12:33:24 | 2013-04-30T12:33:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | cpp | hlg1408_wo.cpp | #include <cstdio>
#include <cstring>
#include <climits>
#include <iostream>
using namespace std;
const int MAXN = 505;
int a[MAXN][MAXN];
int s[MAXN][MAXN];
int o[2][MAXN][MAXN];
/*
inline int BLOCK(int lx, int ly, int hx, int hy) {
return s[hx][hy] - s[lx-1][hy] - s[hx][ly-1] + s[lx-1][ly-1];
}
*/
#define BLOCK(lx,... |
b6584f18876e72116ec23c95349200779fc72d5b | 7412daba6b198687506ec73bad2786ac966963e6 | /calibration_tool1/calibrate/cam_opencv_calib_extrinstic/readdata.cpp | b88e983b3b8083863669e4583978d72b46bcfdbd | [
"WTFPL"
] | permissive | Zhangh2018/SLAMnDNN | ace6cf38bae8666f4d14a5ca36855deb9f8abec7 | b96d5b35bf22ca4aaa5b9abf6ad73a3c274da5f2 | refs/heads/master | 2022-04-07T16:54:23.247971 | 2020-01-30T03:45:25 | 2020-01-30T03:45:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,730 | cpp | readdata.cpp | #include <iostream>
#include <sstream>
#include <time.h>
#include <stdio.h>
#include <fstream>
#include <opencv2/core.hpp>
#include <opencv2/core/utility.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
us... |
ca7d3cdb8df4a20bf0be344b44661cad28019d41 | 82f04e0942b580299a3880df75db74c7e7cb3638 | /Primatte/algorithmprimatte.cpp | 98f895b96d322500fcd25167855b4dc801fe7403 | [
"MIT"
] | permissive | thuanvh/EstimateImageMatting | 279c3b27e4d1ccbdc4ca3858151626243850dde4 | 2abbec761fce77ab256f82b1e2c618b29d99c131 | refs/heads/master | 2022-04-19T07:26:44.142108 | 2020-04-17T06:22:02 | 2020-04-17T06:22:02 | 255,775,824 | 0 | 0 | MIT | 2020-04-15T01:50:50 | 2020-04-15T01:50:49 | null | UTF-8 | C++ | false | false | 4,126 | cpp | algorithmprimatte.cpp | #include "algorithmprimatte.h"
#include "ialphalocator.h"
#include "icoloursegmenter.h"
#include "ifittingalgorithm.h"
#include "inputassembler.h"
#include <stdexcept>
#include "io.h"
namespace anima
{
namespace alg
{
namespace primatte
{
AlgorithmPrimatte::AlgorithmPrimatte(Algori... |
4226e4c68d913adca745efd201fdd532af588801 | ac5520ac678b1e2759b9b99dce5f5a6b4269f77a | /ScanLineFill/ScanLineAlgorithm/Figure.h | 73427c87b56b3ac69a9e93e7f045d4d362d596ad | [
"Apache-2.0"
] | permissive | jinfeijie/ImageProcessingAlgorithm | d981e53ddd74a6530d44de346b9e0927bd7e920b | 404308120dde95ef228b9f415def6a71d525c3ad | refs/heads/master | 2021-06-29T04:28:31.097663 | 2018-04-07T14:05:15 | 2018-04-07T14:05:15 | 95,859,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 188 | h | Figure.h |
#include <QPainter>
#pragma once
class CFigure
{
public:
int start_point_x_, start_point_y_, end_point_x_, end_point_y_;
virtual void Draw(QPainter &paint){};
virtual ~CFigure(){}
};
|
338afb82d993c5067bc35e7d4c8fcab3572dd5e8 | 07c06570a624c0ed9558d4894c2df35cfe5f42b7 | /textRenderer/TextRenderer.h | e7b95c41863efb67e505ccaba86565a4883b0b61 | [
"BSD-3-Clause"
] | permissive | shunte88/pico-ssd1306 | 5089382c2f35aea670bddaa3c4484886021a6583 | ae8144e2350e2b831cd0709810b8120102d7588e | refs/heads/master | 2023-08-14T01:55:53.733479 | 2021-09-29T16:19:17 | 2021-09-29T16:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,758 | h | TextRenderer.h | #pragma once
#ifndef SSD1306_TEXTRENDERER_H
#define SSD1306_TEXTRENDERER_H
#include "../ssd1306.h"
#include "5x8_font.h"
#include "8x8_font.h"
#include "12x16_font.h"
#include "16x32_font.h"
namespace pico_ssd1306{
/// \enum pico_ssd1306::Rotation
enum class Rotation{
/// deg0 - means no rotation
... |
b6a65dc020f921918a8c0c162f86040251007cdb | 4fd262abf31af5e77699a845bf1ebfe047d1d24e | /tests/detail/constants.hpp | c7e26acb393cec8f577313c1429a18a206972b50 | [
"MIT"
] | permissive | N-A-D/libra | bd570abee210eb2a6f0b6e92cd8e0be69b3634c9 | 2c60242bf9094b2cd8cd40b616e6116a897b6e26 | refs/heads/master | 2022-02-09T13:54:01.084968 | 2019-07-06T01:08:43 | 2019-07-06T01:08:43 | 187,731,057 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35 | hpp | constants.hpp | #pragma once
constexpr int N = 50; |
9d40eb7bceca0b8dcd96265e4dafca25982d019b | 1b8b6b2d700cadbaa38ec8c9c814aaeaa16d5aed | /src/sprite.cpp | 6387cde459d5d80e7d18d04f1b43a182134cc655 | [
"MIT"
] | permissive | t-mccawley/zerkola | fb5ff8f6d1d22771a668583ab7301864027f7960 | e9b4607d059ea89c865410799a6eae0d3d75515d | refs/heads/master | 2020-05-03T00:54:06.781921 | 2019-06-12T04:38:29 | 2019-06-12T04:38:29 | 178,322,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | cpp | sprite.cpp | #include <sprite.h>
#include <iostream>
#include <game_control.h>
#include <algorithm>
#include <geometry.h>
#include <iostream>
#include <assert.h>
namespace sprite {
Sprite::Sprite() {};
Sprite::~Sprite() {}
Sprite::Sprite(graphics::Graphics* graphics_ptr,
const std::string &filePath,
int sourceX,
... |
80955c02ff05dffd3c6b24272bdfca3c06f956ee | 6abfbf8d3c934bfb77ce989c46f7ee5c3e3c19a7 | /476. Number Complement/Solution.cpp | d6e588569aea5331e0a7527efe114e2ed74016bf | [] | no_license | AristoChen/LeetCode-AC-Solution | 7be7d09d99f131e06529e4e34e12129729a12efa | d2f988257b1631e79cf13763bf87e826ee834c3b | refs/heads/master | 2020-03-17T20:30:29.879961 | 2018-06-07T13:26:20 | 2018-06-07T13:26:20 | 133,913,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | Solution.cpp | /*
Submission Detail:{
Difficulty : Easy
Acceptance Rate : 61.19 %
Runtime : 8 ms
Testcase : 149 / 149 passed
Ranking : Your runtime beats 12.38 % of cpp submissions.
}
*/
class Solution {
public:
int findComplement(int num) {
vector<int> temp;
int answer = 0;
w... |
c324611efcfc9412730667c1e4c2807b3d9a7de3 | a2151ce6569c05bb3896f2d966030a713720af29 | /Proiect/Autobuz.cpp | b2bd4ae86a268d018fbd857270f490e7de0f7595 | [] | no_license | JokerDBLue/ProiectCTP | 3428b96cd9c215ed2c9513e14fe28256cd937d1d | 40337da4e249d06b426ceb92ac2bd4dd88ff99cd | refs/heads/master | 2022-04-10T07:46:55.328281 | 2020-03-15T14:28:04 | 2020-03-15T14:28:04 | 187,687,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,793 | cpp | Autobuz.cpp | #include "Autobuz.h"
Autobuz::Autobuz()
{
this->zona = 1;
this->numar = "";
this->zi = "";
this->orar;
this->ruta;
}
Autobuz::Autobuz(int zona, string numar, string zi, vector<vector<string> > orar, vector<string> ruta)
{
this->zona = zona;
this->numar = numar;
this->zi = zi;
this->orar = orar;
this->ruta... |
1d1c4bcc74ffb086c3b5a6532040ef5ea6b9f1e0 | 9356d61555549ccb0b12b722c80c87695c1723e9 | /Main.cpp | 64da1a45cb66dd79ce81cfbd96ab27cea174fb6a | [] | no_license | MonsieurVolt/testSfml | d1892a373f4388beebe3beaaa5c4bf06bf582803 | 3265ddd30e5b1d4070a6ec4da5195171756460e1 | refs/heads/master | 2023-07-16T05:28:44.865565 | 2021-09-01T22:05:23 | 2021-09-01T22:07:24 | 402,208,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | Main.cpp | #include <SFML/Graphics.hpp>
#include <cassert>
#include <iostream>
#include <map>
#include "RessourcesHolder.hpp"
using namespace std;
namespace Textures
{
enum struct ID
{
LandScape,
Airplane,
Missile
};
};
int main()
{
sf::RenderWindow window(sf::VideoMode(500, 500), "Ressources management");
Resource... |
4c1ea44450c6396f527dc870185b23cf96034ab9 | 50312e055a8b9c29c6f56f4fd87f100cf698d700 | /GameTemplate/Game/SkinModelRender.h | 4290244ca7bb962dc2aecc0aa0b8e6d3a1011470 | [] | no_license | kawaharamiyauchi/Game_01 | f20bfd48b163bd62d3bf906b2bf54efb8a6979b1 | 95da906aa6a445e3cdccec4b9a0922e5d1aa5bae | refs/heads/master | 2020-06-27T12:43:56.213152 | 2020-06-25T00:32:37 | 2020-06-25T00:32:37 | 199,956,192 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,414 | h | SkinModelRender.h | #pragma once
#include "graphics/SkinModel.h"
#include"IGameObject.h"
class SkinModelRender:public IGameObject
{
public:
SkinModelRender();
~SkinModelRender();
void Init(const wchar_t*filePath);
/// <summary>
/// シャドウキャスターのフラグを設定
/// </summary>
/// <param name="flag">シャドウキャスターフラグ</param>
void SetShadowCaster... |
b287469d5219064efe68b6a41f358625977ec549 | 4ce3266d333a8c51f05745e30029747474ffa522 | /tests/blktrlm.cpp | a9f9f676d6dd3cae9255b3961a7c5220b2d9758b | [
"BSD-3-Clause"
] | permissive | cpviolator/VOATOL | 471137e95017653729926328fffa117dd0185800 | d90c5ce5753aae2f8f88f439bd24b54bc621c5a9 | refs/heads/master | 2023-04-04T15:17:59.789681 | 2021-04-13T06:21:43 | 2021-04-13T06:21:43 | 257,758,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,778 | cpp | blktrlm.cpp | #include "voatol_internal.h"
#include "algorithm_utils.h"
#include "blas.h"
#include "sort.h"
bool verbose = false;
int mat_size = 128;
int main(int argc, char **argv) {
struct timeval start, end, total_start, total_end;
gettimeofday(&total_start, NULL);
// timing variables
double t_total = 0.0;
double ... |
b82ba53630040a6c74350bf06cbd6516724efb51 | 860d80cac7fdb7a8534f7d118ea8a244af86f3ce | /insight_testSuite/temp/src/digitalWalletTestMain.cpp | a43f34245e7de9006252f4d53cff3fa51eebd91d | [] | no_license | gzgzgz/digitalWallet | 7e622cfc1a40735d9d20777f50a8f7f878b4575f | e7ca6d040b449ea207df8df0083b3474c66699a2 | refs/heads/master | 2020-12-24T07:52:03.132419 | 2017-07-01T04:32:38 | 2017-07-01T04:32:38 | 73,362,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,301 | cpp | digitalWalletTestMain.cpp | // digitalWalletTestMain.cpp : Defines the entry point for the console application.
//
#include "DigitalWallet.h"
#include <iostream>
#include <string>
#include <ctime>
int main()
{
DigitalWallet* payMoWallet = new DigitalWallet();
std::cout << "Enter the path to a file containing authorized transactions from histo... |
fd4255e97e9e4245059fc3e001091e7c9a9c9e33 | b32e6bd41c08b7db696092b6dfd41a39ef8e0010 | /tests/screenBufferTest.cpp | b5c1014f49591affc558810cee55eefeaae0ec14 | [] | no_license | voidThread/color_chart | 89d571f81d1060bafb25244c6e5f1a59a5a60b3c | c78a4ff0ef43b8a04d1d903d44123222de9b0905 | refs/heads/master | 2023-03-21T14:17:14.646043 | 2021-03-16T00:01:06 | 2021-03-16T00:01:06 | 348,168,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | screenBufferTest.cpp | #include <gtest/gtest.h>
#include "ScreenBuffer.h"
class ScreenBufferTest : public ::testing::Test
{
protected:
color_chart::screen::ScreenBuffer screenBuffer{16,9};
};
TEST_F(ScreenBufferTest, ScreenBufferFiledWithOneLineGradient) {
//Arrange
using namespace color_chart;
screen::CornersColors... |
813390af30810ad97cfa5753344fb0a0c49d2f43 | 6432b801507aa6226561614cf96d01e5813942ec | /1sem/lab_stack_queue_ect/queue_in_hospital.cpp | c9251868868cbf127c0fa4a8b63a8ecae8053c4a | [] | no_license | aralbaevaanya/algosd | 05e7e7757925d912508023926201abc264ef887e | 48429bb1461115a895286291ff1e66475c87417e | refs/heads/master | 2020-03-18T14:40:07.246414 | 2018-11-14T15:09:39 | 2018-11-14T15:09:39 | 134,860,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,273 | cpp | queue_in_hospital.cpp | #include <iostream>
#include <fstream>
#include <deque>
using namespace std;
int main() {
ifstream in("hospital.in");
ofstream fout("hospital.out");
int n;
int a;
char c;
in >> n;
int cun1=0, cun2=0;
deque<int> half1, half2;
for (int i = 0; i < n; i++) {
in >> c;
if (... |
3b397ed10df136e7fa42385655ba684ecf78657f | f46464ddfeacd37148a678601c529d6a6b29a929 | /templates/_generic/generic_class.cpp | d2263df7d23774dc99b24c3f7dab2004285db9c0 | [] | no_license | keegansalankey/cpp-boiler | 3fc5c6fbcd16850834b9c3fb764b04c0a2284a16 | ea2d168a9b29088367f37d00fe58d8c816cd2482 | refs/heads/main | 2023-08-18T10:00:52.255981 | 2021-10-15T01:20:15 | 2021-10-15T01:20:15 | 417,022,264 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64 | cpp | generic_class.cpp | #include "<<replace_me>>.h"
<<replace_me>>::<<replace_me>>(){}
|
a744d81e03e48890f746c26b342d3b0a632b28ef | cae38993c00d5a3a6781f672954b585258de5976 | /engine/FileTimeSearcher.h | 6dc41cfeba8b36d5f5eb4193d333a0d3d914aa14 | [] | no_license | HT509-net/SearchMonkeyClone | a567fb8600c52deb7684358942dc6a58734488de | 034e35a1f3409b7339b9911b938cf9ed101a9d55 | refs/heads/master | 2021-01-17T13:17:11.127678 | 2017-01-06T01:45:50 | 2017-01-06T01:45:50 | 38,259,999 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | FileTimeSearcher.h | #ifndef FILETIMESEARCHER_H
#define FILETIMESEARCHER_H
#include <QDateTime>
#include "SearcherDecorator.h"
#include "../SearchResult.h"
#include "../Types.h"
class Searcher;
class PhaseOneParameter;
class FileTimeSearcher : public SearcherDecorator
{
public:
FileTimeSearcher(Searcher* searcher, co... |
161e298d64004d83f45c3bdb459150b066714431 | bbc746f2090f746ad5d1da137a1b26d6ed9f8258 | /slymacOS/src/macos/os/window.cpp | 41f423f9880d724af9036597d506bbd43a08a6c8 | [
"MIT"
] | permissive | Gibbeon/sly | 4393b1ad2fd89bd0d44df15e6295a7f5e118b606 | 9216cf04a78f1d41af01186489ba6680b9641229 | refs/heads/master | 2021-08-17T10:54:06.199042 | 2020-04-18T16:08:10 | 2020-04-18T16:08:10 | 163,452,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,528 | cpp | window.cpp | #include "sly/macOS/os/window.h"
#include "mtlpp/mtlpp.hpp"
#include "mtlpp/examples/window.hpp"
#import <Cocoa/Cocoa.h>
#import <MetalKit/MetalKit.h>
#include <stdio.h>
class MtlView : public ns::Object
{
public:
MtlView() { }
MtlView(const ns::Handle& handle) : ns::Object(handle) { }
... |
a891dc0936faf26597cbcdb65337abb5654bbe7e | 03caa9561f3f35b9f0851bc58073de1e714a2d07 | /Car.h | 6d1a4fb332edab395372bc54ce4fc087dda54d6a | [] | no_license | u4bi-dev/cpp_workspace | 8528c45af6893f8305edb8a63695e2d6f1dada34 | 2ea4d5401109335397b0580087967a4a2bd63cf7 | refs/heads/master | 2021-06-09T01:04:33.471515 | 2016-12-02T15:24:10 | 2016-12-02T15:24:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | h | Car.h | /*
클래스 Car를 대상으로 파일을 나눈다고 예를 들어보기.
Car.h 클래스의 선언을 담음.
Car.cpp 클래스의 정의(멤버함수 정의)를 담음
여기서 말하는 클래스 선언은 멤버변수의 선언과
멤버함수의 원형을 포함한다고함.
이는 클래스와 관련된 문장의 오류를 잡아내는데 필요한 최소한의 정보
클래스를 구성하는 외형적인 틀을 보여줌
------------------------------------------------
클래스의 정의(definition)에 해당하는 함수의 정의는
... |
efa6b76570c9c3f7e254f02c509e5d9ab1681df8 | 999fdf150a93dc69d920786641fc9cd8e83f2a75 | /src/plastimatch/register/translation_mi.cxx | b6ac88bf77f06faa520e3cb88abcac5487adbe5c | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | agravgaard/Plastimatch | f79294947a1d44dd0c56798277374222fa92df57 | 7b5b79bb1a258d69a653bc82849ed420e673de3d | refs/heads/master | 2021-01-17T06:53:30.814597 | 2020-08-21T12:51:14 | 2020-08-21T12:51:14 | 52,898,082 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,109 | cxx | translation_mi.cxx | /* -----------------------------------------------------------------------
See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
----------------------------------------------------------------------- */
#include "plmregister_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#i... |
09f10fe4d96d4c35054aac68bb311ea8e8148b74 | 4e83005d14a1c2d513af2a7c1731b8dab90f875f | /src/FileInputStream.h | a1ddcf48b4cdcd1d906a25f0e3b5d35c354ce2cb | [] | no_license | chris1201/PDFParser | 6bf3139ad4173bc0aa655b4c606214a4c9e7e3af | fd2a38353dc35dd8f3dff2bda229114b17db0751 | refs/heads/master | 2021-01-18T09:10:38.945350 | 2014-08-18T02:34:28 | 2014-08-18T02:34:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | FileInputStream.h | #ifndef _FILEINPUTSTREAM_H_
#define _FILEINPUTSTREAM_H_
#include "CompoundInputStream.h"
class CFileInputStream : public CCompoundInputStream
{
public:
CFileInputStream(const char *pFile);
~CFileInputStream();
private:
int m_fd;
unsigned char *m_pData;
int m_nSize;
};
#endif
|
68f652c3104f7c40bf360a5e1585917707d4da84 | 27b3c7fa81a61d9f600ec3010c1e82002ef79b80 | /arm/mirrr/inc/crssink.h | fcf3b48070e45aee84f715e3953377f449a3b973 | [] | no_license | siemens-elfloader/elf | d9222a44481d3a6d2669446cd08c110a80f26225 | 878f7315e755a061967e6d8e0f59566829a9fbdf | refs/heads/master | 2023-02-13T06:59:48.187208 | 2021-01-06T09:41:52 | 2021-01-06T09:41:52 | 327,263,185 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,915 | h | crssink.h | #pragma option push -b -a8 -pc -A- /*P_O_Push*/
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.01.75 */
/* at Thu Apr 23 13:48:22 1998
*/
/* Compiler settings for crssink.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
er... |
65842ef1e9b7fa2e4ca47c03f9b918613d57bde8 | acdb11611fb73caa5a6d145e1a25ef2b347befbf | /Day 4/day4.cpp | 252af30ae6b38053d5a6a44126b7405a1614ba08 | [] | no_license | NKrChauhan/Data-Structures-and-Algorithms | 9e48c0ec4afba8b58c9259fd4f7e70c717cd4c94 | 2a801ad0cd6ce8f660d97b74027534e97ec9ca62 | refs/heads/main | 2023-03-12T17:34:49.829052 | 2021-02-19T10:53:34 | 2021-02-19T10:53:34 | 313,650,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,262 | cpp | day4.cpp | #include <iostream>
#include <queue>
#include <vector>
#include <map>
using namespace std;
// structure
struct node{
int data;
struct node *left;
struct node *right;
};
// previously made function reused decleration
struct node *makeBinarySearchTree(int a[],int l);
struct node *getNewNode(int data);
... |
37e571c10129a7d49154043d7296e65cec6f279a | a139a182d01c43b549b3a1955cefdae9c6db5c70 | /src/kernel/testdata/repo/oopl/cpp/metax/test_test/TestCaseMetaTest.h | 117c18faa0da85975a357044de867a5963960522 | [] | no_license | metaesque/meta | 520aebf4fecf5450f6cb5f3f024e6c1181d45b85 | 80ca357cb86e8669c7302c2c9277d8b47a23cc48 | refs/heads/master | 2023-05-24T18:41:53.104613 | 2023-05-15T01:09:42 | 2023-05-15T01:09:42 | 98,564,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | TestCaseMetaTest.h | #ifndef metax_test_test_TestCaseMetaTest_h
#define metax_test_test_TestCaseMetaTest_h 1
#include "metax/test/TestCase.h"
#include "metax/test/TestCaseMeta.h"
namespace metax {
namespace test_test {
// Auto-generated test class for auto-generated meta class metax.test.TestCaseMeta.
class TestCaseMetaTest : public met... |
f9d2dfcb0cf4e4296d6e60ee87b217cd51718f81 | afffc76c474fa0f489bfc266ac60410383895193 | /Ly Thuyet/Thi Thu Cuoi Ky/bai4/Project1/main.cpp | 42f5d31f9315d52a11f88ac577e6b8c5b70995c3 | [] | no_license | dvtrunggg/OOP | 5113f895b6e8c563a34985e25eebc8a9d5fe4d0b | 3209293cce74ae60a62241db13a2e8c1b7f2f50f | refs/heads/main | 2023-02-25T17:37:40.000985 | 2021-02-02T16:08:02 | 2021-02-02T16:08:02 | 333,431,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | cpp | main.cpp | #include"CongTyBaoHiem.h"
int main()
{
CongTyBaoHiem ct;
ct.Nhap();
ct.Xuat();
cout<<ct.tienThuDuoc();
return 0;
} |
e1d379c92827e0c074c4b3d4eee676e435fbe041 | 6686bf3fe706bd3ea414e9ab6a8cfdd345c81be6 | /Analysis/bin/wBackground.cpp | c569b2105a540135fc794fbc9a615e0cb96dbc51 | [] | no_license | jimbrooke/InvisibleHiggs | 1e15e4fd1a06151ab415a0ed69061260b02e38b3 | 95e2c792c7b75e1e0606b6e4c9bca83c9f763592 | refs/heads/master | 2021-01-02T08:13:51.445096 | 2014-04-01T17:53:10 | 2014-04-01T17:53:10 | 11,792,965 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,362 | cpp | wBackground.cpp |
#include "InvisibleHiggs/Analysis/interface/ProgramOptions.h"
#include "InvisibleHiggs/Analysis/interface/Cuts.h"
#include "InvisibleHiggs/Analysis/interface/Histogrammer.h"
#include "InvisibleHiggs/Analysis/interface/StackPlot.h"
#include "InvisibleHiggs/Analysis/interface/SumDatasets.h"
#include "InvisibleHiggs/Anal... |
5292e353362913107965b6e636143561ac5c0795 | a664d3114183d35c7375a7466f93408573bf37a6 | /AdaEngine/utils/head/CommandQueue.h | 29e504b85380a35e72a87b12be5fe9879e06e1a2 | [
"MIT"
] | permissive | CookieYang/AdaEngine | 6dbfde834e2495b372446053116d0829a37f5867 | e027a44113f58bd145880b42e1910487ebd5317f | refs/heads/master | 2020-05-15T21:53:39.561618 | 2019-06-14T12:03:39 | 2019-06-14T12:03:39 | 182,510,930 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,643 | h | CommandQueue.h | #pragma once
#include <thread>
#include <mutex>
#include <condition_variable>
#include <cassert>
#include "SimpleType.h"
#include "Engine.h"
#define COMMA(N) _COMMA_##N
#define _COMMA_0
#define _COMMA_1 ,
#define _COMMA_2 ,
#define _COMMA_3 ,
#define _COMMA_4 ,
#define _COMMA_5 ,
#define _COMMA_6 ,
#de... |
1fa7bef2ccdda954b59c75b632226109adbf9ad0 | afe758963925562f3c0ee578f87e8d6255ad9507 | /src/particle_filter.cpp | 794b99db5b2f834473cc7845ba24bf668a406b33 | [] | no_license | sonofram/CarND-Kidnapped-Vehicle-Project | c62c01a618cf18d9df056ebca22421a676b01ccb | 828043fa237eda7bc2921e35ec89d44444045cce | refs/heads/master | 2021-01-02T09:17:46.242598 | 2017-08-06T22:50:15 | 2017-08-06T22:50:15 | 99,185,879 | 0 | 0 | null | 2017-08-03T03:19:54 | 2017-08-03T03:19:54 | null | UTF-8 | C++ | false | false | 11,941 | cpp | particle_filter.cpp | /*
* particle_filter.cpp
*
* Created on: Dec 12, 2016
* Author: Tiffany Huang
*/
#include <random>
#include <algorithm>
#include <iostream>
#include <numeric>
#include <math.h>
#include <iostream>
#include <sstream>
#include <string>
#include <iterator>
#include "particle_filter.h"
using namespace std;
... |
386378ec64308b586474b694391f1b00646dda2a | a52a5c89f7be672464695fddd59e70ca3cc0b5ff | /automationstate.cc | 9f4faef7d58ef35c97b849e7876443addf3c8fec | [
"Apache-2.0"
] | permissive | google/rct-automation | f41113e761c1e9860e67bc3e76dfcdd2fc436bb5 | 623362573fe030840183228acf722469c2cf9c64 | refs/heads/master | 2023-04-02T01:25:26.057062 | 2014-08-22T20:42:38 | 2014-08-22T20:42:38 | 23,001,786 | 21 | 13 | null | null | null | null | UTF-8 | C++ | false | false | 6,339 | cc | automationstate.cc | /*
* Copyright 2012-2014 Google, Inc.
*
* 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... |
e490f1a2439d487122216de459ea1bcaa0a0c536 | 4ad7ee2b92bfc5d3a26b4318a62e4bdff5a80a01 | /Chapter_3_Libraries_Interfaces/3_3_Strings/Exercise_3_8.cpp | ac0cabfe5a6aae922c9ab352a871f9f23c988531 | [] | no_license | oya163/DataStructure_Cpp | 9669e1f018b2efaf701232cdcdcecf08bf9aab5a | 3d4462751a245f57446a780e68b72ce0a7c22409 | refs/heads/master | 2021-01-13T03:10:47.293467 | 2017-03-22T15:27:39 | 2017-03-22T15:27:39 | 77,426,506 | 0 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 988 | cpp | Exercise_3_8.cpp | /*
Without using the string method substr, implement your own function
SubString(s, pos, len), which returns the substring of s, beginning at position
pos and including at most len characters. Make sure that your function correctly
applies the following rules:
a. If pos is negative, it is set to 0 so that it indicates ... |
34a04347234ec6ff6b0f33ffd7a5f286d1b6252b | cb44f695e3f62b2b6d726c4da8f6b21adb444e2d | /IslandMainProject/Source/IslandMainProject/Public/Damageable.h | 8519b0e7d0a7d4ccbd6bfc6a8b6b1b0edae4ff69 | [] | no_license | plutoshe/MeshTool | 462597c1b2737228c1ff266f25e9150301ce67f6 | cde50b1507ef7fc71b7082f4d9bee6a8ea643bea | refs/heads/master | 2020-09-02T03:52:19.982797 | 2019-11-02T08:18:01 | 2019-11-02T08:21:24 | 219,126,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | h | Damageable.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "Damageable.generated.h"
// This class does not need to be modified.
UINTERFACE(BlueprintType)
class UDamageable : public UInterface
{
GENERATED_BODY()
};
/**... |
22a92b353b212847927f2bee177cc921db810ae0 | 63d41dba70f1c27bc128cecd390b4dcb80a7e0b5 | /SimulationCore/sckeyboardcontrolledobj.h | 80a266882bc6fc8f11e317462e816a5057edceae | [] | no_license | null0000/MOV | 8f77c8021cd3ffe5fa36671859a791bac34dfa25 | 7689362ed0a82c8d740c6bd1eb596ed8586e8fcd | refs/heads/master | 2016-09-06T00:40:33.947153 | 2015-03-04T21:06:30 | 2015-03-04T21:06:30 | 14,441,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | h | sckeyboardcontrolledobj.h | #ifndef SCKEYBOARDCONTROLLEDOBJ_H
#define SCKEYBOARDCONTROLLEDOBJ_H
#include <QVector2D>
#include <QSharedPointer>
#include "simulationcore_ie.h"
#include "scKeyboardInput.h"
class scKeyboardState;
class scObjDesc;
class scMovementDesc;
class scWorldDesc;
class SIM_IE scKeyboardControlledObj {
public:
scKeyboa... |
f847ffa03637f2c47484d68b48d695b9cf44ca47 | 408d8348d7698a2d92bef73c68d277b6206e4225 | /src/C4Network2IO.h | 339012078ec58f1a404a6751ad4def183c791441 | [
"ISC"
] | permissive | legacyclonk/LegacyClonk | b8cad7fa8b3634c79a3c03b3f25e622d74bb2250 | 6281c878e42026b6b10d39819243af8f6673aabd | refs/heads/master | 2023-08-17T03:27:30.561982 | 2023-08-13T16:37:08 | 2023-08-13T16:37:08 | 194,545,617 | 62 | 16 | NOASSERTION | 2022-10-29T15:31:12 | 2019-06-30T17:58:19 | C++ | UTF-8 | C++ | false | false | 14,048 | h | C4Network2IO.h | /*
* LegacyClonk
*
* Copyright (c) RedWolf Design
* Copyright (c) 2013-2018, The OpenClonk Team and contributors
* Copyright (c) 2017-2021, The LegacyClonk Team and contributors
*
* Distributed under the terms of the ISC license; see accompanying file
* "COPYING" for details.
*
* "Clonk" is a registered trade... |
38cdf919c5c474032f3224214ec37ff7a7fa6d59 | 682fff6346995f264f5a7cb139227d1beb6c9192 | /taller/server/GestorEscenario.cpp | e4096d98b91419e217b4be4a3e96d0467860399f | [] | no_license | demianLopez/taller | 7cb02200360d3f9ca9188bd41b3121ac63c0da76 | 5b38e6e7a3060870d9a7a1db649fc7ad2ec4b5ca | refs/heads/master | 2020-05-17T11:22:53.761643 | 2014-12-09T23:21:59 | 2014-12-09T23:21:59 | 23,194,531 | 0 | 1 | null | 2014-10-29T23:32:13 | 2014-08-21T16:28:59 | C++ | UTF-8 | C++ | false | false | 11,126 | cpp | GestorEscenario.cpp | /*
* GestorEscenario.cpp
*
* Created on: 17/9/2014
* Author: FireHorse
*/
#include "GestorEscenario.h"
#include <Box2D/Box2D.h>
#include "polygons/PolygonFactory.h"
#include "../common/Logger.h"
GestorEscenario::GestorEscenario() {
}
GestorEscenario::~GestorEscenario() {
}
escenario* GestorEscenario::ge... |
14832862673ac26a0de7441ff0df14f415a11c03 | cb42f051ad3183f4e0d6408deeb7bda6bc507ff5 | /ex07_simple_line_follower/nr.inc | 64b645553852e1e7b5cfde79cf7124faaf5f2948 | [] | no_license | elecrom/el_mega16_sample_codes | 5d6f0e4d14160c5742bddbafd8c8cee544280298 | 2bcf524ae0ce36259957a8bb1972095301d01a34 | refs/heads/master | 2021-01-12T07:33:44.137510 | 2016-12-20T17:23:36 | 2016-12-20T17:23:36 | 76,977,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | inc | nr.inc |
.DEF _adcch=R4
.DEF _tmp=R5
.DEF _dir=R6
__GLOBAL_INI_TBL:
.DW 0
_0x24:
|
95a9b03e6cc5d14e433eaa4863f1ebdeebb7c4e3 | 087f98db3fe1ee6bdc5625f3d1888dfb5c0070f5 | /Q_learnig_by_STVIAN004/Q_learning/CDiscCollisionObject.cpp | 9359e9dee77e3da91b1752477653bd832b56545c | [] | no_license | IanStevens1/Q-Learning | 56bb5bbaa21df9476b247d8238e7c9711a842cb7 | f0082677e8236a6ac0e6db14a48a53d1baf52e02 | refs/heads/master | 2021-01-23T05:45:27.041872 | 2014-10-01T17:38:57 | 2014-10-01T17:38:57 | 24,688,225 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 648 | cpp | CDiscCollisionObject.cpp | #include "CDiscCollisionObject.h"
#include "SVector2D.h"
CDiscCollisionObject::CDiscCollisionObject(): CCollisionObject(ObjectType::Mine)
{
m_vPosition = new SVector2D<int>(0,0);
}
CDiscCollisionObject::CDiscCollisionObject(ObjectType objectType, SVector2D<int> position):CCollisionObject(objectType)
{
m_vPosition = n... |
77669816909c32675ffc4725999af94eb7207ed6 | 880557ea1db4b385e7dca82afb82818e7e47f5dd | /src/diagnostic/loggerDevice.h | d3a522bf89f393740c9f868c5c6afbf3d7c72faa | [] | no_license | fscur/phi | 45db0903463add36108be948381511a7f74f4c8d | 4b147bbd589b0bec89f59fa3ed843b927b6b0004 | refs/heads/master | 2021-01-20T11:44:18.781654 | 2017-02-22T13:53:22 | 2017-02-22T13:53:22 | 82,651,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | loggerDevice.h | #pragma once
#include <phi.h>
namespace phi
{
class loggerDevice
{
public:
loggerDevice() {};
virtual ~loggerDevice() {};
virtual void logError(string message) = 0;
virtual void logWarning(string message) = 0;
virtual void logInfo(string message) = 0;
};
} |
f423d5f00aad43a8f65dac0611c8659322dc8dcc | 0379dd91363f38d8637ff242c1ce5d3595c9b549 | /windows_10_shared_source_kit/windows_10_shared_source_kit/unknown_version/Source/Audio/Test/uaatest/HdHitPlugin.cpp | 4265835385c5cfcaf53670ddd63af56f85de49aa | [] | no_license | zhanglGitHub/windows_10_shared_source_kit | 14f25e6fff898733892d0b5cc23b2b88b04458d9 | 6784379b0023185027894efe6b97afee24ca77e0 | refs/heads/master | 2023-03-21T05:04:08.653859 | 2020-09-28T16:44:54 | 2020-09-28T16:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,221 | cpp | HdHitPlugin.cpp | /*
* Copyright (c) Microsoft Corporation. All rights reserved.
*/
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#include <tchar.h>
#include <atlstr.h>
#include <shell98.h>
#include <module98.h>
#include <dvmodule.h>
#include <cfgmgr32.h>
#include <setupapi.h>
#include <hi... |
7ff48e263d3cec9140b1bc247d365606621308ea | 924763dfaa833a898a120c411a5ed3b2d9b2f8c7 | /compiled/cpp_stl_11/debug_0.cpp | 74c5434dda10188c2c94913157a870c81af151a3 | [
"MIT"
] | permissive | kaitai-io/ci_targets | 31257dfdf77044d32a659ab7b8ec7da083f12d25 | 2f06d144c5789ae909225583df32e2ceb41483a3 | refs/heads/master | 2023-08-25T02:27:30.233334 | 2023-08-04T18:54:45 | 2023-08-04T18:54:45 | 87,530,818 | 4 | 6 | MIT | 2023-07-28T22:12:01 | 2017-04-07T09:44:44 | C++ | UTF-8 | C++ | false | false | 740 | cpp | debug_0.cpp | // This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
#include "debug_0.h"
debug_0_t::debug_0_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, debug_0_t* p__root) : kaitai::kstruct(p__io) {
m__parent = p__parent;
m__root = this;
m_array_of_ints = nullptr;... |
e958e9a27847766734e058abe5b5af2cbe6d8af4 | b0177018417e035e34e6eaf7a3d4eaa2e93e2308 | /ext/ml4r/MachineLearning/GBM/GBMEstimator.h | 90aeee89aa1be376738565443d770100a801f131 | [] | no_license | vlc/ml4r | 5fb91be3e6fc89052d977a3947d439f8dbe534aa | 0b95465ff215cf70ff82b4ee69adb7bf5b531c27 | refs/heads/master | 2020-12-25T00:28:18.094054 | 2014-03-30T08:03:34 | 2014-03-30T08:03:34 | 4,769,047 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | h | GBMEstimator.h | #ifndef GBMEstimator_h__
#define GBMEstimator_h__
#include "MachineLearning/DecisionTree/FeatureInteraction.h"
#include "MachineLearning/MLEstimator.h"
#include <boost/shared_ptr.hpp>
#include <vector>
#include <map>
#include <set>
#include <utility>
using std::pair;
using std::set;
using std::map;
usin... |
bc0c7d3f9b6fc1e8ba3ba959eb002f28933c8144 | d89004697363eb29005e74021bdf00b13e6cce4c | /snake.h | d81f84b0a1b76fc21f6b698b82dead948cfda19e | [] | no_license | Aisson/Snake | 97ab494fe21db70dea7a58837b8fde2b2f332d9f | 3beab2a8f90f2b8db78beda32eda65f0f91b7aa0 | refs/heads/master | 2023-03-16T23:40:00.607148 | 2021-03-01T08:46:03 | 2021-03-01T08:46:03 | 343,343,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | snake.h | #pragma once
#include <conio.h>
#include <vector>
#include "unit.h"
#include"food.h"
#include"control.h"
typedef enum Dir
{
KUP,KDOWN,KLEFT,KRIGHT,STOP
};
class snake
{
public:
int m_HeadX;
int m_HeadY;
int m_Len;
int m_Speed;
static int speed;
//static int score;
//static int level;
int m_iScore;
int m_i... |
fb4c79638320f0ac8c77784248080187678fb2c8 | f00e82e62d21b96ec8fc9938159eb5e57c98c301 | /v2.5/GEAR Studio/Project.cpp | ecfd0334ef73fa70ef9436177c03a39c9b567292 | [] | no_license | andyreimann/gear | b1aca01ccd5fb9ecda8cd63190b8d9c87e142a72 | d58ce2ea4e284b9f6e5c82c88742f2cfdbfb89d9 | refs/heads/master | 2020-05-18T06:46:03.385546 | 2015-02-02T23:04:06 | 2015-02-02T23:04:06 | 17,493,522 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,426 | cpp | Project.cpp | #include "Project.h"
#include "GEARStudioEvents.h"
#include <G2/StringTools.h>
#include <fstream>
#include <QProgressDialog>
Project::Project(std::string const& projectDirectory) :
JsonDeserializer(projectDirectory + "/project.json"),
JsonSerializer(projectDirectory + "/project.json"),
mProjectDirectory(projectDir... |
653349cece3364bab65334fb5f21132ac8f108da | 2f535dbc215dc2b01738617311015c4647154936 | /spellcorrector/在线部分/src/Thread.cc | 50421769f3bb2fa50157a86f2a2f887cad144fb4 | [] | no_license | zlmone/2020 | 759e56a7611dadcb675792367457d35097a3be62 | 1d5594545cbd8389a0f05724ceb1e34107017621 | refs/heads/master | 2022-04-08T10:39:02.332613 | 2020-03-13T09:47:17 | 2020-03-13T09:47:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | cc | Thread.cc | #include "../include/Thread.h"
#include<iostream>
using std::cout;
using std::endl;
namespace wd{
namespace current_thread{
__thread const char *threadName="wd thread";
//extern表示“外来的”意思
}
using ThreadCallback=std::function<void()>;
struct ThreadData//大概是用于存储每个线程特有的属性
{
ThreadData(const string name,ThreadCallback... |
6ddbfc8b6ee773746ccf582acfb5a47d89c5b14d | fe69e4e586f3017571684517e5e74592d2af9731 | /09375/9375.cpp11.cpp | 288305bebafb7e1c4efad3e65e5bf0f3c56d1d2a | [] | no_license | computerphilosopher/BOJ | f8fc0b8deb462cb29ac842a85a194cbf098856ec | ad4bba6aca97bfe3bb98845867402ee491380e47 | refs/heads/master | 2020-05-03T18:11:12.155118 | 2019-04-01T00:28:42 | 2019-04-01T00:28:42 | 178,757,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | 9375.cpp11.cpp | #include <string>
#include <iostream>
#include <map>
#include <vector>
using namespace std;
int solution(vector<vector<string>> &clothes) {
int answer = 0;
map<string, int> hash;
for(auto v : clothes){
hash[v[1]] += 1;
}
answer = 1;
for(aut... |
5c0ceef3dac19a72d8a1f8b8426671ed43503228 | 339261bea4044688f85d49eb7c7fc344ff8ac773 | /app/log_server/app_writer.h | 98519b524b3273d83d4e60afc0a0d15369030cfe | [] | no_license | jiangyong27/tnf | 64392e9c65cfd0e796c9adb027887daf93b87219 | 7e045b651f3256226e8813b145835855aeefd036 | refs/heads/master | 2021-01-18T18:30:38.877214 | 2016-08-01T15:38:49 | 2016-08-01T15:38:49 | 64,679,518 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | app_writer.h | #ifndef _DATA_JASONYJIANG_COMMON_PROJ_TOOLS_TNF_APP_LOG_SERVER_APP_WRITER_H
#define _DATA_JASONYJIANG_COMMON_PROJ_TOOLS_TNF_APP_LOG_SERVER_APP_WRITER_H
#pragma once
#include "net/net_queue.h"
#include "net/net_thread.h"
#include "net/net_logger.h"
#include "net/net_epoll.h"
class CAppWriter : public Thread
{
public:
... |
348aee7dd92476f2205e0e29255cb438a33d1331 | 37860b1135d21e1af386ad414ce1ed192f23717b | /GCJ2009/Round1B/A.cpp | 0aa0f54a27b80cb006bb8a20bea8cb429c694075 | [] | no_license | bnuzhanyu/GCJ | d9e42882ef45908efd17b168c5c451f55524b872 | db6a156be737349c8c35445bad8f3d8ff0ddc81e | refs/heads/master | 2022-07-01T05:16:00.920563 | 2022-05-16T05:53:11 | 2022-05-16T05:53:11 | 83,320,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | A.cpp | #include <iostream>
#include <sstream>
#include <stdio.h>
#include <string.h>
#include <set>
#include <string>
#include <map>
#include <algorithm>
#include <vector>
#include <queue>
using namespace std;
#define FOR(i,n) for(int i=0; i<n; i++)
typedef unsigned long long ull;
typedef long long ll;
voi... |
1a366c23f1d1af88b3d509702ea177efc2ddd246 | f95ca67a47039410eeec30b64a8e6ce58a3dcce6 | /src/msg/DataMsg.hpp | c8fe34bd0333f84ba62f8f4838af59dc1bd0564e | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | phamtec/skweltch | 782a9413d10c4a8005acfedc7263e086c9d20577 | 9bd4f828e4ca30cd7058cf30be82329c5e3af637 | refs/heads/master | 2020-05-26T23:16:54.108880 | 2015-03-17T07:43:49 | 2015-03-17T07:43:49 | 10,887,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | hpp | DataMsg.hpp |
#ifndef __DATAMSG_HPP_INCLUDED__
#define __DATAMSG_HPP_INCLUDED__
#include "Msg.hpp"
#include "IDataMsg.hpp"
/**
Message that contains data.
*/
template <typename DataType>
class DataMsg : public Msg<msgpack::type::tuple<int, clock_t, DataType> >, public IDataMsg {
public:
DataMsg(const zmq::message_t &message) ... |
cd6fb72a7cd419ec3d87e7a5d9297e3457755023 | c3e6a7fca5e47d6d6094d4a589b7f31506d4387a | /AudioReflectorDriver/ARStereoPanControl.cpp | 6a0de453a744192209d820fe17d3ddaf4af66673 | [] | no_license | fruitsamples/HAL | d5731f67ff6373fae4aaf3d334443f7c934c6a8f | b9d11a4b1d955bf509361e1bbb9b13139a8f7334 | refs/heads/master | 2021-01-10T11:07:21.408727 | 2015-11-04T03:20:32 | 2015-11-04T03:20:32 | 45,437,461 | 0 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 7,354 | cpp | ARStereoPanControl.cpp | /* Copyright © 2007 Apple Inc. All Rights Reserved.
Disclaimer: IMPORTANT: This Apple software is supplied to you by
Apple Inc. ("Apple") in consideration of your agreement to the
following terms, and your use, installation, modification or
redistribution of this Apple software constitutes acceptance of t... |
c6bf9a0230b8bcd007117e5c2e1895614bf18e08 | 648eafe3a182d6753bdc65cdb50add2a2826930d | /2 - Árvore Binária de Busca/main.cpp | f2305d626c5f009b1cc31b80097d642cc68a0470 | [] | no_license | filipedwan/Estrutura-de-Dados-II | eb5a2060449a2d36ebdd319210a221e729402e9e | a38bced9f75208c2a56fe918f8bef68324ac8c53 | refs/heads/master | 2021-09-11T18:21:32.195773 | 2018-04-11T00:36:40 | 2018-04-11T00:36:40 | 125,720,606 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | cpp | main.cpp | #include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include "arvbb.h"
int main() {
Arv_bin* arv = abb_cria();
abb_insere(arv, 'g');
abb_insere(arv, 'c');
abb_insere(arv, 'p');
abb_insere(arv, 'b');
abb_insere(arv, 'd');
abb_insere(arv, 'h');
abb_insere(arv, 'r');
abb_remove(arv, 'g');
abb_remove(... |
3e0a528433d9d1682a4d71dfcba071c8b80c1850 | 4780fa2ddbb72ed082efa3c35e8427e53161dd7a | /behavioralStateMachine/CRecollect.h | 53b66fd526c133627f421002fe8abf3d5c7ddb2e | [] | no_license | luricardorod/createWorlds | 0834c21cf9e804cd6806375aa81a02e1bfce72c0 | c5a43b6952d48ce365ed99f1a7dfaaee67d4209b | refs/heads/master | 2021-01-21T20:34:42.807890 | 2017-08-17T00:39:21 | 2017-08-17T00:39:21 | 92,255,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | h | CRecollect.h | #pragma once
#include "CStates.h"
class CRecollect :
public CStates
{
public:
int Update(CUnits* unit, float deltaTime);
void OnEnter(CUnits *unit);
void OnExit(CUnits *unit);
CRecollect();
~CRecollect();
};
|
ab864662bf2f66084b85ad234a0a8ade09204946 | f3e0b57dbb25b189ebf547050eed02be896652c8 | /b844.cpp | 5e94daed8c4d954da727bbd8ec250405d7aec229 | [] | no_license | txya900619/zerojudge | 60d0a129cdb797bc772ac67c73210bb97294dbb9 | 9a403a72b8b617a4f7a81266b881ef13bcab71a8 | refs/heads/master | 2021-07-10T18:46:27.806157 | 2020-10-26T06:33:36 | 2020-10-26T06:33:36 | 211,144,941 | 1 | 2 | null | 2020-10-26T06:33:37 | 2019-09-26T17:27:47 | C++ | UTF-8 | C++ | false | false | 777 | cpp | b844.cpp | #include <bits/stdc++.h>
#include <algorithm>
using namespace std;
int main(int argc, char *argv[])
{
ios::sync_with_stdio(0), cin.tie(0);
long n = 0, q = 0, m = 0, ask = 0;
cin >> n >> q;
long datas[n];
for (long i = 0; i < n; i++)
{
cin >> datas[i];
}
sort(datas,datas+n);
w... |
e570754cdae7a6f15007dd766cf0694031760ed5 | 3b13eedb87e6545f832e1c62b8cb05b8428a897b | /src/main/avikodak/sites/codechef/easy/spoon.h | 030b28144f1896ff7b8cc2c39aab9435bbab5892 | [] | no_license | avikodak/algos_v2 | a9c66b2f2b862318f12feb216240a9a66249aa2b | e1c77f1064c83599d0e57f426319ab536a6eeb29 | refs/heads/master | 2021-01-19T20:43:29.366352 | 2017-03-25T17:15:22 | 2017-03-25T17:15:22 | 24,980,353 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,140 | h | spoon.h | /****************************************************************************************************************************************************
* File Name : spoon.h
* File Location : /home/avikodak/Desktop/projects/algos_v2/src/main/avikodak/sites/codechef/easy/spoon.h
* Cre... |
5b35e1838962ad331e7d43d221e3b4a447c54102 | d6ab12f806552b4a754edfba40e29ce6b1aec786 | /pausewidget.h | f5a87215647184f71485bc53200ad4f7e40f5f17 | [] | no_license | tecton/HexGame | 998e4373001d93fb1bafb671bb60a60b6452f5b5 | 3fe9d7b8e0ca6abd1f9eb84eb08fb931a5a86171 | refs/heads/master | 2021-01-20T05:08:33.789717 | 2011-11-01T03:57:44 | 2011-11-01T03:57:44 | 2,028,141 | 1 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | h | pausewidget.h | #ifndef PAUSEWIDGET_H
#define PAUSEWIDGET_H
// File must include
#include "abstractpixmapwidget.h"
#include <QVector>
// Forward declaration
class AbstractItem;
class StringItem;
/**
* @brief A class to show the pause widget.
*/
class PauseWidget : public AbstractPixmapWidget
{
Q_OBJECT
public:
/**
* @brief... |
a7768410d5bb5f482cb413cbdf653efb9d0eab7a | 787b915243a8d1658f339152c05f80d14db69226 | /cacl/widget.cpp | cb9bf2cdd5dea87642718b4af52801a5bbcfd423 | [] | no_license | Justicewa/QT | ab1a81b6baeb3e5b4adcbad20e6d78516a2baba8 | 082e69de6ed7b9e9c69237d9854f43c4fcd96c78 | refs/heads/master | 2020-05-17T13:52:11.396018 | 2019-05-04T14:44:38 | 2019-05-04T14:44:38 | 183,747,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | widget.cpp | #include "widget.h"
#include "ui_widget.h"
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
}
Widget::~Widget()
{
delete ui;
}
void Widget::on_pushButton_clicked()
{
char string1[20]={0};
char string2[20]={0};
char fu[2]={0};
int sum = 0;
... |
625da7cdd2702ea64a33c3461914c2b8a7486144 | 7d1e67fa845aa3c0ab57b484a3d6167c15af4927 | /EspOledSelect/setTemp.ino | 64c3b0797593374ce6153440441768e5a1fea64a | [] | no_license | bavensky/ESP8266-OLED-SettingMode | 784341070267959a389714aeea7b37f24c1609ee | 8dff226b30f2114b44b5ec8a7bf7b5907a9b9242 | refs/heads/master | 2021-08-14T18:32:12.068323 | 2017-11-16T13:45:43 | 2017-11-16T13:45:43 | 110,099,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | ino | setTemp.ino | void mode2() {
Serial.println("set Temp avarible");
delay(200);
if (digitalRead(BT0) == 0) {
tmpCount += 1;
}
if (tmpCount > 30) {
tmpCount = 20;
}
display.clear();
display.setTextAlignment(TEXT_ALIGN_LEFT);
display.setFont(ArialMT_Plain_16);
display.drawString(0, 0, "Smart Farm");
dis... |
e699ff33b9cba3b58689306d9b8b0723ea0d178b | 435be38e1fec093c3a38ef328216b2ec04bd37e0 | /1017.Packets.cpp | 5e5c271e27a40a4008569a3158599309fbe00d99 | [] | no_license | renardbebe/myPOJ | 54197da713d9fdcb85a0f7fbe2d565f6cfd8640c | 68f603993b7b1fa105043e22337a031a8eef9e64 | refs/heads/master | 2018-12-08T18:19:53.966837 | 2018-09-17T08:11:32 | 2018-09-17T08:11:32 | 117,306,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | 1017.Packets.cpp | #include <iostream>
#include <cstdlib>
#include <cstring>
#include <algorithm>
using namespace std;
int main () {
int N, a, b, c, d, e, f, y, x; // N用来存储需要的箱子数目,y用来存储 2*2 的空位数目
int u[4] = {0, 5, 3, 1};
/* 数组u 表示3*3 的产品数目分别是 4的倍数,4 的倍数+1, 4 的倍数+2, 4 的倍数+3
时,为3*3的产品打开的新箱子中剩余的 2*2的空位的个数 */
while(1) {
scanf("%d... |
457cc0513d17b118ce2ad9bf7544e0d144bd928b | 77e27b77795159808583ca3a4e4d16249d4bab1b | /Chapter 4/Chapter4Number8.cpp | 98045e110b27ea0e4f953f8eff4aac8d10d50a35 | [] | no_license | doodayev/GaddisChallenges | 8c7debda40f8fb70377dbb066f828ec3da75b751 | a60717d95f1db389dba6c377034589d2fc621a6d | refs/heads/master | 2022-12-04T14:19:47.734570 | 2020-07-10T09:25:01 | 2020-07-10T09:25:01 | 265,373,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | cpp | Chapter4Number8.cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string choice1;
string choice2;
cout << "Enter a color that's red, yellow, or blue \n";
cin >> choice1;
cout << "Enter another color that's red, yellow, or blue \n";
cin >> choice2;
if ((choice1=="blue" || choice1=="Blue" || choice1=="BLUE... |
333955787810d0630c4aeb556c4f2117a326e361 | 48044db9c9b4b40767dc707bb0efc15f368017b7 | /Ptr_Swap.cpp | 3cf28ace2fe04be5318de0f77a7580b447a93c29 | [] | no_license | Wade-Benoit/Udemy_Cpp_Section_12 | c0fd7428057e8aa94b3518f1d0838c3568581f3d | 7f984532a56cc719861755d5c9f10ab7e6ce3c35 | refs/heads/main | 2023-03-23T18:43:54.353005 | 2021-03-17T06:37:25 | 2021-03-17T06:37:25 | 348,602,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | Ptr_Swap.cpp | // PASSING POINTERS TO FUNCTIONS 2, WITH SWAP
#include <iostream>
using namespace std;
void swap(int *a, int *b); //function that accepts two pointers to integers
int main() {
int x {10};
int y {20};
cout << "\nx: " << x << " and y: " << y << endl;
swa... |
402c6168b3a634f459ade5489ebd8569439b4b48 | 4f3fdea3a0dc75a4f4ea9ba1aded3e1f75b19d64 | /1. Graf nieskierowany/src/Graph.cpp | d17172ed54a609d6f57e64c0b11702db5f2a9d40 | [] | no_license | matelko123/Projekty-cpp | 48f09639dbb7f282c286676bbf0c541a8111c7a1 | 8658b4289cad440394be8698df92785c224afa54 | refs/heads/main | 2023-05-14T01:56:29.563033 | 2021-06-06T21:17:53 | 2021-06-06T21:17:53 | 358,951,482 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,536 | cpp | Graph.cpp | #include "Graph.hpp"
Graph::Graph() {}
Graph::Graph(std::string filename)
{
loadData(filename);
}
Graph::~Graph()
{
clear();
}
void Graph::clear()
{
for (auto node : graf)
node.clear();
}
void Graph::loadData(std::string filename)
{
// File stream
std::fstream fin;
fin.open(filename, ... |
bbfcc2454f34c4b9621c5f442f9cb16cfd7fd901 | 7495529047d2f5ce25e7bfd696b88c44c42a926d | /new_code/rule.h | e8c7e5b323d42f83cab313a3da5c2800f2c1148d | [] | no_license | hitaitengteng/honors | a768b3d3455bbd2a408d281ab77de4f75cd54713 | a13a6091e09b8837366c22c640421feca9261c23 | refs/heads/master | 2021-09-26T22:31:43.244030 | 2018-11-03T21:10:59 | 2018-11-03T21:10:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,076 | h | rule.h | #ifndef RULE_H
#define RULE_H
#include "attribute.h"
/****************************************************************************
* File: rule.h
* Author: Will Gantt
* Description: Defines the Rule class and declares related functions
*
* A rule is the basic evolutionary unit in a Michigan-style
... |
b84807ec4f9bf5c8c44edee92a962b1f436589c9 | 68e3dbe1bf28683d34446a6d4eb6b18d5ad6abcb | /TopicWise Problems/Recurrsion/last index where an element is present.cpp | 44f90c0b2e8270e2a8f6c488399b9e83b839c111 | [] | no_license | VyankteshVyas/Competitve-Coding | 6d7188308eb522caa34ce9e713241a1039557bff | da6e79b899b06677599144ed0bd85c9cc7305484 | refs/heads/master | 2022-12-29T08:03:02.404891 | 2020-10-20T15:58:51 | 2020-10-20T15:58:51 | 266,714,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | last index where an element is present.cpp | #include<bits/stdc++.h>
using namespace std;
int lastindex(int arr[],int currindex,int val){
if(currindex==-1){
return -1;
}
if(arr[currindex]==val) return currindex;
else return lastindex(arr,currindex-1,val);
}
int main(){
int arr[]={5,9,23,9,2};
int res=lastindex(arr,sizeof(arr)/sizeof(int)-1,9);
... |
385342cde436213186d24b491a66d661c37f79d3 | 76e7a6908ca1058fad5ca7ed0916721884546242 | /source/Erwin/core/application.cpp | c40b8e073795211193ed03b878d75e110979e362 | [
"MIT"
] | permissive | ndoxx/erwin | 9bbb1a0b330d990a1d8a26b9338b8a026c4aa317 | 505884805391feb54e484fbb46277a492a2e65e0 | refs/heads/master | 2022-10-29T01:03:42.214948 | 2020-09-24T05:28:48 | 2020-09-24T05:28:48 | 206,838,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,936 | cpp | application.cpp | #include "core/application.h"
#include "core/clock.hpp"
#include "core/intern_string.h"
#include "core/config.h"
#include "imgui/imgui_layer.h"
#include "input/input.h"
#include "filesystem/filesystem.h"
#include "render/common_geometry.h"
#include "render/renderer.h"
#include "render/renderer_2d.h"
#include "render/re... |
807971cb12b6c398778fce39a11b6a3620f7d1b9 | 43704e0722995cb5d94f04c6772ea315734c853e | /C++Primer_vs2017/9.26.cpp | f47518e69843e29a4746a0e0794e77113caf8c07 | [] | no_license | lirui233/C-Primer_vs2017 | fb52e61baeefa25ba9bbb6dda82dd0946633b686 | 88eacaa75e2166e2e38f95be1a6658222997a599 | refs/heads/master | 2020-03-18T18:41:16.560775 | 2018-06-19T05:56:00 | 2018-06-19T05:56:00 | 135,107,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cpp | 9.26.cpp | #include <iostream>
#include <vector>
#include <list>
using namespace std;
int main(void)
{
int a[] = { 0,1,1,2,3,5,8,13,21,55,89 };
vector<int> vec(a, a+11);
list<int> l(a, a+11);
auto iter = vec.begin();
for (;iter != vec.end();)
{
if (0 == (*iter) % 2)
{
iter = vec.erase(iter);
}
else
{
++ite... |
3157fa770fa737297c4fe5680583690a4689825d | 03b5b626962b6c62fc3215154b44bbc663a44cf6 | /src/instruction/VPERMW.cpp | 294dfe247e96a5e52f0cbd2d84a824e80accec1e | [] | no_license | haochenprophet/iwant | 8b1f9df8ee428148549253ce1c5d821ece0a4b4c | 1c9bd95280216ee8cd7892a10a7355f03d77d340 | refs/heads/master | 2023-06-09T11:10:27.232304 | 2023-05-31T02:41:18 | 2023-05-31T02:41:18 | 67,756,957 | 17 | 5 | null | 2018-08-11T16:37:37 | 2016-09-09T02:08:46 | C++ | UTF-8 | C++ | false | false | 183 | cpp | VPERMW.cpp | #include "VPERMW.h"
int CVPERMW::my_init(void *p)
{
this->name = "CVPERMW";
this->alias = "VPERMW";
return 0;
}
CVPERMW::CVPERMW()
{
this->my_init();
}
CVPERMW::~CVPERMW()
{
}
|
33434551c9610d9eef436d85afa9b2acd276b6bc | db5664467043ecdf04304ad6e285251c137a803c | /codility/NumberOfDiscIntersections/src/utests.cpp | 561eaa8e7353df3215fa8b497948ec1b1a71629f | [] | 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 | 1,124 | 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
*/
#include <vector>
// 3rd party libraries
#define CATCH_CONFIG_MAIN // provides creation of executable, should be above catch.hpp
#include "catch.... |
f3c4b05f0da7e5246bf605fd1d36289da590b064 | 00d712168ab09a7be4d77b0c2e0639df13fa2854 | /CapsEngine/CAPS/Source/Rendering/Devices/PhysicalDevices.cpp | c27db41b0dd628e5bdd3eb4448d41a3b5f0436f0 | [] | no_license | Aladin-Saleh/Moteur-Graphique-Physique | 4db381ce18b50aa65de4b05a7c1b72a7c1de513b | dcbc3e69b056c4d5deeff80575dc6cc811627416 | refs/heads/main | 2023-03-16T06:17:54.235711 | 2021-03-16T11:30:37 | 2021-03-16T11:30:37 | 348,312,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,843 | cpp | PhysicalDevices.cpp | #include "PhysicalDevices.hpp"
#include "SwapChain.hpp"
namespace Ge
{
std::vector<const char*> PhysicalDevices::deviceExtensions =
{
VK_KHR_SWAPCHAIN_EXTENSION_NAME
};
bool PhysicalDevices::Initialize(VulkanDeviceMisc * vDM)
{
uint32_t deviceCount = 0;
vkEnumeratePhysicalDevices(vDM->str_instance, &device... |
6a235a45ab9c94a310d8a6faedbde67b1435cfc7 | 06ed93d4541a1531e75a9a3906f7da540ec0ecc6 | /softbankRobotics/choregraphe-suite-2.5.5.5-linux64/share/doc/dev/cpp/examples/sensors/fastgetsetdcm/fastgetsetdcm.cpp | ee0b958d0d0479c952125035834dbd59da2b770c | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Cmathou/S8-Simulated-Pepper-Project | 8dc38c64dcf1f9d22acd2cd4dff501cd4cda95c6 | a4fb90f1c59c50354c689a37c3977f7d89f699d1 | refs/heads/master | 2020-05-27T21:04:22.050455 | 2019-06-11T13:22:52 | 2019-06-11T13:22:52 | 188,784,416 | 0 | 1 | MIT | 2019-05-27T06:31:23 | 2019-05-27T06:31:22 | null | UTF-8 | C++ | false | false | 17,628 | cpp | fastgetsetdcm.cpp | /// <summary>
/// Example module to use fast method to get/set joints every 10ms with minimum delays.
/// </summary>
#include "fastgetsetdcm.h"
#include <boost/shared_ptr.hpp>
#include <alcommon/alproxy.h>
#include <alcommon/albroker.h>
#include <alcommon/almodule.h>
#include <alerror/alerror.h>
// Use DCM proxy
#in... |
3889c91301199c4282c16e2eccc66fec7f267008 | 35c836ed4b443a8f2a5076edf25e8a00b1b93203 | /WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/UIProcess/Plugins/PluginInfoStore.cpp | b9463150e08542b6784b6bf6fed71f74ce32b8a1 | [
"MIT"
] | permissive | mlcldh/appleWebKit2 | e3260c49e7bf82bf70617841868af81fc32c5d9f | 39cc42a4710c9319c8da269621844493ab2ccdd6 | refs/heads/master | 2021-06-12T05:52:05.942098 | 2021-05-27T07:27:38 | 2021-05-27T07:27:38 | 190,697,531 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,726 | cpp | PluginInfoStore.cpp | /*
* Copyright (C) 2010, 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... |
fa4e86349f258334341b3f21407217aeee85cd1b | 82dc3cc4c97c05e384812cc9aa07938e2dbfe24b | /toolbox/src/C1functions/SF2.h | bb358ccc9bd9528d7e4dd8f2ffa37b111e687fd6 | [
"BSD-3-Clause"
] | permissive | samanseifi/Tahoe | ab40da0f8d952491943924034fa73ee5ecb2fecd | 542de50ba43645f19ce4b106ac8118c4333a3f25 | refs/heads/master | 2020-04-05T20:24:36.487197 | 2017-12-02T17:09:11 | 2017-12-02T17:24:23 | 38,074,546 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | h | SF2.h | /* $Id: SF2.h,v 1.3 2004/06/19 23:27:18 paklein Exp $ */
#ifndef _SF2_H_
#define _SF2_H_
/* base class */
#include "C1FunctionT.h"
namespace Tahoe{
/** cohesive force law
* The force is given by
\f[
F(dr) = A dr \exp \left[ -\frac{dr^2}{B} \right]
\f]
* where \f$ dr = l - l_0 \f$. */
class SF2: public C1Functio... |
ab7576efcb20e67aa33c127faa88dc6ca6c2feb7 | e85b32d0d4824f6733506bd041f8dd3102c56fa3 | /imebra/library/base/include/baseStream.h | f4310283e1649e77d6158b6680d29da9ad695c14 | [] | no_license | miyako/4d-plugin-imebra | 75a10aa8801fe5a3bddd61a8d80da5ea8b8455c5 | fc0172da34db28bad8521a667e4c7cdc5641e9c9 | refs/heads/master | 2021-01-10T18:30:29.231868 | 2017-11-13T02:38:31 | 2017-11-13T02:38:31 | 18,977,094 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,516 | h | baseStream.h | /*
Imebra 2011 build 2011-09-18_22-24-41
Imebra: a C++ Dicom library
Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by Paolo Brandoli
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
- ... |
60f0c84c898ba94ab818926827b067b388b58946 | bf1ae57ea948ae78634dde98c973640a0a5d539d | /lineEditor/Editor.cpp | 0a24093d7e516d3c4dbae6271f762bfb0f84ce1b | [
"Unlicense"
] | permissive | mansasha21/OOP | 99e080922208c2d74e7d76373c78ee3f6e1c8912 | f30fffa08c0be978fb27a06f33748ddcbfeb2420 | refs/heads/master | 2020-05-02T13:05:45.997465 | 2019-12-26T05:16:12 | 2019-12-26T05:16:12 | 177,975,272 | 2 | 1 | Unlicense | 2019-04-12T15:15:08 | 2019-03-27T10:55:58 | C++ | UTF-8 | C++ | false | false | 648 | cpp | Editor.cpp | #include "Editor.h"
Editor::Editor(std::string& line):line(line){}
void Editor::addAndExecuteCommand(std::unique_ptr<Command> cmd)
{
(*cmd).redo();
commands_.push_back(std::move(cmd));
}
void Editor::undo()
{
if (commands_.empty())
return;
canceledCommands.push_back(std::move(commands_.back()));
... |
5e1b5e819cf06a42ce2443d04e801719e9247f33 | 3e03813dd3f76db341b51957c24801b8c0252994 | /test.cpp | 02a736cfc7ac5d7c02583b7071d0360cc945e2a3 | [
"BSL-1.0"
] | permissive | sergegers/optional_utility | f5045078ab33ffac1aed301f2a9e80338f0ec797 | 1d5f1924e0679701a1d553112035677debefc99b | refs/heads/master | 2021-06-21T17:19:16.432327 | 2017-08-07T13:45:25 | 2017-08-07T13:45:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,023 | cpp | test.cpp | //#define OPTIONAL_UTILITY_NO_CXX14_RETURN_TYPE_DEDUCTION
#include "optional_utility.hpp"
#include <cassert>
#include <iostream>
#include <string>
namespace
{
struct _
{
template <typename F>
_(F f)
{
try {
f();
} catch (std::exception const& e) ... |
ca697c172e3b31a67e5d038e9b82c86cdeaabadc | 2f1ea09dd203982ad928ffddbcbb92943938c36a | /webinfo/webinfo.h | 55e288e934b03688abd6993f64e5e46e2c2bfb3e | [] | no_license | peterlacko/school-projects | 8688455bb3ecf76ad047ac8094e44294500f84e1 | f3cfecb68efd77eafe68a04542d9501ccb8fe0aa | refs/heads/master | 2021-01-20T17:21:07.283586 | 2016-07-17T11:54:19 | 2016-07-17T11:59:36 | 63,529,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,639 | h | webinfo.h | /*
* =====================================================================================
*
* Filename: webinifo.h
*
* Description: hlavickovy subor k webinfo.cpp
*
* Version: 1.0
* Created: 26.02.2012 23:40:26
* Revision: none
* Compiler: gcc
*
* Author: ... |
4fe413c58068ee6c36a1cdc4778fc87b074eee5c | 5f4a4e8109562ba88ab60e19429ce1084f14f9b2 | /VideoShaderLiveCoding/src/main.cpp | 10b9b96fe4cdef589f1cb63828615177480782bb | [] | no_license | andreasmuller/RaspberryPiWorkshop | 53f91fbe3d65183a982fe93e07e9e97aa538bf63 | d403dbbec3417092b6113b729b8bb96bae90a6bd | refs/heads/master | 2016-09-16T07:22:26.231952 | 2013-08-12T16:02:36 | 2013-08-12T16:02:36 | 7,204,213 | 35 | 10 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | main.cpp | #include "ofMain.h"
//#define USE_DEVELOP_APP
#ifdef USE_DEVELOP_APP
#include "developApp.h"
#warning "!!!!!!! YOU ARE USING THE developApp WHEN YOU PROBABLY WANT THE testApp !!!!!!!!"
#else
#include "testApp.h"
#endif
#include "ofGLProgrammableRenderer.h"
//=======================================================... |
d1cbc2ed04a43f631a92f48478c720e88b98fa0b | b4396cf30845c5ec00ca8160264e06a25808d35b | /Classes/BgLayer.cpp | b6cdaa46d9ca769b4c0aac084a8614d044db02c7 | [] | no_license | VincentPeng/SaveHostage | 6d47f56929ec6e9f042b29ecb4500cbac8069a3d | 785205b1e9e0e3356966e07cf4a6fa0ffd127049 | refs/heads/master | 2021-01-15T10:13:33.967931 | 2016-08-25T06:13:36 | 2016-08-25T06:13:36 | 16,710,436 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | BgLayer.cpp | //
// BgLayer.cpp
// SaveHostage
//
// Created by Ke Peng on 4/9/14.
//
//
#include "BgLayer.h"
USING_NS_CC;
USING_NS_CC_EXT;
BgLayer::BgLayer() {}
BgLayer::~BgLayer() {}
bool BgLayer::init() {
bool ret = false;
do {
CC_BREAK_IF(!Layer::init());
cocos2d::No... |
7e0fd26c2b2b3e959faef7cdc447544c06afb9ad | aa9dbd084e29f78754901549a41fd1f573f83b79 | /RayTracer/raytracer.h | 1a4095dec7c83f8d69cc6d7e52f33a1b11035740 | [] | no_license | THTBSE/GeometricTools | 939509819c431cf5bc303a11a500a83001960b65 | 6001f43b2a49e4c7eff4eb9f74a48c36745f1cb4 | refs/heads/master | 2019-01-19T13:33:26.935251 | 2014-12-30T13:23:47 | 2014-12-30T13:23:47 | 25,525,477 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | h | raytracer.h | #ifndef _RAYTRACER_H_
#define _RAYTRACER_H_
#include "include\GLFW\glfw3.h"
#include "basicGeometry.h"
#include "material.h"
#include <vector>
using namespace std;
typedef shared_ptr<geometry> GPtr;
void GenerateObjects(vector<GPtr> &objects);
class rayTracer
{
public:
rayTracer(int w, int h, const Vector3 &e);
voi... |
ed2ab240d725ed86fcc9f7279322791521da3817 | 4bfc3c184e736bb68dccbb6d5657f11c950df002 | /src/pass/merge_loops.cc | 478473f44e3e813dffd64a983df011adfb3b568f | [
"Apache-2.0",
"Zlib",
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"BSD-2-Clause"
] | permissive | laekov/akg | 159aa64ef6135222b5af784c408731275dfa9bdb | 5316b8cb2340bbf71bdc724dc9d81513a67b3104 | refs/heads/master | 2022-12-01T04:09:03.548063 | 2020-08-19T08:38:57 | 2020-08-19T08:41:28 | 288,678,192 | 0 | 0 | Apache-2.0 | 2020-08-19T08:41:30 | 2020-08-19T08:36:53 | Python | UTF-8 | C++ | false | false | 4,817 | cc | merge_loops.cc | /**
* Copyright 2019 Huawei Technologies Co., Ltd
*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.