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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f7b6d6f25ee3de8397a0f8093e62bed1fbfbf88f | 1f2de6e26f22d21b47df0840b57462a98f4611a3 | /Lab ten(10)/HeapSort.cpp | 3222bc49f5d7cedf0c4bc774ccb796b1afd70d6e | [] | no_license | Akash-Shrivastava11/ADA-Lab | 36b2119b03f2b8ffdd6bfeb7be1d5e6182766408 | 9b981e254a058434ad3f5b99b184cfd4c9502e79 | refs/heads/main | 2023-06-18T03:05:08.808471 | 2021-07-07T19:01:14 | 2021-07-07T19:01:14 | 358,145,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cpp | HeapSort.cpp | #include <iostream>
#include <bits/stdc++.h>
#include<unistd.h>
#include <time.h>
using namespace std;
int arr[1000];
void heapify(int arr[], int n, int i)
{
int largest = i;
int l = 2*i + 1;
int r = 2*i + 2;
if (l < n && arr[l] > arr[largest])
largest = l;
if (r < n && arr[r] > arr[larg... |
57711744798f27e9924e303e2032fe1664224c00 | 802a8f80cefc39644979cf2038356f63de866398 | /Server Lib/Game Server/GAME/lobby.cpp | fe0343918d25c1e235a42fc75ce7301c4224e6fa | [
"MIT"
] | permissive | Acrisio-Filho/SuperSS-Dev | 3a3b78e15e0ec8edc9aae0ca1a632eb02be5d19c | 9b1bdd4a2536ec13de50b11e6feb63e5c351559b | refs/heads/master | 2023-08-03T13:00:07.280725 | 2023-07-05T00:24:18 | 2023-07-05T00:24:18 | 418,925,124 | 32 | 30 | MIT | 2022-11-03T23:15:37 | 2021-10-19T12:58:05 | C++ | UTF-8 | C++ | false | false | 497 | cpp | lobby.cpp | // Arquivo lobby.cpp
// Criado em 24/12/2017 por Acrisio
// Implementação da classe lobby
#if defined(_WIN32)
#pragma pack(1)
#endif
#if defined(_WIN32)
#include <WinSock2.h>
#endif
#include "lobby.h"
using namespace stdA;
lobby::lobby() {
};
lobby::~lobby() {
while (!v_sessions.empty()) {
v_sessions.erase(v_... |
d0e24c905c1b75fa81faa495fdb00ee10489ac60 | 6207df7b5e4acc14b5811edacb99ceca4950b451 | /A_Card_Game.cpp | 4ce0421e62a2dcbbfb7ab4092f8cd9e90a7bc0be | [] | no_license | Nirbhay007/cp-solve | 733e16984b6c3c14b758ef3d803d4381e7ad3109 | 5c1e43263ce7a272bbe8898522645f64e7b8617f | refs/heads/master | 2023-08-11T21:27:15.628071 | 2021-09-20T04:26:05 | 2021-09-20T04:26:05 | 408,309,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | A_Card_Game.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
char type;
cin >> type;
string first, second;
cin >> first >> second;
map<char, int> m{
{'6', 6},
{'7', 7},
{'8', 8},
{'9', 9},
{'T', 10},
{'J', 11},
{'Q', 12},
{'K', 13},
{'A', 14}};
char first_type = fir... |
47730fbe8ce4368d7af0f7e46fc6d0e9824d0054 | 304ff6d39a8eaa896317a34ec31787606a71656f | /P154PROC_ROUND_4C.cpp | 1e36007a44855d4949144390ed6c2ff9e8ff8172 | [] | no_license | S4ltF1sh/SPOJ | 4ed70e86d47371f436efd4080991bfc8ed3a9e65 | b7694fb770d973649e7804def0352dc075c822c8 | refs/heads/main | 2023-06-01T19:10:05.737305 | 2021-06-22T11:09:46 | 2021-06-22T11:09:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | P154PROC_ROUND_4C.cpp | //P154PROC - ROUND 4C - Về quê
#include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <algorithm>
#include <stack>
using namespace std;
int main()
{
int n;
cin >> n;
char Bus[4][11];
for (int j = 0; j < 11; j++)
{
for (int i = 0; i < 4; i++)
... |
8f0997fd0ddba8b3f58f5913889ce85116e0321d | 04d347517097edeb24de7ed91914042a62830c9f | /RemoteWorkStation/src/Commands/FileHandler.cpp | fe76c7e952153c41906ab51e8d574d32be68b780 | [] | no_license | PivProggers/IncludeBeer | 24b8423e56353a41a1386859a5434830ccd0fe8c | 2a133984e2cedfad4d7a6ba4d718cf5b635fc8d9 | refs/heads/master | 2022-09-19T10:57:51.166224 | 2022-09-04T13:35:28 | 2022-09-04T13:35:28 | 216,859,863 | 0 | 0 | null | 2019-12-18T14:21:14 | 2019-10-22T16:29:14 | C++ | UTF-8 | C++ | false | false | 2,915 | cpp | FileHandler.cpp | #include "pch.h"
#include "Command.h"
using namespace std;
#define BUF_STD_SIZE 256
#ifndef OS_WIN
#include <stdio.h>
#include "fcntl.h"
#include "sys/types.h"
#include "dirent.h"
#define fopen_s(pFile,filename,mode) ((*(pFile))=fopen((filename), (mode)))==NULL
#endif
string FileHandler::SendFile(... |
69d1bd76744ec0cf430c1542f932e6449047f315 | 29d85beff4e016770caa65e5cfff4ec095d859c0 | /clipboard/cpb_win_napi.cc | d3d2b6ff939fbae6107af24ce374d60280c85ab2 | [] | no_license | edeink/clipboard-file | 5e3d96021f17a4bd12906a6f671367eacf5ee267 | f16d071a87e9c4af89adbe184687cef55a464749 | refs/heads/master | 2022-10-24T13:41:36.310346 | 2019-02-23T10:07:27 | 2019-02-23T10:07:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,517 | cc | cpb_win_napi.cc | #include <node_api.h>
#include <oleidl.h>
#include <comdef.h>
#include <vector>
#include <string>
#include <iostream>
std::vector<std::wstring> GetPaths() {
std::vector<std::wstring> path_list;
// 打开剪切板
if (::OpenClipboard(NULL))
{
HDROP hDrop = HDROP(::GetClipboardData(CF_HDROP));
if (hDrop != NULL)
... |
f38f18424e008c788e6120a7a78acc0f75cddd70 | 67c6ecdb4c861114877b3ebcf34675c41274924d | /tree_exception.h | b1491ebbad5ac47c3d50070c5c7b23926eb70e29 | [] | no_license | astarianka/Labs | f0c180844339f67bca3d9650e8ecafdd9e68e530 | 5410c745912ebb925cfaeb72a8d8e594de937310 | refs/heads/master | 2021-04-15T05:06:24.068250 | 2018-04-16T17:04:45 | 2018-04-16T17:04:45 | 126,454,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | h | tree_exception.h | #ifndef TREE_EXCEPTION_INCLUDED
#define TREE_EXCEPTION_INCLUDED
#include <exception>
class EmptyTree: public std::exception
{
public:
virtual const char* what() const throw();
};
class NegativeIndex: public std::exception
{
public:
virtual const char* what() const throw();
};
class OutOfRange: public std::exc... |
80f36b29e163f2d43c629fa061bcbc45c54cf486 | 975cb839f100255dcc2412a230943c054dc8473e | /transfer-plugins/bittorrent/advanceddetails/iwfiletreemodel.cpp | a2c3c1fc7480aab1c3d2da28e622b60a96d25944 | [] | no_license | mfuchs/kget-gsoc | 50fe81d398aeadac729644c51531a66c003ee6e9 | 67b5cb0ea15df835e4692acbb185b2eb0062fee6 | refs/heads/master | 2021-01-01T15:23:18.191242 | 2009-08-10T16:20:51 | 2009-08-10T16:20:51 | 186,307 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,299 | cpp | iwfiletreemodel.cpp | /***************************************************************************
* Copyright (C) 2007 by Joris Guisson and Ivan Vasic *
* joris.guisson@gmail.com *
* ivasic@gmail.com *
* ... |
63f57bcf3efd9b67ad6dba1a2dea44d51acf543f | b845fe9be69e6ad69ebf59fea0f2782d308c0bc9 | /链式表/main.cpp | 2d5babd205541545457b6716282b6bc57514d77d | [] | no_license | SJX516/DataStructureCppCode | a2bd27cbb2a770cfe8a9bcf7e558322374d8ebe3 | 942a96b340a990058c249f84cace447668e2f28a | refs/heads/master | 2020-07-17T21:00:45.177524 | 2016-11-16T14:03:51 | 2016-11-16T14:03:51 | 73,925,188 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 365 | cpp | main.cpp | #include <iostream>
#include "ListStack.h"
using namespace std;
int main()
{
int temp;
LinkStack<int> a(4);
a.Push(0);
a.Push(1);
a.Push(2);
a.Push(3);
a.Push(4);
a.Top(temp);
cout<<"当前栈顶元素为"<<temp<<endl;
a.Pop(temp);
a.Top(temp);
cout<<"当前栈顶元素为"<<temp<<endl;
a.Clear();... |
edc0d647212ec7ae6b26d5fc2854d050b7e2a711 | 5d96eb241e9f1e285c725e51d5f2ea87b7b41ae2 | /esp_side/esp_side.ino | 80d96888ffc19dce0267ca68e37cb63c594b9866 | [] | no_license | SoravitYK/Project-ComProgramming | 245daecd0d7ec6c4bcb92e9bdd1e2d895b6a64f8 | f82c85452f29bd5b4e468d50fcfd8d08ffdf5ebd | refs/heads/master | 2020-05-18T13:27:23.387421 | 2019-05-02T09:38:25 | 2019-05-02T09:38:25 | 184,437,809 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,093 | ino | esp_side.ino | #include <string.h>
#include <MPU9250.h>
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino
#include <DNSServer.h>
#include <ESP8266WebServer.h>
#include <WiFiManager.h> //https://github.com/tzapu/WiFiManager
#include <WiFiClient.h>
MPU9250 IMU(Wire,0x68);
int status;
WiFiServer server(26... |
fa9b2ded98345c239e0fa2c46dd0292a189abe85 | 87a972e42adedb5a5fc498b446a1da2ed41628e1 | /3rdparty/libfaad2/bits.cpp | 8cd343099df4aa787620cf4e863b84fddfe69c33 | [] | no_license | gabest11/homesys | 4649f6eb697284dd445f2c8d557a4771e32c2d62 | 3645dd0d142d6332e5ece43ac2402058f2fb8198 | refs/heads/main | 2022-07-29T20:33:58.685388 | 2022-03-30T16:07:46 | 2022-03-30T16:07:46 | 467,268,398 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,029 | cpp | bits.cpp | /*
** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
**
** 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 ... |
24187845a2290202eaa888c29f0b53902abccaa9 | 0440fcb4ff56e43c4faf855e441e70a99a30186a | /busmaster/Sources/UDS_Protocol/MainPanel.cpp | 0261cc3778eb5fba27c24465b4a78c4924a413f5 | [] | no_license | MarcSerraLear/UDS_Busmaster | 0383d1d1349dc3d0e29762c1457821807f530b5d | 9f624aa11ebc4041d6048088ac02960f38a80293 | refs/heads/master | 2020-05-17T12:35:02.189914 | 2014-04-14T13:44:27 | 2014-04-14T13:44:27 | 12,892,058 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,740 | cpp | MainPanel.cpp | #include "MainPanel.h"
#include "Panel.h"
#include "Node.h"
#include "PanelAndNode.h"
#include "Panel_DME.h"
#include "PanelAbs.h"
//#include "UDS_Protocol.h"
//#include "UDS_Resource.h"
//#include "DIL_Interface/BaseDIL_CAN.h"
//#include "DIL_Interface/DIL_Interface_extern.h"
#define TRUE 1
#define FALSE 0
sta... |
223fd3cab466c53eea994124e682f375edbe3651 | 5ca8d2e40aaa9679401721c8ca153c27aeeb8c28 | /AI/Source/AStar.inl | 824c627fe9c9230c71c6f09a3554944902625911 | [] | no_license | HenIsTheMan/AI_A2 | ff33feaaea57228bc2bb6803f627c89dd65e9c44 | 204cae32a07f336c074a6662cd96682bf7bf614d | refs/heads/main | 2023-02-25T11:19:58.070841 | 2021-01-31T15:38:10 | 2021-01-31T15:38:10 | 330,821,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,762 | inl | AStar.inl | namespace Algs{
template <class T, typename Type>
struct CreateAStarNodeParams final{
AStarNodeType type = AStarNodeType::Accessible;
std::string tag = std::string();
Type cost = Type();
T pos = T();
};
template <class T, typename Type>
AStar<T, Type>::AStar():
start(nullptr),
end(nullptr),
toVisit(... |
b9201271cfa6b1963b2f98251f021240a0aaabd6 | deeaa410468f8d0647ddd0c0ba08d80ce9707b9b | /frameworks/C++/drogon/drogon_benchmark/controllers/QueriesCtrlRaw.cc | 4d056a91cbff65f8a3d72ea9f8fa70f4f4e83fb2 | [
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | matt-42/FrameworkBenchmarks | efd8030c3c05dbbebc2ddf9e35e199d560106c1c | a89fe52bbfdc5571dfe29c1f496ec7f5a8814799 | refs/heads/master | 2022-06-20T15:31:11.955582 | 2019-12-20T21:44:41 | 2019-12-20T21:44:41 | 229,323,186 | 1 | 0 | BSD-3-Clause | 2019-12-20T19:20:18 | 2019-12-20T19:20:18 | null | UTF-8 | C++ | false | false | 2,340 | cc | QueriesCtrlRaw.cc | #include "QueriesCtrlRaw.h"
using namespace drogon::orm;
void QueriesCtrlRaw::asyncHandleHttpRequest(
const HttpRequestPtr &req,
std::function<void(const HttpResponsePtr &)> &&callback)
{
// write your application logic here
static std::once_flag once;
std::call_once(once, []() { srand(time(NULL)); ... |
674843f7e40e44fe0ca309414c4e7b3f2ff84e82 | 5c7bb681a819c61270556fcd27c8b9cddf1a278a | /stdafx.h | 814fa05658d48343fa5083daefa52753ffbae243 | [] | no_license | Leveltlab/matinterface | 47be68e45955f9153927aa714c2bd404c4de1c4b | a6e065c75dfca16f9ff29d484290e342da5d1c79 | refs/heads/master | 2022-03-26T23:09:29.866033 | 2022-02-09T13:03:13 | 2022-02-09T13:03:13 | 136,925,543 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 318 | h | stdafx.h | #pragma once
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <d3d11.h>
#include <d3dcompiler.h>
#include <assert.h>
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <math.h>
#include <vector>
using namespace std;
#include <DirectXMath.h>
using namespace DirectX;
#include "mytypes.h" |
6396d1def894c03f85a27e5d88b123dcd9914a0a | c990ba64b77b7b4034772fb15a5520a28f1ea5e7 | /copasi/qlayout/CQAnimationControls.h | cdd22968d9aa60ba815356c436849cd87017366f | [
"LicenseRef-scancode-other-copyleft",
"Artistic-2.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | copasi/COPASI | a3fb515b4d9c667519ad756c52d8b82747a26e64 | 3ddf61e95191f2db09256dddc013f12041719a2c | refs/heads/develop | 2023-09-01T19:32:39.004552 | 2023-06-02T15:01:23 | 2023-06-02T15:01:23 | 4,810,881 | 75 | 34 | Artistic-2.0 | 2022-09-14T13:13:20 | 2012-06-27T16:35:48 | Component Pascal | UTF-8 | C++ | false | false | 1,589 | h | CQAnimationControls.h | // Copyright (C) 2019 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and... |
32931e22b9769a2a2b9fa42fd9dbf9d785fc5872 | 1be3169f0dcbdffe20dafe1f438e4cb384db2c99 | /ServoUDPServer/src/server.cpp | 9455d7dbed7f980bc84ee3211f2c369c3bc26c58 | [
"MIT"
] | permissive | noctisilva/Oculus-Rift-Telepresence | a963d3ea08cdb714a30cb6299c3148eba0ff9e83 | 7407897927052ccb8c5f1309bce4ff3aacece1b5 | refs/heads/master | 2021-01-16T20:29:31.617975 | 2015-04-22T13:10:59 | 2015-04-22T13:10:59 | 40,293,117 | 2 | 0 | null | 2015-08-06T08:14:56 | 2015-08-06T08:14:56 | null | UTF-8 | C++ | false | false | 1,433 | cpp | server.cpp | #include "server.h"
#include "servoHandler/servoHandler.h"
#include <boost/atomic.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/asio.hpp>
#include <boost/thread.hpp>
using boost::asio::ip::udp;
using namespace std;
using namespace boost;
boost::atomic<bool> done;
server::server(string servoX, string serv... |
9ea569a0eb3d1676f133809c77ba23098036fdfa | fc8c5c7a93c913a1f1a081441cf5286465a037ec | /DAT205/src/CPUTimer.h | b2cb2cd2f1b2df8fb19082e02c8f536aa03e947d | [
"Apache-2.0"
] | permissive | krabbstek/DAT205 | 4ba5677cf858b37b034f01b27ea1c077efc24607 | c35d03af1737cb1552d98c7ea541273381184170 | refs/heads/master | 2020-04-12T16:59:13.379803 | 2019-06-03T11:58:00 | 2019-06-03T11:58:00 | 162,630,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | CPUTimer.h | #pragma once
#include "Timer.h"
#include <chrono>
class CPUTimer : public Timer
{
public:
CPUTimer();
~CPUTimer();
void Start() override;
void Stop() override;
void GetTime() override;
private:
std::chrono::high_resolution_clock::time_point m_Start;
std::chrono::high_resolution_clock::time_point m_Stop;
}; |
d5aaa2ed78cd0cea5108e82f843fcf04b5cebce0 | 1580f024f6717a96b5d70edc52aa94f4953b4fcb | /acqu_core/AcquDAQ/src/TDAQexperiment.cc | 66fbfc55e8d2e2e7252d61cafa4b1f93bf570c1f | [] | no_license | A2-Collaboration/acqu | 7531a981cfe98603a14dfef4304312177f2a4072 | b7571696ec72e2b08d64d7640f9ed5a39eddb9f6 | refs/heads/master | 2023-05-01T07:30:06.743357 | 2019-04-03T16:18:35 | 2019-04-03T16:18:35 | 9,445,853 | 1 | 15 | null | 2022-09-09T08:44:08 | 2013-04-15T10:05:39 | C++ | UTF-8 | C++ | false | false | 41,172 | cc | TDAQexperiment.cc | //--Author JRM Annand 30th Sep 2005 Start AcquDAQ
//--Rev JRM Annand... 1st Oct 2005 New DAQ software
//--Rev JRM Annand...10th Feb 2006 1st hardware test version
//--Rev JRM Annand....1st Feb 2007 Integrate with Acqu++
//--Rev JRM Annand...17th May 2007 Virtual Module
//--Rev JRM Annand...29th May 2007 St... |
82ae1f89336517156c60e271be319cbf443f741c | b20aae53ff2fb176c7008f32a71f7af52fa99750 | /src/database/vehicles/flowTable.cpp | 6ce96d8ed29f0ad5812fe450e0ebc223c62153a2 | [] | no_license | palvarezlopez/eNetEditor | 601f086945106cb26b7bf77e2c1b6e67df21051e | 0019466ad06390ebc11a90122f6b3285cab7b236 | refs/heads/master | 2021-09-06T01:54:16.860724 | 2018-02-01T13:04:15 | 2018-02-01T13:04:15 | 108,637,209 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | flowTable.cpp | #include "flowTable.h"
// main
#include "../../dialogs/main/eNetEditorMainWindow.h"
// Database
#include "../../database/eNetEditorDatabase.h"
// Project
#include "../../project/eNetEditorProject.h"
// Scene
#include "../../project/eNetEditorScene.h"
// Configuration
#include "../../configuration/main/eNetEditorMa... |
adceee05b9da3118df90444da69e1aca629497ca | 3996ee7a44dba67f8b5035ca78b01d21c619fc1a | /compound.cpp | 927b4020ff6d34c6dff655058f3f5eec920a5cc9 | [] | no_license | agrawalshivam66/C-programming | e3e2024f21ac548f402b0eeeac5f0f93f670f232 | 4c3d7a3aa6c5af576c29345c934d86e2b353484d | refs/heads/master | 2020-03-08T12:11:22.798794 | 2018-09-22T05:51:00 | 2018-09-22T05:51:00 | 128,120,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | cpp | compound.cpp | #include<stdio.h>
int main()
{
float p=0,r=0,t=0,i=0,l;
printf("enter the principle amount ");
scanf("%f",&p);
printf("enter the time in years ");
scanf("%f",&t);
printf("enter the anual rate ");
scanf("%f",&r);
for(l=0;l<=t;l++)
{
p=p+i;
i=(p*r*1)/100;
}
printf("the compount intrest is %f",i);
printf("\nthe total am... |
3c3208575b682a56af57f7df896117164e2f6abd | c2c1e39f643741771de3807a7dc1f036a1e40cb4 | /src/libtriton/bindings/python/namespaces/initRegNamespace.cpp | 4fb0a4adee651d1001f0eb6861f01e99d09eda92 | [
"BSD-2-Clause"
] | permissive | sjcappella/Triton | c9eee61dc3e89c85304bdbe82edd94b8850bb047 | c5346438c14d300a58f05a2c6700a74f06bc20db | refs/heads/master | 2021-01-13T05:29:54.914549 | 2017-01-28T04:02:36 | 2017-01-28T04:02:36 | 80,265,212 | 1 | 0 | null | 2017-01-28T03:58:13 | 2017-01-28T03:58:13 | null | UTF-8 | C++ | false | false | 52,634 | cpp | initRegNamespace.cpp | //! \file
/*
** Copyright (C) - Triton
**
** This program is under the terms of the BSD License.
*/
#ifdef TRITON_PYTHON_BINDINGS
#include <api.hpp>
#include <architecture.hpp>
#include <pythonBindings.hpp>
#include <pythonObjects.hpp>
#include <x86Specifications.hpp>
/*! \page py_REG_page REG
\brief [**pyth... |
e3480dd8ea3ede5efd1b3dafb074d8b0973312b4 | 46f98a92935ec0d309c83d57f1dd8a1a52d8e4ff | /NeuralNetGitHub/Cell.h | 52ddfa6bc1aae6b043228df96501e73fbc568402 | [] | no_license | TheLargeCactus/NeuralNetProject | 33627e087d8a433561b3392a596588e07b84eb3b | d9721d1ba159ebd53c4d696b1a4abbf1aa4c73cd | refs/heads/master | 2020-03-16T00:17:04.744808 | 2018-05-07T06:35:34 | 2018-05-07T06:35:34 | 132,412,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | h | Cell.h | #pragma once
#include <vector>
#include <set>
#include <algorithm>
#include <random>
#include <stdint.h>
#include "Lib.h"
class Cell {
protected:
int offset;
int slope;
std::set<Cell *> in;
public:
std::uint8_t state;
//constructors
//default
Cell();
//other call constructor
Cell(const int inSlope, const... |
ea295a4b96768c2508266ec7fb0767aaf75ec1ca | d63676b2bdaded08f7e9e905087e2c10051b5476 | /clu/Operators/SkipOperator.cpp | 399df00e6ed70baa6abd3b139e7cfc78c21b456f | [
"MIT"
] | permissive | ShaiRoitman/clu | 9e39f8edcedde5bb97e2253d0ec91b897d2b910d | c8816455a78ed70d1885fa23f6442d1d2a823a16 | refs/heads/master | 2021-11-03T00:26:50.125205 | 2021-09-12T12:39:30 | 2021-09-12T12:39:30 | 77,403,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | cpp | SkipOperator.cpp | #include "Utils.h"
#include "InputFileOperator.h"
#include "CommandLineHandlers/SingleCommandLineHandler.h"
#include <boost/algorithm/string/trim.hpp>
USING_NAMESPACE(std);
USING_NAMESPACE(clu);
class SkipFilter : public InputFileOperator {
public:
SkipFilter(int startCounter) : m_start(startCounter), m_count(0) {}
... |
741d17080b689684923caff6606c8be146532c4e | f739df1f252d7c961ed881be3b8babaf62ff4170 | /softs/SCADAsoft/5.3.1/ACE_Wrappers/TAO/TAO_IDL/be_include/be_visitor_enum/cdr_op_cs.h | c8cd7bbf93e4d20a35767a9eef92ba76bfe8ce62 | [] | no_license | billpwchan/SCADA-nsl | 739484691c95181b262041daa90669d108c54234 | 1287edcd38b2685a675f1261884f1035f7f288db | refs/heads/master | 2023-04-30T09:15:49.104944 | 2021-01-10T21:53:10 | 2021-01-10T21:53:10 | 328,486,982 | 0 | 0 | null | 2023-04-22T07:10:56 | 2021-01-10T21:53:19 | C++ | UTF-8 | C++ | false | false | 991 | h | cdr_op_cs.h | /* -*- C++ -*- */
//
// $Id: cdr_op_cs.h 14 2007-02-01 15:49:12Z mitza $
//
// ============================================================================
//
// = LIBRARY
// TAO IDL
//
// = FILENAME
// cdr_op_cs.h
//
// = DESCRIPTION
// Concrete visitor for Enums generating code for the CDR operators
//
// =... |
593ab99950bf7a389864fd50c3d9a481adb82ab4 | 246469bbd9254f21f939cd254d66e85daf6e6fc5 | /J.Todo/Pods/Realm/core/realm-monorepo.xcframework/watchos-armv7k_arm64_32/Headers/realm/obj.hpp | 688d0054deb049a7e8ca7fc76912b45dc5a5cccc | [] | no_license | LeeJinYoung91/J.TodoApp | b7e3461c527e33637e67b2e0c65a6405716714d0 | ea634b9b38dda54be306f2025673676d4f95f20c | refs/heads/master | 2023-04-19T08:26:54.330218 | 2021-04-29T01:48:07 | 2021-04-29T01:48:07 | 198,178,471 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | hpp | obj.hpp | version https://git-lfs.github.com/spec/v1
oid sha256:58f8600f1c53556e005ecdfb104e18fa94f6fb703bd40d3daa43ee3d2deea0f1
size 17597
|
22dfbb7df225156ce878533520195c1aa4378df0 | e803c16a505aa73cb3facbb15caab5f5b12063c2 | /ddr3-efficiency/gcu_trg_check/gcu_trg_check.cxx | a4a5df49288981909ff885b30f99559e7925d4cc | [] | no_license | trRiccardo/juno-efficiency-tests | 55bd1c4822523f5149060a19a78c8cda4d14b49b | 9ecf4d3fd30a11cc88c77c1445241b11040bf0a3 | refs/heads/main | 2023-08-29T03:28:07.024835 | 2021-10-15T19:54:48 | 2021-10-15T19:54:48 | 417,584,181 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,873 | cxx | gcu_trg_check.cxx | #include <iostream>
#include <fstream>
#include <algorithm>
#include <sstream>
#include <stdint.h>
#include <vector>
#include <functional>
#include <cstring>
#include "Constants.hpp"
using namespace std;
void usage();
inline uint16_t swap_word( uint16_t word ) {
return ( ( word << 8 ) & 0xFF00 ) | ( ( word >> 8 )... |
01604c6622802624649d5c3cd86531df58fe112e | 332e0c3c2189c73c51a9422ab4f9e07ed7d5134e | /141.cpp | 6d3a2581b915be733d3982bc90403134f02672a0 | [] | no_license | ksaveljev/UVa-online-judge | 352a05c9d12440337c2a0ba5a5f1c8aa1dc72357 | 006961a966004f744f5780a6a81108c0b79c3c18 | refs/heads/master | 2023-05-24T23:08:48.502908 | 2023-05-16T10:37:37 | 2023-05-16T10:37:37 | 1,566,701 | 112 | 80 | null | 2017-01-10T14:55:46 | 2011-04-04T11:43:53 | C++ | UTF-8 | C++ | false | false | 2,125 | cpp | 141.cpp | #include <iostream>
#include <map>
using namespace std;
void rotate(bool sq[][50], int b)
{
bool** tmp;
tmp = new bool*[b];
for (int i = 0; i < b; i++) {
tmp[i] = new bool[b];
}
for (int i = 0; i < b; i++) {
for (int j = 0; j < b; j++) {
tmp[i][j] = sq[i][j];
}
}
for (int i = 0; i < ... |
a4588dc2b325aa998f15fbd410e2ca410f4879b9 | b257139eaec4c592feaada3a4f95a713aefd58c6 | /ga.cpp | 1f050651776cd47ac782e53341a9ad88b9dc08b4 | [] | no_license | dr-rahul-dubey/Parallel-Genetic-Algorithm | 4c5e75f61b16ac3d6238fe4419ca6ae6e2ba45ac | c292ec2273b83735076850590ebfbb4f718b49e8 | refs/heads/master | 2023-07-07T03:27:59.421282 | 2020-02-25T03:20:39 | 2020-02-25T03:20:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,593 | cpp | ga.cpp |
#include <iostream>
#include <unistd.h>
#include <fstream>
#include <string>
#include <assert.h>
#include <gaMpi.h>
#include <stdlib.h>
#include "utils.h"
#include "population.h"
#include "individual.h"
#include <evaluate.h>
#include "ga.h"
#include "random.h"
using namespace std;
using namespace ga;
MPIInfo initMP... |
b798c69f5ac58fd2452096733d83ebef0976b653 | f1561abc3f4cf1a1e9a2ebf75a8ddb5e5ebefb10 | /SmartFaireLib/MP3.cpp | 810c5626b33c70b4f8d91e8f9d4127ad0c68a6dc | [] | no_license | vrosnet/smartfaire | cf36302cd79e9b29707a08ef3acdac706282b159 | a6a3b4681f46aa7733fb5dff6a853fb617632a57 | refs/heads/master | 2021-01-23T06:34:07.571042 | 2016-07-01T21:49:40 | 2016-07-01T21:49:40 | 93,027,358 | 1 | 0 | null | 2017-06-01T07:08:37 | 2017-06-01T07:08:37 | null | UTF-8 | C++ | false | false | 8,350 | cpp | MP3.cpp | /*
4-28-2011
Spark Fun Electronics 2011
Nathan Seidle
This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
This example code plays a MP3 from the SD card called 'track001.mp3'. The theory is that you can load a
microSD card up with a bunch of MP3s and then pla... |
c5ae68fdc7c39a8e4f66d7d65d264196e3e5a8fc | 264e7b7f82a06e06b3ba98ee50f3d2498d21b3c5 | /src/rshell_main.cpp | 928b4dab6117aef65f5e2a191b24055882f0b2ff | [
"BSD-3-Clause"
] | permissive | WendyLiDev/rshell | 655756cb03cc0be44dd705b26ec83f9e12c59b53 | 1d46adb7ece6e384ce94d31d00cf98e3161193ce | refs/heads/master | 2023-04-27T05:20:04.683883 | 2016-12-02T06:25:04 | 2016-12-02T06:25:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,120 | cpp | rshell_main.cpp | /* David Swanson CS100 Fall 2016 */
#include<iostream>
#include <string>
using namespace std;
#include "../header/Parser.h"
#include "../header/RShell.h"
string prompt( string cwd ){
/* Output bash-style prompt, with current directory */
cout << cwd << " $ ";
string str;
getline(cin, str);
return st... |
a133c9e721dc980204ff5fe3ffcf4a5182088b0d | 25eda555548d8eb83f0f407dae3b8bb317912d5a | /experiments/unrolled_sizing/outputs/unrolled_8_6_6_500.cpp | f1e9677fd67d59ca8590198d06389c9a808bc181 | [] | no_license | nathanwbrei/matmatmult | 56d741358a09980a639d7a77cd411bef46e1df9a | 57ca841c082e42d52bad670d859474134b22af54 | refs/heads/master | 2021-09-26T08:32:46.610435 | 2018-10-27T22:34:28 | 2018-10-27T22:34:28 | 107,045,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134,513 | cpp | unrolled_8_6_6_500.cpp | void unrolled_8_6_6 (const double* A, const double* B, double* C) {
__asm__ __volatile__(
"movq %0, %%rdi\n\t"
"movq %1, %%rsi\n\t"
"movq %2, %%rdx\n\t"
// unrolled_96x96x96
// for r12 <- 0:1:12)
"movq $0, %%r12\r\n"
"LOOP_TOP_40_%=:\r\n"
// Unrolling over bn and bk... |
71f05388d2bddceeac6c8f2938df738ca2453d41 | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /BZOJ/BZOJ1176.cpp | 53c2f39c7e5448a7be07dd297ae0dd9534869928 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | cpp | BZOJ1176.cpp | #include <cstdio>
#include <algorithm>
#define MAXQ 200010
#define MAXW 2000010
using namespace std;
struct Mokia
{
int x, y, opt, delta, id, pos;
};
Mokia q[MAXQ], t[MAXQ];
int n, T, opt, x1, x2, y_1, y2, A;
int c[MAXW], ans[MAXQ];
bool cmp(Mokia a, Mokia b)
{
if (a.x == b.x && a.y == b.y) return a.opt < b.opt;
... |
55ff03f0a77aa1599e4a46c2ab4597bd34540b37 | 4f7229d2c746d79b2ad33f03d916ade770ec489a | /OpenFrameworks/apps/structuredLight/decode/src/testApp.cpp | 54cd86b4ca774aba9b3673780d8db668477584a5 | [] | no_license | icelinker/structured-light | 81a0275b78d7148586b51f296c147668a3350b43 | f46b4a8e98340264584315ca19ac956498e9e9a4 | refs/heads/master | 2020-11-26T19:06:51.348937 | 2015-07-02T00:06:53 | 2015-07-02T00:06:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,784 | cpp | testApp.cpp | #include "testApp.h"
/*
then implement exporting of sequences ("record").
then allow skipping to different locations in the sequence.
*/
void testApp::setup() {
hidden = false;
sequenceFrame = 0;
threePhase = NULL;
// setup control panel
panel.setup("control", 0, 0, 300, 720);
panel.loadSetting... |
e26166a5e1645f5e2024b6a8fb7a0fd00e258b63 | 7ae77f663c1015cc476ceda3f2e8eca906de5f12 | /ExampleMod/Source/ModdingExample/MainWeapon.cpp | cf36fb34ecb2e6aaab31777be3656154504624b3 | [] | no_license | zbx911/Ue4-Modding-Example-project | aa9d3733fa4dc3682534a6cafe9648321253d8f7 | cb5fb9b3fc10f6731d61eea5c046e313db7639fd | refs/heads/master | 2022-12-23T22:25:59.238328 | 2020-10-06T03:25:48 | 2020-10-06T03:25:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | cpp | MainWeapon.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MainWeapon.h"
// Sets default values
AMainWeapon::AMainWeapon()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// ... |
bf9f4268ae4659f9315ddfea211fc11ea2f535e9 | 09866ba376f9aa53ab6d129e2ff4f89076664c6d | /Source/RTSProject/Plugins/DaedalicTestAutomationPlugin/Source/DaedalicTestAutomationPlugin/Public/DaeTestSuiteActor.h | cf52c2d5ff15adaaa7bd67d5b99ff3f66821ec9b | [
"MIT"
] | permissive | JaredP94/ue4-rts | c05dee7f6b94fbed6343b0b04df8d921421f9cee | 242aa314ea8a4ac4145af214399d2ecb6c25234c | refs/heads/develop | 2021-05-17T22:53:11.999359 | 2020-12-20T19:48:54 | 2020-12-20T19:48:54 | 250,988,884 | 1 | 1 | MIT | 2020-12-20T19:48:55 | 2020-03-29T08:45:49 | C++ | UTF-8 | C++ | false | false | 3,849 | h | DaeTestSuiteActor.h | #pragma once
#include "DaeTestSuiteResult.h"
#include <CoreMinimal.h>
#include <GameFramework/Actor.h>
#include "DaeTestSuiteActor.generated.h"
class ADaeTestActor;
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FDaeTestSuiteActorTestSuiteSuccessfulSignature,
ADaeTestSuiteAct... |
d84e01006fc1962f6c35d7f82e998122e5963b42 | bb5964b979ec9444086a74540aaab44cc64a090d | /work/okeyLib/Template/MathTemplate.h | 16492f2789c403b71a5ca23a94b5034ded62e88c | [] | no_license | okey19841106/okey | d5942c1c86245dc022d43c31b14e902bb84ecc41 | 6fefb1d32836ae637c9f92e963136d0bf17ceb19 | refs/heads/master | 2021-01-20T21:53:06.536700 | 2016-01-25T06:51:09 | 2016-01-25T06:51:09 | 17,868,610 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,317 | h | MathTemplate.h | /********************************************************************
created: 2012/12/12
created: 12-12-2012 23:37
author: okey
purpose: math template
*********************************************************************/
#include "Types.h"
namespace Template
{
template< uint32 N >
struct Fib
{
enum
... |
53ab075461b027d0f8588cbad5348b9196decc20 | ac60f11a8feee9ee845a116cc2d0266582cb6736 | /CubeSlicing.cpp | aab186743c1b61df3fcf0d4778f72f5da5565326 | [] | no_license | kometes77/gom | 51dd54d3f66d33ced61fb7c12b1f1c7960fd987a | 2c87f34b905e17d76fa78edb1d5d0a669534eb7c | refs/heads/master | 2020-07-20T14:47:05.876130 | 2011-04-11T15:01:49 | 2011-04-11T15:01:49 | 1,591,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 995 | cpp | CubeSlicing.cpp | #include<stdio.h>
#include<cv.h>
#include<cxcore.h>
#include<highgui.h>
#include "roadviewSlice.h"
#include "CubeSlicing.h"
namespace roadview {
void CubeSlicing::generateTiles(string strFilename, SliceInfo& sliceInfo) {
IplImage *inputImage = 0;
inputImage = cvLoadImage(strFilename.c_str(),CV_LOAD_IMAGE_UNCHAN... |
afb979b8b427abc23d2d920b3bdab89dfe95d21c | 6ea9796da14f3ee7880d04a51c6bff25713b3206 | /hackerrank/contests/week14-challenge/subtrees-and-paths/main.cc | c3fac0239b23e3f9ab81845181c0cca6dd098755 | [] | no_license | vguerra/programming_contests | 79def4d0a864811a48038b270cebda3fbdc0f000 | 025b064ae0675f015e61cb3066d099b814cd3871 | refs/heads/master | 2021-01-22T11:36:30.364021 | 2015-03-30T19:28:25 | 2015-03-30T19:28:25 | 25,770,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,400 | cc | main.cc | // Victor Guerra <vguerra@gmail.com>
// 20150313
// https://www.hackerrank.com/contests/w14/challenges/subtrees-and-paths
#include <iostream>
#include <algorithm>
#include <cstdlib>
#include <vector>
#include <string>
#include <queue>
#include <stack>
int main() {
uint32_t N, Q;
std::cin >> N;
std::vector<int... |
be72396e6cad4fc2869a7ebe59c19af211586c8a | 221e73c8ffe152d7117b2f9c7aaa0faaf7c533f8 | /code/20.cpp | 2b04e3283a0b2e72a453e1444e5c2785fa1a20c9 | [] | no_license | gd2dg/pat-basic | 8c673d2a151d3587e48f31d2fff63b8211b2da4f | df391e0b7c903a09813bcd0aef75315213528b01 | refs/heads/master | 2022-05-11T17:01:35.746650 | 2017-07-17T05:15:29 | 2017-07-17T05:15:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,013 | cpp | 20.cpp | //C/C++实现
#include <iostream>
#include <algorithm>
#include <iomanip>
bool compare(double* a,double* b)
{
return a[2]>b[2];
}
double getMaxEarnings(){
int n,need;
std::cin>>n>>need;
double **cargo=new double*[n];
for(int i=0;i<n;i++)
cargo[i]=new double[3];
for(int i=0;i<n;i++)
std::cin>>cargo[i][0];
fo... |
f35cc97d18f652fb2728ebae403952a5edd42c2d | faf6ee9a095b05a05472ea57f93d9c640fd58620 | /GameEngine/SpRendering/MeshBufferColor.cpp | 2b48df6a0ec0fd1047ac2bd4252bbc3812db206a | [] | no_license | qbzjs/MyToy | 5c2a72fd53f05f2e7ca6eb7906c7bb8b3e7d4306 | 3bd78c6700028e07348b29fc9538be1b606e7c62 | refs/heads/master | 2022-10-12T14:11:01.228946 | 2018-09-30T10:30:56 | 2018-09-30T10:30:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | MeshBufferColor.cpp | #include "MeshBufferColor.h"
USING_NAMESPACE_ENGINE;
MeshBufferColor::MeshBufferColor() : MeshBuffer(), m_VboColorHandle(0)
{
}
MeshBufferColor::~MeshBufferColor()
{
DeleteBufer(&m_VboColorHandle);
}
MeshBufferColor::MeshBufferColor(MeshPtr mesh) : MeshBuffer(mesh), m_VboColorHandle(0)
{
MakeColorBuffer(mesh->m_... |
20bf3d08c8b71474854c6d7c40252735440773e3 | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /HSAHRBNUOJ/P19xx/P1963.cpp | 2d9cf29c07029090a5190757a767c1e80d117502 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | P1963.cpp | #include <iostream>
#include <cmath>
using namespace std;
bool zhishu(int a)
{
long b, i;
double c;
c = sqrt(a);
b = floor(c);
for (i = 2; i <= b; i++)
if (a % i == 0)
return 0;
return 1;
}
int hwlen(int a)
{
int k = 1, i = 1;
while (1)
{
k *= 10;
if (a < k) break;
i++;
}
return i;
}
int huiwen... |
26c544f78ca8e58d3d164a6759c6e7a60ad4d517 | 967482ce7998d8814a13d8509db947b0df31f8e0 | /src/lib/eng/shl/Superset.cpp | e0dbf715da7fa14812b80adb5fc283833db53f8a | [] | no_license | loongarch64/afnix | 38dc9c9808f18ff5517f7c43f641057a9583aeda | 88cc629cc09086cda707e5ad6d8a1bd412491bbe | refs/heads/main | 2023-05-31T17:16:56.743466 | 2021-06-22T05:18:32 | 2021-06-22T05:18:32 | 379,150,535 | 0 | 0 | null | 2021-06-25T03:05:27 | 2021-06-22T05:20:29 | C++ | UTF-8 | C++ | false | false | 3,388 | cpp | Superset.cpp | // ---------------------------------------------------------------------------
// - Superset.cpp -
// - afnix engine - superset class implementation -
// ---------------------------------------------------------------------------
// -... |
a42ff1fa4141ae2a42bcfa0537e1eb53983eb81e | 57fdbe8027cffd94cb932f22aa115ce863819de5 | /Arrays/Source.cpp | f97112a5e193b396e5b2135f6533e753f38fc4fa | [] | no_license | KateKrechet/FUNCTIONS | 8d2c2a4d33fd22b3537fdae4f1b941ced7c6c076 | dac8c17408c30f425ace6bccb18a1f2e28006fdb | refs/heads/master | 2023-07-06T02:05:27.234149 | 2021-08-03T17:34:49 | 2021-08-03T17:34:49 | 390,126,619 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,594 | cpp | Source.cpp | #include<iostream>
using namespace std;
#define line "------------------------------------------------------------------------------------------------";
const int ROWS = 3;
const int COLS = 8;
void FillRand(int arr[], const int n);
void FillRand(short arr[], const int n);
void FillRand(float arr[], const int n);
void... |
d86f7e03e8da9ed5253108d166fbf722e4e0b7de | 96d3def8e1c9772f04252820f5ffe4059c9f261a | /KinectOptionsDialog.cpp | 0d223dc622bfc3ce8d4924ae93bd6df977faa3ed | [] | no_license | freemancw/PoseDesigner | c4f42f459fe78845f8448d5e3d1c296a334f7989 | bb2a14bbde0c436944ebd4ede7e3c2d24636df1c | refs/heads/master | 2016-08-02T21:41:03.425934 | 2012-03-05T16:09:15 | 2012-03-05T16:09:15 | 2,507,177 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,100 | cpp | KinectOptionsDialog.cpp | /*!
* @file KinectOptionsDialog.cpp
* @author Clinton Freeman
* @date 5/15/2011
*
* This file is primarily updated by the GUI editor.
*/
// local
#include <KinectOptionsDialog.h>
#include <ui_kinectoptionsdialog.h>
#include <KinectInfo.h>
KinectOptionsDialog::KinectOptionsDialog(QWidget *parent) :
QDia... |
bfa846b5a46df65b6f45f4671141634330c18b68 | 4413914e3b80f3796fccd6d78b1e57203c27de63 | /src/MyGame.h | 4eb3462b89b6e40da10a415ccfc99e45c99a419a | [] | no_license | grynca/LD33 | 657cb0114215cb27f01a725ee464564add4d113f | 6fbe97452fac32e7f270ebba205a1064a8e97f7c | refs/heads/master | 2021-01-25T09:00:15.110788 | 2015-08-25T10:49:13 | 2015-08-25T10:49:13 | 41,273,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | h | MyGame.h | #ifndef MYGAME_H
#define MYGAME_H
#include "geng.h"
using namespace grynca;
#include "Helicopters.h"
#include "Missiles.h"
// fw
class Monster;
class HUD;
class MyGame : public Game, public Singleton<MyGame> {
public:
MyGame();
Helicopters helicopters;
Missiles missiles;
Monster& getMonster();
... |
899d955645088d07a262ea6b925e19abf043add0 | 0a2e28a3124281f162f6b90a7c26136fb41d3e2c | /307-Range-Sum-Query-Mutable.cpp | d7d59aff9b77b8f251ce151c64c6ca28c72fee2a | [] | no_license | liuyaqiu/LeetCode-Solution | 668d2331cfd4c48a8678cb4e51fa01903f89bfb5 | ac226d86eeed4aaa3e35bf90d7daac2fa5674e10 | refs/heads/master | 2020-01-27T19:50:57.570262 | 2018-03-01T09:09:12 | 2018-03-01T09:09:12 | 72,990,154 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | cpp | 307-Range-Sum-Query-Mutable.cpp | #include <iostream>
#include <vector>
using namespace std;
/*
* Range Sum Query - Mutable
*
* Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.
*
* The update(i, val) function modifies nums by updating the element at index i to val.
* Example:
* Given nums = ... |
0e64faac7f2b4ece61c9b38429e9f2312a16d990 | 9a69c1d7968c75fa171582cfaf776123683f7ce3 | /1006.cpp | b454d418919195ebc8b66fb4aa06b5ae078a955a | [] | no_license | myxxxsquared/bailian | b505d6403351b5d83fdbe486c9d0119bb2b45cf5 | 66298fa080af4e507722d03662188208c0fdd794 | refs/heads/master | 2020-08-04T05:47:47.014151 | 2019-10-17T01:32:48 | 2019-10-17T01:32:48 | 212,027,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cpp | 1006.cpp | #include <stdio.h>
int main()
{
int count = 0;
while (true)
{
count++;
int a, b, c, d;
scanf("%d %d %d %d", &a, &b, &c, &d);
if (a == -1)
break;
a = a % 23, b = b % 28, c = c % 33;
for (; (c - a) % 23 != 0 || (c - b) % 28 != 0; c += 33)
... |
2fa298220afc23cee1d9acfd587205b19bb16d1e | c157dc447672f47f2e4aef2291c25beea6d71cf0 | /geGL/src/geGL/OpenGLObject.h | 7dc05f5273c2ce043b717c7d9b3fe8cff92c8017 | [] | no_license | Rendering-FIT/GPUEngine | a1b38299adb9ee972a3b0011ad3bfb31b9da9fab | a5f486d3dfdc7c4430d90cb6cf0ccdba6da37844 | refs/heads/master | 2022-04-29T17:50:56.736207 | 2022-04-29T09:59:10 | 2022-04-29T10:09:39 | 81,936,720 | 11 | 8 | null | 2019-10-16T07:15:04 | 2017-02-14T11:04:27 | C++ | UTF-8 | C++ | false | false | 388 | h | OpenGLObject.h | #pragma once
#include<geGL/OpenGLContext.h>
class GEGL_EXPORT ge::gl::OpenGLObject{
public:
OpenGLObject(GLuint id = 0u);
OpenGLObject(FunctionTablePointer const&table,GLuint id = 0u);
virtual ~OpenGLObject();
GLuint getId()const;
GLuint&getId();
Context const&getContext()const;
OpenGLObject(OpenGLObject co... |
d62c88a1cbdc180ada337206151c2fd34fe71127 | 7887a24a4c0eed525a044b785e950d9a71ea7558 | /EventFilter/HGCalRawToDigi/test/HGCalSoATester.cc | 235d22c05c40f8be20d7c19ef5d8317939b1c9f6 | [
"Apache-2.0"
] | permissive | CMS-HGCAL/cmssw | 1aba653346d5a6a69aa60629b7b0cf81880cef91 | 03230166537ea0ea9e0c975cf28964ee81d545ae | refs/heads/hgcal-condformat-HGCalNANO-13_2_0_pre2 | 2023-08-16T21:25:36.872190 | 2023-08-14T20:05:05 | 2023-08-15T23:28:48 | 62,036,013 | 2 | 2 | Apache-2.0 | 2023-09-12T13:02:50 | 2016-06-27T07:48:31 | C++ | UTF-8 | C++ | false | false | 2,578 | cc | HGCalSoATester.cc | #include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/ESWatcher.h"
#include "FWCore... |
4bf3f0dc929a01aa6ee2b010b61b40cbc81882c5 | 7a9037b43ef0f36443228a2dbb712952466b3cf6 | /c++ algortihms/other/right left shift.cpp | 63c9a6c70d181c2488b15f7e4bd643c1da40cc31 | [] | no_license | Suhrid-Talukder333/Data-structures-and-Algorithms | 1af2e42423b14c283eb82676de6db85fdc8bb6ed | 6508748b186b7f0e7ad492fed5e19059a857fa53 | refs/heads/master | 2023-07-12T23:40:38.188305 | 2021-08-14T04:00:59 | 2021-08-14T04:00:59 | 294,078,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | right left shift.cpp | #include<iostream>
using namespace std;
int Leftshift(int arr[],int length)
{
for(int i=0; i<length; i++ )
{
if(i==length-1)
{
arr[i]=0;
}
else
arr[i]=arr[i+1];
}
}
void Rightshift(int arr[],int length)
{
for(int i=length-1; i>=... |
ad01fe850a1b092dd5e2b4fa845fa45992cac28d | 694df92026911544a83df9a1f3c2c6b321e86916 | /c++/Game/CreateTeamParam/CreateTeamParam.cpp | 97ec9931dc4d595b79ea6cec6d735bead395b9d0 | [
"MIT"
] | permissive | taku-xhift/labo | f485ae87f01c2f45e4ef1a2a919cda7e571e3f13 | 89dc28fdb602c7992c6f31920714225f83a11218 | refs/heads/main | 2021-12-10T21:19:29.152175 | 2021-08-14T21:08:51 | 2021-08-14T21:08:51 | 81,219,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,964 | cpp | CreateTeamParam.cpp |
#pragma warning(disable:4996)
#pragma warning(disable:4290)
#include <algorithm>
#include <limits>
#include <Personal/StreamObject.hpp>
#include "Define.hpp"
#include "Utility.hpp"
#include "DataType.hpp"
#include "Functor.hpp"
#include <stdlib.h>
#include <time.h>
int main() {
unsigned int count... |
01aca4a88bc472b3114611e5fb42fe9c769c819b | f0d22137ab4aba3a70c25b42b628e3f09743d936 | /modules/demux/mkv/mkv.hpp | 596e1269148be532860f6c3f23215506b6cd2ad3 | [] | no_license | duxq/vlc_2.1.0-vs_2010 | 6da94eac73bb70604162558e46a266f9acfc0e56 | 218172f619c9e248b709e479e5c10e197127a88e | refs/heads/master | 2021-06-18T12:02:28.079902 | 2017-06-28T02:33:56 | 2017-06-28T02:33:56 | 118,862,081 | 1 | 0 | null | 2018-01-25T04:27:09 | 2018-01-25T04:27:08 | null | UTF-8 | C++ | false | false | 6,722 | hpp | mkv.hpp | /*****************************************************************************
* mkv.hpp : matroska demuxer
*****************************************************************************
* Copyright (C) 2003-2005, 2008 VLC authors and VideoLAN
* $Id: efc88b3c2fef23ac529fc190ef26fc0b404441e2 $
*
* Authors: Laurent ... |
39831287b1fb95fc9da6c2773a6866b9262360d0 | 4b160069675176ef6e763f1e36b683b1b37b1bb3 | /src/maths/mat3.cpp | 52c79e92a70c6b4698c526733b1fe01b10c7f918 | [] | no_license | therealdarkknight/Rambug-Engine- | f6b818492b3f325c1bea3c9c28ba386f5513b6e7 | 60a50d1d0b06456c9771484aa70f075be5df3b3a | refs/heads/master | 2020-06-09T23:06:42.937292 | 2019-06-24T14:48:37 | 2019-06-24T14:48:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,117 | cpp | mat3.cpp | /*
DO NOT DELETE THIS COMMENT:
The ROM(Rambug Optical Mathematics) Library:
This software is written by Danyil Blyschak, 8/2015 (1st Build).
For any permissions, questions, or bug fixes, email the
support email that came with your distribution of this software.
*/
#include "mat3.h"
namespace Rambug
{
nam... |
76e709b0f581103381e6923c6457e821e07f6535 | 6316f75281dcc4898667e4d1f80292a734079079 | /HW11/Classes/HelloWorldScene.cpp | e3527557c855e93409c69ed126ac9da9fb29d779 | [] | no_license | tanxiaosysu/WindowsAPPandCocos2d | d8ab44c7c0efbf05167ca4f8a77a679f088a589f | c84c73e1d12d0c1c0248044ee2b333ade782bbb7 | refs/heads/master | 2021-01-17T14:56:41.142279 | 2016-08-04T09:30:41 | 2016-08-04T09:30:41 | 52,730,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,310 | cpp | HelloWorldScene.cpp | #include "HelloWorldScene.h"
#include "Monster.h"
#include <sstream>
#pragma execution_character_set("utf-8")
USING_NS_CC;
#define MIN_FLOAT 0.00001f
#define MAX_MONSTER_COUNT 15
Scene* HelloWorld::createScene() {
// 'scene' is an autorelease object
auto scene = Scene::create();
// 'layer' is an autore... |
79cf7096589f8851e0886ae747638976429ee5cd | 8f786151b08d7bce800dd0df5418b330f234d0e3 | /main.cpp | 27590763cf2738db517dea5afc80f0382fd65dc1 | [] | no_license | mlvangorden/BU-CS350 | 70d378deb38c9edd6abce1d96c6b40ecb218ebdb | fd4a3a9ebb17983d71fd8084b2a3012be2542b15 | refs/heads/master | 2020-04-27T14:02:17.322026 | 2019-03-07T17:53:20 | 2019-03-07T17:53:20 | 174,394,006 | 0 | 0 | null | 2019-03-07T17:53:21 | 2019-03-07T17:53:21 | null | UTF-8 | C++ | false | false | 224 | cpp | main.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <stdlib.h>
#include "helper.h"
using namespace std;
int main() {
Helper h;
h.generate_no_locality();
cout << h;
}
|
7ea43ec04ea408a0086d823e529f9a96aa948cae | 4491a810f77d635620442c6ef5e70ade50eecbe8 | /exam/2017.10.13/crf3.cpp | 1727d5f24963a9e941f53a0fc9b360964699a4a5 | [] | no_license | cooook/OI_Code | 15473a3b7deafa365d20ae36820f3281884209bf | 45d46b69f2d02b31dcc42d1cd5a5593a343d89af | refs/heads/master | 2023-04-03T21:35:57.365441 | 2021-04-15T14:36:02 | 2021-04-15T14:36:02 | 358,290,530 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,324 | cpp | crf3.cpp | #include <stdio.h>
#include <iostream>
#include <cstring>
#define ls o << 1
#define rs o << 1 | 1
#define MAXN 100005
int n,Q,val[MAXN],sum[MAXN<<2][8],_sum[8],tag[MAXN<<2];
template <typename _t>
inline _t read() {
_t x = 0, f = 1;
char ch = getchar();
for (; !isdigit(ch); ch = getchar()) if (ch == '-'... |
e953bad3042ea2108c2ae5d0e6e8e876d3da3c4a | 0c38f883b52501f2c39c29a1300aa5c1e043c2cc | /Assignment1/Assignment1/utils.cpp | 6c5e5368042825964b5ea90c457e2c555f17a11b | [] | no_license | wilcroft/CAD-Assignments | dd28fe5891586717095693c923ea659bf052477b | 642b03fe497aabb71b567043b3ed346b5c954201 | refs/heads/master | 2021-01-09T21:58:38.375999 | 2016-09-16T14:53:47 | 2016-09-16T14:53:47 | 43,307,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,350 | cpp | utils.cpp | #include "utils.h"
namespace utilvars{
int graphn, graphw;
// t_bound_box initial_coords;
Channel * routing;
std::map<pin, enum color_types> colormap;
}
void popToFront(std::list<struct connections_t>* lst, std::list<struct connections_t>::iterator it){
struct connections_t temp;
temp = *(it);
lst->erase(it);
... |
1267f8c0e87e013a39b3b60bd8f39c5258c01ffc | 7a013350d3e6b9da62cb33c0bb364af3533b2865 | /Tank.h | ebd5a915678bc3214896f9ac1f0019d71c508941 | [] | no_license | DimitarHKostov/GameProject_OOP | 945f3fe1d5567ae2254c99644f34f8c6e612596a | c0b730ee669655e119ec122906711108fd2b0b03 | refs/heads/master | 2022-11-14T20:05:48.176673 | 2020-06-27T06:06:10 | 2020-06-27T06:06:10 | 219,047,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 320 | h | Tank.h | class Tank: public Monster
{
private:
int bonusDefense;
public:
Tank();
Tank(int, int, int, const char*);
void hit(Monster&) override;
~Tank();
void specialAbility() override;
void specialAbilityEffect() const override;
void setBonusDefense(int);
const int getBonusDefense() const;
}; |
8c4e1d89504b937abbbb6c5085805e27663e9e7c | b300f0a5f0dc5d3d12a7bd0d2945010c36dd0672 | /SFML-game/DialogInterface.hpp | 7d4da93046f7280c5469c9d46b8c6dea414f3b5e | [] | no_license | Baardi/RPG-Game | 642a003438f209e918556f3a31a156ead6340645 | e87cc31d230da5865b2041dbddd36a2d8f28ee1c | refs/heads/master | 2023-03-18T02:01:14.377887 | 2023-03-10T21:15:10 | 2023-03-10T21:15:10 | 132,925,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | hpp | DialogInterface.hpp | #pragma once
#include "PopupMenu.hpp"
namespace appstate {
class DialogInterface : public appstate::PopupMenu
{
public:
DialogInterface();
~DialogInterface();
void init() override;
};
}
|
aa53bc86657b499185c8dbe5caf672a40a64836f | 483ff22f4f72fbd95eadf601875745ef04a0dbd3 | /CampusLife/VOJ/POJ_3277.cpp | af44368e982c1281445a53082b86f45d0c7dfa40 | [] | no_license | Domacles/MyCXXode | a7c98f52824ee62d79e22e9e5f7487c81a2e6108 | f72fc8b230d3b4bff8972472a39a66c1103bc341 | refs/heads/master | 2021-08-24T02:19:54.177050 | 2017-12-07T16:30:41 | 2017-12-07T16:30:41 | 113,472,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | cpp | POJ_3277.cpp | #include<iostream>
#include<algorithm>
#include<cstdio>
#include<cstring>
using namespace std;
#define L(rt) (rt<<1)
#define R(rt) (rt<<1|1)
const int N=40010;
struct node{
int l,r,h;
}tree[N<<3];
int seg[N<<1],hei[N],lp[N],rp[N];
void build(int l,int r,int rt){
tree[rt].l=l;
tree[rt].r=r;
tree[rt... |
64a18640a057c8ec123a581630e3b7fd73445a65 | 17b6dfbb1f02cca3c2abc59171bde09c91cd7a5c | /API_4weeks Fire Emblem Copy/UI_tileInfo.cpp | ef1211764af4571af325ff7c3f169eca0aad5436 | [] | no_license | gomdroi/MCH_API | 6a117bc975996f7c191b342b1e1a8bd23c122888 | 6bb67112683deb4ab19f656a9082b246079534d6 | refs/heads/master | 2021-05-21T14:22:37.903154 | 2020-04-23T03:05:19 | 2020-04-23T03:05:19 | 252,679,079 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 4,727 | cpp | UI_tileInfo.cpp | #include "stdafx.h"
#include "UI_tileInfo.h"
#include "unitSet.h"
#include "tile.h"
UI_tileInfo::UI_tileInfo()
{
}
UI_tileInfo::~UI_tileInfo()
{
}
HRESULT UI_tileInfo::init()
{
isCommand = false;
isTagUnit = false;
tileFront = IMAGEMANAGER->addImage("타일정보메인", "images/UI/tileinfo_front.bmp", 150, 165, true, RGB(... |
a4afb00b83cd5bfcf68f8b6f10a32b6a07171886 | e0d8e2cb01bb9327076ed366c14166ec55814ba6 | /game/player/wheel.cpp | 3dd318553bb85e58465f6021d1bd209516809f90 | [] | no_license | brennand97/ASCII-Game-Engine_CS162-Final-Project | e771b213287d24b5da198445f66ba1f0430872b8 | d7af2a833958da3c38a0d4269935d13ba28422b9 | refs/heads/master | 2021-06-12T21:42:08.981292 | 2017-04-04T02:48:43 | 2017-04-04T02:48:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,706 | cpp | wheel.cpp | /**
* Author: Brennan Douglas
* Date: 03/12/2017
* Description: This is the source file for the Wheel class
*/
#include "wheel.hpp"
#include <cmath>
#include "../../space.hpp"
std::string Wheel::TYPE = "wheel";
std::string Wheel::WheelConstraint::TYPE = "wheel_constraint";
// Constructor for the Whee... |
4f6c66c59aace4613ae9a080d02c9657d6b16574 | b1442f84be649f260dd15f91ecdd01fbce80df99 | /OcsfmlWindow/ocsfml_window_stub/Context.hpp | fd991088f99fb668c86bafa9daff73fa8d1a05d8 | [
"Zlib"
] | permissive | JoeDralliam/Ocsfml | ee91296c2a15f95e2e686ba08d048bf5f9ae7a71 | e1bf50665aa34dea4e4d249bf73ab0036b3731fb | refs/heads/master | 2021-01-21T00:43:40.449096 | 2015-11-01T15:20:42 | 2015-11-01T15:20:42 | 2,289,026 | 9 | 3 | null | 2015-10-31T11:00:48 | 2011-08-29T14:42:27 | OCaml | UTF-8 | C++ | false | false | 233 | hpp | Context.hpp | #ifndef OCSFML_CONTEXT_HPP_INCLUDED
#define OCSFML_CONTEXT_HPP_INCLUDED
#include <camlpp/custom_class.hpp>
#include <SFML/Window/Context.hpp>
typedef sf::Context sf_Context;
camlpp__preregister_custom_class( sf_Context );
#endif
|
039ead15ac18abaaf5614ca35e107cd444ff2826 | 66431914fa368bc92d20e4cad64bbde8b3717d00 | /DirectXEngine-2014/Graphics.h | 51dc903f54fd5c4e569fccb6d25b7bf9d7e620b6 | [] | no_license | AmiraliMohayaee/dx11-engine | a855550ac22d0f510db1e18073668cc87edfc584 | 0761454e9f91210800df8ff9d2f3626e848832b6 | refs/heads/master | 2021-06-05T13:13:37.299992 | 2018-10-15T22:58:36 | 2018-10-15T22:58:36 | 33,119,785 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | h | Graphics.h | #pragma once
#include <Windows.h>
#include "Singleton.h"
#include <string>
#include <d3d11.h>
#include <d3dx11.h>
#include <xnamath.h>
#include "RenderTargetView.h"
#define WIN32_LEAN_AND_MEAN
namespace DXEngine
{
class Graphics : public NonCopyable
{
public:
bool Initialize(unsigned int width, unsigned int... |
4753e8bd9d0363797049f4cce4c0410d81c0fa7a | dee3b3f42235c68217b6d672c6da25c69077c742 | /_MODEL_FOLDERS_/floorStraps/floorStraps.cpp | a2eee4b6edeeeeae5e51e0d7936dd35dd34e7d2b | [] | no_license | marcclintdion/a7_RETINA_Default_FBO | fa61f69253a935df5caf37baad98d79eb94e6566 | 93f056a3749ab88b3bd545b9426cacf9497f6a32 | refs/heads/master | 2021-01-10T07:11:50.408267 | 2015-09-26T18:33:17 | 2015-09-26T18:33:17 | 43,217,724 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 106,879 | cpp | floorStraps.cpp | GLfloat floorStraps[] =
{
//number of vertices = 2286
-3.90796,-0.157551,0.70337,-0.993044,0,-0.117742,0.740066, 0.905001,
-3.93219,-0.157551,0.907722,-0.993044,0,-0.117742,0.759955, 0.88389,
-3.93219,0.040093,0.907722,-0.993044,0,-0.117742,0.77252, 0.902619,
-3.90796,0.040093,0.70337,-0.993044,0,-0.11774... |
7b7abb7d7b8b33724e578b816e574f648d45f41a | ac357369f0af0a65bef865bde8ad9121ab9dcfed | /Server/RaftConsensus.cc | e2cd6cd4e00556911a0e305cd6bc52aa654f27f8 | [
"ISC"
] | permissive | jimpelton/mingle-logcabin | 9b695fcd228ae55ef984f8a35d3a77246bd64ec9 | 2e2b6f3aa3c270ba46b7731f9d6bf48dba75c916 | refs/heads/master | 2020-03-25T17:12:40.946335 | 2014-07-15T18:43:06 | 2014-07-15T18:43:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,156 | cc | RaftConsensus.cc | /* Copyright (c) 2012 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI... |
928a7c857168f9d74b4da75618f135f981b9dc95 | 491f11457d9b28ce6d86ca3760b87c871c99b94e | /Random/cybernautes.cpp | 55f9e2a0d51b52ccacd69187ddee16b0d53d2c10 | [] | no_license | jongli747/Contest-Code | 3d5d400bd61114a085f914163433be3b406523ee | 57d7f4fe830edb3b00ec284e0b1d7a14df7fe128 | refs/heads/master | 2021-01-10T23:17:13.181515 | 2018-11-10T19:42:08 | 2018-11-10T19:42:08 | 70,623,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | cybernautes.cpp | #include<bits/stdc++.h>
using namespace std;
int n, sum, summ;
char str[100];
int main()
{
cin >> n >> str;
for(int i=0; i<=n-1; i++)
{
if(str[i] != '4' && str[i] != '7'){
cout << "No" << endl;
return 0;
}
}
for(int i=0; i<=(n/2)-1; i++)
{
sum = sum + ... |
0c21de145527f61c671445e64a74f4f71d66ed5d | 714bbe88a945f0dca7c96b65e68c703fd7a6e522 | /Matchstick/src/core/core.impl/MGDFDebugImpl.hpp | c1f8f898942bc8453bc0833572f9da4d8524bb80 | [
"MIT"
] | permissive | mrsharpoblunto/MGDF | bd925ba7360d07d76ec7996451b87fe84a0b86c0 | 579309170ba84ca9e69d3c99d0804af644dacc16 | refs/heads/master | 2023-06-02T18:46:09.523284 | 2023-05-13T19:40:50 | 2023-05-13T19:40:50 | 1,732,528 | 4 | 1 | null | 2022-12-07T19:15:27 | 2011-05-11T09:59:48 | C++ | UTF-8 | C++ | false | false | 821 | hpp | MGDFDebugImpl.hpp | #pragma once
#include <MGDF/ComObject.hpp>
#include <MGDF/MGDF.h>
#include <atomic>
#include <map>
#include <sstream>
#include <string>
#include "MGDFHostStats.hpp"
#include "MGDFTextStream.hpp"
#include "MGDFTimer.hpp"
namespace MGDF {
namespace core {
class Debug : public ComBase<IMGDFDebug> {
public:
virtual ... |
8de1361d3eccb6ba9c9b2cfa2d1d129d80e5380f | 93343c49771b6e6f2952d03df7e62e6a4ea063bb | /HDOJ/2581_autoAC.cpp | fecaaaefbcc4978d13bba27abd4d9e3deb7897a4 | [] | no_license | Kiritow/OJ-Problems-Source | 5aab2c57ab5df01a520073462f5de48ad7cb5b22 | 1be36799dda7d0e60bd00448f3906b69e7c79b26 | refs/heads/master | 2022-10-21T08:55:45.581935 | 2022-09-24T06:13:47 | 2022-09-24T06:13:47 | 55,874,477 | 36 | 9 | null | 2018-07-07T00:03:15 | 2016-04-10T01:06:42 | C++ | UTF-8 | C++ | false | false | 3,830 | cpp | 2581_autoAC.cpp | #include<iostream>
#include<math.h>
using namespace std;
int t, w, l, b;
struct POINT
{
double x, y, r;
} node[12];
int parent[12];
int bomb[12][12];
int visit[12];
int isbomb[2][12];
double dist(POINT a, POINT b)
{
return sqrt(1.0 * ((a.x - b.x) * (a.x - b.x) + (a.y - b.y) * (a.y - b.y)));
}
vo... |
3fd4618d137185ae2db9e7ff390c74d31e756c6f | 841776845974ba2645eff58ff8fabedd873093f0 | /LeetCode/1827最小操作使数组递增.cpp | b68ab084c1512da5f71ecf05d713d7336e72b660 | [] | no_license | hello-sources/Coding-Training | f2652c9b8e58d244a172922e56897fa2a3ad52fb | d885ca23676cb712243640169cf2e5bef2d8c70e | refs/heads/master | 2023-01-19T11:17:36.097846 | 2023-01-01T00:49:09 | 2023-01-01T00:49:09 | 246,630,755 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | cpp | 1827最小操作使数组递增.cpp | int minOperations(int* nums, int numsSize){
int ans = 0;
for (int i = 1; i < numsSize; i++) {
if (nums[i] > nums[i - 1]) continue;
else {
int left = nums[i - 1] - nums[i];
ans += left + 1;
nums[i] = nums[i - 1] + 1;
}
}
return ans;
} |
bbeef2363b8ac79ea125b57f7e4def78bfc853a7 | 39719ced2451b97c266568e2d9364bfe90ab3498 | /Source/PluginPhysics_Ode/Wrapper/Stepper.h | ed37ccccfc0dae75cd3b6240e3b7ecf3fa7ede07 | [
"MIT"
] | permissive | shanefarris/CoreGameEngine | 74ae026cdc443242fa80fe9802f5739c1064fb66 | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | refs/heads/master | 2020-05-07T12:19:23.055995 | 2019-04-11T14:10:16 | 2019-04-11T14:10:16 | 180,496,793 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,203 | h | Stepper.h | #ifndef _OGREODESTEPPER_H_
#define _OGREODESTEPPER_H_
#include "PreReqs.h"
#include "OgreFrameListener.h"
namespace Ode
{
//------------------------------------------------------------------------------------------------
class StepMode
{
public:
StepMode(World *world) : _world(world) { }
... |
3128d84035ac966d70b6f2fc31e25485fd6e8e1e | f6f3e43f395cdcd86de55ceba136f87059f4d16b | /CS260/BinarySearchTreeProject/BinarySearchTree/main.cpp | 1a417b4d53c58d5265988627303682b8fb14f10a | [] | no_license | ashrestha18/wou-cs | 97a765359ce2ea8d3de13431f3a7b1581c8836de | a6d197fa8d65ffb36e4dab2780b3482e48da0309 | refs/heads/master | 2022-11-09T15:27:13.373828 | 2020-06-22T07:35:14 | 2020-06-22T07:35:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | main.cpp | #include "BSTree.h"
using namespace std;
int main()
{
BSTree<int> myTree;
myTree.clear();
myTree.insert(10);
myTree.insert(20);
myTree.insert(30);
myTree.insert(40);
myTree.insert(50);
myTree.insert(60);
myTree.insert(50);
myTree.insert(70);
myTree.insert(80);
myTree.ins... |
4db79271c12203893eb1b3aba4a3b16e96bf266b | 0531cb5cc3ca167fe63176cff1369715761eb08c | /libHSAIL/libHSAIL/hsail_c.cpp | 4f8382fafdf4585de5f6e11926ec5201d8acc49d | [] | no_license | syifan/HSAIL-Tools | 425898d26ce673b20af5abe482848510af90bdff | 708845fe55b2146d8fc2c46bdb91b74e3526ffb1 | refs/heads/master | 2021-05-28T20:10:36.966629 | 2014-12-11T20:28:54 | 2014-12-11T20:28:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,306 | cpp | hsail_c.cpp | #include "hsail_c.h"
#include <fstream>
#include <sstream>
#include "HSAILBrigContainer.h"
#include "HSAILBrigObjectFile.h"
#include "HSAILParser.h"
#include "HSAILDisassembler.h"
#include "HSAILValidator.h"
using namespace HSAIL_ASM;
namespace {
struct Api {
BrigContainer container;
std::string errorT... |
1c60cc7c5057b3ca4e787d07243d82e4be2a128f | 8dcac58a9a94bb288cb963155bd2ba46b7dda91a | /src/extract/bomb_directory.cpp | 66a0134b8a7f516d2cb6d1310300e13c70ecb414 | [] | no_license | pmiddend/extract | cf02f89740f85ec756b0015a5714307cbff65689 | b5d08a030227ba324050518b6e67476c8e922f65 | refs/heads/master | 2016-09-06T09:07:21.432784 | 2012-04-21T21:05:32 | 2012-04-21T21:05:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | bomb_directory.cpp | #include <extract/bomb_directory.hpp>
#include <fcppt/text.hpp>
fcppt::string const
extract::bomb_directory(
boost::filesystem::path const &_p)
{
/*
fcppt::string::size_type const p =
_p.filename().find(
FCPPT_TEXT('.'));
if (p == fcppt::string::npos)
return
_p.filename()+FCPPT_TEXT(".dir");
*/
/*
... |
9434bb7c75f64c061f39657cadf6a050573bd65f | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/ingest/src/SerialIngest/Tty.hh | 7180f6d21ba11230286f23cf7b67874facbe31e7 | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 3,003 | hh | Tty.hh | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... |
1067df895182daa8cbfe6e37237d15ad484f19b0 | 9cffd8d8ce7e179bc9037766aa868f07a974e86c | /MovementSkill/Engine.cpp | d98f5f867873f3b09ccab17a1938767a2db55258 | [] | no_license | KolCrooks/OpenGLEngine | 88efba1d7caf780ae9e8aca28ca7cb346872cdfd | 1ed4e5e6dac787c1d2f4bdb14ae0ca2455191119 | refs/heads/master | 2021-09-03T04:48:14.834754 | 2018-01-05T17:57:11 | 2018-01-05T17:57:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 664 | cpp | Engine.cpp | // MovementSkill.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Settings.h"
#include "Logic.h"
using namespace sf;
settingsFile GameSettings;
Window* GameWindow;
bool USE_FILE_GEN_SETTINGS = false;
int main()
{
//Setup Settings
settings *Settings = new settings();
if... |
8aadb150e8e5f0c7ed52a0bcc5e5d8aabfcf820a | bc3c03ae7a16786f6c99fb93622cd4eecda83c64 | /SheepHerdChallenge/Source/SheepHerdChallenge/DogPawn.h | 3c89db6964aa8c98fb5ee7f134a5fe6d58577617 | [] | no_license | lizzye414/SheepHerdingChallenge | b7a47159d69c8321ba9d7bbea0e911f5705262a6 | 0f1bbbe9dc04483a3e646fd3d9ec94afc8221de2 | refs/heads/master | 2022-12-17T14:36:25.556803 | 2020-09-15T15:28:22 | 2020-09-15T15:28:22 | 295,770,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | h | DogPawn.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/DefaultPawn.h"
#include "Components/InputComponent.h"
#include "DogPawn.generated.h"
/**
*
*/
UCLASS()
class SHEEPHERDCHALLENGE_API ADogPawn : public ADefaultPawn
{
GENERAT... |
5b3264b6df07959a1b13c7f09bf3dce5a0ed3b27 | d4d5b04211769a1378013e56cecca1e82387d167 | /pthread/Box.h | 8fd548eb6bf99d0336c3f259a7440a4050537491 | [] | no_license | aaaaxiaofei/parallel | fa818cafa61176fdb5f4f76f69f4200c1ffd99b2 | ce25f5217ce926a890bd814ae97b023c2876ebc2 | refs/heads/master | 2021-01-11T18:46:13.929874 | 2017-01-23T05:21:34 | 2017-01-23T05:21:34 | 79,620,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | Box.h | #pragma once
#include <vector>
#include <string>
#include <fstream>
using namespace std;
class CBox
{
public:
int boxID;
double left_x, right_x, upper_y, lower_y, width, height, T, T_temp;
vector<int> left_id, right_id, top_id, bottom_id;
CBox(void);
~CBox(void);
void input(istream&);
void print();
double c... |
b1d53fdb82b8bbd034abefd657147ef2d2115101 | f40711962898b810cf3964e153d11ab5f8a96c6a | /src/surfer/common.h | 0864bc57638c3c73ca755bf9c12a57e475193992 | [] | no_license | leonardopsantos/mestrado-surfer | d8b400280b7fce81072eefe6dd54558ea50c7895 | d2baf7b18d48f89f5cb3bdc454a315020b302acc | refs/heads/master | 2021-01-18T17:11:49.067548 | 2016-08-23T21:25:16 | 2016-08-23T21:25:16 | 34,485,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 841 | h | common.h |
#ifndef _INCLUDED_COMMON_H_
#define _INCLUDED_COMMON_H_
#include <boost/foreach.hpp>
using namespace boost;
#define foreach BOOST_FOREACH
#define MAX(a, b) ((a > b) ? a : b)
#define dbprint(a) cout << #a << " = " << a << endl
#define BUFSIZE 512
enum lineOpts {OPT_USE_7, OPT_D_ADDERS, OPT_AGGRESSIVE, OPT_E_AGGREG, ... |
664489bf04e033dcc41b514dab04dc10df485600 | 6248b0c47e1073014ce784bccaa108674cd43108 | /Distributed Systems/Asteroids/Asteroid.cpp | 8d56d1f6da43e741969fcaa5972c617eff23b436 | [] | no_license | JorgeReus/ESCOM | 482608d537dc1aa9243a30885b1ab3ea9ff9ddf4 | c53398914b99b06658342d5fb8d71dd7e72d32a9 | refs/heads/master | 2021-09-24T16:21:37.756780 | 2018-10-11T18:14:40 | 2018-10-11T18:14:40 | 112,122,857 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,303 | cpp | Asteroid.cpp | #include "Asteroid.h"
#include "gfx.h"
#include <iostream>
#include <cstdlib>
#include <cmath>
#include "Coordinate.h"
using namespace std;
const int MAX_X = 1300;
const int MAX_Y = 740;
const int MIN_X = 0;
const int MIN_Y = 0;
Asteroid::Asteroid()
{
int cuadrant = 1 + rand() % 4;
if(cuadrant == 1) // Upper C... |
9c71f9a7d5c082757022063acec94f036bf8a2fb | dec4ef167e1ce49062645cbf036be324ea677b5e | /SDK/PUBG_P_MotoDrive_Rock_Front_BP_functions.cpp | a28f2f622c356342952a95e15943a16560965f1b | [] | no_license | qrluc/pubg-sdk-3.7.19.5 | 519746887fa2204f27f5c16354049a8527367bfb | 583559ee1fb428e8ba76398486c281099e92e011 | refs/heads/master | 2021-04-15T06:40:38.144620 | 2018-03-26T00:55:36 | 2018-03-26T00:55:36 | 126,754,368 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,970 | cpp | PUBG_P_MotoDrive_Rock_Front_BP_functions.cpp | // PlayerUnknown's Battlegrounds (3.5.7.7) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_P_MotoDrive_Rock_Front_BP_parameters.hpp"
namespace PUBG
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------... |
8aa1cfc97788038bb48982a6d36aa3a76a2c8275 | 24004e1c3b8005af26d5890091d3c207427a799e | /Win32/NXOPEN/NXOpen/FollowFilletRule.hxx | c6aa359d1161a8aa343dc8ce3d7cc484d71452db | [] | no_license | 15831944/PHStart | 068ca6f86b736a9cc857d7db391b2f20d2f52ba9 | f79280bca2ec7e5f344067ead05f98b7d592ae39 | refs/heads/master | 2022-02-20T04:07:46.994182 | 2019-09-29T06:15:37 | 2019-09-29T06:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,070 | hxx | FollowFilletRule.hxx | #ifndef NXOpen_FOLLOWFILLETRULE_HXX_INCLUDED
#define NXOpen_FOLLOWFILLETRULE_HXX_INCLUDED
//--------------------------------------------------------------------------
// Header for C++ interface to JA API
//--------------------------------------------------------------------------
//
// Source File:
// FollowFill... |
33ffc7f016bd73f36bca6e361d2aadcc217b6bbb | b203adce945facba4210e53b7ca42b8079fc7e93 | /lab6/aghMatrix.cpp | 8c11b185061a8297e7b0674f30e1c9b908ed64d1 | [] | no_license | macko99/mownit | f45b6346c018629a7f47ce01c6a79b64c04012f7 | 6b05d8a8e59afc2fa2c6fecee5a461669d441b2b | refs/heads/master | 2021-04-11T14:37:58.096920 | 2020-06-01T20:44:41 | 2020-06-01T20:44:41 | 249,028,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,576 | cpp | aghMatrix.cpp | #include <vector>
#include <iostream>
template <typename T> class AGHMatrix
{
private:
std::vector<std::vector<T>> matrix;
unsigned rows;
unsigned cols;
public:
explicit AGHMatrix(const std::vector<std::vector<T>>& matrix);
AGHMatrix(const AGHMatrix<T>& rhs);
virtual ~AGHMatrix() = default;
... |
14e65ec3541640a44dab900cfd17fae3bf11c2ee | 9650045c04c6c04d0f183d585ef8f3ce108ceb29 | /q5/main.cpp | a51fdafb8a7822aa587c87843c3309e90f5f00dd | [
"MIT"
] | permissive | mike10004/cs-bridge-2020-hw8 | 6d79a12a4b8433704b22853b101db93618fe1b55 | c2f196274aac3aa0447538b51a6e0cafab3dbd78 | refs/heads/master | 2021-02-06T05:32:45.349125 | 2020-03-03T23:19:54 | 2020-03-03T23:19:54 | 243,881,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | main.cpp | // mac937@nyu.edu
// hw8 question 5
#include <iostream>
#include <string>
using namespace std;
// "Initialifies" a name by truncating it to its first letter and
// adding a period.
void initialify(string& name) {
char initial[] = "_";
if (!name.empty()) {
initial[0] = name[0];
name.assign(in... |
770a6499afa872003220961b0dc60263d49f98a7 | a53d95351173949c6d742de3a640ae9b23152496 | /Source files/FiguresVariant.cpp | 2cd5baf575d0274ffe6f666c2904d5ad2038c3bb | [] | no_license | BMSTU732/Polymino | 6bda43f8b728948308e501ce7ee66c607cce014e | 2b61fc9e0e0a71d50bb7554a9976fb357e7cf724 | refs/heads/master | 2021-08-28T16:20:10.644488 | 2017-12-12T18:16:45 | 2017-12-12T18:16:45 | 112,956,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,613 | cpp | FiguresVariant.cpp | #include "FiguresVariant.hpp"
FiguresVariant::~FiguresVariant()
{}
FiguresVariant::FiguresVariant(string base, Figures figure) :
data_group_performance{ base },
figures{ figure },
end{ false }
{
vector<string> group_performances = figures.getGroupPerformances();
for (int i = 0; i < group_performance... |
476495bbeb99061c3a1445b0e1ca49b3fdc04b06 | 9728b8a0731fb0efad974d1ad7a39a3dcdad689f | /elite-modern-implementation/vector.cpp | 0bc38bd11ea861d1eb501bd05c0859a834e0e6af | [] | no_license | kangere/Spring-18-OOP | 1e7e4cb0714d1cb874c578fe362e96a871050f6b | bf9bfe5eb078070b2518009f66ac860b7d8cde05 | refs/heads/master | 2021-05-11T06:38:02.956707 | 2018-05-04T21:14:30 | 2018-05-04T21:14:30 | 117,993,841 | 0 | 0 | null | 2018-04-01T05:02:42 | 2018-01-18T14:32:00 | C | UTF-8 | C++ | false | false | 3,077 | cpp | vector.cpp | #include "vector.hpp"
#include <math.h>
static const Matrix start_matrix =
{
{1.0,0.0,0.0},
{0.0,1.0,0.0},
{0.0,0.0,-1.0}
};
/*
*funciton multiplies this vector with a second matrix
*and updates fields of current vector (this vector)
*/
void vector::mult_vector(vector *matrix)
{
double t_x, t_y, t_z;
t_x = (x... |
24ef9db0c88caccf8c4a2119ccb93e00a4901063 | 9e34e84c20760a9a37512c675074974ac7e56275 | /more-source/2010-2011/kbtu_lksh/day9/cubes.cpp | 3ded0b1eacc9f61b48364ff22bd9225fcce693b4 | [] | no_license | Slava/competitiveProgramming | 2b7f26bf24143b459c6e2625ef1ea343a926bb76 | b68391720b9f9efc4162a66ca07d9448cffc1453 | refs/heads/master | 2021-01-21T12:40:40.053352 | 2020-01-06T19:21:45 | 2020-01-06T19:21:45 | 9,552,080 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,775 | cpp | cubes.cpp | #include <cstdio>
#include <cstring>
#define min(a,b) (a<b?a:b)
int n, m, k, mm, ans, S, T;
int d[2100], from[2100];
struct edge {
int x, y, c, f, cost;
edge() {f = 0;}
}a[400000];
bool fordbellman() {
memset(from, ~0, sizeof from);
for (int i = 0; i < n; i++)
d[i] = (1 << 30);
... |
fbc46159ef99981264a8860c2771cb7fea786ce0 | a6da5d2b60ad4545b0263997bf2a6e839821cd9f | /Source/NoName/Components/Movement/NLCharacterMovementComponent.h | 97cd25bbfde1497f0fd93151201d38ebd75d8d10 | [] | no_license | Nomu-s-Lair/NoName | 5ab11a6a0f78cd392bf3fafe31be5378d1a87241 | 0a3d40c4affc2296b959cdb33007dd463710037d | refs/heads/main | 2023-08-02T21:19:30.531301 | 2021-10-09T19:54:33 | 2021-10-09T19:54:33 | 409,980,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | h | NLCharacterMovementComponent.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "NLCharacterMovementComponent.generated.h"
/**
*
*/
UCLASS()
class NONAME_API UNLCharacterMovementComponent : public UCharacterMovemen... |
4262d507787b78cff3978975fb89d1bf39f8baf0 | f14db7a1da4a6112874e8b03c0e730cee93ba1ab | /shader.cpp | 65f517a1a709eacda974397b0c6a1ede385ad142 | [] | no_license | Pusiu/QtGame | abe8b5261ab0bac3061b74dff4823eca7415a9ea | ca413b4686fda6467101b3de9bee6afc1e5f52b5 | refs/heads/master | 2022-09-21T02:51:30.757944 | 2020-06-05T00:35:49 | 2020-06-05T00:35:49 | 179,370,468 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | shader.cpp | #include "shader.h"
Shader::Shader(QString name, QString vertexPath, QString fragmentPath)
{
this->name=name;
this->vertexPath=vertexPath;
this->fragmentPath=fragmentPath;
program = new QOpenGLShaderProgram();
Reload();
}
void Shader::Reload()
{
program->bind();
program->removeAllShaders()... |
b9f4d2b1b55a1986b0ace498427d109b49a50f44 | 194e04c9df93a0cc5d3d76289fc41973c4700c93 | /Capture/Packet.cpp | 5e74ba87765284c4c2e36aa13c0bfef225bd8ecc | [] | no_license | StarRate1214/master | 30845be1440c8703c3e6043be852da0abbf03508 | 522a5975bb1c76752210ee4754992c86bab98a68 | refs/heads/master | 2022-03-08T10:34:29.511288 | 2019-11-03T04:36:54 | 2019-11-03T04:36:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,217 | cpp | Packet.cpp | #include "Packet.h"
/*
CEthernet::CEthernet() {}
CEthernet::~CEthernet() {}
CEthernet::CEthernet(u_int8_t src_mac[], u_int8_t dst_mac[], u_int16_t ether_type)
{
for (int i = 0; i < 6; i++)
{
this->src_mac[i] = src_mac[i];
this->dst_mac[i] = dst_mac[i];
}
this->ether_type = ether_type;
}
... |
5873c150b1a6c27f6590b21c4128eb7fc5f19c04 | 33be137cc86b78bce45820fc81383b0784b69c36 | /sources/arquade/game/m_insane.cpp | 59907e47225723e0a2aabbab0ccb54c4ebd56cdb | [] | no_license | Paril/quake2-source-archive | 010d9758448ae61442d7d12a7198d4c4874665d4 | 6eb7a72cd2187dc0caef151f9af5e6f4b090dd8a | refs/heads/main | 2023-07-12T16:50:16.098868 | 2021-08-22T12:30:00 | 2021-08-22T12:30:00 | 341,576,903 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 17,324 | cpp | m_insane.cpp | /*
Copyright (C) 1997-2001 Id Software, Inc.
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 2
of the License, or (at your option) any later version.
This program is distributed in th... |
bada14b5facffc857b394012d2a34c139e35b2dc | 9de0cec678bc4a3bec2b4adabef9f39ff5b4afac | /PWG/FLOW/Tasks/AliAnalysisTaskPhiFlow.cxx | b622df02de015f4df46684311c8107c4fdd1b5e6 | [] | permissive | alisw/AliPhysics | 91bf1bd01ab2af656a25ff10b25e618a63667d3e | 5df28b2b415e78e81273b0d9bf5c1b99feda3348 | refs/heads/master | 2023-08-31T20:41:44.927176 | 2023-08-31T14:51:12 | 2023-08-31T14:51:12 | 61,661,378 | 129 | 1,150 | BSD-3-Clause | 2023-09-14T18:48:45 | 2016-06-21T19:31:29 | C++ | UTF-8 | C++ | false | false | 64,894 | cxx | AliAnalysisTaskPhiFlow.cxx | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
01e7ba5cc61590ed8f319033decce12972807392 | 6c6bb201c0dce86a053dfb9f4e8b2f26d0892fca | /downloaddialog.cpp | 736101edfff862d97cad2304de77b382605112d7 | [] | no_license | End1-1/FlashCards | 076481f5bb263e42beba879be4612c7c279de2be | e8609f440894dd4eab389397c0db91af0abfc896 | refs/heads/master | 2022-11-07T18:39:02.336469 | 2022-10-17T21:22:47 | 2022-10-17T21:22:47 | 251,817,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | cpp | downloaddialog.cpp | #include "downloaddialog.h"
#include "ui_downloaddialog.h"
#include "download.h"
#include <QThread>
DownloadDialog *DownloadDialog::fInstance = nullptr;
DownloadDialog::DownloadDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::DownloadDialog)
{
ui->setupUi(this);
ui->tbl->setColumnWidths(ui->tbl->... |
a752f13a07c26fd4fb3a111bcdf85fa2d14a9d3a | e413e4020617f2645f7f3ed89ec698183c17e919 | /Haralick/Haralick.h | d3a1b2f2f7a4555c5ed1a35a4af284a9e631c87e | [] | no_license | YanXuHappygela/Farsight-latest | 5c349421b75262f89352cc05093c04d3d6dfb9b0 | 021b1766dc69138dcd64a5f834fdb558bc558a27 | refs/heads/master | 2020-04-24T13:28:25.601628 | 2014-09-30T18:51:29 | 2014-09-30T18:51:29 | 24,650,739 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | h | Haralick.h | #include "itkImageRegionIteratorWithIndex.h"
#include "itkImageRegionConstIterator.h"
#include "itkImageRegionIterator.h"
#include "itkImage.h"
#include <itkIndex.h>
#include "itkImageFileReader.h"
//class Haralick returns the Haralick texture feature vector
class Haralick
{
public:
#define Dimension 2
#de... |
0f115f87eb0cd7186176b5e74c4e1c8a8cf01f3f | 4c55fdb3b0d661cba6ab88447777d6bed8785485 | /X/Src/TextureManager.cpp | c14ac3c63a0d094fd867ba76c25792e9eb9f2824 | [] | no_license | arorabharat144/TheAdventuresOfEnchantedSkeleton | b6d42eb53241549ef849e36e8cc20968f2cb64cd | e330606a44cb501c9cb6db24be75eff92639acdb | refs/heads/master | 2020-05-22T00:22:26.947161 | 2019-05-11T18:49:59 | 2019-05-11T18:49:59 | 186,170,679 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,341 | cpp | TextureManager.cpp | //====================================================================================================
// Filename: TextureManager.cpp
// Created by: Peter Chan
//====================================================================================================
#include "Precompiled.h"
#include "TextureManager.h"
#... |
9d9c860256f7a83aaeea977b87ca3ff4ed5758a2 | c95937d631510bf5a18ad1c88ac59f2b68767e02 | /src/graph/backend/graph_compiler/core/src/compiler/ir/graph/mixed_partition.cpp | 7a5c2fe1b80ef9a2298ef9b08e0036d03baeccc8 | [
"BSD-3-Clause",
"MIT",
"Intel",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | oneapi-src/oneDNN | 5cdaa8d5b82fc23058ffbf650eb2f050b16a9d08 | aef984b66360661b3116d9d1c1c9ca0cad66bf7f | refs/heads/master | 2023-09-05T22:08:47.214983 | 2023-08-09T07:55:23 | 2023-09-05T13:13:34 | 58,414,589 | 1,544 | 480 | Apache-2.0 | 2023-09-14T07:09:12 | 2016-05-09T23:26:42 | C++ | UTF-8 | C++ | false | false | 170,016 | cpp | mixed_partition.cpp | /*******************************************************************************
* Copyright 2022-2023 Intel Corporation
*
* 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://... |
7c9e613254c5192b7e7fe89af10682c9dd0f62a4 | 49bae5d7b641d32dd09c207253b3269db8dcf2b3 | /libs/level5/tacticalmap/stitcher.cpp | 2fab0f9a8a1959a3b1c627eadf371493149b2876 | [] | no_license | DeanoC/old_wyrd | 744702f2157894dce4eca6dfdb1895bd3c7b1cb6 | 97cb85b5d756adbef4c899e72c4e121f049e6ec3 | refs/heads/master | 2020-07-26T20:12:26.167716 | 2019-01-08T13:44:00 | 2019-01-08T13:44:00 | 208,752,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,938 | cpp | stitcher.cpp | #include "stitcher.h"
#include <unordered_map>
#include <algorithm>
Math::vec3 TacticalMapStitcher::rotateVector(Math::vec3 const& v, int rotationInDegrees_)
{
if(rotationInDegrees_ < 0)
{
rotationInDegrees_ = 360 - ((-rotationInDegrees_) % 360);
}
switch(rotationInDegrees_ % 360)
{
case 0:
return v;
ca... |
5e016e7e9cff00e5e65164e86c45f7ed8a21a662 | 89f65a23452b37d3673c45c143694c6015b3e35f | /DesktopIconAssistant/DesktopDlg.cpp | 309c239d5d013c1e1f4d402c2b645ca65e1608ce | [
"MIT"
] | permissive | yang123vc/DesktopIconAssistant | 2dd9c7bf6233a9e96598b8e144f089f3a54c7717 | eede495380194abf1fd8bf4ae14e8eddcf1ccd5b | refs/heads/master | 2020-12-11T01:40:00.824367 | 2012-10-22T15:41:01 | 2012-10-22T15:41:01 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 8,350 | cpp | DesktopDlg.cpp | // DesktopDlg.cpp : implementation file
//
#include "stdafx.h"
#include "global.h"
#include "DesktopIconAssistant.h"
#include "DesktopIconAssistantDlg.h"
#include "DesktopDlg.h"
// CDesktopDlg dialog
IMPLEMENT_DYNAMIC(CDesktopDlg, CDialog)
CDesktopDlg::CDesktopDlg(CWnd* pParent /*=NULL*/)
: CDialog(C... |
4f3a49b799e00f2ce0696d9c6c98b45d9f247882 | 7898594272a0c006ae4a04f5fde02e71f0e53949 | /engine/main.cpp | 4e9c23638596b7f78f56926c41ea16ee7cede567 | [] | no_license | albertvaka/gaem2020_gmtk | f82a97099579e810eb8c1ee58e65ded5a6900b37 | 4b93d8c0801242b40089cd2d0b402dacd401aac8 | refs/heads/master | 2022-11-17T08:25:37.650058 | 2020-07-19T00:54:36 | 2020-07-19T00:54:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,377 | cpp | main.cpp | #include "scene_manager.h"
#include "input.h"
#include "mates.h"
#include "text.h"
#include "debug.h"
#include "window.h"
#include "camera.h"
#include "../src/assets.h"
#include "../src/scene_main.h"
#include "../src/scene_intro.h"
#ifdef _IMGUI
#include "imgui.h"
#include "imgui_impl_sdl.h"
#include "imgui_impl_open... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.