blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bb6828380bfbf21f7d2ddcb052d798a513ec61f9 | cc4a505d441b4c079ff64480baf889ffcffe545e | /0400-0499/496/496.cpp | a9221e88433cda2d6eeda0893b54ec74c17d699a | [] | no_license | vicch/leetcode | 0ef0ba243d57d272f29d23ed0d834cf734ee55bb | b5a9cf15b9178deb22a6d373f1669c6990378ae2 | refs/heads/master | 2023-09-01T15:25:23.533562 | 2023-09-01T02:16:25 | 2023-09-01T02:16:25 | 67,243,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,583 | cpp | // Problem:
// Given two arrays (without duplicates) nums1 and nums2, where nums1's
// elements are subset of nums2. Find all the next greater numbers for nums1's
// elements in the corresponding places of nums2. The Next Greater Number of a
// number x in nums1 is the first greater number to its right in nums2. If it
... | [
"vicch7@gmail.com"
] | vicch7@gmail.com |
3fda8291f5a11e968c48afea152d6da1b6480e43 | 353f96ac56f02b47c71f734b42f4af9da2b7d897 | /src/types/registerExecuteComponent.cpp | 8129df48c1671ce68dc88d16264e590fe81940e9 | [
"MIT"
] | permissive | phisko/kengine_editor | 6f5ae4497a1fd3cbcdbefab30fb235f12d14b9ae | cd11f067b1339c418acf8e568e73eb00c9340722 | refs/heads/master | 2023-04-16T01:36:15.787050 | 2021-04-29T06:54:28 | 2021-04-29T06:54:28 | 271,231,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 187 | cpp | #include "helpers/registerTypeHelper.hpp"
#include "functions/Execute.hpp"
void registerExecuteComponent() noexcept {
kengine::registerComponents<
kengine::functions::Execute
>();
}
| [
"nicolas@phister.fr"
] | nicolas@phister.fr |
fdc81df3a2bb2ccb01ae9fda46a219b9c62e2389 | d23d36fd5b4e6851fef68940b15ed625677a576b | /作业-综合实验/作业-综合实验/record.h | e3a5cad102cf76253b4e8975c452b1aa024d2cb4 | [] | no_license | DJQ0926/test | 0d5fd731edef513e08b1169578e70fe9139d7d05 | e9a755ac66750e14bbb870d211531d91a92fc2ee | refs/heads/master | 2021-02-15T23:03:21.681207 | 2020-07-05T09:51:20 | 2020-07-05T09:51:20 | 244,942,227 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 381 | h | #pragma once
// record 对话框
class record : public CDialogEx
{
DECLARE_DYNAMIC(record)
public:
record(CWnd* pParent = NULL); // 标准构造函数
virtual ~record();
CString yy;
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_DIALOG5 };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支... | [
"964158009@qq.com"
] | 964158009@qq.com |
d95e17ffadbcb6c2dbf55e3fdea7b619c7cba902 | 49775280c31c8dc97907cf1762cb28db107c2887 | /y/tests/Transform.cpp | db3291e9e9e827c736fbbe3b4664fc9008643056 | [
"MIT"
] | permissive | gan74/Yave | 7e8fe3f9fd530f892a4185fc67109f0426955c2b | acb75c47b8a8e317ef38232173553a4dcb334b3b | refs/heads/master | 2023-08-31T15:27:12.871118 | 2023-08-29T23:03:31 | 2023-08-29T23:03:31 | 59,200,808 | 464 | 27 | MIT | 2021-02-28T13:10:06 | 2016-05-19T11:39:10 | C++ | UTF-8 | C++ | false | false | 2,673 | cpp | /*******************************
Copyright (c) 2016-2023 Grégoire Angerand
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use... | [
"gregoire.angerand@gmail.com"
] | gregoire.angerand@gmail.com |
b92b468eaf39e09a46e08b4b7b0356598dcebd34 | 326c5d924956c1837704d23b498772a2d8efd187 | /Examples/UI/CarambolaChat/CarambolaChat/Models/XMLSettings/xml_settings_list.h | 38373e6f2da07ff23961216f71cff3cf92802120 | [
"Zlib"
] | permissive | sanikoyes/ClanLib | c4eb8004eb6a10ed4429f15b63f3ba0d2835a930 | 4f9e7f5dd2edb12e55ec713f6299c874709524e9 | refs/heads/master | 2021-01-22T17:28:25.241676 | 2015-04-11T23:46:24 | 2015-04-11T23:46:24 | 33,925,347 | 3 | 1 | null | 2015-04-14T10:22:33 | 2015-04-14T10:22:33 | null | UTF-8 | C++ | false | false | 413 | h |
#pragma once
#include "xml_settings_document.h"
class XMLSettings;
class XMLSettingsList
{
public:
XMLSettingsList();
XMLSettingsList(const XMLSettingsAppModel &document, const clan::DomElement &node);
XMLSettingsAppModel get_document();
XMLSettings add();
XMLSettings get(int index);
void remove(int index);... | [
"dpjudas@users.noreply.github.com"
] | dpjudas@users.noreply.github.com |
405375af8721f431b60dc128ded0912683de016b | 439ac415df5b8e6b7d167591180930138703280e | /Assignment/2학년 1학기/C++/0603/전략 패턴/MainFrame.cpp | 7d9a5ceca889095498e1e5c1734b65531242a6d1 | [] | no_license | nier0525/SchoolAssignment | f13f34eb7766ad69977a848844427c9d9277554f | 4b3ffc7828dd18a8cb30514b94b97d0090b87ce7 | refs/heads/main | 2023-03-18T02:57:21.745285 | 2021-03-04T14:51:43 | 2021-03-04T14:51:43 | 344,366,510 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 753 | cpp | #include "MainFrame.h"
CMainFrame* CMainFrame::mPthis = NULL;
CMainFrame* CMainFrame::Create(HINSTANCE _hinstance)
{
if (!mPthis)
{
mPthis = new CMainFrame();
}
CWindowFrame::Create(_hinstance);
CMouse::Create();
return mPthis;
}
CMainFrame* CMainFrame::GetInstance()
{
return mPthis;
}
void CMainFrame::Des... | [
"goja8303@gmail.com"
] | goja8303@gmail.com |
de1e3f4a75b519041b85fb6bee0f10cbd6d2ba05 | f3d089f01dbc772f18496db45502989f720bf43f | /404.左叶子之和.cpp | 754b1c2793f02548a28323bde415b8eb8e61858a | [] | no_license | buptzqr/play-leetcode | 04d1ba72833cac9cfacdac4bb91a287496be0412 | 5a2bba5561efe9c0b7678ef158c8c1c862aae29b | refs/heads/master | 2022-03-09T22:59:51.794094 | 2021-03-17T02:41:53 | 2021-03-17T02:41:53 | 179,507,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | cpp | /*
* @lc app=leetcode.cn id=404 lang=cpp
*
* [404] 左叶子之和
*/
// @lc code=start
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int sumOfLef... | [
"zhangqingrui@bupt.edu.cn"
] | zhangqingrui@bupt.edu.cn |
70335fb3e3098a02c160af505b01bc246be6ad6c | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/asio/detail/win_iocp_handle_service.hpp | 5ea6d904a4f1fe5700257ba13018fd753683d1f6 | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,435 | hpp | //
// detail/win_iocp_handle_service.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Copyright (c) 2008 Rep Invariant Systems, Inc. (info@repinvariant.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
/... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
66fcdd30a4aa813929350993699db9b0c6f1a86a | 59dc5d428e102bf72eb7245dbbe7a47a66728378 | /operators/TraceHistory/TraceHistoryPluginInfo.h | 4d7ce3159277644fb4a016a40ecadf566fce1f16 | [] | no_license | HarinarayanKrishnan/VisIt26RC_Trunk | 6716769694d1a309f994056209171f67e5131642 | 581a0825d81169572b48dd80c1946131c03d0858 | refs/heads/master | 2016-09-06T07:14:00.094983 | 2013-05-15T14:36:48 | 2013-05-15T14:36:48 | 7,009,345 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,197 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2012, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | [
"brugger@18c085ea-50e0-402c-830e-de6fd14e8384"
] | brugger@18c085ea-50e0-402c-830e-de6fd14e8384 |
a8e953954f447a85c6a3c8e85b82e24dc369c469 | 7abbbef9590f9c4b9469adcbae5ea8907478bf03 | /chromium_git/chromium/src/blimp/client/app/android/blimp_view.h | 2fd2543b9256f14d2a9e9f5faa7980b00d3c484e | [
"BSD-3-Clause"
] | permissive | GiorgiGagnidze/CEF | 845bdc2f54833254b3454ba8f6c61449431c7884 | fbfc30b5d60f1ea7157da449e34dd9ba9c50f360 | refs/heads/master | 2021-01-10T17:32:27.640882 | 2016-03-23T07:43:04 | 2016-03-23T07:43:04 | 54,463,340 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,694 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BLIMP_CLIENT_APP_ANDROID_BLIMP_VIEW_H_
#define BLIMP_CLIENT_APP_ANDROID_BLIMP_VIEW_H_
#include "base/android/jni_android.h"
#include "base/macros... | [
"ggagn12@freeuni.edu.ge"
] | ggagn12@freeuni.edu.ge |
91ba97c1d835a8637772f62fc6c9b5a5f0c61004 | a4d518fb58a29cc50d1b2900dcc216e55f9b21a7 | /NTFE/NEditors.h | df28860f917c5f69a8cc4660719c2131629cbf49 | [
"MIT"
] | permissive | nfsu/NFS | dbae0e5baca6ed0050d63c210435f5cf30ebf7e3 | eb9e67098a5d2cc5ceaf80532e495eaac1712009 | refs/heads/master | 2023-07-19T22:50:06.615201 | 2020-07-09T12:54:27 | 2020-07-09T12:54:27 | 111,940,558 | 21 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #pragma once
#include "NEditor.h"
#include <unordered_map>
#include <qsplitter.h>
#include <FileSystem.h>
class NEditors : public QWidget {
public:
NEditors();
~NEditors();
void setTexture(u32 id, Texture2D t2d, nfs::FileSystemObject *fso);
NEditor *add(QSplitter *parent, u32 mode);
private:
std::vector<NE... | [
"n@osomi.net"
] | n@osomi.net |
3df9ddf5c64ceeaee65214126eed3635a4fed1b2 | c0afa8f0cedaa7a8491c5ee3939c667f2103fe33 | /cplus/BoxPtrTest.cpp | 458d5256cf3959c1e3de30701043ea866e266242 | [] | no_license | SammonLee/gubaojian.github.io | 4663eb3459b6a8c9492a8c4158a79969aad2c5cc | a6523a6ee1d8a1a302b1f9da68434a71178769d5 | refs/heads/master | 2023-04-25T13:32:00.393845 | 2021-05-06T07:14:02 | 2021-05-06T07:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | #include <iostream>
class Box{
public:
Box(double l=2.0, double b=2.0, double h=2.0){
std::cout << "Constructor called. " << std::endl;
length = l;
breadth = b;
height = h;
}
public:
double Volume(){
return length*breadth*height;
... | [
"jianbai.gbj@alibaba-inc.com"
] | jianbai.gbj@alibaba-inc.com |
2aaa46f5bf09637eb4bc732bbeac9e2a6dc0c37d | 5f18676781ae61a3cdd9ad51e2764f86ee60ad52 | /GreedyApproximation_TSP/include/ver.hpp | e1a7ab49cdae2adac7e0e4d790dcbf52dc0b1f6b | [] | no_license | ams064/TravellingSalesMan | b502de918520fbca0348264301f72698008a23cd | 54e5b00ca08ff3cb0073f41233848b6e2008d55d | refs/heads/master | 2021-05-20T16:06:52.357261 | 2020-05-02T08:28:47 | 2020-05-02T08:28:47 | 252,360,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | hpp | // Everything in this file is used in grading.
// You DO NOT need to write these functions (nor should you).
// This needs to exist so the parts in gtest are aware of this.
// You never even need to call these from your code.
#include "edge.hpp"
#include <vector>
// returns true iff mst is a MST of g.
bool verifyMST... | [
"somania1@uci.edu"
] | somania1@uci.edu |
e397231091e1b5bedf5b6efa84d29863852c922d | 483e8c3fd98536fa17f9a0a41923f60e2a79d55a | /libs/GLIntercept/Src/Plugins/GLShaderEdit/scintilla/include/Platform.h | 1a73f0c6447e63f05afd6d6d4d51c974fae2b54e | [
"LicenseRef-scancode-scintilla"
] | permissive | Shailla/jeukitue.moteur | b9ff6f13188fb59d6b8d2ea8cde35fc7d95dd3dd | acc996f240699b5ec9c6162e56c5739f86a335a5 | refs/heads/master | 2020-05-22T04:20:33.298261 | 2014-11-20T22:20:43 | 2014-11-20T22:40:11 | 34,282,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,633 | h | // Scintilla source code edit control
/** @file Platform.h
** Interface to platform facilities. Also includes some basic utilities.
** Implemented in PlatGTK.cxx for GTK+/Linux, PlatWin.cxx for Windows, and PlatWX.cxx for wxWindows.
**/
// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
// The Licens... | [
"vogel.jeanclaude@cd6d7e76-efff-11de-b599-4d5b25800cad"
] | vogel.jeanclaude@cd6d7e76-efff-11de-b599-4d5b25800cad |
eef8da6a8b94413a2c53308c597a070a5a2c96bc | 61a62af6e831f3003892abf4f73bb1aa4d74d1c7 | /USACO/Training Pages/Chapter 6/6.4/wissqu.cpp | bee905805d13271ead5fd252fa184b1830f2a333 | [] | no_license | amsraman/Competitive_Programming | 7e420e5d029e8adfbe7edf845db77f96bd1ae80d | 6f869a1e1716f56b081769d7f36ffa23ae82e356 | refs/heads/master | 2023-03-17T00:20:19.866063 | 2023-03-11T00:24:29 | 2023-03-11T00:24:29 | 173,763,104 | 16 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,212 | cpp | /*
ID: adisund1
TASK: wissqu
LANG: C++
*/
#include <bits/stdc++.h>
using namespace std;
int num_left[5] = {3,3,3,4,3}, ans;
pair<int,int> dir[9] = {{0,0},{1,0},{0,1},{-1,0},{0,-1},{1,1},{1,-1},{-1,-1},{-1,1}};
set<pair<int,int>> spaces_left;
vector<pair<char,pair<int,int>>> moves_made, final_moves;
string grid[4];
bo... | [
"adisundar02@gmail.com"
] | adisundar02@gmail.com |
a155a8382dd1fb03b42f229e56044bb0cbcf896a | fbbc663c607c9687452fa3192b02933b9eb3656d | /tags/1.20.01.00/mptrack/ChannelManagerDlg.cpp | 6898870e1de72432c5ccd9f131e4b583dcc67959 | [
"BSD-3-Clause"
] | permissive | svn2github/OpenMPT | 594837f3adcb28ba92a324e51c6172a8c1e8ea9c | a2943f028d334a8751b9f16b0512a5e0b905596a | refs/heads/master | 2021-07-10T05:07:18.298407 | 2019-01-19T10:27:21 | 2019-01-19T10:27:21 | 106,434,952 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,176 | cpp | /*
* ChannelManagerDlg.cpp
* ---------------------
* Purpose: Dialog class for moving, removing, managing channels
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "mainfrm.... | [
"saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27"
] | saga-games@56274372-70c3-4bfc-bfc3-4c3a0b034d27 |
21b9e8a3ac4502831cf9467cb8c3e197c3b67805 | e50b5f066628ef65fd7f79078b4b1088f9d11e87 | /llvm/tools/clang/include/clang/Basic/DebugInfoOptions.h | 8469c602a1ca46735e8ecd1c84d02de3a5a2f9c8 | [
"NCSA"
] | permissive | uzleo/coast | 1471e03b2a1ffc9883392bf80711e6159917dca1 | 04bd688ac9a18d2327c59ea0c90f72e9b49df0f4 | refs/heads/master | 2020-05-16T11:46:24.870750 | 2019-04-23T13:57:53 | 2019-04-23T13:57:53 | 183,025,687 | 0 | 0 | null | 2019-04-23T13:52:28 | 2019-04-23T13:52:27 | null | UTF-8 | C++ | false | false | 1,713 | h | //===--- DebugInfoOptions.h - Debug Info Emission Types ---------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------... | [
"jeffrey.goeders@gmail.com"
] | jeffrey.goeders@gmail.com |
6ba14140b281081f87268423162b21fd32cd01b1 | 7f09dc97a425a89713353693f702984d0bba3d89 | /externals/sol/stack_proxy.hpp | e017353064cac26a20b1d51a0fc3586ed3a1eab9 | [] | no_license | christiansencq/Box2DTest | 1e93b6d955eaac30d1f79c29bda831ac6365a628 | d35753d231db7cafbdab9596e789df3dec7f15ac | refs/heads/master | 2023-08-14T17:41:57.819193 | 2021-10-03T12:07:32 | 2021-10-03T12:07:32 | 347,477,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,097 | hpp | // sol3
// The MIT License (MIT)
// Copyright (c) 2013-2021 Rapptz, ThePhD and contributors
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limita... | [
"christiansencq@gmail.com"
] | christiansencq@gmail.com |
b368d0f8d8387c972ca9722e3c3022a477e2ec0c | 64823ad2e62e59f13821461d1c13d50ad1f51c2f | /mi3/conceptual/conceptual.ino | b03254fc8d8a2d6c8ed9bc0ce5d4e0f906b02c64 | [] | no_license | sz95/3400-group6 | 285674cfcefdd15ed1d37a253e96153bc7fbaa88 | 66aa3069f0c815f0dc54fa083f1e62e309b08cb1 | refs/heads/master | 2020-03-28T02:43:41.082087 | 2017-12-06T07:35:50 | 2017-12-06T07:35:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,830 | ino | #define LEFT_IN A0
#define RIGHT_IN A
#define TREASURE_7K A2
#define TREASURE_12K A3
#define TREASURE_17K A4
#define MUX A5 //input pin setup
#define MUX_sel0
#define MUX_sel1 A5
#define MUX_sel2 A5
#define MIC 0
#define LEFT_OUT 1
#define RIGHT_OUT 2
#define WALL_LEFT 3
#define WALL_RIGHT 4
#define WALL_FRONT 5
#d... | [
"eys27@cornell.edu"
] | eys27@cornell.edu |
0add8e8bf6a1ea3a3b73141ae9145a9edfa36793 | 1864d6be0f28eea17d097aa94fb0a8f955fa21f3 | /Screen/Main/include/screen/core/objects/Camera.h | 25ad32365b3d9d1f340ec4a1ee26ea057d5ed07f | [] | no_license | sivarajankumar/screen3d | a1fd17011248da213fc53be5544fe4e7bcda2906 | 7c7fb5469f80ec8bbcd7202fc1913bb66bd21e49 | refs/heads/master | 2021-01-10T03:19:13.368011 | 2012-11-04T12:44:29 | 2012-11-04T12:44:29 | 49,218,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,311 | h | /*****************************************************************************
* This source file is part of SCREEN (SCalable REndering ENgine) *
* *
* Copyright (c) 2008-2012 Ratouit Thomas *
* ... | [
"pjdemaret@df6f4744-0210-11df-9fb0-db4daf2f83fa"
] | pjdemaret@df6f4744-0210-11df-9fb0-db4daf2f83fa |
f362b53f1bdfe6a91433d300b92c6287e7fb4df7 | 88a3e6673823f4796cee5ee9e1714d7e86b643c7 | /Slow/Private/Controller/SlowAIController.cpp | c3112b674be8e280adea84f2f7fd822035919eab | [] | no_license | Aumoa/P_Slow | 4ccbdb16bf61df526b8a378c2a0037b18a8f2456 | 376cfd4549fa48210dd251a967a805862ef789e9 | refs/heads/master | 2023-07-25T13:06:04.939862 | 2021-09-05T21:58:15 | 2021-09-05T21:58:15 | 280,577,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | // Copyright 2020 Team slow. All right reserved.
#include "Controller/SlowAIController.h"
ASlowAIController::ASlowAIController()
{
PrimaryActorTick.bCanEverTick = true;
} | [
"wkdghcjf1234@naver.com"
] | wkdghcjf1234@naver.com |
2dd6c8bbb199f14d452f7408c376ed9944375655 | 148d3ccd0493923aae93e1435c3fb06a2ff3bdf2 | /Light.cpp | 05c85e09455d4da0509af18514a4b468b43e23b0 | [] | no_license | kalsan1998/RayTracer | 3c39fa050a229a1b48a5afd654f171d086800eae | c95b7cdde366d993bc3a22d02cca732b93d4efb9 | refs/heads/master | 2021-03-31T16:45:57.943713 | 2020-05-12T14:30:53 | 2020-05-12T14:30:53 | 248,120,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | // Winter 2020
#include <iostream>
#include <glm/ext.hpp>
#include "Light.hpp"
Light::Light()
: colour(0.0, 0.0, 0.0),
position(0.0, 0.0, 0.0)
{
falloff[0] = 1.0;
falloff[1] = 0.0;
falloff[2] = 0.0;
}
std::ostream& operator<<(std::ostream& out, const Light& l)
{
out << "L[" << glm::to_string(l.colour... | [
"kaan.alsan@live.com"
] | kaan.alsan@live.com |
930f46422af746402fae966d767c3dedc032ed04 | dadf8e6f3c1adef539a5ad409ce09726886182a7 | /airplay/h/TinyOpenEngine.h | 6f941715357290d072d681ecf93063d28a81f5a4 | [] | no_license | sarthakpandit/toe | 63f59ea09f2c1454c1270d55b3b4534feedc7ae3 | 196aa1e71e9f22f2ecfded1c3da141e7a75b5c2b | refs/heads/master | 2021-01-10T04:04:45.575806 | 2011-06-09T12:56:05 | 2011-06-09T12:56:05 | 53,861,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | h | #pragma once
#include <string>
#include <toeIntrusiveList.h>
class CIwTextParserITX;
namespace TinyOpenEngine
{
class CtoeWorld;
class ItoeScriptingSubsystem;
class CtoeScriptableClassDeclaration;
class CYieldHandler: public TtoeIntrusiveListItem<CYieldHandler> { public: virtual void OnYield() = 0; }... | [
"gamemaster@101gr.com"
] | gamemaster@101gr.com |
a8f02d58a2501b8ccd34ae4550faf2c14664085a | e3b578b55b667388d2870ad358c742e19e8f5cb0 | /lib/gen/prepropagator.cpp | 6dd403a57c10f316eb0403cbbd8afbb90803bfa2 | [] | no_license | veintemillas/jaxions | 91fea8a9bb8e95b874b1d9987a6cd52410202196 | f11dc800cb24bc3ca6a532bd8c7b1a1fb05e036f | refs/heads/redondo | 2023-07-21T06:37:40.743569 | 2023-07-15T19:25:53 | 2023-07-15T19:25:53 | 74,551,808 | 14 | 2 | null | 2023-05-26T07:16:35 | 2016-11-23T07:32:57 | Jupyter Notebook | UTF-8 | C++ | false | false | 2,328 | cpp | #include <complex>
#include <cstring>
#include "scalar/scalarField.h"
#include "utils/index.h"
#include "utils/utils.h"
using namespace std;
template<typename Float>
void iteraXeon (const complex<Float> * __restrict__ mCp, complex<Float> * __restrict__ vCp, const size_t Lx, const size_t S, const size_t V, const Floa... | [
"jredondo@unizar.es"
] | jredondo@unizar.es |
6ea6efbcdfa33d5899244eb7636ac9c54ed10a5d | 225b9a9ce807b669f5da0224b374bbf496d0bc70 | /lg4721_2.cpp | e3408380a7bd9fb8ce7e574fdd5c12fcfda63f23 | [] | no_license | Kewth/OJStudy | 2ed55f9802d430fc65647d8931c028b974935c03 | 153708467133338a19d5537408750b4732d6a976 | refs/heads/master | 2022-08-15T06:18:48.271942 | 2022-07-25T02:18:20 | 2022-07-25T02:18:20 | 172,679,963 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,209 | cpp | #if 0
2019.04.14
分治 NTT 模板,就是 cdq 分治?
计算 f 时分治,算出 l-(mid-1) 后再算 l-(mid-1) 的 f 对右边的 f 的贡献,
得出 f[mid] (相当于右边的 f[0]),分治算右边自己对自己的贡献。
需要注意的是要先把左边的贡献加上再去算右边的值。
#endif
#include <bits/stdc++.h>
typedef long long lolong;
const int maxn = 400050, mod = 998244353;
lolong power(lolong x, int k) {
if(k < 0) k += mod - 1;
lolo... | [
"Kewth.K.D@outlook.com"
] | Kewth.K.D@outlook.com |
4f7ad70d456246613241660a7d80d4343cdd0b51 | 3fd8718d46af128295e2e73831fb5496d5ffd4d3 | /data/test_AutoRefl.inl | 067fbeaa1c5980d66b169439e6bd698a06c80bca | [
"MIT"
] | permissive | ztreble/USRefl | ad30baf6e898f951dd5c980c3c386cf5858ae71e | 77b137fbbde717697967900525bf64f849bf75ca | refs/heads/master | 2023-01-19T20:44:47.503747 | 2020-11-28T17:04:05 | 2020-11-28T17:04:05 | 318,768,726 | 1 | 0 | null | 2020-12-05T11:18:16 | 2020-12-05T11:18:16 | null | UTF-8 | C++ | false | false | 1,642 | inl | // This file is generated by Ubpa::USRefl::AutoRefl
#pragma once
#include <USRefl/USRefl.h>
template<typename T>
struct Ubpa::USRefl::TypeInfo<Vec<T>>
: Ubpa::USRefl::TypeInfoBase<Vec<T>>
{
static constexpr AttrList attrs = {
Attr{"size", sizeof(T)},
};
static constexpr FieldList fields = {
... | [
"641614112@qq.com"
] | 641614112@qq.com |
d5a03b652b763eeeb03e8719b303a1ce9756436a | a65c77b44164b2c69dfe4bfa2772d18ae8e0cce2 | /codeforces/1140F.cpp | 2918bd151b30db8baa701ffa95513d7d6b10174f | [] | no_license | dl8sd11/online-judge | 553422b55080e49e6bd9b38834ccf1076fb95395 | 5ef8e3c5390e54381683f62f88d03629e1355d1d | refs/heads/master | 2021-12-22T15:13:34.279988 | 2021-12-13T06:45:49 | 2021-12-13T06:45:49 | 111,268,306 | 1 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,925 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i,n) for(int i=0;i<n;i++)
#define REP1(i,n) for(int i=1;i<=n;i++)
#define SZ(i) int(i.size())
#ifdef tmd
#define IOS()
#define debug(...) fprintf(stderr,"%s - %d (%s) = ",__PRETTY_FUNCTION__,__LINE__,#__VA_ARGS__);_do(__VA_ARGS__);
template... | [
"tmd910607@gmail.com"
] | tmd910607@gmail.com |
10e58f6c00a9a123b25bfe542cac76e733a42e6f | 69d0deb5921edc82eea0ae184db99b87a0ca6900 | /catkin_ws/src/srrg2_core/srrg2_core/deprecated/srrg_autodiff_simple_example.cpp | ea633499469974a63c96d11e608281103524780d | [
"BSD-3-Clause",
"BSD-4-Clause",
"MIT",
"BSD-2-Clause"
] | permissive | laaners/progetto-labiagi_pick_e_delivery | 8d4006e206cd15b90b7e2291876c2b201e314621 | 3453bfbc1dd7562c78ba06c0f79b069b0a952c0e | refs/heads/main | 2023-08-19T00:17:51.491475 | 2021-09-16T16:35:45 | 2021-09-16T16:35:45 | 409,192,385 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include "srrg_autodiff/ad.h"
#include <iostream>
using namespace std;
using namespace srrg2_core;
DualValuef fancyFn(const DualValuef& x){
return sin(x)*exp(-x*x)/(DualValuef(2.0)+cos(DualValuef(2.0)+log(x)));
}
int main(int argc, char** argv) {
DualValuef result=fancyFn(DualValuef (0.5,1));
cerr << "value of... | [
"hu.183947@studenti.uniroma1.it"
] | hu.183947@studenti.uniroma1.it |
b97cd0d674129b1e230b385bce0cd0871f96f0c5 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /chrome/browser/ui/libgtkui/gtk_key_bindings_handler.cc | d63bdcb6ada5bb0cc8e2ed8bedaa9fcf30cfcdd0 | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 14,262 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/libgtkui/gtk_key_bindings_handler.h"
#include <gdk/gdkkeysyms.h>
#include <stddef.h>
#include <string>
#include "base/l... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
e00eb481ab1a982e7019cecdbbfe4583c297a3d0 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /media/blink/multibuffer.h | be1ea23cb789760db5c342249e4c48f32cb86cc5 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 13,886 | h | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_BLINK_MULTIBUFFER_H_
#define MEDIA_BLINK_MULTIBUFFER_H_
#include <stddef.h>
#include <stdint.h>
#include <limits>
#include <map>
#include ... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
41c933119ed8f94683a6acdd458a8020aa727948 | 1a9462cf8bf332d5171afe1913fba9a0fec262f8 | /externals/boost/boost/test/exception_safety.hpp | 1335cc6d65ea8eaeaf6a565b537766cbacc8da8a | [
"BSD-2-Clause"
] | permissive | ugozapad/g-ray-engine | 4184fd96cd06572eb7e847cc48fbed1d0ab5767a | 6a28c26541a6f4d50b0ca666375ab45f815c9299 | refs/heads/main | 2023-06-24T06:45:37.003158 | 2021-07-23T01:16:34 | 2021-07-23T01:16:34 | 377,952,802 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,680 | hpp | // (C) Copyright Gennadiy Rozental 2005.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile: exception_safety.hpp... | [
"hp1link2@gmail.com"
] | hp1link2@gmail.com |
702e88c9044f625acc868def2c02ff8f997869ff | 706e571124815a2a36209fb470abda237c7cd946 | /OpenGL_Test/defines.h | 09b9ba824fb0708fe36e728af7cb45cc69fffbee | [] | no_license | ThoMint/OpenGL_Test | dec52ffc09a6c6c173d7d970e987d3a9caeb4195 | c62651a1347cef5e28fa80c9aa093c53555aac8d | refs/heads/master | 2022-07-05T22:34:57.430669 | 2020-05-13T13:12:02 | 2020-05-13T13:12:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | #pragma once
#include <cstdint>
typedef int8_t int8;
typedef int16_t int16;
typedef int32_t int32;
typedef int64_t int64;
typedef uint8_t uint8;
typedef uint16_t uint16;
typedef uint32_t uint32;
typedef uint64_t uint64;
typedef float float32;
typedef double float64;
struct Vertex {
float32 x;
float32 y;
float32 ... | [
"65229442+Invideas346@users.noreply.github.com"
] | 65229442+Invideas346@users.noreply.github.com |
d5fb3b80634bb73de243627ea97d0f1318f33b26 | af328b974287ac42d68d5b7bcac51c329ca4c622 | /test.h | 5e7af196ab28ebb739dff0449edebcc8c0b12aba | [] | no_license | qinmaogeng/Job-scheduler | ee774c6b723360ae3d4eeeeffd9d7a4d2b5ad2ae | f30f02c18830ce21797edbf5023c307b19c2a6ba | refs/heads/master | 2020-03-15T19:08:15.426173 | 2019-08-28T19:11:11 | 2019-08-28T19:11:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,277 | h | #ifndef TEST_H_
#define TEST_H_
#include <iomanip>
#include <iostream>
using namespace std;
enum RBTColor{ Red, Black }; /* RBT color definition*/
class job{
public:
job(){};
int ID;
int exe_t;
int total_t;
int remain_t;
job(int a, int b, int c, int d) :
ID(a), exe_t(b), total_t(c), remain_t(d){}
}; /* clas... | [
"qinmaogeng@ufl.edu"
] | qinmaogeng@ufl.edu |
bcf801d88aaac686ec08032dc432e826df793dc7 | f2d06de5b2cdf42d72d78af345e9df5c860185e6 | /examples/bench_client_ex/bench_client_ex.cpp | c05fa39b9dd87ba19e6c014833ef8c36b3b6c7b4 | [
"MIT"
] | permissive | miricy/ademco_hb | 5a9a84211ea9b7dc5701bfb4347e125536f7b955 | 123ce34d0f87ffec0aad9f69752d8ff23850e5a6 | refs/heads/master | 2023-03-16T05:28:07.470407 | 2021-03-06T06:04:07 | 2021-03-06T06:04:07 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 34,892 | cpp | #ifndef _WIN32
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/syscall.h>
#else
# ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
# endif
# ifndef _WINSOCK_DEPRECATED_NO_WARNINGS
# define _WINSOCK_DEPRECATED_NO_WARNINGS
# endif
#ifndef NOMINMA... | [
"1281261856@qq.com"
] | 1281261856@qq.com |
6a090caf4a4e93d8cfbc25d176e00120b211c87b | e370fe2f62d22d9b519e7825e9da7d53d325f4a1 | /src/main.cpp | a2be1a54b3ef315028d09e7b5fa1d6ba98e53c3d | [] | no_license | vitornat/ArduinoWebsocketClient | 53d2d4375dd149173148563b0c21493367c17f88 | 53a16b4770c45c6360a7dfeef66f08004d26d507 | refs/heads/master | 2020-09-07T20:43:43.804575 | 2019-11-11T06:48:34 | 2019-11-11T06:48:34 | 220,908,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,363 | cpp | #include <Arduino.h>
#include <WebSocketClient.h>
#include <TaskScheduler.h>
#define _PRNT(a) Serial.print(a)
#define _PRNTN(a) Serial.println(a)
#define NETWORK_CONTROLLER ETHERNET_CONTROLLER_W5100
#define SERVER_PORT 8888 //Porta do servidor
#define SERVER_IP "192.168.150.1" //ip do servidor
#define _TASK_... | [
"vitor.rezende@petrobras.com.br"
] | vitor.rezende@petrobras.com.br |
6b42e01a81db0462c978cec744ab4df0699e56ab | 52f62927bb096e6cbc01bd6e5625a119fb35c1c5 | /operators/ProgrammableOp/ProgrammableOpAttributes.h | ee5c2953b1416e6e3bbc67368bb52f95f2e7efbd | [] | no_license | HarinarayanKrishnan/VisIt27RC_Trunk | f42f82d1cb2492f6df1c2f5bb05bbb598fce99c3 | 16cdd647ac0ad5abfd66b252d31c8b833142145a | refs/heads/master | 2020-06-03T07:13:46.229264 | 2014-02-26T18:13:38 | 2014-02-26T18:13:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,131 | h | /*****************************************************************************
*
* Copyright (c) 2000 - 2013, Lawrence Livermore National Security, LLC
* Produced at the Lawrence Livermore National Laboratory
* LLNL-CODE-442911
* All rights reserved.
*
* This file is part of VisIt. For details, see https://visit.llnl... | [
"brugger@18c085ea-50e0-402c-830e-de6fd14e8384"
] | brugger@18c085ea-50e0-402c-830e-de6fd14e8384 |
05699e58071f14d69c0d2b2155fa5e62003bfa24 | 01a6667c13aa2026758733b4f0acc0d3e443f44f | /Obstacle.cpp | 01be0b2c5cffe1eaa00e1836426cb9543080b14e | [] | no_license | Agreon/ReachTheSurface_LD29 | 11f5932dcca31f8d9883d7697455a71986958376 | 610efeee3cf098ff3ed9794b90b5e450e0be73a5 | refs/heads/master | 2016-09-05T16:00:08.103694 | 2014-04-28T00:02:25 | 2014-04-28T00:02:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | #include "Obstacle.h"
Obstacle::Obstacle( int x, int y, string type )
{
m_Position = new Vec2D(x,y);
m_Type = type;
m_Texture = type;
if( type == "rock" )
{
m_Width = 128;
m_Height = 128;
}
else if( type == "bone" )
{
m_Width = 128;
m_Height = 64;
}
else if( type == "worm" )
{
m_Width = 96;
m_... | [
"dannyforce@web.de"
] | dannyforce@web.de |
b6d4b4d733ce2d07436421b00a377b5139df53a2 | be5b72e12efc5a3a591021f0017a078cebff6e3a | /Source/Falcor/Core/Window.h | 4398be3726ca737e34a7bdeaa982b4510085bc02 | [] | no_license | VicentChen/UniformLightGrid | c9fa112e2f62d17f533f8b438ca63e31a7d6b24c | 2cfd06a017c3761db3f41a9f72752bfe4b5557ac | refs/heads/master | 2023-03-11T12:05:35.866843 | 2021-02-07T09:43:26 | 2021-02-07T09:43:26 | 343,620,867 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,449 | h | /***************************************************************************
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of... | [
"772517301@qq.com"
] | 772517301@qq.com |
d221839e989f22b0b5d1fa6cf282835dbbbc1de2 | db5c1f601fa57dcf78d02629ca4382d295641788 | /devices/rtx/scene/light/Light.cpp | ca65a1dafd561e5f75d70ec3a6eb7646628e1bcf | [
"BSD-3-Clause"
] | permissive | NVIDIA/VisRTX | 1cdbaf865383f22f9ce4437f10aaf899d722d35a | 7e64fd10194262d041e26feaa3f5fb287da9b59c | refs/heads/main | 2023-08-17T12:54:51.553040 | 2023-08-12T21:14:06 | 2023-08-12T21:14:06 | 176,825,781 | 231 | 23 | NOASSERTION | 2023-08-17T16:18:45 | 2019-03-20T22:19:17 | C++ | UTF-8 | C++ | false | false | 2,391 | cpp | /*
* Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
* SPDX-License-Identifier: BSD-3-Clause
*
* 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 mus... | [
"jamstutz@nvidia.com"
] | jamstutz@nvidia.com |
1c0c9ae1c52fbac70e035ecdb8a46db5695ffb13 | 22bcac1dffbc74dcd737a4dcc37c5a8dcb7ff070 | /global_planner/include/global_planner/grid_path.h | 2933af4368cafdc8015e83d3421c4e8266c1b3f8 | [] | no_license | waterwatersun/navigation | 4d1ab246e99eb41fa30e09a5603d4f059f8e714e | ed8c0c887b99d391a92cee5784dcb811bbb2952f | refs/heads/master | 2020-04-11T11:21:46.557735 | 2018-08-20T10:35:24 | 2018-08-20T10:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | h | /*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, 2013, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... | [
"wbnature123@163.com"
] | wbnature123@163.com |
ff0c5c72c37386456e7a8dd5b07b1ea8ac0fe1fc | 6cdc9ddd4a802d5c15ae6c786d0d3ed9736c1065 | /299.cpp | 46e8451c5e9bc619349140b82e7ffeb2e62f849e | [] | no_license | william1lai/UVa-OJ-Problems | 03ca66317a14bccdfbeca11a4e7a001dd17ab2b2 | d080f60595a61b884df48c908415a6848c11a7cd | refs/heads/master | 2021-01-13T01:28:25.435488 | 2013-12-13T14:38:29 | 2013-12-13T14:38:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | cpp | #include <cstdlib>
#include <iostream>
using namespace std;
int bubbleSort(int* arr, int size)
{
int swaps = 0;
int i;
int temp;
for (i = 0; i < size - 1; i++)
{
if (arr[i] > arr[i + 1])
{
temp = arr[i];
arr[i] = arr[i + 1];
arr[i + 1] = temp;
swaps++;
}
}
if (swa... | [
"william1.lai@gmail.com"
] | william1.lai@gmail.com |
8fdcbf08db805c8427e006e8bdda3ff6383ac1a3 | 96aa28d4237ecc51377d4a42cdc52099e5a219ac | /Firstframework/manager.h | fbb2b9c5b3520ae5de8c2c25e249f3d1c4e0b7a0 | [] | no_license | sarunac/2-D-Game-Development | aa300b93ef03f5428e1ba2e3b7b9f425e23eba2a | e3acd8db8fd29b4fb9e627f7278a719febfc2516 | refs/heads/master | 2020-06-06T09:51:01.397972 | 2013-09-19T14:17:10 | 2013-09-19T14:17:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | h | #include <vector>
#include <SDL.h>
#include "ioManager.h"
#include "clock.h"
#include "sprite.h"
class Manager {
public:
Manager ();
~Manager ();
void play();
void start() ;
private:
const bool env;
const IOManager& io;
Clock& clock;
SDL_Surface * const screen;
const Frame * const backFrame;
Spr... | [
"sarunac@dragon20.cs.clemson.edu"
] | sarunac@dragon20.cs.clemson.edu |
aebbbb215b729d17ad30612b33712f29d4b16317 | fbaccf402034416a5dc1dfd037f802499efa6aff | /2d/benchmarks-general/nonsym-check/main.cpp | fc0c804069052fd01bb12e717cbddb4b1159b562 | [] | no_license | davidquantum/hermes-examples | ddcdff3139de86500bd19c174fb7f06da59918eb | ca469bda756919a52d8624439e2d28d6dc441699 | refs/heads/master | 2021-01-15T23:41:25.975781 | 2011-08-02T13:33:55 | 2011-08-02T13:33:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,677 | cpp | #define HERMES_REPORT_ALL
#define HERMES_REPORT_FILE "application.log"
#include "definitions.h"
using namespace RefinementSelectors;
//
// This example uses a nonsymmetric equation and its purpose is to
// check that nonsymmetric problems are solved correctly.
//
// PDE: -Laplace u + du/dx - (sin(x) + cos(x)) = 0... | [
"solin.pavel@gmail.com"
] | solin.pavel@gmail.com |
81e3b447c0ef0ab97f39b43bac2c657725464f2e | bb180d7c05946eb1b1f0ef86d05dd0457f1993d4 | /BOJ_ALGORITHM/14889_스타트와 링크.cpp | c3b6410a65b7746297dc7d90fac9f51cad4b2c4f | [] | no_license | genie97/ALGORITHM | e9ab2479a3c213c56abd8baeae073f286a4cc08d | 80c6e90f32ad66a8037e9884b06e3d3fe62e8f89 | refs/heads/master | 2021-06-13T07:27:29.187584 | 2021-04-22T15:25:02 | 2021-04-22T15:25:02 | 144,478,009 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include<cstdio>
#include<vector>
#include<algorithm>
using namespace std;
int N, s[25][25];
bool visit[25] = { false, };
int sum = 0;
int ans = 1e9;
void dfs(int cnt, int location) {
if (cnt == (N / 2)) {
vector<int> start, link;
for (int i = 0; i < N; i++) {
if (visit[i]) {
start.push_back(i);
}
els... | [
"qndnd1@naver.com"
] | qndnd1@naver.com |
ef355f7d22d3aee66193b7ba1a38eb83892bf9df | bea49c9236fe5768d9b9814e204abd8492751ca6 | /ui/modeselectionwidget.cpp | 2b8780f390713edb21496d649bd5a2e92620cb43 | [] | no_license | dmitry64/av20 | 3e7475b56b15b6e2a17bc26c30ec69702b4e5808 | 0bd4894b2b2bd783a2b6e4a963217e7adde8debe | refs/heads/master | 2020-04-05T11:46:25.319915 | 2017-10-06T23:28:54 | 2017-10-06T23:28:54 | 81,219,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include "modeselectionwidget.h"
#include "ui_modeselectionwidget.h"
ModeSelectionWidget::ModeSelectionWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::ModeSelectionWidget)
{
ui->setupUi(this);
_core = 0;
}
ModeSelectionWidget::~ModeSelectionWidget()
{
delete ui;
}
void ModeSelectionWidget:... | [
"dmitriizykov64@gmail.com"
] | dmitriizykov64@gmail.com |
47d3026408928d0c2c6efa1b1f288c23cbbaa3ba | 81882d9b2e7eb535e204406d6bfe3eec6e61425d | /libAFP/examples/wavefile.cpp | 786653ce7b3a731d152c0099f1b5e7996e154f9b | [] | no_license | happyyang/audio_fingerprint | ca63ef5f45cc7e679353087d6e4b1a3c1c9a6501 | 6a5fd3ac1308e255bc1f130b964970ff901c51f8 | refs/heads/master | 2021-01-15T08:35:35.081181 | 2011-11-16T07:46:58 | 2011-11-16T07:46:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,925 | cpp | /* --------------------------------------------------
@authors- Vikesh Khanna, Rishabh Sood, Santosh Kumar
@date: 16th January 2011
@note: Utility functions for reading wav files
-------------------------------------------------------*/
#include "protocol.h"
#include<cmath>
#ifdef WIN32
#include "io.h"
#endif
#include... | [
"khanna.vikesh@gmail.com"
] | khanna.vikesh@gmail.com |
93aedb63cc185908e6656c938dbf59b7cec292c0 | 3c63801de23a274bc1e5f86008ea46e4ce37cb6f | /PDFWriter/PDFDate.h | e1c7752d1060d66298a2e5f91e292eef9c8549c4 | [
"Apache-2.0"
] | permissive | wuge1513/PDF-Writer | 1661de317104381672f45e13c9ab54cec94c2a74 | d9d3513f1f72aaf5ce03ca8467eac82d10d9f503 | refs/heads/master | 2021-01-18T19:50:44.725694 | 2012-04-24T20:26:38 | 2012-04-24T20:26:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | h | /*
Source File : PDFDate.h
Copyright 2011 Gal Kahana PDFWriter
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... | [
"gal.kahana@hotmail.com"
] | gal.kahana@hotmail.com |
3df023ea79f930b6e97d6605a3bbbe90afb17a04 | 4ee155a930b585bc177d270d843a218344a991ee | /Sketch/libraries/ArduinoJson/src/ArduinoJson/StringStorage/StringMover.hpp | a70565cb3ccc366abfd7583db3c631d8b76df46d | [
"MIT"
] | permissive | mdmecco/Arduino | 9b278fdcd308f979983661f1843f1d3416a3da7e | aa18251efd6a9029ac2e16d914866135bb174aef | refs/heads/master | 2023-08-14T12:35:06.627139 | 2023-08-11T14:22:18 | 2023-08-11T14:22:18 | 88,310,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | hpp | // ArduinoJson - https://arduinojson.org
// Copyright © 2014-2023, Benoit BLANCHON
// MIT License
#pragma once
#include <ArduinoJson/Namespace.hpp>
#include <ArduinoJson/Strings/JsonString.hpp>
ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE
class StringMover {
public:
StringMover(char* ptr) : _writePtr(ptr) {}
void star... | [
"mdmecco@mdmecco.it"
] | mdmecco@mdmecco.it |
9888975310ea98b71bc8e026acb34d3c4320783f | 8293edde28a97c70b32980f1e830c8d566b4d74a | /iGraphics-Tutorial-in-Bangla/Projectile Motion Equation For Angry Bird Game.cpp | bbab69c5315054928aa7036de935428fb8e7824d | [] | no_license | SayefReyadh/tutorials | 106350cccacfa413219bd2edd6cf39bad8c589dc | 8d88022287339b236ca6c9374279d81f0ba263e3 | refs/heads/master | 2022-11-30T10:01:48.972104 | 2020-08-09T08:22:22 | 2020-08-09T08:22:22 | 77,558,626 | 23 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 5,788 | cpp | #include "iGraphics.h"
#include<stdio.h>
#include<string.h>
#include<math.h>
#include<iostream>
#include<string>
using namespace std;
#define g 9.8/100
#define G 9.8
#define PI 3.14159265
int xCircle;
int yCircle;
int radius = 80;
double qeta = 0;
int qeta2 = 180;
int xLine = xCircle + (radius + 30)*cos(qeta * PI / 18... | [
"sayef.reyadh.aust@gmail.com"
] | sayef.reyadh.aust@gmail.com |
f25ec6b7fd167bf0ad55ce467ac36442535f2eb6 | c2a75f3342f7db5f76712e9f094e9913ce676bfa | /src/rpcprotocol.h | 490a86bbe5fdb1aea71fd33fcaf25f23fc0f1dd6 | [
"MIT"
] | permissive | pandemiacoin/pandemia | c57545febdd34cf286329228c3b32578a441cc62 | ef4f572a2c84b12c01bd196e2ee346fb9ad38b80 | refs/heads/master | 2020-03-28T00:12:05.529657 | 2018-12-15T11:38:43 | 2018-12-15T11:38:43 | 147,382,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,938 | h | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_RPCPROTOCOL_H
#define BITCOIN_RPCPROTOCOL_H
#include <list>
#include <map>... | [
"pandemiacoin@protonmail.com"
] | pandemiacoin@protonmail.com |
2e7a0af900a489c34757d72c81afdc4420480ca5 | 155dfb92688cbd8ca64ff1e9726afacef752361e | /sources/src/main.cpp | adf62534cb1e314355b05ea2d2e9240f8e11e017 | [] | no_license | alexpana/uni-faps | 3f79f26efe56f41165692799311bf3e6ca4ac282 | 94e8bd7f41dc9bb52a5c7632ed7e8f683247dbeb | refs/heads/master | 2021-01-20T12:38:11.783295 | 2014-01-05T11:38:06 | 2014-01-05T11:38:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 75 | cpp | #include "03_hough.h"
int main(int argc, char* argv[]){
return lab03();
} | [
"alex.pana@vertexarmy.org"
] | alex.pana@vertexarmy.org |
7833c8f5e06c145ffbf94700bba227f203014c90 | 111191f471fe57b49940ae834f781d81c9442a1d | /Funciones/Ejemplos - copia/GlobalLocal 3.CPP | 3de04b39f6db410fc10e5ba4363f286e75ee6df7 | [] | no_license | MatiasEJ/UTN-Progr-1 | 52deb74da410d751266b175470c8b50e2038541f | f7dea3c7474e9148989852836c7c82bf39117472 | refs/heads/master | 2020-06-11T13:44:11.971101 | 2019-11-13T20:03:50 | 2019-11-13T20:03:50 | 193,984,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | cpp | #include <stdio.h>
#include <stdlib.h>
int vglobal = 1000;
void suma1(int x);
void suma2(int x);
int main(){
int vlocal=20;
//clrscr();
printf("\nLa variable vglobal en main vale = %d\n", vglobal);
printf("\nLa variable vlocal en main vale = %d\n", vlocal);
suma1(vlocal);
/* En salida no se ha modificado su valor pe... | [
"don.juncos@gmail.com"
] | don.juncos@gmail.com |
0957b46aa9f2b35d15f9d0af9944c8c2ca72019c | 8ee17f972d788231ea9f3ac40f1596e22834726a | /3rd/boost_1_66_0/boost/asio/detail/handler_tracking.hpp | 0901117059de477f9a401d7e770ffce34e65e6ae | [
"BSL-1.0"
] | permissive | tulingwangbo/cefMultiBrowser | 585a04ee2903aad5ade8b32decf4e28391b1b1f1 | 459a459021da080d39a518bfe4417f69b689342f | refs/heads/master | 2020-04-04T16:36:51.262515 | 2018-11-04T14:38:06 | 2018-11-04T14:38:06 | 156,085,167 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 8,709 | hpp | //
// detail/handler_tracking.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#if... | [
"tulingwangbo@163.com"
] | tulingwangbo@163.com |
40242d3f102229ae8e4004252eb066bb5d2db13a | 37b1cc093229626cb58199379f39b6b1ec6f6fb0 | /src/core/NEON/kernels/arm_gemm/indirect-interleaves/sme2_interleave4VL_block2_fp32_bf16.hpp | 03575d7ff27e5f77b4f727f276b716c1fb42600e | [
"MIT",
"LicenseRef-scancode-dco-1.1",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | ARM-software/ComputeLibrary | d4dfccb6a75b9f7bb79ae6c61b2338d519497211 | 874e0c7b3fe93a6764ecb2d8cfad924af19a9d25 | refs/heads/main | 2023-09-04T07:01:32.449866 | 2023-08-23T13:06:10 | 2023-08-23T13:06:10 | 84,570,214 | 2,706 | 810 | MIT | 2023-01-16T16:04:32 | 2017-03-10T14:51:43 | C++ | UTF-8 | C++ | false | false | 7,158 | hpp | /*
* Copyright (c) 2022-2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | [
"bsgcomp@arm.com"
] | bsgcomp@arm.com |
88de7d177dbb664737fd0fe6c516516518d9e67e | 64302755d48bec16bd8b3684f0fe27bf630580d0 | /standalone_tracker/src/target_manager.cpp | 8d01c5348f66db0a0dfa19a6c58e7999f74914c9 | [] | no_license | ramaguruprakash/real-time-mtt | d52bdb3cb6fb962b7aee1e1251772d7a53790b1c | 9c980b50a27060656d5f60d10f98dc1dc8bc3e3b | refs/heads/master | 2021-01-20T05:01:00.450415 | 2013-12-17T04:58:35 | 2013-12-17T04:58:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,279 | cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Wongun Choi
* 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 th... | [
"wgchoi@umich.edu"
] | wgchoi@umich.edu |
e5f090d6ece583ddbece4d2f1d7451dcbfdffa2e | d58375a93685d0a5459577bd623e571c1f11160b | /solutions/exceptions_3.cpp | 2f1b962206ab7773021d2ba26a23bcf1d224edce | [] | no_license | otpt/CPP-exercises | d5034ecdbbd4e04b32625f174a092e228b014662 | 9f83087134b107d8647e89aaf32fd19d58540f25 | refs/heads/master | 2020-04-23T19:27:57.445433 | 2019-03-27T12:41:48 | 2019-03-27T12:41:48 | 171,404,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | #include <utility> // std::declval
// внутри do_math объекты типа T
// - копируются
// - присваиваются
// - перемещаются
// - складываются оператором +
template<class T>
void do_math() noexcept(
std::is_nothrow_copy_assignable<T>::value &&
std::is_nothrow_move_assignable<T>::value &&
std::is_nothrow_copy_... | [
"valery@ortech.co.jp"
] | valery@ortech.co.jp |
1acf14cfdace211380faee3bc1b508e61a5c46ab | cb159392ae8daeda3f5625f42452b8e9da7c4cf9 | /arduino/WALL-E/facialExpressions/facialExpressions.ino | b5b437170642ad989452f9e08a2921fa131d1687 | [] | no_license | anikethake/wall-e | 94f6ea6d78c76c2ff0250a39e74ffc51c640ce5c | c141231a7b7bea979a6b076081e0673b5e511645 | refs/heads/master | 2021-01-19T12:06:42.010646 | 2014-12-18T17:28:20 | 2014-12-18T17:28:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | ino |
#include <VarSpeedServo.h>
VarSpeedServo rEye;
VarSpeedServo lEye;
VarSpeedServo huh;
void setup(){
Serial.begin(9600);
rEye.attach(2);
rEye.write(105,40,false); //set init pos at slow speed, running in background
lEye.attach(3);
lEye.write(86,40,false); //set init pos at slow speed, running in b... | [
"weeeeeeerdopenguin@gmail.com"
] | weeeeeeerdopenguin@gmail.com |
1eac07cd1ffd6b1837f60974c138c0c782c6664d | dbba0013b3e6bbf29370be2682dfb4dcb767f71d | /tests/asyncfutureunittests/asyncfuturetests.h | 593feaffb35905941e2a3ef4d3fa9d002578b06a | [
"Apache-2.0"
] | permissive | QtLab/asyncfuture | 48e32d64767a83edcb3016df8d295b08b5a7d981 | 5825918b9c74d89e700f981686460bc08e6d2600 | refs/heads/master | 2021-05-08T09:07:30.453476 | 2017-10-16T06:16:18 | 2017-10-16T06:16:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | h | #pragma once
#include <QObject>
class SignalProxy : public QObject {
Q_OBJECT
public:
inline SignalProxy(QObject* parent = 0) : QObject(parent) {
}
signals:
void proxy0();
void proxy1(int);
};
class AsyncFutureTests : public QObject
{
Q_OBJECT
public:
explicit AsyncFutureTests(QObject *p... | [
"xbenlau@gmail.com"
] | xbenlau@gmail.com |
5029919a8caef7e7713931da5c504ffde2a595c2 | 6df68bd18d39dec2dc473e5ca00f9a45535d9f7c | /horse_test/bending_bar_controller.cpp | 2be91e1bb68d78cba181b800ff7288ed74a0fb40 | [] | no_license | jnrdrgz/SDL_Playground | 3415d54e5f0b65e5dc3718b2b841207667859cf5 | 3f99de8f2d59b7c3b4a42bb3844de7e4913ef19e | refs/heads/master | 2022-11-11T21:56:19.698695 | 2020-06-27T00:57:11 | 2020-06-27T00:57:11 | 244,652,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,688 | cpp | #include "bending_bar_controller.h"
BendingBarController::BendingBarController(int x, int y, int w, int h){
bar.x = x;
bar.y = y;
bar.w = w;
bar.h = h;
bender.x = x;
bender.y = y;
bender.w = w/10;
bender.h = h;
}
void BendingBarController::set_vel(int v){
bend_vel = v;
}
voi... | [
"yosoyjjjuan@gmail.com"
] | yosoyjjjuan@gmail.com |
a455b1871d69476f6e14e8336116cb59f13f8c0d | ab3eef29003d864c934bb74947863c6fdbb88756 | /src/lib/fractal/FlagStack.cpp | bda9ee353fdfbfb2f1ebe81b7ffd90e99baed630 | [] | no_license | ehaupt/fractorama | 5b0b55449f4e0e6576b18c9d6e742e81146f0f46 | edd7580d1da9cc3d35c543eaf137cbf6458aa9a2 | refs/heads/master | 2020-08-10T23:24:16.124763 | 2019-10-11T13:38:43 | 2019-10-11T13:38:43 | 214,443,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include "FlagStack.h"
#include "dmemory.h"
int FlagStack::isEmpty() const
{
return(mStack.isEmpty());
}
void FlagStack::push(int value)
{
int *ptr = 0;
DNEW(ptr, int);
*ptr = value;
mStack.push((void *)ptr);
}
const int FlagStack::top()
{
int *ptr = (int *)mStack.top();
return(*ptr);
}
cons... | [
"ehaupt@critical.ch"
] | ehaupt@critical.ch |
dc9293fbab0fce56cf79e891009c1c32f9bba11e | 5c6c8f58720a718e35d0bfcaeebe83025c32aec7 | /vs-project/webbench/webbench/EventLoopThreadPool.h | 86fee338f4dbc4aa1a8a64f0b75da67507eab3bf | [] | no_license | wangsen1994/web_server | c4375c231e086959baa08e961c2f3540f1080c00 | cd3b98ad006cf7cd8dd6ed05eeb6f03abffc2cf2 | refs/heads/master | 2020-05-19T17:44:36.778063 | 2019-05-14T12:00:52 | 2019-05-14T12:00:52 | 185,138,976 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | h | // @Author Wang sen
// @Email senwang94@gmail.com
#pragma once
#include "noncopy.h"
#include "EventLoop.h"
#include "EventLoopThread.h"
#include <functional>
#include <memory>
#include <vector>
#include <string>
#include <assert.h>
class EventLoop;
class EventLoopThread;
class EventLoopThreadPool :noncopy
{
public... | [
"990660523@qq.com"
] | 990660523@qq.com |
693f90c08ab59d23d5287785c4bd1ced62ff8b58 | 9ca1e87ac44925130517765079157c2bf1ff4f5e | /ANDROID_SOURCE_CODE/external/llvm/lib/VMCore/PassManager.cpp | 1aaf765ca4718f503a29d46325da6fc1cc65cb35 | [
"NCSA",
"Apache-2.0"
] | permissive | zhxzhxustc/AFrame | ba4ac10726200a9c3d4749f9e85bf045a3c911ca | e79bcf659660746b937fda182189cf928f84657a | refs/heads/master | 2021-01-17T08:48:09.294888 | 2016-07-13T00:55:20 | 2016-07-13T00:55:20 | 63,128,807 | 3 | 1 | null | 2020-03-09T17:18:11 | 2016-07-12T05:23:26 | null | UTF-8 | C++ | false | false | 62,419 | cpp | //===- PassManager.cpp - LLVM Pass Infrastructure Implementation ----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"zhxzhxustc@gmail.com"
] | zhxzhxustc@gmail.com |
91a57f5e1bfdb0e4aa5f8d234a1adbb5d9291481 | b49dd1b5396b8a8debb60a117ff269c10fa9c990 | /include/Problem1.h | 884b47c55875bf87cdcbfea9dcf50509ecb355f0 | [] | no_license | Jagadeepram/euler | 56c7d267a181440b6159af64deb52354bb1db49f | 557004152940ec2d561dcf60a9cf2148b45bd68c | refs/heads/master | 2021-05-16T02:03:01.786571 | 2015-05-27T09:42:37 | 2015-05-27T09:42:37 | 19,708,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | h | #ifndef PROBLEM1_H
#define PROBLEM1_H
#define TARGET_NUMBER_1 1000
class Problem1
{
public:
static Problem1* Instance();
Problem1();
void run();
int compute();
int computeShortMethod();
virtual ~Problem1();
protected:
private:
};
#endif // PROBLEM1_H
| [
"connectjagadeep@gmail.com"
] | connectjagadeep@gmail.com |
2a3daf62d1447771d921fc41e3ae45f310af1ddc | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_EngramEntry_TekRailing_functions.cpp | d828948e2ee06c479915a05ff093f6bbfdc1421a | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_EngramEntry_TekRailing_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
a5b783b0092f62f39b44d1f907870c5a3acad594 | ba646fb3f875959a2e93b20eefe1407a52decb37 | /Gui/Function/faultlocation.cpp | 3fdea58450d066aacdcc274af3a3231c6321e2a6 | [] | no_license | xibeilang524/swbox | 3c7a653187402d169e878df6e80db7374c0c088d | 5114c525802ac9737cda84041bb4b580d92381fc | refs/heads/master | 2021-07-10T09:14:56.797055 | 2017-10-12T09:56:04 | 2017-10-12T09:56:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,146 | cpp | #include "faultlocation.h"
#include "ui_faultlocation.h"
#include <QLineEdit>
#include <qwt_dial_needle.h>
#include <QTimer>
#include <qwt_plot_curve.h>
#include <qwt_scale_widget.h>
#include <qwt_plot_layout.h>
#include "IO/Other/filetools.h"
#include <QThreadPool>
#include "IO/rdb/rdb.h"
#define SHOW_FACTOR 4.0 ... | [
"carter_1998@163.com"
] | carter_1998@163.com |
14af39878d0fc91650776a21875b360374e3e332 | f3a2f4bf3e47817f2ba5d3f3e3c5958e5aeea2e4 | /greedy/(그리디)15903 카드 합체 놀이.cpp | f63b3663dd0008901f7402a6b3703566f968a2f9 | [] | no_license | asd0057/algorithm | d892e2571996e78278fd6ce13432f5421eaa7363 | da7c41fb7fc377bc023579b6f217c206a0f6f28b | refs/heads/master | 2023-03-06T03:23:52.618545 | 2021-02-22T14:28:41 | 2021-02-22T14:28:41 | 328,409,082 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <algorithm>
#include <vector>
#include <cmath>
#include <string>
//정렬의 속도 https://choijason.tistory.com/6
// 우선순위큐 사용법
//sort에 comp를 넣으면 선택정렬로 정렬하는듯?.. 원래는 퀵소트임.
bool comp(long long int a, long long int b) {
if (a < b) {
return true;
}
else {
return f... | [
"tnsdnjs0057@gmail.com"
] | tnsdnjs0057@gmail.com |
82a9a141965875ca837d92fa1b86c21e71e064ce | 157d0810d40bbb165889f946566346663cf5b22f | /C++ for Everyone, 2nd Ed, Horstmann/Chapter1/P1-6.cpp | 8f1cd0c4cae5f17d4647794c454762e362610336 | [] | no_license | dg5921096/Books-solutions | e6ccdcaba0294bdc95e2267723a02d2ba090cb10 | 31bb4bba240bf95aafeb6d189eade62c66a1765a | refs/heads/master | 2021-12-09T16:07:47.756390 | 2021-11-14T07:09:25 | 2021-11-14T07:09:25 | 255,447,147 | 0 | 0 | null | 2020-04-13T21:39:02 | 2020-04-13T21:39:01 | null | UTF-8 | C++ | false | false | 945 | cpp | //Write a program that prints the balance of an account that earns 5 percent interest
//per year after the first, second, and third year.
#include<iostream>
using namespace std;
int main()
{
cout << "What's your principal?\n";
double principal;
cin >> principal;
cout << "What is your interest per ye... | [
"syndbe@gmail.com"
] | syndbe@gmail.com |
327d6eeea3e50e22ed497d59c41ee1bc43011cd9 | 3ffd776e9980d831329dd4a0d6836aea8a850f5f | /实验/01/01.cpp | c2407e9daa5fdbd6ef45f2b93a5e9860697f17fd | [
"MIT"
] | permissive | Czile-create/homework | c80b1adf16312c7f6531d37b989b3b7f8410efeb | 130fb89e0320843963167a8de0c32ca88a20ccc1 | refs/heads/master | 2023-06-04T04:46:05.989682 | 2021-06-28T09:39:05 | 2021-06-28T09:39:05 | 359,140,097 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | #include <iostream>
using namespace std;
int gcd(int a, int b) {
if (!(a%b))
return b;
else
return gcd(b, a%b);
}
int lcm(int a, int b) {
return a*b/gcd(a, b);
}
int main() {
int a, b;
cin>>a>>b;
cout<<"Greatest Common Divisor:\t"<<gcd(a, b)
<<"\nLeast Common Multiple:\... | [
"noreply@gitee.com"
] | noreply@gitee.com |
e74c7401f152dd5bfe3ffe55e6c3fa861afe8a51 | e6656e4f638871d7c99df1b8186e5c921fff867b | /opg2.3 - Threshold operaties/opg2_3.cpp | 275e1ec2c33a7f7d410c2563925979de30a15378 | [] | no_license | quintenc/Vision | 3e499447199fbe7584bf24e3d80353aee9e2ee54 | 745c643ff33a3f21108eb84217c45f3b703a13dd | refs/heads/master | 2021-08-30T11:50:30.519765 | 2017-12-17T16:31:09 | 2017-12-17T16:31:09 | 114,553,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,749 | cpp | // Threshold operaties
// Quinten Ceelen, Minor Vision & Robotics 2017
#include "opencv2/imgproc/imgproc.hpp"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv/cv.h>
#include <iostream>
#include <string>
using namespace cv;
using namespace std;
int main(int argc, char** argv)
{... | [
"cceelen1@avans.nl"
] | cceelen1@avans.nl |
b2956c8095581c0e8c571d2b18bd966d86b860ac | faa9035860d374b3d925257a36a5e323b3cfe89b | /STACKOVERFLOW/bool_not_returning.cpp | 34b1abec484947da72b80dc5205ffc7093bae5fb | [] | no_license | nguaki/CPP | a739a056f42fe41bcf4c76bb8ea1dc300b629ad3 | df296dea0c0493b5f2b4137e11d5d160446d95a5 | refs/heads/master | 2020-03-22T13:36:50.899751 | 2018-09-27T06:28:52 | 2018-09-27T06:28:52 | 140,119,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
class genericClassName{
bool genericArray [3][3];
public:
genericClassName()
{
int i, j;
for( i=0;i<3;i++)
for(j=0;j<3;j++)
genericArray[i][i] = false;
/*genericArray =
{
{ false, false, false },
{ false, false, false },
... | [
"jamesche0409@gmail.com"
] | jamesche0409@gmail.com |
74b0dcd8d786175ce8485a728cb0f2de1c6d2dff | 015429426e0ef3d9ed9f7898b37fc5a75426228c | /app/src/main/cpp/Ui.h | feaecaa95fc69000e131dfbf13834edb0dd299f0 | [] | no_license | gordeevso/FlappyBird | d8eeaabb6200ea18905b41efd7d559ae695e685b | 98ee5f9805401a83932fcca2398c08c863ba9eea | refs/heads/master | 2021-01-21T11:31:07.010666 | 2017-08-31T14:08:57 | 2017-08-31T14:08:57 | 102,005,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | h | #pragma once
#include <string>
#include <vector>
#include <unordered_map>
#include <memory>
#include <glm/glm.hpp>
#include "TextRenderer.h"
#include "Utilities.h"
#include "GameTypes.h"
#include "Events.h"
class Ui {
public:
using TextRendererMap = EnumKeyUnorderedMap<GameState, std::shared_ptr<TextRenderer>>... | [
"gordeev.so@yandex.ru"
] | gordeev.so@yandex.ru |
a951d2b67988848ad4eb5f073c164f2edb869976 | c13e0c4d183eaa3910dee9b8f2312fe290de61c5 | /170911162/Lab_10/Resources/leaves_tree.cpp | fb09d2fc024b209a97df17e0e2bd3efab7c13ee5 | [] | no_license | JyotinderSingh/DS-Lab-Sem-III | 82584d008286e349c7d581ede7ec9652dc2c27f6 | 5b00589e42b8d4e320c81a4bf90df74c0e668d5d | refs/heads/master | 2020-04-01T02:18:25.800646 | 2018-11-23T21:07:56 | 2018-11-23T21:07:56 | 152,773,641 | 5 | 2 | null | 2018-10-23T14:07:16 | 2018-10-12T15:44:59 | C++ | UTF-8 | C++ | false | false | 1,345 | cpp |
#include <stdio.h>
#include <stdlib.h>
/* A binary tree node has data, pointer to left child
and a pointer to right child */
struct node
{
int data;
struct node* left;
struct node* right;
};
/* Function to get the count of leaf nodes in a binary tree*/
unsigned int getLeaf... | [
"jyotindrsingh@gmail.com"
] | jyotindrsingh@gmail.com |
dd73faaf11f8f100ffe87cb8988669a89d97601f | 1a4189117cfb42d6396bd63a3727953143ee1aca | /AnnotationTool/util/cutil.h | 8fdc9253a65c9b3e6345c48af5c9362c819b01c5 | [] | no_license | eglrp/FaceAnnotationTool | b07a70857ab78a6efca8944e4fbed811373628ce | 9bc444a33be855e1cacb05697b08cd0053f24477 | refs/heads/master | 2020-04-06T18:04:39.479557 | 2017-11-19T08:20:58 | 2017-11-19T08:20:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,664 | h | #pragma once
#include "util.h"
#include "../cw_lib/CVec.h"
#include "../cw_lib/CCamera.h"
#include <ios>
#include <vector>
template<class T>
std::ostream& operator<< (ostream& os, const CVec2<T>& p) {
return os << p.x << " " << p.y;
}
template<class T>
std::ostream& operator<< (ostream& os, const ... | [
"wushx6@gmail.com"
] | wushx6@gmail.com |
39fd87ab2f7c4629450493cfe19a356a4e7519fa | 8fe2e38fd3f23f58dd0f35d1f351601f8a723e07 | /generator/generator_tests/osm_o5m_source_test.cpp | 4e99a4481dbd3e132259c022c555024a799942d4 | [
"Apache-2.0"
] | permissive | ruilin/RLMap | cb139b7fb3020b163a6857cfa6b98f0c930f2a45 | e16b52f77d165e719b3af20b097f227959e8e374 | refs/heads/master | 2022-10-06T10:11:39.760428 | 2019-11-22T01:03:27 | 2019-11-22T01:03:27 | 97,201,756 | 2 | 1 | Apache-2.0 | 2022-10-04T23:29:25 | 2017-07-14T06:39:33 | C++ | UTF-8 | C++ | false | false | 5,121 | cpp | #include "testing/testing.hpp"
#include "generator/osm_o5m_source.hpp"
#include <iterator>
#include <set>
#include <utility>
#include <vector>
#include "source_data.hpp"
using namespace std;
UNIT_TEST(OSM_O5M_Source_Node_read_test)
{
string data(begin(node2_o5m_data), end(node2_o5m_data));
stringstream ss(dat... | [
"zruilin@126.com"
] | zruilin@126.com |
0d803edd6469ba8342557042af9f92fb054d0068 | 4a954a2bf42fd7568035c3657b21e48c745db21e | /hacclient/Bookmarker.h | 829301959eade1e9fadf2e996bca50195ee35b70 | [
"MIT"
] | permissive | ChadSki/hacclient | bfe6fcf9e12e484f8a95cb9fc3e6c6ffb4a95d61 | f1471e1f74de13dbbc1ae6d92238939e010ff7d6 | refs/heads/master | 2021-01-18T15:26:50.247524 | 2017-03-30T03:15:13 | 2017-03-30T03:15:13 | 86,653,289 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | h | #pragma once
#include "ServerInformation.h"
#include <vector>
#include <shlobj.h>
#define BOOKMARKS_MAGIC 0x00B7CC22
#ifndef _DEBUG
#define FILE_NAME "bookmarks.hac"
#else
#define FILE_NAME "bookmarksd.hac"
#endif
struct ServerBookmark {
int id;
char address[32];
wchar_t name[128];
wchar_t password[32];
opera... | [
"chad.zawistowski@gmail.com"
] | chad.zawistowski@gmail.com |
4a4a6f91c1813e2fbb4fb179cde5c59bc212027f | 0abd2eca9b9571baf37175b40b6a60d86b291365 | /src/tab_window.cpp | 9aecc91b868aa3ae18308e072a76fce330b68d1d | [
"MIT"
] | permissive | lineCode/zep | 7f2664e0013af758741b7fa6daebe73975243dbb | 6722f1f786e44e0a8b0fa1a9bf25c2a7c3490dbb | refs/heads/master | 2020-08-08T08:22:31.819380 | 2019-09-29T13:51:46 | 2019-09-29T13:51:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,499 | cpp | #include "zep/tab_window.h"
#include "zep/buffer.h"
#include "zep/display.h"
#include "zep/editor.h"
#include "zep/window.h"
#include "zep/mcommon/logger.h"
// A 'window' is like a Vim Tab
namespace Zep
{
ZepTabWindow::ZepTabWindow(ZepEditor& editor)
: ZepComponent(editor)
, m_editor(editor)
{
m_spRootRe... | [
"cmaughan@snarlsoftware.com"
] | cmaughan@snarlsoftware.com |
1c18a91bcf073e36684cd4bbde3fb8c4bdbdb88b | c48b0ba6e46b5d6a159298926d8772e1de47af26 | /include/CommandFactory.hpp | 6b7d653855f724fa29f5581e162bc4382f1cced9 | [
"MIT"
] | permissive | Nynergy/cascade | b2f5f10fa31d1f938846da89915f0ab8e1efc195 | 887efc264907ce7ca7f1500ab315c2d7ba41fa5b | refs/heads/main | 2023-07-14T23:06:15.960636 | 2021-08-30T18:22:15 | 2021-08-30T18:22:15 | 316,358,746 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | hpp | #pragma once
#include "Command.hpp"
class CommandFactory {
private:
State * state;
public:
CommandFactory(State * state);
Command * getCommandFromKey(int key);
};
| [
"bsbuchanan99@gmail.com"
] | bsbuchanan99@gmail.com |
6ffe17b75c7835161bd3797f4e5ae154cf66d1e1 | 439d28f761c1774f759fdf720c14ab2108bb93b8 | /Codejam/2016/qround/C.OF.cpp | 26e1c6b892367fb098dc36b483e628308d0999d5 | [] | no_license | Chomtana/cptraining | 19fec94cd489c6117f49bd6d80642d60079276f1 | df380badd952dceb335525f03373738c35aa0b3a | refs/heads/master | 2021-01-09T20:53:24.758998 | 2020-04-11T04:10:48 | 2020-04-11T04:10:48 | 56,289,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | cpp | #include <bits/stdc++.h>
using namespace std;
//Ignore number that >= 2^n
//End with 1 = odd only
//Start with 1
//must not prime (use seive for caching)
long long toBase(string s,int base) {
long long res = 0;
for (int i = 0;i<s.size();i++) {
if (s[i]=='1') {
res += pow(base,s.size()-i-1... | [
"chomtana001@gmail.com"
] | chomtana001@gmail.com |
4c968b2aa9d400ff04799494db56b8c59af70356 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /ssm/src/v20190923/model/GetServiceStatusResponse.cpp | a05dd45aed5f90baf4056e210467b38cac8e920c | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 3,658 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
c73c43d4e67ac99b8f7aac3f91da997229b1c0c0 | f778649487cde0090568c6ecbd74267690255268 | /Testing-av-ting-master/Testing av ting/Source.cpp | b3e2760dd908660d29ca9af3954eea45554d7996 | [] | no_license | Paulsen18/Cpp-Pacman | f00d69e4ab3eb78ed603dc378afa1ead9d56e081 | 468a502c925071615965091e9eddf813102af527 | refs/heads/master | 2021-06-12T18:04:11.914118 | 2020-04-19T21:02:27 | 2020-04-19T21:02:27 | 254,374,763 | 0 | 0 | null | null | null | null | ISO-8859-15 | C++ | false | false | 676 | cpp | #include "SDL.h"
#include "Game.h"
#include <SDL_render.h>
Game *game = nullptr;
int main(int argc, char* argv[]) {
//Variabler for å cappe fps til 60
const int FPS = 60;
const int frameDelay = 1000 / FPS;
Uint32 frameStart;
int frameTime;
//Gameloop
game = new Game();
game->init("Pacman", SDL_WINDOWPOS_CENT... | [
"44356837+Paulsen18@users.noreply.github.com"
] | 44356837+Paulsen18@users.noreply.github.com |
ad104d6dbbd0f5257a0a6ca4f9b8985f9e90de77 | 7ea74607d65c873abe9e69a941d433eed9e4f56f | /hw03/hw03.cpp | b81a5230868682523e36d0801cb65afb0502b905 | [] | no_license | violetcj/CS1C | 5f6e62dea3e84e663feb4707ab1959310b733672 | 899ed0c4d0b6ecbbeb85b9269cbab1b2e976bfac | refs/heads/master | 2023-06-29T14:33:43.011347 | 2021-07-30T06:13:53 | 2021-07-30T06:13:53 | 379,416,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,505 | cpp | /*********************************************************
Name: CJ Carroll
Date: 6/22/2021
Class: CS1C
Professor: John Kath
Assignment: HW03: Class Constructors, Inheritance, & Init
**********************************************************/
#include <iostream>
#include <iomanip>
#include <string>
#include "date.h"
#... | [
"cjscarroll0229@gmail.com"
] | cjscarroll0229@gmail.com |
b601a705be634a230429ce817d853689b6f879b1 | 74bfc4fba3bf5bc0c296282adc7668a3f72b7561 | /src/test/scriptnum10.h | c4f68256a15ef425d653861a2d0a532970358d1f | [
"MIT"
] | permissive | cannabcoin1/Cannabcoin1 | b675a0f1b7d4ca7779df0119ecc402efb088d25a | 62c93ff987441e521efc5286ed6bc9072c33498c | refs/heads/main | 2023-04-04T06:06:34.221427 | 2021-03-31T05:14:13 | 2021-03-31T05:14:13 | 353,234,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,791 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2021 The Cannabcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TEST_SCRIPTN... | [
"81361298+cannabcoin@users.noreply.github.com"
] | 81361298+cannabcoin@users.noreply.github.com |
c2df689efa1523e413a0876121c0be783b04386f | f051f930652b252a4e52adb6effafbfba45b051d | /txtgengui/Source/MainComponent.cpp | b45217d9b3c00632953d1d084579607f6568f69a | [
"MIT"
] | permissive | jpiringer/xTXT | 0be8a5d9500de77a78704aefef8f55d75faac1d1 | 1ba3754771585f2d46a78122c2fdc1657b055698 | refs/heads/master | 2022-11-26T01:40:34.481393 | 2022-11-13T09:59:26 | 2022-11-13T09:59:26 | 124,302,912 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,768 | cpp | /*
==============================================================================
This file was auto-generated!
==============================================================================
*/
#include "MainComponent.h"
#include "MainWindow.h"
#include "Runner.hpp"
#include "Program.hpp"
#include "Parser.hp... | [
"joerg@piringer.net"
] | joerg@piringer.net |
9e66ab945b04b0e569223acf6bcf5ac92b9103aa | c5115b36ca2787b8363b221a88bc4ad4e8c189fd | /PAT/A1026 Shortest Distance.cpp | f03c63b017d698411617aea7779320a5d2277af6 | [] | no_license | ninthDevilHAUNSTER/UnrestrainedGamblingWithSurreptitiousLuna | 51f151ccb494989aff1997f22ff07f6d05ffc96a | e94ff4e7d7e4c695fcdd4dec9ff6214d5c53d99f | refs/heads/master | 2021-02-07T00:43:06.096300 | 2020-03-21T06:58:50 | 2020-03-21T06:58:50 | 243,962,903 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | //
// Created by shaob on 2020/2/25.
//
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
#define MaxSize 100005
int dis[MaxSize];//dis 表示第1个节点到第i+1个节点的路程。
int sum = 0;// 一圈的综合
int N = 0;;
int M = 0;
int pat_solver() {
scanf("%d", &N);
for (int i = 1; i <= N; ++... | [
"luotianhan@126.com"
] | luotianhan@126.com |
86c57f2d7dbd827d6b56780208a43750dc74f534 | 00e0186f55eef9c28993b1688019ef4da61a7980 | /summer2018/easy/821-shortest-distance-to-a-character.cpp | f05bc92837908fa940bccaf2dfcbb4d8f6661d90 | [] | no_license | idontknoooo/leetcode | 2c1c8d3ffcbcb328f2b7087cf6e7e0a6441fdfc4 | dd24544a2e8cc2680a26e95dc85f0af4443f5a00 | refs/heads/master | 2021-06-05T09:49:51.131203 | 2018-10-22T03:32:14 | 2018-10-22T03:32:14 | 104,502,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | // My solution 13ms, find the min(left_distance, right_distance)
class Solution {
public:
int find_next(int pos, char C, string S) {
for(int i = pos; i <= S.length(); ++i)
if(S[i]==C) return i;
return -1;
}
vector<int> shortestToChar(string S, char C) {
int slow = S.find... | [
"jordan50zuo@gmail.com"
] | jordan50zuo@gmail.com |
c4d4500cb1b1b0028e79afe1412358bb133fe27d | ba1e90ae6ea9f8f74d9b542e159825341c717712 | /2014/pairtest.cpp | 5730b57afab0528cd7af555757ddf870eb858735 | [] | no_license | sailesh2/CompetitiveCode | b384687a7caa8980ab9b9c9deef2488b0bfe9cd9 | 5671dac08216f4ce75d5992e6af8208fa2324d12 | refs/heads/master | 2021-06-24T22:39:11.396049 | 2020-11-27T05:22:17 | 2020-11-27T05:22:17 | 161,877,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | cpp | #include<stdio.h>
#include<iostream>
#include<iterator>
#include<set>
using namespace std;
int main()
{
set< pair<int,int> > st;
st.insert(make_pair(10,20));
st.insert(make_pair(10,40));
st.insert(make_pair(40,50));
set< pair<int,int> >::iterator it=st.find(make_pair(10,50));
... | [
"sailesh.ku.upadhyaya@gmail.com"
] | sailesh.ku.upadhyaya@gmail.com |
f815193ef85da143675417230a161af0fe4fe413 | e104892af303d85c5e661d099b500dc1e35b882d | /Sample13_11/app/src/main/cpp/util/VertData.cpp | 67ba9893585ba92c5a80b147a6e78db8fa8bab12 | [
"Unlicense"
] | permissive | siwangqishiq/Vulkan_Develpment_Samples | 624900dabaca75c9ad21ef5a1ee5af6709dcc9a8 | 409c973e0b37086c854cde07b1e620c3d8d9f15d | refs/heads/master | 2023-08-16T04:13:54.777841 | 2021-10-14T06:53:11 | 2021-10-14T06:53:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,602 | cpp | #include "VertData.h"
#include <vector>
#include <math.h>
#include <string.h>
#include <assert.h>
float* VertData::vdata;
int VertData::dataByteCount;
int VertData::vCount;
int* VertData::indexData;
int VertData::indexDataByteCount;
int VertData::indexCount;
float toRadians(float degree)
{
return float(degree*3.141... | [
"709165253@qq.com"
] | 709165253@qq.com |
b0df0b89e062aa4a10ec33772c5e20bd1d526ada | d2765ccf9f1edd28b1fc189007b758c191f28ba8 | /src/Array.cpp | 12cbc239d6c96843c6875df2b55e0994b440e984 | [] | no_license | sssoffline/basic_algorithms | 089508119fbd925443de437080520ee4c402a359 | 499c6538f8338b270b6f2f0df0116a078a8a91c4 | refs/heads/master | 2023-04-06T11:01:31.662205 | 2021-04-26T00:12:00 | 2021-04-26T00:12:00 | 199,744,854 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 896 | cpp | #include <iostream>
#include "Array.h"
using namespace std;
Array::Array()
{
;
}
Array::~Array(){
;
}
void Array::print_array(int *arr, int n){
cout <<"array ";
for(int i=0;i<n;i++){
cout << arr[i]<<",";
}
cout << endl;
}
int Array::MaxSumOfContiguousArray(int* arr, int n){
if(n<=... | [
"sankha.subhra.sarkar@intel.com"
] | sankha.subhra.sarkar@intel.com |
e035b37c4647175ddbb514c80966110b1e797b2f | 3e03bd443c3b0d26bd0dcaa4de677c7ceb975a71 | /Integer to Roman.cpp | e90a3fe13c12ecc0f8a481a9879a5aee6a063675 | [] | no_license | moophis/leetcode_solutions | 00fa2062657fdaee586b1b6e8d57da56b2ad7a17 | da99a4e512afc3c452dff29a89da7ec905f7add5 | refs/heads/master | 2020-05-02T12:08:19.144092 | 2014-10-20T03:23:52 | 2014-10-20T03:23:52 | 13,548,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | cpp | // https://oj.leetcode.com/problems/integer-to-roman/
// Reference:
// http://fisherlei.blogspot.com/2012/12/leetcode-integer-to-roman.html
class Solution {
public:
string intToRoman(int num) {
char symbol[7] = {'I', 'V', 'X', 'L', 'C', 'D', 'M'};
string ret;
int base = 1000;
... | [
"moophis@gmail.com"
] | moophis@gmail.com |
03c8ed0cbe8f8eda1c9e204b635a67d0e1463f1c | 783fbeabbc7fc8090ee9e6765d26b38aa5db2efb | /src/modm/src/modm/ui/color.hpp | 5daf2cea683421e6ec7d2f12f7cfac30d7322476 | [] | no_license | salkinium/navimet | 760cd876987012f274429cb285efe329451f9ca0 | 833fc426c66401348315d66baee2a54ae6142834 | refs/heads/master | 2022-01-08T19:17:33.009843 | 2019-08-04T23:27:28 | 2019-08-04T23:27:28 | 164,520,548 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,404 | hpp | /*
* Copyright (c) 2009, Martin Rosekeit
* Copyright (c) 2009-2013, Fabian Greif
* Copyright (c) 2012-2013, 2015, Niklas Hauser
* Copyright (c) 2013, David Hebbeker
*
* This file is part of the modm project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of... | [
"niklas.hauser@rwth-aachen.de"
] | niklas.hauser@rwth-aachen.de |
37440210ee24d1b7890f04daee6148a909f06313 | c2b87f5c3cee581c661158edcbf62df53387088d | /String LCM.cpp | f1f86bbdc6342f1fab1332dc9ddbc438d0b1e8e3 | [] | no_license | fahimtalukdarakash/my-C-plus-plus-codes | dabb8c4f72cd97fd756399ab5ac01d1b55c4bdbc | 44e92f335ad602bc5384671ed6fdc5639f96aa37 | refs/heads/master | 2023-02-24T10:09:05.642806 | 2021-01-27T09:33:34 | 2021-01-27T09:33:34 | 333,363,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | cpp | #include<iostream>
#include<string.h>
#include <cstring>
using namespace std;
int main()
{
int n,l1,l2;
cin>>n;
for(int i=1;i<=n;i++)
{
string s,t;
cin>>s;
cin>>t;
string s1,t1;
... | [
"fahimtalukdarakash@gmail.com"
] | fahimtalukdarakash@gmail.com |
bf20aca9bea38b7990234efd7c9ca34b826a9d29 | 247f242179e5461d50604d62dff695e77ea9cbfe | /Sensors/SlamLidarRT/laserMapping.hpp | 406a6e130e4263755c83c8c03eea160fca5ef24a | [] | no_license | mickeyouyou/OpenICV | b75f0094264f1458c3321f06f21f23139fa1f420 | 534fe876b53e8013ebaa8a3067241c7963be4375 | refs/heads/master | 2022-04-03T00:29:07.085738 | 2019-12-04T05:20:23 | 2019-12-20T10:40:50 | 260,407,015 | 1 | 0 | null | 2020-05-01T07:57:14 | 2020-05-01T07:57:14 | null | UTF-8 | C++ | false | false | 59,708 | hpp | #include <math.h>
#include <common.h>
#include <opencv/cv.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/kdtree/kdtree_flann.h>
#include <fstream>
class laserMapping {
public:
laserMapping() :
laserCloudCornerLast(new pcl::PointCloud<PointType>()... | [
"wenfahu@outlook.com"
] | wenfahu@outlook.com |
51d6a2309fdccfdce7f02cbec01fc33b6925c48d | 1fddc0f5ebe01106ebe718ad1dc2475dbdcfc47e | /codeforces/A. Bachgold Problem.cpp | c91a3b83ca86a02263b55066e4af890976749826 | [] | no_license | not-a-wjbu-war/Source-Code | 15e253334c0a7a81a8218ef14f0a4d6d14005984 | 3eec0a26e665ebda5c6cbf0dc178100076d00a64 | refs/heads/master | 2023-06-01T11:12:29.844593 | 2021-06-14T17:44:51 | 2021-06-14T17:44:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | //
// Code By CodeWar :3
#include <bits/stdc++.h>
#define pb push_back;
typedef long long i64;
const int mod = 1e9+7;
using namespace std;
int n;
void solve(){
cin >> n;
vector <int> a;
if(n % 2 == 1)
n -= 3, a.push_back(3);
n /= 2;
while(n --){
a.push_back(2);
}
cout << a.si... | [
"baotrung372k@gmail.com"
] | baotrung372k@gmail.com |
5cb46e129a6e8d6ea516f1a209e0fc14180b3645 | a51c18ce067930095a524b6dc80dafe982dc1032 | /tests/rubiks_cube_rotate_bottom_counter_clock_wise_test.cpp | a5af2e04545cfa5e524c36d575698ef3260ae32a | [] | no_license | CronoPT/Rubiks_Solver | 471fcd4723be240dfb821c7e00640695ec2849aa | 6c4827b62abb921a4192a0ab61fa6ad781ec0bea | refs/heads/master | 2020-04-20T19:50:39.743785 | 2020-02-04T11:18:57 | 2020-02-04T11:18:57 | 169,060,415 | 0 | 0 | null | 2019-03-30T15:23:47 | 2019-02-04T10:17:08 | C++ | UTF-8 | C++ | false | false | 3,991 | cpp | #include "../src/face.h"
#include "../src/rubiks_cube.h"
#include <gtest/gtest.h>
class rubiks_cube_rotate_bottom_counter_clock_wise_test: public testing::Test
{
protected:
std::vector<char> _aux;
std::vector<cube::face> _faces;
cube::face _front;
cube::face _bottom;
cube::face _right;
c... | [
"vasco.dias.silva@tecnico.ulisboa.pt"
] | vasco.dias.silva@tecnico.ulisboa.pt |
314541204e99985041e6a28b116db14c9b0a161c | 549dcbba3b5c1496d8481088c461949459e9c9e5 | /GAME3015_A1/Game.hpp | 0cbf020a06e2c8121123eeb0da56771aa947457b | [] | no_license | inparia/GAME3015_A1 | 7fe12f6a117f45f0278cd13437e7266c6ad152c8 | ed96c74b47975e5b74b2e2a4f3d3f74f23cf252a | refs/heads/main | 2023-03-29T13:12:53.839271 | 2021-03-24T03:50:06 | 2021-03-24T03:50:06 | 343,686,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,893 | hpp | #include "World.hpp"
#include "Player.hpp"
class Game : public D3DApp
{
public:
Game(HINSTANCE hInstance);
Game(const Game& rhs) = delete;
Game& operator=(const Game& rhs) = delete;
~Game();
virtual bool Initialize()override
{
if (!D3DApp::Initialize())
return false;
mMainWndCaption = L"Project";
mC... | [
"inparia@live.ca"
] | inparia@live.ca |
20d1cb984f9af3421b3d5b5bcddb86de7583f51a | 72d9009d19e92b721d5cc0e8f8045e1145921130 | /zcurve/inst/testfiles/tdist_lpdf/AFL_tdist_lpdf/tdist_lpdf_DeepState_TestHarness.cpp | ad6b7bd03548a3f55cf47eb2ed69487fa920e0c5 | [] | no_license | akhikolla/TestedPackages-NoIssues | be46c49c0836b3f0cf60e247087089868adf7a62 | eb8d498cc132def615c090941bc172e17fdce267 | refs/heads/master | 2023-03-01T09:10:17.227119 | 2021-01-25T19:44:44 | 2021-01-25T19:44:44 | 332,027,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,314 | cpp | // AUTOMATICALLY GENERATED BY RCPPDEEPSTATE PLEASE DO NOT EDIT BY HAND, INSTEAD EDIT
// tdist_lpdf_DeepState_TestHarness_generation.cpp and tdist_lpdf_DeepState_TestHarness_checks.cpp
#include <fstream>
#include <ctime>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepS... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
748fd5bd1362da864eb0ed8b28671cd593744f3c | 746bd6e9242053e15bd49e6eb1f6e7940455fc0f | /src/base/similarity_transform.h | 81a8af4ceaf06eb206a665682a26644d00eb0574 | [
"BSD-3-Clause"
] | permissive | AIBluefisher/DAGSfM | 34924b16bf55e0508a62ae4373e5e0dbba270d48 | 0ab0630bd4dcfab40729a239fbb396000a237dd0 | refs/heads/dev | 2023-05-31T05:11:26.653353 | 2022-07-01T09:21:19 | 2022-07-01T09:21:19 | 161,630,883 | 119 | 29 | BSD-3-Clause | 2022-07-01T09:21:35 | 2018-12-13T11:43:23 | C | UTF-8 | C++ | false | false | 10,349 | h | // Copyright (c) 2018, ETH Zurich and UNC Chapel Hill.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright
// notic... | [
"1701213988@pku.edu.cn"
] | 1701213988@pku.edu.cn |
c178b22953899d7bf9a01c4fd0e55f2c1c54c24e | 083d86749f72118c0209e03575de1b67b0506cd1 | /inc/Matrix.h | a0ad75588e568f05d8a14fdb52dee7b8bcc9f917 | [] | no_license | cbtek/math | 67ee941c19db8d3d18cf9e5106322f4c8d9a323f | 39ed700a46bd56d2acd6ae31379de8913d6646ca | refs/heads/master | 2020-12-30T15:08:32.724568 | 2018-12-31T21:37:46 | 2018-12-31T21:37:46 | 91,111,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | h | #pragma once
#include <cstdlib>
#include <string>
#include <cmath>
#include "utility/inc/ObjectList.hpp"
#include "math/inc/Grid.hpp"
#include "math/inc/Vector3.hpp"
namespace cbtek {
namespace common {
namespace math{
class Matrix
{
public:
Matrix();
Matrix(size_t rows, size_t columns);
Matrix(const M... | [
"corey.berry@cbtek.net"
] | corey.berry@cbtek.net |
b4babe25cc5cdd2a888338a9b09757d765927deb | 01dee3bf83b1ab356a0109cc70b3536c57b065a1 | /uoj/15.cpp | 694d1c79b70bac84d97c69aeb59fd82270753758 | [] | no_license | YMDragon/OJ-code | 3e5c9c9871e86fffdd5a24e9da247b9980f364f4 | 6569bfa6519021cc3303aa42a4e60a40149a7816 | refs/heads/master | 2021-01-23T06:01:36.991005 | 2017-05-02T01:21:09 | 2017-05-02T01:21:09 | 86,330,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | cpp | #include <algorithm>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <cstdio>
#include <cmath>
using namespace std;
const int c[5][5]={{0,-1,1,1,-1},{1,0,-1,1,-1},{-1,1,0,-1,1},{-1,-1,1,0,1},{1,1,-1,-1,0}};
int n,na,nb,a[205],b[205],sa,sb;
void work()
{
scanf("%d %d %d",&n,&na,&nb);
for (int i=1;... | [
"ymdragon@qq.com"
] | ymdragon@qq.com |
3d5350b9a142aacf33f123042e24a00129675384 | 8eac6a6d838ceb06c44daa28bb9ef7aaccddbf9b | /Chapter6/ch6ex2/ch6ex2/Parallelogram.h | 5b7e1f6eef8308edf4f420774c6027214fd4e7a5 | [] | no_license | Song621/CPP-Classes-and-Data-Structures | e66def3fca5eb85c2e7503e5d8293879e53250c6 | d9c1ede3c92ab123a600a18ae03f124e41ba3c6f | refs/heads/master | 2023-08-30T12:56:06.279988 | 2021-11-10T16:53:46 | 2021-11-10T16:53:46 | 303,077,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | h | #pragma once
#include "Quadrilateral.h"
class Parallelogram :
public Quadrilateral
{
public:
Parallelogram(float b, float h);
virtual float area();
protected:
float base;
float height;
};
| [
"2972918569@qq.com"
] | 2972918569@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.